tx · 35cKJUk9Vt1MRwVJXEFuqdjbAno1mNhETcb849EnrXAh

3Ms7Nm5af4yvCHhFwByoromB51ffLBf2dVJ:  -0.01500000 Waves

2021.03.10 16:11 [1431636] smart account 3Ms7Nm5af4yvCHhFwByoromB51ffLBf2dVJ > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
20.24 ms