tx · GdB18dVxDakqVk8ZfyNgDeRhmFwF4WvkrvPid18iXYcx

3MqUyteuxzFtkKwDQLKg546BAr7sf92bd1d:  -0.01500000 Waves

2021.03.11 16:21 [1433077] smart account 3MqUyteuxzFtkKwDQLKg546BAr7sf92bd1d > SELF 0.00000000 Waves

{ "type": 13, "id": "GdB18dVxDakqVk8ZfyNgDeRhmFwF4WvkrvPid18iXYcx", "fee": 1500000, "feeAssetId": null, "timestamp": 1615468976864, "version": 2, "chainId": 84, "sender": "3MqUyteuxzFtkKwDQLKg546BAr7sf92bd1d", "senderPublicKey": "CgpEKzyruzHQiwauAe66HsAHrCYmJDu8y6Dbrrs4iPi7", "proofs": [ "4TuRZsJ5yGqU8BqoaipgTvjJBgKNHmxc73Y3eGCvWPo9ZyrnYoSDX8HPX79jhk8yWA7crnF9Pxa56DtU2qKWD4S7" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAAVAAAAAApkQXBwQWRkcmVzAgAAACtGOURDR2lZZ1Q4eXZCcTFBUUZjU3BHRzRwOHNkek56OW1aY3pEdko0NUxMAAAAAAx0b2tlbkFzc2V0SWQCAAAALDVpaDlqZDRLVjlrU2V5NTV5dktNZ0xTSGN3c1lZa1E0cFJESnRSTm94VWh5AAAAAA11c2VHYXJsaWNDb2luBwAAAAANdG9rZW5zUGVyUGxheQAAAAAAAAAAZAAAAAANbG90dGVyeWFtb3VudAIAAAAHX2Ftb3VudAAAAAASbG90dGVyeXByb2JhYmlsaXR5AgAAAAxfcHJvYmFiaWxpdHkAAAAAGWxvdHRlcnlwcm9iYWJpbGl0eWRlY2ltYWwCAAAAFF9wcm9iYWJpbGl0eV9kZWNpbWFsAAAAABVsb3R0ZXJ5V2lubmluZ0FkZHJlc3MCAAAAEF93aW5uaW5nX2FkZHJlc3MAAAAADGxvdHRlcnlQcmljZQIAAAAGX3ByaWNlAAAAAA1sb3R0ZXJ5UHJpY2VzAgAAAA9fbG90dGVyeV9wcmljZXMAAAAADmxvdHRlcnlB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YW5zZmVyU2V0AAAAAQUAAAADbmlsCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgUAAAAJd3JpdGVTZXRzCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAACVlvdSBuZWVkIAUAAAAMdG9rZW5Bc3NldElkAgAAABMgdG8gcGxheSB0aGlzIGdhbWUuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V568QADw==", "height": 1433077, "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 {
137+ let U = toBase58String(O.caller.bytes)
138+ let V = r(O)
139+ let W = {
140+ let u = getInteger(this, l)
141+ if ($isInstanceOf(u, "Int"))
142+ then {
143+ let z = u
144+ z
145+ }
146+ else if ($isInstanceOf(u, "Unit"))
147+ then 0
148+ else throw("Match error")
149+ }
150+ let X = x()
151+ let Y = toBase64String(V)
152+ let Z = fromBase64String(Y)
153+ let aa = [Y]
154+ let ab = {
155+ let ac = X
156+ let ad = size(ac)
157+ let ae = aa
158+ if ((ad == 0))
159+ then ae
160+ else {
161+ let af = E(ae, ac[0])
162+ if ((ad == 1))
163+ then af
164+ else {
165+ let ag = E(af, ac[1])
166+ if ((ad == 2))
167+ then ag
168+ else {
169+ let ah = E(ag, ac[2])
170+ if ((ad == 3))
171+ then ah
172+ else {
173+ let ai = E(ah, ac[3])
174+ if ((ad == 4))
175+ then ai
176+ else {
177+ let aj = E(ai, ac[4])
178+ throw("List size exceed 4")
179+ }
180+ }
181+ }
182+ }
183+ }
184+ }
185+ let ak = size(ab)
186+ if ((ak == 1))
187+ then {
188+ let al = WriteSet([DataEntry("message", "<h1>Better luck next time!</h1><br><p>Invite more friends to keep playing!<p>"), DataEntry(m, Y)])
189+ ScriptResult(al, TransferSet(nil))
190+ }
191+ else {
192+ let G = ab[0]
193+ let am = toBase58String(O.caller.bytes)
194+ let an = D()
195+ if ((an == 0))
196+ then throw("Not Enough Garlic Coin")
197+ else if ((G == p))
198+ then {
199+ let ao = {
200+ let u = getInteger(this, (p + i))
201+ if ($isInstanceOf(u, "Int"))
202+ then {
203+ let ap = u
204+ ap
205+ }
206+ else if ($isInstanceOf(u, "Unit"))
207+ then 0
208+ else throw("Match error")
209+ }
210+ let aq = (ao * an)
211+ 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>"))])
212+ if (c)
213+ then {
214+ let ar = TransferSet([ScriptTransfer(O.caller, aq, fromBase58String(b))])
215+ ScriptResult(al, ar)
216+ }
217+ else {
218+ let ar = TransferSet([ScriptTransfer(O.caller, aq, unit)])
219+ ScriptResult(al, ar)
220+ }
221+ }
222+ else if ((G == q))
223+ then {
224+ let as = {
225+ let u = getInteger(this, (q + f))
226+ if ($isInstanceOf(u, "Int"))
227+ then {
228+ let ap = u
229+ ap
230+ }
231+ else if ($isInstanceOf(u, "Unit"))
232+ then 0
233+ else throw("Match error")
234+ }
235+ 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>"))])
236+ if (c)
237+ then {
238+ let ar = TransferSet([ScriptTransfer(O.caller, as, fromBase58String(b))])
239+ ScriptResult(al, ar)
240+ }
241+ else {
242+ let ar = TransferSet([ScriptTransfer(O.caller, as, unit)])
243+ ScriptResult(al, ar)
244+ }
245+ }
246+ else {
247+ let al = WriteSet([DataEntry("message", "<h1>Better luck next time!</h1><br><p>Invite more friends to keep playing!<p>"), DataEntry(m, Y)])
248+ let ar = TransferSet(nil)
249+ ScriptResult(al, TransferSet(nil))
250+ }
251+ }
252+ }
253+ }
254+ else throw((("You need " + b) + " to play this game."))
255+ }
256+
257+
258+@Verifier(at)
259+func au () = {
260+ let u = at
261+ sigVerify(at.bodyBytes, at.proofs[0], at.senderPublicKey)
262+ }
263+

github/deemru/w8io/169f3d6 
21.43 ms