tx · 5TT3hkRLCxqKLJm8kRoc7YSYen5fFrncQfrp8qQZNNQ1

3N5t2WhSeXm7Kg1bK9XpMuGr9Hz7o21tEJm:  -0.01500000 Waves

2021.03.11 16:03 [1433059] smart account 3N5t2WhSeXm7Kg1bK9XpMuGr9Hz7o21tEJm > SELF 0.00000000 Waves

{ "type": 13, "id": "5TT3hkRLCxqKLJm8kRoc7YSYen5fFrncQfrp8qQZNNQ1", "fee": 1500000, "feeAssetId": null, "timestamp": 1615467834715, "version": 2, "chainId": 84, "sender": "3N5t2WhSeXm7Kg1bK9XpMuGr9Hz7o21tEJm", "senderPublicKey": "93x6ud8qBHTMHrqwM9GYqFh64xnoHcTrjGRvJDSzvbfD", "proofs": [ "4BXD5BiW3rZnEeLsxP5xXxFaMjXtRv4Ev269wsUPXtw1wdB4csXk7f8qeaETs49wNPqiwXXHvfPRBHDV8xE4usfz" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAAVAAAAAApkQXBwQWRkcmVzAgAAACtGOURDR2lZZ1Q4eXZCcTFBUUZjU3BHRzRwOHNkek56OW1aY3pEdko0NUxMAAAAAAx0b2tlbkFzc2V0SWQCAAAALDVpaDlqZDRLVjlrU2V5NTV5dktNZ0xTSGN3c1lZa1E0cFJESnRSTm94VWh5AAAAAA11c2VHYXJsaWNDb2luBwAAAAANdG9rZW5zUGVyUGxheQAAAAAAAAAAZAAAAAANbG90dGVyeWFtb3VudAIAAAAHX2Ftb3VudAAAAAASbG90dGVyeXByb2JhYmlsaXR5AgAAAAxfcHJvYmFiaWxpdHkAAAAAGWxvdHRlcnlwcm9iYWJpbGl0eWRlY2ltYWwCAAAAFF9wcm9iYWJpbGl0eV9kZWNpbWFsAAAAABVsb3R0ZXJ5V2lubmluZ0FkZHJlc3MCAAAAEF93aW5uaW5nX2FkZHJlc3MAAAAADGxvdHRlcnlQcmljZQIAAAAGX3ByaWNlAAAAAA1sb3R0ZXJ5UHJpY2VzAgAAAA9fbG90dGVyeV9wcmljZXM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lITwvaDE+PGJyPjxwPkludml0ZSBtb3JlIGZyaWVuZHMgdG8ga2VlcCBwbGF5aW5nITxwPgkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAUbGFzdEhhc2hSYW5kb21OdW1iZXIFAAAACnJhbmROdW1iZXIFAAAAA25pbAQAAAALd2luVHJhbnNmZXIJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAkBAAAADFNjcmlwdFJlc3VsdAAAAAIFAAAACXdyaXRlU2V0cwkBAAAAC1RyYW5zZmVyU2V0AAAAAQUAAAADbmlsCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAAAlZb3UgbmVlZCAFAAAADHRva2VuQXNzZXRJZAIAAAATIHRvIHBsYXkgdGhpcyBnYW1lLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQzzDho=", "height": 1433059, "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 = 100
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 F
103+
104+
105+@Callable(O)
106+func setGarlicCoinLottery () = {
107+ let P = D()
108+ if ((69 > P))
109+ then throw("Not enought Amount")
110+ else {
111+ let Q = ((p + ",") + q)
112+ if (c)
113+ then {
114+ let R = WriteSet([DataEntry((p + f), 69), DataEntry((p + i), 69), DataEntry((p + g), 10000), DataEntry((p + k), b), DataEntry((q + e), 6900000000), DataEntry((q + f), 69), DataEntry((q + i), 6900000000), DataEntry((q + g), 1000), DataEntry((q + k), b), DataEntry(j, Q), DataEntry(l, 2)])
115+ ScriptResult(R, TransferSet(nil))
116+ }
117+ else {
118+ let R = WriteSet([DataEntry((p + f), 69), DataEntry((p + i), 69), DataEntry((p + g), 10000), DataEntry((p + k), ""), DataEntry((q + e), 6900000000), DataEntry((q + f), 69), DataEntry((q + i), 6900000000), DataEntry((q + g), 1000), DataEntry((q + k), ""), DataEntry(j, Q), DataEntry(l, 2)])
119+ ScriptResult(R, TransferSet(nil))
120+ }
121+ }
122+ }
123+
124+
125+
126+@Callable(O)
127+func startlotto () = {
128+ let S = if (!(isDefined(O.payment)))
129+ then false
130+ else true
131+ if ((S == true))
132+ then {
133+ let T = extract(O.payment)
134+ if ((T.amount != d))
135+ then throw("Incorrect asset passed or incorrect quantity passed")
136+ else if (if ((T.assetId != fromBase58String(b)))
137+ then (c == true)
138+ else false)
139+ then throw("Incorrect asset passed or incorrect quantity passed")
140+ else {
141+ let U = toBase58String(O.caller.bytes)
142+ let V = r(O)
143+ let W = {
144+ let u = getInteger(this, l)
145+ if ($isInstanceOf(u, "Int"))
146+ then {
147+ let z = u
148+ z
149+ }
150+ else if ($isInstanceOf(u, "Unit"))
151+ then 0
152+ else throw("Match error")
153+ }
154+ let X = x()
155+ let Y = toBase64String(V)
156+ let Z = fromBase64String(Y)
157+ let aa = [Y]
158+ let ab = {
159+ let ac = X
160+ let ad = size(ac)
161+ let ae = aa
162+ if ((ad == 0))
163+ then ae
164+ else {
165+ let af = E(ae, ac[0])
166+ if ((ad == 1))
167+ then af
168+ else {
169+ let ag = E(af, ac[1])
170+ if ((ad == 2))
171+ then ag
172+ else {
173+ let ah = E(ag, ac[2])
174+ if ((ad == 3))
175+ then ah
176+ else {
177+ let ai = E(ah, ac[3])
178+ if ((ad == 4))
179+ then ai
180+ else {
181+ let aj = E(ai, ac[4])
182+ throw("List size exceed 4")
183+ }
184+ }
185+ }
186+ }
187+ }
188+ }
189+ let ak = size(ab)
190+ if ((ak == 1))
191+ then {
192+ let al = WriteSet([DataEntry("message", "<h1>Better luck next time!</h1><br><p>Invite more friends to keep playing!<p>"), DataEntry(m, Y)])
193+ ScriptResult(al, TransferSet(nil))
194+ }
195+ else {
196+ let G = ab[0]
197+ let am = toBase58String(O.caller.bytes)
198+ let an = D()
199+ if ((an == 0))
200+ then throw("Not Enough Garlic Coin")
201+ else if ((G == p))
202+ then {
203+ let ao = {
204+ let u = getInteger(this, (p + i))
205+ if ($isInstanceOf(u, "Int"))
206+ then {
207+ let ap = u
208+ ap
209+ }
210+ else if ($isInstanceOf(u, "Unit"))
211+ then 0
212+ else throw("Match error")
213+ }
214+ let aq = (ao * an)
215+ let al = WriteSet([DataEntry((G + e), aq), DataEntry((G + h), am), DataEntry(m, Y), DataEntry("message", (((("<h1>Congratulations you won!</h1><br><p>You have won " + toString(aq)) + " ") + G) + "!<p>"))])
216+ if (c)
217+ then {
218+ let ar = TransferSet([ScriptTransfer(O.caller, aq, fromBase58String(b))])
219+ ScriptResult(al, ar)
220+ }
221+ else {
222+ let ar = TransferSet([ScriptTransfer(O.caller, aq, unit)])
223+ ScriptResult(al, ar)
224+ }
225+ }
226+ else if ((G == q))
227+ then {
228+ let as = {
229+ let u = getInteger(this, (q + f))
230+ if ($isInstanceOf(u, "Int"))
231+ then {
232+ let ap = u
233+ ap
234+ }
235+ else if ($isInstanceOf(u, "Unit"))
236+ then 0
237+ else throw("Match error")
238+ }
239+ let al = WriteSet([DataEntry((G + e), as), DataEntry(m, Y), DataEntry((G + h), am), DataEntry("message", (((("<h1>Congratulations you won!</h1><br><p>You have won " + toString(as)) + " ") + G) + "!<p>"))])
240+ if (c)
241+ then {
242+ let ar = TransferSet([ScriptTransfer(O.caller, as, fromBase58String(b))])
243+ ScriptResult(al, ar)
244+ }
245+ else {
246+ let ar = TransferSet([ScriptTransfer(O.caller, as, unit)])
247+ ScriptResult(al, ar)
248+ }
249+ }
250+ else {
251+ let al = WriteSet([DataEntry("message", "<h1>Better luck next time!</h1><br><p>Invite more friends to keep playing!<p>"), DataEntry(m, Y)])
252+ let ar = TransferSet(nil)
253+ ScriptResult(al, TransferSet(nil))
254+ }
255+ }
256+ }
257+ }
258+ else throw((("You need " + b) + " to play this game."))
259+ }
260+
261+
262+@Verifier(at)
263+func au () = {
264+ let u = at
265+ sigVerify(at.bodyBytes, at.proofs[0], at.senderPublicKey)
266+ }
267+

github/deemru/w8io/169f3d6 
31.65 ms