tx · Bmx2sW7boaYrPAWkXw2pRc7ukuZ2jjpqhtBk4iERqoRC 3NCBtz3MDVBU6G54EAvHRRQ6k2YE6TCuPUv: -0.01500000 Waves 2019.10.04 10:23 [704673] smart account 3NCBtz3MDVBU6G54EAvHRRQ6k2YE6TCuPUv > SELF 0.00000000 Waves
{ "type": 13, "id": "Bmx2sW7boaYrPAWkXw2pRc7ukuZ2jjpqhtBk4iERqoRC", "fee": 1500000, "feeAssetId": null, "timestamp": 1570173839699, "version": 1, "sender": "3NCBtz3MDVBU6G54EAvHRRQ6k2YE6TCuPUv", "senderPublicKey": "9ft3D8mA7Qj2tvLPBg2resprWt2Gj2yvuanKNshrY6xb", "proofs": [ "2j8nYiunLVEQBHgMwAofLL5aQ3hKWAQhQ9CwVLM9QScep2b1oLM36nyWWErMeK3NrSY48hDAphcRrL6kYe44P6YH" ], "script": "base64:AAIDAAAAAAAAAD8IARIDCgEIEgMKAQgSBQoDAQEIEgQKAggBEgQKAggIEgQKAggBEgMKAQgSAwoBCBIECgIICBIDCgEIEgMKAQgAAAAjAAAAAANkYXkAAAAAAAAABaAAAAAABVdBVkVTBQAAAAR1bml0AAAAAAR3QlRDAQAAACBs+mr/xe2qjAt/tSqT0qIML4KC23R6BIxT+/0TH3Og/wAAAAAEd0VVUgEAAAAg7BZhBF97kSFBBjs38+fX1Pjz08YOqoCX85C/0PoVupkAAAAABHdVU0QBAAAAIN0cvQHwz3UFMHgHsqi2OJjRRd1cH7ozWuNAb/pmWXD9AAAAAAlzdGF0ZU9wZW4CAAAABk9wZW5lZAAAAAAOc3RhdGVTdWdnZXN0ZWQCAAAACVN1Z2dlc3RlZAAAAAALc3RhdGVDYW5jZWwCAAAACENhbmNlbGVkAAAAAA9zdGF0ZUluUHJvZ3Jlc3MCAAAACkluUHJvZ3Jlc3MAAAAAEXN0YXRlV2FpdDRDb25maXJtAgAAABNXYWl0Rm9yQ29uZmlybWF0aW9uAAAAAA1zdGF0ZUNvbXBsZXRlAgAAAAlDb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AACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAA3N0eAUAAAAHJG1hdGNoMAYHB/BUZG0=", "chainId": 84, "height": 704673, "spentComplexity": 0 } View: original | compacted Prev: FePiXoA2RFyePt7v3AAci7iSCNXhVj4Ag8VD65Vv6vkH Next: HEoua9dKVzD4nMG5ByCNUW6Ject6jVUzKK17XKMsGVVZ Diff:
Old | New | Differences | |
---|---|---|---|
113 | 113 | ||
114 | 114 | ||
115 | 115 | func getAuctionClientPub (auctionId) = { | |
116 | - | let valueClient = getString(this, (auctionId + "_ | |
116 | + | let valueClient = getString(this, (auctionId + "_AuctionClient")) | |
117 | 117 | let a = match valueClient { | |
118 | 118 | case a: String => | |
119 | 119 | a | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func getAuctionFreelancerPub (auctionId) = { | |
183 | - | let valueClient = getString(this, (auctionId + "_ | |
183 | + | let valueClient = getString(this, (auctionId + "_HiredFreelancer")) | |
184 | 184 | let a = match valueClient { | |
185 | 185 | case a: String => | |
186 | 186 | a | |
233 | 233 | then "USD" | |
234 | 234 | else throw("AssetId is incorrect") | |
235 | 235 | let newFreezedBalance = increaseFreezedBalance(pmtAssetName, auctionPrice) | |
236 | - | WriteSet([DataEntry((auctionId + "_State"), stateOpen), DataEntry((auctionId + "_Info"), auctionInfo), DataEntry((auctionId + "_ | |
236 | + | 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)]) | |
237 | 237 | } | |
238 | 238 | ||
239 | 239 | ||
278 | 278 | } | |
279 | 279 | } | |
280 | 280 | let amountDifference = ((auctionPrice - newAuctionPrice) - dAppCommission) | |
281 | - | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_ | |
281 | + | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), auctionLowestBidder), DataEntry((auctionId + "_Price"), newAuctionPrice)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountDifference, auctionAssetId58)])) | |
282 | 282 | } | |
283 | 283 | else throw("Incorrect auction state") | |
284 | 284 | else if ((auctionState == stateOpen)) | |
365 | 365 | } | |
366 | 366 | let amountDifference = (auctionPrice - newAuctionPrice) | |
367 | 367 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, amountDifference) | |
368 | - | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_ | |
368 | + | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), auctionLowestBidder), DataEntry((auctionId + "_Price"), newAuctionPrice), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountDifference, auctionAssetId58)])) | |
369 | 369 | } | |
370 | 370 | else throw("Incorrect auction state") | |
371 | 371 | else { | |
389 | 389 | } | |
390 | 390 | let amountDifference = (auctionPrice - freelancerBidAmount) | |
391 | 391 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, amountDifference) | |
392 | - | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_ | |
392 | + | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), setNewFreelancer), DataEntry((auctionId + "_Price"), newAuctionPrice), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), (amountDifference - dAppCommission), auctionAssetId58)])) | |
393 | 393 | } | |
394 | 394 | else throw("Only auction customer can choose a freelancer") | |
395 | 395 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let day = 1440 | |
5 | 5 | ||
6 | 6 | let WAVES = unit | |
7 | 7 | ||
8 | 8 | let wBTC = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS' | |
9 | 9 | ||
10 | 10 | let wEUR = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU' | |
11 | 11 | ||
12 | 12 | let wUSD = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck' | |
13 | 13 | ||
14 | 14 | let stateOpen = "Opened" | |
15 | 15 | ||
16 | 16 | let stateSuggested = "Suggested" | |
17 | 17 | ||
18 | 18 | let stateCancel = "Canceled" | |
19 | 19 | ||
20 | 20 | let stateInProgress = "InProgress" | |
21 | 21 | ||
22 | 22 | let stateWait4Confirm = "WaitForConfirmation" | |
23 | 23 | ||
24 | 24 | let stateComplete = "Completed" | |
25 | 25 | ||
26 | 26 | let stateDispute = "Dispute" | |
27 | 27 | ||
28 | 28 | let stateDisputeResolved = "DisputeResolved" | |
29 | 29 | ||
30 | 30 | let client = "CMR" | |
31 | 31 | ||
32 | 32 | let freelancer = "FL" | |
33 | 33 | ||
34 | 34 | let ambassador1 = base58'1' | |
35 | 35 | ||
36 | 36 | let ambassador2 = base58'1' | |
37 | 37 | ||
38 | 38 | let ambassador3 = base58'1' | |
39 | 39 | ||
40 | 40 | let ambassador4 = base58'1' | |
41 | 41 | ||
42 | 42 | let ambassador5 = base58'1' | |
43 | 43 | ||
44 | 44 | func AuctionIdDataKey (auctionId) = (auctionId + "_AuctionData") | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func AssetNameToBase58 (auctionAssetName) = if ((auctionAssetName == "WAVES")) | |
48 | 48 | then WAVES | |
49 | 49 | else if ((auctionAssetName == "BTC")) | |
50 | 50 | then wBTC | |
51 | 51 | else if ((auctionAssetName == "EUR")) | |
52 | 52 | then wEUR | |
53 | 53 | else if ((auctionAssetName == "USD")) | |
54 | 54 | then wUSD | |
55 | 55 | else throw("Incorrect Asset Id") | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func timeCheck (currentTime,startTime,expirationTime) = ((currentTime - startTime) > expirationTime) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func increaseFreezedBalance (pmtAssetName,auctionPrice) = { | |
62 | 62 | let keyFreezedFunds = getInteger(this, (pmtAssetName + "_Freezed")) | |
63 | 63 | let currentFreezedBalance = match keyFreezedFunds { | |
64 | 64 | case a: Int => | |
65 | 65 | a | |
66 | 66 | case _ => | |
67 | 67 | 0 | |
68 | 68 | } | |
69 | 69 | (currentFreezedBalance + auctionPrice) | |
70 | 70 | } | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func decreaseFreezedBalance (pmtAssetName,auctionPrice) = { | |
74 | 74 | let keyFreezedFunds = getInteger(this, (pmtAssetName + "_Freezed")) | |
75 | 75 | let currentFreezedBalance = match keyFreezedFunds { | |
76 | 76 | case a: Int => | |
77 | 77 | a | |
78 | 78 | case _ => | |
79 | 79 | 0 | |
80 | 80 | } | |
81 | 81 | let a = (currentFreezedBalance - auctionPrice) | |
82 | 82 | if ((a > 0)) | |
83 | 83 | then a | |
84 | 84 | else throw("Freezed amount couldn't be less than 0") | |
85 | 85 | } | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func freelancerIsRegistered (callerPub) = { | |
89 | 89 | let freelancerIsRegistered = getString(this, (callerPub + "_Freelancer")) | |
90 | 90 | match freelancerIsRegistered { | |
91 | 91 | case a: String => | |
92 | 92 | callerPub | |
93 | 93 | case _ => | |
94 | 94 | throw("Only registered users can make bets") | |
95 | 95 | } | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func createAuctionPriceCheck (pmtAmount) = if ((pmtAmount > 0)) | |
100 | 100 | then pmtAmount | |
101 | 101 | else throw("Amount must be higher then 0") | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func getAuctionState (auctionId) = { | |
105 | 105 | let valueState = getString(this, (auctionId + "_State")) | |
106 | 106 | match valueState { | |
107 | 107 | case a: String => | |
108 | 108 | a | |
109 | 109 | case _ => | |
110 | 110 | throw("Auction State was not found") | |
111 | 111 | } | |
112 | 112 | } | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func getAuctionClientPub (auctionId) = { | |
116 | - | let valueClient = getString(this, (auctionId + "_ | |
116 | + | let valueClient = getString(this, (auctionId + "_AuctionClient")) | |
117 | 117 | let a = match valueClient { | |
118 | 118 | case a: String => | |
119 | 119 | a | |
120 | 120 | case _ => | |
121 | 121 | throw("Auction Client was not found") | |
122 | 122 | } | |
123 | 123 | fromBase58String(a) | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func getAuctionStartTime (auctionId) = { | |
128 | 128 | let valueAuctionStart = getInteger(this, (auctionId + "_AuctionStart")) | |
129 | 129 | match valueAuctionStart { | |
130 | 130 | case a: Int => | |
131 | 131 | a | |
132 | 132 | case _ => | |
133 | 133 | throw("Auction Start time was not found") | |
134 | 134 | } | |
135 | 135 | } | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func getAuctionDurationTime (auctionId) = { | |
139 | 139 | let valueauctionDuration = getInteger(this, (auctionId + "_AuctionDuration")) | |
140 | 140 | match valueauctionDuration { | |
141 | 141 | case a: Int => | |
142 | 142 | a | |
143 | 143 | case _ => | |
144 | 144 | throw("Auction duration time was not found") | |
145 | 145 | } | |
146 | 146 | } | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func getAuctionJobPerformanceTime (auctionId) = { | |
150 | 150 | let valueBlocksForExecution = getInteger(this, (auctionId + "_JobPerformance")) | |
151 | 151 | match valueBlocksForExecution { | |
152 | 152 | case a: Int => | |
153 | 153 | a | |
154 | 154 | case _ => | |
155 | 155 | throw("Auction job performance time was not found") | |
156 | 156 | } | |
157 | 157 | } | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func getAuctionAssetName (auctionId) = { | |
161 | 161 | let valueAssetName = getString(this, (auctionId + "_AssetName")) | |
162 | 162 | match valueAssetName { | |
163 | 163 | case a: String => | |
164 | 164 | a | |
165 | 165 | case _ => | |
166 | 166 | throw("Auction asset name was not found") | |
167 | 167 | } | |
168 | 168 | } | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func getAuctionPrice (auctionId) = { | |
172 | 172 | let valuePrice = getInteger(this, (auctionId + "_Price")) | |
173 | 173 | match valuePrice { | |
174 | 174 | case a: Int => | |
175 | 175 | a | |
176 | 176 | case _ => | |
177 | 177 | throw("Auction price was not found") | |
178 | 178 | } | |
179 | 179 | } | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func getAuctionFreelancerPub (auctionId) = { | |
183 | - | let valueClient = getString(this, (auctionId + "_ | |
183 | + | let valueClient = getString(this, (auctionId + "_HiredFreelancer")) | |
184 | 184 | let a = match valueClient { | |
185 | 185 | case a: String => | |
186 | 186 | a | |
187 | 187 | case _ => | |
188 | 188 | throw("Auction Client was not found") | |
189 | 189 | } | |
190 | 190 | fromBase58String(a) | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | @Callable(i) | |
195 | 195 | func freelancerSignUp (info) = { | |
196 | 196 | let userPublicKey = toBase58String(i.callerPublicKey) | |
197 | 197 | let alreadyRegistered = getString(this, (userPublicKey + "_Freelancer")) | |
198 | 198 | if (isDefined(alreadyRegistered)) | |
199 | 199 | then throw("User already registered") | |
200 | 200 | else WriteSet([DataEntry((userPublicKey + "_Freelancer"), info)]) | |
201 | 201 | } | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | ||
205 | 205 | @Callable(i) | |
206 | 206 | func clientSignUp (info) = { | |
207 | 207 | let userPublicKey = toBase58String(i.callerPublicKey) | |
208 | 208 | let alreadyRegistered = getString(this, (userPublicKey + "_Client")) | |
209 | 209 | if (isDefined(alreadyRegistered)) | |
210 | 210 | then throw("User already registered") | |
211 | 211 | else WriteSet([DataEntry((userPublicKey + "_Client"), info)]) | |
212 | 212 | } | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | ||
216 | 216 | @Callable(i) | |
217 | 217 | func createAuction (jobExecutionDays,auctionDurationDays,auctionInfo) = { | |
218 | 218 | let auctionId = toBase58String(i.transactionId) | |
219 | 219 | let auctionClient = toBase58String(i.callerPublicKey) | |
220 | 220 | let pmt = extract(i.payment) | |
221 | 221 | let pmtAmount = pmt.amount | |
222 | 222 | let auctionPrice = createAuctionPriceCheck(pmtAmount) | |
223 | 223 | let auctionStart = height | |
224 | 224 | let auctionDurationBlocks = (auctionDurationDays * day) | |
225 | 225 | let blocksForExecution = (jobExecutionDays * day) | |
226 | 226 | let pmtAssetName = if (!(isDefined(pmt.assetId))) | |
227 | 227 | then "WAVES" | |
228 | 228 | else if ((pmt.assetId == wBTC)) | |
229 | 229 | then "BTC" | |
230 | 230 | else if ((pmt.assetId == wEUR)) | |
231 | 231 | then "EUR" | |
232 | 232 | else if ((pmt.assetId == wUSD)) | |
233 | 233 | then "USD" | |
234 | 234 | else throw("AssetId is incorrect") | |
235 | 235 | let newFreezedBalance = increaseFreezedBalance(pmtAssetName, auctionPrice) | |
236 | - | WriteSet([DataEntry((auctionId + "_State"), stateOpen), DataEntry((auctionId + "_Info"), auctionInfo), DataEntry((auctionId + "_ | |
236 | + | 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)]) | |
237 | 237 | } | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | ||
241 | 241 | @Callable(i) | |
242 | 242 | func makeBid (auctionId,betPrice) = { | |
243 | 243 | let callerPub = toBase58String(i.callerPublicKey) | |
244 | 244 | let betTime = height | |
245 | 245 | let auctionState = getAuctionState(auctionId) | |
246 | 246 | let auctionClient = getAuctionClientPub(auctionId) | |
247 | 247 | let auctionStart = getAuctionStartTime(auctionId) | |
248 | 248 | let auctionDuration = getAuctionDurationTime(auctionId) | |
249 | 249 | let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId) | |
250 | 250 | let auctionAssetName = getAuctionAssetName(auctionId) | |
251 | 251 | let auctionPrice = getAuctionPrice(auctionId) | |
252 | 252 | let auctionAssetId58 = AssetNameToBase58(auctionAssetName) | |
253 | 253 | let newFreelancer = freelancerIsRegistered(callerPub) | |
254 | 254 | let dAppCommission = ((auctionPrice * 3) / 100) | |
255 | 255 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice) | |
256 | 256 | let auctionTimeisOver = timeCheck(betTime, auctionStart, auctionDuration) | |
257 | 257 | if (auctionTimeisOver) | |
258 | 258 | then if ((auctionState == stateOpen)) | |
259 | 259 | then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), (auctionPrice - dAppCommission), auctionAssetId58)])) | |
260 | 260 | else if ((auctionState == stateSuggested)) | |
261 | 261 | then { | |
262 | 262 | let auctionLowestBidder = { | |
263 | 263 | let valueLowestBidder = getString(this, (auctionId + "_LowestBidderPub")) | |
264 | 264 | match valueLowestBidder { | |
265 | 265 | case a: String => | |
266 | 266 | a | |
267 | 267 | case _ => | |
268 | 268 | throw("Auction lowest bidder was not found") | |
269 | 269 | } | |
270 | 270 | } | |
271 | 271 | let newAuctionPrice = { | |
272 | 272 | let valueNewAuctionPrice = getInteger(this, ((auctionId + "_Bid_") + auctionLowestBidder)) | |
273 | 273 | match valueNewAuctionPrice { | |
274 | 274 | case a: Int => | |
275 | 275 | a | |
276 | 276 | case _ => | |
277 | 277 | throw("Auction lowest bid was not found") | |
278 | 278 | } | |
279 | 279 | } | |
280 | 280 | let amountDifference = ((auctionPrice - newAuctionPrice) - dAppCommission) | |
281 | - | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_ | |
281 | + | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), auctionLowestBidder), DataEntry((auctionId + "_Price"), newAuctionPrice)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountDifference, auctionAssetId58)])) | |
282 | 282 | } | |
283 | 283 | else throw("Incorrect auction state") | |
284 | 284 | else if ((auctionState == stateOpen)) | |
285 | 285 | then WriteSet([DataEntry(((auctionId + "_Bid_") + newFreelancer), betPrice), DataEntry((auctionId + "_State"), stateSuggested), DataEntry((auctionId + "_LowestBidderPub"), callerPub)]) | |
286 | 286 | else if ((auctionState == stateSuggested)) | |
287 | 287 | then { | |
288 | 288 | let currentLowestBidderPub = { | |
289 | 289 | let lowestBidder = getString(this, (auctionId + "_LowestBidderPub")) | |
290 | 290 | match lowestBidder { | |
291 | 291 | case a: String => | |
292 | 292 | a | |
293 | 293 | case _ => | |
294 | 294 | throw("Auction lowest bidder was not found") | |
295 | 295 | } | |
296 | 296 | } | |
297 | 297 | let newLowestBidderPub = { | |
298 | 298 | let valueCurrentLowestBid = getInteger(this, ((auctionId + "_Bid_") + currentLowestBidderPub)) | |
299 | 299 | let currentLowestBid = match valueCurrentLowestBid { | |
300 | 300 | case a: Int => | |
301 | 301 | a | |
302 | 302 | case _ => | |
303 | 303 | throw("Auction lowest bid was not found") | |
304 | 304 | } | |
305 | 305 | if ((currentLowestBid > betPrice)) | |
306 | 306 | then newFreelancer | |
307 | 307 | else currentLowestBidderPub | |
308 | 308 | } | |
309 | 309 | WriteSet([DataEntry((auctionId + "_LowestBidderPub"), newLowestBidderPub), DataEntry(((auctionId + "_Bid_") + newFreelancer), betPrice)]) | |
310 | 310 | } | |
311 | 311 | else throw(((((("Incorrect jobId state. Now: " + auctionState) + ", must be: ") + stateOpen) + " or ") + stateSuggested)) | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | ||
316 | 316 | @Callable(i) | |
317 | 317 | func chooseFreelancer (auctionId,freelancerPub) = { | |
318 | 318 | let callerPub = extract(i.callerPublicKey) | |
319 | 319 | let betTime = height | |
320 | 320 | let auctionState = getAuctionState(auctionId) | |
321 | 321 | let auctionClient = getAuctionClientPub(auctionId) | |
322 | 322 | let auctionStart = getAuctionStartTime(auctionId) | |
323 | 323 | let auctionDuration = getAuctionDurationTime(auctionId) | |
324 | 324 | let auctionAssetName = getAuctionAssetName(auctionId) | |
325 | 325 | let auctionPrice = getAuctionPrice(auctionId) | |
326 | 326 | let auctionAssetId58 = AssetNameToBase58(auctionAssetName) | |
327 | 327 | let freelancerBidAmount = { | |
328 | 328 | let keyFreelancerBid = ((auctionId + "_Bid_") + freelancerPub) | |
329 | 329 | let valueFreelacerBid = getInteger(this, keyFreelancerBid) | |
330 | 330 | match valueFreelacerBid { | |
331 | 331 | case a: Int => | |
332 | 332 | a | |
333 | 333 | case _ => | |
334 | 334 | throw("Freelancer's bet was not found") | |
335 | 335 | } | |
336 | 336 | } | |
337 | 337 | let dAppCommission = ((freelancerBidAmount * 3) / 100) | |
338 | 338 | let auctionTimeisOver = timeCheck(betTime, auctionStart, auctionDuration) | |
339 | 339 | if ((callerPub == auctionClient)) | |
340 | 340 | then if (auctionTimeisOver) | |
341 | 341 | then if ((auctionState == stateOpen)) | |
342 | 342 | then { | |
343 | 343 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice) | |
344 | 344 | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), (auctionPrice - dAppCommission), auctionAssetId58)])) | |
345 | 345 | } | |
346 | 346 | else if ((auctionState == stateSuggested)) | |
347 | 347 | then { | |
348 | 348 | let auctionLowestBidder = { | |
349 | 349 | let valueLowestBidder = getString(this, (auctionId + "_LowestBidderPub")) | |
350 | 350 | match valueLowestBidder { | |
351 | 351 | case a: String => | |
352 | 352 | a | |
353 | 353 | case _ => | |
354 | 354 | throw("Auction lowest bidder was not found") | |
355 | 355 | } | |
356 | 356 | } | |
357 | 357 | let newAuctionPrice = { | |
358 | 358 | let valueNewAuctionPrice = getInteger(this, ((auctionId + "_Bid_") + auctionLowestBidder)) | |
359 | 359 | match valueNewAuctionPrice { | |
360 | 360 | case a: Int => | |
361 | 361 | a | |
362 | 362 | case _ => | |
363 | 363 | throw("Auction lowest bid was not found") | |
364 | 364 | } | |
365 | 365 | } | |
366 | 366 | let amountDifference = (auctionPrice - newAuctionPrice) | |
367 | 367 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, amountDifference) | |
368 | - | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_ | |
368 | + | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), auctionLowestBidder), DataEntry((auctionId + "_Price"), newAuctionPrice), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountDifference, auctionAssetId58)])) | |
369 | 369 | } | |
370 | 370 | else throw("Incorrect auction state") | |
371 | 371 | else { | |
372 | 372 | let setNewFreelancer = { | |
373 | 373 | let newFreelancer = getInteger(this, ((auctionId + "_Bid_") + freelancerPub)) | |
374 | 374 | match newFreelancer { | |
375 | 375 | case a: Int => | |
376 | 376 | freelancerPub | |
377 | 377 | case _ => | |
378 | 378 | throw("Error: Incorrect freelancerPub") | |
379 | 379 | } | |
380 | 380 | } | |
381 | 381 | let newAuctionPrice = { | |
382 | 382 | let freelancerBid = getInteger(this, ((auctionId + "_Bid_") + freelancerPub)) | |
383 | 383 | match freelancerBid { | |
384 | 384 | case a: Int => | |
385 | 385 | a | |
386 | 386 | case _ => | |
387 | 387 | throw("Auction lowest bidder was not found") | |
388 | 388 | } | |
389 | 389 | } | |
390 | 390 | let amountDifference = (auctionPrice - freelancerBidAmount) | |
391 | 391 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, amountDifference) | |
392 | - | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_ | |
392 | + | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), setNewFreelancer), DataEntry((auctionId + "_Price"), newAuctionPrice), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), (amountDifference - dAppCommission), auctionAssetId58)])) | |
393 | 393 | } | |
394 | 394 | else throw("Only auction customer can choose a freelancer") | |
395 | 395 | } | |
396 | 396 | ||
397 | 397 | ||
398 | 398 | ||
399 | 399 | @Callable(i) | |
400 | 400 | func increaseExecutionTime (auctionId,executionDays) = { | |
401 | 401 | let caller = extract(i.callerPublicKey) | |
402 | 402 | let auctionState = getAuctionState(auctionId) | |
403 | 403 | let auctionClient = getAuctionClientPub(auctionId) | |
404 | 404 | let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId) | |
405 | 405 | let newAuctionExecutionTime = { | |
406 | 406 | let newAuctionBlocksForExecution = (executionDays * day) | |
407 | 407 | if ((newAuctionBlocksForExecution > auctionBlocksForExecution)) | |
408 | 408 | then newAuctionBlocksForExecution | |
409 | 409 | else throw("New execution time must more than current execution time") | |
410 | 410 | } | |
411 | 411 | if ((caller == auctionClient)) | |
412 | 412 | then if (if (if ((auctionState == stateOpen)) | |
413 | 413 | then true | |
414 | 414 | else (auctionState == stateSuggested)) | |
415 | 415 | then true | |
416 | 416 | else (auctionState == stateInProgress)) | |
417 | 417 | then WriteSet([DataEntry((auctionId + "_JobPerformance"), newAuctionExecutionTime)]) | |
418 | 418 | else throw("Incorrect state") | |
419 | 419 | else throw("Only Client can increase execution time") | |
420 | 420 | } | |
421 | 421 | ||
422 | 422 | ||
423 | 423 | ||
424 | 424 | @Callable(i) | |
425 | 425 | func cancelAuction (auctionId) = { | |
426 | 426 | let callerPub = extract(i.callerPublicKey) | |
427 | 427 | let auctionState = getAuctionState(auctionId) | |
428 | 428 | let auctionClient = getAuctionClientPub(auctionId) | |
429 | 429 | let auctionAssetName = getAuctionAssetName(auctionId) | |
430 | 430 | let auctionPrice = getAuctionPrice(auctionId) | |
431 | 431 | let auctionAssetId58 = AssetNameToBase58(auctionAssetName) | |
432 | 432 | let dAppCommission = ((auctionPrice * 3) / 100) | |
433 | 433 | let amountWithoutComm = (auctionPrice - dAppCommission) | |
434 | 434 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice) | |
435 | 435 | let callerIsClient = if ((callerPub == auctionClient)) | |
436 | 436 | then true | |
437 | 437 | else throw("Auction can be canceled only by auction owner.") | |
438 | 438 | if (callerIsClient) | |
439 | 439 | then if ((auctionState == stateOpen)) | |
440 | 440 | then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionClient), amountWithoutComm, auctionAssetId58)])) | |
441 | 441 | else throw("Incorrect auction state.") | |
442 | 442 | else throw("Only Client can cancel auction") | |
443 | 443 | } | |
444 | 444 | ||
445 | 445 | ||
446 | 446 | ||
447 | 447 | @Callable(i) | |
448 | 448 | func openDispute (auctionId) = { | |
449 | 449 | let caller = extract(i.callerPublicKey) | |
450 | 450 | let auctionState = getAuctionState(auctionId) | |
451 | 451 | let auctionClient = getAuctionClientPub(auctionId) | |
452 | 452 | let auctionFreelancer = getAuctionFreelancerPub(auctionId) | |
453 | 453 | if (if ((auctionState == stateOpen)) | |
454 | 454 | then true | |
455 | 455 | else (auctionState == stateSuggested)) | |
456 | 456 | then throw("Incorrect auction state for dispute opening") | |
457 | 457 | else if (if ((caller == auctionClient)) | |
458 | 458 | then true | |
459 | 459 | else (caller == auctionFreelancer)) | |
460 | 460 | then WriteSet([DataEntry((auctionId + "_State"), stateDispute), DataEntry((auctionId + "_DisputeVotes"), 0)]) | |
461 | 461 | else throw("Only customer and freelancer can open dispute") | |
462 | 462 | } | |
463 | 463 | ||
464 | 464 | ||
465 | 465 | ||
466 | 466 | @Callable(i) | |
467 | 467 | func voteDispute (auctionId,vote) = { | |
468 | 468 | let callerPub = extract(i.callerPublicKey) | |
469 | 469 | let auctionState = getAuctionState(auctionId) | |
470 | 470 | let auctionClient = getAuctionClientPub(auctionId) | |
471 | 471 | let auctionAssetName = getAuctionAssetName(auctionId) | |
472 | 472 | let auctionPrice = getAuctionPrice(auctionId) | |
473 | 473 | let auctionFreelancer = getAuctionFreelancerPub(auctionId) | |
474 | 474 | let comission = ((auctionPrice * 3) / 100) | |
475 | 475 | let auctionAssetId58 = AssetNameToBase58(auctionAssetName) | |
476 | 476 | let callerIsAmbassador = if (if (if (if (if ((callerPub == ambassador1)) | |
477 | 477 | then true | |
478 | 478 | else (callerPub == ambassador2)) | |
479 | 479 | then true | |
480 | 480 | else (callerPub == ambassador3)) | |
481 | 481 | then true | |
482 | 482 | else (callerPub == ambassador4)) | |
483 | 483 | then true | |
484 | 484 | else (callerPub == ambassador5)) | |
485 | 485 | then toBase58String(callerPub) | |
486 | 486 | else throw("Only defined ambassadors can vote in disputes") | |
487 | 487 | let newVote = if (if ((vote == client)) | |
488 | 488 | then true | |
489 | 489 | else (vote == freelancer)) | |
490 | 490 | then vote | |
491 | 491 | else throw(((("Vote is incorrect. Must be: " + client) + " or ") + freelancer)) | |
492 | 492 | let newVoter = { | |
493 | 493 | let keyVoter = ((auctionId + "_DiputeVote_") + callerIsAmbassador) | |
494 | 494 | let valueVoter = getString(this, keyVoter) | |
495 | 495 | match valueVoter { | |
496 | 496 | case a: String => | |
497 | 497 | throw("User already voted") | |
498 | 498 | case _ => | |
499 | 499 | callerIsAmbassador | |
500 | 500 | } | |
501 | 501 | } | |
502 | 502 | let votesNumber = { | |
503 | 503 | let valueVotesNumber = getInteger(this, (auctionId + "_DisputeVotes")) | |
504 | 504 | match valueVotesNumber { | |
505 | 505 | case a: Int => | |
506 | 506 | a | |
507 | 507 | case _ => | |
508 | 508 | throw("VotesNumber was not found") | |
509 | 509 | } | |
510 | 510 | } | |
511 | 511 | if ((auctionState == stateDispute)) | |
512 | 512 | then if ((votesNumber == 4)) | |
513 | 513 | then { | |
514 | 514 | let disputeWinner = { | |
515 | 515 | let ambassador1Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador1))) | |
516 | 516 | let ambassador2Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador2))) | |
517 | 517 | let ambassador3Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador3))) | |
518 | 518 | let ambassador4Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador4))) | |
519 | 519 | let ambassador5Vote = getString(this, ((auctionId + "_DiputeVote_") + toBase58String(ambassador5))) | |
520 | 520 | let v1 = if ((ambassador1Vote == client)) | |
521 | 521 | then 1 | |
522 | 522 | else 0 | |
523 | 523 | let v2 = if ((ambassador2Vote == client)) | |
524 | 524 | then 1 | |
525 | 525 | else 0 | |
526 | 526 | let v3 = if ((ambassador3Vote == client)) | |
527 | 527 | then 1 | |
528 | 528 | else 0 | |
529 | 529 | let v4 = if ((ambassador4Vote == client)) | |
530 | 530 | then 1 | |
531 | 531 | else 0 | |
532 | 532 | let v5 = if ((ambassador5Vote == client)) | |
533 | 533 | then 1 | |
534 | 534 | else 0 | |
535 | 535 | let currentVote = if ((newVote == client)) | |
536 | 536 | then 1 | |
537 | 537 | else 0 | |
538 | 538 | let votesForClient = (((((v1 + v2) + v3) + v4) + v5) + currentVote) | |
539 | 539 | if ((votesForClient > 2)) | |
540 | 540 | then auctionClient | |
541 | 541 | else auctionFreelancer | |
542 | 542 | } | |
543 | 543 | let paymentWithoutComm = if ((disputeWinner == auctionClient)) | |
544 | 544 | then auctionPrice | |
545 | 545 | else (auctionPrice - comission) | |
546 | 546 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice) | |
547 | 547 | 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)])) | |
548 | 548 | } | |
549 | 549 | else WriteSet([DataEntry((auctionId + "_DisputeVotes"), (votesNumber + 1)), DataEntry(((auctionId + "_DiputeVote_") + callerIsAmbassador), newVote)]) | |
550 | 550 | else throw(("Incorrect state. Must be: " + stateDispute)) | |
551 | 551 | } | |
552 | 552 | ||
553 | 553 | ||
554 | 554 | ||
555 | 555 | @Callable(i) | |
556 | 556 | func workHandOver (auctionId) = { | |
557 | 557 | let callerPub = extract(i.callerPublicKey) | |
558 | 558 | let auctionState = getAuctionState(auctionId) | |
559 | 559 | let auctionStart = getAuctionStartTime(auctionId) | |
560 | 560 | let auctionDuration = getAuctionDurationTime(auctionId) | |
561 | 561 | let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId) | |
562 | 562 | let auctionFreelancer = getAuctionFreelancerPub(auctionId) | |
563 | 563 | let currentTime = height | |
564 | 564 | let freelancerPubCheck = if ((callerPub == auctionFreelancer)) | |
565 | 565 | then callerPub | |
566 | 566 | else throw("Only a freelancer can indicate that the work is done") | |
567 | 567 | let timeIsOver = ((currentTime - auctionStart) > auctionBlocksForExecution) | |
568 | 568 | if ((auctionState == stateInProgress)) | |
569 | 569 | then if (timeIsOver) | |
570 | 570 | then WriteSet([DataEntry((auctionId + "_State"), stateDispute), DataEntry((auctionId + "_DisputeVotes"), "0")]) | |
571 | 571 | else WriteSet([DataEntry((auctionId + "_State"), stateWait4Confirm)]) | |
572 | 572 | else throw("Auction state is incorrect") | |
573 | 573 | } | |
574 | 574 | ||
575 | 575 | ||
576 | 576 | ||
577 | 577 | @Callable(i) | |
578 | 578 | func acceptWork (auctionId) = { | |
579 | 579 | let callerPub = extract(i.callerPublicKey) | |
580 | 580 | let auctionState = getAuctionState(auctionId) | |
581 | 581 | let auctionClient = getAuctionClientPub(auctionId) | |
582 | 582 | let auctionStart = getAuctionStartTime(auctionId) | |
583 | 583 | let auctionDuration = getAuctionDurationTime(auctionId) | |
584 | 584 | let auctionAssetName = getAuctionAssetName(auctionId) | |
585 | 585 | let auctionPrice = getAuctionPrice(auctionId) | |
586 | 586 | let auctionFreelancer = getAuctionFreelancerPub(auctionId) | |
587 | 587 | let dAppCommission = ((auctionPrice * 3) / 100) | |
588 | 588 | let amountWithoutComm = (auctionPrice - dAppCommission) | |
589 | 589 | let auctionAssetId58 = AssetNameToBase58(auctionAssetName) | |
590 | 590 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice) | |
591 | 591 | let newRating = { | |
592 | 592 | let valueRating = getInteger(this, (toBase58String(auctionFreelancer) + "_Rating")) | |
593 | 593 | let currentRating = match valueRating { | |
594 | 594 | case a: Int => | |
595 | 595 | a | |
596 | 596 | case _ => | |
597 | 597 | 0 | |
598 | 598 | } | |
599 | 599 | (currentRating + 1) | |
600 | 600 | } | |
601 | 601 | if ((callerPub == auctionClient)) | |
602 | 602 | then if ((auctionState == stateWait4Confirm)) | |
603 | 603 | then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateComplete), DataEntry((toBase58String(auctionFreelancer) + "_Rating"), newRating), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(auctionFreelancer), amountWithoutComm, auctionAssetId58)])) | |
604 | 604 | else throw(("Incorrect state. Must be: " + stateWait4Confirm)) | |
605 | 605 | else throw("Only auction customer can use this function") | |
606 | 606 | } | |
607 | 607 | ||
608 | 608 | ||
609 | 609 | @Verifier(tx) | |
610 | 610 | func verify () = if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)) | |
611 | 611 | then match tx { | |
612 | 612 | case ttx: TransferTransaction => | |
613 | 613 | true | |
614 | 614 | case stx: SetScriptTransaction => | |
615 | 615 | true | |
616 | 616 | case _ => | |
617 | 617 | false | |
618 | 618 | } | |
619 | 619 | else false | |
620 | 620 |
github/deemru/w8io/026f985 153.79 ms ◑