tx · 4gToKbsJEKEGMMreUjCt2doApnvAthjzUwF6aT8tw6YC 3MovmZoJtqutkf49oGXHzABSMUQ7HU5Dcg7: -0.01400000 Waves 2021.08.02 17:19 [1640827] smart account 3MovmZoJtqutkf49oGXHzABSMUQ7HU5Dcg7 > SELF 0.00000000 Waves
{ "type": 13, "id": "4gToKbsJEKEGMMreUjCt2doApnvAthjzUwF6aT8tw6YC", "fee": 1400000, "feeAssetId": null, "timestamp": 1627914095300, "version": 2, "chainId": 84, "sender": "3MovmZoJtqutkf49oGXHzABSMUQ7HU5Dcg7", "senderPublicKey": "3tp5fNYyPi4jMnkf6s1k4kBqvJ7nm57SxzvLyi8RkxT2", "proofs": [ "4LEDjjYgMoEj3UdEbqKeT36dnxa9faPkbD5iRkPcdoiA9MhU7ojxXHCqBW7TC4jRvmyrd6anja79s1PgEx6B8EjX" ], "script": "base64:AAIEAAAAAAAAADoIAhIDCgEIEgYKBAgBCAESBwoFCAgBCAESAwoBCBIDCgEIEgMKAQgSBAoCCAgSBAoCCAgSBQoDCAgIAAAAOAAAAAAETk9ORQIAAAAETk9ORQAAAAAGVk9URVJTAAAAAAAAAAADAAAAAAZRVU9SVU0AAAAAAAAAAAIAAAAACEZFQVRVUkVEAgAAAAhmZWF0dXJlZAAAAAAIREVMSVNURUQCAAAACGRlbGlzdGVkAAAAAAZWT1RJTkcCAAAABnZvdGluZwAAAAAGUkVWRUFMAgAAAAZyZXZlYWwAAAAACEFQUFJPVkFMAgAAAAhhcHByb3ZhbAAAAAAIUkVKRUNURUQCAAAACHJlamVjdGVkAAAAAAhBQ0NFUFRFRAIAAAAIYWNjZXB0ZWQBAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEFAAAABE5PTkUBAAAAD2dldEludGV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Q291bnQAAAACBQAAAARpdGVtBQAAAAR1c2VyBQAAAA1uZXdWb3Rlc0NvdW50CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAABBnZXRLZXlJdGVtU3RhdHVzAAAAAQUAAAAEaXRlbQUAAAAJbmV3U3RhdHVzBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABBJc3N1ZVRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkH6PlXSg==", "height": 1640827, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ErLZKPsS2yFuuFFBBLKyibzhrzBoPbCigYLrABfrnhr9 Next: 8kE6jpJGwLU2848SwtVhDrXhMCa7K5mY6WUSpf98YY24 Diff:
Old | New | Differences | |
---|---|---|---|
115 | 115 | func U (P) = (P + "_timestamp") | |
116 | 116 | ||
117 | 117 | ||
118 | - | func V ( | |
118 | + | func V (P) = (P + "_assetId") | |
119 | 119 | ||
120 | 120 | ||
121 | - | func | |
121 | + | func W (X) = (("coupon_" + X) + "_purchase") | |
122 | 122 | ||
123 | 123 | ||
124 | - | func | |
124 | + | func Y (t) = o(K(t)) | |
125 | 125 | ||
126 | 126 | ||
127 | - | func | |
127 | + | func Z (E,x) = o(L(E, x)) | |
128 | 128 | ||
129 | 129 | ||
130 | - | func | |
130 | + | func aa (P) = k(O(P)) | |
131 | 131 | ||
132 | 132 | ||
133 | - | func | |
133 | + | func ab (P) = getStringValue(this, Q(P)) | |
134 | 134 | ||
135 | 135 | ||
136 | - | func | |
136 | + | func ac (P) = getStringValue(this, R(P)) | |
137 | 137 | ||
138 | 138 | ||
139 | - | func | |
139 | + | func ad (P) = getStringValue(this, S(P)) | |
140 | 140 | ||
141 | 141 | ||
142 | - | func | |
142 | + | func ae (P) = getIntegerValue(this, T(P)) | |
143 | 143 | ||
144 | 144 | ||
145 | - | func ag (P) = o(U(P)) | |
145 | + | func af (P) = o(U(P)) | |
146 | + | ||
147 | + | ||
148 | + | func ag (P) = k(V(P)) | |
146 | 149 | ||
147 | 150 | ||
148 | 151 | func ah (x) = getIntegerValue(this, z(x)) | |
256 | 259 | then throw("Supplier does not exists") | |
257 | 260 | else { | |
258 | 261 | let ax = L(E, x) | |
259 | - | let ay = ( | |
262 | + | let ay = (Z(E, x) + 1) | |
260 | 263 | let P = M(t, x, E, ay) | |
261 | 264 | let az = O(P) | |
262 | 265 | let aA = Q(P) | |
274 | 277 | @Callable(ar) | |
275 | 278 | func rejectPurchase (P) = { | |
276 | 279 | let aF = toBase58String(ar.caller.bytes) | |
277 | - | let aG = | |
278 | - | let t = | |
279 | - | let x = | |
280 | + | let aG = aa(P) | |
281 | + | let t = ac(P) | |
282 | + | let x = ab(P) | |
280 | 283 | if (if ((t == a)) | |
281 | 284 | then true | |
282 | 285 | else (aF != t)) | |
288 | 291 | let aD = T(P) | |
289 | 292 | let aH = K(t) | |
290 | 293 | let aI = C(x) | |
291 | - | let E = | |
292 | - | let aJ = | |
293 | - | let aK = ( | |
294 | + | let E = ad(P) | |
295 | + | let aJ = ae(P) | |
296 | + | let aK = (Y(t) - aJ) | |
294 | 297 | let aL = (al(x) - 1) | |
295 | 298 | let aM = addressFromStringValue(E) | |
296 | 299 | [StringEntry(az, i), IntegerEntry(aD, 0), ScriptTransfer(aM, aJ, unit)] | |
300 | 303 | ||
301 | 304 | ||
302 | 305 | @Callable(ar) | |
303 | - | func acceptPurchase (P) = { | |
306 | + | func acceptPurchase (P,aN) = { | |
304 | 307 | let aF = toBase58String(ar.caller.bytes) | |
305 | - | let aG = | |
306 | - | let t = | |
307 | - | let x = | |
308 | + | let aG = aa(P) | |
309 | + | let t = ac(P) | |
310 | + | let x = ab(P) | |
308 | 311 | let au = aj(x) | |
309 | 312 | if (if ((t == a)) | |
310 | 313 | then true | |
318 | 321 | then throw("Coupon expired") | |
319 | 322 | else { | |
320 | 323 | let az = O(P) | |
324 | + | let aO = V(P) | |
321 | 325 | let aH = K(t) | |
322 | 326 | let aI = C(x) | |
323 | - | let aJ = af(P) | |
324 | - | let aK = (Z(t) + aJ) | |
327 | + | let aP = W(aN) | |
328 | + | let aJ = ae(P) | |
329 | + | let aK = (Y(t) + aJ) | |
325 | 330 | let aL = (al(x) + 1) | |
326 | - | let E = | |
331 | + | let E = ad(P) | |
327 | 332 | let aM = addressFromStringValue(E) | |
328 | - | [IntegerEntry(aH, aK), IntegerEntry(aI, aL)] | |
333 | + | [StringEntry(aP, P), StringEntry(aO, aN), IntegerEntry(aH, aK), IntegerEntry(aI, aL)] | |
329 | 334 | } | |
330 | 335 | } | |
331 | 336 | ||
332 | 337 | ||
333 | 338 | ||
334 | 339 | @Callable(ar) | |
335 | - | func voteCommit (x, | |
340 | + | func voteCommit (x,aQ) = { | |
336 | 341 | let E = toBase58String(ar.caller.bytes) | |
337 | - | let | |
342 | + | let aR = an(x) | |
338 | 343 | let aG = ap(x) | |
339 | - | if (( | |
344 | + | if ((aR >= b)) | |
340 | 345 | then throw("Reached max number of voters") | |
341 | 346 | else if ((am(x, E) != a)) | |
342 | 347 | then throw("You voted already") | |
347 | 352 | else false) | |
348 | 353 | then throw("Voting is not active for this item now") | |
349 | 354 | else { | |
350 | - | let | |
355 | + | let aS = if ((aR == b)) | |
351 | 356 | then g | |
352 | 357 | else f | |
353 | - | [StringEntry(D(x, E), | |
358 | + | [StringEntry(D(x, E), aQ), IntegerEntry(F(x), (aR + 1)), StringEntry(H(x), aS)] | |
354 | 359 | } | |
355 | 360 | } | |
356 | 361 | ||
357 | 362 | ||
358 | 363 | ||
359 | 364 | @Callable(ar) | |
360 | - | func voteReveal (x,J, | |
365 | + | func voteReveal (x,J,aT) = { | |
361 | 366 | let E = toBase58String(ar.caller.bytes) | |
362 | 367 | let aG = ap(x) | |
363 | - | let | |
364 | - | let | |
365 | - | if (( | |
368 | + | let aU = (aq(x, J) + 1) | |
369 | + | let aV = toBase58String(sha256(toBytes(((x + J) + aT)))) | |
370 | + | if ((aV != am(x, E))) | |
366 | 371 | then throw("Reveal data is not valid") | |
367 | 372 | else if ((b > an(x))) | |
368 | 373 | then throw("Max number of voters not reached") | |
377 | 382 | else false) | |
378 | 383 | then throw("Provided voting option is incorrect") | |
379 | 384 | else { | |
380 | - | let | |
385 | + | let aS = if ((aU >= c)) | |
381 | 386 | then J | |
382 | 387 | else g | |
383 | - | [StringEntry(G(x, E), J), IntegerEntry(I(x, E), | |
388 | + | [StringEntry(G(x, E), J), IntegerEntry(I(x, E), aU), StringEntry(H(x), aS)] | |
384 | 389 | } | |
385 | 390 | } | |
386 | 391 | ||
387 | 392 | ||
388 | - | @Verifier( | |
389 | - | func | |
390 | - | let m = | |
393 | + | @Verifier(aW) | |
394 | + | func aX () = { | |
395 | + | let m = aW | |
391 | 396 | if ($isInstanceOf(m, "SetScriptTransaction")) | |
392 | 397 | then { | |
393 | - | let | |
394 | - | sigVerify( | |
398 | + | let aY = m | |
399 | + | sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey) | |
395 | 400 | } | |
396 | 401 | else if ($isInstanceOf(m, "IssueTransaction")) | |
397 | 402 | then { | |
398 | - | let | |
399 | - | sigVerify( | |
403 | + | let aY = m | |
404 | + | sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey) | |
400 | 405 | } | |
401 | 406 | else if ($isInstanceOf(m, "TransferTransaction")) | |
402 | 407 | then { | |
403 | - | let | |
404 | - | sigVerify( | |
408 | + | let aY = m | |
409 | + | sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey) | |
405 | 410 | } | |
406 | 411 | else false | |
407 | 412 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "NONE" | |
5 | 5 | ||
6 | 6 | let b = 3 | |
7 | 7 | ||
8 | 8 | let c = 2 | |
9 | 9 | ||
10 | 10 | let d = "featured" | |
11 | 11 | ||
12 | 12 | let e = "delisted" | |
13 | 13 | ||
14 | 14 | let f = "voting" | |
15 | 15 | ||
16 | 16 | let g = "reveal" | |
17 | 17 | ||
18 | 18 | let h = "approval" | |
19 | 19 | ||
20 | 20 | let i = "rejected" | |
21 | 21 | ||
22 | 22 | let j = "accepted" | |
23 | 23 | ||
24 | 24 | func k (l) = { | |
25 | 25 | let m = getString(this, l) | |
26 | 26 | if ($isInstanceOf(m, "String")) | |
27 | 27 | then { | |
28 | 28 | let n = m | |
29 | 29 | n | |
30 | 30 | } | |
31 | 31 | else a | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func o (l) = { | |
36 | 36 | let m = getInteger(this, l) | |
37 | 37 | if ($isInstanceOf(m, "Int")) | |
38 | 38 | then { | |
39 | 39 | let n = m | |
40 | 40 | n | |
41 | 41 | } | |
42 | 42 | else 0 | |
43 | 43 | } | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func p (q) = (q + "_account") | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func r (q) = k(p(q)) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func s (t,u) = { | |
53 | 53 | let v = (t + u) | |
54 | 54 | ("item_" + toBase58String(sha256(toBytes(v)))) | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func w (x) = (x + "_owner") | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func y (x) = (x + "_title") | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func z (x) = (x + "_price") | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func A (x) = (x + "_data") | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func B (x) = (x + "_expiredate") | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func C (x) = (x + "_sold") | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func D (x,E) = (((x + "_") + E) + "_commit") | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func F (x) = (x + "_cmtcnt") | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func G (x,E) = (((x + "_") + E) + "_reveal") | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func H (x) = (x + "_status") | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func I (x,J) = ((x + "_res:") + J) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func K (t) = (t + "_balance") | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func L (E,x) = (((E + "_") + x) + "_counter") | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func M (t,x,E,N) = ("purchase_" + toBase58String(sha256(toBytes(((((((t + "_") + x) + "_") + E) + "_") + toString(N)))))) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func O (P) = (P + "_status") | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func Q (P) = (P + "_item") | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func R (P) = (P + "_supplier") | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func S (P) = (P + "_user") | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func T (P) = (P + "_amount") | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func U (P) = (P + "_timestamp") | |
116 | 116 | ||
117 | 117 | ||
118 | - | func V ( | |
118 | + | func V (P) = (P + "_assetId") | |
119 | 119 | ||
120 | 120 | ||
121 | - | func | |
121 | + | func W (X) = (("coupon_" + X) + "_purchase") | |
122 | 122 | ||
123 | 123 | ||
124 | - | func | |
124 | + | func Y (t) = o(K(t)) | |
125 | 125 | ||
126 | 126 | ||
127 | - | func | |
127 | + | func Z (E,x) = o(L(E, x)) | |
128 | 128 | ||
129 | 129 | ||
130 | - | func | |
130 | + | func aa (P) = k(O(P)) | |
131 | 131 | ||
132 | 132 | ||
133 | - | func | |
133 | + | func ab (P) = getStringValue(this, Q(P)) | |
134 | 134 | ||
135 | 135 | ||
136 | - | func | |
136 | + | func ac (P) = getStringValue(this, R(P)) | |
137 | 137 | ||
138 | 138 | ||
139 | - | func | |
139 | + | func ad (P) = getStringValue(this, S(P)) | |
140 | 140 | ||
141 | 141 | ||
142 | - | func | |
142 | + | func ae (P) = getIntegerValue(this, T(P)) | |
143 | 143 | ||
144 | 144 | ||
145 | - | func ag (P) = o(U(P)) | |
145 | + | func af (P) = o(U(P)) | |
146 | + | ||
147 | + | ||
148 | + | func ag (P) = k(V(P)) | |
146 | 149 | ||
147 | 150 | ||
148 | 151 | func ah (x) = getIntegerValue(this, z(x)) | |
149 | 152 | ||
150 | 153 | ||
151 | 154 | func ai (x) = k(w(x)) | |
152 | 155 | ||
153 | 156 | ||
154 | 157 | func aj (x) = o(B(x)) | |
155 | 158 | ||
156 | 159 | ||
157 | 160 | func ak (x) = k(y(x)) | |
158 | 161 | ||
159 | 162 | ||
160 | 163 | func al (x) = o(C(x)) | |
161 | 164 | ||
162 | 165 | ||
163 | 166 | func am (x,E) = k(D(x, E)) | |
164 | 167 | ||
165 | 168 | ||
166 | 169 | func an (x) = o(F(x)) | |
167 | 170 | ||
168 | 171 | ||
169 | 172 | func ao (x,E) = k(G(x, E)) | |
170 | 173 | ||
171 | 174 | ||
172 | 175 | func ap (x) = k(H(x)) | |
173 | 176 | ||
174 | 177 | ||
175 | 178 | func aq (x,J) = o(I(x, J)) | |
176 | 179 | ||
177 | 180 | ||
178 | 181 | @Callable(ar) | |
179 | 182 | func registerSupplier (as) = { | |
180 | 183 | let t = toBase58String(ar.caller.bytes) | |
181 | 184 | let q = r(t) | |
182 | 185 | if ((q != a)) | |
183 | 186 | then throw("This address has already registred as supplier") | |
184 | 187 | else [StringEntry(p(t), as)] | |
185 | 188 | } | |
186 | 189 | ||
187 | 190 | ||
188 | 191 | ||
189 | 192 | @Callable(ar) | |
190 | 193 | func addItem (u,at,as,au) = { | |
191 | 194 | let t = toBase58String(ar.caller.bytes) | |
192 | 195 | let q = r(t) | |
193 | 196 | let x = s(t, u) | |
194 | 197 | if ((q == a)) | |
195 | 198 | then throw("You should register as supplier to add an item") | |
196 | 199 | else if ((0 >= at)) | |
197 | 200 | then throw("Purchase amount cannot be less than item price") | |
198 | 201 | else if ((ai(x) != a)) | |
199 | 202 | then throw("An item already exists") | |
200 | 203 | else [StringEntry(w(x), t), StringEntry(y(x), u), IntegerEntry(z(x), at), StringEntry(A(x), as), IntegerEntry(B(x), au)] | |
201 | 204 | } | |
202 | 205 | ||
203 | 206 | ||
204 | 207 | ||
205 | 208 | @Callable(ar) | |
206 | 209 | func updateItem (x,u,at,as,au) = { | |
207 | 210 | let t = toBase58String(ar.caller.bytes) | |
208 | 211 | let q = r(t) | |
209 | 212 | let av = ai(x) | |
210 | 213 | if ((q == a)) | |
211 | 214 | then throw("You should register as supplier to remove an item") | |
212 | 215 | else if (if ((x == a)) | |
213 | 216 | then true | |
214 | 217 | else (t != av)) | |
215 | 218 | then throw(("You don't owned item " + x)) | |
216 | 219 | else [StringEntry(y(x), u), IntegerEntry(z(x), at), StringEntry(A(x), as), IntegerEntry(B(x), au)] | |
217 | 220 | } | |
218 | 221 | ||
219 | 222 | ||
220 | 223 | ||
221 | 224 | @Callable(ar) | |
222 | 225 | func removeItem (x) = { | |
223 | 226 | let t = toBase58String(ar.caller.bytes) | |
224 | 227 | let q = r(t) | |
225 | 228 | let av = ai(x) | |
226 | 229 | if ((q == a)) | |
227 | 230 | then throw("You should register as supplier to remove an item") | |
228 | 231 | else if (if ((x == a)) | |
229 | 232 | then true | |
230 | 233 | else (t != av)) | |
231 | 234 | then throw(("You don't owned item " + x)) | |
232 | 235 | else [DeleteEntry(w(x)), DeleteEntry(y(x)), DeleteEntry(z(x)), DeleteEntry(A(x)), DeleteEntry(B(x))] | |
233 | 236 | } | |
234 | 237 | ||
235 | 238 | ||
236 | 239 | ||
237 | 240 | @Callable(ar) | |
238 | 241 | func purchase (x) = { | |
239 | 242 | let aw = ar.payments[0] | |
240 | 243 | if (isDefined(aw.assetId)) | |
241 | 244 | then throw("You can buy tokens only with Waves tokens") | |
242 | 245 | else { | |
243 | 246 | let E = toBase58String(ar.caller.bytes) | |
244 | 247 | let at = ah(x) | |
245 | 248 | let t = ai(x) | |
246 | 249 | let au = aj(x) | |
247 | 250 | if (if ((au > 0)) | |
248 | 251 | then (lastBlock.timestamp >= au) | |
249 | 252 | else false) | |
250 | 253 | then throw("Coupon expired") | |
251 | 254 | else if ((at > aw.amount)) | |
252 | 255 | then throw("Purchase amount cannot be less than item price") | |
253 | 256 | else if ((aw.amount > at)) | |
254 | 257 | then throw("Purchase amount cannot be higher than item price") | |
255 | 258 | else if ((t == a)) | |
256 | 259 | then throw("Supplier does not exists") | |
257 | 260 | else { | |
258 | 261 | let ax = L(E, x) | |
259 | - | let ay = ( | |
262 | + | let ay = (Z(E, x) + 1) | |
260 | 263 | let P = M(t, x, E, ay) | |
261 | 264 | let az = O(P) | |
262 | 265 | let aA = Q(P) | |
263 | 266 | let aB = R(P) | |
264 | 267 | let aC = S(P) | |
265 | 268 | let aD = T(P) | |
266 | 269 | let aE = U(P) | |
267 | 270 | [IntegerEntry(ax, ay), StringEntry(az, h), StringEntry(aA, x), StringEntry(aB, t), StringEntry(aC, E), IntegerEntry(aD, aw.amount), IntegerEntry(aE, lastBlock.timestamp)] | |
268 | 271 | } | |
269 | 272 | } | |
270 | 273 | } | |
271 | 274 | ||
272 | 275 | ||
273 | 276 | ||
274 | 277 | @Callable(ar) | |
275 | 278 | func rejectPurchase (P) = { | |
276 | 279 | let aF = toBase58String(ar.caller.bytes) | |
277 | - | let aG = | |
278 | - | let t = | |
279 | - | let x = | |
280 | + | let aG = aa(P) | |
281 | + | let t = ac(P) | |
282 | + | let x = ab(P) | |
280 | 283 | if (if ((t == a)) | |
281 | 284 | then true | |
282 | 285 | else (aF != t)) | |
283 | 286 | then throw("Your are not the owner of this item") | |
284 | 287 | else if ((aG != h)) | |
285 | 288 | then throw("You cannot reject this purchased") | |
286 | 289 | else { | |
287 | 290 | let az = O(P) | |
288 | 291 | let aD = T(P) | |
289 | 292 | let aH = K(t) | |
290 | 293 | let aI = C(x) | |
291 | - | let E = | |
292 | - | let aJ = | |
293 | - | let aK = ( | |
294 | + | let E = ad(P) | |
295 | + | let aJ = ae(P) | |
296 | + | let aK = (Y(t) - aJ) | |
294 | 297 | let aL = (al(x) - 1) | |
295 | 298 | let aM = addressFromStringValue(E) | |
296 | 299 | [StringEntry(az, i), IntegerEntry(aD, 0), ScriptTransfer(aM, aJ, unit)] | |
297 | 300 | } | |
298 | 301 | } | |
299 | 302 | ||
300 | 303 | ||
301 | 304 | ||
302 | 305 | @Callable(ar) | |
303 | - | func acceptPurchase (P) = { | |
306 | + | func acceptPurchase (P,aN) = { | |
304 | 307 | let aF = toBase58String(ar.caller.bytes) | |
305 | - | let aG = | |
306 | - | let t = | |
307 | - | let x = | |
308 | + | let aG = aa(P) | |
309 | + | let t = ac(P) | |
310 | + | let x = ab(P) | |
308 | 311 | let au = aj(x) | |
309 | 312 | if (if ((t == a)) | |
310 | 313 | then true | |
311 | 314 | else (aF != t)) | |
312 | 315 | then throw("Your are not the owner of this item") | |
313 | 316 | else if ((aG != h)) | |
314 | 317 | then throw("You cannot reject this purchased") | |
315 | 318 | else if (if ((au > 0)) | |
316 | 319 | then (lastBlock.timestamp >= au) | |
317 | 320 | else false) | |
318 | 321 | then throw("Coupon expired") | |
319 | 322 | else { | |
320 | 323 | let az = O(P) | |
324 | + | let aO = V(P) | |
321 | 325 | let aH = K(t) | |
322 | 326 | let aI = C(x) | |
323 | - | let aJ = af(P) | |
324 | - | let aK = (Z(t) + aJ) | |
327 | + | let aP = W(aN) | |
328 | + | let aJ = ae(P) | |
329 | + | let aK = (Y(t) + aJ) | |
325 | 330 | let aL = (al(x) + 1) | |
326 | - | let E = | |
331 | + | let E = ad(P) | |
327 | 332 | let aM = addressFromStringValue(E) | |
328 | - | [IntegerEntry(aH, aK), IntegerEntry(aI, aL)] | |
333 | + | [StringEntry(aP, P), StringEntry(aO, aN), IntegerEntry(aH, aK), IntegerEntry(aI, aL)] | |
329 | 334 | } | |
330 | 335 | } | |
331 | 336 | ||
332 | 337 | ||
333 | 338 | ||
334 | 339 | @Callable(ar) | |
335 | - | func voteCommit (x, | |
340 | + | func voteCommit (x,aQ) = { | |
336 | 341 | let E = toBase58String(ar.caller.bytes) | |
337 | - | let | |
342 | + | let aR = an(x) | |
338 | 343 | let aG = ap(x) | |
339 | - | if (( | |
344 | + | if ((aR >= b)) | |
340 | 345 | then throw("Reached max number of voters") | |
341 | 346 | else if ((am(x, E) != a)) | |
342 | 347 | then throw("You voted already") | |
343 | 348 | else if ((w(x) == a)) | |
344 | 349 | then throw("Item does not exists") | |
345 | 350 | else if (if ((aG != a)) | |
346 | 351 | then (aG != f) | |
347 | 352 | else false) | |
348 | 353 | then throw("Voting is not active for this item now") | |
349 | 354 | else { | |
350 | - | let | |
355 | + | let aS = if ((aR == b)) | |
351 | 356 | then g | |
352 | 357 | else f | |
353 | - | [StringEntry(D(x, E), | |
358 | + | [StringEntry(D(x, E), aQ), IntegerEntry(F(x), (aR + 1)), StringEntry(H(x), aS)] | |
354 | 359 | } | |
355 | 360 | } | |
356 | 361 | ||
357 | 362 | ||
358 | 363 | ||
359 | 364 | @Callable(ar) | |
360 | - | func voteReveal (x,J, | |
365 | + | func voteReveal (x,J,aT) = { | |
361 | 366 | let E = toBase58String(ar.caller.bytes) | |
362 | 367 | let aG = ap(x) | |
363 | - | let | |
364 | - | let | |
365 | - | if (( | |
368 | + | let aU = (aq(x, J) + 1) | |
369 | + | let aV = toBase58String(sha256(toBytes(((x + J) + aT)))) | |
370 | + | if ((aV != am(x, E))) | |
366 | 371 | then throw("Reveal data is not valid") | |
367 | 372 | else if ((b > an(x))) | |
368 | 373 | then throw("Max number of voters not reached") | |
369 | 374 | else if ((ao(x, E) != a)) | |
370 | 375 | then throw("You voted already") | |
371 | 376 | else if (if ((aG != f)) | |
372 | 377 | then (aG != g) | |
373 | 378 | else false) | |
374 | 379 | then throw("Voting is not active for this item now") | |
375 | 380 | else if (if ((J != d)) | |
376 | 381 | then (J != e) | |
377 | 382 | else false) | |
378 | 383 | then throw("Provided voting option is incorrect") | |
379 | 384 | else { | |
380 | - | let | |
385 | + | let aS = if ((aU >= c)) | |
381 | 386 | then J | |
382 | 387 | else g | |
383 | - | [StringEntry(G(x, E), J), IntegerEntry(I(x, E), | |
388 | + | [StringEntry(G(x, E), J), IntegerEntry(I(x, E), aU), StringEntry(H(x), aS)] | |
384 | 389 | } | |
385 | 390 | } | |
386 | 391 | ||
387 | 392 | ||
388 | - | @Verifier( | |
389 | - | func | |
390 | - | let m = | |
393 | + | @Verifier(aW) | |
394 | + | func aX () = { | |
395 | + | let m = aW | |
391 | 396 | if ($isInstanceOf(m, "SetScriptTransaction")) | |
392 | 397 | then { | |
393 | - | let | |
394 | - | sigVerify( | |
398 | + | let aY = m | |
399 | + | sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey) | |
395 | 400 | } | |
396 | 401 | else if ($isInstanceOf(m, "IssueTransaction")) | |
397 | 402 | then { | |
398 | - | let | |
399 | - | sigVerify( | |
403 | + | let aY = m | |
404 | + | sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey) | |
400 | 405 | } | |
401 | 406 | else if ($isInstanceOf(m, "TransferTransaction")) | |
402 | 407 | then { | |
403 | - | let | |
404 | - | sigVerify( | |
408 | + | let aY = m | |
409 | + | sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey) | |
405 | 410 | } | |
406 | 411 | else false | |
407 | 412 | } | |
408 | 413 |
github/deemru/w8io/026f985 71.31 ms ◑