tx · 9CGbAfVy4B2cCeQMiGv162p29ngsBbBFKe4Yb4MULuaU 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2: -0.01500000 Waves 2019.09.24 13:06 [690282] smart account 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2 > SELF 0.00000000 Waves
{ "type": 13, "id": "9CGbAfVy4B2cCeQMiGv162p29ngsBbBFKe4Yb4MULuaU", "fee": 1500000, "feeAssetId": null, "timestamp": 1569319568332, "version": 1, "sender": "3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2", "senderPublicKey": "8y2Uc9uYf5gRD6Dzm1aC73zYe3LZvtVDUVAnAhNdN2mg", "proofs": [ "5b2Au9iPNn9nbohPb1nuZiDefg91AwmypnwXQSGrFUa9cH4CsmrF19q5iuoo4NwXkaJkLuHHUwnX1yh3C9Y23AmG" ], "script": "base64:AAIDAAAAAAAAAD8IARIDCgEIEgMKAQgSBQoDAQEIEgQKAggBEgQKAggIEgQKAggBEgMKAQgSAwoBCBIECgIICBIDCgEIEgMKAQgAAAAdAAAAAANkYXkAAAAAAAAABaAAAAAABVdBVkVTBQAAAAR1bml0AAAAAAR3QlRDAQAAACBs+mr/xe2qjAt/tSqT0qIML4KC23R6BIxT+/0TH3Og/wAAAAAEd0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABHdVU0QBAAAAIN0cvQHwz3UFMHgHsqi2OJjRRd1cH7ozWuNAb/pmWXD9AAAAAAlzdGF0ZU9wZW4CAAAABk9wZW5lZAAAAAAOc3RhdGVTdWdnZXN0ZWQCAAAACVN1Z2dlc3RlZAAAAAALc3RhdGVDYW5jZWwCAAAACENhbmNlbGVkAAAAAA9zdGF0ZUluUHJvZ3Jlc3MCAAAACkluUHJvZ3Jlc3MAAAAAEXN0YXRlV2FpdDRDb25maXJtAgAAABNXYWl0Rm9yQ29uZmlybWF0aW9uAAAAAA1zdGF0ZUNvbXBsZXRlAgAAAAlDb21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", "chainId": 84, "height": 690282, "spentComplexity": 0 } View: original | compacted Prev: 4yp4WC4YAYtuhodUohRuPXSQxLbYwf29jCbfY2Wztf94 Next: B7LnJBzoDvajfnDqSFAPgQrKdDwUpRco2CnqWCvvSRxH Diff:
Old | New | Differences | |
---|---|---|---|
213 | 213 | then ScriptResult(WriteSet([DataEntry(ai, ((((((((((((((((((h + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + "NoFreelancer") + "_") + "NoBid")), DataEntry((E + "_Freezed"), ag)]), TransferSet([ScriptTransfer(addressFromPublicKey(aa), (H - aq), an)])) | |
214 | 214 | else if ((ak == g)) | |
215 | 215 | then { | |
216 | - | let as = aj[ | |
216 | + | let as = aj[9] | |
217 | 217 | let at = aj[8] | |
218 | - | WriteSet([DataEntry(ai, ((((((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + | |
218 | + | WriteSet([DataEntry(ai, ((((((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + at) + "_") + as))]) | |
219 | 219 | } | |
220 | 220 | else throw("Incorrect auction state") | |
221 | 221 | else if ((ak == f)) | |
222 | 222 | then WriteSet([DataEntry(((v + "_") + ap), G), DataEntry(ai, ((((((((((((((((g + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + ap))]) | |
223 | 223 | else if ((ak == g)) | |
224 | 224 | then { | |
225 | - | let | |
226 | - | let | |
227 | - | let | |
228 | - | let | |
229 | - | let | |
230 | - | let z = | |
225 | + | let as = aj[9] | |
226 | + | let au = { | |
227 | + | let av = ((v + "_") + as) | |
228 | + | let aw = getInteger(this, av) | |
229 | + | let ax = { | |
230 | + | let z = aw | |
231 | 231 | if ($isInstanceOf(z, "Int")) | |
232 | 232 | then { | |
233 | 233 | let y = z | |
235 | 235 | } | |
236 | 236 | else throw("Can't find lowest bid by public key") | |
237 | 237 | } | |
238 | - | if (( | |
238 | + | if ((ax > ao)) | |
239 | 239 | then ap | |
240 | - | else | |
240 | + | else as | |
241 | 241 | } | |
242 | - | WriteSet([DataEntry(((v + "_") + S), G), DataEntry(ai, ((((((((((((((((g + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + | |
242 | + | WriteSet([DataEntry(((v + "_") + S), G), DataEntry(ai, ((((((((((((((((g + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + au))]) | |
243 | 243 | } | |
244 | 244 | else throw(((((("Incorrect jobId state. Now: " + ak) + ", must be: ") + f) + " or ") + g)) | |
245 | 245 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | @Callable(T) | |
250 | - | func chooseFreelancer (v, | |
250 | + | func chooseFreelancer (v,ay) = { | |
251 | 251 | let S = extract(T.callerPublicKey) | |
252 | 252 | let ah = height | |
253 | 253 | let ai = u(v) | |
261 | 261 | let E = aj[6] | |
262 | 262 | let H = parseIntValue(aj[7]) | |
263 | 263 | let an = D(E) | |
264 | - | let | |
265 | - | let | |
266 | - | let | |
267 | - | let z = | |
264 | + | let az = { | |
265 | + | let aA = ((v + "_") + ay) | |
266 | + | let aB = getInteger(this, aA) | |
267 | + | let z = aB | |
268 | 268 | if ($isInstanceOf(z, "Int")) | |
269 | 269 | then { | |
270 | 270 | let y = z | |
273 | 273 | else throw("Freelancer's bet was not found") | |
274 | 274 | } | |
275 | 275 | let aq = ((H * 3) / 100) | |
276 | - | let | |
276 | + | let aC = ((H - az) - aq) | |
277 | 277 | let ar = I(ah, ad, al) | |
278 | 278 | if ((S == aa)) | |
279 | 279 | then if (ar) | |
282 | 282 | else if ((ak == g)) | |
283 | 283 | then WriteSet([DataEntry(ai, ((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))]) | |
284 | 284 | else throw("Incorrect auction state") | |
285 | - | else ScriptResult(WriteSet([DataEntry(ai, ((((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString( | |
285 | + | else ScriptResult(WriteSet([DataEntry(ai, ((((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(az)) + "_") + ay))]), TransferSet([ScriptTransfer(addressFromPublicKey(aa), aC, an)])) | |
286 | 286 | else throw("Only auction customer can choose a freelancer") | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | ||
291 | 291 | @Callable(T) | |
292 | - | func increaseExecutionTime (v, | |
293 | - | let | |
292 | + | func increaseExecutionTime (v,aD) = { | |
293 | + | let aE = extract(T.callerPublicKey) | |
294 | 294 | let ai = u(v) | |
295 | 295 | let aj = w(ai) | |
296 | 296 | let ak = aj[0] | |
301 | 301 | let am = parseIntValue(aj[5]) | |
302 | 302 | let E = aj[6] | |
303 | 303 | let H = parseIntValue(aj[7]) | |
304 | - | let | |
305 | - | let | |
306 | - | if (( | |
307 | - | then | |
304 | + | let aF = { | |
305 | + | let aG = (aD * a) | |
306 | + | if ((aG > am)) | |
307 | + | then aG | |
308 | 308 | else throw("New execution time must more than current execution time") | |
309 | 309 | } | |
310 | - | if (( | |
310 | + | if ((aE == aa)) | |
311 | 311 | then if ((ak == f)) | |
312 | 312 | then WriteSet([DataEntry(ai, ((((((((((((((ak + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))]) | |
313 | 313 | else if (if ((ak == g)) | |
314 | 314 | then true | |
315 | 315 | else (ak == i)) | |
316 | 316 | then { | |
317 | - | let | |
318 | - | WriteSet([DataEntry(ai, ((((((((((((((((ak + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + | |
317 | + | let ay = aj[7] | |
318 | + | WriteSet([DataEntry(ai, ((((((((((((((((ak + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + ay))]) | |
319 | 319 | } | |
320 | 320 | else throw("Incorrect state") | |
321 | 321 | else throw("Only customer can increase execution time") | |
335 | 335 | let am = parseIntValue(aj[5]) | |
336 | 336 | let E = aj[6] | |
337 | 337 | let H = parseIntValue(aj[7]) | |
338 | - | let | |
338 | + | let aH = if ((T.callerPublicKey == aa)) | |
339 | 339 | then true | |
340 | 340 | else throw("Auction can be canceled only by owner.") | |
341 | 341 | if ((ak == f)) | |
347 | 347 | ||
348 | 348 | @Callable(T) | |
349 | 349 | func openDispute (v) = { | |
350 | - | let | |
350 | + | let aE = extract(T.callerPublicKey) | |
351 | 351 | let ai = u(v) | |
352 | 352 | let aj = w(ai) | |
353 | 353 | let ak = aj[0] | |
358 | 358 | let am = parseIntValue(aj[5]) | |
359 | 359 | let E = aj[6] | |
360 | 360 | let H = parseIntValue(aj[7]) | |
361 | - | let | |
362 | - | if (if (( | |
361 | + | let at = fromBase58String(aj[8]) | |
362 | + | if (if ((aE == aa)) | |
363 | 363 | then true | |
364 | - | else ( | |
364 | + | else (aE == at)) | |
365 | 365 | then { | |
366 | - | let | |
367 | - | WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + | |
366 | + | let aI = "1" | |
367 | + | WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + aI)), DataEntry((v + "_Dispute"), "0")]) | |
368 | 368 | } | |
369 | 369 | else throw("Only customer and freelancer can open dispute") | |
370 | 370 | } | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | @Callable(T) | |
375 | - | func voteDispute (v, | |
375 | + | func voteDispute (v,aJ) = { | |
376 | 376 | let ai = u(v) | |
377 | 377 | let aj = w(ai) | |
378 | 378 | let ak = aj[0] | |
383 | 383 | let am = parseIntValue(aj[5]) | |
384 | 384 | let E = aj[6] | |
385 | 385 | let H = parseIntValue(aj[7]) | |
386 | - | let | |
387 | - | let | |
388 | - | let | |
386 | + | let at = fromBase58String(aj[8]) | |
387 | + | let aK = ((H * 3) / 100) | |
388 | + | let aL = if ((ak == l)) | |
389 | 389 | then true | |
390 | 390 | else throw(("Incorrect state. Must be: " + l)) | |
391 | - | let | |
391 | + | let aM = if (if ((aJ == n)) | |
392 | 392 | then true | |
393 | - | else ( | |
394 | - | then | |
393 | + | else (aJ == o)) | |
394 | + | then aJ | |
395 | 395 | else throw(((("Vote is incorrect. Must be: " + n) + " or ") + o)) | |
396 | - | let | |
396 | + | let aN = if (if (if (if (if ((T.callerPublicKey == p)) | |
397 | 397 | then true | |
398 | 398 | else (T.callerPublicKey == q)) | |
399 | 399 | then true | |
404 | 404 | else (T.callerPublicKey == t)) | |
405 | 405 | then toBase58String(T.callerPublicKey) | |
406 | 406 | else throw("You have no rights for disputes resolving") | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | let z = | |
407 | + | let aO = { | |
408 | + | let aP = ((v + "_") + l) | |
409 | + | let aQ = getString(this, aP) | |
410 | + | let z = aQ | |
411 | 411 | if ($isInstanceOf(z, "String")) | |
412 | 412 | then { | |
413 | 413 | let y = z | |
415 | 415 | } | |
416 | 416 | else throw("Cannot find data of dispute in storage") | |
417 | 417 | } | |
418 | - | let | |
419 | - | let | |
420 | - | if (( | |
418 | + | let aR = split(aO, "/") | |
419 | + | let aS = aR[0] | |
420 | + | if ((aS == "4")) | |
421 | 421 | then { | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
422 | + | let aT = split(aR[1], "_") | |
423 | + | let aU = split(aR[2], "_") | |
424 | + | let aV = if ((aN == aT[0])) | |
425 | 425 | then true | |
426 | - | else ( | |
427 | - | if ( | |
426 | + | else (aN == aT[1]) | |
427 | + | if (aV) | |
428 | 428 | then throw("You already voted") | |
429 | 429 | else { | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
434 | - | let | |
435 | - | let | |
430 | + | let aW = "5" | |
431 | + | let aX = ((aR[1] + "_") + aN) | |
432 | + | let aY = ((aR[2] + "_") + aM) | |
433 | + | let aZ = ((((aW + "/") + aX) + "/") + aY) | |
434 | + | let ba = { | |
435 | + | let bb = if ((aU[0] == n)) | |
436 | 436 | then 1 | |
437 | 437 | else 0 | |
438 | - | let | |
438 | + | let bc = if ((aU[1] == n)) | |
439 | 439 | then 1 | |
440 | 440 | else 0 | |
441 | - | let | |
441 | + | let bd = if ((aU[2] == n)) | |
442 | 442 | then 1 | |
443 | 443 | else 0 | |
444 | - | let | |
444 | + | let be = if ((aU[3] == n)) | |
445 | 445 | then 1 | |
446 | 446 | else 0 | |
447 | - | let | |
447 | + | let bf = if ((aM == n)) | |
448 | 448 | then 1 | |
449 | 449 | else 0 | |
450 | - | let | |
451 | - | if (( | |
450 | + | let bg = ((((bb + bc) + bd) + be) + bf) | |
451 | + | if ((bg > 2)) | |
452 | 452 | then n | |
453 | 453 | else o | |
454 | 454 | } | |
455 | - | let | |
456 | - | let | |
455 | + | let bh = ((((((((((((((Z + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + toBase58String(at)) | |
456 | + | let bi = if ((ba == n)) | |
457 | 457 | then aa | |
458 | - | else | |
459 | - | let | |
460 | - | then (H - | |
461 | - | else ((H - | |
462 | - | ScriptResult(WriteSet([DataEntry(u(v), ((m + "_") + | |
458 | + | else at | |
459 | + | let bj = if ((bi == aa)) | |
460 | + | then (H - aK) | |
461 | + | else ((H - aK) - aK) | |
462 | + | ScriptResult(WriteSet([DataEntry(u(v), ((m + "_") + bh)), DataEntry(((v + "_") + l), aZ)]), TransferSet([ScriptTransfer(addressFromPublicKey(bi), bj, D(E))])) | |
463 | 463 | } | |
464 | 464 | } | |
465 | 465 | else { | |
466 | - | let | |
466 | + | let aZ = if ((aS == "0")) | |
467 | 467 | then { | |
468 | - | let | |
469 | - | let | |
470 | - | let | |
471 | - | let | |
472 | - | | |
468 | + | let aW = "1" | |
469 | + | let aX = aN | |
470 | + | let aY = aM | |
471 | + | let bh = ((((aW + "/") + aX) + "/") + aY) | |
472 | + | bh | |
473 | 473 | } | |
474 | - | else if (( | |
474 | + | else if ((aS == "1")) | |
475 | 475 | then { | |
476 | - | let | |
477 | - | let | |
478 | - | let | |
479 | - | if ( | |
476 | + | let bk = aR[1] | |
477 | + | let bb = aR[2] | |
478 | + | let aV = (aN == bk) | |
479 | + | if (aV) | |
480 | 480 | then throw("You already voted") | |
481 | 481 | else { | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | | |
482 | + | let aW = "1" | |
483 | + | let aX = (bk + aN) | |
484 | + | let aY = (bb + aM) | |
485 | + | let bh = ((((aW + "/") + aX) + "/") + aY) | |
486 | + | bh | |
487 | 487 | } | |
488 | 488 | } | |
489 | - | else if (( | |
489 | + | else if ((aS == "2")) | |
490 | 490 | then { | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
491 | + | let aT = split(aR[1], "_") | |
492 | + | let aU = split(aR[2], "_") | |
493 | + | let aV = if ((aN == aT[0])) | |
494 | 494 | then true | |
495 | - | else ( | |
496 | - | if ( | |
495 | + | else (aN == aT[1]) | |
496 | + | if (aV) | |
497 | 497 | then throw("You already voted") | |
498 | 498 | else { | |
499 | - | let | |
500 | - | let | |
501 | - | let | |
502 | - | let | |
503 | - | | |
499 | + | let aW = "3" | |
500 | + | let aX = ((aR[1] + "_") + aN) | |
501 | + | let aY = ((aR[2] + "_") + aM) | |
502 | + | let bh = ((((aW + "/") + aX) + "/") + aY) | |
503 | + | bh | |
504 | 504 | } | |
505 | 505 | } | |
506 | - | else if (( | |
506 | + | else if ((aS == "3")) | |
507 | 507 | then { | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
508 | + | let aT = split(aR[1], "_") | |
509 | + | let aU = split(aR[2], "_") | |
510 | + | let aV = if (if ((aN == aT[0])) | |
511 | 511 | then true | |
512 | - | else ( | |
512 | + | else (aN == aT[1])) | |
513 | 513 | then true | |
514 | - | else ( | |
515 | - | if ( | |
514 | + | else (aN == aT[2]) | |
515 | + | if (aV) | |
516 | 516 | then throw("You already voted") | |
517 | 517 | else { | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | | |
518 | + | let aW = "4" | |
519 | + | let aX = ((aR[1] + "_") + aN) | |
520 | + | let aY = ((aR[2] + "_") + aM) | |
521 | + | let bh = ((((aW + "/") + aX) + "/") + aY) | |
522 | + | bh | |
523 | 523 | } | |
524 | 524 | } | |
525 | 525 | else throw("Dispute has been already resolved") | |
526 | - | WriteSet([DataEntry(((v + "_") + l), | |
526 | + | WriteSet([DataEntry(((v + "_") + l), aZ)]) | |
527 | 527 | } | |
528 | 528 | } | |
529 | 529 | ||
542 | 542 | let am = parseIntValue(aj[5]) | |
543 | 543 | let E = aj[6] | |
544 | 544 | let H = parseIntValue(aj[7]) | |
545 | - | let | |
545 | + | let at = fromBase58String(aj[8]) | |
546 | 546 | let J = height | |
547 | - | let | |
547 | + | let bl = if ((S == at)) | |
548 | 548 | then S | |
549 | 549 | else throw("Only a freelancer can indicate that the work is done") | |
550 | - | let | |
550 | + | let bm = ((J - ad) > am) | |
551 | 551 | if ((ak == i)) | |
552 | - | then if ( | |
552 | + | then if (bm) | |
553 | 553 | then { | |
554 | - | let | |
555 | - | WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + | |
554 | + | let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6]) | |
555 | + | WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + bh))]) | |
556 | 556 | } | |
557 | 557 | else { | |
558 | - | let | |
559 | - | WriteSet([DataEntry(ai, ((((j + "_") + Z) + "_") + | |
558 | + | let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6]) | |
559 | + | WriteSet([DataEntry(ai, ((((j + "_") + Z) + "_") + bh))]) | |
560 | 560 | } | |
561 | 561 | else throw("Auction state is incorrect") | |
562 | 562 | } | |
575 | 575 | let am = parseIntValue(aj[5]) | |
576 | 576 | let E = aj[6] | |
577 | 577 | let H = parseIntValue(aj[7]) | |
578 | - | let | |
579 | - | let | |
578 | + | let at = aj[2] | |
579 | + | let aE = extract(T.callerPublicKey) | |
580 | 580 | let aq = ((H * 3) / 100) | |
581 | - | let | |
582 | - | let | |
583 | - | let | |
584 | - | let | |
585 | - | let z = | |
581 | + | let bj = (H - aq) | |
582 | + | let bn = { | |
583 | + | let bo = getInteger(this, (at + "_Rating")) | |
584 | + | let bp = { | |
585 | + | let z = bo | |
586 | 586 | if ($isInstanceOf(z, "Int")) | |
587 | 587 | then { | |
588 | 588 | let y = z | |
590 | 590 | } | |
591 | 591 | else 0 | |
592 | 592 | } | |
593 | - | ( | |
593 | + | (bp + 1) | |
594 | 594 | } | |
595 | - | if (( | |
595 | + | if ((aE == aa)) | |
596 | 596 | then if ((ak == j)) | |
597 | 597 | then { | |
598 | - | let | |
599 | - | ScriptResult(WriteSet([DataEntry(ai, ((((k + "_") + Z) + "_") + | |
598 | + | let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6]) | |
599 | + | ScriptResult(WriteSet([DataEntry(ai, ((((k + "_") + Z) + "_") + bh)), DataEntry((at + "_Rating"), bn)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(at)), bj, D(E))])) | |
600 | 600 | } | |
601 | 601 | else throw(("Incorrect state. Must be: " + j)) | |
602 | 602 | else throw("Only auction customer can use this function") | |
603 | 603 | } | |
604 | 604 | ||
605 | 605 | ||
606 | - | @Verifier( | |
607 | - | func | |
606 | + | @Verifier(bq) | |
607 | + | func br () = if (sigVerify(bq.bodyBytes, bq.proofs[0], bq.senderPublicKey)) | |
608 | 608 | then { | |
609 | - | let z = | |
609 | + | let z = bq | |
610 | 610 | if ($isInstanceOf(z, "TransferTransaction")) | |
611 | 611 | then { | |
612 | - | let | |
612 | + | let bs = z | |
613 | 613 | true | |
614 | 614 | } | |
615 | 615 | else if ($isInstanceOf(z, "SetScriptTransaction")) | |
616 | 616 | then { | |
617 | - | let | |
617 | + | let bt = z | |
618 | 618 | true | |
619 | 619 | } | |
620 | 620 | else false |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 1440 | |
5 | 5 | ||
6 | 6 | let b = unit | |
7 | 7 | ||
8 | 8 | let c = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS' | |
9 | 9 | ||
10 | 10 | let d = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU' | |
11 | 11 | ||
12 | 12 | let e = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck' | |
13 | 13 | ||
14 | 14 | let f = "Opened" | |
15 | 15 | ||
16 | 16 | let g = "Suggested" | |
17 | 17 | ||
18 | 18 | let h = "Canceled" | |
19 | 19 | ||
20 | 20 | let i = "InProgress" | |
21 | 21 | ||
22 | 22 | let j = "WaitForConfirmation" | |
23 | 23 | ||
24 | 24 | let k = "Completed" | |
25 | 25 | ||
26 | 26 | let l = "Dispute" | |
27 | 27 | ||
28 | 28 | let m = "DisputeResolved" | |
29 | 29 | ||
30 | 30 | let n = "CMR" | |
31 | 31 | ||
32 | 32 | let o = "FL" | |
33 | 33 | ||
34 | 34 | let p = base58'1' | |
35 | 35 | ||
36 | 36 | let q = base58'1' | |
37 | 37 | ||
38 | 38 | let r = base58'1' | |
39 | 39 | ||
40 | 40 | let s = base58'1' | |
41 | 41 | ||
42 | 42 | let t = base58'1' | |
43 | 43 | ||
44 | 44 | func u (v) = (v + "_AuctionData") | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func w (v) = { | |
48 | 48 | let x = getString(this, v) | |
49 | 49 | let y = { | |
50 | 50 | let z = x | |
51 | 51 | if ($isInstanceOf(z, "String")) | |
52 | 52 | then { | |
53 | 53 | let y = z | |
54 | 54 | y | |
55 | 55 | } | |
56 | 56 | else throw("AuctionId was not found") | |
57 | 57 | } | |
58 | 58 | split(y, "_") | |
59 | 59 | } | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func A (v) = { | |
63 | 63 | let B = ((v + "_") + l) | |
64 | 64 | let C = getString(this, B) | |
65 | 65 | let y = { | |
66 | 66 | let z = C | |
67 | 67 | if ($isInstanceOf(z, "String")) | |
68 | 68 | then { | |
69 | 69 | let y = z | |
70 | 70 | y | |
71 | 71 | } | |
72 | 72 | else throw("Dispute data was not found") | |
73 | 73 | } | |
74 | 74 | split(y, "/") | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func D (E) = if ((E == "WAVES")) | |
79 | 79 | then b | |
80 | 80 | else if ((E == "BTC")) | |
81 | 81 | then c | |
82 | 82 | else if ((E == "EUR")) | |
83 | 83 | then d | |
84 | 84 | else if ((E == "USD")) | |
85 | 85 | then e | |
86 | 86 | else throw("Incorrect Asset Id") | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func F (G,H) = if ((H > G)) | |
90 | 90 | then G | |
91 | 91 | else throw(("Bet price must be lower than actual price. Actual price: " + toString(H))) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func I (J,K,L) = ((J - K) > L) | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func M (N,H) = { | |
98 | 98 | let O = getInteger(this, (N + "_Freezed")) | |
99 | 99 | let P = { | |
100 | 100 | let z = O | |
101 | 101 | if ($isInstanceOf(z, "Int")) | |
102 | 102 | then { | |
103 | 103 | let y = z | |
104 | 104 | y | |
105 | 105 | } | |
106 | 106 | else 0 | |
107 | 107 | } | |
108 | 108 | (P + H) | |
109 | 109 | } | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func Q (N,H) = { | |
113 | 113 | let O = getInteger(this, (N + "_Freezed")) | |
114 | 114 | let P = { | |
115 | 115 | let z = O | |
116 | 116 | if ($isInstanceOf(z, "Int")) | |
117 | 117 | then { | |
118 | 118 | let y = z | |
119 | 119 | y | |
120 | 120 | } | |
121 | 121 | else 0 | |
122 | 122 | } | |
123 | 123 | let y = (P - H) | |
124 | 124 | if ((y > 0)) | |
125 | 125 | then y | |
126 | 126 | else throw("Freezed amount couldn't be less than 0") | |
127 | 127 | } | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func R (S) = { | |
131 | 131 | let R = getString(this, (S + "_Freelancer")) | |
132 | 132 | let z = R | |
133 | 133 | if ($isInstanceOf(z, "String")) | |
134 | 134 | then { | |
135 | 135 | let y = z | |
136 | 136 | S | |
137 | 137 | } | |
138 | 138 | else throw("Only registered users can make bets") | |
139 | 139 | } | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | @Callable(T) | |
143 | 143 | func freelancerSignUp (U) = { | |
144 | 144 | let V = toBase58String(T.callerPublicKey) | |
145 | 145 | let W = getString(this, (V + "_Freelancer")) | |
146 | 146 | if (isDefined(W)) | |
147 | 147 | then throw("User already registered") | |
148 | 148 | else WriteSet([DataEntry((V + "_Freelancer"), U)]) | |
149 | 149 | } | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | ||
153 | 153 | @Callable(T) | |
154 | 154 | func clientSignUp (U) = { | |
155 | 155 | let V = toBase58String(T.callerPublicKey) | |
156 | 156 | let W = getString(this, (V + "_Client")) | |
157 | 157 | if (isDefined(W)) | |
158 | 158 | then throw("User already registered") | |
159 | 159 | else WriteSet([DataEntry((V + "_Client"), U)]) | |
160 | 160 | } | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | ||
164 | 164 | @Callable(T) | |
165 | 165 | func createAuction (X,Y,Z) = { | |
166 | 166 | let v = toBase58String(T.transactionId) | |
167 | 167 | let aa = toBase58String(T.callerPublicKey) | |
168 | 168 | let ab = extract(T.payment) | |
169 | 169 | let ac = ab.amount | |
170 | 170 | let H = if ((ac > 0)) | |
171 | 171 | then ac | |
172 | 172 | else throw("Amount must be higher then 0") | |
173 | 173 | let ad = height | |
174 | 174 | let ae = (Y * a) | |
175 | 175 | let af = (X * a) | |
176 | 176 | let N = if (!(isDefined(ab.assetId))) | |
177 | 177 | then "WAVES" | |
178 | 178 | else if ((ab.assetId == c)) | |
179 | 179 | then "BTC" | |
180 | 180 | else if ((ab.assetId == d)) | |
181 | 181 | then "EUR" | |
182 | 182 | else if ((ab.assetId == e)) | |
183 | 183 | then "USD" | |
184 | 184 | else throw("AssetId is incorrect") | |
185 | 185 | let ag = M(N, H) | |
186 | 186 | WriteSet([DataEntry(u(v), ((((((((((((((f + "_") + Z) + "_") + aa) + "_") + toString(ad)) + "_") + toString(ae)) + "_") + toString(af)) + "_") + N) + "_") + toString(H))), DataEntry((N + "_Freezed"), ag)]) | |
187 | 187 | } | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | ||
191 | 191 | @Callable(T) | |
192 | 192 | func makeBid (v,G) = { | |
193 | 193 | let S = toBase58String(T.callerPublicKey) | |
194 | 194 | let ah = height | |
195 | 195 | let ai = u(v) | |
196 | 196 | let aj = w(ai) | |
197 | 197 | let ak = aj[0] | |
198 | 198 | let Z = aj[1] | |
199 | 199 | let aa = fromBase58String(aj[2]) | |
200 | 200 | let ad = parseIntValue(aj[3]) | |
201 | 201 | let al = parseIntValue(aj[4]) | |
202 | 202 | let am = parseIntValue(aj[5]) | |
203 | 203 | let E = aj[6] | |
204 | 204 | let H = parseIntValue(aj[7]) | |
205 | 205 | let an = D(E) | |
206 | 206 | let ao = F(G, H) | |
207 | 207 | let ap = R(S) | |
208 | 208 | let aq = ((H * 3) / 100) | |
209 | 209 | let ag = Q(E, H) | |
210 | 210 | let ar = I(ah, ad, al) | |
211 | 211 | if (ar) | |
212 | 212 | then if ((ak == f)) | |
213 | 213 | then ScriptResult(WriteSet([DataEntry(ai, ((((((((((((((((((h + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + "NoFreelancer") + "_") + "NoBid")), DataEntry((E + "_Freezed"), ag)]), TransferSet([ScriptTransfer(addressFromPublicKey(aa), (H - aq), an)])) | |
214 | 214 | else if ((ak == g)) | |
215 | 215 | then { | |
216 | - | let as = aj[ | |
216 | + | let as = aj[9] | |
217 | 217 | let at = aj[8] | |
218 | - | WriteSet([DataEntry(ai, ((((((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + | |
218 | + | WriteSet([DataEntry(ai, ((((((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + at) + "_") + as))]) | |
219 | 219 | } | |
220 | 220 | else throw("Incorrect auction state") | |
221 | 221 | else if ((ak == f)) | |
222 | 222 | then WriteSet([DataEntry(((v + "_") + ap), G), DataEntry(ai, ((((((((((((((((g + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + ap))]) | |
223 | 223 | else if ((ak == g)) | |
224 | 224 | then { | |
225 | - | let | |
226 | - | let | |
227 | - | let | |
228 | - | let | |
229 | - | let | |
230 | - | let z = | |
225 | + | let as = aj[9] | |
226 | + | let au = { | |
227 | + | let av = ((v + "_") + as) | |
228 | + | let aw = getInteger(this, av) | |
229 | + | let ax = { | |
230 | + | let z = aw | |
231 | 231 | if ($isInstanceOf(z, "Int")) | |
232 | 232 | then { | |
233 | 233 | let y = z | |
234 | 234 | y | |
235 | 235 | } | |
236 | 236 | else throw("Can't find lowest bid by public key") | |
237 | 237 | } | |
238 | - | if (( | |
238 | + | if ((ax > ao)) | |
239 | 239 | then ap | |
240 | - | else | |
240 | + | else as | |
241 | 241 | } | |
242 | - | WriteSet([DataEntry(((v + "_") + S), G), DataEntry(ai, ((((((((((((((((g + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + | |
242 | + | WriteSet([DataEntry(((v + "_") + S), G), DataEntry(ai, ((((((((((((((((g + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + au))]) | |
243 | 243 | } | |
244 | 244 | else throw(((((("Incorrect jobId state. Now: " + ak) + ", must be: ") + f) + " or ") + g)) | |
245 | 245 | } | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | ||
249 | 249 | @Callable(T) | |
250 | - | func chooseFreelancer (v, | |
250 | + | func chooseFreelancer (v,ay) = { | |
251 | 251 | let S = extract(T.callerPublicKey) | |
252 | 252 | let ah = height | |
253 | 253 | let ai = u(v) | |
254 | 254 | let aj = w(ai) | |
255 | 255 | let ak = aj[0] | |
256 | 256 | let Z = aj[1] | |
257 | 257 | let aa = fromBase58String(aj[2]) | |
258 | 258 | let ad = parseIntValue(aj[3]) | |
259 | 259 | let al = parseIntValue(aj[4]) | |
260 | 260 | let am = parseIntValue(aj[5]) | |
261 | 261 | let E = aj[6] | |
262 | 262 | let H = parseIntValue(aj[7]) | |
263 | 263 | let an = D(E) | |
264 | - | let | |
265 | - | let | |
266 | - | let | |
267 | - | let z = | |
264 | + | let az = { | |
265 | + | let aA = ((v + "_") + ay) | |
266 | + | let aB = getInteger(this, aA) | |
267 | + | let z = aB | |
268 | 268 | if ($isInstanceOf(z, "Int")) | |
269 | 269 | then { | |
270 | 270 | let y = z | |
271 | 271 | y | |
272 | 272 | } | |
273 | 273 | else throw("Freelancer's bet was not found") | |
274 | 274 | } | |
275 | 275 | let aq = ((H * 3) / 100) | |
276 | - | let | |
276 | + | let aC = ((H - az) - aq) | |
277 | 277 | let ar = I(ah, ad, al) | |
278 | 278 | if ((S == aa)) | |
279 | 279 | then if (ar) | |
280 | 280 | then if ((ak == f)) | |
281 | 281 | then ScriptResult(WriteSet([DataEntry(ai, ((((((((((((((((((h + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + "NoFreelancer") + "_") + "NoBid"))]), TransferSet([ScriptTransfer(addressFromPublicKey(aa), (H - aq), an)])) | |
282 | 282 | else if ((ak == g)) | |
283 | 283 | then WriteSet([DataEntry(ai, ((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))]) | |
284 | 284 | else throw("Incorrect auction state") | |
285 | - | else ScriptResult(WriteSet([DataEntry(ai, ((((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString( | |
285 | + | else ScriptResult(WriteSet([DataEntry(ai, ((((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(az)) + "_") + ay))]), TransferSet([ScriptTransfer(addressFromPublicKey(aa), aC, an)])) | |
286 | 286 | else throw("Only auction customer can choose a freelancer") | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | ||
291 | 291 | @Callable(T) | |
292 | - | func increaseExecutionTime (v, | |
293 | - | let | |
292 | + | func increaseExecutionTime (v,aD) = { | |
293 | + | let aE = extract(T.callerPublicKey) | |
294 | 294 | let ai = u(v) | |
295 | 295 | let aj = w(ai) | |
296 | 296 | let ak = aj[0] | |
297 | 297 | let Z = aj[1] | |
298 | 298 | let aa = fromBase58String(aj[2]) | |
299 | 299 | let ad = parseIntValue(aj[3]) | |
300 | 300 | let al = parseIntValue(aj[4]) | |
301 | 301 | let am = parseIntValue(aj[5]) | |
302 | 302 | let E = aj[6] | |
303 | 303 | let H = parseIntValue(aj[7]) | |
304 | - | let | |
305 | - | let | |
306 | - | if (( | |
307 | - | then | |
304 | + | let aF = { | |
305 | + | let aG = (aD * a) | |
306 | + | if ((aG > am)) | |
307 | + | then aG | |
308 | 308 | else throw("New execution time must more than current execution time") | |
309 | 309 | } | |
310 | - | if (( | |
310 | + | if ((aE == aa)) | |
311 | 311 | then if ((ak == f)) | |
312 | 312 | then WriteSet([DataEntry(ai, ((((((((((((((ak + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))]) | |
313 | 313 | else if (if ((ak == g)) | |
314 | 314 | then true | |
315 | 315 | else (ak == i)) | |
316 | 316 | then { | |
317 | - | let | |
318 | - | WriteSet([DataEntry(ai, ((((((((((((((((ak + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + | |
317 | + | let ay = aj[7] | |
318 | + | WriteSet([DataEntry(ai, ((((((((((((((((ak + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + ay))]) | |
319 | 319 | } | |
320 | 320 | else throw("Incorrect state") | |
321 | 321 | else throw("Only customer can increase execution time") | |
322 | 322 | } | |
323 | 323 | ||
324 | 324 | ||
325 | 325 | ||
326 | 326 | @Callable(T) | |
327 | 327 | func cancelAuction (v) = { | |
328 | 328 | let ai = u(v) | |
329 | 329 | let aj = w(ai) | |
330 | 330 | let ak = aj[0] | |
331 | 331 | let Z = aj[1] | |
332 | 332 | let aa = fromBase58String(aj[2]) | |
333 | 333 | let ad = parseIntValue(aj[3]) | |
334 | 334 | let al = parseIntValue(aj[4]) | |
335 | 335 | let am = parseIntValue(aj[5]) | |
336 | 336 | let E = aj[6] | |
337 | 337 | let H = parseIntValue(aj[7]) | |
338 | - | let | |
338 | + | let aH = if ((T.callerPublicKey == aa)) | |
339 | 339 | then true | |
340 | 340 | else throw("Auction can be canceled only by owner.") | |
341 | 341 | if ((ak == f)) | |
342 | 342 | then WriteSet([DataEntry(ai, ((((((((((((((h + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))]) | |
343 | 343 | else throw("Incorrect auction state.") | |
344 | 344 | } | |
345 | 345 | ||
346 | 346 | ||
347 | 347 | ||
348 | 348 | @Callable(T) | |
349 | 349 | func openDispute (v) = { | |
350 | - | let | |
350 | + | let aE = extract(T.callerPublicKey) | |
351 | 351 | let ai = u(v) | |
352 | 352 | let aj = w(ai) | |
353 | 353 | let ak = aj[0] | |
354 | 354 | let Z = aj[1] | |
355 | 355 | let aa = fromBase58String(aj[2]) | |
356 | 356 | let ad = parseIntValue(aj[3]) | |
357 | 357 | let al = parseIntValue(aj[4]) | |
358 | 358 | let am = parseIntValue(aj[5]) | |
359 | 359 | let E = aj[6] | |
360 | 360 | let H = parseIntValue(aj[7]) | |
361 | - | let | |
362 | - | if (if (( | |
361 | + | let at = fromBase58String(aj[8]) | |
362 | + | if (if ((aE == aa)) | |
363 | 363 | then true | |
364 | - | else ( | |
364 | + | else (aE == at)) | |
365 | 365 | then { | |
366 | - | let | |
367 | - | WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + | |
366 | + | let aI = "1" | |
367 | + | WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + aI)), DataEntry((v + "_Dispute"), "0")]) | |
368 | 368 | } | |
369 | 369 | else throw("Only customer and freelancer can open dispute") | |
370 | 370 | } | |
371 | 371 | ||
372 | 372 | ||
373 | 373 | ||
374 | 374 | @Callable(T) | |
375 | - | func voteDispute (v, | |
375 | + | func voteDispute (v,aJ) = { | |
376 | 376 | let ai = u(v) | |
377 | 377 | let aj = w(ai) | |
378 | 378 | let ak = aj[0] | |
379 | 379 | let Z = aj[1] | |
380 | 380 | let aa = fromBase58String(aj[2]) | |
381 | 381 | let ad = parseIntValue(aj[3]) | |
382 | 382 | let al = parseIntValue(aj[4]) | |
383 | 383 | let am = parseIntValue(aj[5]) | |
384 | 384 | let E = aj[6] | |
385 | 385 | let H = parseIntValue(aj[7]) | |
386 | - | let | |
387 | - | let | |
388 | - | let | |
386 | + | let at = fromBase58String(aj[8]) | |
387 | + | let aK = ((H * 3) / 100) | |
388 | + | let aL = if ((ak == l)) | |
389 | 389 | then true | |
390 | 390 | else throw(("Incorrect state. Must be: " + l)) | |
391 | - | let | |
391 | + | let aM = if (if ((aJ == n)) | |
392 | 392 | then true | |
393 | - | else ( | |
394 | - | then | |
393 | + | else (aJ == o)) | |
394 | + | then aJ | |
395 | 395 | else throw(((("Vote is incorrect. Must be: " + n) + " or ") + o)) | |
396 | - | let | |
396 | + | let aN = if (if (if (if (if ((T.callerPublicKey == p)) | |
397 | 397 | then true | |
398 | 398 | else (T.callerPublicKey == q)) | |
399 | 399 | then true | |
400 | 400 | else (T.callerPublicKey == r)) | |
401 | 401 | then true | |
402 | 402 | else (T.callerPublicKey == s)) | |
403 | 403 | then true | |
404 | 404 | else (T.callerPublicKey == t)) | |
405 | 405 | then toBase58String(T.callerPublicKey) | |
406 | 406 | else throw("You have no rights for disputes resolving") | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | let z = | |
407 | + | let aO = { | |
408 | + | let aP = ((v + "_") + l) | |
409 | + | let aQ = getString(this, aP) | |
410 | + | let z = aQ | |
411 | 411 | if ($isInstanceOf(z, "String")) | |
412 | 412 | then { | |
413 | 413 | let y = z | |
414 | 414 | y | |
415 | 415 | } | |
416 | 416 | else throw("Cannot find data of dispute in storage") | |
417 | 417 | } | |
418 | - | let | |
419 | - | let | |
420 | - | if (( | |
418 | + | let aR = split(aO, "/") | |
419 | + | let aS = aR[0] | |
420 | + | if ((aS == "4")) | |
421 | 421 | then { | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
422 | + | let aT = split(aR[1], "_") | |
423 | + | let aU = split(aR[2], "_") | |
424 | + | let aV = if ((aN == aT[0])) | |
425 | 425 | then true | |
426 | - | else ( | |
427 | - | if ( | |
426 | + | else (aN == aT[1]) | |
427 | + | if (aV) | |
428 | 428 | then throw("You already voted") | |
429 | 429 | else { | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
434 | - | let | |
435 | - | let | |
430 | + | let aW = "5" | |
431 | + | let aX = ((aR[1] + "_") + aN) | |
432 | + | let aY = ((aR[2] + "_") + aM) | |
433 | + | let aZ = ((((aW + "/") + aX) + "/") + aY) | |
434 | + | let ba = { | |
435 | + | let bb = if ((aU[0] == n)) | |
436 | 436 | then 1 | |
437 | 437 | else 0 | |
438 | - | let | |
438 | + | let bc = if ((aU[1] == n)) | |
439 | 439 | then 1 | |
440 | 440 | else 0 | |
441 | - | let | |
441 | + | let bd = if ((aU[2] == n)) | |
442 | 442 | then 1 | |
443 | 443 | else 0 | |
444 | - | let | |
444 | + | let be = if ((aU[3] == n)) | |
445 | 445 | then 1 | |
446 | 446 | else 0 | |
447 | - | let | |
447 | + | let bf = if ((aM == n)) | |
448 | 448 | then 1 | |
449 | 449 | else 0 | |
450 | - | let | |
451 | - | if (( | |
450 | + | let bg = ((((bb + bc) + bd) + be) + bf) | |
451 | + | if ((bg > 2)) | |
452 | 452 | then n | |
453 | 453 | else o | |
454 | 454 | } | |
455 | - | let | |
456 | - | let | |
455 | + | let bh = ((((((((((((((Z + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + toBase58String(at)) | |
456 | + | let bi = if ((ba == n)) | |
457 | 457 | then aa | |
458 | - | else | |
459 | - | let | |
460 | - | then (H - | |
461 | - | else ((H - | |
462 | - | ScriptResult(WriteSet([DataEntry(u(v), ((m + "_") + | |
458 | + | else at | |
459 | + | let bj = if ((bi == aa)) | |
460 | + | then (H - aK) | |
461 | + | else ((H - aK) - aK) | |
462 | + | ScriptResult(WriteSet([DataEntry(u(v), ((m + "_") + bh)), DataEntry(((v + "_") + l), aZ)]), TransferSet([ScriptTransfer(addressFromPublicKey(bi), bj, D(E))])) | |
463 | 463 | } | |
464 | 464 | } | |
465 | 465 | else { | |
466 | - | let | |
466 | + | let aZ = if ((aS == "0")) | |
467 | 467 | then { | |
468 | - | let | |
469 | - | let | |
470 | - | let | |
471 | - | let | |
472 | - | | |
468 | + | let aW = "1" | |
469 | + | let aX = aN | |
470 | + | let aY = aM | |
471 | + | let bh = ((((aW + "/") + aX) + "/") + aY) | |
472 | + | bh | |
473 | 473 | } | |
474 | - | else if (( | |
474 | + | else if ((aS == "1")) | |
475 | 475 | then { | |
476 | - | let | |
477 | - | let | |
478 | - | let | |
479 | - | if ( | |
476 | + | let bk = aR[1] | |
477 | + | let bb = aR[2] | |
478 | + | let aV = (aN == bk) | |
479 | + | if (aV) | |
480 | 480 | then throw("You already voted") | |
481 | 481 | else { | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | | |
482 | + | let aW = "1" | |
483 | + | let aX = (bk + aN) | |
484 | + | let aY = (bb + aM) | |
485 | + | let bh = ((((aW + "/") + aX) + "/") + aY) | |
486 | + | bh | |
487 | 487 | } | |
488 | 488 | } | |
489 | - | else if (( | |
489 | + | else if ((aS == "2")) | |
490 | 490 | then { | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
491 | + | let aT = split(aR[1], "_") | |
492 | + | let aU = split(aR[2], "_") | |
493 | + | let aV = if ((aN == aT[0])) | |
494 | 494 | then true | |
495 | - | else ( | |
496 | - | if ( | |
495 | + | else (aN == aT[1]) | |
496 | + | if (aV) | |
497 | 497 | then throw("You already voted") | |
498 | 498 | else { | |
499 | - | let | |
500 | - | let | |
501 | - | let | |
502 | - | let | |
503 | - | | |
499 | + | let aW = "3" | |
500 | + | let aX = ((aR[1] + "_") + aN) | |
501 | + | let aY = ((aR[2] + "_") + aM) | |
502 | + | let bh = ((((aW + "/") + aX) + "/") + aY) | |
503 | + | bh | |
504 | 504 | } | |
505 | 505 | } | |
506 | - | else if (( | |
506 | + | else if ((aS == "3")) | |
507 | 507 | then { | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
508 | + | let aT = split(aR[1], "_") | |
509 | + | let aU = split(aR[2], "_") | |
510 | + | let aV = if (if ((aN == aT[0])) | |
511 | 511 | then true | |
512 | - | else ( | |
512 | + | else (aN == aT[1])) | |
513 | 513 | then true | |
514 | - | else ( | |
515 | - | if ( | |
514 | + | else (aN == aT[2]) | |
515 | + | if (aV) | |
516 | 516 | then throw("You already voted") | |
517 | 517 | else { | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | | |
518 | + | let aW = "4" | |
519 | + | let aX = ((aR[1] + "_") + aN) | |
520 | + | let aY = ((aR[2] + "_") + aM) | |
521 | + | let bh = ((((aW + "/") + aX) + "/") + aY) | |
522 | + | bh | |
523 | 523 | } | |
524 | 524 | } | |
525 | 525 | else throw("Dispute has been already resolved") | |
526 | - | WriteSet([DataEntry(((v + "_") + l), | |
526 | + | WriteSet([DataEntry(((v + "_") + l), aZ)]) | |
527 | 527 | } | |
528 | 528 | } | |
529 | 529 | ||
530 | 530 | ||
531 | 531 | ||
532 | 532 | @Callable(T) | |
533 | 533 | func workHandOver (v) = { | |
534 | 534 | let S = extract(T.callerPublicKey) | |
535 | 535 | let ai = u(v) | |
536 | 536 | let aj = w(ai) | |
537 | 537 | let ak = aj[0] | |
538 | 538 | let Z = aj[1] | |
539 | 539 | let aa = fromBase58String(aj[2]) | |
540 | 540 | let ad = parseIntValue(aj[3]) | |
541 | 541 | let al = parseIntValue(aj[4]) | |
542 | 542 | let am = parseIntValue(aj[5]) | |
543 | 543 | let E = aj[6] | |
544 | 544 | let H = parseIntValue(aj[7]) | |
545 | - | let | |
545 | + | let at = fromBase58String(aj[8]) | |
546 | 546 | let J = height | |
547 | - | let | |
547 | + | let bl = if ((S == at)) | |
548 | 548 | then S | |
549 | 549 | else throw("Only a freelancer can indicate that the work is done") | |
550 | - | let | |
550 | + | let bm = ((J - ad) > am) | |
551 | 551 | if ((ak == i)) | |
552 | - | then if ( | |
552 | + | then if (bm) | |
553 | 553 | then { | |
554 | - | let | |
555 | - | WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + | |
554 | + | let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6]) | |
555 | + | WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + bh))]) | |
556 | 556 | } | |
557 | 557 | else { | |
558 | - | let | |
559 | - | WriteSet([DataEntry(ai, ((((j + "_") + Z) + "_") + | |
558 | + | let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6]) | |
559 | + | WriteSet([DataEntry(ai, ((((j + "_") + Z) + "_") + bh))]) | |
560 | 560 | } | |
561 | 561 | else throw("Auction state is incorrect") | |
562 | 562 | } | |
563 | 563 | ||
564 | 564 | ||
565 | 565 | ||
566 | 566 | @Callable(T) | |
567 | 567 | func acceptWork (v) = { | |
568 | 568 | let ai = u(v) | |
569 | 569 | let aj = w(ai) | |
570 | 570 | let ak = aj[0] | |
571 | 571 | let Z = aj[1] | |
572 | 572 | let aa = fromBase58String(aj[2]) | |
573 | 573 | let ad = parseIntValue(aj[3]) | |
574 | 574 | let al = parseIntValue(aj[4]) | |
575 | 575 | let am = parseIntValue(aj[5]) | |
576 | 576 | let E = aj[6] | |
577 | 577 | let H = parseIntValue(aj[7]) | |
578 | - | let | |
579 | - | let | |
578 | + | let at = aj[2] | |
579 | + | let aE = extract(T.callerPublicKey) | |
580 | 580 | let aq = ((H * 3) / 100) | |
581 | - | let | |
582 | - | let | |
583 | - | let | |
584 | - | let | |
585 | - | let z = | |
581 | + | let bj = (H - aq) | |
582 | + | let bn = { | |
583 | + | let bo = getInteger(this, (at + "_Rating")) | |
584 | + | let bp = { | |
585 | + | let z = bo | |
586 | 586 | if ($isInstanceOf(z, "Int")) | |
587 | 587 | then { | |
588 | 588 | let y = z | |
589 | 589 | y | |
590 | 590 | } | |
591 | 591 | else 0 | |
592 | 592 | } | |
593 | - | ( | |
593 | + | (bp + 1) | |
594 | 594 | } | |
595 | - | if (( | |
595 | + | if ((aE == aa)) | |
596 | 596 | then if ((ak == j)) | |
597 | 597 | then { | |
598 | - | let | |
599 | - | ScriptResult(WriteSet([DataEntry(ai, ((((k + "_") + Z) + "_") + | |
598 | + | let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6]) | |
599 | + | ScriptResult(WriteSet([DataEntry(ai, ((((k + "_") + Z) + "_") + bh)), DataEntry((at + "_Rating"), bn)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(at)), bj, D(E))])) | |
600 | 600 | } | |
601 | 601 | else throw(("Incorrect state. Must be: " + j)) | |
602 | 602 | else throw("Only auction customer can use this function") | |
603 | 603 | } | |
604 | 604 | ||
605 | 605 | ||
606 | - | @Verifier( | |
607 | - | func | |
606 | + | @Verifier(bq) | |
607 | + | func br () = if (sigVerify(bq.bodyBytes, bq.proofs[0], bq.senderPublicKey)) | |
608 | 608 | then { | |
609 | - | let z = | |
609 | + | let z = bq | |
610 | 610 | if ($isInstanceOf(z, "TransferTransaction")) | |
611 | 611 | then { | |
612 | - | let | |
612 | + | let bs = z | |
613 | 613 | true | |
614 | 614 | } | |
615 | 615 | else if ($isInstanceOf(z, "SetScriptTransaction")) | |
616 | 616 | then { | |
617 | - | let | |
617 | + | let bt = z | |
618 | 618 | true | |
619 | 619 | } | |
620 | 620 | else false | |
621 | 621 | } | |
622 | 622 | else false | |
623 | 623 |
github/deemru/w8io/169f3d6 161.29 ms ◑