tx · Cafx3HbtKSMasq4K2MYqEjGUfbYrdZe2hxHTDYuDTKSH

3MuuCyTh913kmXsNHDkXCnioffKipQcVoyp:  -0.01500000 Waves

2021.03.12 05:23 [1433862] smart account 3MuuCyTh913kmXsNHDkXCnioffKipQcVoyp > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
54.73 ms