tx · 7rvQMyy4CtojGSToxHZYVY9okMpf53U8Fdwv8LiVYyex

3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2:  -0.01500000 Waves

2019.09.26 15:49 [693345] smart account 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2 > SELF 0.00000000 Waves

{ "type": 13, "id": "7rvQMyy4CtojGSToxHZYVY9okMpf53U8Fdwv8LiVYyex", "fee": 1500000, "feeAssetId": null, "timestamp": 1569502174703, "version": 1, "sender": "3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2", "senderPublicKey": "8y2Uc9uYf5gRD6Dzm1aC73zYe3LZvtVDUVAnAhNdN2mg", "proofs": [ "3ffTPsgxk4GNmLoGeirFdRRptfH4LfVffTUy8QrXXmjSdEGQMauA4KuWc9sVjETDj4Yjw6ueESLAQ2DrwRtVF9jP" ], "script": "base64:AAIDAAAAAAAAAD8IARIDCgEIEgMKAQgSBQoDAQEIEgQKAggBEgQKAggIEgQKAggBEgMKAQgSAwoBCBIECgIICBIDCgEIEgMKAQgAAAAcAAAAAANkYXkAAAAAAAAABaAAAAAABVdBVkVTBQAAAAR1bml0AAAAAAR3QlRDAQAAACBs+mr/xe2qjAt/tSqT0qIML4KC23R6BIxT+/0TH3Og/wAAAAAEd0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABHdVU0QBAAAAIN0cvQHwz3UFMHgHsqi2OJjRRd1cH7ozWuNAb/pmWXD9AAAAAAlzdGF0ZU9wZW4CAAAABk9wZW5lZAAAAAAOc3RhdGVTdWdnZXN0ZWQCAAAACVN1Z2dlc3RlZAAAAAALc3RhdGVDYW5jZWwCAAAACENhbmNlbGVkAAAAAA9zdGF0ZUluUHJvZ3Jlc3MCAAAACkluUHJvZ3Jlc3MAAAAAEXN0YXRlV2FpdDRDb25maXJtAgAAABNXYWl0Rm9yQ29uZmlybWF0aW9uAAAAAA1zdGF0ZUNvbXBsZXRlAgAAAAlDb21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AAAAAnR4AQAAAAZ2ZXJpZnkAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAN0dHgFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAADc3R4BQAAAAckbWF0Y2gwBgcHFGZfiA==", "chainId": 84, "height": 693345, "spentComplexity": 0 } View: original | compacted Prev: B7LnJBzoDvajfnDqSFAPgQrKdDwUpRco2CnqWCvvSRxH Next: FgtBeHs5LpX3qTrV2Cim5CQ2PryMgAaToPSjLfzxth8x Diff:
OldNewDifferences
8686 else throw("Incorrect Asset Id")
8787
8888
89-func F (G,H) = if ((H > G))
90- then G
91- else throw(("Bet price must be lower than actual price. Actual price: " + toString(H)))
89+func F (G,H,I) = ((G - H) > I)
9290
9391
94-func I (J,K,L) = ((J - K) > L)
95-
96-
97-func M (N,H) = {
98- let O = getInteger(this, (N + "_Freezed"))
99- let P = {
100- let z = O
92+func J (K,L) = {
93+ let M = getInteger(this, (K + "_Freezed"))
94+ let N = {
95+ let z = M
10196 if ($isInstanceOf(z, "Int"))
10297 then {
10398 let y = z
105100 }
106101 else 0
107102 }
108- (P + H)
103+ (N + L)
109104 }
110105
111106
112-func Q (N,H) = {
113- let O = getInteger(this, (N + "_Freezed"))
114- let P = {
115- let z = O
107+func O (K,L) = {
108+ let M = getInteger(this, (K + "_Freezed"))
109+ let N = {
110+ let z = M
116111 if ($isInstanceOf(z, "Int"))
117112 then {
118113 let y = z
120115 }
121116 else 0
122117 }
123- let y = (P - H)
118+ let y = (N - L)
124119 if ((y > 0))
125120 then y
126121 else throw("Freezed amount couldn't be less than 0")
127122 }
128123
129124
130-func R (S) = {
131- let R = getString(this, (S + "_Freelancer"))
132- let z = R
125+func P (Q) = {
126+ let P = getString(this, (Q + "_Freelancer"))
127+ let z = P
133128 if ($isInstanceOf(z, "String"))
134129 then {
135130 let y = z
136- S
131+ Q
137132 }
138133 else throw("Only registered users can make bets")
139134 }
140135
141136
142-@Callable(T)
143-func freelancerSignUp (U) = {
144- let V = toBase58String(T.callerPublicKey)
145- let W = getString(this, (V + "_Freelancer"))
146- if (isDefined(W))
137+@Callable(R)
138+func freelancerSignUp (S) = {
139+ let T = toBase58String(R.callerPublicKey)
140+ let U = getString(this, (T + "_Freelancer"))
141+ if (isDefined(U))
147142 then throw("User already registered")
148- else WriteSet([DataEntry((V + "_Freelancer"), U)])
143+ else WriteSet([DataEntry((T + "_Freelancer"), S)])
149144 }
150145
151146
152147
153-@Callable(T)
154-func clientSignUp (U) = {
155- let V = toBase58String(T.callerPublicKey)
156- let W = getString(this, (V + "_Client"))
157- if (isDefined(W))
148+@Callable(R)
149+func clientSignUp (S) = {
150+ let T = toBase58String(R.callerPublicKey)
151+ let U = getString(this, (T + "_Client"))
152+ if (isDefined(U))
158153 then throw("User already registered")
159- else WriteSet([DataEntry((V + "_Client"), U)])
154+ else WriteSet([DataEntry((T + "_Client"), S)])
160155 }
161156
162157
163158
164-@Callable(T)
165-func createAuction (X,Y,Z) = {
166- let v = toBase58String(T.transactionId)
167- let aa = toBase58String(T.callerPublicKey)
168- let ab = extract(T.payment)
169- let ac = ab.amount
170- let H = if ((ac > 0))
171- then ac
159+@Callable(R)
160+func createAuction (V,W,X) = {
161+ let v = toBase58String(R.transactionId)
162+ let Y = toBase58String(R.callerPublicKey)
163+ let Z = extract(R.payment)
164+ let aa = Z.amount
165+ let L = if ((aa > 0))
166+ then aa
172167 else throw("Amount must be higher then 0")
173- let ad = height
174- let ae = (Y * a)
175- let af = (X * a)
176- let N = if (!(isDefined(ab.assetId)))
168+ let ab = height
169+ let ac = (W * a)
170+ let ad = (V * a)
171+ let K = if (!(isDefined(Z.assetId)))
177172 then "WAVES"
178- else if ((ab.assetId == c))
173+ else if ((Z.assetId == c))
179174 then "BTC"
180- else if ((ab.assetId == d))
175+ else if ((Z.assetId == d))
181176 then "EUR"
182- else if ((ab.assetId == e))
177+ else if ((Z.assetId == e))
183178 then "USD"
184179 else throw("AssetId is incorrect")
185- let ag = M(N, H)
186- WriteSet([DataEntry(u(v), ((((((((((((((f + "_") + Z) + "_") + aa) + "_") + toString(ad)) + "_") + toString(ae)) + "_") + toString(af)) + "_") + N) + "_") + toString(H))), DataEntry((N + "_Freezed"), ag)])
180+ let ae = J(K, L)
181+ WriteSet([DataEntry((v + "_State"), v), 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)])
187182 }
188183
189184
190185
191-@Callable(T)
192-func makeBid (v,G) = {
193- let S = toBase58String(T.callerPublicKey)
194- let ah = height
195- let ai = u(v)
196- let aj = w(ai)
197- let ak = aj[0]
198- let Z = aj[1]
199- let aa = fromBase58String(aj[2])
200- let ad = parseIntValue(aj[3])
201- let al = parseIntValue(aj[4])
202- let am = parseIntValue(aj[5])
203- let E = aj[6]
204- let H = parseIntValue(aj[7])
205- let an = D(E)
206- let ao = F(G, H)
207- let ap = R(S)
208- let aq = ((H * 3) / 100)
209- let ag = Q(E, H)
210- let ar = I(ah, ad, al)
211- if (ar)
212- then if ((ak == f))
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- else if ((ak == g))
186+@Callable(R)
187+func makeBid (v,af) = {
188+ let Q = toBase58String(R.callerPublicKey)
189+ let ag = height
190+ let ah = {
191+ let ai = getString(this, (v + "_State"))
192+ let z = ai
193+ if ($isInstanceOf(z, "String"))
194+ then {
195+ let y = z
196+ y
197+ }
198+ else throw("Auction State was not found")
199+ }
200+ let X = {
201+ let aj = getString(this, (v + "_Info"))
202+ let z = aj
203+ if ($isInstanceOf(z, "String"))
204+ then {
205+ let y = z
206+ y
207+ }
208+ else throw("Auction info was not found")
209+ }
210+ let Y = {
211+ let ak = getString(this, (v + "_Client"))
212+ let y = {
213+ let z = ak
214+ if ($isInstanceOf(z, "String"))
215215 then {
216- let as = aj[8]
217- WriteSet([DataEntry(ai, ((((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + as))])
216+ let y = z
217+ y
218+ }
219+ else throw("Auction Client was not found")
220+ }
221+ fromBase58String(y)
222+ }
223+ let ab = {
224+ let al = getInteger(this, (v + "_AuctionStart"))
225+ let z = al
226+ if ($isInstanceOf(z, "Int"))
227+ then {
228+ let y = z
229+ y
230+ }
231+ else throw("Auction Start time was not found")
232+ }
233+ let am = {
234+ let an = getInteger(this, (v + "_AuctionDuration"))
235+ let z = an
236+ if ($isInstanceOf(z, "Int"))
237+ then {
238+ let y = z
239+ y
240+ }
241+ else throw("Auction duration time was not found")
242+ }
243+ let ao = {
244+ let ap = getInteger(this, (v + "JobPerformance"))
245+ let z = ap
246+ if ($isInstanceOf(z, "Int"))
247+ then {
248+ let y = z
249+ y
250+ }
251+ else throw("Auction job performance time was not found")
252+ }
253+ let E = {
254+ let aq = getString(this, (v + "_AssetName"))
255+ let z = aq
256+ if ($isInstanceOf(z, "String"))
257+ then {
258+ let y = z
259+ y
260+ }
261+ else throw("Auction asset name was not found")
262+ }
263+ let L = {
264+ let ar = getInteger(this, (v + "_Price"))
265+ let z = ar
266+ if ($isInstanceOf(z, "Int"))
267+ then {
268+ let y = z
269+ y
270+ }
271+ else throw("Auction price was not found")
272+ }
273+ let as = D(E)
274+ let at = P(Q)
275+ let au = ((L * 3) / 100)
276+ let ae = O(E, L)
277+ let av = F(ag, ab, am)
278+ if (av)
279+ then if ((ah == f))
280+ then ScriptResult(WriteSet([DataEntry((v + "_State"), h), DataEntry((E + "_Freezed"), ae)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), (L - au), as)]))
281+ else if ((ah == g))
282+ then {
283+ let aw = {
284+ let ax = getString(this, (v + "_LowestBidderPub"))
285+ let z = ax
286+ if ($isInstanceOf(z, "String"))
287+ then {
288+ let y = z
289+ y
290+ }
291+ else throw("Auction lowest bidder was not found")
292+ }
293+ let ay = {
294+ let az = getInteger(this, ((v + "_Bid_") + aw))
295+ let z = az
296+ if ($isInstanceOf(z, "Int"))
297+ then {
298+ let y = z
299+ y
300+ }
301+ else throw("Auction lowest bid was not found")
302+ }
303+ let aA = ((L - ay) - au)
304+ ScriptResult(WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_Freelancer"), aw), DataEntry((v + "_Price"), ay)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), aA, as)]))
218305 }
219306 else throw("Incorrect auction state")
220- else if ((ak == f))
221- then WriteSet([DataEntry(((v + "_") + ap), G), DataEntry(ai, ((((((((((((((((g + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + ap))])
222- else if ((ak == g))
307+ else if ((ah == f))
308+ then WriteSet([DataEntry(((v + "_Bid_") + at), af), DataEntry((v + "_State"), g), DataEntry((v + "_LowestBidderPub"), Q), DataEntry((v + Q), af)])
309+ else if ((ah == g))
223310 then {
224- let at = aj[8]
225- let au = {
226- let av = ((v + "_") + at)
227- let aw = getInteger(this, av)
228- let ax = {
229- let z = aw
311+ let aB = {
312+ let aC = getString(this, (v + "_LowestBidderPub"))
313+ let z = aC
314+ if ($isInstanceOf(z, "String"))
315+ then {
316+ let y = z
317+ y
318+ }
319+ else throw("Auction lowest bidder was not found")
320+ }
321+ let aD = {
322+ let aE = getInteger(this, ((v + "_Bid_") + aB))
323+ let aF = {
324+ let z = aE
230325 if ($isInstanceOf(z, "Int"))
231326 then {
232327 let y = z
233328 y
234329 }
235- else throw("Can't find lowest bid by public key")
330+ else throw("Auction lowest bid was not found")
236331 }
237- if ((ax > ao))
238- then ap
239- else at
332+ if ((aF > af))
333+ then at
334+ else aB
240335 }
241- WriteSet([DataEntry(((v + "_Bid_") + S), G), DataEntry(ai, ((((((((((((((((g + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + au))])
336+ WriteSet([DataEntry((v + "_LowestBidderPub"), aD), DataEntry(((v + "_Bid_") + at), af)])
242337 }
243- else throw(((((("Incorrect jobId state. Now: " + ak) + ", must be: ") + f) + " or ") + g))
338+ else throw(((((("Incorrect jobId state. Now: " + ah) + ", must be: ") + f) + " or ") + g))
244339 }
245340
246341
247342
248-@Callable(T)
249-func chooseFreelancer (v,ay) = {
250- let S = extract(T.callerPublicKey)
251- let ah = height
252- let ai = u(v)
253- let aj = w(ai)
254- let ak = aj[0]
255- let Z = aj[1]
256- let aa = fromBase58String(aj[2])
257- let ad = parseIntValue(aj[3])
258- let al = parseIntValue(aj[4])
259- let am = parseIntValue(aj[5])
260- let E = aj[6]
261- let H = parseIntValue(aj[7])
262- let an = D(E)
263- let az = {
264- let aA = ((v + "_") + ay)
265- let aB = getInteger(this, aA)
266- let z = aB
343+@Callable(R)
344+func chooseFreelancer (v,aG) = {
345+ let Q = extract(R.callerPublicKey)
346+ let ag = height
347+ let ah = {
348+ let ai = getString(this, (v + "_State"))
349+ let z = ai
350+ if ($isInstanceOf(z, "String"))
351+ then {
352+ let y = z
353+ y
354+ }
355+ else throw("Auction State was not found")
356+ }
357+ let Y = {
358+ let ak = getString(this, (v + "_Client"))
359+ let y = {
360+ let z = ak
361+ if ($isInstanceOf(z, "String"))
362+ then {
363+ let y = z
364+ y
365+ }
366+ else throw("Auction Client was not found")
367+ }
368+ fromBase58String(y)
369+ }
370+ let ab = {
371+ let al = getInteger(this, (v + "_AuctionStart"))
372+ let z = al
373+ if ($isInstanceOf(z, "Int"))
374+ then {
375+ let y = z
376+ y
377+ }
378+ else throw("Auction Start time was not found")
379+ }
380+ let am = {
381+ let an = getInteger(this, (v + "_AuctionDuration"))
382+ let z = an
383+ if ($isInstanceOf(z, "Int"))
384+ then {
385+ let y = z
386+ y
387+ }
388+ else throw("Auction duration time was not found")
389+ }
390+ let E = {
391+ let aq = getString(this, (v + "_AssetName"))
392+ let z = aq
393+ if ($isInstanceOf(z, "String"))
394+ then {
395+ let y = z
396+ y
397+ }
398+ else throw("Auction asset name was not found")
399+ }
400+ let L = {
401+ let ar = getInteger(this, (v + "_Price"))
402+ let z = ar
403+ if ($isInstanceOf(z, "Int"))
404+ then {
405+ let y = z
406+ y
407+ }
408+ else throw("Auction price was not found")
409+ }
410+ let as = D(E)
411+ let aH = {
412+ let aI = ((v + "_") + aG)
413+ let aJ = getInteger(this, aI)
414+ let z = aJ
267415 if ($isInstanceOf(z, "Int"))
268416 then {
269417 let y = z
271419 }
272420 else throw("Freelancer's bet was not found")
273421 }
274- let aq = ((H * 3) / 100)
275- let aC = ((H - az) - aq)
276- let ar = I(ah, ad, al)
277- if ((S == aa))
278- then if (ar)
279- then if ((ak == f))
280- 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)]))
281- else if ((ak == g))
282- then WriteSet([DataEntry(ai, ((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))])
422+ let ae = O(E, L)
423+ let au = ((L * 3) / 100)
424+ let aA = ((L - aH) - au)
425+ let av = F(ag, ab, am)
426+ if ((Q == Y))
427+ then if (av)
428+ then if ((ah == f))
429+ then ScriptResult(WriteSet([DataEntry((v + "_State"), h), DataEntry((E + "_Freezed"), ae)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), (L - au), as)]))
430+ else if ((ah == g))
431+ then {
432+ let aw = {
433+ let ax = getString(this, (v + "_LowestBidderPub"))
434+ let z = ax
435+ if ($isInstanceOf(z, "String"))
436+ then {
437+ let y = z
438+ y
439+ }
440+ else throw("Auction lowest bidder was not found")
441+ }
442+ let ay = {
443+ let az = getInteger(this, ((v + "_Bid_") + aw))
444+ let z = az
445+ if ($isInstanceOf(z, "Int"))
446+ then {
447+ let y = z
448+ y
449+ }
450+ else throw("Auction lowest bid was not found")
451+ }
452+ WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_Freelancer"), aw), DataEntry((v + "_Price"), ay)])
453+ }
283454 else throw("Incorrect auction state")
284- 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)]))
455+ else {
456+ let aK = {
457+ let at = getInteger(this, ((v + "_Bid_") + aG))
458+ let z = at
459+ if ($isInstanceOf(z, "Int"))
460+ then {
461+ let y = z
462+ aG
463+ }
464+ else throw("Error: Incorrect freelancerPub")
465+ }
466+ let aL = {
467+ let aC = getInteger(this, ((v + "_Bid_") + aG))
468+ let z = aC
469+ if ($isInstanceOf(z, "Int"))
470+ then {
471+ let y = z
472+ y
473+ }
474+ else throw("Auction lowest bidder was not found")
475+ }
476+ ScriptResult(WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_Freelancer"), aK), DataEntry((v + "_Price"), aL)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), aA, as)]))
477+ }
285478 else throw("Only auction customer can choose a freelancer")
286479 }
287480
288481
289482
290-@Callable(T)
291-func increaseExecutionTime (v,aD) = {
292- let aE = extract(T.callerPublicKey)
293- let ai = u(v)
294- let aj = w(ai)
295- let ak = aj[0]
296- let Z = aj[1]
297- let aa = fromBase58String(aj[2])
298- let ad = parseIntValue(aj[3])
299- let al = parseIntValue(aj[4])
300- let am = parseIntValue(aj[5])
301- let E = aj[6]
302- let H = parseIntValue(aj[7])
303- let aF = {
304- let aG = (aD * a)
305- if ((aG > am))
306- then aG
483+@Callable(R)
484+func increaseExecutionTime (v,aM) = {
485+ let aN = extract(R.callerPublicKey)
486+ let aO = u(v)
487+ let aP = w(aO)
488+ let ah = aP[0]
489+ let Y = {
490+ let ak = getString(this, (v + "_Client"))
491+ let y = {
492+ let z = ak
493+ if ($isInstanceOf(z, "String"))
494+ then {
495+ let y = z
496+ y
497+ }
498+ else throw("Auction Client was not found")
499+ }
500+ fromBase58String(y)
501+ }
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
307511 else throw("New execution time must more than current execution time")
308512 }
309- if ((aE == aa))
310- then if ((ak == f))
311- then WriteSet([DataEntry(ai, ((((((((((((((ak + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))])
312- else if (if ((ak == g))
513+ 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))
313517 then true
314- else (ak == i))
518+ else (ah == i))
315519 then {
316- let ay = aj[7]
317- WriteSet([DataEntry(ai, ((((((((((((((((ak + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + ay))])
520+ let aG = aP[7]
521+ WriteSet([DataEntry(aO, ((((((((((((((ah + "_") + toBase58String(Y)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)) + "_") + aG))])
318522 }
319523 else throw("Incorrect state")
320524 else throw("Only customer can increase execution time")
322526
323527
324528
325-@Callable(T)
529+@Callable(R)
326530 func cancelAuction (v) = {
327- let ai = u(v)
328- let aj = w(ai)
329- let ak = aj[0]
330- let Z = aj[1]
331- let aa = fromBase58String(aj[2])
332- let ad = parseIntValue(aj[3])
333- let al = parseIntValue(aj[4])
334- let am = parseIntValue(aj[5])
335- let E = aj[6]
336- let H = parseIntValue(aj[7])
337- let aH = if ((T.callerPublicKey == aa))
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))
338542 then true
339543 else throw("Auction can be canceled only by owner.")
340- if ((ak == f))
341- then WriteSet([DataEntry(ai, ((((((((((((((h + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))])
544+ if ((ah == f))
545+ then WriteSet([DataEntry(aO, ((((((((((((((h + "_") + X) + "_") + toBase58String(aS)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)))])
342546 else throw("Incorrect auction state.")
343547 }
344548
345549
346550
347-@Callable(T)
551+@Callable(R)
348552 func openDispute (v) = {
349- let aE = extract(T.callerPublicKey)
350- let ai = u(v)
351- let aj = w(ai)
352- let ak = aj[0]
353- let Z = aj[1]
354- let aa = fromBase58String(aj[2])
355- let ad = parseIntValue(aj[3])
356- let al = parseIntValue(aj[4])
357- let am = parseIntValue(aj[5])
358- let E = aj[6]
359- let H = parseIntValue(aj[7])
360- let as = fromBase58String(aj[8])
361- if (if ((aE == aa))
553+ 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))
362566 then true
363- else (aE == as))
567+ else (aN == aU))
364568 then {
365- let aI = "1"
366- WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + aI)), DataEntry((v + "_Dispute"), "0")])
569+ let aV = "1"
570+ WriteSet([DataEntry(aO, ((((l + "_") + X) + "_") + aV)), DataEntry((v + "_Dispute"), "0")])
367571 }
368572 else throw("Only customer and freelancer can open dispute")
369573 }
370574
371575
372576
373-@Callable(T)
374-func voteDispute (v,aJ) = {
375- let ai = u(v)
376- let aj = w(ai)
377- let ak = aj[0]
378- let Z = aj[1]
379- let aa = fromBase58String(aj[2])
380- let ad = parseIntValue(aj[3])
381- let al = parseIntValue(aj[4])
382- let am = parseIntValue(aj[5])
383- let E = aj[6]
384- let H = parseIntValue(aj[7])
385- let as = fromBase58String(aj[8])
386- let aK = ((H * 3) / 100)
387- let aL = if ((ak == l))
577+@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))
388592 then true
389593 else throw(("Incorrect state. Must be: " + l))
390- let aM = if (if ((aJ == n))
594+ let aZ = if (if ((aW == n))
391595 then true
392- else (aJ == o))
393- then aJ
596+ else (aW == o))
597+ then aW
394598 else throw(((("Vote is incorrect. Must be: " + n) + " or ") + o))
395- let aN = if (if (if (if (if ((T.callerPublicKey == p))
599+ let ba = if (if (if (if (if ((R.callerPublicKey == p))
396600 then true
397- else (T.callerPublicKey == q))
601+ else (R.callerPublicKey == q))
398602 then true
399- else (T.callerPublicKey == r))
603+ else (R.callerPublicKey == r))
400604 then true
401- else (T.callerPublicKey == s))
605+ else (R.callerPublicKey == s))
402606 then true
403- else (T.callerPublicKey == t))
404- then toBase58String(T.callerPublicKey)
607+ else (R.callerPublicKey == t))
608+ then toBase58String(R.callerPublicKey)
405609 else throw("You have no rights for disputes resolving")
406- let aO = {
407- let aP = ((v + "_") + l)
408- let aQ = getString(this, aP)
409- let z = aQ
610+ let bb = {
611+ let bc = ((v + "_") + l)
612+ let bd = getString(this, bc)
613+ let z = bd
410614 if ($isInstanceOf(z, "String"))
411615 then {
412616 let y = z
414618 }
415619 else throw("Cannot find data of dispute in storage")
416620 }
417- let aR = split(aO, "/")
418- let aS = aR[0]
419- if ((aS == "4"))
621+ let be = split(bb, "/")
622+ let bf = be[0]
623+ if ((bf == "4"))
420624 then {
421- let aT = split(aR[1], "_")
422- let aU = split(aR[2], "_")
423- let aV = if ((aN == aT[0]))
625+ let bg = split(be[1], "_")
626+ let bh = split(be[2], "_")
627+ let bi = if ((ba == bg[0]))
424628 then true
425- else (aN == aT[1])
426- if (aV)
629+ else (ba == bg[1])
630+ if (bi)
427631 then throw("You already voted")
428632 else {
429- let aW = "5"
430- let aX = ((aR[1] + "_") + aN)
431- let aY = ((aR[2] + "_") + aM)
432- let aZ = ((((aW + "/") + aX) + "/") + aY)
433- let ba = {
434- let bb = if ((aU[0] == n))
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))
435639 then 1
436640 else 0
437- let bc = if ((aU[1] == n))
641+ let bp = if ((bh[1] == n))
438642 then 1
439643 else 0
440- let bd = if ((aU[2] == n))
644+ let bq = if ((bh[2] == n))
441645 then 1
442646 else 0
443- let be = if ((aU[3] == n))
647+ let br = if ((bh[3] == n))
444648 then 1
445649 else 0
446- let bf = if ((aM == n))
650+ let bs = if ((aZ == n))
447651 then 1
448652 else 0
449- let bg = ((((bb + bc) + bd) + be) + bf)
450- if ((bg > 2))
653+ let bt = ((((bo + bp) + bq) + br) + bs)
654+ if ((bt > 2))
451655 then n
452656 else o
453657 }
454- let bh = ((((((((((((((Z + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + toBase58String(as))
455- let bi = if ((ba == n))
456- then aa
457- else as
458- let bj = if ((bi == aa))
459- then (H - aK)
460- else ((H - aK) - aK)
461- ScriptResult(WriteSet([DataEntry(u(v), ((m + "_") + bh)), DataEntry(((v + "_") + l), aZ)]), TransferSet([ScriptTransfer(addressFromPublicKey(bi), bj, D(E))]))
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))]))
462666 }
463667 }
464668 else {
465- let aZ = if ((aS == "0"))
669+ let bm = if ((bf == "0"))
466670 then {
467- let aW = "1"
468- let aX = aN
469- let aY = aM
470- let bh = ((((aW + "/") + aX) + "/") + aY)
471- bh
671+ let bj = "1"
672+ let bk = ba
673+ let bl = aZ
674+ let bu = ((((bj + "/") + bk) + "/") + bl)
675+ bu
472676 }
473- else if ((aS == "1"))
677+ else if ((bf == "1"))
474678 then {
475- let bk = aR[1]
476- let bb = aR[2]
477- let aV = (aN == bk)
478- if (aV)
679+ let bx = be[1]
680+ let bo = be[2]
681+ let bi = (ba == bx)
682+ if (bi)
479683 then throw("You already voted")
480684 else {
481- let aW = "1"
482- let aX = (bk + aN)
483- let aY = (bb + aM)
484- let bh = ((((aW + "/") + aX) + "/") + aY)
485- bh
685+ let bj = "1"
686+ let bk = (bx + ba)
687+ let bl = (bo + aZ)
688+ let bu = ((((bj + "/") + bk) + "/") + bl)
689+ bu
486690 }
487691 }
488- else if ((aS == "2"))
692+ else if ((bf == "2"))
489693 then {
490- let aT = split(aR[1], "_")
491- let aU = split(aR[2], "_")
492- let aV = if ((aN == aT[0]))
694+ let bg = split(be[1], "_")
695+ let bh = split(be[2], "_")
696+ let bi = if ((ba == bg[0]))
493697 then true
494- else (aN == aT[1])
495- if (aV)
698+ else (ba == bg[1])
699+ if (bi)
496700 then throw("You already voted")
497701 else {
498- let aW = "3"
499- let aX = ((aR[1] + "_") + aN)
500- let aY = ((aR[2] + "_") + aM)
501- let bh = ((((aW + "/") + aX) + "/") + aY)
502- bh
702+ let bj = "3"
703+ let bk = ((be[1] + "_") + ba)
704+ let bl = ((be[2] + "_") + aZ)
705+ let bu = ((((bj + "/") + bk) + "/") + bl)
706+ bu
503707 }
504708 }
505- else if ((aS == "3"))
709+ else if ((bf == "3"))
506710 then {
507- let aT = split(aR[1], "_")
508- let aU = split(aR[2], "_")
509- let aV = if (if ((aN == aT[0]))
711+ let bg = split(be[1], "_")
712+ let bh = split(be[2], "_")
713+ let bi = if (if ((ba == bg[0]))
510714 then true
511- else (aN == aT[1]))
715+ else (ba == bg[1]))
512716 then true
513- else (aN == aT[2])
514- if (aV)
717+ else (ba == bg[2])
718+ if (bi)
515719 then throw("You already voted")
516720 else {
517- let aW = "4"
518- let aX = ((aR[1] + "_") + aN)
519- let aY = ((aR[2] + "_") + aM)
520- let bh = ((((aW + "/") + aX) + "/") + aY)
521- bh
721+ let bj = "4"
722+ let bk = ((be[1] + "_") + ba)
723+ let bl = ((be[2] + "_") + aZ)
724+ let bu = ((((bj + "/") + bk) + "/") + bl)
725+ bu
522726 }
523727 }
524728 else throw("Dispute has been already resolved")
525- WriteSet([DataEntry(((v + "_") + l), aZ)])
729+ WriteSet([DataEntry(((v + "_") + l), bm)])
526730 }
527731 }
528732
529733
530734
531-@Callable(T)
735+@Callable(R)
532736 func workHandOver (v) = {
533- let S = extract(T.callerPublicKey)
534- let ai = u(v)
535- let aj = w(ai)
536- let ak = aj[0]
537- let Z = aj[1]
538- let aa = fromBase58String(aj[2])
539- let ad = parseIntValue(aj[3])
540- let al = parseIntValue(aj[4])
541- let am = parseIntValue(aj[5])
542- let E = aj[6]
543- let H = parseIntValue(aj[7])
544- let as = fromBase58String(aj[8])
545- let J = height
546- let bl = if ((S == as))
547- then S
737+ 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])
749+ let G = height
750+ let by = if ((Q == aU))
751+ then Q
548752 else throw("Only a freelancer can indicate that the work is done")
549- let bm = ((J - ad) > am)
550- if ((ak == i))
551- then if (bm)
753+ let bz = ((G - ab) > ao)
754+ if ((ah == i))
755+ then if (bz)
552756 then {
553- let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6])
554- WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + bh))])
757+ let bu = ((((((((((aP[1] + "_") + aP[2]) + "_") + aP[3]) + "_") + aP[4]) + "_") + aP[5]) + "_") + aP[6])
758+ WriteSet([DataEntry(aO, ((((l + "_") + X) + "_") + bu))])
555759 }
556760 else {
557- let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6])
558- WriteSet([DataEntry(ai, ((((j + "_") + Z) + "_") + bh))])
761+ let bu = ((((((((((aP[1] + "_") + aP[2]) + "_") + aP[3]) + "_") + aP[4]) + "_") + aP[5]) + "_") + aP[6])
762+ WriteSet([DataEntry(aO, ((((j + "_") + X) + "_") + bu))])
559763 }
560764 else throw("Auction state is incorrect")
561765 }
562766
563767
564768
565-@Callable(T)
769+@Callable(R)
566770 func acceptWork (v) = {
567- let ai = u(v)
568- let aj = w(ai)
569- let ak = aj[0]
570- let Z = aj[1]
571- let aa = fromBase58String(aj[2])
572- let ad = parseIntValue(aj[3])
573- let al = parseIntValue(aj[4])
574- let am = parseIntValue(aj[5])
575- let E = aj[6]
576- let H = parseIntValue(aj[7])
577- let as = aj[2]
578- let aE = extract(T.callerPublicKey)
579- let aq = ((H * 3) / 100)
580- let bj = (H - aq)
581- let bn = {
582- let bo = getInteger(this, (as + "_Rating"))
583- let bp = {
584- let z = bo
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)
783+ 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
585789 if ($isInstanceOf(z, "Int"))
586790 then {
587791 let y = z
589793 }
590794 else 0
591795 }
592- (bp + 1)
796+ (bC + 1)
593797 }
594- if ((aE == aa))
595- then if ((ak == j))
798+ if ((aN == aS))
799+ then if ((ah == j))
596800 then {
597- let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6])
598- ScriptResult(WriteSet([DataEntry(ai, ((((k + "_") + Z) + "_") + bh)), DataEntry((as + "_Rating"), bn)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(as)), bj, D(E))]))
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))]))
599803 }
600804 else throw(("Incorrect state. Must be: " + j))
601805 else throw("Only auction customer can use this function")
602806 }
603807
604808
605-@Verifier(bq)
606-func br () = if (sigVerify(bq.bodyBytes, bq.proofs[0], bq.senderPublicKey))
809+@Verifier(bD)
810+func bE () = if (sigVerify(bD.bodyBytes, bD.proofs[0], bD.senderPublicKey))
607811 then {
608- let z = bq
812+ let z = bD
609813 if ($isInstanceOf(z, "TransferTransaction"))
610814 then {
611- let bs = z
815+ let bF = z
612816 true
613817 }
614818 else if ($isInstanceOf(z, "SetScriptTransaction"))
615819 then {
616- let bt = z
820+ let bG = z
617821 true
618822 }
619823 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
89-func F (G,H) = if ((H > G))
90- then G
91- else throw(("Bet price must be lower than actual price. Actual price: " + toString(H)))
89+func F (G,H,I) = ((G - H) > I)
9290
9391
94-func I (J,K,L) = ((J - K) > L)
95-
96-
97-func M (N,H) = {
98- let O = getInteger(this, (N + "_Freezed"))
99- let P = {
100- let z = O
92+func J (K,L) = {
93+ let M = getInteger(this, (K + "_Freezed"))
94+ let N = {
95+ let z = M
10196 if ($isInstanceOf(z, "Int"))
10297 then {
10398 let y = z
10499 y
105100 }
106101 else 0
107102 }
108- (P + H)
103+ (N + L)
109104 }
110105
111106
112-func Q (N,H) = {
113- let O = getInteger(this, (N + "_Freezed"))
114- let P = {
115- let z = O
107+func O (K,L) = {
108+ let M = getInteger(this, (K + "_Freezed"))
109+ let N = {
110+ let z = M
116111 if ($isInstanceOf(z, "Int"))
117112 then {
118113 let y = z
119114 y
120115 }
121116 else 0
122117 }
123- let y = (P - H)
118+ let y = (N - L)
124119 if ((y > 0))
125120 then y
126121 else throw("Freezed amount couldn't be less than 0")
127122 }
128123
129124
130-func R (S) = {
131- let R = getString(this, (S + "_Freelancer"))
132- let z = R
125+func P (Q) = {
126+ let P = getString(this, (Q + "_Freelancer"))
127+ let z = P
133128 if ($isInstanceOf(z, "String"))
134129 then {
135130 let y = z
136- S
131+ Q
137132 }
138133 else throw("Only registered users can make bets")
139134 }
140135
141136
142-@Callable(T)
143-func freelancerSignUp (U) = {
144- let V = toBase58String(T.callerPublicKey)
145- let W = getString(this, (V + "_Freelancer"))
146- if (isDefined(W))
137+@Callable(R)
138+func freelancerSignUp (S) = {
139+ let T = toBase58String(R.callerPublicKey)
140+ let U = getString(this, (T + "_Freelancer"))
141+ if (isDefined(U))
147142 then throw("User already registered")
148- else WriteSet([DataEntry((V + "_Freelancer"), U)])
143+ else WriteSet([DataEntry((T + "_Freelancer"), S)])
149144 }
150145
151146
152147
153-@Callable(T)
154-func clientSignUp (U) = {
155- let V = toBase58String(T.callerPublicKey)
156- let W = getString(this, (V + "_Client"))
157- if (isDefined(W))
148+@Callable(R)
149+func clientSignUp (S) = {
150+ let T = toBase58String(R.callerPublicKey)
151+ let U = getString(this, (T + "_Client"))
152+ if (isDefined(U))
158153 then throw("User already registered")
159- else WriteSet([DataEntry((V + "_Client"), U)])
154+ else WriteSet([DataEntry((T + "_Client"), S)])
160155 }
161156
162157
163158
164-@Callable(T)
165-func createAuction (X,Y,Z) = {
166- let v = toBase58String(T.transactionId)
167- let aa = toBase58String(T.callerPublicKey)
168- let ab = extract(T.payment)
169- let ac = ab.amount
170- let H = if ((ac > 0))
171- then ac
159+@Callable(R)
160+func createAuction (V,W,X) = {
161+ let v = toBase58String(R.transactionId)
162+ let Y = toBase58String(R.callerPublicKey)
163+ let Z = extract(R.payment)
164+ let aa = Z.amount
165+ let L = if ((aa > 0))
166+ then aa
172167 else throw("Amount must be higher then 0")
173- let ad = height
174- let ae = (Y * a)
175- let af = (X * a)
176- let N = if (!(isDefined(ab.assetId)))
168+ let ab = height
169+ let ac = (W * a)
170+ let ad = (V * a)
171+ let K = if (!(isDefined(Z.assetId)))
177172 then "WAVES"
178- else if ((ab.assetId == c))
173+ else if ((Z.assetId == c))
179174 then "BTC"
180- else if ((ab.assetId == d))
175+ else if ((Z.assetId == d))
181176 then "EUR"
182- else if ((ab.assetId == e))
177+ else if ((Z.assetId == e))
183178 then "USD"
184179 else throw("AssetId is incorrect")
185- let ag = M(N, H)
186- WriteSet([DataEntry(u(v), ((((((((((((((f + "_") + Z) + "_") + aa) + "_") + toString(ad)) + "_") + toString(ae)) + "_") + toString(af)) + "_") + N) + "_") + toString(H))), DataEntry((N + "_Freezed"), ag)])
180+ let ae = J(K, L)
181+ WriteSet([DataEntry((v + "_State"), v), 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)])
187182 }
188183
189184
190185
191-@Callable(T)
192-func makeBid (v,G) = {
193- let S = toBase58String(T.callerPublicKey)
194- let ah = height
195- let ai = u(v)
196- let aj = w(ai)
197- let ak = aj[0]
198- let Z = aj[1]
199- let aa = fromBase58String(aj[2])
200- let ad = parseIntValue(aj[3])
201- let al = parseIntValue(aj[4])
202- let am = parseIntValue(aj[5])
203- let E = aj[6]
204- let H = parseIntValue(aj[7])
205- let an = D(E)
206- let ao = F(G, H)
207- let ap = R(S)
208- let aq = ((H * 3) / 100)
209- let ag = Q(E, H)
210- let ar = I(ah, ad, al)
211- if (ar)
212- then if ((ak == f))
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- else if ((ak == g))
186+@Callable(R)
187+func makeBid (v,af) = {
188+ let Q = toBase58String(R.callerPublicKey)
189+ let ag = height
190+ let ah = {
191+ let ai = getString(this, (v + "_State"))
192+ let z = ai
193+ if ($isInstanceOf(z, "String"))
194+ then {
195+ let y = z
196+ y
197+ }
198+ else throw("Auction State was not found")
199+ }
200+ let X = {
201+ let aj = getString(this, (v + "_Info"))
202+ let z = aj
203+ if ($isInstanceOf(z, "String"))
204+ then {
205+ let y = z
206+ y
207+ }
208+ else throw("Auction info was not found")
209+ }
210+ let Y = {
211+ let ak = getString(this, (v + "_Client"))
212+ let y = {
213+ let z = ak
214+ if ($isInstanceOf(z, "String"))
215215 then {
216- let as = aj[8]
217- WriteSet([DataEntry(ai, ((((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + as))])
216+ let y = z
217+ y
218+ }
219+ else throw("Auction Client was not found")
220+ }
221+ fromBase58String(y)
222+ }
223+ let ab = {
224+ let al = getInteger(this, (v + "_AuctionStart"))
225+ let z = al
226+ if ($isInstanceOf(z, "Int"))
227+ then {
228+ let y = z
229+ y
230+ }
231+ else throw("Auction Start time was not found")
232+ }
233+ let am = {
234+ let an = getInteger(this, (v + "_AuctionDuration"))
235+ let z = an
236+ if ($isInstanceOf(z, "Int"))
237+ then {
238+ let y = z
239+ y
240+ }
241+ else throw("Auction duration time was not found")
242+ }
243+ let ao = {
244+ let ap = getInteger(this, (v + "JobPerformance"))
245+ let z = ap
246+ if ($isInstanceOf(z, "Int"))
247+ then {
248+ let y = z
249+ y
250+ }
251+ else throw("Auction job performance time was not found")
252+ }
253+ let E = {
254+ let aq = getString(this, (v + "_AssetName"))
255+ let z = aq
256+ if ($isInstanceOf(z, "String"))
257+ then {
258+ let y = z
259+ y
260+ }
261+ else throw("Auction asset name was not found")
262+ }
263+ let L = {
264+ let ar = getInteger(this, (v + "_Price"))
265+ let z = ar
266+ if ($isInstanceOf(z, "Int"))
267+ then {
268+ let y = z
269+ y
270+ }
271+ else throw("Auction price was not found")
272+ }
273+ let as = D(E)
274+ let at = P(Q)
275+ let au = ((L * 3) / 100)
276+ let ae = O(E, L)
277+ let av = F(ag, ab, am)
278+ if (av)
279+ then if ((ah == f))
280+ then ScriptResult(WriteSet([DataEntry((v + "_State"), h), DataEntry((E + "_Freezed"), ae)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), (L - au), as)]))
281+ else if ((ah == g))
282+ then {
283+ let aw = {
284+ let ax = getString(this, (v + "_LowestBidderPub"))
285+ let z = ax
286+ if ($isInstanceOf(z, "String"))
287+ then {
288+ let y = z
289+ y
290+ }
291+ else throw("Auction lowest bidder was not found")
292+ }
293+ let ay = {
294+ let az = getInteger(this, ((v + "_Bid_") + aw))
295+ let z = az
296+ if ($isInstanceOf(z, "Int"))
297+ then {
298+ let y = z
299+ y
300+ }
301+ else throw("Auction lowest bid was not found")
302+ }
303+ let aA = ((L - ay) - au)
304+ ScriptResult(WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_Freelancer"), aw), DataEntry((v + "_Price"), ay)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), aA, as)]))
218305 }
219306 else throw("Incorrect auction state")
220- else if ((ak == f))
221- then WriteSet([DataEntry(((v + "_") + ap), G), DataEntry(ai, ((((((((((((((((g + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + ap))])
222- else if ((ak == g))
307+ else if ((ah == f))
308+ then WriteSet([DataEntry(((v + "_Bid_") + at), af), DataEntry((v + "_State"), g), DataEntry((v + "_LowestBidderPub"), Q), DataEntry((v + Q), af)])
309+ else if ((ah == g))
223310 then {
224- let at = aj[8]
225- let au = {
226- let av = ((v + "_") + at)
227- let aw = getInteger(this, av)
228- let ax = {
229- let z = aw
311+ let aB = {
312+ let aC = getString(this, (v + "_LowestBidderPub"))
313+ let z = aC
314+ if ($isInstanceOf(z, "String"))
315+ then {
316+ let y = z
317+ y
318+ }
319+ else throw("Auction lowest bidder was not found")
320+ }
321+ let aD = {
322+ let aE = getInteger(this, ((v + "_Bid_") + aB))
323+ let aF = {
324+ let z = aE
230325 if ($isInstanceOf(z, "Int"))
231326 then {
232327 let y = z
233328 y
234329 }
235- else throw("Can't find lowest bid by public key")
330+ else throw("Auction lowest bid was not found")
236331 }
237- if ((ax > ao))
238- then ap
239- else at
332+ if ((aF > af))
333+ then at
334+ else aB
240335 }
241- WriteSet([DataEntry(((v + "_Bid_") + S), G), DataEntry(ai, ((((((((((((((((g + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + au))])
336+ WriteSet([DataEntry((v + "_LowestBidderPub"), aD), DataEntry(((v + "_Bid_") + at), af)])
242337 }
243- else throw(((((("Incorrect jobId state. Now: " + ak) + ", must be: ") + f) + " or ") + g))
338+ else throw(((((("Incorrect jobId state. Now: " + ah) + ", must be: ") + f) + " or ") + g))
244339 }
245340
246341
247342
248-@Callable(T)
249-func chooseFreelancer (v,ay) = {
250- let S = extract(T.callerPublicKey)
251- let ah = height
252- let ai = u(v)
253- let aj = w(ai)
254- let ak = aj[0]
255- let Z = aj[1]
256- let aa = fromBase58String(aj[2])
257- let ad = parseIntValue(aj[3])
258- let al = parseIntValue(aj[4])
259- let am = parseIntValue(aj[5])
260- let E = aj[6]
261- let H = parseIntValue(aj[7])
262- let an = D(E)
263- let az = {
264- let aA = ((v + "_") + ay)
265- let aB = getInteger(this, aA)
266- let z = aB
343+@Callable(R)
344+func chooseFreelancer (v,aG) = {
345+ let Q = extract(R.callerPublicKey)
346+ let ag = height
347+ let ah = {
348+ let ai = getString(this, (v + "_State"))
349+ let z = ai
350+ if ($isInstanceOf(z, "String"))
351+ then {
352+ let y = z
353+ y
354+ }
355+ else throw("Auction State was not found")
356+ }
357+ let Y = {
358+ let ak = getString(this, (v + "_Client"))
359+ let y = {
360+ let z = ak
361+ if ($isInstanceOf(z, "String"))
362+ then {
363+ let y = z
364+ y
365+ }
366+ else throw("Auction Client was not found")
367+ }
368+ fromBase58String(y)
369+ }
370+ let ab = {
371+ let al = getInteger(this, (v + "_AuctionStart"))
372+ let z = al
373+ if ($isInstanceOf(z, "Int"))
374+ then {
375+ let y = z
376+ y
377+ }
378+ else throw("Auction Start time was not found")
379+ }
380+ let am = {
381+ let an = getInteger(this, (v + "_AuctionDuration"))
382+ let z = an
383+ if ($isInstanceOf(z, "Int"))
384+ then {
385+ let y = z
386+ y
387+ }
388+ else throw("Auction duration time was not found")
389+ }
390+ let E = {
391+ let aq = getString(this, (v + "_AssetName"))
392+ let z = aq
393+ if ($isInstanceOf(z, "String"))
394+ then {
395+ let y = z
396+ y
397+ }
398+ else throw("Auction asset name was not found")
399+ }
400+ let L = {
401+ let ar = getInteger(this, (v + "_Price"))
402+ let z = ar
403+ if ($isInstanceOf(z, "Int"))
404+ then {
405+ let y = z
406+ y
407+ }
408+ else throw("Auction price was not found")
409+ }
410+ let as = D(E)
411+ let aH = {
412+ let aI = ((v + "_") + aG)
413+ let aJ = getInteger(this, aI)
414+ let z = aJ
267415 if ($isInstanceOf(z, "Int"))
268416 then {
269417 let y = z
270418 y
271419 }
272420 else throw("Freelancer's bet was not found")
273421 }
274- let aq = ((H * 3) / 100)
275- let aC = ((H - az) - aq)
276- let ar = I(ah, ad, al)
277- if ((S == aa))
278- then if (ar)
279- then if ((ak == f))
280- 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)]))
281- else if ((ak == g))
282- then WriteSet([DataEntry(ai, ((((((((((((((i + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))])
422+ let ae = O(E, L)
423+ let au = ((L * 3) / 100)
424+ let aA = ((L - aH) - au)
425+ let av = F(ag, ab, am)
426+ if ((Q == Y))
427+ then if (av)
428+ then if ((ah == f))
429+ then ScriptResult(WriteSet([DataEntry((v + "_State"), h), DataEntry((E + "_Freezed"), ae)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), (L - au), as)]))
430+ else if ((ah == g))
431+ then {
432+ let aw = {
433+ let ax = getString(this, (v + "_LowestBidderPub"))
434+ let z = ax
435+ if ($isInstanceOf(z, "String"))
436+ then {
437+ let y = z
438+ y
439+ }
440+ else throw("Auction lowest bidder was not found")
441+ }
442+ let ay = {
443+ let az = getInteger(this, ((v + "_Bid_") + aw))
444+ let z = az
445+ if ($isInstanceOf(z, "Int"))
446+ then {
447+ let y = z
448+ y
449+ }
450+ else throw("Auction lowest bid was not found")
451+ }
452+ WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_Freelancer"), aw), DataEntry((v + "_Price"), ay)])
453+ }
283454 else throw("Incorrect auction state")
284- 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)]))
455+ else {
456+ let aK = {
457+ let at = getInteger(this, ((v + "_Bid_") + aG))
458+ let z = at
459+ if ($isInstanceOf(z, "Int"))
460+ then {
461+ let y = z
462+ aG
463+ }
464+ else throw("Error: Incorrect freelancerPub")
465+ }
466+ let aL = {
467+ let aC = getInteger(this, ((v + "_Bid_") + aG))
468+ let z = aC
469+ if ($isInstanceOf(z, "Int"))
470+ then {
471+ let y = z
472+ y
473+ }
474+ else throw("Auction lowest bidder was not found")
475+ }
476+ ScriptResult(WriteSet([DataEntry((v + "_State"), i), DataEntry((v + "_Freelancer"), aK), DataEntry((v + "_Price"), aL)]), TransferSet([ScriptTransfer(addressFromPublicKey(Y), aA, as)]))
477+ }
285478 else throw("Only auction customer can choose a freelancer")
286479 }
287480
288481
289482
290-@Callable(T)
291-func increaseExecutionTime (v,aD) = {
292- let aE = extract(T.callerPublicKey)
293- let ai = u(v)
294- let aj = w(ai)
295- let ak = aj[0]
296- let Z = aj[1]
297- let aa = fromBase58String(aj[2])
298- let ad = parseIntValue(aj[3])
299- let al = parseIntValue(aj[4])
300- let am = parseIntValue(aj[5])
301- let E = aj[6]
302- let H = parseIntValue(aj[7])
303- let aF = {
304- let aG = (aD * a)
305- if ((aG > am))
306- then aG
483+@Callable(R)
484+func increaseExecutionTime (v,aM) = {
485+ let aN = extract(R.callerPublicKey)
486+ let aO = u(v)
487+ let aP = w(aO)
488+ let ah = aP[0]
489+ let Y = {
490+ let ak = getString(this, (v + "_Client"))
491+ let y = {
492+ let z = ak
493+ if ($isInstanceOf(z, "String"))
494+ then {
495+ let y = z
496+ y
497+ }
498+ else throw("Auction Client was not found")
499+ }
500+ fromBase58String(y)
501+ }
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
307511 else throw("New execution time must more than current execution time")
308512 }
309- if ((aE == aa))
310- then if ((ak == f))
311- then WriteSet([DataEntry(ai, ((((((((((((((ak + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))])
312- else if (if ((ak == g))
513+ 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))
313517 then true
314- else (ak == i))
518+ else (ah == i))
315519 then {
316- let ay = aj[7]
317- WriteSet([DataEntry(ai, ((((((((((((((((ak + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + ay))])
520+ let aG = aP[7]
521+ WriteSet([DataEntry(aO, ((((((((((((((ah + "_") + toBase58String(Y)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)) + "_") + aG))])
318522 }
319523 else throw("Incorrect state")
320524 else throw("Only customer can increase execution time")
321525 }
322526
323527
324528
325-@Callable(T)
529+@Callable(R)
326530 func cancelAuction (v) = {
327- let ai = u(v)
328- let aj = w(ai)
329- let ak = aj[0]
330- let Z = aj[1]
331- let aa = fromBase58String(aj[2])
332- let ad = parseIntValue(aj[3])
333- let al = parseIntValue(aj[4])
334- let am = parseIntValue(aj[5])
335- let E = aj[6]
336- let H = parseIntValue(aj[7])
337- let aH = if ((T.callerPublicKey == aa))
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))
338542 then true
339543 else throw("Auction can be canceled only by owner.")
340- if ((ak == f))
341- then WriteSet([DataEntry(ai, ((((((((((((((h + "_") + Z) + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)))])
544+ if ((ah == f))
545+ then WriteSet([DataEntry(aO, ((((((((((((((h + "_") + X) + "_") + toBase58String(aS)) + "_") + toString(ab)) + "_") + toString(am)) + "_") + toString(ao)) + "_") + E) + "_") + toString(L)))])
342546 else throw("Incorrect auction state.")
343547 }
344548
345549
346550
347-@Callable(T)
551+@Callable(R)
348552 func openDispute (v) = {
349- let aE = extract(T.callerPublicKey)
350- let ai = u(v)
351- let aj = w(ai)
352- let ak = aj[0]
353- let Z = aj[1]
354- let aa = fromBase58String(aj[2])
355- let ad = parseIntValue(aj[3])
356- let al = parseIntValue(aj[4])
357- let am = parseIntValue(aj[5])
358- let E = aj[6]
359- let H = parseIntValue(aj[7])
360- let as = fromBase58String(aj[8])
361- if (if ((aE == aa))
553+ 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))
362566 then true
363- else (aE == as))
567+ else (aN == aU))
364568 then {
365- let aI = "1"
366- WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + aI)), DataEntry((v + "_Dispute"), "0")])
569+ let aV = "1"
570+ WriteSet([DataEntry(aO, ((((l + "_") + X) + "_") + aV)), DataEntry((v + "_Dispute"), "0")])
367571 }
368572 else throw("Only customer and freelancer can open dispute")
369573 }
370574
371575
372576
373-@Callable(T)
374-func voteDispute (v,aJ) = {
375- let ai = u(v)
376- let aj = w(ai)
377- let ak = aj[0]
378- let Z = aj[1]
379- let aa = fromBase58String(aj[2])
380- let ad = parseIntValue(aj[3])
381- let al = parseIntValue(aj[4])
382- let am = parseIntValue(aj[5])
383- let E = aj[6]
384- let H = parseIntValue(aj[7])
385- let as = fromBase58String(aj[8])
386- let aK = ((H * 3) / 100)
387- let aL = if ((ak == l))
577+@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))
388592 then true
389593 else throw(("Incorrect state. Must be: " + l))
390- let aM = if (if ((aJ == n))
594+ let aZ = if (if ((aW == n))
391595 then true
392- else (aJ == o))
393- then aJ
596+ else (aW == o))
597+ then aW
394598 else throw(((("Vote is incorrect. Must be: " + n) + " or ") + o))
395- let aN = if (if (if (if (if ((T.callerPublicKey == p))
599+ let ba = if (if (if (if (if ((R.callerPublicKey == p))
396600 then true
397- else (T.callerPublicKey == q))
601+ else (R.callerPublicKey == q))
398602 then true
399- else (T.callerPublicKey == r))
603+ else (R.callerPublicKey == r))
400604 then true
401- else (T.callerPublicKey == s))
605+ else (R.callerPublicKey == s))
402606 then true
403- else (T.callerPublicKey == t))
404- then toBase58String(T.callerPublicKey)
607+ else (R.callerPublicKey == t))
608+ then toBase58String(R.callerPublicKey)
405609 else throw("You have no rights for disputes resolving")
406- let aO = {
407- let aP = ((v + "_") + l)
408- let aQ = getString(this, aP)
409- let z = aQ
610+ let bb = {
611+ let bc = ((v + "_") + l)
612+ let bd = getString(this, bc)
613+ let z = bd
410614 if ($isInstanceOf(z, "String"))
411615 then {
412616 let y = z
413617 y
414618 }
415619 else throw("Cannot find data of dispute in storage")
416620 }
417- let aR = split(aO, "/")
418- let aS = aR[0]
419- if ((aS == "4"))
621+ let be = split(bb, "/")
622+ let bf = be[0]
623+ if ((bf == "4"))
420624 then {
421- let aT = split(aR[1], "_")
422- let aU = split(aR[2], "_")
423- let aV = if ((aN == aT[0]))
625+ let bg = split(be[1], "_")
626+ let bh = split(be[2], "_")
627+ let bi = if ((ba == bg[0]))
424628 then true
425- else (aN == aT[1])
426- if (aV)
629+ else (ba == bg[1])
630+ if (bi)
427631 then throw("You already voted")
428632 else {
429- let aW = "5"
430- let aX = ((aR[1] + "_") + aN)
431- let aY = ((aR[2] + "_") + aM)
432- let aZ = ((((aW + "/") + aX) + "/") + aY)
433- let ba = {
434- let bb = if ((aU[0] == n))
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))
435639 then 1
436640 else 0
437- let bc = if ((aU[1] == n))
641+ let bp = if ((bh[1] == n))
438642 then 1
439643 else 0
440- let bd = if ((aU[2] == n))
644+ let bq = if ((bh[2] == n))
441645 then 1
442646 else 0
443- let be = if ((aU[3] == n))
647+ let br = if ((bh[3] == n))
444648 then 1
445649 else 0
446- let bf = if ((aM == n))
650+ let bs = if ((aZ == n))
447651 then 1
448652 else 0
449- let bg = ((((bb + bc) + bd) + be) + bf)
450- if ((bg > 2))
653+ let bt = ((((bo + bp) + bq) + br) + bs)
654+ if ((bt > 2))
451655 then n
452656 else o
453657 }
454- let bh = ((((((((((((((Z + "_") + toBase58String(aa)) + "_") + toString(ad)) + "_") + toString(al)) + "_") + toString(am)) + "_") + E) + "_") + toString(H)) + "_") + toBase58String(as))
455- let bi = if ((ba == n))
456- then aa
457- else as
458- let bj = if ((bi == aa))
459- then (H - aK)
460- else ((H - aK) - aK)
461- ScriptResult(WriteSet([DataEntry(u(v), ((m + "_") + bh)), DataEntry(((v + "_") + l), aZ)]), TransferSet([ScriptTransfer(addressFromPublicKey(bi), bj, D(E))]))
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))]))
462666 }
463667 }
464668 else {
465- let aZ = if ((aS == "0"))
669+ let bm = if ((bf == "0"))
466670 then {
467- let aW = "1"
468- let aX = aN
469- let aY = aM
470- let bh = ((((aW + "/") + aX) + "/") + aY)
471- bh
671+ let bj = "1"
672+ let bk = ba
673+ let bl = aZ
674+ let bu = ((((bj + "/") + bk) + "/") + bl)
675+ bu
472676 }
473- else if ((aS == "1"))
677+ else if ((bf == "1"))
474678 then {
475- let bk = aR[1]
476- let bb = aR[2]
477- let aV = (aN == bk)
478- if (aV)
679+ let bx = be[1]
680+ let bo = be[2]
681+ let bi = (ba == bx)
682+ if (bi)
479683 then throw("You already voted")
480684 else {
481- let aW = "1"
482- let aX = (bk + aN)
483- let aY = (bb + aM)
484- let bh = ((((aW + "/") + aX) + "/") + aY)
485- bh
685+ let bj = "1"
686+ let bk = (bx + ba)
687+ let bl = (bo + aZ)
688+ let bu = ((((bj + "/") + bk) + "/") + bl)
689+ bu
486690 }
487691 }
488- else if ((aS == "2"))
692+ else if ((bf == "2"))
489693 then {
490- let aT = split(aR[1], "_")
491- let aU = split(aR[2], "_")
492- let aV = if ((aN == aT[0]))
694+ let bg = split(be[1], "_")
695+ let bh = split(be[2], "_")
696+ let bi = if ((ba == bg[0]))
493697 then true
494- else (aN == aT[1])
495- if (aV)
698+ else (ba == bg[1])
699+ if (bi)
496700 then throw("You already voted")
497701 else {
498- let aW = "3"
499- let aX = ((aR[1] + "_") + aN)
500- let aY = ((aR[2] + "_") + aM)
501- let bh = ((((aW + "/") + aX) + "/") + aY)
502- bh
702+ let bj = "3"
703+ let bk = ((be[1] + "_") + ba)
704+ let bl = ((be[2] + "_") + aZ)
705+ let bu = ((((bj + "/") + bk) + "/") + bl)
706+ bu
503707 }
504708 }
505- else if ((aS == "3"))
709+ else if ((bf == "3"))
506710 then {
507- let aT = split(aR[1], "_")
508- let aU = split(aR[2], "_")
509- let aV = if (if ((aN == aT[0]))
711+ let bg = split(be[1], "_")
712+ let bh = split(be[2], "_")
713+ let bi = if (if ((ba == bg[0]))
510714 then true
511- else (aN == aT[1]))
715+ else (ba == bg[1]))
512716 then true
513- else (aN == aT[2])
514- if (aV)
717+ else (ba == bg[2])
718+ if (bi)
515719 then throw("You already voted")
516720 else {
517- let aW = "4"
518- let aX = ((aR[1] + "_") + aN)
519- let aY = ((aR[2] + "_") + aM)
520- let bh = ((((aW + "/") + aX) + "/") + aY)
521- bh
721+ let bj = "4"
722+ let bk = ((be[1] + "_") + ba)
723+ let bl = ((be[2] + "_") + aZ)
724+ let bu = ((((bj + "/") + bk) + "/") + bl)
725+ bu
522726 }
523727 }
524728 else throw("Dispute has been already resolved")
525- WriteSet([DataEntry(((v + "_") + l), aZ)])
729+ WriteSet([DataEntry(((v + "_") + l), bm)])
526730 }
527731 }
528732
529733
530734
531-@Callable(T)
735+@Callable(R)
532736 func workHandOver (v) = {
533- let S = extract(T.callerPublicKey)
534- let ai = u(v)
535- let aj = w(ai)
536- let ak = aj[0]
537- let Z = aj[1]
538- let aa = fromBase58String(aj[2])
539- let ad = parseIntValue(aj[3])
540- let al = parseIntValue(aj[4])
541- let am = parseIntValue(aj[5])
542- let E = aj[6]
543- let H = parseIntValue(aj[7])
544- let as = fromBase58String(aj[8])
545- let J = height
546- let bl = if ((S == as))
547- then S
737+ 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])
749+ let G = height
750+ let by = if ((Q == aU))
751+ then Q
548752 else throw("Only a freelancer can indicate that the work is done")
549- let bm = ((J - ad) > am)
550- if ((ak == i))
551- then if (bm)
753+ let bz = ((G - ab) > ao)
754+ if ((ah == i))
755+ then if (bz)
552756 then {
553- let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6])
554- WriteSet([DataEntry(ai, ((((l + "_") + Z) + "_") + bh))])
757+ let bu = ((((((((((aP[1] + "_") + aP[2]) + "_") + aP[3]) + "_") + aP[4]) + "_") + aP[5]) + "_") + aP[6])
758+ WriteSet([DataEntry(aO, ((((l + "_") + X) + "_") + bu))])
555759 }
556760 else {
557- let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6])
558- WriteSet([DataEntry(ai, ((((j + "_") + Z) + "_") + bh))])
761+ let bu = ((((((((((aP[1] + "_") + aP[2]) + "_") + aP[3]) + "_") + aP[4]) + "_") + aP[5]) + "_") + aP[6])
762+ WriteSet([DataEntry(aO, ((((j + "_") + X) + "_") + bu))])
559763 }
560764 else throw("Auction state is incorrect")
561765 }
562766
563767
564768
565-@Callable(T)
769+@Callable(R)
566770 func acceptWork (v) = {
567- let ai = u(v)
568- let aj = w(ai)
569- let ak = aj[0]
570- let Z = aj[1]
571- let aa = fromBase58String(aj[2])
572- let ad = parseIntValue(aj[3])
573- let al = parseIntValue(aj[4])
574- let am = parseIntValue(aj[5])
575- let E = aj[6]
576- let H = parseIntValue(aj[7])
577- let as = aj[2]
578- let aE = extract(T.callerPublicKey)
579- let aq = ((H * 3) / 100)
580- let bj = (H - aq)
581- let bn = {
582- let bo = getInteger(this, (as + "_Rating"))
583- let bp = {
584- let z = bo
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)
783+ 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
585789 if ($isInstanceOf(z, "Int"))
586790 then {
587791 let y = z
588792 y
589793 }
590794 else 0
591795 }
592- (bp + 1)
796+ (bC + 1)
593797 }
594- if ((aE == aa))
595- then if ((ak == j))
798+ if ((aN == aS))
799+ then if ((ah == j))
596800 then {
597- let bh = ((((((((((aj[1] + "_") + aj[2]) + "_") + aj[3]) + "_") + aj[4]) + "_") + aj[5]) + "_") + aj[6])
598- ScriptResult(WriteSet([DataEntry(ai, ((((k + "_") + Z) + "_") + bh)), DataEntry((as + "_Rating"), bn)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(as)), bj, D(E))]))
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))]))
599803 }
600804 else throw(("Incorrect state. Must be: " + j))
601805 else throw("Only auction customer can use this function")
602806 }
603807
604808
605-@Verifier(bq)
606-func br () = if (sigVerify(bq.bodyBytes, bq.proofs[0], bq.senderPublicKey))
809+@Verifier(bD)
810+func bE () = if (sigVerify(bD.bodyBytes, bD.proofs[0], bD.senderPublicKey))
607811 then {
608- let z = bq
812+ let z = bD
609813 if ($isInstanceOf(z, "TransferTransaction"))
610814 then {
611- let bs = z
815+ let bF = z
612816 true
613817 }
614818 else if ($isInstanceOf(z, "SetScriptTransaction"))
615819 then {
616- let bt = z
820+ let bG = z
617821 true
618822 }
619823 else false
620824 }
621825 else false
622826

github/deemru/w8io/026f985 
217.76 ms