tx · C6w8hyP6SH3cQpkbtTmBKK5c9TuxXkRbtkJzzWWRqpbv

3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2:  -0.01500000 Waves

2019.10.04 14:23 [704911] smart account 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2 > SELF 0.00000000 Waves

{ "type": 13, "id": "C6w8hyP6SH3cQpkbtTmBKK5c9TuxXkRbtkJzzWWRqpbv", "fee": 1500000, "feeAssetId": null, "timestamp": 1570188235850, "version": 1, "sender": "3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2", "senderPublicKey": "8y2Uc9uYf5gRD6Dzm1aC73zYe3LZvtVDUVAnAhNdN2mg", "proofs": [ "4EyMw43fLUKupnt11uEVnm3QCyfgbcMB9a77ZVD3cWzW5Ak8SX493weq8AKucmUVmLjVWTBmnRSX9JB6nAvhbaF4" ], "script": "base64:AAIDAAAAAAAAAD8IARIDCgEIEgMKAQgSBQoDAQEIEgQKAggBEgQKAggIEgQKAggBEgMKAQgSAwoBCBIECgIICBIDCgEIEgMKAQgAAAAkAAAAAANkYXkAAAAAAAAABaAAAAAABVdBVkVTBQAAAAR1bml0AAAAAAR3QlRDAQAAACBs+mr/xe2qjAt/tSqT0qIML4KC23R6BIxT+/0TH3Og/wAAAAAEd0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABHdVU0QBAAAAIN0cvQHwz3UFMHgHsqi2OJjRRd1cH7ozWuNAb/pmWXD9AAAAAAlzdGF0ZU9wZW4CAAAABk9wZW5lZAAAAAAOc3RhdGVTdWdnZXN0ZWQCAAAACVN1Z2dlc3RlZAAAAAALc3RhdGVDYW5jZWwCAAAACENhbmNlbGVkAAAAAA9zdGF0ZUluUHJvZ3Jlc3MCAAAACkluUHJvZ3Jlc3MAAAAAEXN0YXRlV2FpdDRDb25maXJtAgAAABNXYWl0Rm9yQ29uZmlybWF0aW9uAAAAAA1zdGF0ZUNvbXBsZXRlAgAAA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BAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAARYXVjdGlvbkZyZWVsYW5jZXIFAAAAEWFtb3VudFdpdGhvdXRDb21tBQAAABBhdWN0aW9uQXNzZXRJZDU4BQAAAANuaWwJAAACAAAAAQkAASwAAAACAgAAABpJbmNvcnJlY3Qgc3RhdGUuIE11c3QgYmU6IAUAAAARc3RhdGVXYWl0NENvbmZpcm0JAAACAAAAAQIAAAArT25seSBhdWN0aW9uIGN1c3RvbWVyIGNhbiB1c2UgdGhpcyBmdW5jdGlvbgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAADCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAA3R0eAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAANzdHgFAAAAByRtYXRjaDAGBwdkAuMR", "chainId": 84, "height": 704911, "spentComplexity": 0 } View: original | compacted Prev: G6XrdpuPoXrMGiysYoYPG92eSn1A33JJ3Bk4UHeYA7fr Next: FDcMfpAQ1jF39uAp6MM51KpjUaxrdWKAcp37KEz2XRqg Diff:
OldNewDifferences
5656
5757
5858 func timeCheck (currentTime,startTime,expirationTime) = ((currentTime - startTime) > expirationTime)
59+
60+
61+func bidAmountCheck (amount,auctionPrice) = if ((amount > auctionPrice))
62+ then throw("Bid amount must be lower or equal than auctionPrice")
63+ else amount
5964
6065
6166 func increaseFreezedBalance (pmtAssetName,auctionPrice) = {
239244
240245
241246 @Callable(i)
242-func makeBid (auctionId,betPrice) = {
247+func makeBid (auctionId,amount) = {
243248 let callerPub = toBase58String(i.callerPublicKey)
244249 let betTime = height
245250 let auctionState = getAuctionState(auctionId)
253258 let newFreelancer = freelancerIsRegistered(callerPub)
254259 let dAppCommission = ((auctionPrice * 3) / 100)
255260 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
261+ let bidAmount = bidAmountCheck(amount, auctionPrice)
256262 let auctionTimeisOver = timeCheck(betTime, auctionStart, auctionDuration)
257263 if (auctionTimeisOver)
258264 then if ((auctionState == stateOpen))
282288 }
283289 else throw("Incorrect auction state")
284290 else if ((auctionState == stateOpen))
285- then WriteSet([DataEntry(((auctionId + "_Bid_") + newFreelancer), betPrice), DataEntry((auctionId + "_State"), stateSuggested), DataEntry((auctionId + "_LowestBidderPub"), callerPub)])
291+ then WriteSet([DataEntry(((auctionId + "_Bid_") + newFreelancer), bidAmount), DataEntry((auctionId + "_State"), stateSuggested), DataEntry((auctionId + "_LowestBidderPub"), callerPub)])
286292 else if ((auctionState == stateSuggested))
287293 then {
288294 let currentLowestBidderPub = {
302308 case _ =>
303309 throw("Auction lowest bid was not found")
304310 }
305- if ((currentLowestBid > betPrice))
311+ if ((currentLowestBid > bidAmount))
306312 then newFreelancer
307313 else currentLowestBidderPub
308314 }
309- WriteSet([DataEntry((auctionId + "_LowestBidderPub"), newLowestBidderPub), DataEntry(((auctionId + "_Bid_") + newFreelancer), betPrice)])
315+ WriteSet([DataEntry((auctionId + "_LowestBidderPub"), newLowestBidderPub), DataEntry(((auctionId + "_Bid_") + newFreelancer), bidAmount)])
310316 }
311317 else throw(((((("Incorrect jobId state. Now: " + auctionState) + ", must be: ") + stateOpen) + " or ") + stateSuggested))
312318 }
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
3030 let client = "CMR"
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)
59+
60+
61+func bidAmountCheck (amount,auctionPrice) = if ((amount > auctionPrice))
62+ then throw("Bid amount must be lower or equal than auctionPrice")
63+ else amount
5964
6065
6166 func increaseFreezedBalance (pmtAssetName,auctionPrice) = {
6267 let keyFreezedFunds = getInteger(this, (pmtAssetName + "_Freezed"))
6368 let currentFreezedBalance = match keyFreezedFunds {
6469 case a: Int =>
6570 a
6671 case _ =>
6772 0
6873 }
6974 (currentFreezedBalance + auctionPrice)
7075 }
7176
7277
7378 func decreaseFreezedBalance (pmtAssetName,auctionPrice) = {
7479 let keyFreezedFunds = getInteger(this, (pmtAssetName + "_Freezed"))
7580 let currentFreezedBalance = match keyFreezedFunds {
7681 case a: Int =>
7782 a
7883 case _ =>
7984 0
8085 }
8186 let a = (currentFreezedBalance - auctionPrice)
8287 if ((a >= 0))
8388 then a
8489 else throw("Freezed amount couldn't be less than 0")
8590 }
8691
8792
8893 func freelancerIsRegistered (callerPub) = {
8994 let freelancerIsRegistered = getString(this, (callerPub + "_Freelancer"))
9095 match freelancerIsRegistered {
9196 case a: String =>
9297 callerPub
9398 case _ =>
9499 throw("Only registered users can make bets")
95100 }
96101 }
97102
98103
99104 func createAuctionPriceCheck (pmtAmount) = if ((pmtAmount > 0))
100105 then pmtAmount
101106 else throw("Amount must be higher then 0")
102107
103108
104109 func getAuctionState (auctionId) = {
105110 let valueState = getString(this, (auctionId + "_State"))
106111 match valueState {
107112 case a: String =>
108113 a
109114 case _ =>
110115 throw("Auction State was not found")
111116 }
112117 }
113118
114119
115120 func getAuctionClientPub (auctionId) = {
116121 let valueClient = getString(this, (auctionId + "_AuctionClient"))
117122 let a = match valueClient {
118123 case a: String =>
119124 a
120125 case _ =>
121126 throw("Auction Client was not found")
122127 }
123128 fromBase58String(a)
124129 }
125130
126131
127132 func getAuctionStartTime (auctionId) = {
128133 let valueAuctionStart = getInteger(this, (auctionId + "_AuctionStart"))
129134 match valueAuctionStart {
130135 case a: Int =>
131136 a
132137 case _ =>
133138 throw("Auction Start time was not found")
134139 }
135140 }
136141
137142
138143 func getAuctionDurationTime (auctionId) = {
139144 let valueauctionDuration = getInteger(this, (auctionId + "_AuctionDuration"))
140145 match valueauctionDuration {
141146 case a: Int =>
142147 a
143148 case _ =>
144149 throw("Auction duration time was not found")
145150 }
146151 }
147152
148153
149154 func getAuctionJobPerformanceTime (auctionId) = {
150155 let valueBlocksForExecution = getInteger(this, (auctionId + "_JobPerformance"))
151156 match valueBlocksForExecution {
152157 case a: Int =>
153158 a
154159 case _ =>
155160 throw("Auction job performance time was not found")
156161 }
157162 }
158163
159164
160165 func getAuctionAssetName (auctionId) = {
161166 let valueAssetName = getString(this, (auctionId + "_AssetName"))
162167 match valueAssetName {
163168 case a: String =>
164169 a
165170 case _ =>
166171 throw("Auction asset name was not found")
167172 }
168173 }
169174
170175
171176 func getAuctionPrice (auctionId) = {
172177 let valuePrice = getInteger(this, (auctionId + "_Price"))
173178 match valuePrice {
174179 case a: Int =>
175180 a
176181 case _ =>
177182 throw("Auction price was not found")
178183 }
179184 }
180185
181186
182187 func getAuctionFreelancerPub (auctionId) = {
183188 let valueClient = getString(this, (auctionId + "_HiredFreelancer"))
184189 let a = match valueClient {
185190 case a: String =>
186191 a
187192 case _ =>
188193 throw("Auction Client was not found")
189194 }
190195 fromBase58String(a)
191196 }
192197
193198
194199 @Callable(i)
195200 func freelancerSignUp (info) = {
196201 let userPublicKey = toBase58String(i.callerPublicKey)
197202 let alreadyRegistered = getString(this, (userPublicKey + "_Freelancer"))
198203 if (isDefined(alreadyRegistered))
199204 then throw("User already registered")
200205 else WriteSet([DataEntry((userPublicKey + "_Freelancer"), info)])
201206 }
202207
203208
204209
205210 @Callable(i)
206211 func clientSignUp (info) = {
207212 let userPublicKey = toBase58String(i.callerPublicKey)
208213 let alreadyRegistered = getString(this, (userPublicKey + "_Client"))
209214 if (isDefined(alreadyRegistered))
210215 then throw("User already registered")
211216 else WriteSet([DataEntry((userPublicKey + "_Client"), info)])
212217 }
213218
214219
215220
216221 @Callable(i)
217222 func createAuction (jobExecutionDays,auctionDurationDays,auctionInfo) = {
218223 let auctionId = toBase58String(i.transactionId)
219224 let auctionClient = toBase58String(i.callerPublicKey)
220225 let pmt = extract(i.payment)
221226 let pmtAmount = pmt.amount
222227 let auctionPrice = createAuctionPriceCheck(pmtAmount)
223228 let auctionStart = height
224229 let auctionDurationBlocks = (auctionDurationDays * day)
225230 let blocksForExecution = (jobExecutionDays * day)
226231 let pmtAssetName = if (!(isDefined(pmt.assetId)))
227232 then "WAVES"
228233 else if ((pmt.assetId == wBTC))
229234 then "BTC"
230235 else if ((pmt.assetId == wEUR))
231236 then "EUR"
232237 else if ((pmt.assetId == wUSD))
233238 then "USD"
234239 else throw("AssetId is incorrect")
235240 let newFreezedBalance = increaseFreezedBalance(pmtAssetName, auctionPrice)
236241 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)])
237242 }
238243
239244
240245
241246 @Callable(i)
242-func makeBid (auctionId,betPrice) = {
247+func makeBid (auctionId,amount) = {
243248 let callerPub = toBase58String(i.callerPublicKey)
244249 let betTime = height
245250 let auctionState = getAuctionState(auctionId)
246251 let auctionClient = getAuctionClientPub(auctionId)
247252 let auctionStart = getAuctionStartTime(auctionId)
248253 let auctionDuration = getAuctionDurationTime(auctionId)
249254 let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId)
250255 let auctionAssetName = getAuctionAssetName(auctionId)
251256 let auctionPrice = getAuctionPrice(auctionId)
252257 let auctionAssetId58 = AssetNameToBase58(auctionAssetName)
253258 let newFreelancer = freelancerIsRegistered(callerPub)
254259 let dAppCommission = ((auctionPrice * 3) / 100)
255260 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
261+ let bidAmount = bidAmountCheck(amount, auctionPrice)
256262 let auctionTimeisOver = timeCheck(betTime, auctionStart, auctionDuration)
257263 if (auctionTimeisOver)
258264 then if ((auctionState == stateOpen))
259265 then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), (auctionPrice - dAppCommission), auctionAssetId58)]))
260266 else if ((auctionState == stateSuggested))
261267 then {
262268 let auctionLowestBidder = {
263269 let valueLowestBidder = getString(this, (auctionId + "_LowestBidderPub"))
264270 match valueLowestBidder {
265271 case a: String =>
266272 a
267273 case _ =>
268274 throw("Auction lowest bidder was not found")
269275 }
270276 }
271277 let newAuctionPrice = {
272278 let valueNewAuctionPrice = getInteger(this, ((auctionId + "_Bid_") + auctionLowestBidder))
273279 match valueNewAuctionPrice {
274280 case a: Int =>
275281 a
276282 case _ =>
277283 throw("Auction lowest bid was not found")
278284 }
279285 }
280286 let amountDifference = ((auctionPrice - newAuctionPrice) - dAppCommission)
281287 ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), auctionLowestBidder), DataEntry((auctionId + "_Price"), newAuctionPrice)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountDifference, auctionAssetId58)]))
282288 }
283289 else throw("Incorrect auction state")
284290 else if ((auctionState == stateOpen))
285- then WriteSet([DataEntry(((auctionId + "_Bid_") + newFreelancer), betPrice), DataEntry((auctionId + "_State"), stateSuggested), DataEntry((auctionId + "_LowestBidderPub"), callerPub)])
291+ then WriteSet([DataEntry(((auctionId + "_Bid_") + newFreelancer), bidAmount), DataEntry((auctionId + "_State"), stateSuggested), DataEntry((auctionId + "_LowestBidderPub"), callerPub)])
286292 else if ((auctionState == stateSuggested))
287293 then {
288294 let currentLowestBidderPub = {
289295 let lowestBidder = getString(this, (auctionId + "_LowestBidderPub"))
290296 match lowestBidder {
291297 case a: String =>
292298 a
293299 case _ =>
294300 throw("Auction lowest bidder was not found")
295301 }
296302 }
297303 let newLowestBidderPub = {
298304 let valueCurrentLowestBid = getInteger(this, ((auctionId + "_Bid_") + currentLowestBidderPub))
299305 let currentLowestBid = match valueCurrentLowestBid {
300306 case a: Int =>
301307 a
302308 case _ =>
303309 throw("Auction lowest bid was not found")
304310 }
305- if ((currentLowestBid > betPrice))
311+ if ((currentLowestBid > bidAmount))
306312 then newFreelancer
307313 else currentLowestBidderPub
308314 }
309- WriteSet([DataEntry((auctionId + "_LowestBidderPub"), newLowestBidderPub), DataEntry(((auctionId + "_Bid_") + newFreelancer), betPrice)])
315+ WriteSet([DataEntry((auctionId + "_LowestBidderPub"), newLowestBidderPub), DataEntry(((auctionId + "_Bid_") + newFreelancer), bidAmount)])
310316 }
311317 else throw(((((("Incorrect jobId state. Now: " + auctionState) + ", must be: ") + stateOpen) + " or ") + stateSuggested))
312318 }
313319
314320
315321
316322 @Callable(i)
317323 func chooseFreelancer (auctionId,freelancerPub) = {
318324 let callerPub = extract(i.callerPublicKey)
319325 let betTime = height
320326 let auctionState = getAuctionState(auctionId)
321327 let auctionClient = getAuctionClientPub(auctionId)
322328 let auctionStart = getAuctionStartTime(auctionId)
323329 let auctionDuration = getAuctionDurationTime(auctionId)
324330 let auctionAssetName = getAuctionAssetName(auctionId)
325331 let auctionPrice = getAuctionPrice(auctionId)
326332 let auctionAssetId58 = AssetNameToBase58(auctionAssetName)
327333 let freelancerBidAmount = {
328334 let keyFreelancerBid = ((auctionId + "_Bid_") + freelancerPub)
329335 let valueFreelacerBid = getInteger(this, keyFreelancerBid)
330336 match valueFreelacerBid {
331337 case a: Int =>
332338 a
333339 case _ =>
334340 throw("Freelancer's bet was not found")
335341 }
336342 }
337343 let auctionTimeisOver = timeCheck(betTime, auctionStart, auctionDuration)
338344 if ((callerPub == auctionClient))
339345 then if (auctionTimeisOver)
340346 then if ((auctionState == stateOpen))
341347 then {
342348 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
343349 let dAppCommission = ((auctionPrice * 3) / 100)
344350 ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), (auctionPrice - dAppCommission), auctionAssetId58)]))
345351 }
346352 else if ((auctionState == stateSuggested))
347353 then {
348354 let auctionLowestBidder = {
349355 let valueLowestBidder = getString(this, (auctionId + "_LowestBidderPub"))
350356 match valueLowestBidder {
351357 case a: String =>
352358 a
353359 case _ =>
354360 throw("Auction lowest bidder was not found")
355361 }
356362 }
357363 let newAuctionPrice = {
358364 let valueNewAuctionPrice = getInteger(this, ((auctionId + "_Bid_") + auctionLowestBidder))
359365 match valueNewAuctionPrice {
360366 case a: Int =>
361367 a
362368 case _ =>
363369 throw("Auction lowest bid was not found")
364370 }
365371 }
366372 let amountDifference = (auctionPrice - newAuctionPrice)
367373 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, amountDifference)
368374 ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), auctionLowestBidder), DataEntry((auctionId + "_Price"), newAuctionPrice), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountDifference, auctionAssetId58)]))
369375 }
370376 else throw("Incorrect auction state")
371377 else {
372378 let setNewFreelancer = {
373379 let newFreelancer = getInteger(this, ((auctionId + "_Bid_") + freelancerPub))
374380 match newFreelancer {
375381 case a: Int =>
376382 freelancerPub
377383 case _ =>
378384 throw("Error: Incorrect freelancerPub")
379385 }
380386 }
381387 let newAuctionPrice = {
382388 let freelancerBid = getInteger(this, ((auctionId + "_Bid_") + freelancerPub))
383389 match freelancerBid {
384390 case a: Int =>
385391 a
386392 case _ =>
387393 throw("Auction lowest bidder was not found")
388394 }
389395 }
390396 let amountDifference = (auctionPrice - freelancerBidAmount)
391397 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, amountDifference)
392398 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)]))
393399 }
394400 else throw("Only auction customer can choose a freelancer")
395401 }
396402
397403
398404
399405 @Callable(i)
400406 func increaseExecutionTime (auctionId,executionDays) = {
401407 let caller = extract(i.callerPublicKey)
402408 let auctionState = getAuctionState(auctionId)
403409 let auctionClient = getAuctionClientPub(auctionId)
404410 let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId)
405411 let newAuctionExecutionTime = {
406412 let newAuctionBlocksForExecution = (executionDays * day)
407413 if ((newAuctionBlocksForExecution > auctionBlocksForExecution))
408414 then newAuctionBlocksForExecution
409415 else throw("New execution time must more than current execution time")
410416 }
411417 if ((caller == auctionClient))
412418 then if (if (if ((auctionState == stateOpen))
413419 then true
414420 else (auctionState == stateSuggested))
415421 then true
416422 else (auctionState == stateInProgress))
417423 then WriteSet([DataEntry((auctionId + "_JobPerformance"), newAuctionExecutionTime)])
418424 else throw("Incorrect state")
419425 else throw("Only Client can increase execution time")
420426 }
421427
422428
423429
424430 @Callable(i)
425431 func cancelAuction (auctionId) = {
426432 let callerPub = extract(i.callerPublicKey)
427433 let auctionState = getAuctionState(auctionId)
428434 let auctionClient = getAuctionClientPub(auctionId)
429435 let auctionAssetName = getAuctionAssetName(auctionId)
430436 let auctionPrice = getAuctionPrice(auctionId)
431437 let auctionAssetId58 = AssetNameToBase58(auctionAssetName)
432438 let dAppCommission = ((auctionPrice * 3) / 100)
433439 let amountWithoutComm = (auctionPrice - dAppCommission)
434440 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
435441 let callerIsClient = if ((callerPub == auctionClient))
436442 then true
437443 else throw("Auction can be canceled only by auction owner.")
438444 if (callerIsClient)
439445 then if ((auctionState == stateOpen))
440446 then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountWithoutComm, auctionAssetId58)]))
441447 else throw("Incorrect auction state.")
442448 else throw("Only Client can cancel auction")
443449 }
444450
445451
446452
447453 @Callable(i)
448454 func openDispute (auctionId) = {
449455 let caller = extract(i.callerPublicKey)
450456 let auctionState = getAuctionState(auctionId)
451457 let auctionClient = getAuctionClientPub(auctionId)
452458 let auctionFreelancer = getAuctionFreelancerPub(auctionId)
453459 if (if ((auctionState == stateOpen))
454460 then true
455461 else (auctionState == stateSuggested))
456462 then throw("Incorrect auction state for dispute opening")
457463 else if (if ((caller == auctionClient))
458464 then true
459465 else (caller == auctionFreelancer))
460466 then WriteSet([DataEntry((auctionId + "_State"), stateDispute), DataEntry((auctionId + "_DisputeVotes"), 0)])
461467 else throw("Only customer and freelancer can open dispute")
462468 }
463469
464470
465471
466472 @Callable(i)
467473 func voteDispute (auctionId,vote) = {
468474 let callerPub = extract(i.callerPublicKey)
469475 let auctionState = getAuctionState(auctionId)
470476 let auctionClient = getAuctionClientPub(auctionId)
471477 let auctionAssetName = getAuctionAssetName(auctionId)
472478 let auctionPrice = getAuctionPrice(auctionId)
473479 let auctionFreelancer = getAuctionFreelancerPub(auctionId)
474480 let commission = ((auctionPrice * 3) / 100)
475481 let auctionAssetId58 = AssetNameToBase58(auctionAssetName)
476482 let callerIsAmbassador = if (if (if (if (if ((callerPub == ambassador1))
477483 then true
478484 else (callerPub == ambassador2))
479485 then true
480486 else (callerPub == ambassador3))
481487 then true
482488 else (callerPub == ambassador4))
483489 then true
484490 else (callerPub == ambassador5))
485491 then toBase58String(callerPub)
486492 else throw("Only defined ambassadors can vote in disputes")
487493 let newVote = if (if ((vote == client))
488494 then true
489495 else (vote == freelancer))
490496 then vote
491497 else throw(((("Vote is incorrect. Must be: " + client) + " or ") + freelancer))
492498 let newVoter = {
493499 let keyVoter = ((auctionId + "_DiputeVote_") + callerIsAmbassador)
494500 let valueVoter = getString(this, keyVoter)
495501 match valueVoter {
496502 case a: String =>
497503 throw("User already voted")
498504 case _ =>
499505 callerIsAmbassador
500506 }
501507 }
502508 let votesNumber = {
503509 let valueVotesNumber = getInteger(this, (auctionId + "_DisputeVotes"))
504510 match valueVotesNumber {
505511 case a: Int =>
506512 a
507513 case _ =>
508514 throw("VotesNumber was not found")
509515 }
510516 }
511517 if ((auctionState == stateDispute))
512518 then if ((votesNumber == 4))
513519 then {
514520 let disputeWinner = {
515521 let ambassador1Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador1)))
516522 let ambassador2Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador2)))
517523 let ambassador3Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador3)))
518524 let ambassador4Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador4)))
519525 let ambassador5Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador5)))
520526 let v1 = if ((ambassador1Vote == client))
521527 then 1
522528 else 0
523529 let v2 = if ((ambassador2Vote == client))
524530 then 1
525531 else 0
526532 let v3 = if ((ambassador3Vote == client))
527533 then 1
528534 else 0
529535 let v4 = if ((ambassador4Vote == client))
530536 then 1
531537 else 0
532538 let v5 = if ((ambassador5Vote == client))
533539 then 1
534540 else 0
535541 let currentVote = if ((newVote == client))
536542 then 1
537543 else 0
538544 let votesForClient = (((((v1 + v2) + v3) + v4) + v5) + currentVote)
539545 if ((votesForClient > 2))
540546 then auctionClient
541547 else auctionFreelancer
542548 }
543549 let paymentWithoutComm = if ((disputeWinner == auctionClient))
544550 then (auctionPrice - commission)
545551 else (auctionPrice - (commission * 2))
546552 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
547553 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)]))
548554 }
549555 else WriteSet([DataEntry((auctionId + "_DisputeVotes"), (votesNumber + 1)), DataEntry(((auctionId + "_DiputeVote_") + callerIsAmbassador), newVote)])
550556 else throw(("Incorrect state. Must be: " + stateDispute))
551557 }
552558
553559
554560
555561 @Callable(i)
556562 func workHandOver (auctionId) = {
557563 let callerPub = extract(i.callerPublicKey)
558564 let auctionState = getAuctionState(auctionId)
559565 let auctionStart = getAuctionStartTime(auctionId)
560566 let auctionDuration = getAuctionDurationTime(auctionId)
561567 let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId)
562568 let auctionFreelancer = getAuctionFreelancerPub(auctionId)
563569 let currentTime = height
564570 let freelancerPubCheck = if ((callerPub == auctionFreelancer))
565571 then callerPub
566572 else throw("Only a freelancer can indicate that the work is done")
567573 let timeIsOver = ((currentTime - auctionStart) > auctionBlocksForExecution)
568574 if ((auctionState == stateInProgress))
569575 then if (timeIsOver)
570576 then WriteSet([DataEntry((auctionId + "_State"), stateDispute), DataEntry((auctionId + "_DisputeVotes"), "0")])
571577 else WriteSet([DataEntry((auctionId + "_State"), stateWait4Confirm)])
572578 else throw("Auction state is incorrect")
573579 }
574580
575581
576582
577583 @Callable(i)
578584 func acceptWork (auctionId) = {
579585 let callerPub = extract(i.callerPublicKey)
580586 let auctionState = getAuctionState(auctionId)
581587 let auctionClient = getAuctionClientPub(auctionId)
582588 let auctionStart = getAuctionStartTime(auctionId)
583589 let auctionDuration = getAuctionDurationTime(auctionId)
584590 let auctionAssetName = getAuctionAssetName(auctionId)
585591 let auctionPrice = getAuctionPrice(auctionId)
586592 let auctionFreelancer = getAuctionFreelancerPub(auctionId)
587593 let dAppCommission = ((auctionPrice * 3) / 100)
588594 let amountWithoutComm = (auctionPrice - dAppCommission)
589595 let auctionAssetId58 = AssetNameToBase58(auctionAssetName)
590596 let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice)
591597 let newRating = {
592598 let valueRating = getInteger(this, (toBase58String(auctionFreelancer) + "_Rating"))
593599 let currentRating = match valueRating {
594600 case a: Int =>
595601 a
596602 case _ =>
597603 0
598604 }
599605 (currentRating + 1)
600606 }
601607 if ((callerPub == auctionClient))
602608 then if ((auctionState == stateWait4Confirm))
603609 then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateComplete), DataEntry((toBase58String(auctionFreelancer) + "_Rating"), newRating), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionFreelancer), amountWithoutComm, auctionAssetId58)]))
604610 else throw(("Incorrect state. Must be: " + stateWait4Confirm))
605611 else throw("Only auction customer can use this function")
606612 }
607613
608614
609615 @Verifier(tx)
610616 func verify () = if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey))
611617 then match tx {
612618 case ttx: TransferTransaction =>
613619 true
614620 case stx: SetScriptTransaction =>
615621 true
616622 case _ =>
617623 false
618624 }
619625 else false
620626

github/deemru/w8io/026f985 
85.47 ms