tx · YNrxnAa6KAqkXarRzGbjvVERhLKKHN7vcosuUyxMbX3

3N4zabLE5JbtJfVdNL7CP1STkCnmU15Uwyz:  -0.05000000 Waves

2021.08.18 03:25 [1663053] smart account 3N4zabLE5JbtJfVdNL7CP1STkCnmU15Uwyz > SELF 0.00000000 Waves

{ "type": 13, "id": "YNrxnAa6KAqkXarRzGbjvVERhLKKHN7vcosuUyxMbX3", "fee": 5000000, "feeAssetId": null, "timestamp": 1629246370286, "version": 2, "chainId": 84, "sender": "3N4zabLE5JbtJfVdNL7CP1STkCnmU15Uwyz", "senderPublicKey": "H2xJWsT7HURFk1LcASPmFbNrxJ1AoYmbjiYy2qTiUDmg", "proofs": [ "31b79UAY8YpVA3eQs9Vq6pyDQiNGzy8W5HTX2C6WEy8nLscwwQ49QTjrZpM9SbMqKVVj7ZX9dUKQn4rj7r2LbnkP" ], "script": "base64:AAIDAAAAAAAAB9EIARIDCgEIEgQKAggIGhUKAmExEg9TZXJ2ZXJQdWJsaWNLZXkaDAoCYTISBlNFUlZFUhoZCgJhMxITUkFORE9SQUNMRVRJTUVGUkFNRRoNCgJhNBIHV0FWRUxFVBoQCgJhNRIKQ09NTUlTU0lPThoKCgJhNhIEQkVUMRoKCgJhNxIEQkVUMhoKCgJhOBIEQkVUNBoKCgJhORIEQkVUOBoLCgJiMRIFQkVUMTQaDgoCYjISCFJBVEVNVUxUGgsKAmIzEgVSQVRFMRoLCgJiNBIFUkFURTIaCwoCYjUSBVJBVEUzGgsKAmI2EgVSQVRFNBoLCgJiNxIFUkFURTUaEgoCYjgSDElkeEdhbWVTdGF0ZRoVCgJiORIPSWR4UGxheWVyQ2hvaWNlGhcKAmMxEhFJZHhQbGF5ZXJQdWJLZXk1OBoWCgJjMhIQSWR4U3RhcnRlZEhlaWdodBoPCgJjMxIJSWR4V2luQW10GhQKAmM0Eg5JZHhSYW5kT3JFbXB0eRoVCgJjNRIPR0FNRVNDT1VOVEVSS0VZGhQKAmM2Eg5SRVNFUlZBVElP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AARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAAmQ0BQAAAAJrMwkABEwAAAACBQAAAAJrNQUAAAADbmlsAAAAAEIncfY=", "height": 1663053, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GL17Md5KiH63JyrGK5ypCUP3vnJ8PJr4QRLMP6ArNCGL Next: A96cvUwN2aspGnonUphTs3a5nLzxBR4srVyZh5P6h3vP 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
351351 }
352352
353353
354-@Verifier(bh)
355-func bi () = if (sigVerify(bh.bodyBytes, bh.proofs[0], bh.senderPublicKey))
356- then {
357- let Y = bh
358- if ($isInstanceOf(Y, "TransferTransaction"))
359- then {
360- let bj = Y
361- ((wavesBalance(this) - bj.amount) >= aa())
362- }
363- else if ($isInstanceOf(Y, "SetScriptTransaction"))
364- then {
365- let bk = Y
366- true
367- }
368- else false
369- }
370- else false
371-
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 = ((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) = {
6262 let G = sigVerify(toBytes(E), F, a)
6363 if (G)
6464 then {
6565 let H = (toInt(sha256(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,bf) = {
320320 let F = fromBase58String(bf)
321321 let bg = W(E)
322322 let S = bg[q]
323323 let C = bg[r]
324324 let U = parseIntValue(bg[t])
325325 let V = parseIntValue(bg[u])
326326 let T = bg[s]
327327 let aN = addressFromPublicKey(fromBase58String(T))
328328 let aP = ((height - U) > c)
329329 let aQ = ai(E, V)
330330 if ((S != y))
331331 then throw("Invalid game state for passed gameId")
332332 else if (aP)
333333 then {
334334 let aJ = aH(C)
335335 let aO = al(z, C, T, U, V, aJ)
336336 aM(E, aN, V, aO, aP, aQ)
337337 }
338338 else {
339339 let aK = D(E, F)
340340 let aJ = ao(aK)
341341 if (aI(C, aJ))
342342 then {
343343 let aO = al(z, C, T, U, V, aJ)
344344 aM(E, aN, V, aO, aP, aQ)
345345 }
346346 else {
347347 let aO = al(A, C, T, U, V, aJ)
348348 WriteSet([DataEntry(E, aO), aQ])
349349 }
350350 }
351351 }
352352
353353
354-@Verifier(bh)
355-func bi () = if (sigVerify(bh.bodyBytes, bh.proofs[0], bh.senderPublicKey))
356- then {
357- let Y = bh
358- if ($isInstanceOf(Y, "TransferTransaction"))
359- then {
360- let bj = Y
361- ((wavesBalance(this) - bj.amount) >= aa())
362- }
363- else if ($isInstanceOf(Y, "SetScriptTransaction"))
364- then {
365- let bk = Y
366- true
367- }
368- else false
369- }
370- else false
371-

github/deemru/w8io/169f3d6 
48.35 ms