tx · FDcMfpAQ1jF39uAp6MM51KpjUaxrdWKAcp37KEz2XRqg

3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2:  -0.01500000 Waves

2019.10.04 18:16 [705167] smart account 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2 > SELF 0.00000000 Waves

{ "type": 13, "id": "FDcMfpAQ1jF39uAp6MM51KpjUaxrdWKAcp37KEz2XRqg", "fee": 1500000, "feeAssetId": null, "timestamp": 1570202143228, "version": 1, "sender": "3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2", "senderPublicKey": "8y2Uc9uYf5gRD6Dzm1aC73zYe3LZvtVDUVAnAhNdN2mg", "proofs": [ "2RnNda72bAL3a4up56JiYqKM7UC68HKfkZf845dXYM91QJyruLhPbUkC3bZ1AAiznPncuuBEBfhBMbirXwZrTahy" ], "script": "base64:AAIDAAAAAAAAAD8IARIDCgEIEgMKAQgSBQoDAQEIEgQKAggBEgQKAggIEgQKAggBEgMKAQgSAwoBCBIECgIICBIDCgEIEgMKAQgAAAAkAAAAAANkYXkAAAAAAAAABaAAAAAABVdBVkVTBQAAAAR1bml0AAAAAAR3QlRDAQAAACBs+mr/xe2qjAt/tSqT0qIML4KC23R6BIxT+/0TH3Og/wAAAAAEd0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABHdVU0QBAAAAIN0cvQHwz3UFMHgHsqi2OJjRRd1cH7ozWuNAb/pmWXD9AAAAAAlzdGF0ZU9wZW4CAAAABk9wZW5lZAAAAAAOc3RhdGVTdWdnZXN0ZWQCAAAACVN1Z2dlc3RlZAAAAAALc3RhdGVDYW5jZWwCAAAACENhbmNlbGVkAAAAAA9zdGF0ZUluUHJvZ3Jlc3MCAAAACkluUHJvZ3Jlc3MAAAAAEXN0YXRlV2FpdDRDb25maXJtAgAAABNXYWl0Rm9yQ29uZmlybWF0aW9uAAAAAA1zdGF0ZUNvbXBsZXRlAgAAAAlDb21wbGV0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y3Rpb25Bc3NldElkNTgFAAAAA25pbAkAAAIAAAABCQABLAAAAAICAAAAGkluY29ycmVjdCBzdGF0ZS4gTXVzdCBiZTogBQAAABFzdGF0ZVdhaXQ0Q29uZmlybQkAAAIAAAABAgAAACtPbmx5IGF1Y3Rpb24gY3VzdG9tZXIgY2FuIHVzZSB0aGlzIGZ1bmN0aW9uAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAA3N0eAUAAAAHJG1hdGNoMAYHB9GMkMo=", "chainId": 84, "height": 705167, "spentComplexity": 0 } View: original | compacted Prev: C6w8hyP6SH3cQpkbtTmBKK5c9TuxXkRbtkJzzWWRqpbv Next: DQF1ckC5oYxqfejNucHLwk5vZAuAbVyYaf6zeFwWZo8o Diff:
OldNewDifferences
2727
2828 let stateDisputeResolved = "DisputeResolved"
2929
30-let client = "CMR"
30+let client = "CL"
3131
3232 let freelancer = "FL"
3333
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let day = 1440
55
66 let WAVES = unit
77
88 let wBTC = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
99
1010 let wEUR = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU'
1111
1212 let wUSD = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck'
1313
1414 let stateOpen = "Opened"
1515
1616 let stateSuggested = "Suggested"
1717
1818 let stateCancel = "Canceled"
1919
2020 let stateInProgress = "InProgress"
2121
2222 let stateWait4Confirm = "WaitForConfirmation"
2323
2424 let stateComplete = "Completed"
2525
2626 let stateDispute = "Dispute"
2727
2828 let stateDisputeResolved = "DisputeResolved"
2929
30-let client = "CMR"
30+let client = "CL"
3131
3232 let freelancer = "FL"
3333
3434 let ambassador1 = base58'1'
3535
3636 let ambassador2 = base58'1'
3737
3838 let ambassador3 = base58'1'
3939
4040 let ambassador4 = base58'1'
4141
4242 let ambassador5 = base58'1'
4343
4444 func AuctionIdDataKey (auctionId) = (auctionId + "_AuctionData")
4545
4646
4747 func AssetNameToBase58 (auctionAssetName) = if ((auctionAssetName == "WAVES"))
4848 then WAVES
4949 else if ((auctionAssetName == "BTC"))
5050 then wBTC
5151 else if ((auctionAssetName == "EUR"))
5252 then wEUR
5353 else if ((auctionAssetName == "USD"))
5454 then wUSD
5555 else throw("Incorrect Asset Id")
5656
5757
5858 func timeCheck (currentTime,startTime,expirationTime) = ((currentTime - startTime) > expirationTime)
5959
6060
6161 func bidAmountCheck (amount,auctionPrice) = if ((amount > auctionPrice))
6262 then throw("Bid amount must be lower or equal than auctionPrice")
6363 else amount
6464
6565
6666 func increaseFreezedBalance (pmtAssetName,auctionPrice) = {
6767 let keyFreezedFunds = getInteger(this, (pmtAssetName + "_Freezed"))
6868 let currentFreezedBalance = match keyFreezedFunds {
6969 case a: Int =>
7070 a
7171 case _ =>
7272 0
7373 }
7474 (currentFreezedBalance + auctionPrice)
7575 }
7676
7777
7878 func decreaseFreezedBalance (pmtAssetName,auctionPrice) = {
7979 let keyFreezedFunds = getInteger(this, (pmtAssetName + "_Freezed"))
8080 let currentFreezedBalance = match keyFreezedFunds {
8181 case a: Int =>
8282 a
8383 case _ =>
8484 0
8585 }
8686 let a = (currentFreezedBalance - auctionPrice)
8787 if ((a >= 0))
8888 then a
8989 else throw("Freezed amount couldn't be less than 0")
9090 }
9191
9292
9393 func freelancerIsRegistered (callerPub) = {
9494 let freelancerIsRegistered = getString(this, (callerPub + "_Freelancer"))
9595 match freelancerIsRegistered {
9696 case a: String =>
9797 callerPub
9898 case _ =>
9999 throw("Only registered users can make bets")
100100 }
101101 }
102102
103103
104104 func createAuctionPriceCheck (pmtAmount) = if ((pmtAmount > 0))
105105 then pmtAmount
106106 else throw("Amount must be higher then 0")
107107
108108
109109 func getAuctionState (auctionId) = {
110110 let valueState = getString(this, (auctionId + "_State"))
111111 match valueState {
112112 case a: String =>
113113 a
114114 case _ =>
115115 throw("Auction State was not found")
116116 }
117117 }
118118
119119
120120 func getAuctionClientPub (auctionId) = {
121121 let valueClient = getString(this, (auctionId + "_AuctionClient"))
122122 let a = match valueClient {
123123 case a: String =>
124124 a
125125 case _ =>
126126 throw("Auction Client was not found")
127127 }
128128 fromBase58String(a)
129129 }
130130
131131
132132 func getAuctionStartTime (auctionId) = {
133133 let valueAuctionStart = getInteger(this, (auctionId + "_AuctionStart"))
134134 match valueAuctionStart {
135135 case a: Int =>
136136 a
137137 case _ =>
138138 throw("Auction Start time was not found")
139139 }
140140 }
141141
142142
143143 func getAuctionDurationTime (auctionId) = {
144144 let valueauctionDuration = getInteger(this, (auctionId + "_AuctionDuration"))
145145 match valueauctionDuration {
146146 case a: Int =>
147147 a
148148 case _ =>
149149 throw("Auction duration time was not found")
150150 }
151151 }
152152
153153
154154 func getAuctionJobPerformanceTime (auctionId) = {
155155 let valueBlocksForExecution = getInteger(this, (auctionId + "_JobPerformance"))
156156 match valueBlocksForExecution {
157157 case a: Int =>
158158 a
159159 case _ =>
160160 throw("Auction job performance time was not found")
161161 }
162162 }
163163
164164
165165 func getAuctionAssetName (auctionId) = {
166166 let valueAssetName = getString(this, (auctionId + "_AssetName"))
167167 match valueAssetName {
168168 case a: String =>
169169 a
170170 case _ =>
171171 throw("Auction asset name was not found")
172172 }
173173 }
174174
175175
176176 func getAuctionPrice (auctionId) = {
177177 let valuePrice = getInteger(this, (auctionId + "_Price"))
178178 match valuePrice {
179179 case a: Int =>
180180 a
181181 case _ =>
182182 throw("Auction price was not found")
183183 }
184184 }
185185
186186
187187 func getAuctionFreelancerPub (auctionId) = {
188188 let valueClient = getString(this, (auctionId + "_HiredFreelancer"))
189189 let a = match valueClient {
190190 case a: String =>
191191 a
192192 case _ =>
193193 throw("Auction Client was not found")
194194 }
195195 fromBase58String(a)
196196 }
197197
198198
199199 @Callable(i)
200200 func freelancerSignUp (info) = {
201201 let userPublicKey = toBase58String(i.callerPublicKey)
202202 let alreadyRegistered = getString(this, (userPublicKey + "_Freelancer"))
203203 if (isDefined(alreadyRegistered))
204204 then throw("User already registered")
205205 else WriteSet([DataEntry((userPublicKey + "_Freelancer"), info)])
206206 }
207207
208208
209209
210210 @Callable(i)
211211 func clientSignUp (info) = {
212212 let userPublicKey = toBase58String(i.callerPublicKey)
213213 let alreadyRegistered = getString(this, (userPublicKey + "_Client"))
214214 if (isDefined(alreadyRegistered))
215215 then throw("User already registered")
216216 else WriteSet([DataEntry((userPublicKey + "_Client"), info)])
217217 }
218218
219219
220220
221221 @Callable(i)
222222 func createAuction (jobExecutionDays,auctionDurationDays,auctionInfo) = {
223223 let auctionId = toBase58String(i.transactionId)
224224 let auctionClient = toBase58String(i.callerPublicKey)
225225 let pmt = extract(i.payment)
226226 let pmtAmount = pmt.amount
227227 let auctionPrice = createAuctionPriceCheck(pmtAmount)
228228 let auctionStart = height
229229 let auctionDurationBlocks = (auctionDurationDays * day)
230230 let blocksForExecution = (jobExecutionDays * day)
231231 let pmtAssetName = if (!(isDefined(pmt.assetId)))
232232 then "WAVES"
233233 else if ((pmt.assetId == wBTC))
234234 then "BTC"
235235 else if ((pmt.assetId == wEUR))
236236 then "EUR"
237237 else if ((pmt.assetId == wUSD))
238238 then "USD"
239239 else throw("AssetId is incorrect")
240240 let newFreezedBalance = increaseFreezedBalance(pmtAssetName, auctionPrice)
241241 WriteSet([DataEntry((auctionId + "_State"), stateOpen), DataEntry((auctionId + "_Info"), auctionInfo), DataEntry((auctionId + "_AuctionClient"), auctionClient), DataEntry((auctionId + "_AuctionStart"), auctionStart), DataEntry((auctionId + "_AuctionDuration"), auctionDurationBlocks), DataEntry((auctionId + "_JobPerformance"), blocksForExecution), DataEntry((auctionId + "_AssetName"), pmtAssetName), DataEntry((auctionId + "_Price"), auctionPrice), DataEntry((pmtAssetName + "_Freezed"), newFreezedBalance)])
242242 }
243243
244244
245245
246246 @Callable(i)
247247 func makeBid (auctionId,amount) = {
248248 let callerPub = toBase58String(i.callerPublicKey)
249249 let betTime = height
250250 let auctionState = getAuctionState(auctionId)
251251 let auctionClient = getAuctionClientPub(auctionId)
252252 let auctionStart = getAuctionStartTime(auctionId)
253253 let auctionDuration = getAuctionDurationTime(auctionId)
254254 let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId)
255255 let auctionAssetName = getAuctionAssetName(auctionId)
256256 let auctionPrice = getAuctionPrice(auctionId)
257257 let auctionAssetId58 = AssetNameToBase58(auctionAssetName)
258258 let newFreelancer = freelancerIsRegistered(callerPub)
259259 let dAppCommission = ((auctionPrice * 3) / 100)
260260 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
261261 let bidAmount = bidAmountCheck(amount, auctionPrice)
262262 let auctionTimeisOver = timeCheck(betTime, auctionStart, auctionDuration)
263263 if (auctionTimeisOver)
264264 then if ((auctionState == stateOpen))
265265 then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), (auctionPrice - dAppCommission), auctionAssetId58)]))
266266 else if ((auctionState == stateSuggested))
267267 then {
268268 let auctionLowestBidder = {
269269 let valueLowestBidder = getString(this, (auctionId + "_LowestBidderPub"))
270270 match valueLowestBidder {
271271 case a: String =>
272272 a
273273 case _ =>
274274 throw("Auction lowest bidder was not found")
275275 }
276276 }
277277 let newAuctionPrice = {
278278 let valueNewAuctionPrice = getInteger(this, ((auctionId + "_Bid_") + auctionLowestBidder))
279279 match valueNewAuctionPrice {
280280 case a: Int =>
281281 a
282282 case _ =>
283283 throw("Auction lowest bid was not found")
284284 }
285285 }
286286 let amountDifference = ((auctionPrice - newAuctionPrice) - dAppCommission)
287287 ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), auctionLowestBidder), DataEntry((auctionId + "_Price"), newAuctionPrice)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountDifference, auctionAssetId58)]))
288288 }
289289 else throw("Incorrect auction state")
290290 else if ((auctionState == stateOpen))
291291 then WriteSet([DataEntry(((auctionId + "_Bid_") + newFreelancer), bidAmount), DataEntry((auctionId + "_State"), stateSuggested), DataEntry((auctionId + "_LowestBidderPub"), callerPub)])
292292 else if ((auctionState == stateSuggested))
293293 then {
294294 let currentLowestBidderPub = {
295295 let lowestBidder = getString(this, (auctionId + "_LowestBidderPub"))
296296 match lowestBidder {
297297 case a: String =>
298298 a
299299 case _ =>
300300 throw("Auction lowest bidder was not found")
301301 }
302302 }
303303 let newLowestBidderPub = {
304304 let valueCurrentLowestBid = getInteger(this, ((auctionId + "_Bid_") + currentLowestBidderPub))
305305 let currentLowestBid = match valueCurrentLowestBid {
306306 case a: Int =>
307307 a
308308 case _ =>
309309 throw("Auction lowest bid was not found")
310310 }
311311 if ((currentLowestBid > bidAmount))
312312 then newFreelancer
313313 else currentLowestBidderPub
314314 }
315315 WriteSet([DataEntry((auctionId + "_LowestBidderPub"), newLowestBidderPub), DataEntry(((auctionId + "_Bid_") + newFreelancer), bidAmount)])
316316 }
317317 else throw(((((("Incorrect jobId state. Now: " + auctionState) + ", must be: ") + stateOpen) + " or ") + stateSuggested))
318318 }
319319
320320
321321
322322 @Callable(i)
323323 func chooseFreelancer (auctionId,freelancerPub) = {
324324 let callerPub = extract(i.callerPublicKey)
325325 let betTime = height
326326 let auctionState = getAuctionState(auctionId)
327327 let auctionClient = getAuctionClientPub(auctionId)
328328 let auctionStart = getAuctionStartTime(auctionId)
329329 let auctionDuration = getAuctionDurationTime(auctionId)
330330 let auctionAssetName = getAuctionAssetName(auctionId)
331331 let auctionPrice = getAuctionPrice(auctionId)
332332 let auctionAssetId58 = AssetNameToBase58(auctionAssetName)
333333 let freelancerBidAmount = {
334334 let keyFreelancerBid = ((auctionId + "_Bid_") + freelancerPub)
335335 let valueFreelacerBid = getInteger(this, keyFreelancerBid)
336336 match valueFreelacerBid {
337337 case a: Int =>
338338 a
339339 case _ =>
340340 throw("Freelancer's bet was not found")
341341 }
342342 }
343343 let auctionTimeisOver = timeCheck(betTime, auctionStart, auctionDuration)
344344 if ((callerPub == auctionClient))
345345 then if (auctionTimeisOver)
346346 then if ((auctionState == stateOpen))
347347 then {
348348 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
349349 let dAppCommission = ((auctionPrice * 3) / 100)
350350 ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), (auctionPrice - dAppCommission), auctionAssetId58)]))
351351 }
352352 else if ((auctionState == stateSuggested))
353353 then {
354354 let auctionLowestBidder = {
355355 let valueLowestBidder = getString(this, (auctionId + "_LowestBidderPub"))
356356 match valueLowestBidder {
357357 case a: String =>
358358 a
359359 case _ =>
360360 throw("Auction lowest bidder was not found")
361361 }
362362 }
363363 let newAuctionPrice = {
364364 let valueNewAuctionPrice = getInteger(this, ((auctionId + "_Bid_") + auctionLowestBidder))
365365 match valueNewAuctionPrice {
366366 case a: Int =>
367367 a
368368 case _ =>
369369 throw("Auction lowest bid was not found")
370370 }
371371 }
372372 let amountDifference = (auctionPrice - newAuctionPrice)
373373 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, amountDifference)
374374 ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), auctionLowestBidder), DataEntry((auctionId + "_Price"), newAuctionPrice), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountDifference, auctionAssetId58)]))
375375 }
376376 else throw("Incorrect auction state")
377377 else {
378378 let setNewFreelancer = {
379379 let newFreelancer = getInteger(this, ((auctionId + "_Bid_") + freelancerPub))
380380 match newFreelancer {
381381 case a: Int =>
382382 freelancerPub
383383 case _ =>
384384 throw("Error: Incorrect freelancerPub")
385385 }
386386 }
387387 let newAuctionPrice = {
388388 let freelancerBid = getInteger(this, ((auctionId + "_Bid_") + freelancerPub))
389389 match freelancerBid {
390390 case a: Int =>
391391 a
392392 case _ =>
393393 throw("Auction lowest bidder was not found")
394394 }
395395 }
396396 let amountDifference = (auctionPrice - freelancerBidAmount)
397397 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, amountDifference)
398398 ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), setNewFreelancer), DataEntry((auctionId + "_Price"), newAuctionPrice), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), (amountDifference + 1), auctionAssetId58)]))
399399 }
400400 else throw("Only auction customer can choose a freelancer")
401401 }
402402
403403
404404
405405 @Callable(i)
406406 func increaseExecutionTime (auctionId,executionDays) = {
407407 let caller = extract(i.callerPublicKey)
408408 let auctionState = getAuctionState(auctionId)
409409 let auctionClient = getAuctionClientPub(auctionId)
410410 let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId)
411411 let newAuctionExecutionTime = {
412412 let newAuctionBlocksForExecution = (executionDays * day)
413413 if ((newAuctionBlocksForExecution > auctionBlocksForExecution))
414414 then newAuctionBlocksForExecution
415415 else throw("New execution time must more than current execution time")
416416 }
417417 if ((caller == auctionClient))
418418 then if (if (if ((auctionState == stateOpen))
419419 then true
420420 else (auctionState == stateSuggested))
421421 then true
422422 else (auctionState == stateInProgress))
423423 then WriteSet([DataEntry((auctionId + "_JobPerformance"), newAuctionExecutionTime)])
424424 else throw("Incorrect state")
425425 else throw("Only Client can increase execution time")
426426 }
427427
428428
429429
430430 @Callable(i)
431431 func cancelAuction (auctionId) = {
432432 let callerPub = extract(i.callerPublicKey)
433433 let auctionState = getAuctionState(auctionId)
434434 let auctionClient = getAuctionClientPub(auctionId)
435435 let auctionAssetName = getAuctionAssetName(auctionId)
436436 let auctionPrice = getAuctionPrice(auctionId)
437437 let auctionAssetId58 = AssetNameToBase58(auctionAssetName)
438438 let dAppCommission = ((auctionPrice * 3) / 100)
439439 let amountWithoutComm = (auctionPrice - dAppCommission)
440440 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
441441 let callerIsClient = if ((callerPub == auctionClient))
442442 then true
443443 else throw("Auction can be canceled only by auction owner.")
444444 if (callerIsClient)
445445 then if ((auctionState == stateOpen))
446446 then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountWithoutComm, auctionAssetId58)]))
447447 else throw("Incorrect auction state.")
448448 else throw("Only Client can cancel auction")
449449 }
450450
451451
452452
453453 @Callable(i)
454454 func openDispute (auctionId) = {
455455 let caller = extract(i.callerPublicKey)
456456 let auctionState = getAuctionState(auctionId)
457457 let auctionClient = getAuctionClientPub(auctionId)
458458 let auctionFreelancer = getAuctionFreelancerPub(auctionId)
459459 if (if ((auctionState == stateOpen))
460460 then true
461461 else (auctionState == stateSuggested))
462462 then throw("Incorrect auction state for dispute opening")
463463 else if (if ((caller == auctionClient))
464464 then true
465465 else (caller == auctionFreelancer))
466466 then WriteSet([DataEntry((auctionId + "_State"), stateDispute), DataEntry((auctionId + "_DisputeVotes"), 0)])
467467 else throw("Only customer and freelancer can open dispute")
468468 }
469469
470470
471471
472472 @Callable(i)
473473 func voteDispute (auctionId,vote) = {
474474 let callerPub = extract(i.callerPublicKey)
475475 let auctionState = getAuctionState(auctionId)
476476 let auctionClient = getAuctionClientPub(auctionId)
477477 let auctionAssetName = getAuctionAssetName(auctionId)
478478 let auctionPrice = getAuctionPrice(auctionId)
479479 let auctionFreelancer = getAuctionFreelancerPub(auctionId)
480480 let commission = ((auctionPrice * 3) / 100)
481481 let auctionAssetId58 = AssetNameToBase58(auctionAssetName)
482482 let callerIsAmbassador = if (if (if (if (if ((callerPub == ambassador1))
483483 then true
484484 else (callerPub == ambassador2))
485485 then true
486486 else (callerPub == ambassador3))
487487 then true
488488 else (callerPub == ambassador4))
489489 then true
490490 else (callerPub == ambassador5))
491491 then toBase58String(callerPub)
492492 else throw("Only defined ambassadors can vote in disputes")
493493 let newVote = if (if ((vote == client))
494494 then true
495495 else (vote == freelancer))
496496 then vote
497497 else throw(((("Vote is incorrect. Must be: " + client) + " or ") + freelancer))
498498 let newVoter = {
499499 let keyVoter = ((auctionId + "_DiputeVote_") + callerIsAmbassador)
500500 let valueVoter = getString(this, keyVoter)
501501 match valueVoter {
502502 case a: String =>
503503 throw("User already voted")
504504 case _ =>
505505 callerIsAmbassador
506506 }
507507 }
508508 let votesNumber = {
509509 let valueVotesNumber = getInteger(this, (auctionId + "_DisputeVotes"))
510510 match valueVotesNumber {
511511 case a: Int =>
512512 a
513513 case _ =>
514514 throw("VotesNumber was not found")
515515 }
516516 }
517517 if ((auctionState == stateDispute))
518518 then if ((votesNumber == 4))
519519 then {
520520 let disputeWinner = {
521521 let ambassador1Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador1)))
522522 let ambassador2Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador2)))
523523 let ambassador3Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador3)))
524524 let ambassador4Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador4)))
525525 let ambassador5Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador5)))
526526 let v1 = if ((ambassador1Vote == client))
527527 then 1
528528 else 0
529529 let v2 = if ((ambassador2Vote == client))
530530 then 1
531531 else 0
532532 let v3 = if ((ambassador3Vote == client))
533533 then 1
534534 else 0
535535 let v4 = if ((ambassador4Vote == client))
536536 then 1
537537 else 0
538538 let v5 = if ((ambassador5Vote == client))
539539 then 1
540540 else 0
541541 let currentVote = if ((newVote == client))
542542 then 1
543543 else 0
544544 let votesForClient = (((((v1 + v2) + v3) + v4) + v5) + currentVote)
545545 if ((votesForClient > 2))
546546 then auctionClient
547547 else auctionFreelancer
548548 }
549549 let paymentWithoutComm = if ((disputeWinner == auctionClient))
550550 then (auctionPrice - commission)
551551 else (auctionPrice - (commission * 2))
552552 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
553553 ScriptResult(WriteSet([DataEntry((auctionId + "_DisputeVotes"), (votesNumber + 1)), DataEntry((auctionId + "_State"), stateDisputeResolved), DataEntry(((auctionId + "_DiputeVote_") + callerIsAmbassador), newVote), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(disputeWinner), paymentWithoutComm, auctionAssetId58)]))
554554 }
555555 else WriteSet([DataEntry((auctionId + "_DisputeVotes"), (votesNumber + 1)), DataEntry(((auctionId + "_DiputeVote_") + callerIsAmbassador), newVote)])
556556 else throw(("Incorrect state. Must be: " + stateDispute))
557557 }
558558
559559
560560
561561 @Callable(i)
562562 func workHandOver (auctionId) = {
563563 let callerPub = extract(i.callerPublicKey)
564564 let auctionState = getAuctionState(auctionId)
565565 let auctionStart = getAuctionStartTime(auctionId)
566566 let auctionDuration = getAuctionDurationTime(auctionId)
567567 let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId)
568568 let auctionFreelancer = getAuctionFreelancerPub(auctionId)
569569 let currentTime = height
570570 let freelancerPubCheck = if ((callerPub == auctionFreelancer))
571571 then callerPub
572572 else throw("Only a freelancer can indicate that the work is done")
573573 let timeIsOver = ((currentTime - auctionStart) > auctionBlocksForExecution)
574574 if ((auctionState == stateInProgress))
575575 then if (timeIsOver)
576576 then WriteSet([DataEntry((auctionId + "_State"), stateDispute), DataEntry((auctionId + "_DisputeVotes"), "0")])
577577 else WriteSet([DataEntry((auctionId + "_State"), stateWait4Confirm)])
578578 else throw("Auction state is incorrect")
579579 }
580580
581581
582582
583583 @Callable(i)
584584 func acceptWork (auctionId) = {
585585 let callerPub = extract(i.callerPublicKey)
586586 let auctionState = getAuctionState(auctionId)
587587 let auctionClient = getAuctionClientPub(auctionId)
588588 let auctionStart = getAuctionStartTime(auctionId)
589589 let auctionDuration = getAuctionDurationTime(auctionId)
590590 let auctionAssetName = getAuctionAssetName(auctionId)
591591 let auctionPrice = getAuctionPrice(auctionId)
592592 let auctionFreelancer = getAuctionFreelancerPub(auctionId)
593593 let dAppCommission = ((auctionPrice * 3) / 100)
594594 let amountWithoutComm = (auctionPrice - dAppCommission)
595595 let auctionAssetId58 = AssetNameToBase58(auctionAssetName)
596596 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
597597 let newRating = {
598598 let valueRating = getInteger(this, (toBase58String(auctionFreelancer) + "_Rating"))
599599 let currentRating = match valueRating {
600600 case a: Int =>
601601 a
602602 case _ =>
603603 0
604604 }
605605 (currentRating + 1)
606606 }
607607 if ((callerPub == auctionClient))
608608 then if ((auctionState == stateWait4Confirm))
609609 then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateComplete), DataEntry((toBase58String(auctionFreelancer) + "_Rating"), newRating), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionFreelancer), amountWithoutComm, auctionAssetId58)]))
610610 else throw(("Incorrect state. Must be: " + stateWait4Confirm))
611611 else throw("Only auction customer can use this function")
612612 }
613613
614614
615615 @Verifier(tx)
616616 func verify () = if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey))
617617 then match tx {
618618 case ttx: TransferTransaction =>
619619 true
620620 case stx: SetScriptTransaction =>
621621 true
622622 case _ =>
623623 false
624624 }
625625 else false
626626

github/deemru/w8io/026f985 
103.71 ms