tx · HcNjzAKaiHMNPDcf3n5y9fFfF6hA4vmAZ7kt4Hvvn8Jd 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2: -0.01500000 Waves 2019.10.28 14:23 [739896] smart account 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2 > SELF 0.00000000 Waves
{ "type": 13, "id": "HcNjzAKaiHMNPDcf3n5y9fFfF6hA4vmAZ7kt4Hvvn8Jd", "fee": 1500000, "feeAssetId": null, "timestamp": 1572261846794, "version": 1, "sender": "3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2", "senderPublicKey": "8y2Uc9uYf5gRD6Dzm1aC73zYe3LZvtVDUVAnAhNdN2mg", "proofs": [ "5bK8coGjJhiPtvvrEqKM4PDiJ8caweeTMJmSEfw2BjhXVHY9AHn6jnFa8KRZyow51s47mNdmpxwbbx5KEXTh1jyh" ], "script": "base64:AAIDAAAAAAAAAEAIARIDCgEIEgMKAQgSBgoEAQEICBIECgIIARIECgIICBIECgIIARIDCgEIEgMKAQgSBAoCCAgSAwoBCBIDCgEIAAAAOAAAAAADZGF5AAAAAAAAAAWgAAAAAAVXQVZFUwUAAAAEdW5pdAAAAAAEd0JUQwEAAAAgbPpq/8XtqowLf7Uqk9KiDC+Cgtt0egSMU/v9Ex9zoP8AAAAABHdFVVIBAAAAIOwWYQRfe5EhQQY7N/Pn19T489PGDqqAl/OQv9D6FbqZAAAAAAR3VVNEAQAAACDdHL0B8M91BTB4B7KotjiY0UXdXB+6M1rjQG/6Zllw/QAAAAAJYXVjdFRva2VuAQAAAAEAAAAAAAlzdGF0ZU9wZW4CAAAABk9wZW5lZAAAAAAOc3RhdGVTdWdnZXN0ZWQCAAAACVN1Z2dlc3RlZAAAAAALc3RhdGVDYW5jZWwCAAAACENhbmNlbGVkAAAAAA9zdGF0ZUluUHJvZ3Jlc3MCAAAACkluUHJvZ3Jlc3MAAAAAEXN0YXRlV2FpdDRDb25maXJtAgAAABNXYWl0Rm9yQ29uZmlyb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V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwBAAAAAlhc3NldE5hbWUJAQAAABJBc3NldElkVG9Bc3NldE5hbWUAAAABCAUAAAADdHR4AAAAB2Fzc2V0SWQEAAAAFHZhbHVlUmVzZXJ2ZWRCYWxhbmNlCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAJYXNzZXROYW1lAgAAAAlfUmVzZXJ2ZWQEAAAAD3Jlc2VydmVkQmFsYW5jZQQAAAAHJG1hdGNoMQUAAAAUdmFsdWVSZXNlcnZlZEJhbGFuY2UDCQAAAQAAAAIFAAAAByRtYXRjaDECAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMQUAAAABYQAAAAAAAAAAAAQAAAAQYXZhaWxhYmxlQmFsYW5jZQkAAGUAAAACCQAD6wAAAAIFAAAABHRoaXMIBQAAAAN0dHgAAAAHYXNzZXRJZAUAAAAPcmVzZXJ2ZWRCYWxhbmNlCQAAZwAAAAIFAAAAEGF2YWlsYWJsZUJhbGFuY2UIBQAAAAN0dHgAAAAGYW1vdW50AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAADc3R4BQAAAAckbWF0Y2gwBgcHm441MA==", "chainId": 84, "height": 739896, "spentComplexity": 0 } View: original | compacted Prev: H8Fq3AqZbuTQmwGUp88MW5z4tQFyLXTbuVZJGx7FHegv Next: none Diff:
Old | New | Differences | |
---|---|---|---|
150 | 150 | ||
151 | 151 | ||
152 | 152 | func Y (Z) = { | |
153 | - | let aa = getString(this, (Z + "_ | |
153 | + | let aa = getString(this, (Z + "_Client")) | |
154 | 154 | let E = aa | |
155 | + | if ($isInstanceOf(E, "String")) | |
156 | + | then { | |
157 | + | let F = E | |
158 | + | Z | |
159 | + | } | |
160 | + | else throw("Only registered users can create auctions") | |
161 | + | } | |
162 | + | ||
163 | + | ||
164 | + | func ab (Z) = { | |
165 | + | let ac = getString(this, (Z + "_Freelancer")) | |
166 | + | let E = ac | |
155 | 167 | if ($isInstanceOf(E, "String")) | |
156 | 168 | then { | |
157 | 169 | let F = E | |
161 | 173 | } | |
162 | 174 | ||
163 | 175 | ||
164 | - | func ab (Z) = { | |
165 | - | let aa = getString(this, (Z + "_Freelancer")) | |
166 | - | let E = aa | |
167 | - | if ($isInstanceOf(E, "String")) | |
168 | - | then { | |
169 | - | let F = E | |
170 | - | Z | |
171 | - | } | |
172 | - | else throw("Only registered users can make bets") | |
173 | - | } | |
174 | - | ||
175 | - | ||
176 | - | func ac (ad) = if ((ad > 0)) | |
177 | - | then ad | |
176 | + | func ad (ae) = if ((ae > 0)) | |
177 | + | then ae | |
178 | 178 | else throw("Amount must be higher then 0") | |
179 | 179 | ||
180 | 180 | ||
181 | - | func | |
182 | - | let | |
183 | - | let E = | |
181 | + | func af (ag) = { | |
182 | + | let ah = getString(this, (ag + "_State")) | |
183 | + | let E = ah | |
184 | 184 | if ($isInstanceOf(E, "String")) | |
185 | 185 | then { | |
186 | 186 | let F = E | |
190 | 190 | } | |
191 | 191 | ||
192 | 192 | ||
193 | - | func | |
194 | - | let | |
195 | - | let E = | |
193 | + | func ai (ag) = { | |
194 | + | let aj = getString(this, (ag + "_AuctionClient")) | |
195 | + | let E = aj | |
196 | 196 | if ($isInstanceOf(E, "String")) | |
197 | 197 | then { | |
198 | 198 | let F = E | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | - | func | |
206 | - | let | |
207 | - | let E = | |
205 | + | func ak (ag) = { | |
206 | + | let al = getInteger(this, (ag + "_AuctionStart")) | |
207 | + | let E = al | |
208 | 208 | if ($isInstanceOf(E, "Int")) | |
209 | 209 | then { | |
210 | 210 | let F = E | |
214 | 214 | } | |
215 | 215 | ||
216 | 216 | ||
217 | - | func | |
218 | - | let | |
219 | - | let E = | |
217 | + | func am (ag) = { | |
218 | + | let an = getInteger(this, (ag + "_AuctionDuration")) | |
219 | + | let E = an | |
220 | 220 | if ($isInstanceOf(E, "Int")) | |
221 | 221 | then { | |
222 | 222 | let F = E | |
226 | 226 | } | |
227 | 227 | ||
228 | 228 | ||
229 | - | func | |
230 | - | let | |
231 | - | let E = | |
229 | + | func ao (ag) = { | |
230 | + | let ap = getInteger(this, (ag + "_JobPerformance")) | |
231 | + | let E = ap | |
232 | 232 | if ($isInstanceOf(E, "Int")) | |
233 | 233 | then { | |
234 | 234 | let F = E | |
238 | 238 | } | |
239 | 239 | ||
240 | 240 | ||
241 | - | func | |
242 | - | let | |
243 | - | let E = | |
241 | + | func aq (ag) = { | |
242 | + | let ar = getString(this, (ag + "_AssetName")) | |
243 | + | let E = ar | |
244 | 244 | if ($isInstanceOf(E, "String")) | |
245 | 245 | then { | |
246 | 246 | let F = E | |
250 | 250 | } | |
251 | 251 | ||
252 | 252 | ||
253 | - | func | |
254 | - | let | |
255 | - | let E = | |
253 | + | func as (ag) = { | |
254 | + | let at = getInteger(this, (ag + "_Price")) | |
255 | + | let E = at | |
256 | 256 | if ($isInstanceOf(E, "Int")) | |
257 | 257 | then { | |
258 | 258 | let F = E | |
262 | 262 | } | |
263 | 263 | ||
264 | 264 | ||
265 | - | func | |
266 | - | let | |
267 | - | let E = | |
265 | + | func au (ag) = { | |
266 | + | let av = getString(this, (ag + "_HiredFreelancer")) | |
267 | + | let E = av | |
268 | 268 | if ($isInstanceOf(E, "String")) | |
269 | 269 | then { | |
270 | 270 | let F = E | |
274 | 274 | } | |
275 | 275 | ||
276 | 276 | ||
277 | - | func | |
278 | - | let | |
279 | - | let E = | |
277 | + | func aw (ag) = { | |
278 | + | let ax = getString(this, (ag + "_LowestBidderPub")) | |
279 | + | let E = ax | |
280 | 280 | if ($isInstanceOf(E, "String")) | |
281 | 281 | then { | |
282 | 282 | let F = E | |
286 | 286 | } | |
287 | 287 | ||
288 | 288 | ||
289 | - | func | |
290 | - | let | |
291 | - | let E = | |
289 | + | func ay (ag,az) = { | |
290 | + | let aA = getInteger(this, ((ag + "_Bid_") + az)) | |
291 | + | let E = aA | |
292 | 292 | if ($isInstanceOf(E, "Int")) | |
293 | 293 | then { | |
294 | 294 | let F = E | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | - | func | |
302 | - | let | |
303 | - | let | |
304 | - | let E = | |
301 | + | func aB (ag,aC,aD,aE) = { | |
302 | + | let aF = getInteger(this, ((ag + "_Bid_") + aC)) | |
303 | + | let aG = { | |
304 | + | let E = aF | |
305 | 305 | if ($isInstanceOf(E, "Int")) | |
306 | 306 | then { | |
307 | 307 | let F = E | |
309 | 309 | } | |
310 | 310 | else throw("Auction lowest bid was not found") | |
311 | 311 | } | |
312 | - | if (( | |
313 | - | then | |
314 | - | else | |
312 | + | if ((aG > aD)) | |
313 | + | then aE | |
314 | + | else aC | |
315 | 315 | } | |
316 | 316 | ||
317 | 317 | ||
318 | - | func | |
319 | - | let | |
320 | - | let E = | |
318 | + | func aH (ag,aI) = { | |
319 | + | let aE = getInteger(this, ((ag + "_Bid_") + aI)) | |
320 | + | let E = aE | |
321 | 321 | if ($isInstanceOf(E, "Int")) | |
322 | 322 | then { | |
323 | 323 | let F = E | |
324 | - | | |
324 | + | aI | |
325 | 325 | } | |
326 | 326 | else throw("Error: Incorrect freelancerPub") | |
327 | 327 | } | |
328 | 328 | ||
329 | 329 | ||
330 | - | func | |
331 | - | let | |
332 | - | if (( | |
333 | - | then | |
330 | + | func aJ (aK,aL) = { | |
331 | + | let aM = (aK * a) | |
332 | + | if ((aM > aL)) | |
333 | + | then aM | |
334 | 334 | else throw("New execution time must more than current execution time") | |
335 | 335 | } | |
336 | 336 | ||
337 | 337 | ||
338 | - | func | |
339 | - | let | |
340 | - | let E = | |
338 | + | func aN (aO) = { | |
339 | + | let aP = getInteger(this, (aO + "_Rating")) | |
340 | + | let E = aP | |
341 | 341 | if ($isInstanceOf(E, "Int")) | |
342 | 342 | then { | |
343 | 343 | let F = E | |
347 | 347 | } | |
348 | 348 | ||
349 | 349 | ||
350 | - | func | |
350 | + | func aQ (Z) = if (if (if (if (if ((Z == w)) | |
351 | 351 | then true | |
352 | 352 | else (Z == x)) | |
353 | 353 | then true | |
360 | 360 | else throw("Only defined ambassadors can vote in disputes") | |
361 | 361 | ||
362 | 362 | ||
363 | - | func | |
364 | - | let | |
365 | - | let | |
366 | - | let | |
367 | - | let E = | |
363 | + | func aR (ag,aS,aT) = { | |
364 | + | let aU = ((ag + "_DiputeVote_") + aS) | |
365 | + | let aV = getString(this, aU) | |
366 | + | let aW = { | |
367 | + | let E = aV | |
368 | 368 | if ($isInstanceOf(E, "String")) | |
369 | 369 | then { | |
370 | 370 | let F = E | |
372 | 372 | } | |
373 | 373 | else false | |
374 | 374 | } | |
375 | - | if ( | |
375 | + | if (aW) | |
376 | 376 | then throw("Ambassador voted already ") | |
377 | - | else if (if (( | |
377 | + | else if (if ((aT == u)) | |
378 | 378 | then true | |
379 | - | else ( | |
380 | - | then | |
379 | + | else (aT == v)) | |
380 | + | then aT | |
381 | 381 | else throw(((("Vote is incorrect. Must be: " + u) + " or ") + v)) | |
382 | 382 | } | |
383 | 383 | ||
384 | 384 | ||
385 | - | func | |
386 | - | let | |
387 | - | let E = | |
385 | + | func aX (ag) = { | |
386 | + | let aY = getInteger(this, (ag + "_DisputeVotes")) | |
387 | + | let E = aY | |
388 | 388 | if ($isInstanceOf(E, "Int")) | |
389 | 389 | then { | |
390 | 390 | let F = E | |
394 | 394 | } | |
395 | 395 | ||
396 | 396 | ||
397 | - | func aY (af,aZ,ba,aN) = { | |
398 | - | let bb = getString(this, ((af + "_DiputeVote_") + w)) | |
399 | - | let bc = getString(this, ((af + "_DiputeVote_") + x)) | |
400 | - | let bd = getString(this, ((af + "_DiputeVote_") + y)) | |
401 | - | let be = getString(this, ((af + "_DiputeVote_") + z)) | |
402 | - | let bf = getString(this, ((af + "_DiputeVote_") + A)) | |
403 | - | let bg = if ((bb == u)) | |
404 | - | then 1 | |
405 | - | else 0 | |
397 | + | func aZ (ag,ba,bb,aO) = { | |
398 | + | let bc = getString(this, ((ag + "_DiputeVote_") + w)) | |
399 | + | let bd = getString(this, ((ag + "_DiputeVote_") + x)) | |
400 | + | let be = getString(this, ((ag + "_DiputeVote_") + y)) | |
401 | + | let bf = getString(this, ((ag + "_DiputeVote_") + z)) | |
402 | + | let bg = getString(this, ((ag + "_DiputeVote_") + A)) | |
406 | 403 | let bh = if ((bc == u)) | |
407 | 404 | then 1 | |
408 | 405 | else 0 | |
415 | 412 | let bk = if ((bf == u)) | |
416 | 413 | then 1 | |
417 | 414 | else 0 | |
418 | - | let bl = if (( | |
415 | + | let bl = if ((bg == u)) | |
419 | 416 | then 1 | |
420 | 417 | else 0 | |
421 | - | let bm = (((((bg + bh) + bi) + bj) + bk) + bl) | |
422 | - | if ((bm > 2)) | |
423 | - | then ba | |
424 | - | else aN | |
418 | + | let bm = if ((ba == u)) | |
419 | + | then 1 | |
420 | + | else 0 | |
421 | + | let bn = (((((bh + bi) + bj) + bk) + bl) + bm) | |
422 | + | if ((bn > 2)) | |
423 | + | then bb | |
424 | + | else aO | |
425 | 425 | } | |
426 | 426 | ||
427 | 427 | ||
428 | - | @Callable( | |
429 | - | func freelancerSignUp ( | |
430 | - | let | |
431 | - | let | |
432 | - | if (isDefined( | |
428 | + | @Callable(bo) | |
429 | + | func freelancerSignUp (bp) = { | |
430 | + | let bq = toBase58String(bo.callerPublicKey) | |
431 | + | let br = getString(this, (bq + "_Freelancer")) | |
432 | + | if (isDefined(br)) | |
433 | 433 | then throw("User already registered") | |
434 | - | else WriteSet([DataEntry(( | |
434 | + | else WriteSet([DataEntry((bq + "_Freelancer"), bp), DataEntry((bq + "_PendingEarnings"), 0), DataEntry((bq + "_PaidEarnings"), 0), DataEntry((bq + "_TotalEarnings"), 0), DataEntry((bq + "_JobsPending"), 0), DataEntry((bq + "_JobsCompleted"), 0), DataEntry((bq + "_JobsTotal"), 0)]) | |
435 | 435 | } | |
436 | 436 | ||
437 | 437 | ||
438 | 438 | ||
439 | - | @Callable( | |
440 | - | func clientSignUp ( | |
441 | - | let | |
442 | - | let | |
443 | - | if (isDefined( | |
439 | + | @Callable(bo) | |
440 | + | func clientSignUp (bp) = { | |
441 | + | let bq = toBase58String(bo.callerPublicKey) | |
442 | + | let br = getString(this, (bq + "_Client")) | |
443 | + | if (isDefined(br)) | |
444 | 444 | then throw("User already registered") | |
445 | - | else WriteSet([DataEntry(( | |
445 | + | else WriteSet([DataEntry((bq + "_Client"), bp), DataEntry((bq + "_JobsCreated"), 0), DataEntry((bq + "_JobsOnGoing"), 0), DataEntry((bq + "_JobInDispute"), 0)]) | |
446 | 446 | } | |
447 | 447 | ||
448 | 448 | ||
449 | 449 | ||
450 | - | @Callable( | |
451 | - | func createAuction ( | |
452 | - | let Z = toBase58String( | |
453 | - | let | |
454 | - | let | |
455 | - | let | |
456 | - | let | |
457 | - | let S = | |
458 | - | let | |
459 | - | let | |
460 | - | let | |
461 | - | let U = I( | |
462 | - | let | |
463 | - | let | |
464 | - | let | |
465 | - | WriteSet([DataEntry(( | |
450 | + | @Callable(bo) | |
451 | + | func createAuction (bs,bt,bu,H) = { | |
452 | + | let Z = toBase58String(bo.callerPublicKey) | |
453 | + | let ag = toBase58String(bo.transactionId) | |
454 | + | let bb = Y(Z) | |
455 | + | let bv = extract(bo.payment) | |
456 | + | let ae = bv.amount | |
457 | + | let S = ad(ae) | |
458 | + | let bw = height | |
459 | + | let bx = (bt * a) | |
460 | + | let by = (bs * a) | |
461 | + | let U = I(bv.assetId) | |
462 | + | let bz = B((bb + "_JobsCreated")) | |
463 | + | let bA = G(H) | |
464 | + | let bB = T(U, S) | |
465 | + | WriteSet([DataEntry((ag + "_State"), g), DataEntry((ag + "_Info"), bu), DataEntry((ag + "_AuctionClient"), bb), DataEntry((ag + "_AuctionStart"), bw), DataEntry((ag + "_AuctionDuration"), bx), DataEntry((ag + "_JobPerformance"), by), DataEntry((ag + "_AssetName"), U), DataEntry((ag + "_Price"), S), DataEntry((ag + "_Category"), bA), DataEntry((U + "_Freezed"), bB), DataEntry((bb + "_JobsCreated"), (bz + 1))]) | |
466 | 466 | } | |
467 | 467 | ||
468 | 468 | ||
469 | 469 | ||
470 | - | @Callable( | |
471 | - | func makeBid ( | |
472 | - | let Z = toBase58String( | |
473 | - | let | |
474 | - | let | |
475 | - | let | |
476 | - | let | |
477 | - | let | |
478 | - | let L = | |
479 | - | let S = | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | if ( | |
487 | - | then if (( | |
488 | - | then ScriptResult(WriteSet([DataEntry(( | |
489 | - | else if (( | |
470 | + | @Callable(bo) | |
471 | + | func makeBid (ag,R) = { | |
472 | + | let Z = toBase58String(bo.callerPublicKey) | |
473 | + | let bC = af(ag) | |
474 | + | let bb = ai(ag) | |
475 | + | let bw = ak(ag) | |
476 | + | let bD = am(ag) | |
477 | + | let aL = ao(ag) | |
478 | + | let L = aq(ag) | |
479 | + | let S = as(ag) | |
480 | + | let bE = K(L) | |
481 | + | let aE = ab(Z) | |
482 | + | let bF = ((S * 3) / 100) | |
483 | + | let bB = X(L, S) | |
484 | + | let aD = Q(R, S) | |
485 | + | let bG = M(height, bw, bD) | |
486 | + | if (bG) | |
487 | + | then if ((bC == g)) | |
488 | + | then ScriptResult(WriteSet([DataEntry((ag + "_State"), i), DataEntry((L + "_Freezed"), bB)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), (S - bF), bE)])) | |
489 | + | else if ((bC == h)) | |
490 | 490 | then { | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
494 | - | ScriptResult(WriteSet([DataEntry(( | |
491 | + | let az = aw(ag) | |
492 | + | let bH = ay(ag, az) | |
493 | + | let bI = ((S - bH) - bF) | |
494 | + | ScriptResult(WriteSet([DataEntry((ag + "_State"), j), DataEntry((ag + "_HiredFreelancer"), az), DataEntry((ag + "_Price"), bH)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), bI, bE)])) | |
495 | 495 | } | |
496 | 496 | else throw("Incorrect auction state") | |
497 | - | else if (( | |
498 | - | then WriteSet([DataEntry((( | |
499 | - | else if (( | |
497 | + | else if ((bC == g)) | |
498 | + | then WriteSet([DataEntry(((ag + "_Bid_") + aE), aD), DataEntry((ag + "_State"), h), DataEntry((ag + "_LowestBidderPub"), Z)]) | |
499 | + | else if ((bC == h)) | |
500 | 500 | then { | |
501 | - | let | |
502 | - | let | |
503 | - | WriteSet([DataEntry(( | |
501 | + | let aC = aw(ag) | |
502 | + | let bJ = aB(ag, aC, aD, aE) | |
503 | + | WriteSet([DataEntry((ag + "_LowestBidderPub"), bJ), DataEntry(((ag + "_Bid_") + aE), aD)]) | |
504 | 504 | } | |
505 | - | else throw(((((("Incorrect jobId state. Now: " + | |
505 | + | else throw(((((("Incorrect jobId state. Now: " + bC) + ", must be: ") + g) + " or ") + h)) | |
506 | 506 | } | |
507 | 507 | ||
508 | 508 | ||
509 | 509 | ||
510 | - | @Callable( | |
511 | - | func chooseFreelancer ( | |
512 | - | let Z = toBase58String( | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | let | |
517 | - | let L = | |
518 | - | let S = | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let | |
525 | - | let | |
526 | - | if ((Z == | |
527 | - | then if ( | |
528 | - | then if (( | |
510 | + | @Callable(bo) | |
511 | + | func chooseFreelancer (ag,aI) = { | |
512 | + | let Z = toBase58String(bo.callerPublicKey) | |
513 | + | let bC = af(ag) | |
514 | + | let bb = ai(ag) | |
515 | + | let bw = ak(ag) | |
516 | + | let bD = am(ag) | |
517 | + | let L = aq(ag) | |
518 | + | let S = as(ag) | |
519 | + | let bE = K(L) | |
520 | + | let aE = aH(ag, aI) | |
521 | + | let bK = ay(ag, aE) | |
522 | + | let bG = M(height, bw, bD) | |
523 | + | let bL = B((bb + "_JobsOnGoing")) | |
524 | + | let bM = B((aI + "_PendingEarnings")) | |
525 | + | let bN = B((aI + "_TotalEarnings")) | |
526 | + | if ((Z == bb)) | |
527 | + | then if (bG) | |
528 | + | then if ((bC == g)) | |
529 | 529 | then { | |
530 | - | let | |
531 | - | let | |
532 | - | ScriptResult(WriteSet([DataEntry(( | |
530 | + | let bB = X(L, S) | |
531 | + | let bF = ((S * 3) / 100) | |
532 | + | ScriptResult(WriteSet([DataEntry((ag + "_State"), i), DataEntry((L + "_Freezed"), bB)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), (S - bF), bE)])) | |
533 | 533 | } | |
534 | - | else if (( | |
534 | + | else if ((bC == h)) | |
535 | 535 | then { | |
536 | - | let | |
537 | - | let | |
538 | - | let | |
539 | - | let | |
540 | - | ScriptResult(WriteSet([DataEntry(( | |
536 | + | let az = aw(ag) | |
537 | + | let bH = ay(ag, az) | |
538 | + | let bI = (S - bH) | |
539 | + | let bB = X(L, bI) | |
540 | + | ScriptResult(WriteSet([DataEntry((ag + "_State"), j), DataEntry((ag + "_HiredFreelancer"), az), DataEntry((ag + "_Price"), bH), DataEntry((L + "_Freezed"), bB), DataEntry((bb + "_JobsOnGoing"), (bL + 1)), DataEntry((aI + "_PendingEarnings"), (bM + bH)), DataEntry((aI + "_TotalEarnings"), (bN + bH))]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), bI, bE)])) | |
541 | 541 | } | |
542 | 542 | else throw("Incorrect auction state") | |
543 | - | else if (if (( | |
543 | + | else if (if ((bC == g)) | |
544 | 544 | then true | |
545 | - | else ( | |
545 | + | else (bC == h)) | |
546 | 546 | then { | |
547 | - | let | |
548 | - | let | |
549 | - | ScriptResult(WriteSet([DataEntry(( | |
547 | + | let bI = (S - bK) | |
548 | + | let bB = X(L, bI) | |
549 | + | ScriptResult(WriteSet([DataEntry((ag + "_State"), j), DataEntry((ag + "_HiredFreelancer"), aE), DataEntry((ag + "_Price"), bK), DataEntry((L + "_Freezed"), bB), DataEntry((bb + "_JobsOnGoing"), (bL + 1)), DataEntry((aI + "_PendingEarnings"), (bM + bK)), DataEntry((aI + "_TotalEarnings"), (bN + bK))]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), (bI + 1), bE)])) | |
550 | 550 | } | |
551 | 551 | else throw("Incorrect auction state") | |
552 | 552 | else throw("Only auction customer can choose a freelancer") | |
554 | 554 | ||
555 | 555 | ||
556 | 556 | ||
557 | - | @Callable( | |
558 | - | func increaseExecutionTime ( | |
559 | - | let | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | let | |
564 | - | if (( | |
565 | - | then if (if (if (( | |
557 | + | @Callable(bo) | |
558 | + | func increaseExecutionTime (ag,aK) = { | |
559 | + | let bO = toBase58String(bo.callerPublicKey) | |
560 | + | let bC = af(ag) | |
561 | + | let bb = ai(ag) | |
562 | + | let aL = ao(ag) | |
563 | + | let bP = aJ(aK, aL) | |
564 | + | if ((bO == bb)) | |
565 | + | then if (if (if ((bC == g)) | |
566 | 566 | then true | |
567 | - | else ( | |
567 | + | else (bC == h)) | |
568 | 568 | then true | |
569 | - | else ( | |
570 | - | then WriteSet([DataEntry(( | |
569 | + | else (bC == j)) | |
570 | + | then WriteSet([DataEntry((ag + "_JobPerformance"), bP)]) | |
571 | 571 | else throw("Incorrect state") | |
572 | 572 | else throw("Only Client can increase execution time") | |
573 | 573 | } | |
574 | 574 | ||
575 | 575 | ||
576 | 576 | ||
577 | - | @Callable( | |
578 | - | func cancelAuction ( | |
579 | - | let Z = toBase58String( | |
580 | - | let | |
581 | - | let | |
582 | - | let L = | |
583 | - | let S = | |
584 | - | let | |
585 | - | let | |
586 | - | let | |
587 | - | let | |
588 | - | if ((Z == | |
589 | - | then if (( | |
590 | - | then ScriptResult(WriteSet([DataEntry(( | |
577 | + | @Callable(bo) | |
578 | + | func cancelAuction (ag) = { | |
579 | + | let Z = toBase58String(bo.callerPublicKey) | |
580 | + | let bC = af(ag) | |
581 | + | let bb = ai(ag) | |
582 | + | let L = aq(ag) | |
583 | + | let S = as(ag) | |
584 | + | let bE = K(L) | |
585 | + | let bF = ((S * 3) / 100) | |
586 | + | let bQ = (S - bF) | |
587 | + | let bB = X(L, S) | |
588 | + | if ((Z == bb)) | |
589 | + | then if ((bC == g)) | |
590 | + | then ScriptResult(WriteSet([DataEntry((ag + "_State"), i), DataEntry((L + "_Freezed"), bB)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), bQ, bE)])) | |
591 | 591 | else throw("Auction can be canceled only by auction owner.") | |
592 | 592 | else throw("Only Client can cancel auction") | |
593 | 593 | } | |
594 | 594 | ||
595 | 595 | ||
596 | 596 | ||
597 | - | @Callable( | |
598 | - | func openDispute ( | |
599 | - | let | |
600 | - | let | |
601 | - | let | |
602 | - | let | |
603 | - | let | |
604 | - | if (if (( | |
597 | + | @Callable(bo) | |
598 | + | func openDispute (ag) = { | |
599 | + | let bO = toBase58String(bo.callerPublicKey) | |
600 | + | let bC = af(ag) | |
601 | + | let bb = ai(ag) | |
602 | + | let aO = au(ag) | |
603 | + | let bR = B((bb + "_JobsInDispute")) | |
604 | + | if (if ((bC == j)) | |
605 | 605 | then true | |
606 | - | else ( | |
607 | - | then if (if (( | |
606 | + | else (bC == k)) | |
607 | + | then if (if ((bO == bb)) | |
608 | 608 | then true | |
609 | - | else ( | |
610 | - | then WriteSet([DataEntry(( | |
609 | + | else (bO == aO)) | |
610 | + | then WriteSet([DataEntry((ag + "_State"), m), DataEntry((ag + "_DisputeVotes"), 0), DataEntry((bb + "_JobsInDispute"), (bR + 1))]) | |
611 | 611 | else throw("Only Client and Freelancer can open dispute") | |
612 | 612 | else throw("Incorrect auction state for dispute opening") | |
613 | 613 | } | |
614 | 614 | ||
615 | 615 | ||
616 | 616 | ||
617 | - | @Callable( | |
618 | - | func voteDispute ( | |
619 | - | let Z = toBase58String( | |
620 | - | let | |
621 | - | let | |
622 | - | let L = | |
623 | - | let S = | |
624 | - | let | |
625 | - | let | |
626 | - | let | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | let | |
631 | - | let | |
632 | - | let | |
633 | - | if (( | |
634 | - | then if (( | |
617 | + | @Callable(bo) | |
618 | + | func voteDispute (ag,aT) = { | |
619 | + | let Z = toBase58String(bo.callerPublicKey) | |
620 | + | let bC = af(ag) | |
621 | + | let bb = ai(ag) | |
622 | + | let L = aq(ag) | |
623 | + | let S = as(ag) | |
624 | + | let aO = au(ag) | |
625 | + | let bS = ((S * 3) / 100) | |
626 | + | let bE = K(L) | |
627 | + | let aS = aQ(Z) | |
628 | + | let bT = aR(ag, aS, aT) | |
629 | + | let bU = aX(ag) | |
630 | + | let bR = B((bb + "_JobsInDispute")) | |
631 | + | let bM = B((aO + "_PendingEarnings")) | |
632 | + | let bN = B((aO + "_TotalEarnings")) | |
633 | + | if ((bC == m)) | |
634 | + | then if ((bU == 4)) | |
635 | 635 | then { | |
636 | - | let | |
637 | - | let | |
638 | - | if (( | |
636 | + | let bV = aZ(ag, bT, bb, aO) | |
637 | + | let bB = X(L, S) | |
638 | + | if ((bV == bb)) | |
639 | 639 | then { | |
640 | - | let | |
641 | - | ScriptResult(WriteSet([DataEntry(( | |
640 | + | let bW = (S - bS) | |
641 | + | ScriptResult(WriteSet([DataEntry((ag + "_DisputeVotes"), (bU + 1)), DataEntry((ag + "_State"), n), DataEntry(((ag + "_DiputeVote_") + aS), bT), DataEntry((L + "_Freezed"), bB), DataEntry((bb + "_JobsInDispute"), (bR - 1)), DataEntry((aO + "_PendingEarnings"), (bM - S)), DataEntry((aO + "_TotalEarnings"), (bN - S))]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bV)), bW, bE)])) | |
642 | 642 | } | |
643 | 643 | else { | |
644 | - | let | |
645 | - | ScriptResult(WriteSet([DataEntry(( | |
644 | + | let bW = (S - (bS * 2)) | |
645 | + | ScriptResult(WriteSet([DataEntry((ag + "_DisputeVotes"), (bU + 1)), DataEntry((ag + "_State"), n), DataEntry(((ag + "_DiputeVote_") + aS), bT), DataEntry((L + "_Freezed"), bB), DataEntry((bb + "_JobsInDispute"), (bR - 1)), DataEntry((aO + "_PendingEarnings"), (bM - S))]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bV)), bW, bE)])) | |
646 | 646 | } | |
647 | 647 | } | |
648 | - | else WriteSet([DataEntry(( | |
648 | + | else WriteSet([DataEntry((ag + "_DisputeVotes"), (bU + 1)), DataEntry(((ag + "_DiputeVote_") + aS), bT)]) | |
649 | 649 | else throw(("Incorrect state. Must be: " + m)) | |
650 | 650 | } | |
651 | 651 | ||
652 | 652 | ||
653 | 653 | ||
654 | - | @Callable( | |
655 | - | func workHandOver ( | |
656 | - | let Z = toBase58String( | |
657 | - | let | |
658 | - | let | |
659 | - | let | |
660 | - | let | |
661 | - | let | |
662 | - | let | |
663 | - | let | |
664 | - | let | |
665 | - | if ((Z == | |
666 | - | then if (( | |
667 | - | then if ( | |
668 | - | then WriteSet([DataEntry(( | |
669 | - | else WriteSet([DataEntry(( | |
654 | + | @Callable(bo) | |
655 | + | func workHandOver (ag) = { | |
656 | + | let Z = toBase58String(bo.callerPublicKey) | |
657 | + | let bC = af(ag) | |
658 | + | let bb = ai(ag) | |
659 | + | let bw = ak(ag) | |
660 | + | let bD = am(ag) | |
661 | + | let aL = ao(ag) | |
662 | + | let aO = au(ag) | |
663 | + | let bX = ((height - bw) > aL) | |
664 | + | let bR = B((bb + "_JobsInDispute")) | |
665 | + | if ((Z == aO)) | |
666 | + | then if ((bC == j)) | |
667 | + | then if (bX) | |
668 | + | then WriteSet([DataEntry((ag + "_State"), m), DataEntry((ag + "_DisputeVotes"), "0"), DataEntry((bb + "_JobInDispute"), (bR + 1))]) | |
669 | + | else WriteSet([DataEntry((ag + "_State"), k)]) | |
670 | 670 | else throw("Auction state is incorrect") | |
671 | 671 | else throw("Only a freelancer can indicate that the work is done") | |
672 | 672 | } | |
673 | 673 | ||
674 | 674 | ||
675 | 675 | ||
676 | - | @Callable( | |
677 | - | func acceptWork ( | |
678 | - | let Z = toBase58String( | |
679 | - | let | |
680 | - | let | |
681 | - | let | |
682 | - | let | |
683 | - | let L = | |
684 | - | let S = | |
685 | - | let | |
686 | - | let | |
687 | - | let | |
688 | - | let | |
689 | - | let | |
690 | - | let | |
691 | - | let | |
692 | - | let | |
693 | - | let | |
694 | - | if ((Z == | |
695 | - | then if (( | |
696 | - | then ScriptResult(WriteSet([DataEntry(( | |
676 | + | @Callable(bo) | |
677 | + | func acceptWork (ag) = { | |
678 | + | let Z = toBase58String(bo.callerPublicKey) | |
679 | + | let bC = af(ag) | |
680 | + | let bb = ai(ag) | |
681 | + | let bw = ak(ag) | |
682 | + | let bD = am(ag) | |
683 | + | let L = aq(ag) | |
684 | + | let S = as(ag) | |
685 | + | let aO = au(ag) | |
686 | + | let bL = B((bb + "_JobsOnGoing")) | |
687 | + | let bM = B((aO + "_PendingEarnings")) | |
688 | + | let bY = B((aO + "_PaidEarnings")) | |
689 | + | let bF = ((S * 3) / 100) | |
690 | + | let bQ = (S - (bF * 2)) | |
691 | + | let bE = K(L) | |
692 | + | let bB = X(L, S) | |
693 | + | let bZ = aN(aO) | |
694 | + | if ((Z == bb)) | |
695 | + | then if ((bC == k)) | |
696 | + | then ScriptResult(WriteSet([DataEntry((ag + "_State"), l), DataEntry((aO + "_Rating"), (bZ + 1)), DataEntry((L + "_Freezed"), bB), DataEntry((bb + "_JobsOnGoing"), (bL - 1)), DataEntry((aO + "_PendingEarnings"), (bM - S)), DataEntry((aO + "_PaidEarnings"), (bY + S))]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(aO)), bQ, bE)])) | |
697 | 697 | else throw(("Incorrect state. Must be: " + k)) | |
698 | 698 | else throw("Only auction customer can use this function") | |
699 | 699 | } | |
700 | 700 | ||
701 | 701 | ||
702 | - | @Verifier( | |
703 | - | func | |
702 | + | @Verifier(ca) | |
703 | + | func cb () = if (sigVerify(ca.bodyBytes, ca.proofs[0], ca.senderPublicKey)) | |
704 | 704 | then { | |
705 | - | let E = | |
705 | + | let E = ca | |
706 | 706 | if ($isInstanceOf(E, "TransferTransaction")) | |
707 | 707 | then { | |
708 | - | let | |
709 | - | let | |
710 | - | let | |
711 | - | let | |
712 | - | let | |
713 | - | if ($isInstanceOf( | |
708 | + | let cc = E | |
709 | + | let cd = I(cc.assetId) | |
710 | + | let ce = getInteger(this, (cd + "_Reserved")) | |
711 | + | let cf = { | |
712 | + | let cg = ce | |
713 | + | if ($isInstanceOf(cg, "Int")) | |
714 | 714 | then { | |
715 | - | let F = | |
715 | + | let F = cg | |
716 | 716 | F | |
717 | 717 | } | |
718 | 718 | else 0 | |
719 | 719 | } | |
720 | - | let | |
721 | - | ( | |
720 | + | let ch = (assetBalance(this, cc.assetId) - cf) | |
721 | + | (ch >= cc.amount) | |
722 | 722 | } | |
723 | 723 | else if ($isInstanceOf(E, "SetScriptTransaction")) | |
724 | 724 | then { | |
725 | - | let | |
725 | + | let ci = E | |
726 | 726 | true | |
727 | 727 | } | |
728 | 728 | else false |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 1440 | |
5 | 5 | ||
6 | 6 | let b = unit | |
7 | 7 | ||
8 | 8 | let c = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS' | |
9 | 9 | ||
10 | 10 | let d = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU' | |
11 | 11 | ||
12 | 12 | let e = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck' | |
13 | 13 | ||
14 | 14 | let f = base58'1' | |
15 | 15 | ||
16 | 16 | let g = "Opened" | |
17 | 17 | ||
18 | 18 | let h = "Suggested" | |
19 | 19 | ||
20 | 20 | let i = "Canceled" | |
21 | 21 | ||
22 | 22 | let j = "InProgress" | |
23 | 23 | ||
24 | 24 | let k = "WaitForConfirmation" | |
25 | 25 | ||
26 | 26 | let l = "Completed" | |
27 | 27 | ||
28 | 28 | let m = "Dispute" | |
29 | 29 | ||
30 | 30 | let n = "DisputeResolved" | |
31 | 31 | ||
32 | 32 | let o = "Web Design & Development" | |
33 | 33 | ||
34 | 34 | let p = "Waves RIDE & Smart Contract" | |
35 | 35 | ||
36 | 36 | let q = "Mobile App" | |
37 | 37 | ||
38 | 38 | let r = "Graphics & Design" | |
39 | 39 | ||
40 | 40 | let s = "Writing & Translation" | |
41 | 41 | ||
42 | 42 | let t = "Video & Animation" | |
43 | 43 | ||
44 | 44 | let u = "CL" | |
45 | 45 | ||
46 | 46 | let v = "FL" | |
47 | 47 | ||
48 | 48 | let w = "FneCJqM5BP2eAuyteMiuEEHYALrE4axhEfcpHVGbdr5s" | |
49 | 49 | ||
50 | 50 | let x = "6QAMdssb1GJjpQVQQcnx8fKU8WhtcF9ZsQhifdThAEK8" | |
51 | 51 | ||
52 | 52 | let y = "2ituwW7DSRsLP3Vcbnpr98QUQMGFRWKmyYPFqsUKRDoP" | |
53 | 53 | ||
54 | 54 | let z = "ANsPQocEESyLb3yQqk2pwCdoK7PJQxLoZVpYvsm3SxUG" | |
55 | 55 | ||
56 | 56 | let A = "13VixwQin1MzZCyY69NSWMSBNEV27Rzc159o7uZXR9VS" | |
57 | 57 | ||
58 | 58 | func B (C) = { | |
59 | 59 | let D = getInteger(this, C) | |
60 | 60 | let E = D | |
61 | 61 | if ($isInstanceOf(E, "Int")) | |
62 | 62 | then { | |
63 | 63 | let F = E | |
64 | 64 | F | |
65 | 65 | } | |
66 | 66 | else 0 | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func G (H) = if (if (if (if (if (if ((H == o)) | |
71 | 71 | then true | |
72 | 72 | else (H == p)) | |
73 | 73 | then true | |
74 | 74 | else (H == q)) | |
75 | 75 | then true | |
76 | 76 | else (H == r)) | |
77 | 77 | then true | |
78 | 78 | else (H == s)) | |
79 | 79 | then true | |
80 | 80 | else (H == t)) | |
81 | 81 | then H | |
82 | 82 | else throw("Category is invalid") | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func I (J) = if (!(isDefined(J))) | |
86 | 86 | then "WAVES" | |
87 | 87 | else if ((J == c)) | |
88 | 88 | then "BTC" | |
89 | 89 | else if ((J == d)) | |
90 | 90 | then "EUR" | |
91 | 91 | else if ((J == e)) | |
92 | 92 | then "USD" | |
93 | 93 | else if ((J == f)) | |
94 | 94 | then "AUCT" | |
95 | 95 | else throw("AssetId is incorrect") | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func K (L) = if ((L == "WAVES")) | |
99 | 99 | then b | |
100 | 100 | else if ((L == "BTC")) | |
101 | 101 | then c | |
102 | 102 | else if ((L == "EUR")) | |
103 | 103 | then d | |
104 | 104 | else if ((L == "USD")) | |
105 | 105 | then e | |
106 | 106 | else if ((L == "AUCT")) | |
107 | 107 | then f | |
108 | 108 | else throw("Incorrect Asset Id") | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func M (N,O,P) = ((N - O) > P) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func Q (R,S) = if ((R > S)) | |
115 | 115 | then throw("Bid amount must be lower or equal than auctionPrice") | |
116 | 116 | else R | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func T (U,S) = { | |
120 | 120 | let V = getInteger(this, (U + "_Freezed")) | |
121 | 121 | let W = { | |
122 | 122 | let E = V | |
123 | 123 | if ($isInstanceOf(E, "Int")) | |
124 | 124 | then { | |
125 | 125 | let F = E | |
126 | 126 | F | |
127 | 127 | } | |
128 | 128 | else 0 | |
129 | 129 | } | |
130 | 130 | (W + S) | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func X (U,S) = { | |
135 | 135 | let V = getInteger(this, (U + "_Freezed")) | |
136 | 136 | let W = { | |
137 | 137 | let E = V | |
138 | 138 | if ($isInstanceOf(E, "Int")) | |
139 | 139 | then { | |
140 | 140 | let F = E | |
141 | 141 | F | |
142 | 142 | } | |
143 | 143 | else 0 | |
144 | 144 | } | |
145 | 145 | let F = (W - S) | |
146 | 146 | if ((F >= 0)) | |
147 | 147 | then F | |
148 | 148 | else throw("Freezed amount couldn't be less than 0") | |
149 | 149 | } | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func Y (Z) = { | |
153 | - | let aa = getString(this, (Z + "_ | |
153 | + | let aa = getString(this, (Z + "_Client")) | |
154 | 154 | let E = aa | |
155 | + | if ($isInstanceOf(E, "String")) | |
156 | + | then { | |
157 | + | let F = E | |
158 | + | Z | |
159 | + | } | |
160 | + | else throw("Only registered users can create auctions") | |
161 | + | } | |
162 | + | ||
163 | + | ||
164 | + | func ab (Z) = { | |
165 | + | let ac = getString(this, (Z + "_Freelancer")) | |
166 | + | let E = ac | |
155 | 167 | if ($isInstanceOf(E, "String")) | |
156 | 168 | then { | |
157 | 169 | let F = E | |
158 | 170 | Z | |
159 | 171 | } | |
160 | 172 | else throw("Only registered users can make bets") | |
161 | 173 | } | |
162 | 174 | ||
163 | 175 | ||
164 | - | func ab (Z) = { | |
165 | - | let aa = getString(this, (Z + "_Freelancer")) | |
166 | - | let E = aa | |
167 | - | if ($isInstanceOf(E, "String")) | |
168 | - | then { | |
169 | - | let F = E | |
170 | - | Z | |
171 | - | } | |
172 | - | else throw("Only registered users can make bets") | |
173 | - | } | |
174 | - | ||
175 | - | ||
176 | - | func ac (ad) = if ((ad > 0)) | |
177 | - | then ad | |
176 | + | func ad (ae) = if ((ae > 0)) | |
177 | + | then ae | |
178 | 178 | else throw("Amount must be higher then 0") | |
179 | 179 | ||
180 | 180 | ||
181 | - | func | |
182 | - | let | |
183 | - | let E = | |
181 | + | func af (ag) = { | |
182 | + | let ah = getString(this, (ag + "_State")) | |
183 | + | let E = ah | |
184 | 184 | if ($isInstanceOf(E, "String")) | |
185 | 185 | then { | |
186 | 186 | let F = E | |
187 | 187 | F | |
188 | 188 | } | |
189 | 189 | else throw("Auction State was not found") | |
190 | 190 | } | |
191 | 191 | ||
192 | 192 | ||
193 | - | func | |
194 | - | let | |
195 | - | let E = | |
193 | + | func ai (ag) = { | |
194 | + | let aj = getString(this, (ag + "_AuctionClient")) | |
195 | + | let E = aj | |
196 | 196 | if ($isInstanceOf(E, "String")) | |
197 | 197 | then { | |
198 | 198 | let F = E | |
199 | 199 | F | |
200 | 200 | } | |
201 | 201 | else throw("Auction Client was not found") | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | - | func | |
206 | - | let | |
207 | - | let E = | |
205 | + | func ak (ag) = { | |
206 | + | let al = getInteger(this, (ag + "_AuctionStart")) | |
207 | + | let E = al | |
208 | 208 | if ($isInstanceOf(E, "Int")) | |
209 | 209 | then { | |
210 | 210 | let F = E | |
211 | 211 | F | |
212 | 212 | } | |
213 | 213 | else throw("Auction Start time was not found") | |
214 | 214 | } | |
215 | 215 | ||
216 | 216 | ||
217 | - | func | |
218 | - | let | |
219 | - | let E = | |
217 | + | func am (ag) = { | |
218 | + | let an = getInteger(this, (ag + "_AuctionDuration")) | |
219 | + | let E = an | |
220 | 220 | if ($isInstanceOf(E, "Int")) | |
221 | 221 | then { | |
222 | 222 | let F = E | |
223 | 223 | F | |
224 | 224 | } | |
225 | 225 | else throw("Auction duration time was not found") | |
226 | 226 | } | |
227 | 227 | ||
228 | 228 | ||
229 | - | func | |
230 | - | let | |
231 | - | let E = | |
229 | + | func ao (ag) = { | |
230 | + | let ap = getInteger(this, (ag + "_JobPerformance")) | |
231 | + | let E = ap | |
232 | 232 | if ($isInstanceOf(E, "Int")) | |
233 | 233 | then { | |
234 | 234 | let F = E | |
235 | 235 | F | |
236 | 236 | } | |
237 | 237 | else throw("Auction job performance time was not found") | |
238 | 238 | } | |
239 | 239 | ||
240 | 240 | ||
241 | - | func | |
242 | - | let | |
243 | - | let E = | |
241 | + | func aq (ag) = { | |
242 | + | let ar = getString(this, (ag + "_AssetName")) | |
243 | + | let E = ar | |
244 | 244 | if ($isInstanceOf(E, "String")) | |
245 | 245 | then { | |
246 | 246 | let F = E | |
247 | 247 | F | |
248 | 248 | } | |
249 | 249 | else throw("Auction asset name was not found") | |
250 | 250 | } | |
251 | 251 | ||
252 | 252 | ||
253 | - | func | |
254 | - | let | |
255 | - | let E = | |
253 | + | func as (ag) = { | |
254 | + | let at = getInteger(this, (ag + "_Price")) | |
255 | + | let E = at | |
256 | 256 | if ($isInstanceOf(E, "Int")) | |
257 | 257 | then { | |
258 | 258 | let F = E | |
259 | 259 | F | |
260 | 260 | } | |
261 | 261 | else throw("Auction price was not found") | |
262 | 262 | } | |
263 | 263 | ||
264 | 264 | ||
265 | - | func | |
266 | - | let | |
267 | - | let E = | |
265 | + | func au (ag) = { | |
266 | + | let av = getString(this, (ag + "_HiredFreelancer")) | |
267 | + | let E = av | |
268 | 268 | if ($isInstanceOf(E, "String")) | |
269 | 269 | then { | |
270 | 270 | let F = E | |
271 | 271 | F | |
272 | 272 | } | |
273 | 273 | else throw("Auction Client was not found") | |
274 | 274 | } | |
275 | 275 | ||
276 | 276 | ||
277 | - | func | |
278 | - | let | |
279 | - | let E = | |
277 | + | func aw (ag) = { | |
278 | + | let ax = getString(this, (ag + "_LowestBidderPub")) | |
279 | + | let E = ax | |
280 | 280 | if ($isInstanceOf(E, "String")) | |
281 | 281 | then { | |
282 | 282 | let F = E | |
283 | 283 | F | |
284 | 284 | } | |
285 | 285 | else throw("Auction lowest bidder was not found") | |
286 | 286 | } | |
287 | 287 | ||
288 | 288 | ||
289 | - | func | |
290 | - | let | |
291 | - | let E = | |
289 | + | func ay (ag,az) = { | |
290 | + | let aA = getInteger(this, ((ag + "_Bid_") + az)) | |
291 | + | let E = aA | |
292 | 292 | if ($isInstanceOf(E, "Int")) | |
293 | 293 | then { | |
294 | 294 | let F = E | |
295 | 295 | F | |
296 | 296 | } | |
297 | 297 | else throw("Auction lowest bid was not found") | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | - | func | |
302 | - | let | |
303 | - | let | |
304 | - | let E = | |
301 | + | func aB (ag,aC,aD,aE) = { | |
302 | + | let aF = getInteger(this, ((ag + "_Bid_") + aC)) | |
303 | + | let aG = { | |
304 | + | let E = aF | |
305 | 305 | if ($isInstanceOf(E, "Int")) | |
306 | 306 | then { | |
307 | 307 | let F = E | |
308 | 308 | F | |
309 | 309 | } | |
310 | 310 | else throw("Auction lowest bid was not found") | |
311 | 311 | } | |
312 | - | if (( | |
313 | - | then | |
314 | - | else | |
312 | + | if ((aG > aD)) | |
313 | + | then aE | |
314 | + | else aC | |
315 | 315 | } | |
316 | 316 | ||
317 | 317 | ||
318 | - | func | |
319 | - | let | |
320 | - | let E = | |
318 | + | func aH (ag,aI) = { | |
319 | + | let aE = getInteger(this, ((ag + "_Bid_") + aI)) | |
320 | + | let E = aE | |
321 | 321 | if ($isInstanceOf(E, "Int")) | |
322 | 322 | then { | |
323 | 323 | let F = E | |
324 | - | | |
324 | + | aI | |
325 | 325 | } | |
326 | 326 | else throw("Error: Incorrect freelancerPub") | |
327 | 327 | } | |
328 | 328 | ||
329 | 329 | ||
330 | - | func | |
331 | - | let | |
332 | - | if (( | |
333 | - | then | |
330 | + | func aJ (aK,aL) = { | |
331 | + | let aM = (aK * a) | |
332 | + | if ((aM > aL)) | |
333 | + | then aM | |
334 | 334 | else throw("New execution time must more than current execution time") | |
335 | 335 | } | |
336 | 336 | ||
337 | 337 | ||
338 | - | func | |
339 | - | let | |
340 | - | let E = | |
338 | + | func aN (aO) = { | |
339 | + | let aP = getInteger(this, (aO + "_Rating")) | |
340 | + | let E = aP | |
341 | 341 | if ($isInstanceOf(E, "Int")) | |
342 | 342 | then { | |
343 | 343 | let F = E | |
344 | 344 | F | |
345 | 345 | } | |
346 | 346 | else 0 | |
347 | 347 | } | |
348 | 348 | ||
349 | 349 | ||
350 | - | func | |
350 | + | func aQ (Z) = if (if (if (if (if ((Z == w)) | |
351 | 351 | then true | |
352 | 352 | else (Z == x)) | |
353 | 353 | then true | |
354 | 354 | else (Z == y)) | |
355 | 355 | then true | |
356 | 356 | else (Z == z)) | |
357 | 357 | then true | |
358 | 358 | else (Z == A)) | |
359 | 359 | then Z | |
360 | 360 | else throw("Only defined ambassadors can vote in disputes") | |
361 | 361 | ||
362 | 362 | ||
363 | - | func | |
364 | - | let | |
365 | - | let | |
366 | - | let | |
367 | - | let E = | |
363 | + | func aR (ag,aS,aT) = { | |
364 | + | let aU = ((ag + "_DiputeVote_") + aS) | |
365 | + | let aV = getString(this, aU) | |
366 | + | let aW = { | |
367 | + | let E = aV | |
368 | 368 | if ($isInstanceOf(E, "String")) | |
369 | 369 | then { | |
370 | 370 | let F = E | |
371 | 371 | true | |
372 | 372 | } | |
373 | 373 | else false | |
374 | 374 | } | |
375 | - | if ( | |
375 | + | if (aW) | |
376 | 376 | then throw("Ambassador voted already ") | |
377 | - | else if (if (( | |
377 | + | else if (if ((aT == u)) | |
378 | 378 | then true | |
379 | - | else ( | |
380 | - | then | |
379 | + | else (aT == v)) | |
380 | + | then aT | |
381 | 381 | else throw(((("Vote is incorrect. Must be: " + u) + " or ") + v)) | |
382 | 382 | } | |
383 | 383 | ||
384 | 384 | ||
385 | - | func | |
386 | - | let | |
387 | - | let E = | |
385 | + | func aX (ag) = { | |
386 | + | let aY = getInteger(this, (ag + "_DisputeVotes")) | |
387 | + | let E = aY | |
388 | 388 | if ($isInstanceOf(E, "Int")) | |
389 | 389 | then { | |
390 | 390 | let F = E | |
391 | 391 | F | |
392 | 392 | } | |
393 | 393 | else throw("VotesNumber was not found") | |
394 | 394 | } | |
395 | 395 | ||
396 | 396 | ||
397 | - | func aY (af,aZ,ba,aN) = { | |
398 | - | let bb = getString(this, ((af + "_DiputeVote_") + w)) | |
399 | - | let bc = getString(this, ((af + "_DiputeVote_") + x)) | |
400 | - | let bd = getString(this, ((af + "_DiputeVote_") + y)) | |
401 | - | let be = getString(this, ((af + "_DiputeVote_") + z)) | |
402 | - | let bf = getString(this, ((af + "_DiputeVote_") + A)) | |
403 | - | let bg = if ((bb == u)) | |
404 | - | then 1 | |
405 | - | else 0 | |
397 | + | func aZ (ag,ba,bb,aO) = { | |
398 | + | let bc = getString(this, ((ag + "_DiputeVote_") + w)) | |
399 | + | let bd = getString(this, ((ag + "_DiputeVote_") + x)) | |
400 | + | let be = getString(this, ((ag + "_DiputeVote_") + y)) | |
401 | + | let bf = getString(this, ((ag + "_DiputeVote_") + z)) | |
402 | + | let bg = getString(this, ((ag + "_DiputeVote_") + A)) | |
406 | 403 | let bh = if ((bc == u)) | |
407 | 404 | then 1 | |
408 | 405 | else 0 | |
409 | 406 | let bi = if ((bd == u)) | |
410 | 407 | then 1 | |
411 | 408 | else 0 | |
412 | 409 | let bj = if ((be == u)) | |
413 | 410 | then 1 | |
414 | 411 | else 0 | |
415 | 412 | let bk = if ((bf == u)) | |
416 | 413 | then 1 | |
417 | 414 | else 0 | |
418 | - | let bl = if (( | |
415 | + | let bl = if ((bg == u)) | |
419 | 416 | then 1 | |
420 | 417 | else 0 | |
421 | - | let bm = (((((bg + bh) + bi) + bj) + bk) + bl) | |
422 | - | if ((bm > 2)) | |
423 | - | then ba | |
424 | - | else aN | |
418 | + | let bm = if ((ba == u)) | |
419 | + | then 1 | |
420 | + | else 0 | |
421 | + | let bn = (((((bh + bi) + bj) + bk) + bl) + bm) | |
422 | + | if ((bn > 2)) | |
423 | + | then bb | |
424 | + | else aO | |
425 | 425 | } | |
426 | 426 | ||
427 | 427 | ||
428 | - | @Callable( | |
429 | - | func freelancerSignUp ( | |
430 | - | let | |
431 | - | let | |
432 | - | if (isDefined( | |
428 | + | @Callable(bo) | |
429 | + | func freelancerSignUp (bp) = { | |
430 | + | let bq = toBase58String(bo.callerPublicKey) | |
431 | + | let br = getString(this, (bq + "_Freelancer")) | |
432 | + | if (isDefined(br)) | |
433 | 433 | then throw("User already registered") | |
434 | - | else WriteSet([DataEntry(( | |
434 | + | else WriteSet([DataEntry((bq + "_Freelancer"), bp), DataEntry((bq + "_PendingEarnings"), 0), DataEntry((bq + "_PaidEarnings"), 0), DataEntry((bq + "_TotalEarnings"), 0), DataEntry((bq + "_JobsPending"), 0), DataEntry((bq + "_JobsCompleted"), 0), DataEntry((bq + "_JobsTotal"), 0)]) | |
435 | 435 | } | |
436 | 436 | ||
437 | 437 | ||
438 | 438 | ||
439 | - | @Callable( | |
440 | - | func clientSignUp ( | |
441 | - | let | |
442 | - | let | |
443 | - | if (isDefined( | |
439 | + | @Callable(bo) | |
440 | + | func clientSignUp (bp) = { | |
441 | + | let bq = toBase58String(bo.callerPublicKey) | |
442 | + | let br = getString(this, (bq + "_Client")) | |
443 | + | if (isDefined(br)) | |
444 | 444 | then throw("User already registered") | |
445 | - | else WriteSet([DataEntry(( | |
445 | + | else WriteSet([DataEntry((bq + "_Client"), bp), DataEntry((bq + "_JobsCreated"), 0), DataEntry((bq + "_JobsOnGoing"), 0), DataEntry((bq + "_JobInDispute"), 0)]) | |
446 | 446 | } | |
447 | 447 | ||
448 | 448 | ||
449 | 449 | ||
450 | - | @Callable( | |
451 | - | func createAuction ( | |
452 | - | let Z = toBase58String( | |
453 | - | let | |
454 | - | let | |
455 | - | let | |
456 | - | let | |
457 | - | let S = | |
458 | - | let | |
459 | - | let | |
460 | - | let | |
461 | - | let U = I( | |
462 | - | let | |
463 | - | let | |
464 | - | let | |
465 | - | WriteSet([DataEntry(( | |
450 | + | @Callable(bo) | |
451 | + | func createAuction (bs,bt,bu,H) = { | |
452 | + | let Z = toBase58String(bo.callerPublicKey) | |
453 | + | let ag = toBase58String(bo.transactionId) | |
454 | + | let bb = Y(Z) | |
455 | + | let bv = extract(bo.payment) | |
456 | + | let ae = bv.amount | |
457 | + | let S = ad(ae) | |
458 | + | let bw = height | |
459 | + | let bx = (bt * a) | |
460 | + | let by = (bs * a) | |
461 | + | let U = I(bv.assetId) | |
462 | + | let bz = B((bb + "_JobsCreated")) | |
463 | + | let bA = G(H) | |
464 | + | let bB = T(U, S) | |
465 | + | WriteSet([DataEntry((ag + "_State"), g), DataEntry((ag + "_Info"), bu), DataEntry((ag + "_AuctionClient"), bb), DataEntry((ag + "_AuctionStart"), bw), DataEntry((ag + "_AuctionDuration"), bx), DataEntry((ag + "_JobPerformance"), by), DataEntry((ag + "_AssetName"), U), DataEntry((ag + "_Price"), S), DataEntry((ag + "_Category"), bA), DataEntry((U + "_Freezed"), bB), DataEntry((bb + "_JobsCreated"), (bz + 1))]) | |
466 | 466 | } | |
467 | 467 | ||
468 | 468 | ||
469 | 469 | ||
470 | - | @Callable( | |
471 | - | func makeBid ( | |
472 | - | let Z = toBase58String( | |
473 | - | let | |
474 | - | let | |
475 | - | let | |
476 | - | let | |
477 | - | let | |
478 | - | let L = | |
479 | - | let S = | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | if ( | |
487 | - | then if (( | |
488 | - | then ScriptResult(WriteSet([DataEntry(( | |
489 | - | else if (( | |
470 | + | @Callable(bo) | |
471 | + | func makeBid (ag,R) = { | |
472 | + | let Z = toBase58String(bo.callerPublicKey) | |
473 | + | let bC = af(ag) | |
474 | + | let bb = ai(ag) | |
475 | + | let bw = ak(ag) | |
476 | + | let bD = am(ag) | |
477 | + | let aL = ao(ag) | |
478 | + | let L = aq(ag) | |
479 | + | let S = as(ag) | |
480 | + | let bE = K(L) | |
481 | + | let aE = ab(Z) | |
482 | + | let bF = ((S * 3) / 100) | |
483 | + | let bB = X(L, S) | |
484 | + | let aD = Q(R, S) | |
485 | + | let bG = M(height, bw, bD) | |
486 | + | if (bG) | |
487 | + | then if ((bC == g)) | |
488 | + | then ScriptResult(WriteSet([DataEntry((ag + "_State"), i), DataEntry((L + "_Freezed"), bB)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), (S - bF), bE)])) | |
489 | + | else if ((bC == h)) | |
490 | 490 | then { | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
494 | - | ScriptResult(WriteSet([DataEntry(( | |
491 | + | let az = aw(ag) | |
492 | + | let bH = ay(ag, az) | |
493 | + | let bI = ((S - bH) - bF) | |
494 | + | ScriptResult(WriteSet([DataEntry((ag + "_State"), j), DataEntry((ag + "_HiredFreelancer"), az), DataEntry((ag + "_Price"), bH)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), bI, bE)])) | |
495 | 495 | } | |
496 | 496 | else throw("Incorrect auction state") | |
497 | - | else if (( | |
498 | - | then WriteSet([DataEntry((( | |
499 | - | else if (( | |
497 | + | else if ((bC == g)) | |
498 | + | then WriteSet([DataEntry(((ag + "_Bid_") + aE), aD), DataEntry((ag + "_State"), h), DataEntry((ag + "_LowestBidderPub"), Z)]) | |
499 | + | else if ((bC == h)) | |
500 | 500 | then { | |
501 | - | let | |
502 | - | let | |
503 | - | WriteSet([DataEntry(( | |
501 | + | let aC = aw(ag) | |
502 | + | let bJ = aB(ag, aC, aD, aE) | |
503 | + | WriteSet([DataEntry((ag + "_LowestBidderPub"), bJ), DataEntry(((ag + "_Bid_") + aE), aD)]) | |
504 | 504 | } | |
505 | - | else throw(((((("Incorrect jobId state. Now: " + | |
505 | + | else throw(((((("Incorrect jobId state. Now: " + bC) + ", must be: ") + g) + " or ") + h)) | |
506 | 506 | } | |
507 | 507 | ||
508 | 508 | ||
509 | 509 | ||
510 | - | @Callable( | |
511 | - | func chooseFreelancer ( | |
512 | - | let Z = toBase58String( | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | let | |
517 | - | let L = | |
518 | - | let S = | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let | |
525 | - | let | |
526 | - | if ((Z == | |
527 | - | then if ( | |
528 | - | then if (( | |
510 | + | @Callable(bo) | |
511 | + | func chooseFreelancer (ag,aI) = { | |
512 | + | let Z = toBase58String(bo.callerPublicKey) | |
513 | + | let bC = af(ag) | |
514 | + | let bb = ai(ag) | |
515 | + | let bw = ak(ag) | |
516 | + | let bD = am(ag) | |
517 | + | let L = aq(ag) | |
518 | + | let S = as(ag) | |
519 | + | let bE = K(L) | |
520 | + | let aE = aH(ag, aI) | |
521 | + | let bK = ay(ag, aE) | |
522 | + | let bG = M(height, bw, bD) | |
523 | + | let bL = B((bb + "_JobsOnGoing")) | |
524 | + | let bM = B((aI + "_PendingEarnings")) | |
525 | + | let bN = B((aI + "_TotalEarnings")) | |
526 | + | if ((Z == bb)) | |
527 | + | then if (bG) | |
528 | + | then if ((bC == g)) | |
529 | 529 | then { | |
530 | - | let | |
531 | - | let | |
532 | - | ScriptResult(WriteSet([DataEntry(( | |
530 | + | let bB = X(L, S) | |
531 | + | let bF = ((S * 3) / 100) | |
532 | + | ScriptResult(WriteSet([DataEntry((ag + "_State"), i), DataEntry((L + "_Freezed"), bB)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), (S - bF), bE)])) | |
533 | 533 | } | |
534 | - | else if (( | |
534 | + | else if ((bC == h)) | |
535 | 535 | then { | |
536 | - | let | |
537 | - | let | |
538 | - | let | |
539 | - | let | |
540 | - | ScriptResult(WriteSet([DataEntry(( | |
536 | + | let az = aw(ag) | |
537 | + | let bH = ay(ag, az) | |
538 | + | let bI = (S - bH) | |
539 | + | let bB = X(L, bI) | |
540 | + | ScriptResult(WriteSet([DataEntry((ag + "_State"), j), DataEntry((ag + "_HiredFreelancer"), az), DataEntry((ag + "_Price"), bH), DataEntry((L + "_Freezed"), bB), DataEntry((bb + "_JobsOnGoing"), (bL + 1)), DataEntry((aI + "_PendingEarnings"), (bM + bH)), DataEntry((aI + "_TotalEarnings"), (bN + bH))]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), bI, bE)])) | |
541 | 541 | } | |
542 | 542 | else throw("Incorrect auction state") | |
543 | - | else if (if (( | |
543 | + | else if (if ((bC == g)) | |
544 | 544 | then true | |
545 | - | else ( | |
545 | + | else (bC == h)) | |
546 | 546 | then { | |
547 | - | let | |
548 | - | let | |
549 | - | ScriptResult(WriteSet([DataEntry(( | |
547 | + | let bI = (S - bK) | |
548 | + | let bB = X(L, bI) | |
549 | + | ScriptResult(WriteSet([DataEntry((ag + "_State"), j), DataEntry((ag + "_HiredFreelancer"), aE), DataEntry((ag + "_Price"), bK), DataEntry((L + "_Freezed"), bB), DataEntry((bb + "_JobsOnGoing"), (bL + 1)), DataEntry((aI + "_PendingEarnings"), (bM + bK)), DataEntry((aI + "_TotalEarnings"), (bN + bK))]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), (bI + 1), bE)])) | |
550 | 550 | } | |
551 | 551 | else throw("Incorrect auction state") | |
552 | 552 | else throw("Only auction customer can choose a freelancer") | |
553 | 553 | } | |
554 | 554 | ||
555 | 555 | ||
556 | 556 | ||
557 | - | @Callable( | |
558 | - | func increaseExecutionTime ( | |
559 | - | let | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | let | |
564 | - | if (( | |
565 | - | then if (if (if (( | |
557 | + | @Callable(bo) | |
558 | + | func increaseExecutionTime (ag,aK) = { | |
559 | + | let bO = toBase58String(bo.callerPublicKey) | |
560 | + | let bC = af(ag) | |
561 | + | let bb = ai(ag) | |
562 | + | let aL = ao(ag) | |
563 | + | let bP = aJ(aK, aL) | |
564 | + | if ((bO == bb)) | |
565 | + | then if (if (if ((bC == g)) | |
566 | 566 | then true | |
567 | - | else ( | |
567 | + | else (bC == h)) | |
568 | 568 | then true | |
569 | - | else ( | |
570 | - | then WriteSet([DataEntry(( | |
569 | + | else (bC == j)) | |
570 | + | then WriteSet([DataEntry((ag + "_JobPerformance"), bP)]) | |
571 | 571 | else throw("Incorrect state") | |
572 | 572 | else throw("Only Client can increase execution time") | |
573 | 573 | } | |
574 | 574 | ||
575 | 575 | ||
576 | 576 | ||
577 | - | @Callable( | |
578 | - | func cancelAuction ( | |
579 | - | let Z = toBase58String( | |
580 | - | let | |
581 | - | let | |
582 | - | let L = | |
583 | - | let S = | |
584 | - | let | |
585 | - | let | |
586 | - | let | |
587 | - | let | |
588 | - | if ((Z == | |
589 | - | then if (( | |
590 | - | then ScriptResult(WriteSet([DataEntry(( | |
577 | + | @Callable(bo) | |
578 | + | func cancelAuction (ag) = { | |
579 | + | let Z = toBase58String(bo.callerPublicKey) | |
580 | + | let bC = af(ag) | |
581 | + | let bb = ai(ag) | |
582 | + | let L = aq(ag) | |
583 | + | let S = as(ag) | |
584 | + | let bE = K(L) | |
585 | + | let bF = ((S * 3) / 100) | |
586 | + | let bQ = (S - bF) | |
587 | + | let bB = X(L, S) | |
588 | + | if ((Z == bb)) | |
589 | + | then if ((bC == g)) | |
590 | + | then ScriptResult(WriteSet([DataEntry((ag + "_State"), i), DataEntry((L + "_Freezed"), bB)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bb)), bQ, bE)])) | |
591 | 591 | else throw("Auction can be canceled only by auction owner.") | |
592 | 592 | else throw("Only Client can cancel auction") | |
593 | 593 | } | |
594 | 594 | ||
595 | 595 | ||
596 | 596 | ||
597 | - | @Callable( | |
598 | - | func openDispute ( | |
599 | - | let | |
600 | - | let | |
601 | - | let | |
602 | - | let | |
603 | - | let | |
604 | - | if (if (( | |
597 | + | @Callable(bo) | |
598 | + | func openDispute (ag) = { | |
599 | + | let bO = toBase58String(bo.callerPublicKey) | |
600 | + | let bC = af(ag) | |
601 | + | let bb = ai(ag) | |
602 | + | let aO = au(ag) | |
603 | + | let bR = B((bb + "_JobsInDispute")) | |
604 | + | if (if ((bC == j)) | |
605 | 605 | then true | |
606 | - | else ( | |
607 | - | then if (if (( | |
606 | + | else (bC == k)) | |
607 | + | then if (if ((bO == bb)) | |
608 | 608 | then true | |
609 | - | else ( | |
610 | - | then WriteSet([DataEntry(( | |
609 | + | else (bO == aO)) | |
610 | + | then WriteSet([DataEntry((ag + "_State"), m), DataEntry((ag + "_DisputeVotes"), 0), DataEntry((bb + "_JobsInDispute"), (bR + 1))]) | |
611 | 611 | else throw("Only Client and Freelancer can open dispute") | |
612 | 612 | else throw("Incorrect auction state for dispute opening") | |
613 | 613 | } | |
614 | 614 | ||
615 | 615 | ||
616 | 616 | ||
617 | - | @Callable( | |
618 | - | func voteDispute ( | |
619 | - | let Z = toBase58String( | |
620 | - | let | |
621 | - | let | |
622 | - | let L = | |
623 | - | let S = | |
624 | - | let | |
625 | - | let | |
626 | - | let | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | let | |
631 | - | let | |
632 | - | let | |
633 | - | if (( | |
634 | - | then if (( | |
617 | + | @Callable(bo) | |
618 | + | func voteDispute (ag,aT) = { | |
619 | + | let Z = toBase58String(bo.callerPublicKey) | |
620 | + | let bC = af(ag) | |
621 | + | let bb = ai(ag) | |
622 | + | let L = aq(ag) | |
623 | + | let S = as(ag) | |
624 | + | let aO = au(ag) | |
625 | + | let bS = ((S * 3) / 100) | |
626 | + | let bE = K(L) | |
627 | + | let aS = aQ(Z) | |
628 | + | let bT = aR(ag, aS, aT) | |
629 | + | let bU = aX(ag) | |
630 | + | let bR = B((bb + "_JobsInDispute")) | |
631 | + | let bM = B((aO + "_PendingEarnings")) | |
632 | + | let bN = B((aO + "_TotalEarnings")) | |
633 | + | if ((bC == m)) | |
634 | + | then if ((bU == 4)) | |
635 | 635 | then { | |
636 | - | let | |
637 | - | let | |
638 | - | if (( | |
636 | + | let bV = aZ(ag, bT, bb, aO) | |
637 | + | let bB = X(L, S) | |
638 | + | if ((bV == bb)) | |
639 | 639 | then { | |
640 | - | let | |
641 | - | ScriptResult(WriteSet([DataEntry(( | |
640 | + | let bW = (S - bS) | |
641 | + | ScriptResult(WriteSet([DataEntry((ag + "_DisputeVotes"), (bU + 1)), DataEntry((ag + "_State"), n), DataEntry(((ag + "_DiputeVote_") + aS), bT), DataEntry((L + "_Freezed"), bB), DataEntry((bb + "_JobsInDispute"), (bR - 1)), DataEntry((aO + "_PendingEarnings"), (bM - S)), DataEntry((aO + "_TotalEarnings"), (bN - S))]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bV)), bW, bE)])) | |
642 | 642 | } | |
643 | 643 | else { | |
644 | - | let | |
645 | - | ScriptResult(WriteSet([DataEntry(( | |
644 | + | let bW = (S - (bS * 2)) | |
645 | + | ScriptResult(WriteSet([DataEntry((ag + "_DisputeVotes"), (bU + 1)), DataEntry((ag + "_State"), n), DataEntry(((ag + "_DiputeVote_") + aS), bT), DataEntry((L + "_Freezed"), bB), DataEntry((bb + "_JobsInDispute"), (bR - 1)), DataEntry((aO + "_PendingEarnings"), (bM - S))]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(bV)), bW, bE)])) | |
646 | 646 | } | |
647 | 647 | } | |
648 | - | else WriteSet([DataEntry(( | |
648 | + | else WriteSet([DataEntry((ag + "_DisputeVotes"), (bU + 1)), DataEntry(((ag + "_DiputeVote_") + aS), bT)]) | |
649 | 649 | else throw(("Incorrect state. Must be: " + m)) | |
650 | 650 | } | |
651 | 651 | ||
652 | 652 | ||
653 | 653 | ||
654 | - | @Callable( | |
655 | - | func workHandOver ( | |
656 | - | let Z = toBase58String( | |
657 | - | let | |
658 | - | let | |
659 | - | let | |
660 | - | let | |
661 | - | let | |
662 | - | let | |
663 | - | let | |
664 | - | let | |
665 | - | if ((Z == | |
666 | - | then if (( | |
667 | - | then if ( | |
668 | - | then WriteSet([DataEntry(( | |
669 | - | else WriteSet([DataEntry(( | |
654 | + | @Callable(bo) | |
655 | + | func workHandOver (ag) = { | |
656 | + | let Z = toBase58String(bo.callerPublicKey) | |
657 | + | let bC = af(ag) | |
658 | + | let bb = ai(ag) | |
659 | + | let bw = ak(ag) | |
660 | + | let bD = am(ag) | |
661 | + | let aL = ao(ag) | |
662 | + | let aO = au(ag) | |
663 | + | let bX = ((height - bw) > aL) | |
664 | + | let bR = B((bb + "_JobsInDispute")) | |
665 | + | if ((Z == aO)) | |
666 | + | then if ((bC == j)) | |
667 | + | then if (bX) | |
668 | + | then WriteSet([DataEntry((ag + "_State"), m), DataEntry((ag + "_DisputeVotes"), "0"), DataEntry((bb + "_JobInDispute"), (bR + 1))]) | |
669 | + | else WriteSet([DataEntry((ag + "_State"), k)]) | |
670 | 670 | else throw("Auction state is incorrect") | |
671 | 671 | else throw("Only a freelancer can indicate that the work is done") | |
672 | 672 | } | |
673 | 673 | ||
674 | 674 | ||
675 | 675 | ||
676 | - | @Callable( | |
677 | - | func acceptWork ( | |
678 | - | let Z = toBase58String( | |
679 | - | let | |
680 | - | let | |
681 | - | let | |
682 | - | let | |
683 | - | let L = | |
684 | - | let S = | |
685 | - | let | |
686 | - | let | |
687 | - | let | |
688 | - | let | |
689 | - | let | |
690 | - | let | |
691 | - | let | |
692 | - | let | |
693 | - | let | |
694 | - | if ((Z == | |
695 | - | then if (( | |
696 | - | then ScriptResult(WriteSet([DataEntry(( | |
676 | + | @Callable(bo) | |
677 | + | func acceptWork (ag) = { | |
678 | + | let Z = toBase58String(bo.callerPublicKey) | |
679 | + | let bC = af(ag) | |
680 | + | let bb = ai(ag) | |
681 | + | let bw = ak(ag) | |
682 | + | let bD = am(ag) | |
683 | + | let L = aq(ag) | |
684 | + | let S = as(ag) | |
685 | + | let aO = au(ag) | |
686 | + | let bL = B((bb + "_JobsOnGoing")) | |
687 | + | let bM = B((aO + "_PendingEarnings")) | |
688 | + | let bY = B((aO + "_PaidEarnings")) | |
689 | + | let bF = ((S * 3) / 100) | |
690 | + | let bQ = (S - (bF * 2)) | |
691 | + | let bE = K(L) | |
692 | + | let bB = X(L, S) | |
693 | + | let bZ = aN(aO) | |
694 | + | if ((Z == bb)) | |
695 | + | then if ((bC == k)) | |
696 | + | then ScriptResult(WriteSet([DataEntry((ag + "_State"), l), DataEntry((aO + "_Rating"), (bZ + 1)), DataEntry((L + "_Freezed"), bB), DataEntry((bb + "_JobsOnGoing"), (bL - 1)), DataEntry((aO + "_PendingEarnings"), (bM - S)), DataEntry((aO + "_PaidEarnings"), (bY + S))]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(aO)), bQ, bE)])) | |
697 | 697 | else throw(("Incorrect state. Must be: " + k)) | |
698 | 698 | else throw("Only auction customer can use this function") | |
699 | 699 | } | |
700 | 700 | ||
701 | 701 | ||
702 | - | @Verifier( | |
703 | - | func | |
702 | + | @Verifier(ca) | |
703 | + | func cb () = if (sigVerify(ca.bodyBytes, ca.proofs[0], ca.senderPublicKey)) | |
704 | 704 | then { | |
705 | - | let E = | |
705 | + | let E = ca | |
706 | 706 | if ($isInstanceOf(E, "TransferTransaction")) | |
707 | 707 | then { | |
708 | - | let | |
709 | - | let | |
710 | - | let | |
711 | - | let | |
712 | - | let | |
713 | - | if ($isInstanceOf( | |
708 | + | let cc = E | |
709 | + | let cd = I(cc.assetId) | |
710 | + | let ce = getInteger(this, (cd + "_Reserved")) | |
711 | + | let cf = { | |
712 | + | let cg = ce | |
713 | + | if ($isInstanceOf(cg, "Int")) | |
714 | 714 | then { | |
715 | - | let F = | |
715 | + | let F = cg | |
716 | 716 | F | |
717 | 717 | } | |
718 | 718 | else 0 | |
719 | 719 | } | |
720 | - | let | |
721 | - | ( | |
720 | + | let ch = (assetBalance(this, cc.assetId) - cf) | |
721 | + | (ch >= cc.amount) | |
722 | 722 | } | |
723 | 723 | else if ($isInstanceOf(E, "SetScriptTransaction")) | |
724 | 724 | then { | |
725 | - | let | |
725 | + | let ci = E | |
726 | 726 | true | |
727 | 727 | } | |
728 | 728 | else false | |
729 | 729 | } | |
730 | 730 | else false | |
731 | 731 |
github/deemru/w8io/169f3d6 204.22 ms ◑