tx · HcNjzAKaiHMNPDcf3n5y9fFfF6hA4vmAZ7kt4Hvvn8Jd 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2: -0.01500000 Waves 2019.10.28 14:23 [739896] smart account 3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2 > SELF 0.00000000 Waves
{ "type": 13, "id": "HcNjzAKaiHMNPDcf3n5y9fFfF6hA4vmAZ7kt4Hvvn8Jd", "fee": 1500000, "feeAssetId": null, "timestamp": 1572261846794, "version": 1, "sender": "3N2EM5HFgf6UMBnvcJX3Cegmozwdv1iDeq2", "senderPublicKey": "8y2Uc9uYf5gRD6Dzm1aC73zYe3LZvtVDUVAnAhNdN2mg", "proofs": [ "5bK8coGjJhiPtvvrEqKM4PDiJ8caweeTMJmSEfw2BjhXVHY9AHn6jnFa8KRZyow51s47mNdmpxwbbx5KEXTh1jyh" ], "script": "base64:AAIDAAAAAAAAAEAIARIDCgEIEgMKAQgSBgoEAQEICBIECgIIARIECgIICBIECgIIARIDCgEIEgMKAQgSBAoCCAgSAwoBCBIDCgEIAAAAOAAAAAADZGF5AAAAAAAAAAWgAAAAAAVXQVZFUwUAAAAEdW5pdAAAAAAEd0JUQwEAAAAgbPpq/8XtqowLf7Uqk9KiDC+Cgtt0egSMU/v9Ex9zoP8AAAAABHdFVVIBAAAAIOwWYQRfe5EhQQY7N/Pn19T489PGDqqAl/OQv9D6FbqZAAAAAAR3VVNEAQAAACDdHL0B8M91BTB4B7KotjiY0UXdXB+6M1rjQG/6Zllw/QAAAAAJYXVjdFRva2VuAQAAAAEAAAAAAAlzdGF0ZU9wZW4CAAAABk9wZW5lZAAAAAAOc3RhdGVTdWdnZXN0ZWQCAAAACVN1Z2dlc3RlZAAAAAALc3RhdGVDYW5jZWwCAAAACENhbmNlbGVkAAAAAA9zdGF0ZUluUHJvZ3Jlc3MCAAAACkluUHJvZ3Jlc3MAAAAAEXN0YXRlV2FpdDRDb25maXJtAgAAABNXYWl0Rm9yQ29uZmlyb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V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwBAAAAAlhc3NldE5hbWUJAQAAABJBc3NldElkVG9Bc3NldE5hbWUAAAABCAUAAAADdHR4AAAAB2Fzc2V0SWQEAAAAFHZhbHVlUmVzZXJ2ZWRCYWxhbmNlCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAJYXNzZXROYW1lAgAAAAlfUmVzZXJ2ZWQEAAAAD3Jlc2VydmVkQmFsYW5jZQQAAAAHJG1hdGNoMQUAAAAUdmFsdWVSZXNlcnZlZEJhbGFuY2UDCQAAAQAAAAIFAAAAByRtYXRjaDECAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMQUAAAABYQAAAAAAAAAAAAQAAAAQYXZhaWxhYmxlQmFsYW5jZQkAAGUAAAACCQAD6wAAAAIFAAAABHRoaXMIBQAAAAN0dHgAAAAHYXNzZXRJZAUAAAAPcmVzZXJ2ZWRCYWxhbmNlCQAAZwAAAAIFAAAAEGF2YWlsYWJsZUJhbGFuY2UIBQAAAAN0dHgAAAAGYW1vdW50AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAADc3R4BQAAAAckbWF0Y2gwBgcHm441MA==", "chainId": 84, "height": 739896, "spentComplexity": 0 } View: original | compacted Prev: H8Fq3AqZbuTQmwGUp88MW5z4tQFyLXTbuVZJGx7FHegv Next: none Diff:
Old | New | Differences | |
---|---|---|---|
143 | 143 | ||
144 | 144 | ||
145 | 145 | func clientRegistered (callerPub) = { | |
146 | - | let | |
147 | - | match | |
146 | + | let clientIsRegistered = getString(this, (callerPub + "_Client")) | |
147 | + | match clientIsRegistered { | |
148 | 148 | case a: String => | |
149 | 149 | callerPub | |
150 | 150 | case _ => | |
151 | - | throw("Only registered users can | |
151 | + | throw("Only registered users can create auctions") | |
152 | 152 | } | |
153 | 153 | } | |
154 | 154 |
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 auctToken = base58'1' | |
15 | 15 | ||
16 | 16 | let stateOpen = "Opened" | |
17 | 17 | ||
18 | 18 | let stateSuggested = "Suggested" | |
19 | 19 | ||
20 | 20 | let stateCancel = "Canceled" | |
21 | 21 | ||
22 | 22 | let stateInProgress = "InProgress" | |
23 | 23 | ||
24 | 24 | let stateWait4Confirm = "WaitForConfirmation" | |
25 | 25 | ||
26 | 26 | let stateComplete = "Completed" | |
27 | 27 | ||
28 | 28 | let stateDispute = "Dispute" | |
29 | 29 | ||
30 | 30 | let stateDisputeResolved = "DisputeResolved" | |
31 | 31 | ||
32 | 32 | let category1 = "Web Design & Development" | |
33 | 33 | ||
34 | 34 | let category2 = "Waves RIDE & Smart Contract" | |
35 | 35 | ||
36 | 36 | let category3 = "Mobile App" | |
37 | 37 | ||
38 | 38 | let category4 = "Graphics & Design" | |
39 | 39 | ||
40 | 40 | let category5 = "Writing & Translation" | |
41 | 41 | ||
42 | 42 | let category6 = "Video & Animation" | |
43 | 43 | ||
44 | 44 | let client = "CL" | |
45 | 45 | ||
46 | 46 | let freelancer = "FL" | |
47 | 47 | ||
48 | 48 | let ambassador1 = "FneCJqM5BP2eAuyteMiuEEHYALrE4axhEfcpHVGbdr5s" | |
49 | 49 | ||
50 | 50 | let ambassador2 = "6QAMdssb1GJjpQVQQcnx8fKU8WhtcF9ZsQhifdThAEK8" | |
51 | 51 | ||
52 | 52 | let ambassador3 = "2ituwW7DSRsLP3Vcbnpr98QUQMGFRWKmyYPFqsUKRDoP" | |
53 | 53 | ||
54 | 54 | let ambassador4 = "ANsPQocEESyLb3yQqk2pwCdoK7PJQxLoZVpYvsm3SxUG" | |
55 | 55 | ||
56 | 56 | let ambassador5 = "13VixwQin1MzZCyY69NSWMSBNEV27Rzc159o7uZXR9VS" | |
57 | 57 | ||
58 | 58 | func getInt (key) = { | |
59 | 59 | let valueJobsOnGoing = getInteger(this, key) | |
60 | 60 | match valueJobsOnGoing { | |
61 | 61 | case a: Int => | |
62 | 62 | a | |
63 | 63 | case _ => | |
64 | 64 | 0 | |
65 | 65 | } | |
66 | 66 | } | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func categoryCheck (category) = if (if (if (if (if (if ((category == category1)) | |
70 | 70 | then true | |
71 | 71 | else (category == category2)) | |
72 | 72 | then true | |
73 | 73 | else (category == category3)) | |
74 | 74 | then true | |
75 | 75 | else (category == category4)) | |
76 | 76 | then true | |
77 | 77 | else (category == category5)) | |
78 | 78 | then true | |
79 | 79 | else (category == category6)) | |
80 | 80 | then category | |
81 | 81 | else throw("Category is invalid") | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func AssetIdToAssetName (pmtAssetId) = if (!(isDefined(pmtAssetId))) | |
85 | 85 | then "WAVES" | |
86 | 86 | else if ((pmtAssetId == wBTC)) | |
87 | 87 | then "BTC" | |
88 | 88 | else if ((pmtAssetId == wEUR)) | |
89 | 89 | then "EUR" | |
90 | 90 | else if ((pmtAssetId == wUSD)) | |
91 | 91 | then "USD" | |
92 | 92 | else if ((pmtAssetId == auctToken)) | |
93 | 93 | then "AUCT" | |
94 | 94 | else throw("AssetId is incorrect") | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func AssetNameToAssetId (auctionAssetName) = if ((auctionAssetName == "WAVES")) | |
98 | 98 | then WAVES | |
99 | 99 | else if ((auctionAssetName == "BTC")) | |
100 | 100 | then wBTC | |
101 | 101 | else if ((auctionAssetName == "EUR")) | |
102 | 102 | then wEUR | |
103 | 103 | else if ((auctionAssetName == "USD")) | |
104 | 104 | then wUSD | |
105 | 105 | else if ((auctionAssetName == "AUCT")) | |
106 | 106 | then auctToken | |
107 | 107 | else throw("Incorrect Asset Id") | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func timeCheck (currentTime,startTime,expirationTime) = ((currentTime - startTime) > expirationTime) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func bidAmountCheck (amount,auctionPrice) = if ((amount > auctionPrice)) | |
114 | 114 | then throw("Bid amount must be lower or equal than auctionPrice") | |
115 | 115 | else amount | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func increaseFreezedBalance (pmtAssetName,auctionPrice) = { | |
119 | 119 | let keyFreezedFunds = getInteger(this, (pmtAssetName + "_Freezed")) | |
120 | 120 | let currentFreezedBalance = match keyFreezedFunds { | |
121 | 121 | case a: Int => | |
122 | 122 | a | |
123 | 123 | case _ => | |
124 | 124 | 0 | |
125 | 125 | } | |
126 | 126 | (currentFreezedBalance + auctionPrice) | |
127 | 127 | } | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func decreaseFreezedBalance (pmtAssetName,auctionPrice) = { | |
131 | 131 | let keyFreezedFunds = getInteger(this, (pmtAssetName + "_Freezed")) | |
132 | 132 | let currentFreezedBalance = match keyFreezedFunds { | |
133 | 133 | case a: Int => | |
134 | 134 | a | |
135 | 135 | case _ => | |
136 | 136 | 0 | |
137 | 137 | } | |
138 | 138 | let a = (currentFreezedBalance - auctionPrice) | |
139 | 139 | if ((a >= 0)) | |
140 | 140 | then a | |
141 | 141 | else throw("Freezed amount couldn't be less than 0") | |
142 | 142 | } | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func clientRegistered (callerPub) = { | |
146 | - | let | |
147 | - | match | |
146 | + | let clientIsRegistered = getString(this, (callerPub + "_Client")) | |
147 | + | match clientIsRegistered { | |
148 | 148 | case a: String => | |
149 | 149 | callerPub | |
150 | 150 | case _ => | |
151 | - | throw("Only registered users can | |
151 | + | throw("Only registered users can create auctions") | |
152 | 152 | } | |
153 | 153 | } | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func freelancerRegistered (callerPub) = { | |
157 | 157 | let freelancerIsRegistered = getString(this, (callerPub + "_Freelancer")) | |
158 | 158 | match freelancerIsRegistered { | |
159 | 159 | case a: String => | |
160 | 160 | callerPub | |
161 | 161 | case _ => | |
162 | 162 | throw("Only registered users can make bets") | |
163 | 163 | } | |
164 | 164 | } | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func createAuctionPriceCheck (pmtAmount) = if ((pmtAmount > 0)) | |
168 | 168 | then pmtAmount | |
169 | 169 | else throw("Amount must be higher then 0") | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func getAuctionState (auctionId) = { | |
173 | 173 | let valueState = getString(this, (auctionId + "_State")) | |
174 | 174 | match valueState { | |
175 | 175 | case a: String => | |
176 | 176 | a | |
177 | 177 | case _ => | |
178 | 178 | throw("Auction State was not found") | |
179 | 179 | } | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func getAuctionClientPub (auctionId) = { | |
184 | 184 | let valueClientPub = getString(this, (auctionId + "_AuctionClient")) | |
185 | 185 | match valueClientPub { | |
186 | 186 | case a: String => | |
187 | 187 | a | |
188 | 188 | case _ => | |
189 | 189 | throw("Auction Client was not found") | |
190 | 190 | } | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func getAuctionStartTime (auctionId) = { | |
195 | 195 | let valueAuctionStart = getInteger(this, (auctionId + "_AuctionStart")) | |
196 | 196 | match valueAuctionStart { | |
197 | 197 | case a: Int => | |
198 | 198 | a | |
199 | 199 | case _ => | |
200 | 200 | throw("Auction Start time was not found") | |
201 | 201 | } | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func getAuctionDurationTime (auctionId) = { | |
206 | 206 | let valueauctionDuration = getInteger(this, (auctionId + "_AuctionDuration")) | |
207 | 207 | match valueauctionDuration { | |
208 | 208 | case a: Int => | |
209 | 209 | a | |
210 | 210 | case _ => | |
211 | 211 | throw("Auction duration time was not found") | |
212 | 212 | } | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func getAuctionJobPerformanceTime (auctionId) = { | |
217 | 217 | let valueBlocksForExecution = getInteger(this, (auctionId + "_JobPerformance")) | |
218 | 218 | match valueBlocksForExecution { | |
219 | 219 | case a: Int => | |
220 | 220 | a | |
221 | 221 | case _ => | |
222 | 222 | throw("Auction job performance time was not found") | |
223 | 223 | } | |
224 | 224 | } | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func getAuctionAssetName (auctionId) = { | |
228 | 228 | let valueAssetName = getString(this, (auctionId + "_AssetName")) | |
229 | 229 | match valueAssetName { | |
230 | 230 | case a: String => | |
231 | 231 | a | |
232 | 232 | case _ => | |
233 | 233 | throw("Auction asset name was not found") | |
234 | 234 | } | |
235 | 235 | } | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func getAuctionPrice (auctionId) = { | |
239 | 239 | let valuePrice = getInteger(this, (auctionId + "_Price")) | |
240 | 240 | match valuePrice { | |
241 | 241 | case a: Int => | |
242 | 242 | a | |
243 | 243 | case _ => | |
244 | 244 | throw("Auction price was not found") | |
245 | 245 | } | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | func getAuctionFreelancerPub (auctionId) = { | |
250 | 250 | let valueClient = getString(this, (auctionId + "_HiredFreelancer")) | |
251 | 251 | match valueClient { | |
252 | 252 | case a: String => | |
253 | 253 | a | |
254 | 254 | case _ => | |
255 | 255 | throw("Auction Client was not found") | |
256 | 256 | } | |
257 | 257 | } | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func getAuctionLowestBidder (auctionId) = { | |
261 | 261 | let valueLowestBidder = getString(this, (auctionId + "_LowestBidderPub")) | |
262 | 262 | match valueLowestBidder { | |
263 | 263 | case a: String => | |
264 | 264 | a | |
265 | 265 | case _ => | |
266 | 266 | throw("Auction lowest bidder was not found") | |
267 | 267 | } | |
268 | 268 | } | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func getBid (auctionId,auctionLowestBidder) = { | |
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 | ||
281 | 281 | ||
282 | 282 | func defineNewLowestBidder (auctionId,currentLowestBidderPub,bidAmount,newFreelancer) = { | |
283 | 283 | let valueCurrentLowestBid = getInteger(this, ((auctionId + "_Bid_") + currentLowestBidderPub)) | |
284 | 284 | let currentLowestBid = match valueCurrentLowestBid { | |
285 | 285 | case a: Int => | |
286 | 286 | a | |
287 | 287 | case _ => | |
288 | 288 | throw("Auction lowest bid was not found") | |
289 | 289 | } | |
290 | 290 | if ((currentLowestBid > bidAmount)) | |
291 | 291 | then newFreelancer | |
292 | 292 | else currentLowestBidderPub | |
293 | 293 | } | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | func choosedFreelancerCheck (auctionId,freelancerPub) = { | |
297 | 297 | let newFreelancer = getInteger(this, ((auctionId + "_Bid_") + freelancerPub)) | |
298 | 298 | match newFreelancer { | |
299 | 299 | case a: Int => | |
300 | 300 | freelancerPub | |
301 | 301 | case _ => | |
302 | 302 | throw("Error: Incorrect freelancerPub") | |
303 | 303 | } | |
304 | 304 | } | |
305 | 305 | ||
306 | 306 | ||
307 | 307 | func newExecutionTimeCheck (executionDays,auctionBlocksForExecution) = { | |
308 | 308 | let newAuctionBlocksForExecution = (executionDays * day) | |
309 | 309 | if ((newAuctionBlocksForExecution > auctionBlocksForExecution)) | |
310 | 310 | then newAuctionBlocksForExecution | |
311 | 311 | else throw("New execution time must more than current execution time") | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | func getRating (auctionFreelancer) = { | |
316 | 316 | let valueRating = getInteger(this, (auctionFreelancer + "_Rating")) | |
317 | 317 | match valueRating { | |
318 | 318 | case a: Int => | |
319 | 319 | a | |
320 | 320 | case _ => | |
321 | 321 | 0 | |
322 | 322 | } | |
323 | 323 | } | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func callerIsAmbassador (callerPub) = if (if (if (if (if ((callerPub == ambassador1)) | |
327 | 327 | then true | |
328 | 328 | else (callerPub == ambassador2)) | |
329 | 329 | then true | |
330 | 330 | else (callerPub == ambassador3)) | |
331 | 331 | then true | |
332 | 332 | else (callerPub == ambassador4)) | |
333 | 333 | then true | |
334 | 334 | else (callerPub == ambassador5)) | |
335 | 335 | then callerPub | |
336 | 336 | else throw("Only defined ambassadors can vote in disputes") | |
337 | 337 | ||
338 | 338 | ||
339 | 339 | func ambassadorVoteCheck (auctionId,ambassadorPub,vote) = { | |
340 | 340 | let keyVoter = ((auctionId + "_DiputeVote_") + ambassadorPub) | |
341 | 341 | let valueVoter = getString(this, keyVoter) | |
342 | 342 | let ambassadorVoted = match valueVoter { | |
343 | 343 | case a: String => | |
344 | 344 | true | |
345 | 345 | case _ => | |
346 | 346 | false | |
347 | 347 | } | |
348 | 348 | if (ambassadorVoted) | |
349 | 349 | then throw("Ambassador voted already ") | |
350 | 350 | else if (if ((vote == client)) | |
351 | 351 | then true | |
352 | 352 | else (vote == freelancer)) | |
353 | 353 | then vote | |
354 | 354 | else throw(((("Vote is incorrect. Must be: " + client) + " or ") + freelancer)) | |
355 | 355 | } | |
356 | 356 | ||
357 | 357 | ||
358 | 358 | func getVotesNumber (auctionId) = { | |
359 | 359 | let valueVotesNumber = getInteger(this, (auctionId + "_DisputeVotes")) | |
360 | 360 | match valueVotesNumber { | |
361 | 361 | case a: Int => | |
362 | 362 | a | |
363 | 363 | case _ => | |
364 | 364 | throw("VotesNumber was not found") | |
365 | 365 | } | |
366 | 366 | } | |
367 | 367 | ||
368 | 368 | ||
369 | 369 | func defineDisputeWinner (auctionId,newVote,auctionClient,auctionFreelancer) = { | |
370 | 370 | let ambassador1Vote = getString(this, ((auctionId + "_DiputeVote_") + ambassador1)) | |
371 | 371 | let ambassador2Vote = getString(this, ((auctionId + "_DiputeVote_") + ambassador2)) | |
372 | 372 | let ambassador3Vote = getString(this, ((auctionId + "_DiputeVote_") + ambassador3)) | |
373 | 373 | let ambassador4Vote = getString(this, ((auctionId + "_DiputeVote_") + ambassador4)) | |
374 | 374 | let ambassador5Vote = getString(this, ((auctionId + "_DiputeVote_") + ambassador5)) | |
375 | 375 | let v1 = if ((ambassador1Vote == client)) | |
376 | 376 | then 1 | |
377 | 377 | else 0 | |
378 | 378 | let v2 = if ((ambassador2Vote == client)) | |
379 | 379 | then 1 | |
380 | 380 | else 0 | |
381 | 381 | let v3 = if ((ambassador3Vote == client)) | |
382 | 382 | then 1 | |
383 | 383 | else 0 | |
384 | 384 | let v4 = if ((ambassador4Vote == client)) | |
385 | 385 | then 1 | |
386 | 386 | else 0 | |
387 | 387 | let v5 = if ((ambassador5Vote == client)) | |
388 | 388 | then 1 | |
389 | 389 | else 0 | |
390 | 390 | let currentVote = if ((newVote == client)) | |
391 | 391 | then 1 | |
392 | 392 | else 0 | |
393 | 393 | let votesForClient = (((((v1 + v2) + v3) + v4) + v5) + currentVote) | |
394 | 394 | if ((votesForClient > 2)) | |
395 | 395 | then auctionClient | |
396 | 396 | else auctionFreelancer | |
397 | 397 | } | |
398 | 398 | ||
399 | 399 | ||
400 | 400 | @Callable(i) | |
401 | 401 | func freelancerSignUp (info) = { | |
402 | 402 | let userPublicKey = toBase58String(i.callerPublicKey) | |
403 | 403 | let alreadyRegistered = getString(this, (userPublicKey + "_Freelancer")) | |
404 | 404 | if (isDefined(alreadyRegistered)) | |
405 | 405 | then throw("User already registered") | |
406 | 406 | else 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)]) | |
407 | 407 | } | |
408 | 408 | ||
409 | 409 | ||
410 | 410 | ||
411 | 411 | @Callable(i) | |
412 | 412 | func clientSignUp (info) = { | |
413 | 413 | let userPublicKey = toBase58String(i.callerPublicKey) | |
414 | 414 | let alreadyRegistered = getString(this, (userPublicKey + "_Client")) | |
415 | 415 | if (isDefined(alreadyRegistered)) | |
416 | 416 | then throw("User already registered") | |
417 | 417 | else WriteSet([DataEntry((userPublicKey + "_Client"), info), DataEntry((userPublicKey + "_JobsCreated"), 0), DataEntry((userPublicKey + "_JobsOnGoing"), 0), DataEntry((userPublicKey + "_JobInDispute"), 0)]) | |
418 | 418 | } | |
419 | 419 | ||
420 | 420 | ||
421 | 421 | ||
422 | 422 | @Callable(i) | |
423 | 423 | func createAuction (jobExecutionDays,auctionDurationDays,auctionInfo,category) = { | |
424 | 424 | let callerPub = toBase58String(i.callerPublicKey) | |
425 | 425 | let auctionId = toBase58String(i.transactionId) | |
426 | 426 | let auctionClient = clientRegistered(callerPub) | |
427 | 427 | let pmt = extract(i.payment) | |
428 | 428 | let pmtAmount = pmt.amount | |
429 | 429 | let auctionPrice = createAuctionPriceCheck(pmtAmount) | |
430 | 430 | let auctionStart = height | |
431 | 431 | let auctionDurationBlocks = (auctionDurationDays * day) | |
432 | 432 | let blocksForExecution = (jobExecutionDays * day) | |
433 | 433 | let pmtAssetName = AssetIdToAssetName(pmt.assetId) | |
434 | 434 | let jobsCreated = getInt((auctionClient + "_JobsCreated")) | |
435 | 435 | let auctionCategory = categoryCheck(category) | |
436 | 436 | let newFreezedBalance = increaseFreezedBalance(pmtAssetName, auctionPrice) | |
437 | 437 | 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((auctionId + "_Category"), auctionCategory), DataEntry((pmtAssetName + "_Freezed"), newFreezedBalance), DataEntry((auctionClient + "_JobsCreated"), (jobsCreated + 1))]) | |
438 | 438 | } | |
439 | 439 | ||
440 | 440 | ||
441 | 441 | ||
442 | 442 | @Callable(i) | |
443 | 443 | func makeBid (auctionId,amount) = { | |
444 | 444 | let callerPub = toBase58String(i.callerPublicKey) | |
445 | 445 | let auctionState = getAuctionState(auctionId) | |
446 | 446 | let auctionClient = getAuctionClientPub(auctionId) | |
447 | 447 | let auctionStart = getAuctionStartTime(auctionId) | |
448 | 448 | let auctionDuration = getAuctionDurationTime(auctionId) | |
449 | 449 | let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId) | |
450 | 450 | let auctionAssetName = getAuctionAssetName(auctionId) | |
451 | 451 | let auctionPrice = getAuctionPrice(auctionId) | |
452 | 452 | let auctionAssetId58 = AssetNameToAssetId(auctionAssetName) | |
453 | 453 | let newFreelancer = freelancerRegistered(callerPub) | |
454 | 454 | let dAppCommission = ((auctionPrice * 3) / 100) | |
455 | 455 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice) | |
456 | 456 | let bidAmount = bidAmountCheck(amount, auctionPrice) | |
457 | 457 | let auctionTimeisOver = timeCheck(height, auctionStart, auctionDuration) | |
458 | 458 | if (auctionTimeisOver) | |
459 | 459 | then if ((auctionState == stateOpen)) | |
460 | 460 | then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(auctionClient)), (auctionPrice - dAppCommission), auctionAssetId58)])) | |
461 | 461 | else if ((auctionState == stateSuggested)) | |
462 | 462 | then { | |
463 | 463 | let auctionLowestBidder = getAuctionLowestBidder(auctionId) | |
464 | 464 | let auctionLowestBid = getBid(auctionId, auctionLowestBidder) | |
465 | 465 | let amountDifference = ((auctionPrice - auctionLowestBid) - dAppCommission) | |
466 | 466 | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateInProgress), DataEntry((auctionId + "_HiredFreelancer"), auctionLowestBidder), DataEntry((auctionId + "_Price"), auctionLowestBid)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(auctionClient)), amountDifference, auctionAssetId58)])) | |
467 | 467 | } | |
468 | 468 | else throw("Incorrect auction state") | |
469 | 469 | else if ((auctionState == stateOpen)) | |
470 | 470 | then WriteSet([DataEntry(((auctionId + "_Bid_") + newFreelancer), bidAmount), DataEntry((auctionId + "_State"), stateSuggested), DataEntry((auctionId + "_LowestBidderPub"), callerPub)]) | |
471 | 471 | else if ((auctionState == stateSuggested)) | |
472 | 472 | then { | |
473 | 473 | let currentLowestBidderPub = getAuctionLowestBidder(auctionId) | |
474 | 474 | let newLowestBidderPub = defineNewLowestBidder(auctionId, currentLowestBidderPub, bidAmount, newFreelancer) | |
475 | 475 | WriteSet([DataEntry((auctionId + "_LowestBidderPub"), newLowestBidderPub), DataEntry(((auctionId + "_Bid_") + newFreelancer), bidAmount)]) | |
476 | 476 | } | |
477 | 477 | else throw(((((("Incorrect jobId state. Now: " + auctionState) + ", must be: ") + stateOpen) + " or ") + stateSuggested)) | |
478 | 478 | } | |
479 | 479 | ||
480 | 480 | ||
481 | 481 | ||
482 | 482 | @Callable(i) | |
483 | 483 | func chooseFreelancer (auctionId,freelancerPub) = { | |
484 | 484 | let callerPub = toBase58String(i.callerPublicKey) | |
485 | 485 | let auctionState = getAuctionState(auctionId) | |
486 | 486 | let auctionClient = getAuctionClientPub(auctionId) | |
487 | 487 | let auctionStart = getAuctionStartTime(auctionId) | |
488 | 488 | let auctionDuration = getAuctionDurationTime(auctionId) | |
489 | 489 | let auctionAssetName = getAuctionAssetName(auctionId) | |
490 | 490 | let auctionPrice = getAuctionPrice(auctionId) | |
491 | 491 | let auctionAssetId58 = AssetNameToAssetId(auctionAssetName) | |
492 | 492 | let newFreelancer = choosedFreelancerCheck(auctionId, freelancerPub) | |
493 | 493 | let freelancerBidAmount = getBid(auctionId, newFreelancer) | |
494 | 494 | let auctionTimeisOver = timeCheck(height, auctionStart, auctionDuration) | |
495 | 495 | let jobsOnGoing = getInt((auctionClient + "_JobsOnGoing")) | |
496 | 496 | let freelancerPendingEarnings = getInt((freelancerPub + "_PendingEarnings")) | |
497 | 497 | let freelancerTotalEarnings = getInt((freelancerPub + "_TotalEarnings")) | |
498 | 498 | if ((callerPub == auctionClient)) | |
499 | 499 | then if (auctionTimeisOver) | |
500 | 500 | then if ((auctionState == stateOpen)) | |
501 | 501 | then { | |
502 | 502 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice) | |
503 | 503 | let dAppCommission = ((auctionPrice * 3) / 100) | |
504 | 504 | ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(auctionClient)), (auctionPrice - dAppCommission), auctionAssetId58)])) | |
505 | 505 | } | |
506 | 506 | else if ((auctionState == stateSuggested)) | |
507 | 507 | then { | |
508 | 508 | let auctionLowestBidder = getAuctionLowestBidder(auctionId) | |
509 | 509 | let auctionLowestBid = getBid(auctionId, auctionLowestBidder) | |
510 | 510 | let amountDifference = (auctionPrice - auctionLowestBid) | |
511 | 511 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, amountDifference) | |
512 | 512 | 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)])) | |
513 | 513 | } | |
514 | 514 | else throw("Incorrect auction state") | |
515 | 515 | else if (if ((auctionState == stateOpen)) | |
516 | 516 | then true | |
517 | 517 | else (auctionState == stateSuggested)) | |
518 | 518 | then { | |
519 | 519 | let amountDifference = (auctionPrice - freelancerBidAmount) | |
520 | 520 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, amountDifference) | |
521 | 521 | 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)])) | |
522 | 522 | } | |
523 | 523 | else throw("Incorrect auction state") | |
524 | 524 | else throw("Only auction customer can choose a freelancer") | |
525 | 525 | } | |
526 | 526 | ||
527 | 527 | ||
528 | 528 | ||
529 | 529 | @Callable(i) | |
530 | 530 | func increaseExecutionTime (auctionId,executionDays) = { | |
531 | 531 | let caller = toBase58String(i.callerPublicKey) | |
532 | 532 | let auctionState = getAuctionState(auctionId) | |
533 | 533 | let auctionClient = getAuctionClientPub(auctionId) | |
534 | 534 | let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId) | |
535 | 535 | let newAuctionExecutionTime = newExecutionTimeCheck(executionDays, auctionBlocksForExecution) | |
536 | 536 | if ((caller == auctionClient)) | |
537 | 537 | then if (if (if ((auctionState == stateOpen)) | |
538 | 538 | then true | |
539 | 539 | else (auctionState == stateSuggested)) | |
540 | 540 | then true | |
541 | 541 | else (auctionState == stateInProgress)) | |
542 | 542 | then WriteSet([DataEntry((auctionId + "_JobPerformance"), newAuctionExecutionTime)]) | |
543 | 543 | else throw("Incorrect state") | |
544 | 544 | else throw("Only Client can increase execution time") | |
545 | 545 | } | |
546 | 546 | ||
547 | 547 | ||
548 | 548 | ||
549 | 549 | @Callable(i) | |
550 | 550 | func cancelAuction (auctionId) = { | |
551 | 551 | let callerPub = toBase58String(i.callerPublicKey) | |
552 | 552 | let auctionState = getAuctionState(auctionId) | |
553 | 553 | let auctionClient = getAuctionClientPub(auctionId) | |
554 | 554 | let auctionAssetName = getAuctionAssetName(auctionId) | |
555 | 555 | let auctionPrice = getAuctionPrice(auctionId) | |
556 | 556 | let auctionAssetId58 = AssetNameToAssetId(auctionAssetName) | |
557 | 557 | let dAppCommission = ((auctionPrice * 3) / 100) | |
558 | 558 | let amountWithoutComm = (auctionPrice - dAppCommission) | |
559 | 559 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice) | |
560 | 560 | if ((callerPub == auctionClient)) | |
561 | 561 | then if ((auctionState == stateOpen)) | |
562 | 562 | then ScriptResult(WriteSet([DataEntry((auctionId + "_State"), stateCancel), DataEntry((auctionAssetName + "_Freezed"), newFreezedBalance)]), TransferSet([ScriptTransfer(addressFromPublicKey(fromBase58String(auctionClient)), amountWithoutComm, auctionAssetId58)])) | |
563 | 563 | else throw("Auction can be canceled only by auction owner.") | |
564 | 564 | else throw("Only Client can cancel auction") | |
565 | 565 | } | |
566 | 566 | ||
567 | 567 | ||
568 | 568 | ||
569 | 569 | @Callable(i) | |
570 | 570 | func openDispute (auctionId) = { | |
571 | 571 | let caller = toBase58String(i.callerPublicKey) | |
572 | 572 | let auctionState = getAuctionState(auctionId) | |
573 | 573 | let auctionClient = getAuctionClientPub(auctionId) | |
574 | 574 | let auctionFreelancer = getAuctionFreelancerPub(auctionId) | |
575 | 575 | let clientJobsInDispute = getInt((auctionClient + "_JobsInDispute")) | |
576 | 576 | if (if ((auctionState == stateInProgress)) | |
577 | 577 | then true | |
578 | 578 | else (auctionState == stateWait4Confirm)) | |
579 | 579 | then if (if ((caller == auctionClient)) | |
580 | 580 | then true | |
581 | 581 | else (caller == auctionFreelancer)) | |
582 | 582 | then WriteSet([DataEntry((auctionId + "_State"), stateDispute), DataEntry((auctionId + "_DisputeVotes"), 0), DataEntry((auctionClient + "_JobsInDispute"), (clientJobsInDispute + 1))]) | |
583 | 583 | else throw("Only Client and Freelancer can open dispute") | |
584 | 584 | else throw("Incorrect auction state for dispute opening") | |
585 | 585 | } | |
586 | 586 | ||
587 | 587 | ||
588 | 588 | ||
589 | 589 | @Callable(i) | |
590 | 590 | func voteDispute (auctionId,vote) = { | |
591 | 591 | let callerPub = toBase58String(i.callerPublicKey) | |
592 | 592 | let auctionState = getAuctionState(auctionId) | |
593 | 593 | let auctionClient = getAuctionClientPub(auctionId) | |
594 | 594 | let auctionAssetName = getAuctionAssetName(auctionId) | |
595 | 595 | let auctionPrice = getAuctionPrice(auctionId) | |
596 | 596 | let auctionFreelancer = getAuctionFreelancerPub(auctionId) | |
597 | 597 | let commission = ((auctionPrice * 3) / 100) | |
598 | 598 | let auctionAssetId58 = AssetNameToAssetId(auctionAssetName) | |
599 | 599 | let ambassadorPub = callerIsAmbassador(callerPub) | |
600 | 600 | let ambassadorVote = ambassadorVoteCheck(auctionId, ambassadorPub, vote) | |
601 | 601 | let votesNumber = getVotesNumber(auctionId) | |
602 | 602 | let clientJobsInDispute = getInt((auctionClient + "_JobsInDispute")) | |
603 | 603 | let freelancerPendingEarnings = getInt((auctionFreelancer + "_PendingEarnings")) | |
604 | 604 | let freelancerTotalEarnings = getInt((auctionFreelancer + "_TotalEarnings")) | |
605 | 605 | if ((auctionState == stateDispute)) | |
606 | 606 | then if ((votesNumber == 4)) | |
607 | 607 | then { | |
608 | 608 | let disputeWinnerPub = defineDisputeWinner(auctionId, ambassadorVote, auctionClient, auctionFreelancer) | |
609 | 609 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice) | |
610 | 610 | if ((disputeWinnerPub == auctionClient)) | |
611 | 611 | then { | |
612 | 612 | let paymentWithoutComm = (auctionPrice - commission) | |
613 | 613 | 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)])) | |
614 | 614 | } | |
615 | 615 | else { | |
616 | 616 | let paymentWithoutComm = (auctionPrice - (commission * 2)) | |
617 | 617 | 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)])) | |
618 | 618 | } | |
619 | 619 | } | |
620 | 620 | else WriteSet([DataEntry((auctionId + "_DisputeVotes"), (votesNumber + 1)), DataEntry(((auctionId + "_DiputeVote_") + ambassadorPub), ambassadorVote)]) | |
621 | 621 | else throw(("Incorrect state. Must be: " + stateDispute)) | |
622 | 622 | } | |
623 | 623 | ||
624 | 624 | ||
625 | 625 | ||
626 | 626 | @Callable(i) | |
627 | 627 | func workHandOver (auctionId) = { | |
628 | 628 | let callerPub = toBase58String(i.callerPublicKey) | |
629 | 629 | let auctionState = getAuctionState(auctionId) | |
630 | 630 | let auctionClient = getAuctionClientPub(auctionId) | |
631 | 631 | let auctionStart = getAuctionStartTime(auctionId) | |
632 | 632 | let auctionDuration = getAuctionDurationTime(auctionId) | |
633 | 633 | let auctionBlocksForExecution = getAuctionJobPerformanceTime(auctionId) | |
634 | 634 | let auctionFreelancer = getAuctionFreelancerPub(auctionId) | |
635 | 635 | let timeIsOver = ((height - auctionStart) > auctionBlocksForExecution) | |
636 | 636 | let clientJobsInDispute = getInt((auctionClient + "_JobsInDispute")) | |
637 | 637 | if ((callerPub == auctionFreelancer)) | |
638 | 638 | then if ((auctionState == stateInProgress)) | |
639 | 639 | then if (timeIsOver) | |
640 | 640 | then WriteSet([DataEntry((auctionId + "_State"), stateDispute), DataEntry((auctionId + "_DisputeVotes"), "0"), DataEntry((auctionClient + "_JobInDispute"), (clientJobsInDispute + 1))]) | |
641 | 641 | else WriteSet([DataEntry((auctionId + "_State"), stateWait4Confirm)]) | |
642 | 642 | else throw("Auction state is incorrect") | |
643 | 643 | else throw("Only a freelancer can indicate that the work is done") | |
644 | 644 | } | |
645 | 645 | ||
646 | 646 | ||
647 | 647 | ||
648 | 648 | @Callable(i) | |
649 | 649 | func acceptWork (auctionId) = { | |
650 | 650 | let callerPub = toBase58String(i.callerPublicKey) | |
651 | 651 | let auctionState = getAuctionState(auctionId) | |
652 | 652 | let auctionClient = getAuctionClientPub(auctionId) | |
653 | 653 | let auctionStart = getAuctionStartTime(auctionId) | |
654 | 654 | let auctionDuration = getAuctionDurationTime(auctionId) | |
655 | 655 | let auctionAssetName = getAuctionAssetName(auctionId) | |
656 | 656 | let auctionPrice = getAuctionPrice(auctionId) | |
657 | 657 | let auctionFreelancer = getAuctionFreelancerPub(auctionId) | |
658 | 658 | let jobsOnGoing = getInt((auctionClient + "_JobsOnGoing")) | |
659 | 659 | let freelancerPendingEarnings = getInt((auctionFreelancer + "_PendingEarnings")) | |
660 | 660 | let freelancerPaidEarnings = getInt((auctionFreelancer + "_PaidEarnings")) | |
661 | 661 | let dAppCommission = ((auctionPrice * 3) / 100) | |
662 | 662 | let amountWithoutComm = (auctionPrice - (dAppCommission * 2)) | |
663 | 663 | let auctionAssetId58 = AssetNameToAssetId(auctionAssetName) | |
664 | 664 | let newFreezedBalance = decreaseFreezedBalance(auctionAssetName, auctionPrice) | |
665 | 665 | let freelancerRating = getRating(auctionFreelancer) | |
666 | 666 | if ((callerPub == auctionClient)) | |
667 | 667 | then if ((auctionState == stateWait4Confirm)) | |
668 | 668 | 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)])) | |
669 | 669 | else throw(("Incorrect state. Must be: " + stateWait4Confirm)) | |
670 | 670 | else throw("Only auction customer can use this function") | |
671 | 671 | } | |
672 | 672 | ||
673 | 673 | ||
674 | 674 | @Verifier(tx) | |
675 | 675 | func verify () = if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)) | |
676 | 676 | then match tx { | |
677 | 677 | case ttx: TransferTransaction => | |
678 | 678 | let assetName = AssetIdToAssetName(ttx.assetId) | |
679 | 679 | let valueReservedBalance = getInteger(this, (assetName + "_Reserved")) | |
680 | 680 | let reservedBalance = match valueReservedBalance { | |
681 | 681 | case a: Int => | |
682 | 682 | a | |
683 | 683 | case _ => | |
684 | 684 | 0 | |
685 | 685 | } | |
686 | 686 | let availableBalance = (assetBalance(this, ttx.assetId) - reservedBalance) | |
687 | 687 | (availableBalance >= ttx.amount) | |
688 | 688 | case stx: SetScriptTransaction => | |
689 | 689 | true | |
690 | 690 | case _ => | |
691 | 691 | false | |
692 | 692 | } | |
693 | 693 | else false | |
694 | 694 |
github/deemru/w8io/169f3d6 76.92 ms ◑