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