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

github/deemru/w8io/026f985 
68.01 ms