tx · 3qMjexYts2QBnGdDhs9mdLQV28o8Vvfwj3FD45NJEnMd

3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2:  -0.01500000 Waves

2019.09.27 14:43 [694751] smart account 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2 > SELF 0.00000000 Waves

{ "type": 13, "id": "3qMjexYts2QBnGdDhs9mdLQV28o8Vvfwj3FD45NJEnMd", "fee": 1500000, "feeAssetId": null, "timestamp": 1569584675050, "version": 1, "sender": "3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2", "senderPublicKey": "8y2Uc9uYf5gRD6Dzm1aC73zYe3LZvtVDUVAnAhNdN2mg", "proofs": [ "bBCGgQRnZbRdZvgcU31UcUDJHXRp77XLUxAs2CkDzwiCCeUq6XqYk6oHgKUvcxLArcRfHtezQxymJwfDe9xtG8g" ], "script": "base64:AAIDAAAAAAAAAD8IARIDCgEIEgMKAQgSBQoDAQEIEgQKAggBEgQKAggIEgQKAggBEgMKAQgSAwoBCBIECgIICBIDCgEIEgMKAQgAAAAcAAAAAANkYXkAAAAAAAAABaAAAAAABVdBVkVTBQAAAAR1bml0AAAAAAR3QlRDAQAAACBs+mr/xe2qjAt/tSqT0qIML4KC23R6BIxT+/0TH3Og/wAAAAAEd0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABHdVU0QBAAAAIN0cvQHwz3UFMHgHsqi2OJjRRd1cH7ozWuNAb/pmWXD9AAAAAAlzdGF0ZU9wZW4CAAAABk9wZW5lZAAAAAAOc3RhdGVTdWdnZXN0ZWQCAAAACVN1Z2dlc3RlZAAAAAALc3RhdGVDYW5jZWwCAAAACENhbmNlbGVkAAAAAA9zdGF0ZUluUHJvZ3Jlc3MCAAAACkluUHJvZ3Jlc3MAAAAAEXN0YXRlV2FpdDRDb25maXJtAgAAABNXYWl0Rm9yQ29uZmlybWF0aW9uAAAAAA1zdGF0ZUNvbXBsZXRlAgAAAAlDb21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AAAEGF1Y3Rpb25Bc3NldElkNTgFAAAAA25pbAkAAAIAAAABCQABLAAAAAICAAAAGkluY29ycmVjdCBzdGF0ZS4gTXVzdCBiZTogBQAAABFzdGF0ZVdhaXQ0Q29uZmlybQkAAAIAAAABAgAAACtPbmx5IGF1Y3Rpb24gY3VzdG9tZXIgY2FuIHVzZSB0aGlzIGZ1bmN0aW9uAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAA3N0eAUAAAAHJG1hdGNoMAYHB5BkpNE=", "chainId": 84, "height": 694751, "spentComplexity": 0 } View: original | compacted Prev: FgtBeHs5LpX3qTrV2Cim5CQ2PryMgAaToPSjLfzxth8x Next: XJKBJEN7mYa7WGJdKWiHEyn5ZLSrspHmaUDL4goW6au Diff:
OldNewDifferences
178178 then "USD"
179179 else throw("AssetId is incorrect")
180180 let ae = J(K, L)
181- WriteSet([DataEntry((v + "_State"), f), DataEntry((v + "_Info"), X), DataEntry((v + "_Client"), Y), DataEntry((v + "_AuctionStart"), ab), DataEntry((v + "_AuctionDuration"), ac), DataEntry((v + "JobPerformance"), ad), DataEntry((v + "_AssetName"), K), DataEntry((v + "_Price"), L), DataEntry((K + "_Freezed"), ae)])
181+ WriteSet([DataEntry((v + "_State"), f), DataEntry((v + "_Info"), X), DataEntry((v + "_Client"), Y), DataEntry((v + "_AuctionStart"), ab), DataEntry((v + "_AuctionDuration"), ac), DataEntry((v + "_JobPerformance"), ad), DataEntry((v + "_AssetName"), K), DataEntry((v + "_Price"), L), DataEntry((K + "_Freezed"), ae)])
182182 }
183183
184184
483483 @Callable(R)
484484 func increaseExecutionTime (v,aM) = {
485485 let aN = extract(R.callerPublicKey)
486- let aO = u(v)
487- let aP = w(aO)
488- let ah = aP[0]
486+ let ah = {
487+ let ai = getString(this, (v + "_State"))
488+ let z = ai
489+ if ($isInstanceOf(z, "String"))
490+ then {
491+ let y = z
492+ y
493+ }
494+ else throw("Auction State was not found")
495+ }
489496 let Y = {
490497 let ak = getString(this, (v + "_Client"))
491498 let y = {
499506 }
500507 fromBase58String(y)
501508 }
502- let ab = parseIntValue(aP[3])
503- let am = parseIntValue(aP[4])
504- let ao = parseIntValue(aP[5])
505- let E = aP[6]
506- let L = parseIntValue(aP[7])
507- let aQ = {
508- let aR = (aM * a)
509- if ((aR > ao))
510- then aR
509+ let aO = {
510+ let ap = getInteger(this, (v + "JobPerformance"))
511+ let z = ap
512+ if ($isInstanceOf(z, "Int"))
513+ then {
514+ let y = z
515+ y
516+ }
517+ else throw("Auction job performance time was not found")
518+ }
519+ let aP = {
520+ let aQ = (aM * a)
521+ if ((aQ > aO))
522+ then aQ
511523 else throw("New execution time must more than current execution time")
512524 }
513525 if ((aN == Y))
514- then if ((ah == f))
515- then WriteSet([DataEntry(aO, ((((((((((((ah + "_") + toBase58String(Y)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)))])
516- else if (if ((ah == g))
517- then true
518- else (ah == i))
519- then {
520- let aG = aP[7]
521- WriteSet([DataEntry(aO, ((((((((((((((ah + "_") + toBase58String(Y)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)) + "_") + aG))])
522- }
523- else throw("Incorrect state")
524- else throw("Only customer can increase execution time")
526+ then if (if (if ((ah == f))
527+ then true
528+ else (ah == g))
529+ then true
530+ else (ah == i))
531+ then WriteSet([DataEntry((v + "JobPerformance"), aP)])
532+ else throw("Incorrect state")
533+ else throw("Only Client can increase execution time")
525534 }
526535
527536
528537
529538 @Callable(R)
530539 func cancelAuction (v) = {
531- let aO = u(v)
532- let aP = w(aO)
533- let ah = aP[0]
534- let X = aP[1]
535- let aS = fromBase58String(aP[2])
536- let ab = parseIntValue(aP[3])
537- let am = parseIntValue(aP[4])
538- let ao = parseIntValue(aP[5])
539- let E = aP[6]
540- let L = parseIntValue(aP[7])
541- let aT = if ((R.callerPublicKey == aS))
540+ let Q = extract(R.callerPublicKey)
541+ let ah = {
542+ let ai = getString(this, (v + "_State"))
543+ let z = ai
544+ if ($isInstanceOf(z, "String"))
545+ then {
546+ let y = z
547+ y
548+ }
549+ else throw("Auction State was not found")
550+ }
551+ let Y = {
552+ let ak = getString(this, (v + "_Client"))
553+ let y = {
554+ let z = ak
555+ if ($isInstanceOf(z, "String"))
556+ then {
557+ let y = z
558+ y
559+ }
560+ else throw("Auction Client was not found")
561+ }
562+ fromBase58String(y)
563+ }
564+ let aR = if ((Q == Y))
542565 then true
543566 else throw("Auction can be canceled only by owner.")
544- if ((ah == f))
545- then WriteSet([DataEntry(aO, ((((((((((((((h + "_") + X) + "_") + toBase58String(aS)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)))])
546- else throw("Incorrect auction state.")
567+ if (aR)
568+ then if ((ah == f))
569+ then WriteSet([DataEntry((v + "_State"), h)])
570+ else throw("Incorrect auction state.")
571+ else throw("Only Client can cancel auction")
547572 }
548573
549574
551576 @Callable(R)
552577 func openDispute (v) = {
553578 let aN = extract(R.callerPublicKey)
554- let aO = u(v)
555- let aP = w(aO)
556- let ah = aP[0]
557- let X = aP[1]
558- let aS = fromBase58String(aP[2])
559- let ab = parseIntValue(aP[3])
560- let am = parseIntValue(aP[4])
561- let ao = parseIntValue(aP[5])
562- let E = aP[6]
563- let L = parseIntValue(aP[7])
564- let aU = fromBase58String(aP[8])
565- if (if ((aN == aS))
579+ let ah = {
580+ let ai = getString(this, (v + "_State"))
581+ let z = ai
582+ if ($isInstanceOf(z, "String"))
583+ then {
584+ let y = z
585+ y
586+ }
587+ else throw("Auction State was not found")
588+ }
589+ let Y = {
590+ let ak = getString(this, (v + "_Client"))
591+ let y = {
592+ let z = ak
593+ if ($isInstanceOf(z, "String"))
594+ then {
595+ let y = z
596+ y
597+ }
598+ else throw("Auction Client was not found")
599+ }
600+ fromBase58String(y)
601+ }
602+ let aS = {
603+ let ak = getString(this, (v + "_Freelancer"))
604+ let y = {
605+ let z = ak
606+ if ($isInstanceOf(z, "String"))
607+ then {
608+ let y = z
609+ y
610+ }
611+ else throw("Auction Client was not found")
612+ }
613+ fromBase58String(y)
614+ }
615+ if (if ((ah == f))
566616 then true
567- else (aN == aU))
568- then {
569- let aV = "1"
570- WriteSet([DataEntry(aO, ((((l + "_") + X) + "_") + aV)), DataEntry((v + "_Dispute"), "0")])
571- }
572- else throw("Only customer and freelancer can open dispute")
617+ else (ah == g))
618+ then throw("Incorrect auction state for dispute opening")
619+ else if (if ((aN == Y))
620+ then true
621+ else (aN == aS))
622+ then WriteSet([DataEntry((v + "_State"), l), DataEntry((v + "_DisputeVotes"), 0)])
623+ else throw("Only customer and freelancer can open dispute")
573624 }
574625
575626
576627
577628 @Callable(R)
578-func voteDispute (v,aW) = {
579- let aO = u(v)
580- let aP = w(aO)
581- let ah = aP[0]
582- let X = aP[1]
583- let aS = fromBase58String(aP[2])
584- let ab = parseIntValue(aP[3])
585- let am = parseIntValue(aP[4])
586- let ao = parseIntValue(aP[5])
587- let E = aP[6]
588- let L = parseIntValue(aP[7])
589- let aU = fromBase58String(aP[8])
590- let aX = ((L * 3) / 100)
591- let aY = if ((ah == l))
592- then true
593- else throw(("Incorrect state. Must be: " + l))
594- let aZ = if (if ((aW == n))
595- then true
596- else (aW == o))
597- then aW
598- else throw(((("Vote is incorrect. Must be: " + n) + " or ") + o))
599- let ba = if (if (if (if (if ((R.callerPublicKey == p))
600- then true
601- else (R.callerPublicKey == q))
602- then true
603- else (R.callerPublicKey == r))
604- then true
605- else (R.callerPublicKey == s))
606- then true
607- else (R.callerPublicKey == t))
608- then toBase58String(R.callerPublicKey)
609- else throw("You have no rights for disputes resolving")
610- let bb = {
611- let bc = ((v + "_") + l)
612- let bd = getString(this, bc)
613- let z = bd
629+func voteDispute (v,aT) = {
630+ let Q = extract(R.callerPublicKey)
631+ let ah = {
632+ let ai = getString(this, (v + "_State"))
633+ let z = ai
614634 if ($isInstanceOf(z, "String"))
615635 then {
616636 let y = z
617637 y
618638 }
619- else throw("Cannot find data of dispute in storage")
639+ else throw("Auction State was not found")
620640 }
621- let be = split(bb, "/")
622- let bf = be[0]
623- if ((bf == "4"))
624- then {
625- let bg = split(be[1], "_")
626- let bh = split(be[2], "_")
627- let bi = if ((ba == bg[0]))
628- then true
629- else (ba == bg[1])
630- if (bi)
631- then throw("You already voted")
632- else {
633- let bj = "5"
634- let bk = ((be[1] + "_") + ba)
635- let bl = ((be[2] + "_") + aZ)
636- let bm = ((((bj + "/") + bk) + "/") + bl)
637- let bn = {
638- let bo = if ((bh[0] == n))
639- then 1
640- else 0
641- let bp = if ((bh[1] == n))
642- then 1
643- else 0
644- let bq = if ((bh[2] == n))
645- then 1
646- else 0
647- let br = if ((bh[3] == n))
648- then 1
649- else 0
650- let bs = if ((aZ == n))
651- then 1
652- else 0
653- let bt = ((((bo + bp) + bq) + br) + bs)
654- if ((bt > 2))
655- then n
656- else o
657- }
658- let bu = ((((((((((((((X + "_") + toBase58String(aS)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)) + "_") + toBase58String(aU))
659- let bv = if ((bn == n))
660- then aS
661- else aU
662- let bw = if ((bv == aS))
663- then (L - aX)
664- else ((L - aX) - aX)
665- ScriptResult(WriteSet([DataEntry(u(v), ((m + "_") + bu)), DataEntry(((v + "_") + l), bm)]), TransferSet([ScriptTransfer(addressFromPublicKey(bv), bw, D(E))]))
641+ let Y = {
642+ let ak = getString(this, (v + "_Client"))
643+ let y = {
644+ let z = ak
645+ if ($isInstanceOf(z, "String"))
646+ then {
647+ let y = z
648+ y
666649 }
650+ else throw("Auction Client was not found")
667651 }
668- else {
669- let bm = if ((bf == "0"))
652+ fromBase58String(y)
653+ }
654+ let E = {
655+ let aq = getString(this, (v + "_AssetName"))
656+ let z = aq
657+ if ($isInstanceOf(z, "String"))
658+ then {
659+ let y = z
660+ y
661+ }
662+ else throw("Auction asset name was not found")
663+ }
664+ let L = {
665+ let ar = getInteger(this, (v + "_Price"))
666+ let z = ar
667+ if ($isInstanceOf(z, "Int"))
668+ then {
669+ let y = z
670+ y
671+ }
672+ else throw("Auction price was not found")
673+ }
674+ let aS = {
675+ let ak = getString(this, (v + "_Freelancer"))
676+ let y = {
677+ let z = ak
678+ if ($isInstanceOf(z, "String"))
670679 then {
671- let bj = "1"
672- let bk = ba
673- let bl = aZ
674- let bu = ((((bj + "/") + bk) + "/") + bl)
675- bu
680+ let y = z
681+ y
676682 }
677- else if ((bf == "1"))
678- then {
679- let bx = be[1]
680- let bo = be[2]
681- let bi = (ba == bx)
682- if (bi)
683- then throw("You already voted")
684- else {
685- let bj = "1"
686- let bk = (bx + ba)
687- let bl = (bo + aZ)
688- let bu = ((((bj + "/") + bk) + "/") + bl)
689- bu
690- }
691- }
692- else if ((bf == "2"))
693- then {
694- let bg = split(be[1], "_")
695- let bh = split(be[2], "_")
696- let bi = if ((ba == bg[0]))
697- then true
698- else (ba == bg[1])
699- if (bi)
700- then throw("You already voted")
701- else {
702- let bj = "3"
703- let bk = ((be[1] + "_") + ba)
704- let bl = ((be[2] + "_") + aZ)
705- let bu = ((((bj + "/") + bk) + "/") + bl)
706- bu
707- }
708- }
709- else if ((bf == "3"))
710- then {
711- let bg = split(be[1], "_")
712- let bh = split(be[2], "_")
713- let bi = if (if ((ba == bg[0]))
714- then true
715- else (ba == bg[1]))
716- then true
717- else (ba == bg[2])
718- if (bi)
719- then throw("You already voted")
720- else {
721- let bj = "4"
722- let bk = ((be[1] + "_") + ba)
723- let bl = ((be[2] + "_") + aZ)
724- let bu = ((((bj + "/") + bk) + "/") + bl)
725- bu
726- }
727- }
728- else throw("Dispute has been already resolved")
729- WriteSet([DataEntry(((v + "_") + l), bm)])
683+ else throw("Auction Client was not found")
730684 }
685+ fromBase58String(y)
686+ }
687+ let aU = ((L * 3) / 100)
688+ let as = D(E)
689+ let aV = if (if (if (if (if ((Q == p))
690+ then true
691+ else (Q == q))
692+ then true
693+ else (Q == r))
694+ then true
695+ else (Q == s))
696+ then true
697+ else (Q == t))
698+ then toBase58String(Q)
699+ else throw("Only defined ambassadors can vote in disputes")
700+ let aW = if (if ((aT == n))
701+ then true
702+ else (aT == o))
703+ then aT
704+ else throw(((("Vote is incorrect. Must be: " + n) + " or ") + o))
705+ let aX = {
706+ let aY = ((v + "_DiputeVote_") + aV)
707+ let aZ = getString(this, aY)
708+ let z = aZ
709+ if ($isInstanceOf(z, "String"))
710+ then {
711+ let y = z
712+ throw("User already voted")
713+ }
714+ else aV
715+ }
716+ let ba = {
717+ let bb = getInteger(this, (v + "_DisputeVotes"))
718+ let z = bb
719+ if ($isInstanceOf(z, "Int"))
720+ then {
721+ let y = z
722+ y
723+ }
724+ else throw("VotesNumber was not found")
725+ }
726+ if ((ah == l))
727+ then if ((ba == 4))
728+ then {
729+ let bc = {
730+ let bd = getString(this, ((v + "_DiputeVote_") + toBase58String(p)))
731+ let be = getString(this, ((v + "_DiputeVote_") + toBase58String(q)))
732+ let bf = getString(this, ((v + "_DiputeVote_") + toBase58String(r)))
733+ let bg = getString(this, ((v + "_DiputeVote_") + toBase58String(s)))
734+ let bh = getString(this, ((v + "_DiputeVote_") + toBase58String(t)))
735+ let bi = if ((bd == n))
736+ then 1
737+ else 0
738+ let bj = if ((be == n))
739+ then 1
740+ else 0
741+ let bk = if ((bf == n))
742+ then 1
743+ else 0
744+ let bl = if ((bg == n))
745+ then 1
746+ else 0
747+ let bm = if ((bh == n))
748+ then 1
749+ else 0
750+ let bn = if ((aW == n))
751+ then 1
752+ else 0
753+ let bo = (((((bi + bj) + bk) + bl) + bm) + bn)
754+ if ((bo > 2))
755+ then Y
756+ else aS
757+ }
758+ let bp = if ((bc == Y))
759+ then L
760+ else (L - aU)
761+ ScriptResult(WriteSet([DataEntry((v + "_DisputeVotes"), (ba + 1)), DataEntry((v + "_State"), m), DataEntry(((v + "_DiputeVote_") + aV), aW)]), TransferSet([ScriptTransfer(addressFromPublicKey(bc), bp, as)]))
762+ }
763+ else WriteSet([DataEntry((v + "_DisputeVotes"), (ba + 1)), DataEntry(((v + "_DiputeVote_") + aV), aW)])
764+ else throw(("Incorrect state. Must be: " + l))
731765 }
732766
733767
735769 @Callable(R)
736770 func workHandOver (v) = {
737771 let Q = extract(R.callerPublicKey)
738- let aO = u(v)
739- let aP = w(aO)
740- let ah = aP[0]
741- let X = aP[1]
742- let aS = fromBase58String(aP[2])
743- let ab = parseIntValue(aP[3])
744- let am = parseIntValue(aP[4])
745- let ao = parseIntValue(aP[5])
746- let E = aP[6]
747- let L = parseIntValue(aP[7])
748- let aU = fromBase58String(aP[8])
772+ let ah = {
773+ let ai = getString(this, (v + "_State"))
774+ let z = ai
775+ if ($isInstanceOf(z, "String"))
776+ then {
777+ let y = z
778+ y
779+ }
780+ else throw("Auction State was not found")
781+ }
782+ let ab = {
783+ let al = getInteger(this, (v + "_AuctionStart"))
784+ let z = al
785+ if ($isInstanceOf(z, "Int"))
786+ then {
787+ let y = z
788+ y
789+ }
790+ else throw("Auction Start time was not found")
791+ }
792+ let am = {
793+ let an = getInteger(this, (v + "_AuctionDuration"))
794+ let z = an
795+ if ($isInstanceOf(z, "Int"))
796+ then {
797+ let y = z
798+ y
799+ }
800+ else throw("Auction duration time was not found")
801+ }
802+ let aO = {
803+ let ap = getInteger(this, (v + "JobPerformance"))
804+ let z = ap
805+ if ($isInstanceOf(z, "Int"))
806+ then {
807+ let y = z
808+ y
809+ }
810+ else throw("Auction job performance time was not found")
811+ }
812+ let aS = {
813+ let ak = getString(this, (v + "_Freelancer"))
814+ let y = {
815+ let z = ak
816+ if ($isInstanceOf(z, "String"))
817+ then {
818+ let y = z
819+ y
820+ }
821+ else throw("Auction Client was not found")
822+ }
823+ fromBase58String(y)
824+ }
749825 let G = height
750- let by = if ((Q == aU))
826+ let bq = if ((Q == aS))
751827 then Q
752828 else throw("Only a freelancer can indicate that the work is done")
753- let bz = ((G - ab) > ao)
829+ let br = ((G - ab) > aO)
754830 if ((ah == i))
755- then if (bz)
756- then {
757- let bu = ((((((((((aP[1] + "_") + aP[2]) + "_") + aP[3]) + "_") + aP[4]) + "_") + aP[5]) + "_") + aP[6])
758- WriteSet([DataEntry(aO, ((((l + "_") + X) + "_") + bu))])
759- }
760- else {
761- let bu = ((((((((((aP[1] + "_") + aP[2]) + "_") + aP[3]) + "_") + aP[4]) + "_") + aP[5]) + "_") + aP[6])
762- WriteSet([DataEntry(aO, ((((j + "_") + X) + "_") + bu))])
763- }
831+ then if (br)
832+ then WriteSet([DataEntry((v + "_State"), l), DataEntry((v + "_DisputeVotes"), "0")])
833+ else WriteSet([DataEntry((v + "_State"), j)])
764834 else throw("Auction state is incorrect")
765835 }
766836
768838
769839 @Callable(R)
770840 func acceptWork (v) = {
771- let aO = u(v)
772- let aP = w(aO)
773- let ah = aP[0]
774- let X = aP[1]
775- let aS = fromBase58String(aP[2])
776- let ab = parseIntValue(aP[3])
777- let am = parseIntValue(aP[4])
778- let ao = parseIntValue(aP[5])
779- let E = aP[6]
780- let L = parseIntValue(aP[7])
781- let aU = aP[2]
782- let aN = extract(R.callerPublicKey)
841+ let Q = extract(R.callerPublicKey)
842+ let ah = {
843+ let ai = getString(this, (v + "_State"))
844+ let z = ai
845+ if ($isInstanceOf(z, "String"))
846+ then {
847+ let y = z
848+ y
849+ }
850+ else throw("Auction State was not found")
851+ }
852+ let Y = {
853+ let ak = getString(this, (v + "_Client"))
854+ let y = {
855+ let z = ak
856+ if ($isInstanceOf(z, "String"))
857+ then {
858+ let y = z
859+ y
860+ }
861+ else throw("Auction Client was not found")
862+ }
863+ fromBase58String(y)
864+ }
865+ let ab = {
866+ let al = getInteger(this, (v + "_AuctionStart"))
867+ let z = al
868+ if ($isInstanceOf(z, "Int"))
869+ then {
870+ let y = z
871+ y
872+ }
873+ else throw("Auction Start time was not found")
874+ }
875+ let am = {
876+ let an = getInteger(this, (v + "_AuctionDuration"))
877+ let z = an
878+ if ($isInstanceOf(z, "Int"))
879+ then {
880+ let y = z
881+ y
882+ }
883+ else throw("Auction duration time was not found")
884+ }
885+ let aO = {
886+ let ap = getInteger(this, (v + "JobPerformance"))
887+ let z = ap
888+ if ($isInstanceOf(z, "Int"))
889+ then {
890+ let y = z
891+ y
892+ }
893+ else throw("Auction job performance time was not found")
894+ }
895+ let E = {
896+ let aq = getString(this, (v + "_AssetName"))
897+ let z = aq
898+ if ($isInstanceOf(z, "String"))
899+ then {
900+ let y = z
901+ y
902+ }
903+ else throw("Auction asset name was not found")
904+ }
905+ let L = {
906+ let ar = getInteger(this, (v + "_Price"))
907+ let z = ar
908+ if ($isInstanceOf(z, "Int"))
909+ then {
910+ let y = z
911+ y
912+ }
913+ else throw("Auction price was not found")
914+ }
915+ let aS = {
916+ let ak = getString(this, (v + "_Freelancer"))
917+ let y = {
918+ let z = ak
919+ if ($isInstanceOf(z, "String"))
920+ then {
921+ let y = z
922+ y
923+ }
924+ else throw("Auction Client was not found")
925+ }
926+ fromBase58String(y)
927+ }
783928 let au = ((L * 3) / 100)
784- let bw = (L - au)
785- let bA = {
786- let bB = getInteger(this, (aU + "_Rating"))
787- let bC = {
788- let z = bB
929+ let bs = (L - au)
930+ let as = D(E)
931+ let bt = {
932+ let bu = getInteger(this, (toBase58String(aS) + "_Rating"))
933+ let bv = {
934+ let z = bu
789935 if ($isInstanceOf(z, "Int"))
790936 then {
791937 let y = z
793939 }
794940 else 0
795941 }
796- (bC + 1)
942+ (bv + 1)
797943 }
798- if ((aN == aS))
944+ if ((Q == Y))
799945 then if ((ah == j))
800- then {
801- let bu = ((((((((((aP[1] + "_") + aP[2]) + "_") + aP[3]) + "_") + aP[4]) + "_") + aP[5]) + "_") + aP[6])
802- ScriptResult(WriteSet([DataEntry(aO, ((((k + "_") + X) + "_") + bu)), DataEntry((aU + "_Rating"), bA)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(aU)), bw, D(E))]))
803- }
946+ then ScriptResult(WriteSet([DataEntry((v + "_State"), k), DataEntry((toBase58String(aS) + "_Rating"), bt)]), TransferSet([ScriptTransfer(addressFromPublicKey(aS), bs, as)]))
804947 else throw(("Incorrect state. Must be: " + j))
805948 else throw("Only auction customer can use this function")
806949 }
807950
808951
809-@Verifier(bD)
810-func bE () = if (sigVerify(bD.bodyBytes, bD.proofs[0], bD.senderPublicKey))
952+@Verifier(bw)
953+func bx () = if (sigVerify(bw.bodyBytes, bw.proofs[0], bw.senderPublicKey))
811954 then {
812- let z = bD
955+ let z = bw
813956 if ($isInstanceOf(z, "TransferTransaction"))
814957 then {
815- let bF = z
958+ let by = z
816959 true
817960 }
818961 else if ($isInstanceOf(z, "SetScriptTransaction"))
819962 then {
820- let bG = z
963+ let bz = z
821964 true
822965 }
823966 else false
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 1440
55
66 let b = unit
77
88 let c = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
99
1010 let d = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU'
1111
1212 let e = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck'
1313
1414 let f = "Opened"
1515
1616 let g = "Suggested"
1717
1818 let h = "Canceled"
1919
2020 let i = "InProgress"
2121
2222 let j = "WaitForConfirmation"
2323
2424 let k = "Completed"
2525
2626 let l = "Dispute"
2727
2828 let m = "DisputeResolved"
2929
3030 let n = "CMR"
3131
3232 let o = "FL"
3333
3434 let p = base58'1'
3535
3636 let q = base58'1'
3737
3838 let r = base58'1'
3939
4040 let s = base58'1'
4141
4242 let t = base58'1'
4343
4444 func u (v) = (v + "_AuctionData")
4545
4646
4747 func w (v) = {
4848 let x = getString(this, v)
4949 let y = {
5050 let z = x
5151 if ($isInstanceOf(z, "String"))
5252 then {
5353 let y = z
5454 y
5555 }
5656 else throw("AuctionId was not found")
5757 }
5858 split(y, "_")
5959 }
6060
6161
6262 func A (v) = {
6363 let B = ((v + "_") + l)
6464 let C = getString(this, B)
6565 let y = {
6666 let z = C
6767 if ($isInstanceOf(z, "String"))
6868 then {
6969 let y = z
7070 y
7171 }
7272 else throw("Dispute data was not found")
7373 }
7474 split(y, "/")
7575 }
7676
7777
7878 func D (E) = if ((E == "WAVES"))
7979 then b
8080 else if ((E == "BTC"))
8181 then c
8282 else if ((E == "EUR"))
8383 then d
8484 else if ((E == "USD"))
8585 then e
8686 else throw("Incorrect Asset Id")
8787
8888
8989 func F (G,H,I) = ((G - H) > I)
9090
9191
9292 func J (K,L) = {
9393 let M = getInteger(this, (K + "_Freezed"))
9494 let N = {
9595 let z = M
9696 if ($isInstanceOf(z, "Int"))
9797 then {
9898 let y = z
9999 y
100100 }
101101 else 0
102102 }
103103 (N + L)
104104 }
105105
106106
107107 func O (K,L) = {
108108 let M = getInteger(this, (K + "_Freezed"))
109109 let N = {
110110 let z = M
111111 if ($isInstanceOf(z, "Int"))
112112 then {
113113 let y = z
114114 y
115115 }
116116 else 0
117117 }
118118 let y = (N - L)
119119 if ((y > 0))
120120 then y
121121 else throw("Freezed amount couldn't be less than 0")
122122 }
123123
124124
125125 func P (Q) = {
126126 let P = getString(this, (Q + "_Freelancer"))
127127 let z = P
128128 if ($isInstanceOf(z, "String"))
129129 then {
130130 let y = z
131131 Q
132132 }
133133 else throw("Only registered users can make bets")
134134 }
135135
136136
137137 @Callable(R)
138138 func freelancerSignUp (S) = {
139139 let T = toBase58String(R.callerPublicKey)
140140 let U = getString(this, (T + "_Freelancer"))
141141 if (isDefined(U))
142142 then throw("User already registered")
143143 else WriteSet([DataEntry((T + "_Freelancer"), S)])
144144 }
145145
146146
147147
148148 @Callable(R)
149149 func clientSignUp (S) = {
150150 let T = toBase58String(R.callerPublicKey)
151151 let U = getString(this, (T + "_Client"))
152152 if (isDefined(U))
153153 then throw("User already registered")
154154 else WriteSet([DataEntry((T + "_Client"), S)])
155155 }
156156
157157
158158
159159 @Callable(R)
160160 func createAuction (V,W,X) = {
161161 let v = toBase58String(R.transactionId)
162162 let Y = toBase58String(R.callerPublicKey)
163163 let Z = extract(R.payment)
164164 let aa = Z.amount
165165 let L = if ((aa > 0))
166166 then aa
167167 else throw("Amount must be higher then 0")
168168 let ab = height
169169 let ac = (W * a)
170170 let ad = (V * a)
171171 let K = if (!(isDefined(Z.assetId)))
172172 then "WAVES"
173173 else if ((Z.assetId == c))
174174 then "BTC"
175175 else if ((Z.assetId == d))
176176 then "EUR"
177177 else if ((Z.assetId == e))
178178 then "USD"
179179 else throw("AssetId is incorrect")
180180 let ae = J(K, L)
181- WriteSet([DataEntry((v + "_State"), f), DataEntry((v + "_Info"), X), DataEntry((v + "_Client"), Y), DataEntry((v + "_AuctionStart"), ab), DataEntry((v + "_AuctionDuration"), ac), DataEntry((v + "JobPerformance"), ad), DataEntry((v + "_AssetName"), K), DataEntry((v + "_Price"), L), DataEntry((K + "_Freezed"), ae)])
181+ WriteSet([DataEntry((v + "_State"), f), DataEntry((v + "_Info"), X), DataEntry((v + "_Client"), Y), DataEntry((v + "_AuctionStart"), ab), DataEntry((v + "_AuctionDuration"), ac), DataEntry((v + "_JobPerformance"), ad), DataEntry((v + "_AssetName"), K), DataEntry((v + "_Price"), L), DataEntry((K + "_Freezed"), ae)])
182182 }
183183
184184
185185
186186 @Callable(R)
187187 func makeBid (v,af) = {
188188 let Q = toBase58String(R.callerPublicKey)
189189 let ag = height
190190 let ah = {
191191 let ai = getString(this, (v + "_State"))
192192 let z = ai
193193 if ($isInstanceOf(z, "String"))
194194 then {
195195 let y = z
196196 y
197197 }
198198 else throw("Auction State was not found")
199199 }
200200 let X = {
201201 let aj = getString(this, (v + "_Info"))
202202 let z = aj
203203 if ($isInstanceOf(z, "String"))
204204 then {
205205 let y = z
206206 y
207207 }
208208 else throw("Auction info was not found")
209209 }
210210 let Y = {
211211 let ak = getString(this, (v + "_Client"))
212212 let y = {
213213 let z = ak
214214 if ($isInstanceOf(z, "String"))
215215 then {
216216 let y = z
217217 y
218218 }
219219 else throw("Auction Client was not found")
220220 }
221221 fromBase58String(y)
222222 }
223223 let ab = {
224224 let al = getInteger(this, (v + "_AuctionStart"))
225225 let z = al
226226 if ($isInstanceOf(z, "Int"))
227227 then {
228228 let y = z
229229 y
230230 }
231231 else throw("Auction Start time was not found")
232232 }
233233 let am = {
234234 let an = getInteger(this, (v + "_AuctionDuration"))
235235 let z = an
236236 if ($isInstanceOf(z, "Int"))
237237 then {
238238 let y = z
239239 y
240240 }
241241 else throw("Auction duration time was not found")
242242 }
243243 let ao = {
244244 let ap = getInteger(this, (v + "JobPerformance"))
245245 let z = ap
246246 if ($isInstanceOf(z, "Int"))
247247 then {
248248 let y = z
249249 y
250250 }
251251 else throw("Auction job performance time was not found")
252252 }
253253 let E = {
254254 let aq = getString(this, (v + "_AssetName"))
255255 let z = aq
256256 if ($isInstanceOf(z, "String"))
257257 then {
258258 let y = z
259259 y
260260 }
261261 else throw("Auction asset name was not found")
262262 }
263263 let L = {
264264 let ar = getInteger(this, (v + "_Price"))
265265 let z = ar
266266 if ($isInstanceOf(z, "Int"))
267267 then {
268268 let y = z
269269 y
270270 }
271271 else throw("Auction price was not found")
272272 }
273273 let as = D(E)
274274 let at = P(Q)
275275 let au = ((L * 3) / 100)
276276 let ae = O(E, L)
277277 let av = F(ag, ab, am)
278278 if (av)
279279 then if ((ah == f))
280280 then ScriptResult(WriteSet([DataEntry((v + "_State"), h), DataEntry((E + "_Freezed"), ae)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), (L - au), as)]))
281281 else if ((ah == g))
282282 then {
283283 let aw = {
284284 let ax = getString(this, (v + "_LowestBidderPub"))
285285 let z = ax
286286 if ($isInstanceOf(z, "String"))
287287 then {
288288 let y = z
289289 y
290290 }
291291 else throw("Auction lowest bidder was not found")
292292 }
293293 let ay = {
294294 let az = getInteger(this, ((v + "_Bid_") + aw))
295295 let z = az
296296 if ($isInstanceOf(z, "Int"))
297297 then {
298298 let y = z
299299 y
300300 }
301301 else throw("Auction lowest bid was not found")
302302 }
303303 let aA = ((L - ay) - au)
304304 ScriptResult(WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_Freelancer"), aw), DataEntry((v + "_Price"), ay)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), aA, as)]))
305305 }
306306 else throw("Incorrect auction state")
307307 else if ((ah == f))
308308 then WriteSet([DataEntry(((v + "_Bid_") + at), af), DataEntry((v + "_State"), g), DataEntry((v + "_LowestBidderPub"), Q), DataEntry((v + Q), af)])
309309 else if ((ah == g))
310310 then {
311311 let aB = {
312312 let aC = getString(this, (v + "_LowestBidderPub"))
313313 let z = aC
314314 if ($isInstanceOf(z, "String"))
315315 then {
316316 let y = z
317317 y
318318 }
319319 else throw("Auction lowest bidder was not found")
320320 }
321321 let aD = {
322322 let aE = getInteger(this, ((v + "_Bid_") + aB))
323323 let aF = {
324324 let z = aE
325325 if ($isInstanceOf(z, "Int"))
326326 then {
327327 let y = z
328328 y
329329 }
330330 else throw("Auction lowest bid was not found")
331331 }
332332 if ((aF > af))
333333 then at
334334 else aB
335335 }
336336 WriteSet([DataEntry((v + "_LowestBidderPub"), aD), DataEntry(((v + "_Bid_") + at), af)])
337337 }
338338 else throw(((((("Incorrect jobId state. Now: " + ah) + ", must be: ") + f) + " or ") + g))
339339 }
340340
341341
342342
343343 @Callable(R)
344344 func chooseFreelancer (v,aG) = {
345345 let Q = extract(R.callerPublicKey)
346346 let ag = height
347347 let ah = {
348348 let ai = getString(this, (v + "_State"))
349349 let z = ai
350350 if ($isInstanceOf(z, "String"))
351351 then {
352352 let y = z
353353 y
354354 }
355355 else throw("Auction State was not found")
356356 }
357357 let Y = {
358358 let ak = getString(this, (v + "_Client"))
359359 let y = {
360360 let z = ak
361361 if ($isInstanceOf(z, "String"))
362362 then {
363363 let y = z
364364 y
365365 }
366366 else throw("Auction Client was not found")
367367 }
368368 fromBase58String(y)
369369 }
370370 let ab = {
371371 let al = getInteger(this, (v + "_AuctionStart"))
372372 let z = al
373373 if ($isInstanceOf(z, "Int"))
374374 then {
375375 let y = z
376376 y
377377 }
378378 else throw("Auction Start time was not found")
379379 }
380380 let am = {
381381 let an = getInteger(this, (v + "_AuctionDuration"))
382382 let z = an
383383 if ($isInstanceOf(z, "Int"))
384384 then {
385385 let y = z
386386 y
387387 }
388388 else throw("Auction duration time was not found")
389389 }
390390 let E = {
391391 let aq = getString(this, (v + "_AssetName"))
392392 let z = aq
393393 if ($isInstanceOf(z, "String"))
394394 then {
395395 let y = z
396396 y
397397 }
398398 else throw("Auction asset name was not found")
399399 }
400400 let L = {
401401 let ar = getInteger(this, (v + "_Price"))
402402 let z = ar
403403 if ($isInstanceOf(z, "Int"))
404404 then {
405405 let y = z
406406 y
407407 }
408408 else throw("Auction price was not found")
409409 }
410410 let as = D(E)
411411 let aH = {
412412 let aI = ((v + "_") + aG)
413413 let aJ = getInteger(this, aI)
414414 let z = aJ
415415 if ($isInstanceOf(z, "Int"))
416416 then {
417417 let y = z
418418 y
419419 }
420420 else throw("Freelancer's bet was not found")
421421 }
422422 let ae = O(E, L)
423423 let au = ((L * 3) / 100)
424424 let aA = ((L - aH) - au)
425425 let av = F(ag, ab, am)
426426 if ((Q == Y))
427427 then if (av)
428428 then if ((ah == f))
429429 then ScriptResult(WriteSet([DataEntry((v + "_State"), h), DataEntry((E + "_Freezed"), ae)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), (L - au), as)]))
430430 else if ((ah == g))
431431 then {
432432 let aw = {
433433 let ax = getString(this, (v + "_LowestBidderPub"))
434434 let z = ax
435435 if ($isInstanceOf(z, "String"))
436436 then {
437437 let y = z
438438 y
439439 }
440440 else throw("Auction lowest bidder was not found")
441441 }
442442 let ay = {
443443 let az = getInteger(this, ((v + "_Bid_") + aw))
444444 let z = az
445445 if ($isInstanceOf(z, "Int"))
446446 then {
447447 let y = z
448448 y
449449 }
450450 else throw("Auction lowest bid was not found")
451451 }
452452 WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_Freelancer"), aw), DataEntry((v + "_Price"), ay)])
453453 }
454454 else throw("Incorrect auction state")
455455 else {
456456 let aK = {
457457 let at = getInteger(this, ((v + "_Bid_") + aG))
458458 let z = at
459459 if ($isInstanceOf(z, "Int"))
460460 then {
461461 let y = z
462462 aG
463463 }
464464 else throw("Error: Incorrect freelancerPub")
465465 }
466466 let aL = {
467467 let aC = getInteger(this, ((v + "_Bid_") + aG))
468468 let z = aC
469469 if ($isInstanceOf(z, "Int"))
470470 then {
471471 let y = z
472472 y
473473 }
474474 else throw("Auction lowest bidder was not found")
475475 }
476476 ScriptResult(WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_Freelancer"), aK), DataEntry((v + "_Price"), aL)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), aA, as)]))
477477 }
478478 else throw("Only auction customer can choose a freelancer")
479479 }
480480
481481
482482
483483 @Callable(R)
484484 func increaseExecutionTime (v,aM) = {
485485 let aN = extract(R.callerPublicKey)
486- let aO = u(v)
487- let aP = w(aO)
488- let ah = aP[0]
486+ let ah = {
487+ let ai = getString(this, (v + "_State"))
488+ let z = ai
489+ if ($isInstanceOf(z, "String"))
490+ then {
491+ let y = z
492+ y
493+ }
494+ else throw("Auction State was not found")
495+ }
489496 let Y = {
490497 let ak = getString(this, (v + "_Client"))
491498 let y = {
492499 let z = ak
493500 if ($isInstanceOf(z, "String"))
494501 then {
495502 let y = z
496503 y
497504 }
498505 else throw("Auction Client was not found")
499506 }
500507 fromBase58String(y)
501508 }
502- let ab = parseIntValue(aP[3])
503- let am = parseIntValue(aP[4])
504- let ao = parseIntValue(aP[5])
505- let E = aP[6]
506- let L = parseIntValue(aP[7])
507- let aQ = {
508- let aR = (aM * a)
509- if ((aR > ao))
510- then aR
509+ let aO = {
510+ let ap = getInteger(this, (v + "JobPerformance"))
511+ let z = ap
512+ if ($isInstanceOf(z, "Int"))
513+ then {
514+ let y = z
515+ y
516+ }
517+ else throw("Auction job performance time was not found")
518+ }
519+ let aP = {
520+ let aQ = (aM * a)
521+ if ((aQ > aO))
522+ then aQ
511523 else throw("New execution time must more than current execution time")
512524 }
513525 if ((aN == Y))
514- then if ((ah == f))
515- then WriteSet([DataEntry(aO, ((((((((((((ah + "_") + toBase58String(Y)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)))])
516- else if (if ((ah == g))
517- then true
518- else (ah == i))
519- then {
520- let aG = aP[7]
521- WriteSet([DataEntry(aO, ((((((((((((((ah + "_") + toBase58String(Y)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)) + "_") + aG))])
522- }
523- else throw("Incorrect state")
524- else throw("Only customer can increase execution time")
526+ then if (if (if ((ah == f))
527+ then true
528+ else (ah == g))
529+ then true
530+ else (ah == i))
531+ then WriteSet([DataEntry((v + "JobPerformance"), aP)])
532+ else throw("Incorrect state")
533+ else throw("Only Client can increase execution time")
525534 }
526535
527536
528537
529538 @Callable(R)
530539 func cancelAuction (v) = {
531- let aO = u(v)
532- let aP = w(aO)
533- let ah = aP[0]
534- let X = aP[1]
535- let aS = fromBase58String(aP[2])
536- let ab = parseIntValue(aP[3])
537- let am = parseIntValue(aP[4])
538- let ao = parseIntValue(aP[5])
539- let E = aP[6]
540- let L = parseIntValue(aP[7])
541- let aT = if ((R.callerPublicKey == aS))
540+ let Q = extract(R.callerPublicKey)
541+ let ah = {
542+ let ai = getString(this, (v + "_State"))
543+ let z = ai
544+ if ($isInstanceOf(z, "String"))
545+ then {
546+ let y = z
547+ y
548+ }
549+ else throw("Auction State was not found")
550+ }
551+ let Y = {
552+ let ak = getString(this, (v + "_Client"))
553+ let y = {
554+ let z = ak
555+ if ($isInstanceOf(z, "String"))
556+ then {
557+ let y = z
558+ y
559+ }
560+ else throw("Auction Client was not found")
561+ }
562+ fromBase58String(y)
563+ }
564+ let aR = if ((Q == Y))
542565 then true
543566 else throw("Auction can be canceled only by owner.")
544- if ((ah == f))
545- then WriteSet([DataEntry(aO, ((((((((((((((h + "_") + X) + "_") + toBase58String(aS)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)))])
546- else throw("Incorrect auction state.")
567+ if (aR)
568+ then if ((ah == f))
569+ then WriteSet([DataEntry((v + "_State"), h)])
570+ else throw("Incorrect auction state.")
571+ else throw("Only Client can cancel auction")
547572 }
548573
549574
550575
551576 @Callable(R)
552577 func openDispute (v) = {
553578 let aN = extract(R.callerPublicKey)
554- let aO = u(v)
555- let aP = w(aO)
556- let ah = aP[0]
557- let X = aP[1]
558- let aS = fromBase58String(aP[2])
559- let ab = parseIntValue(aP[3])
560- let am = parseIntValue(aP[4])
561- let ao = parseIntValue(aP[5])
562- let E = aP[6]
563- let L = parseIntValue(aP[7])
564- let aU = fromBase58String(aP[8])
565- if (if ((aN == aS))
579+ let ah = {
580+ let ai = getString(this, (v + "_State"))
581+ let z = ai
582+ if ($isInstanceOf(z, "String"))
583+ then {
584+ let y = z
585+ y
586+ }
587+ else throw("Auction State was not found")
588+ }
589+ let Y = {
590+ let ak = getString(this, (v + "_Client"))
591+ let y = {
592+ let z = ak
593+ if ($isInstanceOf(z, "String"))
594+ then {
595+ let y = z
596+ y
597+ }
598+ else throw("Auction Client was not found")
599+ }
600+ fromBase58String(y)
601+ }
602+ let aS = {
603+ let ak = getString(this, (v + "_Freelancer"))
604+ let y = {
605+ let z = ak
606+ if ($isInstanceOf(z, "String"))
607+ then {
608+ let y = z
609+ y
610+ }
611+ else throw("Auction Client was not found")
612+ }
613+ fromBase58String(y)
614+ }
615+ if (if ((ah == f))
566616 then true
567- else (aN == aU))
568- then {
569- let aV = "1"
570- WriteSet([DataEntry(aO, ((((l + "_") + X) + "_") + aV)), DataEntry((v + "_Dispute"), "0")])
571- }
572- else throw("Only customer and freelancer can open dispute")
617+ else (ah == g))
618+ then throw("Incorrect auction state for dispute opening")
619+ else if (if ((aN == Y))
620+ then true
621+ else (aN == aS))
622+ then WriteSet([DataEntry((v + "_State"), l), DataEntry((v + "_DisputeVotes"), 0)])
623+ else throw("Only customer and freelancer can open dispute")
573624 }
574625
575626
576627
577628 @Callable(R)
578-func voteDispute (v,aW) = {
579- let aO = u(v)
580- let aP = w(aO)
581- let ah = aP[0]
582- let X = aP[1]
583- let aS = fromBase58String(aP[2])
584- let ab = parseIntValue(aP[3])
585- let am = parseIntValue(aP[4])
586- let ao = parseIntValue(aP[5])
587- let E = aP[6]
588- let L = parseIntValue(aP[7])
589- let aU = fromBase58String(aP[8])
590- let aX = ((L * 3) / 100)
591- let aY = if ((ah == l))
592- then true
593- else throw(("Incorrect state. Must be: " + l))
594- let aZ = if (if ((aW == n))
595- then true
596- else (aW == o))
597- then aW
598- else throw(((("Vote is incorrect. Must be: " + n) + " or ") + o))
599- let ba = if (if (if (if (if ((R.callerPublicKey == p))
600- then true
601- else (R.callerPublicKey == q))
602- then true
603- else (R.callerPublicKey == r))
604- then true
605- else (R.callerPublicKey == s))
606- then true
607- else (R.callerPublicKey == t))
608- then toBase58String(R.callerPublicKey)
609- else throw("You have no rights for disputes resolving")
610- let bb = {
611- let bc = ((v + "_") + l)
612- let bd = getString(this, bc)
613- let z = bd
629+func voteDispute (v,aT) = {
630+ let Q = extract(R.callerPublicKey)
631+ let ah = {
632+ let ai = getString(this, (v + "_State"))
633+ let z = ai
614634 if ($isInstanceOf(z, "String"))
615635 then {
616636 let y = z
617637 y
618638 }
619- else throw("Cannot find data of dispute in storage")
639+ else throw("Auction State was not found")
620640 }
621- let be = split(bb, "/")
622- let bf = be[0]
623- if ((bf == "4"))
624- then {
625- let bg = split(be[1], "_")
626- let bh = split(be[2], "_")
627- let bi = if ((ba == bg[0]))
628- then true
629- else (ba == bg[1])
630- if (bi)
631- then throw("You already voted")
632- else {
633- let bj = "5"
634- let bk = ((be[1] + "_") + ba)
635- let bl = ((be[2] + "_") + aZ)
636- let bm = ((((bj + "/") + bk) + "/") + bl)
637- let bn = {
638- let bo = if ((bh[0] == n))
639- then 1
640- else 0
641- let bp = if ((bh[1] == n))
642- then 1
643- else 0
644- let bq = if ((bh[2] == n))
645- then 1
646- else 0
647- let br = if ((bh[3] == n))
648- then 1
649- else 0
650- let bs = if ((aZ == n))
651- then 1
652- else 0
653- let bt = ((((bo + bp) + bq) + br) + bs)
654- if ((bt > 2))
655- then n
656- else o
657- }
658- let bu = ((((((((((((((X + "_") + toBase58String(aS)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)) + "_") + toBase58String(aU))
659- let bv = if ((bn == n))
660- then aS
661- else aU
662- let bw = if ((bv == aS))
663- then (L - aX)
664- else ((L - aX) - aX)
665- ScriptResult(WriteSet([DataEntry(u(v), ((m + "_") + bu)), DataEntry(((v + "_") + l), bm)]), TransferSet([ScriptTransfer(addressFromPublicKey(bv), bw, D(E))]))
641+ let Y = {
642+ let ak = getString(this, (v + "_Client"))
643+ let y = {
644+ let z = ak
645+ if ($isInstanceOf(z, "String"))
646+ then {
647+ let y = z
648+ y
666649 }
650+ else throw("Auction Client was not found")
667651 }
668- else {
669- let bm = if ((bf == "0"))
652+ fromBase58String(y)
653+ }
654+ let E = {
655+ let aq = getString(this, (v + "_AssetName"))
656+ let z = aq
657+ if ($isInstanceOf(z, "String"))
658+ then {
659+ let y = z
660+ y
661+ }
662+ else throw("Auction asset name was not found")
663+ }
664+ let L = {
665+ let ar = getInteger(this, (v + "_Price"))
666+ let z = ar
667+ if ($isInstanceOf(z, "Int"))
668+ then {
669+ let y = z
670+ y
671+ }
672+ else throw("Auction price was not found")
673+ }
674+ let aS = {
675+ let ak = getString(this, (v + "_Freelancer"))
676+ let y = {
677+ let z = ak
678+ if ($isInstanceOf(z, "String"))
670679 then {
671- let bj = "1"
672- let bk = ba
673- let bl = aZ
674- let bu = ((((bj + "/") + bk) + "/") + bl)
675- bu
680+ let y = z
681+ y
676682 }
677- else if ((bf == "1"))
678- then {
679- let bx = be[1]
680- let bo = be[2]
681- let bi = (ba == bx)
682- if (bi)
683- then throw("You already voted")
684- else {
685- let bj = "1"
686- let bk = (bx + ba)
687- let bl = (bo + aZ)
688- let bu = ((((bj + "/") + bk) + "/") + bl)
689- bu
690- }
691- }
692- else if ((bf == "2"))
693- then {
694- let bg = split(be[1], "_")
695- let bh = split(be[2], "_")
696- let bi = if ((ba == bg[0]))
697- then true
698- else (ba == bg[1])
699- if (bi)
700- then throw("You already voted")
701- else {
702- let bj = "3"
703- let bk = ((be[1] + "_") + ba)
704- let bl = ((be[2] + "_") + aZ)
705- let bu = ((((bj + "/") + bk) + "/") + bl)
706- bu
707- }
708- }
709- else if ((bf == "3"))
710- then {
711- let bg = split(be[1], "_")
712- let bh = split(be[2], "_")
713- let bi = if (if ((ba == bg[0]))
714- then true
715- else (ba == bg[1]))
716- then true
717- else (ba == bg[2])
718- if (bi)
719- then throw("You already voted")
720- else {
721- let bj = "4"
722- let bk = ((be[1] + "_") + ba)
723- let bl = ((be[2] + "_") + aZ)
724- let bu = ((((bj + "/") + bk) + "/") + bl)
725- bu
726- }
727- }
728- else throw("Dispute has been already resolved")
729- WriteSet([DataEntry(((v + "_") + l), bm)])
683+ else throw("Auction Client was not found")
730684 }
685+ fromBase58String(y)
686+ }
687+ let aU = ((L * 3) / 100)
688+ let as = D(E)
689+ let aV = if (if (if (if (if ((Q == p))
690+ then true
691+ else (Q == q))
692+ then true
693+ else (Q == r))
694+ then true
695+ else (Q == s))
696+ then true
697+ else (Q == t))
698+ then toBase58String(Q)
699+ else throw("Only defined ambassadors can vote in disputes")
700+ let aW = if (if ((aT == n))
701+ then true
702+ else (aT == o))
703+ then aT
704+ else throw(((("Vote is incorrect. Must be: " + n) + " or ") + o))
705+ let aX = {
706+ let aY = ((v + "_DiputeVote_") + aV)
707+ let aZ = getString(this, aY)
708+ let z = aZ
709+ if ($isInstanceOf(z, "String"))
710+ then {
711+ let y = z
712+ throw("User already voted")
713+ }
714+ else aV
715+ }
716+ let ba = {
717+ let bb = getInteger(this, (v + "_DisputeVotes"))
718+ let z = bb
719+ if ($isInstanceOf(z, "Int"))
720+ then {
721+ let y = z
722+ y
723+ }
724+ else throw("VotesNumber was not found")
725+ }
726+ if ((ah == l))
727+ then if ((ba == 4))
728+ then {
729+ let bc = {
730+ let bd = getString(this, ((v + "_DiputeVote_") + toBase58String(p)))
731+ let be = getString(this, ((v + "_DiputeVote_") + toBase58String(q)))
732+ let bf = getString(this, ((v + "_DiputeVote_") + toBase58String(r)))
733+ let bg = getString(this, ((v + "_DiputeVote_") + toBase58String(s)))
734+ let bh = getString(this, ((v + "_DiputeVote_") + toBase58String(t)))
735+ let bi = if ((bd == n))
736+ then 1
737+ else 0
738+ let bj = if ((be == n))
739+ then 1
740+ else 0
741+ let bk = if ((bf == n))
742+ then 1
743+ else 0
744+ let bl = if ((bg == n))
745+ then 1
746+ else 0
747+ let bm = if ((bh == n))
748+ then 1
749+ else 0
750+ let bn = if ((aW == n))
751+ then 1
752+ else 0
753+ let bo = (((((bi + bj) + bk) + bl) + bm) + bn)
754+ if ((bo > 2))
755+ then Y
756+ else aS
757+ }
758+ let bp = if ((bc == Y))
759+ then L
760+ else (L - aU)
761+ ScriptResult(WriteSet([DataEntry((v + "_DisputeVotes"), (ba + 1)), DataEntry((v + "_State"), m), DataEntry(((v + "_DiputeVote_") + aV), aW)]), TransferSet([ScriptTransfer(addressFromPublicKey(bc), bp, as)]))
762+ }
763+ else WriteSet([DataEntry((v + "_DisputeVotes"), (ba + 1)), DataEntry(((v + "_DiputeVote_") + aV), aW)])
764+ else throw(("Incorrect state. Must be: " + l))
731765 }
732766
733767
734768
735769 @Callable(R)
736770 func workHandOver (v) = {
737771 let Q = extract(R.callerPublicKey)
738- let aO = u(v)
739- let aP = w(aO)
740- let ah = aP[0]
741- let X = aP[1]
742- let aS = fromBase58String(aP[2])
743- let ab = parseIntValue(aP[3])
744- let am = parseIntValue(aP[4])
745- let ao = parseIntValue(aP[5])
746- let E = aP[6]
747- let L = parseIntValue(aP[7])
748- let aU = fromBase58String(aP[8])
772+ let ah = {
773+ let ai = getString(this, (v + "_State"))
774+ let z = ai
775+ if ($isInstanceOf(z, "String"))
776+ then {
777+ let y = z
778+ y
779+ }
780+ else throw("Auction State was not found")
781+ }
782+ let ab = {
783+ let al = getInteger(this, (v + "_AuctionStart"))
784+ let z = al
785+ if ($isInstanceOf(z, "Int"))
786+ then {
787+ let y = z
788+ y
789+ }
790+ else throw("Auction Start time was not found")
791+ }
792+ let am = {
793+ let an = getInteger(this, (v + "_AuctionDuration"))
794+ let z = an
795+ if ($isInstanceOf(z, "Int"))
796+ then {
797+ let y = z
798+ y
799+ }
800+ else throw("Auction duration time was not found")
801+ }
802+ let aO = {
803+ let ap = getInteger(this, (v + "JobPerformance"))
804+ let z = ap
805+ if ($isInstanceOf(z, "Int"))
806+ then {
807+ let y = z
808+ y
809+ }
810+ else throw("Auction job performance time was not found")
811+ }
812+ let aS = {
813+ let ak = getString(this, (v + "_Freelancer"))
814+ let y = {
815+ let z = ak
816+ if ($isInstanceOf(z, "String"))
817+ then {
818+ let y = z
819+ y
820+ }
821+ else throw("Auction Client was not found")
822+ }
823+ fromBase58String(y)
824+ }
749825 let G = height
750- let by = if ((Q == aU))
826+ let bq = if ((Q == aS))
751827 then Q
752828 else throw("Only a freelancer can indicate that the work is done")
753- let bz = ((G - ab) > ao)
829+ let br = ((G - ab) > aO)
754830 if ((ah == i))
755- then if (bz)
756- then {
757- let bu = ((((((((((aP[1] + "_") + aP[2]) + "_") + aP[3]) + "_") + aP[4]) + "_") + aP[5]) + "_") + aP[6])
758- WriteSet([DataEntry(aO, ((((l + "_") + X) + "_") + bu))])
759- }
760- else {
761- let bu = ((((((((((aP[1] + "_") + aP[2]) + "_") + aP[3]) + "_") + aP[4]) + "_") + aP[5]) + "_") + aP[6])
762- WriteSet([DataEntry(aO, ((((j + "_") + X) + "_") + bu))])
763- }
831+ then if (br)
832+ then WriteSet([DataEntry((v + "_State"), l), DataEntry((v + "_DisputeVotes"), "0")])
833+ else WriteSet([DataEntry((v + "_State"), j)])
764834 else throw("Auction state is incorrect")
765835 }
766836
767837
768838
769839 @Callable(R)
770840 func acceptWork (v) = {
771- let aO = u(v)
772- let aP = w(aO)
773- let ah = aP[0]
774- let X = aP[1]
775- let aS = fromBase58String(aP[2])
776- let ab = parseIntValue(aP[3])
777- let am = parseIntValue(aP[4])
778- let ao = parseIntValue(aP[5])
779- let E = aP[6]
780- let L = parseIntValue(aP[7])
781- let aU = aP[2]
782- let aN = extract(R.callerPublicKey)
841+ let Q = extract(R.callerPublicKey)
842+ let ah = {
843+ let ai = getString(this, (v + "_State"))
844+ let z = ai
845+ if ($isInstanceOf(z, "String"))
846+ then {
847+ let y = z
848+ y
849+ }
850+ else throw("Auction State was not found")
851+ }
852+ let Y = {
853+ let ak = getString(this, (v + "_Client"))
854+ let y = {
855+ let z = ak
856+ if ($isInstanceOf(z, "String"))
857+ then {
858+ let y = z
859+ y
860+ }
861+ else throw("Auction Client was not found")
862+ }
863+ fromBase58String(y)
864+ }
865+ let ab = {
866+ let al = getInteger(this, (v + "_AuctionStart"))
867+ let z = al
868+ if ($isInstanceOf(z, "Int"))
869+ then {
870+ let y = z
871+ y
872+ }
873+ else throw("Auction Start time was not found")
874+ }
875+ let am = {
876+ let an = getInteger(this, (v + "_AuctionDuration"))
877+ let z = an
878+ if ($isInstanceOf(z, "Int"))
879+ then {
880+ let y = z
881+ y
882+ }
883+ else throw("Auction duration time was not found")
884+ }
885+ let aO = {
886+ let ap = getInteger(this, (v + "JobPerformance"))
887+ let z = ap
888+ if ($isInstanceOf(z, "Int"))
889+ then {
890+ let y = z
891+ y
892+ }
893+ else throw("Auction job performance time was not found")
894+ }
895+ let E = {
896+ let aq = getString(this, (v + "_AssetName"))
897+ let z = aq
898+ if ($isInstanceOf(z, "String"))
899+ then {
900+ let y = z
901+ y
902+ }
903+ else throw("Auction asset name was not found")
904+ }
905+ let L = {
906+ let ar = getInteger(this, (v + "_Price"))
907+ let z = ar
908+ if ($isInstanceOf(z, "Int"))
909+ then {
910+ let y = z
911+ y
912+ }
913+ else throw("Auction price was not found")
914+ }
915+ let aS = {
916+ let ak = getString(this, (v + "_Freelancer"))
917+ let y = {
918+ let z = ak
919+ if ($isInstanceOf(z, "String"))
920+ then {
921+ let y = z
922+ y
923+ }
924+ else throw("Auction Client was not found")
925+ }
926+ fromBase58String(y)
927+ }
783928 let au = ((L * 3) / 100)
784- let bw = (L - au)
785- let bA = {
786- let bB = getInteger(this, (aU + "_Rating"))
787- let bC = {
788- let z = bB
929+ let bs = (L - au)
930+ let as = D(E)
931+ let bt = {
932+ let bu = getInteger(this, (toBase58String(aS) + "_Rating"))
933+ let bv = {
934+ let z = bu
789935 if ($isInstanceOf(z, "Int"))
790936 then {
791937 let y = z
792938 y
793939 }
794940 else 0
795941 }
796- (bC + 1)
942+ (bv + 1)
797943 }
798- if ((aN == aS))
944+ if ((Q == Y))
799945 then if ((ah == j))
800- then {
801- let bu = ((((((((((aP[1] + "_") + aP[2]) + "_") + aP[3]) + "_") + aP[4]) + "_") + aP[5]) + "_") + aP[6])
802- ScriptResult(WriteSet([DataEntry(aO, ((((k + "_") + X) + "_") + bu)), DataEntry((aU + "_Rating"), bA)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(aU)), bw, D(E))]))
803- }
946+ then ScriptResult(WriteSet([DataEntry((v + "_State"), k), DataEntry((toBase58String(aS) + "_Rating"), bt)]), TransferSet([ScriptTransfer(addressFromPublicKey(aS), bs, as)]))
804947 else throw(("Incorrect state. Must be: " + j))
805948 else throw("Only auction customer can use this function")
806949 }
807950
808951
809-@Verifier(bD)
810-func bE () = if (sigVerify(bD.bodyBytes, bD.proofs[0], bD.senderPublicKey))
952+@Verifier(bw)
953+func bx () = if (sigVerify(bw.bodyBytes, bw.proofs[0], bw.senderPublicKey))
811954 then {
812- let z = bD
955+ let z = bw
813956 if ($isInstanceOf(z, "TransferTransaction"))
814957 then {
815- let bF = z
958+ let by = z
816959 true
817960 }
818961 else if ($isInstanceOf(z, "SetScriptTransaction"))
819962 then {
820- let bG = z
963+ let bz = z
821964 true
822965 }
823966 else false
824967 }
825968 else false
826969

github/deemru/w8io/169f3d6 
97.37 ms