tx · BMqHTQd1Ud9qghJQpcH3N2qdTuzfoWrTTuQ7955emu9p

3MsGBnTzBhrNe6w1KpLYPkzdDdxWudm4U89:  -0.01400000 Waves

2019.08.25 22:21 [647098] smart account 3MsGBnTzBhrNe6w1KpLYPkzdDdxWudm4U89 > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
54.76 ms