tx · 8gVojZycevAs5czoMdkK9ujpFaH4apmJf2SkatujC8xb 3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK: -0.01400000 Waves 2019.09.26 21:24 [693699] smart account 3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK > SELF 0.00000000 Waves
{ "type": 13, "id": "8gVojZycevAs5czoMdkK9ujpFaH4apmJf2SkatujC8xb", "fee": 1400000, "feeAssetId": null, "timestamp": 1569522277853, "version": 1, "sender": "3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK", "senderPublicKey": "7A8H5cWfJVSpSrnB71CzWqyNm8KMxZPjwFcj1mDUU8an", "proofs": [ "4a4Zzfjb7A617ZwEqexRBrr76xGtmkXRSVN1ranPcJj7ZGLXjLRvfAQXwbiQCtrjNMBLDCPSdqwKFuu49pKh8MrD" ], "script": "base64:AAIDAAAAAAAAAAAAAABLAAAAABZvcmFjbGVXaGl0ZUxpc3RBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFURgbF8Y7OPgkLtFiSdXpmu5LRzu6Rj638AAAAABR0aGlzQWRkcmVzc1B1YmxpY0tleQEAAAAgW3yTxZOTTiNmvooSpXcphBB5DlU9aluLSa1r39oafQsAAAAAC0RBUFBBRERSRVNTAgAAACMzTjJGam5DcTRnY3Bld3NZUVZUNHNjejlNalRnRDZhNGtRSwAAAAAFQURNSU4CAAAAIzNOQ0tvRlF4UmY3enNETmJpdkxGdzFvSjd5OHFKekxtRXM0AAAAAARXVVNEAQAAACDdHL0B8M91BTB4B7KotjiY0UXdXB+6M1rjQG/6Zllw/QAAAAAEV0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABFdCVEMBAAAAIGz6av/F7aqMC3+1KpPSogwvgoLbdHoEjFP7/RMfc6D/AAAAAAVLT0xJTgEAAAAg2pnGDzCaCArIN9AsIhvcgYMfZowVYuDqNDNtJmjyiQ0AAAAABFdFVEgBAAAAIC4gw/bqip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AVieXRlcwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAAF2dldEtleUl0ZW1BY2NSZXBvcnREYXRhAAAAAgUAAAAEaXRlbQUAAAAHYWNjb3VudAUAAAAEZGF0YQUAAAADbmlsAAAAAJ/50Fo=", "chainId": 84, "height": 693699, "spentComplexity": 0 } View: original | compacted Prev: A2MYQrqD3VbtDCT6Xb8Xty1ma5UtaosPDZiY8d6ve9Vo Next: De8HJjULeeKHweXrK3Vj8rhozJjkiybVrch1u9VzSwXD Diff:
Old | New | Differences | |
---|---|---|---|
68 | 68 | func z (A,B) = ("item_" + toBase58String(sha256(toBytes((A + B))))) | |
69 | 69 | ||
70 | 70 | ||
71 | - | func C ( | |
71 | + | func C (A,B) = toBase58String(sha256(toBytes((A + B)))) | |
72 | 72 | ||
73 | 73 | ||
74 | - | func | |
74 | + | func D (E) = ("item_" + E) | |
75 | 75 | ||
76 | 76 | ||
77 | - | func F ( | |
77 | + | func F (E) = r(D(E)) | |
78 | 78 | ||
79 | 79 | ||
80 | - | func | |
80 | + | func G (H) = ("wl_ref_" + H) | |
81 | 81 | ||
82 | 82 | ||
83 | - | func I ( | |
83 | + | func I (H) = r(G(H)) | |
84 | 84 | ||
85 | 85 | ||
86 | - | func J ( | |
86 | + | func J (H) = ("wl_sts_" + H) | |
87 | 87 | ||
88 | 88 | ||
89 | - | func K ( | |
89 | + | func K (H) = ("balance_" + H) | |
90 | 90 | ||
91 | 91 | ||
92 | - | func L ( | |
92 | + | func L (H) = ("wl_bio_" + H) | |
93 | 93 | ||
94 | 94 | ||
95 | - | func M ( | |
95 | + | func M (H) = ("wl_blk_" + H) | |
96 | 96 | ||
97 | 97 | ||
98 | - | func N ( | |
98 | + | func N (B,H) = ((("report_" + B) + "_") + H) | |
99 | 99 | ||
100 | 100 | ||
101 | - | func O ( | |
101 | + | func O (H) = m(K(H)) | |
102 | 102 | ||
103 | 103 | ||
104 | - | func P ( | |
104 | + | func P (H) = r(J(H)) | |
105 | 105 | ||
106 | 106 | ||
107 | - | func Q (B) = | |
107 | + | func Q (B) = ("author_" + B) | |
108 | 108 | ||
109 | 109 | ||
110 | - | func R (B) = ( | |
110 | + | func R (B) = r(Q(B)) | |
111 | 111 | ||
112 | 112 | ||
113 | - | func S (B) = | |
113 | + | func S (B) = ("deadlineblock_" + B) | |
114 | 114 | ||
115 | 115 | ||
116 | - | func T (B) = ( | |
116 | + | func T (B) = m(S(B)) | |
117 | 117 | ||
118 | 118 | ||
119 | - | func U (B) = | |
119 | + | func U (B) = ("block_" + B) | |
120 | 120 | ||
121 | 121 | ||
122 | - | func V (B) = ( | |
122 | + | func V (B) = m(U(B)) | |
123 | 123 | ||
124 | 124 | ||
125 | - | func W (B) = | |
125 | + | func W (B) = ("typeofwork_" + B) | |
126 | 126 | ||
127 | 127 | ||
128 | - | func X (B) = ( | |
128 | + | func X (B) = m(W(B)) | |
129 | 129 | ||
130 | 130 | ||
131 | - | func Y (B) = | |
131 | + | func Y (B) = ("wordcount_" + B) | |
132 | 132 | ||
133 | 133 | ||
134 | - | func Z (B) = ( | |
134 | + | func Z (B) = m(Y(B)) | |
135 | 135 | ||
136 | 136 | ||
137 | - | func aa (B) = | |
137 | + | func aa (B) = ("priceUSD_" + B) | |
138 | 138 | ||
139 | 139 | ||
140 | - | func ab (B) = ( | |
140 | + | func ab (B) = m(aa(B)) | |
141 | 141 | ||
142 | 142 | ||
143 | - | func ac (B) = | |
143 | + | func ac (B) = ("pmtassetID_" + B) | |
144 | 144 | ||
145 | 145 | ||
146 | - | func ad (B) = ( | |
146 | + | func ad (B) = r(ac(B)) | |
147 | 147 | ||
148 | 148 | ||
149 | - | func ae (B) = | |
149 | + | func ae (B) = ("priceassetID_" + B) | |
150 | 150 | ||
151 | 151 | ||
152 | - | func af (B) = ( | |
152 | + | func af (B) = m(ae(B)) | |
153 | 153 | ||
154 | 154 | ||
155 | - | func ag (B) = | |
155 | + | func ag (B) = ("datajson_" + B) | |
156 | 156 | ||
157 | 157 | ||
158 | - | func ah (B) = ( | |
158 | + | func ah (B) = r(ag(B)) | |
159 | 159 | ||
160 | 160 | ||
161 | - | func ai (B) = | |
161 | + | func ai (B) = ("status_" + B) | |
162 | 162 | ||
163 | 163 | ||
164 | - | func aj (B) = ( | |
164 | + | func aj (B) = r(ai(B)) | |
165 | 165 | ||
166 | 166 | ||
167 | - | func ak (B) = | |
167 | + | func ak (B) = ("translator_" + B) | |
168 | 168 | ||
169 | 169 | ||
170 | - | func al (B) = ( | |
170 | + | func al (B) = r(ak(B)) | |
171 | 171 | ||
172 | 172 | ||
173 | - | func am (B) = | |
173 | + | func am (B) = ("due_for_" + B) | |
174 | 174 | ||
175 | 175 | ||
176 | - | func an (B) = ( | |
176 | + | func an (B) = m(am(B)) | |
177 | 177 | ||
178 | 178 | ||
179 | - | func ao (B) = | |
179 | + | func ao (B) = ("disputedby_" + B) | |
180 | 180 | ||
181 | 181 | ||
182 | - | func ap (B) = ( | |
182 | + | func ap (B) = r(ao(B)) | |
183 | 183 | ||
184 | 184 | ||
185 | - | func aq (B) = | |
185 | + | func aq (B) = ("disputeclosedby_" + B) | |
186 | 186 | ||
187 | 187 | ||
188 | - | func ar (B) = | |
188 | + | func ar (B) = r(aq(B)) | |
189 | 189 | ||
190 | 190 | ||
191 | - | func as (B) = | |
191 | + | func as (B) = "dispute_winner_" | |
192 | 192 | ||
193 | 193 | ||
194 | - | func at (B) = ( | |
194 | + | func at (B) = r(as(B)) | |
195 | 195 | ||
196 | 196 | ||
197 | - | func au (B) = | |
197 | + | func au (B) = ("last_update_" + B) | |
198 | 198 | ||
199 | 199 | ||
200 | - | func av (B) = ( | |
200 | + | func av (B) = m(au(B)) | |
201 | 201 | ||
202 | 202 | ||
203 | - | func aw (B) = | |
203 | + | func aw (B) = ("cnt_translator_" + B) | |
204 | 204 | ||
205 | 205 | ||
206 | - | func ax (B) = ( | |
206 | + | func ax (B) = m(aw(B)) | |
207 | 207 | ||
208 | 208 | ||
209 | - | func ay (B) = | |
209 | + | func ay (B) = ("cnt_user_" + B) | |
210 | 210 | ||
211 | 211 | ||
212 | - | func az (B) = ( | |
212 | + | func az (B) = m(ay(B)) | |
213 | 213 | ||
214 | 214 | ||
215 | - | func aA (B) = | |
215 | + | func aA (B) = ("balance_" + B) | |
216 | 216 | ||
217 | 217 | ||
218 | - | func aB (B) = ( | |
218 | + | func aB (B) = m(aA(B)) | |
219 | 219 | ||
220 | 220 | ||
221 | - | func aC (B) = | |
221 | + | func aC (B) = ("balance_assetID" + B) | |
222 | 222 | ||
223 | 223 | ||
224 | - | func aD ( | |
224 | + | func aD (B) = m(aC(B)) | |
225 | 225 | ||
226 | 226 | ||
227 | - | func aE (aF,G) = { | |
227 | + | func aE (H) = ("verifier_status_" + H) | |
228 | + | ||
229 | + | ||
230 | + | func aF (aG,H) = { | |
228 | 231 | let s = { | |
229 | - | let p = getString( | |
232 | + | let p = getString(aG, aE(H)) | |
230 | 233 | if ($isInstanceOf(p, "String")) | |
231 | 234 | then { | |
232 | 235 | let q = p | |
238 | 241 | } | |
239 | 242 | ||
240 | 243 | ||
241 | - | @Callable( | |
242 | - | func submitTranslation ( | |
243 | - | let A = toBase58String( | |
244 | - | let B = z(A, | |
245 | - | let | |
246 | - | let | |
247 | - | let | |
248 | - | if (if (if (if (( | |
249 | - | then ( | |
244 | + | @Callable(aH) | |
245 | + | func submitTranslation (E,aI,aJ,aK,aL,aM,aN) = { | |
246 | + | let A = toBase58String(aH.caller.bytes) | |
247 | + | let B = z(A, E) | |
248 | + | let aO = extract(aH.payment) | |
249 | + | let aP = (lastBlock.height + aK) | |
250 | + | let aQ = aF(a, A) | |
251 | + | if (if (if (if ((aQ != t)) | |
252 | + | then (aQ != d) | |
250 | 253 | else false) | |
251 | - | then ( | |
254 | + | then (aQ != x) | |
252 | 255 | else false) | |
253 | 256 | then (A != c) | |
254 | 257 | else false) | |
255 | - | then throw(("Your account is not registered. status: " + | |
256 | - | else if (if (if (if (if (if (if ((isDefined( | |
257 | - | then ( | |
258 | + | then throw(("Your account is not registered. status: " + aQ)) | |
259 | + | else if (if (if (if (if (if (if ((isDefined(aO.assetId) != false)) | |
260 | + | then (aO.assetId != i) | |
258 | 261 | else false) | |
259 | - | then ( | |
262 | + | then (aO.assetId != j) | |
260 | 263 | else false) | |
261 | - | then ( | |
264 | + | then (aO.assetId != f) | |
262 | 265 | else false) | |
263 | - | then ( | |
266 | + | then (aO.assetId != e) | |
264 | 267 | else false) | |
265 | - | then ( | |
268 | + | then (aO.assetId != g) | |
266 | 269 | else false) | |
267 | - | then ( | |
270 | + | then (aO.assetId != h) | |
268 | 271 | else false) | |
269 | 272 | then throw("can only use WAVES, USD, EUR, BTC, ETH, LTC and KOLIN as payment methods") | |
270 | - | else if (( | |
271 | - | then throw(((("Please pay exact amount for the listing: " + toString(k)) + ", actual payment is: ") + toString( | |
272 | - | else if (( | |
273 | + | else if ((aO.amount != k)) | |
274 | + | then throw(((("Please pay exact amount for the listing: " + toString(k)) + ", actual payment is: ") + toString(aO.amount))) | |
275 | + | else if ((R(B) != l)) | |
273 | 276 | then throw("Item already exist") | |
274 | - | else if ((1440 > | |
277 | + | else if ((1440 > aK)) | |
275 | 278 | then throw("please allow at least 24 h (~1440 blocks) for the translation work to be published properly") | |
276 | - | else if (( | |
279 | + | else if ((aK > 44640)) | |
277 | 280 | then throw("a translation work can not be posted for longer than 31 days (~44640 blocks) ") | |
278 | - | else WriteSet([DataEntry(B, C( | |
281 | + | else WriteSet([DataEntry(B, C(A, E)), DataEntry(Q(B), A), DataEntry(U(B), height), DataEntry(au(B), height), DataEntry(S(B), aP), DataEntry(W(B), aM), DataEntry(Y(B), aL), DataEntry(aa(B), (aM * aL)), DataEntry(ac(B), aJ), DataEntry(ae(B), aN), DataEntry(ai(B), "new post"), DataEntry(ag(B), aI)]) | |
279 | 282 | } | |
280 | 283 | ||
281 | 284 | ||
282 | 285 | ||
283 | - | @Callable( | |
284 | - | func escrow (B, | |
285 | - | let A = toBase58String( | |
286 | - | let | |
287 | - | let | |
288 | - | let | |
289 | - | let | |
290 | - | let | |
291 | - | let | |
292 | - | let | |
293 | - | if (if (if (if (( | |
286 | + | @Callable(aH) | |
287 | + | func escrow (B,aR,aK) = { | |
288 | + | let A = toBase58String(aH.caller.bytes) | |
289 | + | let aO = extract(aH.payment) | |
290 | + | let E = B | |
291 | + | let aP = (lastBlock.height + aK) | |
292 | + | let aS = af(B) | |
293 | + | let aT = ad(B) | |
294 | + | let aU = aF(a, aR) | |
295 | + | let aV = aF(a, A) | |
296 | + | if (if (if (if ((aV != t)) | |
294 | 297 | then (A != c) | |
295 | 298 | else false) | |
296 | - | then ( | |
299 | + | then (aV != d) | |
297 | 300 | else false) | |
298 | - | then ( | |
301 | + | then (aV != x) | |
299 | 302 | else false) | |
300 | - | then throw(("Your account is not registered. status: " + | |
301 | - | else if (if (if (if (( | |
302 | - | then ( | |
303 | + | then throw(("Your account is not registered. status: " + aV)) | |
304 | + | else if (if (if (if ((aU != t)) | |
305 | + | then (aR != c) | |
303 | 306 | else false) | |
304 | - | then ( | |
307 | + | then (aU != d) | |
305 | 308 | else false) | |
306 | - | then ( | |
309 | + | then (aU != x) | |
307 | 310 | else false) | |
308 | - | then throw(("Your account is not registered. status: " + | |
309 | - | else if ((E | |
310 | - | then throw("translation work not found") | |
311 | - | else if (( | |
311 | + | then throw(("Your account is not registered. status: " + aV)) | |
312 | + | else if ((F(E) != B)) | |
313 | + | then throw(("translation work not found for " + B)) | |
314 | + | else if ((T(B) >= lastBlock.height)) | |
312 | 315 | then throw("deadline for this work has been already achieved") | |
313 | - | else if (( | |
316 | + | else if ((aS > aO.amount)) | |
314 | 317 | then throw("price lower than posted for this translation work") | |
315 | - | else if (( | |
318 | + | else if ((aO.amount > aS)) | |
316 | 319 | then throw("money payed is higher than this translation work, no need to overspend") | |
317 | - | else if ((A != | |
320 | + | else if ((A != R(B))) | |
318 | 321 | then throw("User is different than translation's post creator") | |
319 | - | else if (( | |
322 | + | else if ((aV == u)) | |
320 | 323 | then throw("user's account has been blacklisted") | |
321 | - | else if (( | |
324 | + | else if ((aU == u)) | |
322 | 325 | then throw("translator's account has been blacklisted") | |
323 | - | else if ((1440 > | |
326 | + | else if ((1440 > aK)) | |
324 | 327 | then throw("please allow at least 24 h (~1440 blocks) for the translation work to be published properly") | |
325 | - | else if (( | |
328 | + | else if ((aK > 44640)) | |
326 | 329 | then throw("a translation work can not be posted for longer than 31 days (~44640 blocks) ") | |
327 | - | else if (( | |
330 | + | else if ((aj(B) != "new post")) | |
328 | 331 | then throw("escrow for this work already present") | |
329 | - | else ScriptResult(WriteSet([DataEntry( | |
332 | + | else ScriptResult(WriteSet([DataEntry(ai(B), "work allocated to translator"), DataEntry(ak(B), aR), DataEntry(am(B), aP), DataEntry(au(B), height), DataEntry(aA(B), aO.amount), DataEntry(aC(B), aT)]), TransferSet(nil)) | |
330 | 333 | } | |
331 | 334 | ||
332 | 335 | ||
333 | 336 | ||
334 | - | @Callable( | |
337 | + | @Callable(aH) | |
335 | 338 | func disputeEscrow (B) = { | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | let | |
341 | - | let | |
342 | - | let | |
343 | - | if (if (if (( | |
344 | - | then ( | |
339 | + | let aW = toBase58String(aH.caller.bytes) | |
340 | + | let aX = af(B) | |
341 | + | let aJ = ad(B) | |
342 | + | let aY = an(B) | |
343 | + | let aU = aF(a, al(B)) | |
344 | + | let aV = aF(a, R(B)) | |
345 | + | let aQ = P(aW) | |
346 | + | if (if (if ((aQ != t)) | |
347 | + | then (aW != c) | |
345 | 348 | else false) | |
346 | - | then ( | |
349 | + | then (aQ != d) | |
347 | 350 | else false) | |
348 | - | then throw(("Your account is not registered. status: " + | |
349 | - | else if (if (if (( | |
351 | + | then throw(("Your account is not registered. status: " + aQ)) | |
352 | + | else if (if (if ((aW != al(B))) | |
350 | 353 | then true | |
351 | - | else ( | |
354 | + | else (aW != R(B))) | |
352 | 355 | then true | |
353 | - | else ( | |
356 | + | else (aW != d)) | |
354 | 357 | then throw("just work creator, translator or an admin can initiate a dispute") | |
355 | - | else if (( | |
358 | + | else if ((ai(B) == "dispute in progress")) | |
356 | 359 | then throw("This work is currently under dispute") | |
357 | - | else if (( | |
360 | + | else if ((aV == u)) | |
358 | 361 | then throw("user's account has been blacklisted") | |
359 | - | else if (( | |
362 | + | else if ((aU == u)) | |
360 | 363 | then throw("translator's account has been blacklisted") | |
361 | - | else ScriptResult(WriteSet([DataEntry( | |
364 | + | else ScriptResult(WriteSet([DataEntry(ai(B), "dispute in progress"), DataEntry(ao(B), aW), DataEntry(am(B), (lastBlock.height + 1440)), DataEntry(au(B), height), DataEntry(aq(B), l), DataEntry(as(B), l)]), TransferSet(nil)) | |
362 | 365 | } | |
363 | 366 | ||
364 | 367 | ||
365 | 368 | ||
366 | - | @Callable( | |
369 | + | @Callable(aH) | |
367 | 370 | func disputeCloseEscrow (B) = { | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | let | |
374 | - | let | |
375 | - | if (if (if (( | |
376 | - | then ( | |
371 | + | let aW = toBase58String(aH.caller.bytes) | |
372 | + | let aX = af(B) | |
373 | + | let aJ = ad(B) | |
374 | + | let aY = an(B) | |
375 | + | let aU = aF(a, al(B)) | |
376 | + | let aV = aF(a, R(B)) | |
377 | + | let aQ = P(aW) | |
378 | + | if (if (if ((aQ != t)) | |
379 | + | then (aW != c) | |
377 | 380 | else false) | |
378 | - | then ( | |
381 | + | then (aQ != d) | |
379 | 382 | else false) | |
380 | - | then throw(("Your account is not registered. status: " + | |
381 | - | else if (( | |
383 | + | then throw(("Your account is not registered. status: " + aQ)) | |
384 | + | else if ((aQ != d)) | |
382 | 385 | then throw("just admins can close a dispute") | |
383 | - | else if (( | |
386 | + | else if ((ai(B) != "dispute in progress")) | |
384 | 387 | then throw("This work is not under dispute") | |
385 | - | else if (( | |
388 | + | else if ((aV == u)) | |
386 | 389 | then throw("user's account has been blacklisted") | |
387 | - | else if (( | |
390 | + | else if ((aU == u)) | |
388 | 391 | then throw("translator's account has been blacklisted") | |
389 | - | else if (if ((y > | |
390 | - | then (y > | |
392 | + | else if (if ((y > ax(B))) | |
393 | + | then (y > az(B)) | |
391 | 394 | else false) | |
392 | 395 | then throw("Votes are not enough to favour any involved part") | |
393 | - | else if (( | |
394 | - | then ScriptResult(WriteSet([DataEntry( | |
395 | - | else if (( | |
396 | - | then ScriptResult(WriteSet([DataEntry( | |
397 | - | else ScriptResult(WriteSet([DataEntry( | |
396 | + | else if ((ax(B) >= y)) | |
397 | + | then ScriptResult(WriteSet([DataEntry(ai(B), "dispute closed"), DataEntry(aq(B), aW), DataEntry(as(B), al(B)), DataEntry(au(B), height)]), TransferSet([ScriptTransfer(addressFromStringValue(al(B)), aX, fromBase58String(aJ))])) | |
398 | + | else if ((az(B) >= y)) | |
399 | + | then ScriptResult(WriteSet([DataEntry(ai(B), "dispute closed"), DataEntry(aq(B), aW), DataEntry(as(B), R(B)), DataEntry(au(B), height)]), TransferSet([ScriptTransfer(addressFromStringValue(R(B)), aX, fromBase58String(aJ))])) | |
400 | + | else ScriptResult(WriteSet([DataEntry(ai(B), "dispute still under review"), DataEntry(aq(B), l), DataEntry(as(B), l), DataEntry(au(B), height), DataEntry(am(B), (lastBlock.height + 1440))]), TransferSet(nil)) | |
398 | 401 | } | |
399 | 402 | ||
400 | 403 | ||
401 | 404 | ||
402 | - | @Callable( | |
403 | - | func voteDisputeEscrow (B, | |
404 | - | let | |
405 | - | if (( | |
405 | + | @Callable(aH) | |
406 | + | func voteDisputeEscrow (B,aZ) = { | |
407 | + | let aW = toBase58String(aH.caller.bytes) | |
408 | + | if ((aj(B) == "dispute closed")) | |
406 | 409 | then throw("this dispute is closed") | |
407 | - | else if (if (( | |
410 | + | else if (if ((P(aW) != x)) | |
408 | 411 | then true | |
409 | - | else ( | |
412 | + | else (P(aW) != d)) | |
410 | 413 | then throw("you either need to be an ADMIN or a MODERATOR to vote in disputes") | |
411 | - | else if (if (( | |
414 | + | else if (if ((aj(B) != "dispute in progress")) | |
412 | 415 | then true | |
413 | - | else ( | |
416 | + | else (aj(B) != "dispute still under review")) | |
414 | 417 | then throw("translation work not under dispute") | |
415 | - | else if (( | |
418 | + | else if ((ax(B) >= y)) | |
416 | 419 | then throw("Votes are enough to favour the Translator") | |
417 | - | else if (( | |
420 | + | else if ((az(B) >= y)) | |
418 | 421 | then throw("Votes are enough to favour the User") | |
419 | - | else if (( | |
420 | - | then WriteSet([DataEntry( | |
421 | - | else if (( | |
422 | - | then WriteSet([DataEntry( | |
422 | + | else if ((aZ == R(B))) | |
423 | + | then WriteSet([DataEntry(ay(B), (az(B) + 1))]) | |
424 | + | else if ((aZ == al(B))) | |
425 | + | then WriteSet([DataEntry(aw(B), (ax(B) + 1))]) | |
423 | 426 | else throw("vote not submitted") | |
424 | 427 | } | |
425 | 428 | ||
426 | 429 | ||
427 | 430 | ||
428 | - | @Callable( | |
429 | - | func withdrawEscrow ( | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
434 | - | let | |
435 | - | let | |
436 | - | if (if (if (( | |
437 | - | then ( | |
431 | + | @Callable(aH) | |
432 | + | func withdrawEscrow (ba,B) = { | |
433 | + | let aW = toBase58String(aH.caller.bytes) | |
434 | + | let aJ = ad(B) | |
435 | + | let aX = af(B) | |
436 | + | let aQ = P(aW) | |
437 | + | let aU = aF(a, al(B)) | |
438 | + | let aV = aF(a, R(B)) | |
439 | + | if (if (if ((aQ != t)) | |
440 | + | then (aW != c) | |
438 | 441 | else false) | |
439 | - | then ( | |
442 | + | then (aQ != d) | |
440 | 443 | else false) | |
441 | - | then throw(("Your account is not registered. status: " + | |
442 | - | else if (( | |
444 | + | then throw(("Your account is not registered. status: " + aQ)) | |
445 | + | else if ((an(B) > lastBlock.height)) | |
443 | 446 | then throw("Deadline has not finished yet") | |
444 | - | else if (( | |
447 | + | else if ((ai(B) == "dispute in progress")) | |
445 | 448 | then throw("This work is currently under dispute") | |
446 | - | else if (if (( | |
449 | + | else if (if ((aW != al(B))) | |
447 | 450 | then true | |
448 | - | else ( | |
451 | + | else (aW != R(B))) | |
449 | 452 | then throw("just work creator or translator can withdraw funds. Admins must initiate a dispute") | |
450 | - | else if (if (( | |
451 | - | then ( | |
453 | + | else if (if ((aW == R(B))) | |
454 | + | then (aV == u) | |
452 | 455 | else false) | |
453 | 456 | then throw("user's account has been blacklisted") | |
454 | - | else if (if (( | |
455 | - | then ( | |
457 | + | else if (if ((aW == al(B))) | |
458 | + | then (aU == u) | |
456 | 459 | else false) | |
457 | 460 | then throw("translator's account has been blacklisted") | |
458 | - | else ScriptResult(WriteSet([DataEntry( | |
461 | + | else ScriptResult(WriteSet([DataEntry(aA(B), 0), DataEntry(ai(B), ("money withdrawn by " + aW)), DataEntry(au(B), height)]), TransferSet([ScriptTransfer(addressFromStringValue(aW), aX, fromBase58String(aJ))])) | |
459 | 462 | } | |
460 | 463 | ||
461 | 464 | ||
462 | 465 | ||
463 | - | @Callable( | |
464 | - | func inviteuser ( | |
465 | - | let | |
466 | - | let | |
467 | - | let | |
468 | - | if (if (if (( | |
466 | + | @Callable(aH) | |
467 | + | func inviteuser (bb,aI) = { | |
468 | + | let aW = toBase58String(aH.caller.bytes) | |
469 | + | let bc = P(bb) | |
470 | + | let aQ = P(aW) | |
471 | + | if (if (if ((bc == t)) | |
469 | 472 | then true | |
470 | - | else ( | |
473 | + | else (bc == x)) | |
471 | 474 | then true | |
472 | - | else ( | |
475 | + | else (bc == d)) | |
473 | 476 | then throw("User has already been registered") | |
474 | - | else if (( | |
477 | + | else if ((bc == u)) | |
475 | 478 | then throw("The user you want to invite is already Blacklisted") | |
476 | - | else if (if (if (( | |
477 | - | then ( | |
479 | + | else if (if (if ((aQ != t)) | |
480 | + | then (aW != c) | |
478 | 481 | else false) | |
479 | - | then ( | |
482 | + | then (aQ != d) | |
480 | 483 | else false) | |
481 | - | then throw(("Your account should be whitelisted. status: " + | |
482 | - | else WriteSet([DataEntry( | |
484 | + | then throw(("Your account should be whitelisted. status: " + aQ)) | |
485 | + | else WriteSet([DataEntry(G(bb), aW), DataEntry(L(bb), aI), DataEntry(J(bb), v)]) | |
483 | 486 | } | |
484 | 487 | ||
485 | 488 | ||
486 | 489 | ||
487 | - | @Callable( | |
488 | - | func userupdate ( | |
489 | - | let | |
490 | - | if (if (if (( | |
490 | + | @Callable(aH) | |
491 | + | func userupdate (aI,bd) = { | |
492 | + | let H = toBase58String(aH.caller.bytes) | |
493 | + | if (if (if ((bd == x)) | |
491 | 494 | then true | |
492 | - | else ( | |
493 | - | then ( | |
495 | + | else (bd == d)) | |
496 | + | then (P(H) == t) | |
494 | 497 | else false) | |
495 | 498 | then throw("an ADMIN or MODERATOR account can be created by an ADMIN only") | |
496 | - | else if (if (( | |
497 | - | then ( | |
499 | + | else if (if ((bd == d)) | |
500 | + | then (P(H) != d) | |
498 | 501 | else false) | |
499 | 502 | then throw("an ADMIN account can be created by another ADMIN only") | |
500 | - | else WriteSet([DataEntry( | |
503 | + | else WriteSet([DataEntry(L(H), aI), DataEntry(J(H), if ((bd == x)) | |
501 | 504 | then x | |
502 | - | else if (( | |
505 | + | else if ((bd == d)) | |
503 | 506 | then d | |
504 | 507 | else t)]) | |
505 | 508 | } | |
506 | 509 | ||
507 | 510 | ||
508 | 511 | ||
509 | - | @Callable( | |
510 | - | func signupbylink (bd | |
511 | - | let | |
512 | - | let | |
513 | - | if (( | |
514 | - | then throw(((((("Referral invite needed. Current status: " + | |
515 | - | else WriteSet([DataEntry( | |
512 | + | @Callable(aH) | |
513 | + | func signupbylink (be,aI,bd) = { | |
514 | + | let H = toBase58String(aH.caller.bytes) | |
515 | + | let bf = P(be) | |
516 | + | if ((bf != v)) | |
517 | + | then throw(((((("Referral invite needed. Current status: " + bf) + ", key:") + J(be)) + ", account:") + be)) | |
518 | + | else WriteSet([DataEntry(L(H), aI), DataEntry(M(H), height), DataEntry(J(H), if ((bd == x)) | |
516 | 519 | then x | |
517 | - | else t), DataEntry( | |
520 | + | else t), DataEntry(J(be), w), DataEntry(G(H), I(be))]) | |
518 | 521 | } | |
519 | 522 | ||
520 | 523 | ||
521 | 524 | ||
522 | - | @Callable( | |
523 | - | func signup ( | |
524 | - | let | |
525 | - | let | |
526 | - | if (( | |
527 | - | then throw(((((("Referral invite needed. Current status: " + | |
528 | - | else WriteSet([DataEntry( | |
525 | + | @Callable(aH) | |
526 | + | func signup (aI,bd) = { | |
527 | + | let H = toBase58String(aH.caller.bytes) | |
528 | + | let bf = P(H) | |
529 | + | if ((bf == l)) | |
530 | + | then throw(((((("Referral invite needed. Current status: " + bf) + ", key:") + J(H)) + ", account:") + H)) | |
531 | + | else WriteSet([DataEntry(L(H), aI), DataEntry(M(H), height), DataEntry(J(H), if ((bd == x)) | |
529 | 532 | then x | |
530 | 533 | else t)]) | |
531 | 534 | } | |
532 | 535 | ||
533 | 536 | ||
534 | 537 | ||
535 | - | @Callable( | |
536 | - | func reportProject (B, | |
537 | - | let | |
538 | - | WriteSet([DataEntry( | |
538 | + | @Callable(aH) | |
539 | + | func reportProject (B,aI) = { | |
540 | + | let H = toBase58String(aH.caller.bytes) | |
541 | + | WriteSet([DataEntry(N(B, H), aI)]) | |
539 | 542 | } | |
540 | 543 | ||
541 | 544 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = Address(base58'3MvJMBxdrVAf1nCHiarJcQVnKy91HhBKe6w') | |
5 | 5 | ||
6 | 6 | let b = base58'7A8H5cWfJVSpSrnB71CzWqyNm8KMxZPjwFcj1mDUU8an' | |
7 | 7 | ||
8 | 8 | let c = "3N2FjnCq4gcpewsYQVT4scz9MjTgD6a4kQK" | |
9 | 9 | ||
10 | 10 | let d = "3NCKoFQxRf7zsDNbivLFw1oJ7y8qJzLmEs4" | |
11 | 11 | ||
12 | 12 | let e = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck' | |
13 | 13 | ||
14 | 14 | let f = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU' | |
15 | 15 | ||
16 | 16 | let g = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS' | |
17 | 17 | ||
18 | 18 | let h = base58'FiKspxSpkpzT4pMUA9ccZkbJmVXTdu4JhFDXNNXr5noW' | |
19 | 19 | ||
20 | 20 | let i = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu' | |
21 | 21 | ||
22 | 22 | let j = base58'HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk' | |
23 | 23 | ||
24 | 24 | let k = (1 * 1000000) | |
25 | 25 | ||
26 | 26 | let l = "none" | |
27 | 27 | ||
28 | 28 | func m (n) = { | |
29 | 29 | let o = { | |
30 | 30 | let p = getInteger(this, n) | |
31 | 31 | if ($isInstanceOf(p, "Int")) | |
32 | 32 | then { | |
33 | 33 | let q = p | |
34 | 34 | q | |
35 | 35 | } | |
36 | 36 | else 0 | |
37 | 37 | } | |
38 | 38 | o | |
39 | 39 | } | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func r (n) = { | |
43 | 43 | let s = { | |
44 | 44 | let p = getString(this, n) | |
45 | 45 | if ($isInstanceOf(p, "String")) | |
46 | 46 | then { | |
47 | 47 | let q = p | |
48 | 48 | q | |
49 | 49 | } | |
50 | 50 | else l | |
51 | 51 | } | |
52 | 52 | s | |
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | let t = "WHITELISTED" | |
57 | 57 | ||
58 | 58 | let u = "BLACKLISTED" | |
59 | 59 | ||
60 | 60 | let v = "INVITED" | |
61 | 61 | ||
62 | 62 | let w = "SPEND_INVITE" | |
63 | 63 | ||
64 | 64 | let x = "MODERATOR" | |
65 | 65 | ||
66 | 66 | let y = 5 | |
67 | 67 | ||
68 | 68 | func z (A,B) = ("item_" + toBase58String(sha256(toBytes((A + B))))) | |
69 | 69 | ||
70 | 70 | ||
71 | - | func C ( | |
71 | + | func C (A,B) = toBase58String(sha256(toBytes((A + B)))) | |
72 | 72 | ||
73 | 73 | ||
74 | - | func | |
74 | + | func D (E) = ("item_" + E) | |
75 | 75 | ||
76 | 76 | ||
77 | - | func F ( | |
77 | + | func F (E) = r(D(E)) | |
78 | 78 | ||
79 | 79 | ||
80 | - | func | |
80 | + | func G (H) = ("wl_ref_" + H) | |
81 | 81 | ||
82 | 82 | ||
83 | - | func I ( | |
83 | + | func I (H) = r(G(H)) | |
84 | 84 | ||
85 | 85 | ||
86 | - | func J ( | |
86 | + | func J (H) = ("wl_sts_" + H) | |
87 | 87 | ||
88 | 88 | ||
89 | - | func K ( | |
89 | + | func K (H) = ("balance_" + H) | |
90 | 90 | ||
91 | 91 | ||
92 | - | func L ( | |
92 | + | func L (H) = ("wl_bio_" + H) | |
93 | 93 | ||
94 | 94 | ||
95 | - | func M ( | |
95 | + | func M (H) = ("wl_blk_" + H) | |
96 | 96 | ||
97 | 97 | ||
98 | - | func N ( | |
98 | + | func N (B,H) = ((("report_" + B) + "_") + H) | |
99 | 99 | ||
100 | 100 | ||
101 | - | func O ( | |
101 | + | func O (H) = m(K(H)) | |
102 | 102 | ||
103 | 103 | ||
104 | - | func P ( | |
104 | + | func P (H) = r(J(H)) | |
105 | 105 | ||
106 | 106 | ||
107 | - | func Q (B) = | |
107 | + | func Q (B) = ("author_" + B) | |
108 | 108 | ||
109 | 109 | ||
110 | - | func R (B) = ( | |
110 | + | func R (B) = r(Q(B)) | |
111 | 111 | ||
112 | 112 | ||
113 | - | func S (B) = | |
113 | + | func S (B) = ("deadlineblock_" + B) | |
114 | 114 | ||
115 | 115 | ||
116 | - | func T (B) = ( | |
116 | + | func T (B) = m(S(B)) | |
117 | 117 | ||
118 | 118 | ||
119 | - | func U (B) = | |
119 | + | func U (B) = ("block_" + B) | |
120 | 120 | ||
121 | 121 | ||
122 | - | func V (B) = ( | |
122 | + | func V (B) = m(U(B)) | |
123 | 123 | ||
124 | 124 | ||
125 | - | func W (B) = | |
125 | + | func W (B) = ("typeofwork_" + B) | |
126 | 126 | ||
127 | 127 | ||
128 | - | func X (B) = ( | |
128 | + | func X (B) = m(W(B)) | |
129 | 129 | ||
130 | 130 | ||
131 | - | func Y (B) = | |
131 | + | func Y (B) = ("wordcount_" + B) | |
132 | 132 | ||
133 | 133 | ||
134 | - | func Z (B) = ( | |
134 | + | func Z (B) = m(Y(B)) | |
135 | 135 | ||
136 | 136 | ||
137 | - | func aa (B) = | |
137 | + | func aa (B) = ("priceUSD_" + B) | |
138 | 138 | ||
139 | 139 | ||
140 | - | func ab (B) = ( | |
140 | + | func ab (B) = m(aa(B)) | |
141 | 141 | ||
142 | 142 | ||
143 | - | func ac (B) = | |
143 | + | func ac (B) = ("pmtassetID_" + B) | |
144 | 144 | ||
145 | 145 | ||
146 | - | func ad (B) = ( | |
146 | + | func ad (B) = r(ac(B)) | |
147 | 147 | ||
148 | 148 | ||
149 | - | func ae (B) = | |
149 | + | func ae (B) = ("priceassetID_" + B) | |
150 | 150 | ||
151 | 151 | ||
152 | - | func af (B) = ( | |
152 | + | func af (B) = m(ae(B)) | |
153 | 153 | ||
154 | 154 | ||
155 | - | func ag (B) = | |
155 | + | func ag (B) = ("datajson_" + B) | |
156 | 156 | ||
157 | 157 | ||
158 | - | func ah (B) = ( | |
158 | + | func ah (B) = r(ag(B)) | |
159 | 159 | ||
160 | 160 | ||
161 | - | func ai (B) = | |
161 | + | func ai (B) = ("status_" + B) | |
162 | 162 | ||
163 | 163 | ||
164 | - | func aj (B) = ( | |
164 | + | func aj (B) = r(ai(B)) | |
165 | 165 | ||
166 | 166 | ||
167 | - | func ak (B) = | |
167 | + | func ak (B) = ("translator_" + B) | |
168 | 168 | ||
169 | 169 | ||
170 | - | func al (B) = ( | |
170 | + | func al (B) = r(ak(B)) | |
171 | 171 | ||
172 | 172 | ||
173 | - | func am (B) = | |
173 | + | func am (B) = ("due_for_" + B) | |
174 | 174 | ||
175 | 175 | ||
176 | - | func an (B) = ( | |
176 | + | func an (B) = m(am(B)) | |
177 | 177 | ||
178 | 178 | ||
179 | - | func ao (B) = | |
179 | + | func ao (B) = ("disputedby_" + B) | |
180 | 180 | ||
181 | 181 | ||
182 | - | func ap (B) = ( | |
182 | + | func ap (B) = r(ao(B)) | |
183 | 183 | ||
184 | 184 | ||
185 | - | func aq (B) = | |
185 | + | func aq (B) = ("disputeclosedby_" + B) | |
186 | 186 | ||
187 | 187 | ||
188 | - | func ar (B) = | |
188 | + | func ar (B) = r(aq(B)) | |
189 | 189 | ||
190 | 190 | ||
191 | - | func as (B) = | |
191 | + | func as (B) = "dispute_winner_" | |
192 | 192 | ||
193 | 193 | ||
194 | - | func at (B) = ( | |
194 | + | func at (B) = r(as(B)) | |
195 | 195 | ||
196 | 196 | ||
197 | - | func au (B) = | |
197 | + | func au (B) = ("last_update_" + B) | |
198 | 198 | ||
199 | 199 | ||
200 | - | func av (B) = ( | |
200 | + | func av (B) = m(au(B)) | |
201 | 201 | ||
202 | 202 | ||
203 | - | func aw (B) = | |
203 | + | func aw (B) = ("cnt_translator_" + B) | |
204 | 204 | ||
205 | 205 | ||
206 | - | func ax (B) = ( | |
206 | + | func ax (B) = m(aw(B)) | |
207 | 207 | ||
208 | 208 | ||
209 | - | func ay (B) = | |
209 | + | func ay (B) = ("cnt_user_" + B) | |
210 | 210 | ||
211 | 211 | ||
212 | - | func az (B) = ( | |
212 | + | func az (B) = m(ay(B)) | |
213 | 213 | ||
214 | 214 | ||
215 | - | func aA (B) = | |
215 | + | func aA (B) = ("balance_" + B) | |
216 | 216 | ||
217 | 217 | ||
218 | - | func aB (B) = ( | |
218 | + | func aB (B) = m(aA(B)) | |
219 | 219 | ||
220 | 220 | ||
221 | - | func aC (B) = | |
221 | + | func aC (B) = ("balance_assetID" + B) | |
222 | 222 | ||
223 | 223 | ||
224 | - | func aD ( | |
224 | + | func aD (B) = m(aC(B)) | |
225 | 225 | ||
226 | 226 | ||
227 | - | func aE (aF,G) = { | |
227 | + | func aE (H) = ("verifier_status_" + H) | |
228 | + | ||
229 | + | ||
230 | + | func aF (aG,H) = { | |
228 | 231 | let s = { | |
229 | - | let p = getString( | |
232 | + | let p = getString(aG, aE(H)) | |
230 | 233 | if ($isInstanceOf(p, "String")) | |
231 | 234 | then { | |
232 | 235 | let q = p | |
233 | 236 | q | |
234 | 237 | } | |
235 | 238 | else l | |
236 | 239 | } | |
237 | 240 | s | |
238 | 241 | } | |
239 | 242 | ||
240 | 243 | ||
241 | - | @Callable( | |
242 | - | func submitTranslation ( | |
243 | - | let A = toBase58String( | |
244 | - | let B = z(A, | |
245 | - | let | |
246 | - | let | |
247 | - | let | |
248 | - | if (if (if (if (( | |
249 | - | then ( | |
244 | + | @Callable(aH) | |
245 | + | func submitTranslation (E,aI,aJ,aK,aL,aM,aN) = { | |
246 | + | let A = toBase58String(aH.caller.bytes) | |
247 | + | let B = z(A, E) | |
248 | + | let aO = extract(aH.payment) | |
249 | + | let aP = (lastBlock.height + aK) | |
250 | + | let aQ = aF(a, A) | |
251 | + | if (if (if (if ((aQ != t)) | |
252 | + | then (aQ != d) | |
250 | 253 | else false) | |
251 | - | then ( | |
254 | + | then (aQ != x) | |
252 | 255 | else false) | |
253 | 256 | then (A != c) | |
254 | 257 | else false) | |
255 | - | then throw(("Your account is not registered. status: " + | |
256 | - | else if (if (if (if (if (if (if ((isDefined( | |
257 | - | then ( | |
258 | + | then throw(("Your account is not registered. status: " + aQ)) | |
259 | + | else if (if (if (if (if (if (if ((isDefined(aO.assetId) != false)) | |
260 | + | then (aO.assetId != i) | |
258 | 261 | else false) | |
259 | - | then ( | |
262 | + | then (aO.assetId != j) | |
260 | 263 | else false) | |
261 | - | then ( | |
264 | + | then (aO.assetId != f) | |
262 | 265 | else false) | |
263 | - | then ( | |
266 | + | then (aO.assetId != e) | |
264 | 267 | else false) | |
265 | - | then ( | |
268 | + | then (aO.assetId != g) | |
266 | 269 | else false) | |
267 | - | then ( | |
270 | + | then (aO.assetId != h) | |
268 | 271 | else false) | |
269 | 272 | then throw("can only use WAVES, USD, EUR, BTC, ETH, LTC and KOLIN as payment methods") | |
270 | - | else if (( | |
271 | - | then throw(((("Please pay exact amount for the listing: " + toString(k)) + ", actual payment is: ") + toString( | |
272 | - | else if (( | |
273 | + | else if ((aO.amount != k)) | |
274 | + | then throw(((("Please pay exact amount for the listing: " + toString(k)) + ", actual payment is: ") + toString(aO.amount))) | |
275 | + | else if ((R(B) != l)) | |
273 | 276 | then throw("Item already exist") | |
274 | - | else if ((1440 > | |
277 | + | else if ((1440 > aK)) | |
275 | 278 | then throw("please allow at least 24 h (~1440 blocks) for the translation work to be published properly") | |
276 | - | else if (( | |
279 | + | else if ((aK > 44640)) | |
277 | 280 | then throw("a translation work can not be posted for longer than 31 days (~44640 blocks) ") | |
278 | - | else WriteSet([DataEntry(B, C( | |
281 | + | else WriteSet([DataEntry(B, C(A, E)), DataEntry(Q(B), A), DataEntry(U(B), height), DataEntry(au(B), height), DataEntry(S(B), aP), DataEntry(W(B), aM), DataEntry(Y(B), aL), DataEntry(aa(B), (aM * aL)), DataEntry(ac(B), aJ), DataEntry(ae(B), aN), DataEntry(ai(B), "new post"), DataEntry(ag(B), aI)]) | |
279 | 282 | } | |
280 | 283 | ||
281 | 284 | ||
282 | 285 | ||
283 | - | @Callable( | |
284 | - | func escrow (B, | |
285 | - | let A = toBase58String( | |
286 | - | let | |
287 | - | let | |
288 | - | let | |
289 | - | let | |
290 | - | let | |
291 | - | let | |
292 | - | let | |
293 | - | if (if (if (if (( | |
286 | + | @Callable(aH) | |
287 | + | func escrow (B,aR,aK) = { | |
288 | + | let A = toBase58String(aH.caller.bytes) | |
289 | + | let aO = extract(aH.payment) | |
290 | + | let E = B | |
291 | + | let aP = (lastBlock.height + aK) | |
292 | + | let aS = af(B) | |
293 | + | let aT = ad(B) | |
294 | + | let aU = aF(a, aR) | |
295 | + | let aV = aF(a, A) | |
296 | + | if (if (if (if ((aV != t)) | |
294 | 297 | then (A != c) | |
295 | 298 | else false) | |
296 | - | then ( | |
299 | + | then (aV != d) | |
297 | 300 | else false) | |
298 | - | then ( | |
301 | + | then (aV != x) | |
299 | 302 | else false) | |
300 | - | then throw(("Your account is not registered. status: " + | |
301 | - | else if (if (if (if (( | |
302 | - | then ( | |
303 | + | then throw(("Your account is not registered. status: " + aV)) | |
304 | + | else if (if (if (if ((aU != t)) | |
305 | + | then (aR != c) | |
303 | 306 | else false) | |
304 | - | then ( | |
307 | + | then (aU != d) | |
305 | 308 | else false) | |
306 | - | then ( | |
309 | + | then (aU != x) | |
307 | 310 | else false) | |
308 | - | then throw(("Your account is not registered. status: " + | |
309 | - | else if ((E | |
310 | - | then throw("translation work not found") | |
311 | - | else if (( | |
311 | + | then throw(("Your account is not registered. status: " + aV)) | |
312 | + | else if ((F(E) != B)) | |
313 | + | then throw(("translation work not found for " + B)) | |
314 | + | else if ((T(B) >= lastBlock.height)) | |
312 | 315 | then throw("deadline for this work has been already achieved") | |
313 | - | else if (( | |
316 | + | else if ((aS > aO.amount)) | |
314 | 317 | then throw("price lower than posted for this translation work") | |
315 | - | else if (( | |
318 | + | else if ((aO.amount > aS)) | |
316 | 319 | then throw("money payed is higher than this translation work, no need to overspend") | |
317 | - | else if ((A != | |
320 | + | else if ((A != R(B))) | |
318 | 321 | then throw("User is different than translation's post creator") | |
319 | - | else if (( | |
322 | + | else if ((aV == u)) | |
320 | 323 | then throw("user's account has been blacklisted") | |
321 | - | else if (( | |
324 | + | else if ((aU == u)) | |
322 | 325 | then throw("translator's account has been blacklisted") | |
323 | - | else if ((1440 > | |
326 | + | else if ((1440 > aK)) | |
324 | 327 | then throw("please allow at least 24 h (~1440 blocks) for the translation work to be published properly") | |
325 | - | else if (( | |
328 | + | else if ((aK > 44640)) | |
326 | 329 | then throw("a translation work can not be posted for longer than 31 days (~44640 blocks) ") | |
327 | - | else if (( | |
330 | + | else if ((aj(B) != "new post")) | |
328 | 331 | then throw("escrow for this work already present") | |
329 | - | else ScriptResult(WriteSet([DataEntry( | |
332 | + | else ScriptResult(WriteSet([DataEntry(ai(B), "work allocated to translator"), DataEntry(ak(B), aR), DataEntry(am(B), aP), DataEntry(au(B), height), DataEntry(aA(B), aO.amount), DataEntry(aC(B), aT)]), TransferSet(nil)) | |
330 | 333 | } | |
331 | 334 | ||
332 | 335 | ||
333 | 336 | ||
334 | - | @Callable( | |
337 | + | @Callable(aH) | |
335 | 338 | func disputeEscrow (B) = { | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | let | |
341 | - | let | |
342 | - | let | |
343 | - | if (if (if (( | |
344 | - | then ( | |
339 | + | let aW = toBase58String(aH.caller.bytes) | |
340 | + | let aX = af(B) | |
341 | + | let aJ = ad(B) | |
342 | + | let aY = an(B) | |
343 | + | let aU = aF(a, al(B)) | |
344 | + | let aV = aF(a, R(B)) | |
345 | + | let aQ = P(aW) | |
346 | + | if (if (if ((aQ != t)) | |
347 | + | then (aW != c) | |
345 | 348 | else false) | |
346 | - | then ( | |
349 | + | then (aQ != d) | |
347 | 350 | else false) | |
348 | - | then throw(("Your account is not registered. status: " + | |
349 | - | else if (if (if (( | |
351 | + | then throw(("Your account is not registered. status: " + aQ)) | |
352 | + | else if (if (if ((aW != al(B))) | |
350 | 353 | then true | |
351 | - | else ( | |
354 | + | else (aW != R(B))) | |
352 | 355 | then true | |
353 | - | else ( | |
356 | + | else (aW != d)) | |
354 | 357 | then throw("just work creator, translator or an admin can initiate a dispute") | |
355 | - | else if (( | |
358 | + | else if ((ai(B) == "dispute in progress")) | |
356 | 359 | then throw("This work is currently under dispute") | |
357 | - | else if (( | |
360 | + | else if ((aV == u)) | |
358 | 361 | then throw("user's account has been blacklisted") | |
359 | - | else if (( | |
362 | + | else if ((aU == u)) | |
360 | 363 | then throw("translator's account has been blacklisted") | |
361 | - | else ScriptResult(WriteSet([DataEntry( | |
364 | + | else ScriptResult(WriteSet([DataEntry(ai(B), "dispute in progress"), DataEntry(ao(B), aW), DataEntry(am(B), (lastBlock.height + 1440)), DataEntry(au(B), height), DataEntry(aq(B), l), DataEntry(as(B), l)]), TransferSet(nil)) | |
362 | 365 | } | |
363 | 366 | ||
364 | 367 | ||
365 | 368 | ||
366 | - | @Callable( | |
369 | + | @Callable(aH) | |
367 | 370 | func disputeCloseEscrow (B) = { | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | let | |
374 | - | let | |
375 | - | if (if (if (( | |
376 | - | then ( | |
371 | + | let aW = toBase58String(aH.caller.bytes) | |
372 | + | let aX = af(B) | |
373 | + | let aJ = ad(B) | |
374 | + | let aY = an(B) | |
375 | + | let aU = aF(a, al(B)) | |
376 | + | let aV = aF(a, R(B)) | |
377 | + | let aQ = P(aW) | |
378 | + | if (if (if ((aQ != t)) | |
379 | + | then (aW != c) | |
377 | 380 | else false) | |
378 | - | then ( | |
381 | + | then (aQ != d) | |
379 | 382 | else false) | |
380 | - | then throw(("Your account is not registered. status: " + | |
381 | - | else if (( | |
383 | + | then throw(("Your account is not registered. status: " + aQ)) | |
384 | + | else if ((aQ != d)) | |
382 | 385 | then throw("just admins can close a dispute") | |
383 | - | else if (( | |
386 | + | else if ((ai(B) != "dispute in progress")) | |
384 | 387 | then throw("This work is not under dispute") | |
385 | - | else if (( | |
388 | + | else if ((aV == u)) | |
386 | 389 | then throw("user's account has been blacklisted") | |
387 | - | else if (( | |
390 | + | else if ((aU == u)) | |
388 | 391 | then throw("translator's account has been blacklisted") | |
389 | - | else if (if ((y > | |
390 | - | then (y > | |
392 | + | else if (if ((y > ax(B))) | |
393 | + | then (y > az(B)) | |
391 | 394 | else false) | |
392 | 395 | then throw("Votes are not enough to favour any involved part") | |
393 | - | else if (( | |
394 | - | then ScriptResult(WriteSet([DataEntry( | |
395 | - | else if (( | |
396 | - | then ScriptResult(WriteSet([DataEntry( | |
397 | - | else ScriptResult(WriteSet([DataEntry( | |
396 | + | else if ((ax(B) >= y)) | |
397 | + | then ScriptResult(WriteSet([DataEntry(ai(B), "dispute closed"), DataEntry(aq(B), aW), DataEntry(as(B), al(B)), DataEntry(au(B), height)]), TransferSet([ScriptTransfer(addressFromStringValue(al(B)), aX, fromBase58String(aJ))])) | |
398 | + | else if ((az(B) >= y)) | |
399 | + | then ScriptResult(WriteSet([DataEntry(ai(B), "dispute closed"), DataEntry(aq(B), aW), DataEntry(as(B), R(B)), DataEntry(au(B), height)]), TransferSet([ScriptTransfer(addressFromStringValue(R(B)), aX, fromBase58String(aJ))])) | |
400 | + | else ScriptResult(WriteSet([DataEntry(ai(B), "dispute still under review"), DataEntry(aq(B), l), DataEntry(as(B), l), DataEntry(au(B), height), DataEntry(am(B), (lastBlock.height + 1440))]), TransferSet(nil)) | |
398 | 401 | } | |
399 | 402 | ||
400 | 403 | ||
401 | 404 | ||
402 | - | @Callable( | |
403 | - | func voteDisputeEscrow (B, | |
404 | - | let | |
405 | - | if (( | |
405 | + | @Callable(aH) | |
406 | + | func voteDisputeEscrow (B,aZ) = { | |
407 | + | let aW = toBase58String(aH.caller.bytes) | |
408 | + | if ((aj(B) == "dispute closed")) | |
406 | 409 | then throw("this dispute is closed") | |
407 | - | else if (if (( | |
410 | + | else if (if ((P(aW) != x)) | |
408 | 411 | then true | |
409 | - | else ( | |
412 | + | else (P(aW) != d)) | |
410 | 413 | then throw("you either need to be an ADMIN or a MODERATOR to vote in disputes") | |
411 | - | else if (if (( | |
414 | + | else if (if ((aj(B) != "dispute in progress")) | |
412 | 415 | then true | |
413 | - | else ( | |
416 | + | else (aj(B) != "dispute still under review")) | |
414 | 417 | then throw("translation work not under dispute") | |
415 | - | else if (( | |
418 | + | else if ((ax(B) >= y)) | |
416 | 419 | then throw("Votes are enough to favour the Translator") | |
417 | - | else if (( | |
420 | + | else if ((az(B) >= y)) | |
418 | 421 | then throw("Votes are enough to favour the User") | |
419 | - | else if (( | |
420 | - | then WriteSet([DataEntry( | |
421 | - | else if (( | |
422 | - | then WriteSet([DataEntry( | |
422 | + | else if ((aZ == R(B))) | |
423 | + | then WriteSet([DataEntry(ay(B), (az(B) + 1))]) | |
424 | + | else if ((aZ == al(B))) | |
425 | + | then WriteSet([DataEntry(aw(B), (ax(B) + 1))]) | |
423 | 426 | else throw("vote not submitted") | |
424 | 427 | } | |
425 | 428 | ||
426 | 429 | ||
427 | 430 | ||
428 | - | @Callable( | |
429 | - | func withdrawEscrow ( | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
434 | - | let | |
435 | - | let | |
436 | - | if (if (if (( | |
437 | - | then ( | |
431 | + | @Callable(aH) | |
432 | + | func withdrawEscrow (ba,B) = { | |
433 | + | let aW = toBase58String(aH.caller.bytes) | |
434 | + | let aJ = ad(B) | |
435 | + | let aX = af(B) | |
436 | + | let aQ = P(aW) | |
437 | + | let aU = aF(a, al(B)) | |
438 | + | let aV = aF(a, R(B)) | |
439 | + | if (if (if ((aQ != t)) | |
440 | + | then (aW != c) | |
438 | 441 | else false) | |
439 | - | then ( | |
442 | + | then (aQ != d) | |
440 | 443 | else false) | |
441 | - | then throw(("Your account is not registered. status: " + | |
442 | - | else if (( | |
444 | + | then throw(("Your account is not registered. status: " + aQ)) | |
445 | + | else if ((an(B) > lastBlock.height)) | |
443 | 446 | then throw("Deadline has not finished yet") | |
444 | - | else if (( | |
447 | + | else if ((ai(B) == "dispute in progress")) | |
445 | 448 | then throw("This work is currently under dispute") | |
446 | - | else if (if (( | |
449 | + | else if (if ((aW != al(B))) | |
447 | 450 | then true | |
448 | - | else ( | |
451 | + | else (aW != R(B))) | |
449 | 452 | then throw("just work creator or translator can withdraw funds. Admins must initiate a dispute") | |
450 | - | else if (if (( | |
451 | - | then ( | |
453 | + | else if (if ((aW == R(B))) | |
454 | + | then (aV == u) | |
452 | 455 | else false) | |
453 | 456 | then throw("user's account has been blacklisted") | |
454 | - | else if (if (( | |
455 | - | then ( | |
457 | + | else if (if ((aW == al(B))) | |
458 | + | then (aU == u) | |
456 | 459 | else false) | |
457 | 460 | then throw("translator's account has been blacklisted") | |
458 | - | else ScriptResult(WriteSet([DataEntry( | |
461 | + | else ScriptResult(WriteSet([DataEntry(aA(B), 0), DataEntry(ai(B), ("money withdrawn by " + aW)), DataEntry(au(B), height)]), TransferSet([ScriptTransfer(addressFromStringValue(aW), aX, fromBase58String(aJ))])) | |
459 | 462 | } | |
460 | 463 | ||
461 | 464 | ||
462 | 465 | ||
463 | - | @Callable( | |
464 | - | func inviteuser ( | |
465 | - | let | |
466 | - | let | |
467 | - | let | |
468 | - | if (if (if (( | |
466 | + | @Callable(aH) | |
467 | + | func inviteuser (bb,aI) = { | |
468 | + | let aW = toBase58String(aH.caller.bytes) | |
469 | + | let bc = P(bb) | |
470 | + | let aQ = P(aW) | |
471 | + | if (if (if ((bc == t)) | |
469 | 472 | then true | |
470 | - | else ( | |
473 | + | else (bc == x)) | |
471 | 474 | then true | |
472 | - | else ( | |
475 | + | else (bc == d)) | |
473 | 476 | then throw("User has already been registered") | |
474 | - | else if (( | |
477 | + | else if ((bc == u)) | |
475 | 478 | then throw("The user you want to invite is already Blacklisted") | |
476 | - | else if (if (if (( | |
477 | - | then ( | |
479 | + | else if (if (if ((aQ != t)) | |
480 | + | then (aW != c) | |
478 | 481 | else false) | |
479 | - | then ( | |
482 | + | then (aQ != d) | |
480 | 483 | else false) | |
481 | - | then throw(("Your account should be whitelisted. status: " + | |
482 | - | else WriteSet([DataEntry( | |
484 | + | then throw(("Your account should be whitelisted. status: " + aQ)) | |
485 | + | else WriteSet([DataEntry(G(bb), aW), DataEntry(L(bb), aI), DataEntry(J(bb), v)]) | |
483 | 486 | } | |
484 | 487 | ||
485 | 488 | ||
486 | 489 | ||
487 | - | @Callable( | |
488 | - | func userupdate ( | |
489 | - | let | |
490 | - | if (if (if (( | |
490 | + | @Callable(aH) | |
491 | + | func userupdate (aI,bd) = { | |
492 | + | let H = toBase58String(aH.caller.bytes) | |
493 | + | if (if (if ((bd == x)) | |
491 | 494 | then true | |
492 | - | else ( | |
493 | - | then ( | |
495 | + | else (bd == d)) | |
496 | + | then (P(H) == t) | |
494 | 497 | else false) | |
495 | 498 | then throw("an ADMIN or MODERATOR account can be created by an ADMIN only") | |
496 | - | else if (if (( | |
497 | - | then ( | |
499 | + | else if (if ((bd == d)) | |
500 | + | then (P(H) != d) | |
498 | 501 | else false) | |
499 | 502 | then throw("an ADMIN account can be created by another ADMIN only") | |
500 | - | else WriteSet([DataEntry( | |
503 | + | else WriteSet([DataEntry(L(H), aI), DataEntry(J(H), if ((bd == x)) | |
501 | 504 | then x | |
502 | - | else if (( | |
505 | + | else if ((bd == d)) | |
503 | 506 | then d | |
504 | 507 | else t)]) | |
505 | 508 | } | |
506 | 509 | ||
507 | 510 | ||
508 | 511 | ||
509 | - | @Callable( | |
510 | - | func signupbylink (bd | |
511 | - | let | |
512 | - | let | |
513 | - | if (( | |
514 | - | then throw(((((("Referral invite needed. Current status: " + | |
515 | - | else WriteSet([DataEntry( | |
512 | + | @Callable(aH) | |
513 | + | func signupbylink (be,aI,bd) = { | |
514 | + | let H = toBase58String(aH.caller.bytes) | |
515 | + | let bf = P(be) | |
516 | + | if ((bf != v)) | |
517 | + | then throw(((((("Referral invite needed. Current status: " + bf) + ", key:") + J(be)) + ", account:") + be)) | |
518 | + | else WriteSet([DataEntry(L(H), aI), DataEntry(M(H), height), DataEntry(J(H), if ((bd == x)) | |
516 | 519 | then x | |
517 | - | else t), DataEntry( | |
520 | + | else t), DataEntry(J(be), w), DataEntry(G(H), I(be))]) | |
518 | 521 | } | |
519 | 522 | ||
520 | 523 | ||
521 | 524 | ||
522 | - | @Callable( | |
523 | - | func signup ( | |
524 | - | let | |
525 | - | let | |
526 | - | if (( | |
527 | - | then throw(((((("Referral invite needed. Current status: " + | |
528 | - | else WriteSet([DataEntry( | |
525 | + | @Callable(aH) | |
526 | + | func signup (aI,bd) = { | |
527 | + | let H = toBase58String(aH.caller.bytes) | |
528 | + | let bf = P(H) | |
529 | + | if ((bf == l)) | |
530 | + | then throw(((((("Referral invite needed. Current status: " + bf) + ", key:") + J(H)) + ", account:") + H)) | |
531 | + | else WriteSet([DataEntry(L(H), aI), DataEntry(M(H), height), DataEntry(J(H), if ((bd == x)) | |
529 | 532 | then x | |
530 | 533 | else t)]) | |
531 | 534 | } | |
532 | 535 | ||
533 | 536 | ||
534 | 537 | ||
535 | - | @Callable( | |
536 | - | func reportProject (B, | |
537 | - | let | |
538 | - | WriteSet([DataEntry( | |
538 | + | @Callable(aH) | |
539 | + | func reportProject (B,aI) = { | |
540 | + | let H = toBase58String(aH.caller.bytes) | |
541 | + | WriteSet([DataEntry(N(B, H), aI)]) | |
539 | 542 | } | |
540 | 543 | ||
541 | 544 |
github/deemru/w8io/169f3d6 222.81 ms ◑