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