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:AAIDAAAAAAAAB8EIARIDCgEIEgQKAggIGhUKAmExEg9TZXJ2ZXJQdWJsaWNLZXkaDAoCYTISBlNFUlZFUhoZCgJhMxITUkFORE9SQUNMRVRJTUVGUkFNRRoNCgJhNBIHV0FWRUxFVBoUCgJhNRIOV0FWRUxFVDFmcm9tMTAaEAoCYTYSCkNPTU1JU1NJT04aCwoCYTcSBUJFVDAyGgsKAmE4EgVCRVQwNRoKCgJhORIEQkVUMRoKCgJiMRIEQkVUMhoKCgJiMhIEQkVUNBoOCgJiMxIIUkFURU1VTFQaCwoCYjQSBVJBVEUxGgsKAmI1EgVSQVRFMhoLCgJiNhIFUkFURTMaCwoCYjcSBVJBVEU0GgsKAmI4EgVSQVRFNRoSCgJiORIMSWR4R2FtZVN0YXRlGhUKAmMxEg9JZHhQbGF5ZXJDaG9pY2UaFwoCYzISEUlkeFBsYXllclB1YktleTU4GhYKAmMzEhBJZHhTdGFydGVkSGVpZ2h0Gg8KAmM0EglJZHhXaW5BbXQaFQoCYzUSD0dBTUVTQ09VTlRFUktFWRoUCgJjNhIOUkVTRVJWQVRJT05LRVk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RyeQAAAAIFAAAAAmQyBQAAAAJrMgkABEwAAAACBQAAAAJrNAUAAAADbmlsAAAAAMkpI04=", "height": 1680695, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A96cvUwN2aspGnonUphTs3a5nLzxBR4srVyZh5P6h3vP Next: none Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = fromBase58String("4VAAsVuuSJAB5XammAXe6G98tYKJYvGheyvpKG8NJWn1")
4+let a = fromBase58String("CGZFbzAaJCpy2bXmwSDeHG3BTNyZzTUrVpeFWj5nbwm5")
55
66 let b = addressFromStringValue("3NAPoUBwL7jaPW3ngVF3dT5b68q4eaHAiiC")
77
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = fromBase58String("4VAAsVuuSJAB5XammAXe6G98tYKJYvGheyvpKG8NJWn1")
4+let a = fromBase58String("CGZFbzAaJCpy2bXmwSDeHG3BTNyZzTUrVpeFWj5nbwm5")
55
66 let b = addressFromStringValue("3NAPoUBwL7jaPW3ngVF3dT5b68q4eaHAiiC")
77
88 let c = 4320
99
1010 let d = ((100 * 1000) * 1000)
1111
1212 let e = ((100 * 1000) * 100)
1313
1414 let f = ((9 * d) / 1000)
1515
1616 let g = (2 * e)
1717
1818 let h = (5 * e)
1919
2020 let i = (1 * d)
2121
2222 let j = (2 * d)
2323
2424 let k = (4 * d)
2525
2626 let l = 10000
2727
2828 let m = 39655
2929
3030 let n = 24600
3131
3232 let o = 19000
3333
3434 let p = 14200
3535
3636 let q = 11400
3737
3838 let r = 0
3939
4040 let s = 1
4141
4242 let t = 2
4343
4444 let u = 3
4545
4646 let v = 4
4747
4848 let w = "$GAME_NUM"
4949
5050 let x = "$RESERVED_AMOUNT"
5151
5252 let y = "SUBMITTED"
5353
5454 let z = "WON"
5555
5656 let A = "LOST"
5757
5858 func B (C,D) = {
5959 let E = sigVerify(toBytes(C), D, a)
6060 if (E)
6161 then {
6262 let F = (toInt(sha256(D)) % 6)
6363 if ((0 > F))
6464 then ((-1 * F) + 1)
6565 else (F + 1)
6666 }
6767 else throw("Invalid RSA signature")
6868 }
6969
7070
7171 func G (H) = if ((size(H) > 0))
7272 then drop(H, 1)
7373 else H
7474
7575
7676 func I (H) = {
7777 let J = size(H)
7878 if ((J > 0))
7979 then {
8080 let K = parseIntValue(take(H, 2))
8181 let L = take(drop(H, 2), K)
8282 let M = drop(H, (K + 2))
8383 let N = G(M)
8484 [L, N]
8585 }
8686 else throw("Empty string was passed into parseNextAttribute func")
8787 }
8888
8989
9090 func O (P) = {
9191 let Q = I(P)
9292 let R = I(Q[1])
9393 let S = I(R[1])
9494 let T = I(S[1])
9595 let U = I(T[1])
9696 [Q[0], R[0], S[0], T[0], U[0]]
9797 }
9898
9999
100100 func V (C) = {
101101 let W = {
102102 let X = getString(this, C)
103103 if ($isInstanceOf(X, "String"))
104104 then {
105105 let Y = X
106106 Y
107107 }
108108 else throw(("Couldn't find game by " + C))
109109 }
110110 O(W)
111111 }
112112
113113
114114 func Z () = {
115115 let X = getInteger(this, x)
116116 if ($isInstanceOf(X, "Int"))
117117 then {
118118 let aa = X
119119 aa
120120 }
121121 else 0
122122 }
123123
124124
125125 func ab (U) = {
126126 let ac = (Z() + U)
127127 let ad = wavesBalance(this)
128128 if ((ac > ad))
129129 then throw("Insufficient funds on Russian Roulette account. Transaction was rejected for your safety.")
130130 else ac
131131 }
132132
133133
134134 func ae () = {
135135 let af = {
136136 let X = getInteger(this, w)
137137 if ($isInstanceOf(X, "Int"))
138138 then {
139139 let ag = X
140140 ag
141141 }
142142 else 0
143143 }
144144 (af + 1)
145145 }
146146
147147
148148 func ah (C,U) = {
149149 let ac = (Z() - U)
150150 if ((0 > ac))
151151 then throw("Invalid Russian Roulette account state - reserved amount is less than 0")
152152 else DataEntry(x, ac)
153153 }
154154
155155
156156 func ai (aj) = {
157157 let J = size(aj)
158158 if ((J == 0))
159159 then throw("Parameter size must be greater then 0")
160160 else if ((J > 99))
161161 then throw("Parameter size must be less then 100")
162162 else if ((10 > J))
163163 then (("0" + toString(J)) + aj)
164164 else (toString(J) + aj)
165165 }
166166
167167
168168 func ak (Q,R,S,T,U,al) = {
169169 let am = ((((((((ai(Q) + "_") + ai(R)) + "_") + ai(S)) + "_") + ai(toString(T))) + "_") + ai(toString(U)))
170170 if ((al == ""))
171171 then am
172172 else ((am + "_") + ai(al))
173173 }
174174
175175
176176 func an (ao) = if ((ao == 1))
177177 then "1"
178178 else if ((ao == 2))
179179 then "2"
180180 else if ((ao == 3))
181181 then "3"
182182 else if ((ao == 4))
183183 then "4"
184184 else if ((ao == 5))
185185 then "5"
186186 else if ((ao == 6))
187187 then "6"
188188 else throw(("Unsupported r parameter passed: expected=[1,...,6] actual=" + toString(ao)))
189189
190190
191191 func ap (aq,R) = {
192192 let ar = if (if (if (if (if ((aq == (g + f)))
193193 then true
194194 else (aq == (h + f)))
195195 then true
196196 else (aq == (i + f)))
197197 then true
198198 else (aq == (j + f)))
199199 then true
200200 else (aq == (k + f)))
201201 then true
202202 else false
203203 if (ar)
204204 then {
205205 let as = size(R)
206206 let at = (aq - f)
207207 let au = parseIntValue(take(R, 1))
208208 let av = drop(R, 1)
209209 let aw = parseIntValue(take(av, 1))
210210 let ax = drop(av, 1)
211211 let ay = parseIntValue(take(ax, 1))
212212 let az = drop(ax, 1)
213213 let aA = parseIntValue(take(az, 1))
214214 let aB = drop(az, 1)
215215 let aC = parseIntValue(take(aB, 1))
216216 let aD = drop(aB, 1)
217217 let aE = parseIntValue(take(aD, 1))
218218 let aF = (((((au + aw) + ay) + aA) + aC) + aE)
219219 if ((aF == 5))
220220 then ((at * m) / l)
221221 else if ((aF == 4))
222222 then ((at * n) / l)
223223 else if ((aF == 3))
224224 then ((at * o) / l)
225225 else if ((aF == 2))
226226 then ((at * p) / l)
227227 else if ((aF == 1))
228228 then ((at * q) / l)
229229 else throw(("Invalid player's choice, active bullets = " + toString(aF)))
230230 }
231231 else throw("Bet amount is not in range")
232232 }
233233
234234
235235 func aG (R) = {
236236 let au = parseIntValue(take(R, 1))
237237 let av = drop(R, 1)
238238 let aw = parseIntValue(take(av, 1))
239239 let ax = drop(R, 1)
240240 let ay = parseIntValue(take(ax, 1))
241241 let az = drop(R, 1)
242242 let aA = parseIntValue(take(az, 1))
243243 let aB = drop(R, 1)
244244 let aC = parseIntValue(take(aB, 1))
245245 let aD = drop(R, 1)
246246 let aE = parseIntValue(take(aD, 1))
247247 if ((au == 0))
248248 then "1"
249249 else if ((aw == 0))
250250 then "2"
251251 else if ((ay == 0))
252252 then "3"
253253 else if ((aA == 0))
254254 then "4"
255255 else if ((aC == 0))
256256 then "5"
257257 else if ((aE == 0))
258258 then "6"
259259 else throw("Bet amount is not in range")
260260 }
261261
262262
263263 func aH (R,aI) = {
264264 let aJ = parseIntValue(aI)
265265 let aK = split(R, "")
266266 if ((aK[(aJ - 1)] == "0"))
267267 then true
268268 else false
269269 }
270270
271271
272272 func aL (C,aM,U,aN,aO,aP) = {
273273 let aQ = [aP]
274274 let aR = [ScriptTransfer(aM, U, unit)]
275275 if (aO)
276276 then {
277277 let aS = ((aN + "_") + ai("TIMEOUT"))
278278 let aT = DataEntry(C, aS)
279279 ScriptResult(WriteSet(aT :: aQ), TransferSet(aR))
280280 }
281281 else {
282282 let aT = DataEntry(C, aN)
283283 ScriptResult(WriteSet(aT :: aQ), TransferSet(aR))
284284 }
285285 }
286286
287287
288288 @Callable(aU)
289289 func bet (R) = {
290290 let aV = ae()
291291 let C = toBase58String(aU.transactionId)
292292 let aW = extract(aU.payment)
293293 let aX = isDefined(aW.assetId)
294294 let aY = isDefined(aW.assetId)
295295 let U = ap(aW.amount, R)
296296 let aZ = isDefined(getString(this, C))
297297 if (aX)
298298 then throw("Bet amount must be in Waves")
299299 else if (aY)
300300 then throw("Transaction's fee must be in Waves")
301301 else if (aZ)
302302 then throw("Passed txId had been used before. Game aborted.")
303303 else {
304304 let S = toBase58String(aU.callerPublicKey)
305305 let ba = ak(y, R, S, height, U, "")
306306 let bb = ((((((((y + "_") + R) + "_") + S) + "_") + toString(height)) + "_") + toString(U))
307307 let bc = [ScriptTransfer(b, f, unit)]
308308 let bd = [DataEntry(x, ab(U)), DataEntry(w, aV), DataEntry(C, ba)]
309309 ScriptResult(WriteSet(bd), TransferSet(bc))
310310 }
311311 }
312312
313313
314314
315315 @Callable(aU)
316316 func withdraw (C,be) = {
317317 let D = fromBase58String(be)
318318 let bf = V(C)
319319 let Q = bf[r]
320320 let R = bf[s]
321321 let T = parseIntValue(bf[u])
322322 let U = parseIntValue(bf[v])
323323 let S = bf[t]
324324 let aM = addressFromPublicKey(fromBase58String(S))
325325 let aO = ((height - T) > c)
326326 let aP = ah(C, U)
327327 if ((Q != y))
328328 then throw("Invalid game state for passed gameId")
329329 else if (aO)
330330 then {
331331 let aI = aG(R)
332332 let aN = ak(z, R, S, T, U, aI)
333333 aL(C, aM, U, aN, aO, aP)
334334 }
335335 else {
336336 let aJ = B(C, D)
337337 let aI = an(aJ)
338338 if (aH(R, aI))
339339 then {
340340 let aN = ak(z, R, S, T, U, aI)
341341 aL(C, aM, U, aN, aO, aP)
342342 }
343343 else {
344344 let aN = ak(A, R, S, T, U, aI)
345345 WriteSet([DataEntry(C, aN), aP])
346346 }
347347 }
348348 }
349349
350350

github/deemru/w8io/169f3d6 
61.05 ms