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