tx · 3bFTvvFvR8nVKppyo39X9WqQNRKYm3TvrDbMP1X9phRs

3Muvy41fihv5QzReZKY2oXKYKU6FkHNU3F7:  -0.01500000 Waves

2021.03.12 05:57 [1433894] smart account 3Muvy41fihv5QzReZKY2oXKYKU6FkHNU3F7 > SELF 0.00000000 Waves

{ "type": 13, "id": "3bFTvvFvR8nVKppyo39X9WqQNRKYm3TvrDbMP1X9phRs", "fee": 1500000, "feeAssetId": null, "timestamp": 1615517847873, "version": 2, "chainId": 84, "sender": "3Muvy41fihv5QzReZKY2oXKYKU6FkHNU3F7", "senderPublicKey": "C3vbo1k4JZVcvb6DJNCyFbje3nxHsvmLJpCjkny3s97U", "proofs": [ "4xnp1oZhCSrQYBDo4qXEgnpL6ThtxAsS9Mz2R2Db5NKvVxoPLSPGaMfWZdqcP5dWoP2oaWyBmdWbv6zTYKgU6X2x" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAAWAAAAAApkQXBwQWRkcmVzAgAAACtGOURDR2lZZ1Q4eXZCcTFBUUZjU3BHRzRwOHNkek56OW1aY3pEdko0NUxMAAAAAAx0b2tlbkFzc2V0SWQCAAAALDVpaDlqZDRLVjlrU2V5NTV5dktNZ0xTSGN3c1lZa1E0cFJESnRSTm94VWh5AAAAAA11c2VHYXJsaWNDb2luBwAAAAANdG9rZW5zUGVyUGxheQAAAAAAAJiWgAAAAAANbG90dGVyeWFtb3VudAIAAAAHX2Ftb3VudAAAAAASbG90dGVyeXByb2JhYmlsaXR5AgAAAAxfcHJvYmFiaWxpdHkAAAAAGWxvdHRlcnlwcm9iYWJpbGl0eWRlY2ltYWwCAAAAFF9wcm9iYWJpbGl0eV9kZWNpbWFsAAAAABVsb3R0ZXJ5V2lubmluZ0FkZHJlc3MCAAAAEF93aW5uaW5nX2FkZHJlc3MAAAAADGxvdHRlcnlQcmljZQIAAAAGX3ByaWNlAAAAAA1sb3R0ZXJ5UHJpY2VzAgAAAA9fbG90dGVyeV9wcmljZXMAAAAADmxvdH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FJlc3VsdAAAAAIFAAAACXdyaXRlU2V0cwUAAAALd2luVHJhbnNmZXIEAAAAC3dpblRyYW5zZmVyCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAASbG90dGVyeVByaWNlVG9rZW5CBQAAAAR1bml0BQAAAANuaWwJAQAAAAxTY3JpcHRSZXN1bHQAAAACBQAAAAl3cml0ZVNldHMFAAAAC3dpblRyYW5zZmVyCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAAAlZb3UgbmVlZCAFAAAADHRva2VuQXNzZXRJZAIAAAATIHRvIHBsYXkgdGhpcyBnYW1lLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleYlhcbc=", "height": 1433894, "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 = "5ih9jd4KV9kSey55yvKMgLSHcwsYYkQ4pRDJtRNoxUhy"
7+
8+let c = false
9+
10+let d = 10000000
11+
12+let e = "_amount"
13+
14+let f = "_probability"
15+
16+let g = "_probability_decimal"
17+
18+let h = "_winning_address"
19+
20+let i = "_price"
21+
22+let j = "_lottery_prices"
23+
24+let k = "_lottery_asset_id"
25+
26+let l = "_count_prices"
27+
28+let m = "last_spin_random_hash"
29+
30+let n = 3
31+
32+let o = "total_prizes_pool"
33+
34+let p = "f2MzwrmN5wiMn5DwbBL33247fdsf432FV9kSe"
35+
36+let q = "f1MzwrmN4wiMn4DwbBL43242fsdf434Ffsdfs"
37+
38+let r = "f3MzwrmN4wiMn5DsdBL436542fsdf434Ffsdw"
39+
40+func s (t) = {
41+ let u = {
42+ let v = getBinary(this, m)
43+ if ($isInstanceOf(v, "ByteVector"))
44+ then {
45+ let w = v
46+ w
47+ }
48+ else if ($isInstanceOf(v, "Unit"))
49+ then base58'2ee4oFDYriWJ9EMeR'
50+ else throw("Match error")
51+ }
52+ let x = (((((u + t.transactionId) + t.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
53+ sha256(x)
54+ }
55+
56+
57+func y () = {
58+ let z = {
59+ let v = getString(this, j)
60+ if ($isInstanceOf(v, "String"))
61+ then {
62+ let A = v
63+ A
64+ }
65+ else if ($isInstanceOf(v, "Unit"))
66+ then ""
67+ else throw("Match error")
68+ }
69+ let B = size(z)
70+ if ((B == 0))
71+ then nil
72+ else {
73+ let C = take(z, (size(z) - 1))
74+ let D = split(C, ",")
75+ D
76+ }
77+ }
78+
79+
80+func E () = if ((c == true))
81+ then assetBalance(this, fromBase58String(b))
82+ else wavesBalance(this)
83+
84+
85+func F (G,H) = if (if (isDefined(H))
86+ then true
87+ else (H != ""))
88+ then {
89+ let I = getIntegerValue(this, (H + f))
90+ let J = getIntegerValue(this, (H + g))
91+ let K = size(G)
92+ if ((K == 1))
93+ then {
94+ let L = G[0]
95+ let M = fromBase64String(L)
96+ let N = (J * 1000)
97+ let O = (toInt(M) % N)
98+ if ((I > O))
99+ then H :: G
100+ else G
101+ }
102+ else G
103+ }
104+ else G
105+
106+
107+@Callable(P)
108+func setGarlicCoinLottery () = {
109+ let Q = E()
110+ let R = s(P)
111+ if ((69 > Q))
112+ then throw("Not enought Amount")
113+ else {
114+ let S = (((((p + ",") + q) + ",") + r) + ",")
115+ if (c)
116+ then {
117+ let T = WriteSet([DataEntry((p + f), 69), DataEntry((p + i), 69), DataEntry((p + g), 100000), DataEntry((p + k), b), DataEntry((q + f), 69), DataEntry((q + i), 6900000000), DataEntry((q + g), 10000), DataEntry((q + k), b), DataEntry((r + f), 69), DataEntry((r + i), 690000000), DataEntry((r + g), 1000), DataEntry((r + k), b), DataEntry(m, R), DataEntry(j, S), DataEntry(l, 3)])
118+ ScriptResult(T, TransferSet(nil))
119+ }
120+ else {
121+ let T = WriteSet([DataEntry((p + f), 69), DataEntry((p + i), 69), DataEntry((p + g), 100000), DataEntry((p + k), ""), DataEntry((q + e), 6900000000), DataEntry((q + f), 69), DataEntry((q + i), 6900000000), DataEntry((q + g), 10000), DataEntry((q + k), ""), DataEntry((r + f), 69), DataEntry((r + i), 690000000), DataEntry((r + g), 1), DataEntry((r + k), ""), DataEntry(j, S), DataEntry(l, 3)])
122+ ScriptResult(T, TransferSet(nil))
123+ }
124+ }
125+ }
126+
127+
128+
129+@Callable(P)
130+func startlotto () = {
131+ let U = if (!(isDefined(P.payment)))
132+ then false
133+ else true
134+ if ((U == true))
135+ then {
136+ let V = extract(P.payment)
137+ if (isDefined(V.assetId))
138+ then if ((V.amount != d))
139+ then throw("Incorrect asset passed or incorrect quantity passed")
140+ else if ((fromBase58String(b) != V.assetId))
141+ then throw("Incorrect asset passed or incorrect quantity passed")
142+ else {
143+ let W = toBase58String(P.caller.bytes)
144+ let X = s(P)
145+ let Y = y()
146+ let Z = toBase64String(X)
147+ let aa = [Z]
148+ let ab = {
149+ let ac = Y
150+ let ad = size(ac)
151+ let ae = aa
152+ if ((ad == 0))
153+ then ae
154+ else {
155+ let af = F(ae, ac[0])
156+ if ((ad == 1))
157+ then af
158+ else {
159+ let ag = F(af, ac[1])
160+ if ((ad == 2))
161+ then ag
162+ else {
163+ let ah = F(ag, ac[2])
164+ if ((ad == 3))
165+ then ah
166+ else {
167+ let ai = F(ah, ac[3])
168+ throw("List size exceed 3")
169+ }
170+ }
171+ }
172+ }
173+ }
174+ let aj = size(ab)
175+ if ((aj == 1))
176+ then {
177+ let ak = WriteSet([DataEntry("message", "<h1>Better luck next time!</h1><br><p>Invite more friends to keep playing!<p>"), DataEntry(m, Z)])
178+ ScriptResult(ak, TransferSet(nil))
179+ }
180+ else {
181+ let H = ab[0]
182+ let al = toBase58String(P.caller.bytes)
183+ let am = E()
184+ if ((am == 0))
185+ then throw("Not Enough Garlic Coin")
186+ else if ((H == p))
187+ then {
188+ let an = {
189+ let v = getInteger(this, (p + i))
190+ if ($isInstanceOf(v, "Int"))
191+ then {
192+ let ao = v
193+ ao
194+ }
195+ else if ($isInstanceOf(v, "Unit"))
196+ then 0
197+ else throw("Match error")
198+ }
199+ let ap = (an * am)
200+ let ak = WriteSet([DataEntry((H + e), ap), DataEntry((H + h), al), DataEntry(m, Z), DataEntry("message", (((("<h1>Congratulations you won!</h1><br><p>You have won " + toString(ap)) + " ") + H) + "!<p>"))])
201+ if (c)
202+ then {
203+ let aq = TransferSet([ScriptTransfer(P.caller, ap, fromBase58String(b))])
204+ ScriptResult(ak, aq)
205+ }
206+ else {
207+ let aq = TransferSet([ScriptTransfer(P.caller, ap, unit)])
208+ ScriptResult(ak, aq)
209+ }
210+ }
211+ else {
212+ let ar = {
213+ let v = getInteger(this, (H + f))
214+ if ($isInstanceOf(v, "Int"))
215+ then {
216+ let ao = v
217+ ao
218+ }
219+ else if ($isInstanceOf(v, "Unit"))
220+ then 0
221+ else throw("Match error")
222+ }
223+ let ak = WriteSet([DataEntry((H + e), ar), DataEntry(m, Z), DataEntry((H + h), al), DataEntry("message", (((("<h1>Congratulations you won!</h1><br><p>You have won " + toString(ar)) + " ") + H) + "!<p>"))])
224+ if (c)
225+ then {
226+ let aq = TransferSet([ScriptTransfer(P.caller, ar, fromBase58String(b))])
227+ ScriptResult(ak, aq)
228+ }
229+ else {
230+ let aq = TransferSet([ScriptTransfer(P.caller, ar, unit)])
231+ ScriptResult(ak, aq)
232+ }
233+ }
234+ }
235+ }
236+ else if ((V.amount != d))
237+ then throw("Incorrect asset passed or incorrect quantity passed")
238+ else {
239+ let W = toBase58String(P.caller.bytes)
240+ let X = s(P)
241+ let Y = y()
242+ let Z = toBase64String(X)
243+ let aa = [Z]
244+ let ab = {
245+ let as = Y
246+ let at = size(as)
247+ let au = aa
248+ if ((at == 0))
249+ then au
250+ else {
251+ let av = F(au, as[0])
252+ if ((at == 1))
253+ then av
254+ else {
255+ let aw = F(av, as[1])
256+ if ((at == 2))
257+ then aw
258+ else {
259+ let ax = F(aw, as[2])
260+ if ((at == 3))
261+ then ax
262+ else {
263+ let ay = F(ax, as[3])
264+ throw("List size exceed 3")
265+ }
266+ }
267+ }
268+ }
269+ }
270+ let aj = size(ab)
271+ if ((aj == 1))
272+ then {
273+ let ak = WriteSet([DataEntry("message", "<h1>Better luck next time!</h1><br><p>Invite more friends to keep playing!<p>"), DataEntry(m, Z)])
274+ ScriptResult(ak, TransferSet(nil))
275+ }
276+ else {
277+ let H = ab[0]
278+ let al = toBase58String(P.caller.bytes)
279+ let am = E()
280+ if ((am == 0))
281+ then throw("Not Enough Garlic Coin")
282+ else if ((H == p))
283+ then {
284+ let an = {
285+ let v = getInteger(this, (p + i))
286+ if ($isInstanceOf(v, "Int"))
287+ then {
288+ let ao = v
289+ ao
290+ }
291+ else if ($isInstanceOf(v, "Unit"))
292+ then 0
293+ else throw("Match error")
294+ }
295+ let ap = (an * am)
296+ let ak = WriteSet([DataEntry((H + e), ap), DataEntry((H + h), al), DataEntry(m, Z), DataEntry("message", (((("<h1>Congratulations you won!</h1><br><p>You have won " + toString(ap)) + " ") + H) + "!<p>"))])
297+ if (c)
298+ then {
299+ let aq = TransferSet([ScriptTransfer(P.caller, ap, fromBase58String(b))])
300+ ScriptResult(ak, aq)
301+ }
302+ else {
303+ let aq = TransferSet([ScriptTransfer(P.caller, ap, unit)])
304+ ScriptResult(ak, aq)
305+ }
306+ }
307+ else {
308+ let ar = {
309+ let v = getInteger(this, (H + f))
310+ if ($isInstanceOf(v, "Int"))
311+ then {
312+ let ao = v
313+ ao
314+ }
315+ else if ($isInstanceOf(v, "Unit"))
316+ then 0
317+ else throw("Match error")
318+ }
319+ let ak = WriteSet([DataEntry((H + e), ar), DataEntry(m, Z), DataEntry((H + h), al), DataEntry("message", (((("<h1>Congratulations you won!</h1><br><p>You have won " + toString(ar)) + " ") + H) + "!<p>"))])
320+ if (c)
321+ then {
322+ let aq = TransferSet([ScriptTransfer(P.caller, ar, fromBase58String(b))])
323+ ScriptResult(ak, aq)
324+ }
325+ else {
326+ let aq = TransferSet([ScriptTransfer(P.caller, ar, unit)])
327+ ScriptResult(ak, aq)
328+ }
329+ }
330+ }
331+ }
332+ }
333+ else throw((("You need " + b) + " to play this game."))
334+ }
335+
336+
337+@Verifier(az)
338+func aA () = {
339+ let v = az
340+ sigVerify(az.bodyBytes, az.proofs[0], az.senderPublicKey)
341+ }
342+

github/deemru/w8io/169f3d6 
42.15 ms