tx · 4hmE9GihFDvacVJzuT5amvcokDmHaqbrKzJeMbJxL3kB

3NC7LFpzeWvBEc5MeLQz4mRNfhvXGJtG39C:  -0.01500000 Waves

2021.02.10 13:40 [1391970] smart account 3NC7LFpzeWvBEc5MeLQz4mRNfhvXGJtG39C > SELF 0.00000000 Waves

{ "type": 13, "id": "4hmE9GihFDvacVJzuT5amvcokDmHaqbrKzJeMbJxL3kB", "fee": 1500000, "feeAssetId": null, "timestamp": 1612953663668, "version": 2, "chainId": 84, "sender": "3NC7LFpzeWvBEc5MeLQz4mRNfhvXGJtG39C", "senderPublicKey": "6177aLzMsXkcUKVywgPKC9Mf9dLa4GkPgndGBQHZe844", "proofs": [ "3gX4wBZ1fX1ywNE6eaF2VqTJ9MHfdbx1RveXk7BA9ea56sqaYckAtJrEabVxw79QGt7Fk1a7j8Qj7ZWKT2JNLmCp" ], "script": "base64:AAIDAAAAAAAAAA0IARIHCgUBAQEBCBIAAAAAEwAAAAAKZEFwcEFkZHJlcwIAAAArRjlEQ0dpWWdUOHl2QnExQVFGY1NwR0c0cDhzZHpOejltWmN6RHZKNDVMTAAAAAALdGlja2V0QXNzZXQBAAAAIEYc9ZUgYtXiRrToDJgiMgFmnQRu3R1NoyARqb9irygsAAAAAA10b2tlbnNQZXJQbGF5AAAAAAAF9eEAAAAAAA1sb3R0ZXJ5YW1vdW50AgAAAAdfYW1vdW50AAAAABJsb3R0ZXJ5cHJvYmFiaWxpdHkCAAAADF9wcm9iYWJpbGl0eQAAAAAZbG90dGVyeXByb2JhYmlsaXR5ZGVjaW1hbAIAAAAUX3Byb2JhYmlsaXR5X2RlY2ltYWwAAAAADGxvdHRlcnlQcmljZQIAAAAGX3ByaWNlAAAAAA1sb3R0ZXJ5UHJpY2VzAgAAAA9fbG90dGVyeV9wcmljZXMAAAAADmxvdHRlcnlBc3NldElkAgAAABFfbG90dGVyeV9hc3NldF9pZAAAAAANY291bnRPZlByaWNlcwIAAAANX2NvdW50X3ByaWNlcwAAAAAUb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AADyRhY2MzMTEzMzYxMTM4NgQAAAAPJGFjYzQxMTMzNjExMzg2CQEAAAAXZ2VuZXJhdGVOZXdMaXN0T2ZQcmljZXMAAAACBQAAAA8kYWNjMzExMzM2MTEzODYJAAGRAAAAAgUAAAAPJGxpc3QxMTMzNjExMzg2AAAAAAAAAAADAwkAAAAAAAACBQAAAA8kc2l6ZTExMzM2MTEzODYAAAAAAAAAAAQFAAAADyRhY2M0MTEzMzYxMTM4NgQAAAAPJGFjYzUxMTMzNjExMzg2CQEAAAAXZ2VuZXJhdGVOZXdMaXN0T2ZQcmljZXMAAAACBQAAAA8kYWNjNDExMzM2MTEzODYJAAGRAAAAAgUAAAAPJGxpc3QxMTMzNjExMzg2AAAAAAAAAAAEAwkAAAAAAAACBQAAAA8kc2l6ZTExMzM2MTEzODYAAAAAAAAAAAUFAAAADyRhY2M1MTEzMzYxMTM4NgQAAAAPJGFjYzYxMTMzNjExMzg2CQEAAAAXZ2VuZXJhdGVOZXdMaXN0T2ZQcmljZXMAAAACBQAAAA8kYWNjNTExMzM2MTEzODYJAAGRAAAAAgUAAAAPJGxpc3QxMTMzNjExMzg2AAAAAAAAAAAFCQAAAgAAAAECAAAAEkxpc3Qgc2l6ZSBleGNlZWQgNQkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgUAAAASc3RvcmVkVG9rZW5zVmFsdWVzAgAAAAQgOjogBQAAAAV0b2tlbgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQ0Y8i8=", "height": 1391970, "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+func n (o) = {
31+ let p = {
32+ let q = getBinary(this, k)
33+ if ($isInstanceOf(q, "ByteVector"))
34+ then {
35+ let r = q
36+ r
37+ }
38+ else if ($isInstanceOf(q, "Unit"))
39+ then base58'2ee4oFDYriWJ9EMeR'
40+ else throw("Match error")
41+ }
42+ let s = (((((p + o.transactionId) + o.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
43+ sha256(s)
44+ }
45+
46+
47+func t (o) = {
48+ let u = {
49+ let q = getBinary(this, l)
50+ if ($isInstanceOf(q, "ByteVector"))
51+ then {
52+ let r = q
53+ r
54+ }
55+ else if ($isInstanceOf(q, "Unit"))
56+ then base58'4dD7osCQzvuXJdTiGfKvTwnKT'
57+ else throw("Match error")
58+ }
59+ let s = (((((u + o.transactionId) + o.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
60+ sha256(s)
61+ }
62+
63+
64+func v () = {
65+ let w = getStringValue(this, h)
66+ let x = take(w, (size(w) - 1))
67+ let y = split(x, ",")
68+ y
69+ }
70+
71+
72+func z (A,B) = {
73+ let C = indexOf(A, ",")
74+ let D = if ((A != B))
75+ then true
76+ else false
77+ if (if (isDefined(C))
78+ then D
79+ else false)
80+ then ((A + B) + ",")
81+ else if (D)
82+ then (B + ",")
83+ else ""
84+ }
85+
86+
87+func E (F,B) = if (isDefined(B))
88+ then {
89+ let G = size(F)
90+ let H = F[(G - 1)]
91+ if ((H == B))
92+ then F
93+ else B :: F
94+ }
95+ else F
96+
97+
98+func I (J,A) = if (if (isDefined(A))
99+ then true
100+ else (A != ""))
101+ then {
102+ let K = getIntegerValue(this, (A + e))
103+ let L = getIntegerValue(this, (A + f))
104+ let M = (L * 1000)
105+ let N = (L % M)
106+ let O = size(J)
107+ if ((O == 1))
108+ then {
109+ let P = J[0]
110+ let Q = toInt(fromBase64String(P))
111+ if ((N > Q))
112+ then A :: J
113+ else J
114+ }
115+ else J
116+ }
117+ else J
118+
119+
120+@Callable(R)
121+func updateprobability (S,T,U,V,W) = {
122+ let A = toBase64String(t(R))
123+ let X = if (!(isDefined(R.payment)))
124+ then false
125+ else true
126+ let Y = if ((W == ""))
127+ then true
128+ else false
129+ let Z = (T * U)
130+ if ((X == true))
131+ then {
132+ let aa = extract(R.payment)
133+ let ab = {
134+ let q = aa.assetId
135+ if ($isInstanceOf(q, "ByteVector"))
136+ then {
137+ let ac = q
138+ toBase58String(ac)
139+ }
140+ else if ($isInstanceOf(q, "Unit"))
141+ then ""
142+ else throw("Match error")
143+ }
144+ let ad = aa.amount
145+ if ((ab != W))
146+ then throw("Asset Id not matching with Payment Asset Id")
147+ else if ((Z > ad))
148+ then throw("Not enough Asset Amount")
149+ else {
150+ let ae = {
151+ let q = getString(this, h)
152+ if ($isInstanceOf(q, "String"))
153+ then {
154+ let ac = q
155+ ac
156+ }
157+ else if ($isInstanceOf(q, "Unit"))
158+ then ""
159+ else throw("Match error")
160+ }
161+ let af = indexOf(ae, A)
162+ let ag = {
163+ let q = af
164+ if ($isInstanceOf(q, "Unit"))
165+ then ((ae + A) + ",")
166+ else if ($isInstanceOf(q, "Int"))
167+ then {
168+ let ah = q
169+ throw("Token is duplicated")
170+ }
171+ else throw("Match error")
172+ }
173+ let ai = {
174+ let q = getInteger(this, j)
175+ if ($isInstanceOf(q, "Int"))
176+ then {
177+ let ac = q
178+ ac
179+ }
180+ else if ($isInstanceOf(q, "Unit"))
181+ then 0
182+ else throw("Match error")
183+ }
184+ if ((m > ai))
185+ then {
186+ let aj = WriteSet([DataEntry((A + d), T), DataEntry((A + e), S), DataEntry((A + g), U), DataEntry(h, ag), DataEntry(j, (ai + 1)), DataEntry((A + f), V), DataEntry((A + i), W), DataEntry(l, A)])
187+ ScriptResult(aj, TransferSet(nil))
188+ }
189+ else throw(("Lottery prices has reached maximum " + toString(m)))
190+ }
191+ }
192+ else {
193+ let ak = if (Y)
194+ then wavesBalance(this)
195+ else assetBalance(this, fromBase64String(W))
196+ if ((Z > ak))
197+ then throw("Not enough Asset Amount")
198+ else {
199+ let ae = {
200+ let q = getString(this, h)
201+ if ($isInstanceOf(q, "String"))
202+ then {
203+ let ac = q
204+ ac
205+ }
206+ else if ($isInstanceOf(q, "Unit"))
207+ then ""
208+ else throw("Match error")
209+ }
210+ let af = indexOf(ae, A)
211+ let ag = {
212+ let q = af
213+ if ($isInstanceOf(q, "Unit"))
214+ then ((ae + A) + ",")
215+ else if ($isInstanceOf(q, "Int"))
216+ then {
217+ let ah = q
218+ throw("Token is duplicated")
219+ }
220+ else throw("Match error")
221+ }
222+ let ai = {
223+ let q = getInteger(this, j)
224+ if ($isInstanceOf(q, "Int"))
225+ then {
226+ let ac = q
227+ ac
228+ }
229+ else if ($isInstanceOf(q, "Unit"))
230+ then 0
231+ else throw("Match error")
232+ }
233+ if ((m > ai))
234+ then {
235+ let aj = WriteSet([DataEntry((A + d), T), DataEntry((A + e), S), DataEntry((A + g), U), DataEntry(h, ag), DataEntry(j, (ai + 1)), DataEntry((A + f), V), DataEntry((A + i), W), DataEntry(l, A)])
236+ ScriptResult(aj, TransferSet(nil))
237+ }
238+ else throw(("Lottery prices has reached maximum " + toString(m)))
239+ }
240+ }
241+ }
242+
243+
244+
245+@Callable(R)
246+func startlotto () = {
247+ let al = toBase58String(R.caller.bytes)
248+ let am = n(R)
249+ let ai = {
250+ let q = getInteger(this, j)
251+ if ($isInstanceOf(q, "Int"))
252+ then {
253+ let ac = q
254+ ac
255+ }
256+ else if ($isInstanceOf(q, "Unit"))
257+ then 0
258+ else throw("Match error")
259+ }
260+ let an = v()
261+ let ao = toBase64String(am)
262+ let ap = {
263+ let aq = an
264+ let ar = size(aq)
265+ let as = [ao]
266+ if ((ar == 0))
267+ then as
268+ else {
269+ let at = I(as, aq[0])
270+ if ((ar == 1))
271+ then at
272+ else {
273+ let au = I(at, aq[1])
274+ if ((ar == 2))
275+ then au
276+ else {
277+ let av = I(au, aq[2])
278+ if ((ar == 3))
279+ then av
280+ else {
281+ let aw = I(av, aq[3])
282+ if ((ar == 4))
283+ then aw
284+ else {
285+ let ax = I(aw, aq[4])
286+ if ((ar == 5))
287+ then ax
288+ else {
289+ let ay = I(ax, aq[5])
290+ throw("List size exceed 5")
291+ }
292+ }
293+ }
294+ }
295+ }
296+ }
297+ }
298+ let az = size(ap)
299+ if ((az == 1))
300+ then {
301+ let aA = WriteSet([DataEntry("message", "Better luck next time!")])
302+ ScriptResult(aA, TransferSet(nil))
303+ }
304+ else {
305+ let A = ap[0]
306+ let aB = getIntegerValue(this, (A + d))
307+ if ((aB == 0))
308+ then throw("Amount exceeded")
309+ else {
310+ let aC = (aB - 1)
311+ let aD = getIntegerValue(this, (A + g))
312+ let aE = getStringValue(this, (A + i))
313+ if ((aC == 0))
314+ then {
315+ let ag = {
316+ let aF = an
317+ let aG = size(aF)
318+ let aH = A
319+ if ((aG == 0))
320+ then aH
321+ else {
322+ let aI = z(aH, aF[0])
323+ if ((aG == 1))
324+ then aI
325+ else {
326+ let aJ = z(aI, aF[1])
327+ if ((aG == 2))
328+ then aJ
329+ else {
330+ let aK = z(aJ, aF[2])
331+ if ((aG == 3))
332+ then aK
333+ else {
334+ let aL = z(aK, aF[3])
335+ if ((aG == 4))
336+ then aL
337+ else {
338+ let aM = z(aL, aF[4])
339+ if ((aG == 5))
340+ then aM
341+ else {
342+ let aN = z(aM, aF[5])
343+ throw("List size exceed 5")
344+ }
345+ }
346+ }
347+ }
348+ }
349+ }
350+ }
351+ throw(((ag + " :: ") + A))
352+ }
353+ else {
354+ let ag = {
355+ let aO = an
356+ let aP = size(aO)
357+ let aQ = A
358+ if ((aP == 0))
359+ then aQ
360+ else {
361+ let aR = z(aQ, aO[0])
362+ if ((aP == 1))
363+ then aR
364+ else {
365+ let aS = z(aR, aO[1])
366+ if ((aP == 2))
367+ then aS
368+ else {
369+ let aT = z(aS, aO[2])
370+ if ((aP == 3))
371+ then aT
372+ else {
373+ let aU = z(aT, aO[3])
374+ if ((aP == 4))
375+ then aU
376+ else {
377+ let aV = z(aU, aO[4])
378+ if ((aP == 5))
379+ then aV
380+ else {
381+ let aW = z(aV, aO[5])
382+ throw("List size exceed 5")
383+ }
384+ }
385+ }
386+ }
387+ }
388+ }
389+ }
390+ throw(((ag + " :: ") + A))
391+ }
392+ }
393+ }
394+ }
395+
396+
397+@Verifier(aX)
398+func aY () = {
399+ let q = aX
400+ sigVerify(aX.bodyBytes, aX.proofs[0], aX.senderPublicKey)
401+ }
402+

github/deemru/w8io/026f985 
25.86 ms