tx · 26gD36q2QH9TapSEqFCGvKtvUYB7vV74p3Ld8Vx8hTvu

3NCQUopB5f6HrvMJmbCGxmBygmPZH4idmij:  -0.01500000 Waves

2021.02.11 07:56 [1393069] smart account 3NCQUopB5f6HrvMJmbCGxmBygmPZH4idmij > SELF 0.00000000 Waves

{ "type": 13, "id": "26gD36q2QH9TapSEqFCGvKtvUYB7vV74p3Ld8Vx8hTvu", "fee": 1500000, "feeAssetId": null, "timestamp": 1613019379865, "version": 2, "chainId": 84, "sender": "3NCQUopB5f6HrvMJmbCGxmBygmPZH4idmij", "senderPublicKey": "FS5VX2VdN9PzMBscXm9o41X1kgy1CJguohUGFG6ijxk6", "proofs": [ "jR7xnw9X1WtdNugzVTyzZWMP7rvCktra3t2Bv4RjwbW1mnmmaQ4JfWhMd4GPYADNKRRdtKMdsCfJ5uPQ7EAGAb5" ], "script": "base64:AAIDAAAAAAAAAA0IARIHCgUBAQEBCBIAAAAAEwAAAAAKZEFwcEFkZHJlcwIAAAArRjlEQ0dpWWdUOHl2QnExQVFGY1NwR0c0cDhzZHpOejltWmN6RHZKNDVMTAAAAAALdGlja2V0QXNzZXQBAAAAIEYc9ZUgYtXiRrToDJgiMgFmnQRu3R1NoyARqb9irygsAAAAAA10b2tlbnNQZXJQbGF5AAAAAAAF9eEAAAAAAA1sb3R0ZXJ5YW1vdW50AgAAAAdfYW1vdW50AAAAABJsb3R0ZXJ5cHJvYmFiaWxpdHkCAAAADF9wcm9iYWJpbGl0eQAAAAAZbG90dGVyeXByb2JhYmlsaXR5ZGVjaW1hbAIAAAAUX3Byb2JhYmlsaXR5X2RlY2ltYWwAAAAADGxvdHRlcnlQcmljZQIAAAAGX3ByaWNlAAAAAA1sb3R0ZXJ5UHJpY2VzAgAAAA9fbG90dGVyeV9wcmljZXMAAAAADmxvdHRlcnlBc3NldElkAgAAABFfbG90dGVyeV9hc3NldF9pZAAAAAANY291bnRPZlByaWNlcwIAAAANX2NvdW50X3ByaWNlcwAAAAAUbGFzdE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GVyBQAAAAp0b2tlblByaWNlBQAAAA1hY3R1YWxBc3NldElkBQAAAANuaWwJAQAAAAxTY3JpcHRSZXN1bHQAAAACBQAAAAl3cml0ZVNldHMFAAAAC3dpblRyYW5zZmVyCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAAAlZb3UgbmVlZCAJAAJYAAAAAQUAAAALdGlja2V0QXNzZXQCAAAAEyB0byBwbGF5IHRoaXMgZ2FtZS4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXno4St4", "height": 1393069, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "F9DCGiYgT8yvBq1AQFcSpGG4p8sdzNz9mZczDvJ45LL"
5+
6+let b = base58'5ih9jd4KV9kSey55yvKMgLSHcwsYYkQ4pRDJtRNoxUhy'
7+
8+let c = 100000000
9+
10+let d = "_amount"
11+
12+let e = "_probability"
13+
14+let f = "_probability_decimal"
15+
16+let g = "_price"
17+
18+let h = "_lottery_prices"
19+
20+let i = "_lottery_asset_id"
21+
22+let j = "_count_prices"
23+
24+let k = "last_spin_random_hash"
25+
26+let l = "last_token_random_hash"
27+
28+let m = 5
29+
30+let n = "total_prizes_pool"
31+
32+func o (p) = {
33+ let q = {
34+ let r = getBinary(this, k)
35+ if ($isInstanceOf(r, "ByteVector"))
36+ then {
37+ let s = r
38+ s
39+ }
40+ else if ($isInstanceOf(r, "Unit"))
41+ then base58'2ee4oFDYriWJ9EMeR'
42+ else throw("Match error")
43+ }
44+ let t = (((((q + p.transactionId) + p.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
45+ sha256(t)
46+ }
47+
48+
49+func u (p) = {
50+ let v = {
51+ let r = getBinary(this, l)
52+ if ($isInstanceOf(r, "ByteVector"))
53+ then {
54+ let s = r
55+ s
56+ }
57+ else if ($isInstanceOf(r, "Unit"))
58+ then base58'4dD7osCQzvuXJdTiGfKvTwnKT'
59+ else throw("Match error")
60+ }
61+ let t = (((((v + p.transactionId) + p.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
62+ sha256(t)
63+ }
64+
65+
66+func w () = {
67+ let x = {
68+ let r = getString(this, g)
69+ if ($isInstanceOf(r, "String"))
70+ then {
71+ let y = r
72+ y
73+ }
74+ else if ($isInstanceOf(r, "Unit"))
75+ then ""
76+ else throw("Match error")
77+ }
78+ let z = size(x)
79+ if ((z == 0))
80+ then nil
81+ else {
82+ let A = take(x, (size(x) - 1))
83+ let B = split(A, ",")
84+ B
85+ }
86+ }
87+
88+
89+func C (D,E) = if (isDefined(E))
90+ then {
91+ let F = indexOf(D, ",")
92+ let G = indexOf(D, E)
93+ if (if (!(isDefined(F)))
94+ then !(isDefined(G))
95+ else false)
96+ then ((D + E) + ",")
97+ else if (if (!(isDefined(F)))
98+ then isDefined(G)
99+ else false)
100+ then (E + ",")
101+ else if (if (isDefined(G))
102+ then isDefined(F)
103+ else false)
104+ then D
105+ else if (if (isDefined(F))
106+ then !(isDefined(G))
107+ else false)
108+ then ((D + E) + ",")
109+ else ""
110+ }
111+ else D
112+
113+
114+func H (I,D) = if (if (isDefined(D))
115+ then true
116+ else (D != ""))
117+ then {
118+ let J = getIntegerValue(this, (D + e))
119+ let K = getIntegerValue(this, (D + f))
120+ let L = (K * 1000)
121+ let M = (K % L)
122+ let N = size(I)
123+ if ((N == 1))
124+ then {
125+ let O = I[0]
126+ let P = toInt(fromBase64String(O))
127+ if ((M > P))
128+ then D :: I
129+ else I
130+ }
131+ else I
132+ }
133+ else I
134+
135+
136+@Callable(Q)
137+func updateprobability (R,S,T,U,V) = {
138+ let D = toBase64String(u(Q))
139+ let W = if (!(isDefined(Q.payment)))
140+ then false
141+ else true
142+ let X = if ((V == ""))
143+ then true
144+ else false
145+ let Y = (S * T)
146+ let Z = {
147+ let r = getInteger(this, n)
148+ if ($isInstanceOf(r, "Int"))
149+ then {
150+ let aa = r
151+ aa
152+ }
153+ else if ($isInstanceOf(r, "Unit"))
154+ then 0
155+ else throw("Match error")
156+ }
157+ let ab = (Z + Y)
158+ if ((W == true))
159+ then {
160+ let ac = extract(Q.payment)
161+ let ad = {
162+ let r = ac.assetId
163+ if ($isInstanceOf(r, "ByteVector"))
164+ then {
165+ let y = r
166+ toBase58String(y)
167+ }
168+ else if ($isInstanceOf(r, "Unit"))
169+ then ""
170+ else throw("Match error")
171+ }
172+ let ae = ac.amount
173+ if ((ad != V))
174+ then throw("Asset Id not matching with Payment Asset Id")
175+ else if ((Y > ae))
176+ then throw("Not enough Asset Amount")
177+ else {
178+ let af = {
179+ let r = getString(this, h)
180+ if ($isInstanceOf(r, "String"))
181+ then {
182+ let y = r
183+ y
184+ }
185+ else if ($isInstanceOf(r, "Unit"))
186+ then ""
187+ else throw("Match error")
188+ }
189+ let ag = indexOf(af, D)
190+ let ah = {
191+ let r = ag
192+ if ($isInstanceOf(r, "Unit"))
193+ then ((af + D) + ",")
194+ else if ($isInstanceOf(r, "Int"))
195+ then {
196+ let ai = r
197+ throw("Token is duplicated")
198+ }
199+ else throw("Match error")
200+ }
201+ let aj = {
202+ let r = getInteger(this, j)
203+ if ($isInstanceOf(r, "Int"))
204+ then {
205+ let y = r
206+ y
207+ }
208+ else if ($isInstanceOf(r, "Unit"))
209+ then 0
210+ else throw("Match error")
211+ }
212+ if ((m > aj))
213+ then {
214+ let ak = WriteSet([DataEntry((D + d), S), DataEntry((D + e), R), DataEntry((D + g), T), DataEntry(h, ah), DataEntry(j, (aj + 1)), DataEntry((D + f), U), DataEntry((D + i), V), DataEntry(l, D), DataEntry(n, ab)])
215+ ScriptResult(ak, TransferSet(nil))
216+ }
217+ else throw(("Lottery prices has reached maximum " + toString(m)))
218+ }
219+ }
220+ else {
221+ let al = if (X)
222+ then wavesBalance(this)
223+ else assetBalance(this, fromBase64String(V))
224+ if ((Y > al))
225+ then throw("Not enough Asset Amount")
226+ else {
227+ let af = {
228+ let r = getString(this, h)
229+ if ($isInstanceOf(r, "String"))
230+ then {
231+ let y = r
232+ y
233+ }
234+ else if ($isInstanceOf(r, "Unit"))
235+ then ""
236+ else throw("Match error")
237+ }
238+ let ag = indexOf(af, D)
239+ let ah = {
240+ let r = ag
241+ if ($isInstanceOf(r, "Unit"))
242+ then ((af + D) + ",")
243+ else if ($isInstanceOf(r, "Int"))
244+ then {
245+ let ai = r
246+ throw("Token is duplicated")
247+ }
248+ else throw("Match error")
249+ }
250+ let aj = {
251+ let r = getInteger(this, j)
252+ if ($isInstanceOf(r, "Int"))
253+ then {
254+ let y = r
255+ y
256+ }
257+ else if ($isInstanceOf(r, "Unit"))
258+ then 0
259+ else throw("Match error")
260+ }
261+ if ((m > aj))
262+ then {
263+ let ak = WriteSet([DataEntry((D + d), S), DataEntry((D + e), R), DataEntry((D + g), T), DataEntry(h, ah), DataEntry(j, (aj + 1)), DataEntry((D + f), U), DataEntry((D + i), V), DataEntry(l, D), DataEntry(n, ab)])
264+ ScriptResult(ak, TransferSet(nil))
265+ }
266+ else throw(("Lottery prices has reached maximum " + toString(m)))
267+ }
268+ }
269+ }
270+
271+
272+
273+@Callable(Q)
274+func startlotto () = {
275+ let W = if (!(isDefined(Q.payment)))
276+ then false
277+ else true
278+ if ((W == true))
279+ then {
280+ let am = extract(Q.payment)
281+ if (if ((am.assetId != b))
282+ then true
283+ else (am.amount != c))
284+ then throw("Incorrect asset passed or incorrect quantity passed")
285+ else {
286+ let an = toBase58String(Q.caller.bytes)
287+ let ao = o(Q)
288+ let aj = {
289+ let r = getInteger(this, j)
290+ if ($isInstanceOf(r, "Int"))
291+ then {
292+ let y = r
293+ y
294+ }
295+ else if ($isInstanceOf(r, "Unit"))
296+ then 0
297+ else throw("Match error")
298+ }
299+ let ap = w()
300+ let aq = toBase64String(ao)
301+ let ar = {
302+ let as = ap
303+ let at = size(as)
304+ let au = [aq]
305+ if ((at == 0))
306+ then au
307+ else {
308+ let av = H(au, as[0])
309+ if ((at == 1))
310+ then av
311+ else {
312+ let aw = H(av, as[1])
313+ if ((at == 2))
314+ then aw
315+ else {
316+ let ax = H(aw, as[2])
317+ if ((at == 3))
318+ then ax
319+ else {
320+ let ay = H(ax, as[3])
321+ if ((at == 4))
322+ then ay
323+ else {
324+ let az = H(ay, as[4])
325+ if ((at == 5))
326+ then az
327+ else {
328+ let aA = H(az, as[5])
329+ throw("List size exceed 5")
330+ }
331+ }
332+ }
333+ }
334+ }
335+ }
336+ }
337+ let aB = size(ar)
338+ if ((aB == 1))
339+ then {
340+ let aC = WriteSet([DataEntry("message", "Better luck next time!"), DataEntry(k, aq)])
341+ ScriptResult(aC, TransferSet(nil))
342+ }
343+ else {
344+ let D = ar[0]
345+ let aD = getIntegerValue(this, (D + d))
346+ if ((aD == 0))
347+ then throw("Amount exceeded")
348+ else {
349+ let aE = (aD - 1)
350+ let aF = getIntegerValue(this, (D + g))
351+ let aG = getStringValue(this, (D + i))
352+ let Z = {
353+ let r = getInteger(this, n)
354+ if ($isInstanceOf(r, "Int"))
355+ then {
356+ let aa = r
357+ aa
358+ }
359+ else if ($isInstanceOf(r, "Unit"))
360+ then 0
361+ else throw("Match error")
362+ }
363+ let aH = (Z - aF)
364+ if ((aE == 0))
365+ then {
366+ let ah = {
367+ let aI = ap
368+ let aJ = size(aI)
369+ let aK = D
370+ if ((aJ == 0))
371+ then aK
372+ else {
373+ let aL = C(aK, aI[0])
374+ if ((aJ == 1))
375+ then aL
376+ else {
377+ let aM = C(aL, aI[1])
378+ if ((aJ == 2))
379+ then aM
380+ else {
381+ let aN = C(aM, aI[2])
382+ if ((aJ == 3))
383+ then aN
384+ else {
385+ let aO = C(aN, aI[3])
386+ if ((aJ == 4))
387+ then aO
388+ else {
389+ let aP = C(aO, aI[4])
390+ if ((aJ == 5))
391+ then aP
392+ else {
393+ let aQ = C(aP, aI[5])
394+ throw("List size exceed 5")
395+ }
396+ }
397+ }
398+ }
399+ }
400+ }
401+ }
402+ let aR = ((size(ah) - size(D)) - 1)
403+ let aS = takeRight(ah, aR)
404+ let aC = WriteSet([DataEntry((an + "_winning_token_"), D), DataEntry((an + "_wininning_price_"), aF), DataEntry(j, (aj - 1)), DataEntry(h, aS), DataEntry(k, aq), DataEntry(n, aH), DataEntry("message", "Congratulations you won!")])
405+ if ((aG == ""))
406+ then {
407+ let aT = TransferSet([ScriptTransfer(Q.caller, aF, unit)])
408+ ScriptResult(aC, aT)
409+ }
410+ else {
411+ let aU = fromBase58String(aG)
412+ let aT = TransferSet([ScriptTransfer(Q.caller, aF, aU)])
413+ ScriptResult(aC, aT)
414+ }
415+ }
416+ else {
417+ let ah = {
418+ let aV = ap
419+ let aW = size(aV)
420+ let aX = D
421+ if ((aW == 0))
422+ then aX
423+ else {
424+ let aY = C(aX, aV[0])
425+ if ((aW == 1))
426+ then aY
427+ else {
428+ let aZ = C(aY, aV[1])
429+ if ((aW == 2))
430+ then aZ
431+ else {
432+ let ba = C(aZ, aV[2])
433+ if ((aW == 3))
434+ then ba
435+ else {
436+ let bb = C(ba, aV[3])
437+ if ((aW == 4))
438+ then bb
439+ else {
440+ let bc = C(bb, aV[4])
441+ if ((aW == 5))
442+ then bc
443+ else {
444+ let bd = C(bc, aV[5])
445+ throw("List size exceed 5")
446+ }
447+ }
448+ }
449+ }
450+ }
451+ }
452+ }
453+ let aR = ((size(ah) - size(D)) - 1)
454+ let aS = takeRight(ah, aR)
455+ let aC = WriteSet([DataEntry((an + "_winning_token_"), D), DataEntry((an + "_wininning_price_"), aF), DataEntry((D + d), aE), DataEntry(k, aq), DataEntry(n, aH), DataEntry("message", "Congratulations you won!")])
456+ if ((aG == ""))
457+ then {
458+ let aT = TransferSet([ScriptTransfer(Q.caller, aF, unit)])
459+ ScriptResult(aC, aT)
460+ }
461+ else {
462+ let aU = fromBase58String(aG)
463+ let aT = TransferSet([ScriptTransfer(Q.caller, aF, aU)])
464+ ScriptResult(aC, aT)
465+ }
466+ }
467+ }
468+ }
469+ }
470+ }
471+ else throw((("You need " + toBase58String(b)) + " to play this game."))
472+ }
473+
474+
475+@Verifier(be)
476+func bf () = {
477+ let r = be
478+ sigVerify(be.bodyBytes, be.proofs[0], be.senderPublicKey)
479+ }
480+

github/deemru/w8io/169f3d6 
38.25 ms