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