tx · bi7EdMBXRFPCeUCjF33g4UF5yWPAtGLAUTqKyU4VjQ5

3MrMD48DoZKGN1VSnLDXkwxThwUjxHM9PL9:  -0.01500000 Waves

2021.03.11 05:34 [1432444] smart account 3MrMD48DoZKGN1VSnLDXkwxThwUjxHM9PL9 > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
26.30 ms