tx · FityeShDcsKFcswhZokiFD8oLeVC3SER8q7RsmCf38c4

3MsdGhmSpPacvoY5WZZtpX3G2kqAFX2KqV2:  -0.01500000 Waves

2021.03.11 07:42 [1432567] smart account 3MsdGhmSpPacvoY5WZZtpX3G2kqAFX2KqV2 > SELF 0.00000000 Waves

{ "type": 13, "id": "FityeShDcsKFcswhZokiFD8oLeVC3SER8q7RsmCf38c4", "fee": 1500000, "feeAssetId": null, "timestamp": 1615437827193, "version": 2, "chainId": 84, "sender": "3MsdGhmSpPacvoY5WZZtpX3G2kqAFX2KqV2", "senderPublicKey": "Bw9uTwFk2dAQySE2V8VcuuWA3QxawvxgsQs6amDfx6MZ", "proofs": [ "5Q2bFFnfqggqvhXsSH8nrQsh2dbPjiBcgEKf59dEJD79xyFiahbf9T3JfXWBRkh195gn2wtszRhFyqFJ3PzqyAQn" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAAWAAAAAApkQXBwQWRkcmVzAgAAACtGOURDR2lZZ1Q4eXZCcTFBUUZjU3BHRzRwOHNkek56OW1aY3pEdko0NUxMAAAAAAt0aWNrZXRBc3NldAEAAAAgRhz1lSBi1eJGtOgMmCIyAWadBG7dHU2jIBGpv2KvKCwAAAAADHRva2VuQXNzZXRJZAIAAAAsNWloOWpkNEtWOWtTZXk1NXl2S01nTFNIY3dzWVlrUTRwUkRKdFJOb3hVaHkAAAAADXVzZUdhcmxpY0NvaW4HAAAAAA10b2tlbnNQZXJQbGF5AAAAAAAF9eEAAAAAAA1sb3R0ZXJ5YW1vdW50AgAAAAdfYW1vdW50AAAAABJsb3R0ZXJ5cHJvYmFiaWxpdHkCAAAADF9wcm9iYWJpbGl0eQAAAAAZbG90dGVyeXByb2JhYmlsaXR5ZGVjaW1hbAIAAAAUX3Byb2JhYmlsaXR5X2RlY2ltYWwAAAAAFWxvdHRlcnlXaW5uaW5nQWRkcmVzcwIAAAAQX3dpbm5pbmdfYWRkcmVzcwAAAAAMbG90dGVyeVByaWNlAgAAAAZ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bGF5aW5nITxwPgkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAUbGFzdEhhc2hSYW5kb21OdW1iZXIFAAAACnJhbmROdW1iZXIFAAAAA25pbAQAAAALd2luVHJhbnNmZXIJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAkBAAAADFNjcmlwdFJlc3VsdAAAAAIFAAAACXdyaXRlU2V0cwkBAAAAC1RyYW5zZmVyU2V0AAAAAQUAAAADbmlsCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAAAlZb3UgbmVlZCAJAAJYAAAAAQUAAAALdGlja2V0QXNzZXQCAAAAEyB0byBwbGF5IHRoaXMgZ2FtZS4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXk/bs3y", "height": 1432567, "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 = "5ih9jd4KV9kSey55yvKMgLSHcwsYYkQ4pRDJtRNoxUhy"
9+
10+let d = false
11+
12+let e = 100000000
13+
14+let f = "_amount"
15+
16+let g = "_probability"
17+
18+let h = "_probability_decimal"
19+
20+let i = "_winning_address"
21+
22+let j = "_price"
23+
24+let k = "_lottery_prices"
25+
26+let l = "_lottery_asset_id"
27+
28+let m = "_count_prices"
29+
30+let n = "last_spin_random_hash"
31+
32+let o = 2
33+
34+let p = "total_prizes_pool"
35+
36+let q = "f2MzwrmN5wiMn5DwbBL33247fdsf432FV9kSe"
37+
38+let r = "f1MzwrmN4wiMn4DwbBL43242fsdf434Ffsdfs"
39+
40+func s (t) = {
41+ let u = {
42+ let v = getBinary(this, n)
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, k)
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 (d)
81+ then assetBalance(this, fromBase58String(c))
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 + g))
90+ let J = getIntegerValue(this, (H + h))
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+ if ((69 > Q))
111+ then throw("Not enought Amount")
112+ else {
113+ let R = ((q + ",") + r)
114+ if (d)
115+ then {
116+ let S = WriteSet([DataEntry((q + g), 69), DataEntry((q + j), 69), DataEntry((q + h), 10000), DataEntry((q + l), c), DataEntry((r + f), 6900000000), DataEntry((r + g), 69), DataEntry((r + j), 6900000000), DataEntry((r + h), 1000), DataEntry((r + l), c), DataEntry(k, R), DataEntry(m, 2)])
117+ ScriptResult(S, TransferSet(nil))
118+ }
119+ else {
120+ let S = WriteSet([DataEntry((q + g), 69), DataEntry((q + j), 69), DataEntry((q + h), 10000), DataEntry((q + l), ""), DataEntry((r + f), 6900000000), DataEntry((r + g), 69), DataEntry((r + j), 6900000000), DataEntry((r + h), 1000), DataEntry((r + l), ""), DataEntry(k, R), DataEntry(m, 2)])
121+ ScriptResult(S, TransferSet(nil))
122+ }
123+ }
124+ }
125+
126+
127+
128+@Callable(P)
129+func startlotto () = {
130+ let T = if (!(isDefined(P.payment)))
131+ then false
132+ else true
133+ if ((T == true))
134+ then {
135+ let U = extract(P.payment)
136+ if (if ((U.assetId != b))
137+ then true
138+ else (U.amount != e))
139+ then throw("Incorrect asset passed or incorrect quantity passed")
140+ else {
141+ let V = toBase58String(P.caller.bytes)
142+ let W = s(P)
143+ let X = {
144+ let v = getInteger(this, m)
145+ if ($isInstanceOf(v, "Int"))
146+ then {
147+ let A = v
148+ A
149+ }
150+ else if ($isInstanceOf(v, "Unit"))
151+ then 0
152+ else throw("Match error")
153+ }
154+ let Y = y()
155+ let Z = toBase64String(W)
156+ let aa = fromBase64String(Z)
157+ let ab = [Z]
158+ let ac = {
159+ let ad = Y
160+ let ae = size(ad)
161+ let af = ab
162+ if ((ae == 0))
163+ then af
164+ else {
165+ let ag = F(af, ad[0])
166+ if ((ae == 1))
167+ then ag
168+ else {
169+ let ah = F(ag, ad[1])
170+ if ((ae == 2))
171+ then ah
172+ else {
173+ let ai = F(ah, ad[2])
174+ if ((ae == 3))
175+ then ai
176+ else {
177+ let aj = F(ai, ad[3])
178+ if ((ae == 4))
179+ then aj
180+ else {
181+ let ak = F(aj, ad[4])
182+ throw("List size exceed 4")
183+ }
184+ }
185+ }
186+ }
187+ }
188+ }
189+ let al = size(ac)
190+ if ((al == 1))
191+ then {
192+ let am = WriteSet([DataEntry("message", "<h1>Better luck next time!</h1><br><p>Invite more friends to keep playing!<p>"), DataEntry(n, Z)])
193+ ScriptResult(am, TransferSet(nil))
194+ }
195+ else {
196+ let H = ac[0]
197+ let an = toBase58String(P.caller.bytes)
198+ let ao = E()
199+ if ((ao == 0))
200+ then throw("Not Enough Garlic Coin")
201+ else if ((H == q))
202+ then {
203+ let ap = {
204+ let v = getInteger(this, (q + j))
205+ if ($isInstanceOf(v, "Int"))
206+ then {
207+ let aq = v
208+ aq
209+ }
210+ else if ($isInstanceOf(v, "Unit"))
211+ then 0
212+ else throw("Match error")
213+ }
214+ let ar = (ap * ao)
215+ let am = WriteSet([DataEntry((H + f), ar), DataEntry((H + i), an), DataEntry(n, Z), DataEntry("message", (((("<h1>Congratulations you won!</h1><br><p>You have won " + toString(ar)) + " ") + H) + "!<p>"))])
216+ if (d)
217+ then {
218+ let as = TransferSet([ScriptTransfer(P.caller, ar, fromBase58String(c))])
219+ ScriptResult(am, as)
220+ }
221+ else {
222+ let as = TransferSet([ScriptTransfer(P.caller, ar, unit)])
223+ ScriptResult(am, as)
224+ }
225+ }
226+ else if ((H == r))
227+ then {
228+ let at = {
229+ let v = getInteger(this, (r + g))
230+ if ($isInstanceOf(v, "Int"))
231+ then {
232+ let aq = v
233+ aq
234+ }
235+ else if ($isInstanceOf(v, "Unit"))
236+ then 0
237+ else throw("Match error")
238+ }
239+ let am = WriteSet([DataEntry((H + f), at), DataEntry(n, Z), DataEntry((H + i), an), DataEntry("message", (((("<h1>Congratulations you won!</h1><br><p>You have won " + toString(at)) + " ") + H) + "!<p>"))])
240+ if (d)
241+ then {
242+ let as = TransferSet([ScriptTransfer(P.caller, at, fromBase58String(c))])
243+ ScriptResult(am, as)
244+ }
245+ else {
246+ let as = TransferSet([ScriptTransfer(P.caller, at, unit)])
247+ ScriptResult(am, as)
248+ }
249+ }
250+ else {
251+ let am = WriteSet([DataEntry("message", "<h1>Better luck next time!</h1><br><p>Invite more friends to keep playing!<p>"), DataEntry(n, Z)])
252+ let as = TransferSet(nil)
253+ ScriptResult(am, TransferSet(nil))
254+ }
255+ }
256+ }
257+ }
258+ else throw((("You need " + toBase58String(b)) + " to play this game."))
259+ }
260+
261+
262+@Verifier(au)
263+func av () = {
264+ let v = au
265+ sigVerify(au.bodyBytes, au.proofs[0], au.senderPublicKey)
266+ }
267+

github/deemru/w8io/169f3d6 
26.76 ms