tx · GTBCkBJ9jXzYY6HHXFd9bvE3Cf2rhC46Z6ZHorHK2Fgt 3MzSNsJLeYj6Eh6u2QzJrbByPCySgFoCbWC: -0.05000000 Waves 2020.01.09 09:05 [845991] smart account 3MzSNsJLeYj6Eh6u2QzJrbByPCySgFoCbWC > SELF 0.00000000 Waves
{ "type": 13, "id": "GTBCkBJ9jXzYY6HHXFd9bvE3Cf2rhC46Z6ZHorHK2Fgt", "fee": 5000000, "feeAssetId": null, "timestamp": 1578546203479, "version": 1, "sender": "3MzSNsJLeYj6Eh6u2QzJrbByPCySgFoCbWC", "senderPublicKey": "99sSPZk2SumsopYRh2PAvWL8BHjDhYsY5NspsFGXLnAm", "proofs": [ "4bj9W5GzWXDwBg42TAmbNFBEm1xmvfmtiSjKrFR6DmgGdSSmc8Hp5RoU2uZgjV71ZVhjYkYXEgAh6oif6KxyEEZ6" ], "script": "base64:AAIDAAAAAAAAAGsIARIDCgEBEgUKAwgBCBIDCgEIEgQKAggIEgUKAwgICBIECgIICBIDCgEIEgMKAQgSBAoCCAQSBAoCCAESBAoCCAgSAwoBCBIECgIICBIFCgMICAgSBAoCCAgSAwoBCBIDCgEIEgUKAwgICAAAAEsAAAAABE5PTkUCAAAABG5vbmUAAAAACEZFQVRVUkVEAgAAAAhmZWF0dXJlZAAAAAAEREFQUAIAAAAAAAAAAANNT0QCAAAAA21vZAAAAAAKUkVHSVNURVJFRAIAAAAKcmVnaXN0ZXJlZAAAAAAHQ1JFQVRPUgIAAAAjM01zVExpekVnNHZxTmdEN1pWamhrUGFaZ3NyTjExSnF6TEoAAAAACklOUFJPR1JFU1MCAAAAC2luIHByb2dyZXNzAAAAAAlDT01QTEVURUQCAAAACWNvbXBsZXRlZAAAAAAHUEVORElORwIAAAAHcGVuZGluZwAAAAAJSU5ESVNQVVRFAgAAAAppbiBkaXNwdXRlAAAAAAhSRVZJU0lPTgIAAAAIcmV2aXNpb24AAAAACENBTkNFTEVEAgAAAAhjYW5jZWxlZAAAAAAKREV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nJlZWxhbmNlcgAAAAEFAAAABHRhc2sDCQAAAAAAAAIJAQAAAA9nZXRWYWx1ZVVzZXJCaW8AAAABBQAAAAdhY2NvdW50BQAAAAROT05FCQAAAgAAAAECAAAADllvdSBub3Qgc2lnbnVwAwMDAwkBAAAAAiE9AAAAAgUAAAAEdXNlcgUAAAAIY3VzdG9tZXIJAQAAAAIhPQAAAAIFAAAABHVzZXIFAAAACmZyZWVsYW5jZXIHCQEAAAACIT0AAAACBQAAAAdhY2NvdW50BQAAAAhjdXN0b21lcgcJAQAAAAIhPQAAAAIFAAAAB2FjY291bnQFAAAACmZyZWVsYW5jZXIHCQAAAgAAAAECAAAAIllvdSBoYXZlIG5vdCB3b3JrZWQgd2l0aCB0aGlzIHVzZXIDCQEAAAACIT0AAAACCQEAAAASZ2V0VmFsdWVUYXNrU3RhdHVzAAAAAQUAAAAEdGFzawUAAAAJQ09NUExFVEVECQAAAgAAAAECAAAANFlvdSBjYW4ndCBsZWF2ZSBmZWVkYmFjayB1bnRpbCB0aGUgdGFzayBpcyBjb21wbGV0ZWQDCQEAAAACIT0AAAACCQEAAAASZ2V0VmFsdWVVc2VyUmV2aWV3AAAAAgUAAAAHYWNjb3VudAUAAAAEdXNlcgUAAAAETk9ORQkAAAIAAAABAgAAACxoYXZlIHlvdSBhbHJlYWR5IGxlZnQgYSByZXZpZXcgZm9yIHRoaXMgdXNlcgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAAEGdldEtleVVzZXJSZXZpZXcAAAACBQAAAAdhY2NvdW50BQAAAAR1c2VyBQAAAAZyZXZpZXcFAAAAA25pbAAAAAD0RB9D", "chainId": 84, "height": 845991, "spentComplexity": 0 } View: original | compacted Prev: GDjbcZUXAnVTYtG4NXTTWevwQwxr2MVHBYGfnML68PvF Next: GvLfib1gv2VXhEXwRp92zzBGxvdY9vtJkE9rsRYCHzAs Diff:
Old | New | Differences | |
---|---|---|---|
220 | 220 | ||
221 | 221 | ||
222 | 222 | func getValueTaskDisputeVoteVariant (task,user) = getStrByKey(getKeyTaskDisputeVoteVariant(task, user)) | |
223 | + | ||
224 | + | ||
225 | + | func getKeyUserReview (user1,user2) = ((("review_" + user1) + "_") + user2) | |
226 | + | ||
227 | + | ||
228 | + | func getValueUserReview (user1,user2) = getStrByKey(getKeyUserReview(user1, user2)) | |
223 | 229 | ||
224 | 230 | ||
225 | 231 | @Callable(i) | |
550 | 556 | } | |
551 | 557 | ||
552 | 558 | ||
559 | + | ||
560 | + | @Callable(i) | |
561 | + | func leaveUserReview (user,task,review) = { | |
562 | + | let account = toBase58String(i.caller.bytes) | |
563 | + | let customer = getValueTaskAuthor(task) | |
564 | + | let freelancer = getValueTaskFreelancer(task) | |
565 | + | if ((getValueUserBio(account) == NONE)) | |
566 | + | then throw("You not signup") | |
567 | + | else if (if (if (if ((user != customer)) | |
568 | + | then (user != freelancer) | |
569 | + | else false) | |
570 | + | then (account != customer) | |
571 | + | else false) | |
572 | + | then (account != freelancer) | |
573 | + | else false) | |
574 | + | then throw("You have not worked with this user") | |
575 | + | else if ((getValueTaskStatus(task) != COMPLETED)) | |
576 | + | then throw("You can't leave feedback until the task is completed") | |
577 | + | else if ((getValueUserReview(account, user) != NONE)) | |
578 | + | then throw("have you already left a review for this user") | |
579 | + | else WriteSet([DataEntry(getKeyUserReview(account, user), review)]) | |
580 | + | } | |
581 | + | ||
582 | + |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let NONE = "none" | |
5 | 5 | ||
6 | 6 | let FEATURED = "featured" | |
7 | 7 | ||
8 | 8 | let DAPP = "" | |
9 | 9 | ||
10 | 10 | let MOD = "mod" | |
11 | 11 | ||
12 | 12 | let REGISTERED = "registered" | |
13 | 13 | ||
14 | 14 | let CREATOR = "3MsTLizEg4vqNgD7ZVjhkPaZgsrN11JqzLJ" | |
15 | 15 | ||
16 | 16 | let INPROGRESS = "in progress" | |
17 | 17 | ||
18 | 18 | let COMPLETED = "completed" | |
19 | 19 | ||
20 | 20 | let PENDING = "pending" | |
21 | 21 | ||
22 | 22 | let INDISPUTE = "in dispute" | |
23 | 23 | ||
24 | 24 | let REVISION = "revision" | |
25 | 25 | ||
26 | 26 | let CANCELED = "canceled" | |
27 | 27 | ||
28 | 28 | let DECRYBEFEE = (2 / 100) | |
29 | 29 | ||
30 | 30 | let WAVESLET = 100000000 | |
31 | 31 | ||
32 | 32 | func getStrByKey (key) = { | |
33 | 33 | let str = match getString(this, key) { | |
34 | 34 | case a: String => | |
35 | 35 | a | |
36 | 36 | case _ => | |
37 | 37 | NONE | |
38 | 38 | } | |
39 | 39 | str | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func getNumberByKey (key) = { | |
44 | 44 | let num = match getInteger(this, key) { | |
45 | 45 | case a: Int => | |
46 | 46 | a | |
47 | 47 | case _ => | |
48 | 48 | 0 | |
49 | 49 | } | |
50 | 50 | num | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func getKeyUserMessagesCnt (from,to) = ((("msg_cnt_" + from) + "_") + to) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func getValueUserMessagesCnt (from,to) = getNumberByKey(getKeyUserMessagesCnt(from, to)) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func getKeyUserMessage (from,to,id) = ((((("msg_" + from) + "_") + to) + "_id:") + id) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func getValueUserMessage (from,to,cnt) = getStrByKey(getKeyUserMessage(from, to, cnt)) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func getKeyUserMessageBlock (from,to,cnt) = ((((("block_msg_" + from) + "_") + to) + "_id:") + cnt) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func getValueUserMessageBlock (from,to,cnt) = getStrByKey(getKeyUserMessageBlock(from, to, cnt)) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func getKeyTaskData (task) = ("datajson_" + task) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func getValueTaskData (task) = getStrByKey(getKeyTaskData(task)) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func getKeyTaskAuthor (task) = ("author_" + task) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func getValueTaskAuthor (task) = getStrByKey(getKeyTaskAuthor(task)) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func getKeyTaskBlock (task) = ("block_" + task) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func getValueTaskBlock (task) = getNumberByKey(getKeyTaskBlock(task)) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func getKeyTaskBank (task) = ("bank_" + task) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func getValueTaskBank (task) = getNumberByKey(getKeyTaskBank(task)) | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func getKeyTaskFreelancer (task) = ("freelancer_" + task) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func getValueTaskFreelancer (task) = getStrByKey(getKeyTaskFreelancer(task)) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func getKeyTaskStatus (task) = ("status_" + task) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func getValueTaskStatus (task) = getStrByKey(getKeyTaskStatus(task)) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func getKeyTaskExpiration (task) = ("expiration_block_" + task) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func getValueTaskExpiration (task) = getNumberByKey(getKeyTaskExpiration(task)) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func getKeyUserBio (account) = ("user_bio_" + account) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func getValueUserBio (account) = getStrByKey(getKeyUserBio(account)) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func getKeyUserStatus (account) = ("user_sts_" + account) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func getValueUserStatus (account) = getStrByKey(getKeyUserStatus(account)) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func getKeyUserBlock (account) = ("user_blk_" + account) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func getKeyTaskReportComplete (freelancer,task,stage) = ((((("rc_" + task) + "_") + freelancer) + "_stage:") + stage) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func getValueTaskReportComplete (freelancer,task,stage) = getStrByKey(getKeyTaskReportComplete(freelancer, task, stage)) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func getKeyTaskReportCompleteCnt (task,freelancer) = ((("rc_cnt_" + task) + "_") + freelancer) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func getValueTaskReportCompleteCnt (task,freelancer) = getNumberByKey(getKeyTaskReportCompleteCnt(task, freelancer)) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func getKeyDecrybeBalance () = "decrybe_balance" | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func getValueDecrybeBalance () = getNumberByKey(getKeyDecrybeBalance()) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func getKeyTaskRating (task) = ("task_rating_" + task) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func getValueTaskRating (task) = getNumberByKey(getKeyTaskRating(task)) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func getKeyTaskUserVoteRating (task,user) = ((("task_vote_" + task) + "_") + user) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func getValueTaskUserVoteRating (task,user) = getStrByKey(getKeyTaskUserVoteRating(task, user)) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func getKeyUserRating (user) = ("user_rating_" + user) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func getValueUserRating (user) = getNumberByKey(getKeyUserRating(user)) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func getKeyUserRatingVote (user,voting) = (("user_vote_" + user) + voting) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func getValueUserRatingVote (user,voting) = getStrByKey(getKeyUserRatingVote(user, voting)) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func getKeyTaskDispute (task) = ("task_dispute_" + task) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func getValueTaskDispute (task) = getStrByKey(getKeyTaskDispute(task)) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func getKeyTaskDisputeVoteCustomer (task) = ("task_dispvote_cst_" + task) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func getValueTaskDisputeVoteCustomer (task) = getNumberByKey(getKeyTaskDisputeVoteCustomer(task)) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func getKeyTaskDisputeVoteFreelancer (task) = ("task_dispvote_flr_" + task) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func getValueTaskDisputeVoteFreelancer (task) = getNumberByKey(getKeyTaskDisputeVoteFreelancer(task)) | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func getKeyTaskDisputeMessage (task,sender,id) = ((((("task_dispmsg_" + task) + "_") + sender) + "_id:") + id) | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func getValueTaskDisputeMessage (task,sender,id) = getStrByKey(getKeyTaskDisputeMessage(task, sender, id)) | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func getKeyTaskDisputeMessageBlock (task,sender,id) = ((((("task_dispmsg_blk_" + task) + "_") + sender) + "_id:") + id) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func getValueTaskDisputeMessageBlock (task,sender,id) = getStrByKey(getKeyTaskDisputeMessageBlock(task, sender, id)) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func getKeyTaskDisputeMessagesCnt (task,user) = ((("task_dispmsg_cnt_" + task) + "_") + user) | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func getValueTaskDisputeMessagesCnt (task,user) = getNumberByKey(getKeyTaskDisputeMessagesCnt(task, user)) | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func getKeyTaskDisputeComment (task,sender) = ((("task_dispcom_" + task) + "_") + sender) | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func getValueTaskDisputeComment (task,sender) = getStrByKey(getKeyTaskDisputeComment(task, sender)) | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func getKeyTaskDisputeCommentBlock (task,sender) = ((("task_dispcom_blk_" + task) + "_") + sender) | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func getValueTaskDisputeCommentBlock (task,sender) = getStrByKey(getKeyTaskDisputeCommentBlock(task, sender)) | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func getKeyTaskDisputeVoteVariant (task,user) = ((("task_dispvar_" + task) + "_") + user) | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func getValueTaskDisputeVoteVariant (task,user) = getStrByKey(getKeyTaskDisputeVoteVariant(task, user)) | |
223 | + | ||
224 | + | ||
225 | + | func getKeyUserReview (user1,user2) = ((("review_" + user1) + "_") + user2) | |
226 | + | ||
227 | + | ||
228 | + | func getValueUserReview (user1,user2) = getStrByKey(getKeyUserReview(user1, user2)) | |
223 | 229 | ||
224 | 230 | ||
225 | 231 | @Callable(i) | |
226 | 232 | func withdrawDecrybeBalance (amount) = { | |
227 | 233 | let account = toBase58String(i.caller.bytes) | |
228 | 234 | let balance = getValueDecrybeBalance() | |
229 | 235 | if ((account == CREATOR)) | |
230 | 236 | then if ((balance >= amount)) | |
231 | 237 | then TransferSet([ScriptTransfer(addressFromStringValue(account), amount, unit)]) | |
232 | 238 | else throw(("You cannot withdraw an amount greater than " + toString(balance))) | |
233 | 239 | else throw("You can't do that") | |
234 | 240 | } | |
235 | 241 | ||
236 | 242 | ||
237 | 243 | ||
238 | 244 | @Callable(i) | |
239 | 245 | func createTask (task,expiration,data) = { | |
240 | 246 | let account = toBase58String(i.caller.bytes) | |
241 | 247 | let pmt = extract(i.payment) | |
242 | 248 | let pmtAmount = pmt.amount | |
243 | 249 | let payment = ((pmtAmount / ((1 * WAVESLET) + DECRYBEFEE)) * WAVESLET) | |
244 | 250 | let commission = (pmtAmount - payment) | |
245 | 251 | if (isDefined(pmt.assetId)) | |
246 | 252 | then throw("Can use waves only at the moment") | |
247 | 253 | else if ((pmtAmount == 0)) | |
248 | 254 | then throw("Amount must be higher then 0") | |
249 | 255 | else if ((getValueTaskAuthor(task) != NONE)) | |
250 | 256 | then throw("Task already exist") | |
251 | 257 | else if ((getValueUserBio(account) == NONE)) | |
252 | 258 | then throw("User not signup") | |
253 | 259 | else WriteSet([DataEntry(getKeyTaskAuthor(task), account), DataEntry(getKeyTaskBlock(task), height), DataEntry(getKeyTaskExpiration(task), (height + expiration)), DataEntry(getKeyTaskBank(task), payment), DataEntry(getKeyTaskStatus(task), FEATURED), DataEntry(getKeyTaskData(task), data), DataEntry(getKeyDecrybeBalance(), (getValueDecrybeBalance() + commission)), DataEntry(getKeyTaskRating(task), 0)]) | |
254 | 260 | } | |
255 | 261 | ||
256 | 262 | ||
257 | 263 | ||
258 | 264 | @Callable(i) | |
259 | 265 | func signUp (data) = { | |
260 | 266 | let account = toBase58String(i.caller.bytes) | |
261 | 267 | if ((getValueUserBio(account) != NONE)) | |
262 | 268 | then throw("User already exist") | |
263 | 269 | else WriteSet([DataEntry(getKeyUserBio(account), data), DataEntry(getKeyUserBlock(account), height), DataEntry(getKeyUserStatus(account), REGISTERED)]) | |
264 | 270 | } | |
265 | 271 | ||
266 | 272 | ||
267 | 273 | ||
268 | 274 | @Callable(i) | |
269 | 275 | func hireFreelancer (task,freelancer) = { | |
270 | 276 | let account = toBase58String(i.caller.bytes) | |
271 | 277 | if ((getValueTaskData(task) == NONE)) | |
272 | 278 | then throw("Task doesnt exist") | |
273 | 279 | else if ((getValueUserBio(account) == NONE)) | |
274 | 280 | then throw("Customer not signup") | |
275 | 281 | else if ((getValueUserBio(freelancer) == NONE)) | |
276 | 282 | then throw("Freelancer not signup") | |
277 | 283 | else if ((getValueTaskAuthor(task) != account)) | |
278 | 284 | then throw("You're not author") | |
279 | 285 | else if ((getValueTaskStatus(task) != FEATURED)) | |
280 | 286 | then throw("Freelancer is no longer required") | |
281 | 287 | else if ((freelancer == account)) | |
282 | 288 | then throw("You can't hire yourself") | |
283 | 289 | else if ((getValueUserMessage(freelancer, account, "1") == NONE)) | |
284 | 290 | then throw("The freelancer was not attached to the task") | |
285 | 291 | else WriteSet([DataEntry(getKeyTaskFreelancer(task), freelancer), DataEntry(getKeyTaskStatus(task), INPROGRESS)]) | |
286 | 292 | } | |
287 | 293 | ||
288 | 294 | ||
289 | 295 | ||
290 | 296 | @Callable(i) | |
291 | 297 | func sendMessage (task,to,message) = { | |
292 | 298 | let account = toBase58String(i.caller.bytes) | |
293 | 299 | let cnt = (getValueUserMessagesCnt(account, to) + 1) | |
294 | 300 | if ((getValueTaskData(task) == NONE)) | |
295 | 301 | then throw("Task doesnt exist") | |
296 | 302 | else if ((account == to)) | |
297 | 303 | then throw("You can't send messages to yourself") | |
298 | 304 | else if ((getValueUserBio(account) == NONE)) | |
299 | 305 | then throw("Sender not signup") | |
300 | 306 | else if ((getValueUserBio(to) == NONE)) | |
301 | 307 | then throw("Recipient not singup") | |
302 | 308 | else WriteSet([DataEntry(getKeyUserMessagesCnt(account, to), cnt), DataEntry(getKeyUserMessage(account, to, toString(cnt)), message), DataEntry(getKeyUserMessageBlock(account, to, toString(cnt)), height)]) | |
303 | 309 | } | |
304 | 310 | ||
305 | 311 | ||
306 | 312 | ||
307 | 313 | @Callable(i) | |
308 | 314 | func taskUpdate (task,data) = { | |
309 | 315 | let account = toBase58String(i.caller.bytes) | |
310 | 316 | if ((getValueUserBio(account) == NONE)) | |
311 | 317 | then throw("User not signup") | |
312 | 318 | else if ((getValueTaskData(task) == NONE)) | |
313 | 319 | then throw("Task doesnt exist") | |
314 | 320 | else if ((getValueTaskAuthor(task) != account)) | |
315 | 321 | then throw("You're not author") | |
316 | 322 | else if ((getValueTaskStatus(task) != FEATURED)) | |
317 | 323 | then throw("Editing tasks is not available after hiring a freelancer") | |
318 | 324 | else WriteSet([DataEntry(getKeyTaskData(task), data)]) | |
319 | 325 | } | |
320 | 326 | ||
321 | 327 | ||
322 | 328 | ||
323 | 329 | @Callable(i) | |
324 | 330 | func userUpdate (data) = { | |
325 | 331 | let account = toBase58String(i.caller.bytes) | |
326 | 332 | if ((getValueUserBio(account) == NONE)) | |
327 | 333 | then throw("User not signup") | |
328 | 334 | else WriteSet([DataEntry(getKeyUserBio(account), data)]) | |
329 | 335 | } | |
330 | 336 | ||
331 | 337 | ||
332 | 338 | ||
333 | 339 | @Callable(i) | |
334 | 340 | func reportCompleteTask (task) = { | |
335 | 341 | let account = toBase58String(i.caller.bytes) | |
336 | 342 | let stage = (getValueTaskReportCompleteCnt(task, account) + 1) | |
337 | 343 | let taskCreator = getValueTaskAuthor(task) | |
338 | 344 | let status = getValueTaskStatus(task) | |
339 | 345 | let freelancerMessagesCnt = getValueUserMessagesCnt(account, taskCreator) | |
340 | 346 | let lastFreelancerMessage = getValueUserMessage(account, taskCreator, toString(freelancerMessagesCnt)) | |
341 | 347 | if ((getValueUserBio(account) == NONE)) | |
342 | 348 | then throw("User not signup") | |
343 | 349 | else if ((getValueTaskAuthor(task) == account)) | |
344 | 350 | then throw("You are author") | |
345 | 351 | else if ((getValueTaskFreelancer(task) != account)) | |
346 | 352 | then throw("You are not freelancer") | |
347 | 353 | else if ((status != INPROGRESS)) | |
348 | 354 | then throw(("Status must be in progress, now: " + status)) | |
349 | 355 | else if ((getValueTaskFreelancer(task) == NONE)) | |
350 | 356 | then throw("Task freelancer doesnt exist") | |
351 | 357 | else WriteSet([DataEntry(getKeyTaskReportComplete(account, task, toString(stage)), freelancerMessagesCnt), DataEntry(getKeyTaskStatus(task), PENDING)]) | |
352 | 358 | } | |
353 | 359 | ||
354 | 360 | ||
355 | 361 | ||
356 | 362 | @Callable(i) | |
357 | 363 | func acceptWork (task,complete) = { | |
358 | 364 | let account = toBase58String(i.caller.bytes) | |
359 | 365 | let creator = getValueTaskAuthor(task) | |
360 | 366 | let freelancer = getValueTaskFreelancer(task) | |
361 | 367 | let stage = getValueTaskReportCompleteCnt(task, freelancer) | |
362 | 368 | let status = getValueTaskStatus(task) | |
363 | 369 | let bank = getValueTaskBank(task) | |
364 | 370 | if ((getValueUserBio(account) == NONE)) | |
365 | 371 | then throw("Sender not signup") | |
366 | 372 | else if ((getValueTaskData(task) == NONE)) | |
367 | 373 | then throw("Task doesnt exist") | |
368 | 374 | else if ((account != creator)) | |
369 | 375 | then throw("You are not author") | |
370 | 376 | else if ((status != PENDING)) | |
371 | 377 | then throw("Freelancer doesnt complete the task") | |
372 | 378 | else if (complete) | |
373 | 379 | then ScriptResult(WriteSet([DataEntry(getKeyTaskStatus(task), COMPLETED), DataEntry(getKeyUserRating(freelancer), (getValueUserRating(freelancer) + 1)), DataEntry(getKeyUserRatingVote(account, freelancer), "positive"), DataEntry(getKeyTaskBank(task), "0")]), TransferSet([ScriptTransfer(addressFromStringValue(freelancer), bank, unit)])) | |
374 | 380 | else WriteSet([DataEntry(getKeyTaskStatus(task), INPROGRESS)]) | |
375 | 381 | } | |
376 | 382 | ||
377 | 383 | ||
378 | 384 | ||
379 | 385 | @Callable(i) | |
380 | 386 | func moveDeadline (task,deadline) = { | |
381 | 387 | let account = toBase58String(i.caller.bytes) | |
382 | 388 | let creator = getValueTaskAuthor(task) | |
383 | 389 | let expiration = getValueTaskExpiration(task) | |
384 | 390 | let status = getValueTaskStatus(task) | |
385 | 391 | if ((status == COMPLETED)) | |
386 | 392 | then throw("The task is completed") | |
387 | 393 | else if ((status == INDISPUTE)) | |
388 | 394 | then throw("You can't change the deadline at this time") | |
389 | 395 | else if ((account != creator)) | |
390 | 396 | then throw("You are not author of the task") | |
391 | 397 | else if ((height > deadline)) | |
392 | 398 | then throw("The deadline must be > the current block") | |
393 | 399 | else if ((expiration > deadline)) | |
394 | 400 | then throw("The deadline can only be moved forward") | |
395 | 401 | else WriteSet([DataEntry(getKeyTaskExpiration(task), deadline)]) | |
396 | 402 | } | |
397 | 403 | ||
398 | 404 | ||
399 | 405 | ||
400 | 406 | @Callable(i) | |
401 | 407 | func voteTask (task,vote) = { | |
402 | 408 | let account = toBase58String(i.caller.bytes) | |
403 | 409 | if ((getValueUserBio(account) == NONE)) | |
404 | 410 | then throw("User not signup") | |
405 | 411 | else if ((getValueTaskAuthor(task) == account)) | |
406 | 412 | then throw("You cannot change the rating of a task") | |
407 | 413 | else if ((getValueTaskData(task) == NONE)) | |
408 | 414 | then throw("Task doesnt exist") | |
409 | 415 | else if ((getValueTaskStatus(task) != FEATURED)) | |
410 | 416 | then throw("Now you can’t lower the task rating") | |
411 | 417 | else if ((getValueTaskUserVoteRating(task, account) != NONE)) | |
412 | 418 | then throw("You have already voted") | |
413 | 419 | else if ((vote == "positive")) | |
414 | 420 | then WriteSet([DataEntry(getKeyTaskRating(task), (getValueTaskRating(task) + 1)), DataEntry(getKeyTaskUserVoteRating(task, account), "positive")]) | |
415 | 421 | else if ((vote == "negative")) | |
416 | 422 | then WriteSet([DataEntry(getKeyTaskRating(task), (getValueTaskRating(task) - 1)), DataEntry(getKeyTaskUserVoteRating(task, account), "negative")]) | |
417 | 423 | else throw("Use positive/negative only") | |
418 | 424 | } | |
419 | 425 | ||
420 | 426 | ||
421 | 427 | ||
422 | 428 | @Callable(i) | |
423 | 429 | func reportUser (user) = { | |
424 | 430 | let account = toBase58String(i.caller.bytes) | |
425 | 431 | if ((getValueUserBio(account) == NONE)) | |
426 | 432 | then throw("You not signup") | |
427 | 433 | else if ((getValueUserBio(user) == NONE)) | |
428 | 434 | then throw("User not signup") | |
429 | 435 | else if ((user == account)) | |
430 | 436 | then throw("You can't complain about yourself") | |
431 | 437 | else if ((getValueUserRatingVote(account, user) != NONE)) | |
432 | 438 | then throw("You have already voted") | |
433 | 439 | else WriteSet([DataEntry(getKeyUserRating(user), (getValueUserRating(user) - 1)), DataEntry(getKeyUserRatingVote(account, user), "negative")]) | |
434 | 440 | } | |
435 | 441 | ||
436 | 442 | ||
437 | 443 | ||
438 | 444 | @Callable(i) | |
439 | 445 | func openTaskDispute (task,message) = { | |
440 | 446 | let account = toBase58String(i.caller.bytes) | |
441 | 447 | let creator = getValueTaskAuthor(task) | |
442 | 448 | let freelancer = getValueTaskFreelancer(task) | |
443 | 449 | let status = getValueTaskStatus(task) | |
444 | 450 | if ((getValueUserBio(account) == NONE)) | |
445 | 451 | then throw("You not signup") | |
446 | 452 | else if ((getValueTaskData(task) == NONE)) | |
447 | 453 | then throw("Task doesnt exist") | |
448 | 454 | else if (if ((account != creator)) | |
449 | 455 | then (account != freelancer) | |
450 | 456 | else false) | |
451 | 457 | then throw((((("You must be a freelancer (" + freelancer) + ") or a customer (") + creator) + ") of this task")) | |
452 | 458 | else if ((status == INDISPUTE)) | |
453 | 459 | then throw("Dispute already open") | |
454 | 460 | else if (if ((status != INPROGRESS)) | |
455 | 461 | then (status != PENDING) | |
456 | 462 | else false) | |
457 | 463 | then throw("You can't create a dispute right now") | |
458 | 464 | else WriteSet([DataEntry(getKeyTaskDispute(task), account), DataEntry(getKeyTaskDisputeMessage(task, account, "0"), message), DataEntry(getKeyTaskDisputeMessageBlock(task, account, "0"), height), DataEntry(getKeyTaskStatus(task), INDISPUTE)]) | |
459 | 465 | } | |
460 | 466 | ||
461 | 467 | ||
462 | 468 | ||
463 | 469 | @Callable(i) | |
464 | 470 | func voteTaskDispute (task,variant,message) = { | |
465 | 471 | let account = toBase58String(i.caller.bytes) | |
466 | 472 | let creator = getValueTaskAuthor(task) | |
467 | 473 | let freelancer = getValueTaskFreelancer(task) | |
468 | 474 | if ((getValueUserBio(account) == NONE)) | |
469 | 475 | then throw("You not signup") | |
470 | 476 | else if ((getValueTaskData(task) == NONE)) | |
471 | 477 | then throw("Task doesnt exist") | |
472 | 478 | else if ((getValueTaskDispute(task) == NONE)) | |
473 | 479 | then throw("Dispute doesnt exist") | |
474 | 480 | else if ((account == creator)) | |
475 | 481 | then throw("The creator of the task can not vote") | |
476 | 482 | else if ((account == freelancer)) | |
477 | 483 | then throw("The freelancer of the task can not vote") | |
478 | 484 | else if ((getValueTaskDisputeVoteVariant(task, account) != NONE)) | |
479 | 485 | then throw("You have already voted") | |
480 | 486 | else if ((variant == "customer")) | |
481 | 487 | then WriteSet([DataEntry(getKeyTaskDisputeVoteCustomer(task), (getValueTaskDisputeVoteCustomer(task) + 1)), DataEntry(getKeyTaskDisputeVoteVariant(task, account), "customer"), DataEntry(getKeyTaskDisputeComment(task, account), message), DataEntry(getKeyTaskDisputeCommentBlock(task, account), height)]) | |
482 | 488 | else if ((variant == "freelancer")) | |
483 | 489 | then WriteSet([DataEntry(getKeyTaskDisputeVoteFreelancer(task), (getValueTaskDisputeVoteFreelancer(task) + 1)), DataEntry(getKeyTaskDisputeVoteVariant(task, account), "freelancer"), DataEntry(getKeyTaskDisputeComment(task, account), message), DataEntry(getKeyTaskDisputeCommentBlock(task, account), height)]) | |
484 | 490 | else throw("Select one of the sides") | |
485 | 491 | } | |
486 | 492 | ||
487 | 493 | ||
488 | 494 | ||
489 | 495 | @Callable(i) | |
490 | 496 | func taskDisputeMessage (task,message) = { | |
491 | 497 | let account = toBase58String(i.caller.bytes) | |
492 | 498 | let creator = getValueTaskAuthor(task) | |
493 | 499 | let freelancer = getValueTaskFreelancer(task) | |
494 | 500 | let cnt = (getValueTaskDisputeMessagesCnt(task, account) + 1) | |
495 | 501 | if ((getValueUserBio(account) == NONE)) | |
496 | 502 | then throw("You not signup") | |
497 | 503 | else if ((getValueTaskData(task) == NONE)) | |
498 | 504 | then throw("Task doesnt exist") | |
499 | 505 | else if ((getValueTaskDispute(task) == NONE)) | |
500 | 506 | then throw("Dispute doesnt exist") | |
501 | 507 | else if (if ((account != creator)) | |
502 | 508 | then (account != freelancer) | |
503 | 509 | else false) | |
504 | 510 | then throw((((("You must be a freelancer (" + freelancer) + ") or a customer (") + creator) + ") of this task")) | |
505 | 511 | else if ((getValueTaskStatus(task) != INDISPUTE)) | |
506 | 512 | then throw("You cannot send messages at this time") | |
507 | 513 | else WriteSet([DataEntry(getKeyTaskDisputeMessage(task, account, toString(cnt)), message), DataEntry(getKeyTaskDisputeMessageBlock(task, account, toString(cnt)), height), DataEntry(getKeyTaskDisputeMessagesCnt(task, account), cnt)]) | |
508 | 514 | } | |
509 | 515 | ||
510 | 516 | ||
511 | 517 | ||
512 | 518 | @Callable(i) | |
513 | 519 | func cancelTask (task) = { | |
514 | 520 | let account = toBase58String(i.caller.bytes) | |
515 | 521 | let creator = getValueTaskAuthor(task) | |
516 | 522 | let bank = getValueTaskBank(task) | |
517 | 523 | if ((getValueUserBio(account) == NONE)) | |
518 | 524 | then throw("You not signup") | |
519 | 525 | else if ((getValueTaskData(task) == NONE)) | |
520 | 526 | then throw("Task doesnt exist") | |
521 | 527 | else if ((account != creator)) | |
522 | 528 | then throw("You are not author of the task") | |
523 | 529 | else if ((getValueTaskStatus(task) != FEATURED)) | |
524 | 530 | then throw("You can't cancel the task now") | |
525 | 531 | else ScriptResult(WriteSet([DataEntry(getKeyTaskStatus(task), CANCELED)]), TransferSet([ScriptTransfer(addressFromStringValue(creator), bank, unit)])) | |
526 | 532 | } | |
527 | 533 | ||
528 | 534 | ||
529 | 535 | ||
530 | 536 | @Callable(i) | |
531 | 537 | func defineDisputeWinner (task) = { | |
532 | 538 | let account = toBase58String(i.caller.bytes) | |
533 | 539 | let customer = getValueTaskAuthor(task) | |
534 | 540 | let freelancer = getValueTaskFreelancer(task) | |
535 | 541 | let bank = getValueTaskBank(task) | |
536 | 542 | let votesForCustomer = getValueTaskDisputeVoteCustomer(task) | |
537 | 543 | let votesForFreelancer = getValueTaskDisputeVoteFreelancer(task) | |
538 | 544 | let totalVotes = (votesForCustomer + votesForFreelancer) | |
539 | 545 | if ((getValueUserBio(account) == NONE)) | |
540 | 546 | then throw("You not signup") | |
541 | 547 | else if ((getValueTaskStatus(task) != INDISPUTE)) | |
542 | 548 | then throw("The dispute is closed or not open") | |
543 | 549 | else if ((3 > totalVotes)) | |
544 | 550 | then throw(("Need minimum 3 votes. Now: " + toString(totalVotes))) | |
545 | 551 | else if ((votesForCustomer > votesForFreelancer)) | |
546 | 552 | then ScriptResult(WriteSet([DataEntry(getKeyTaskStatus(task), COMPLETED)]), TransferSet([ScriptTransfer(addressFromStringValue(customer), bank, unit)])) | |
547 | 553 | else if ((votesForFreelancer > votesForCustomer)) | |
548 | 554 | then ScriptResult(WriteSet([DataEntry(getKeyTaskStatus(task), COMPLETED)]), TransferSet([ScriptTransfer(addressFromStringValue(freelancer), bank, unit)])) | |
549 | 555 | else ScriptResult(WriteSet([DataEntry(getKeyTaskStatus(task), COMPLETED)]), TransferSet([ScriptTransfer(addressFromStringValue(freelancer), (bank / 2), unit), ScriptTransfer(addressFromStringValue(customer), (bank / 2), unit)])) | |
550 | 556 | } | |
551 | 557 | ||
552 | 558 | ||
559 | + | ||
560 | + | @Callable(i) | |
561 | + | func leaveUserReview (user,task,review) = { | |
562 | + | let account = toBase58String(i.caller.bytes) | |
563 | + | let customer = getValueTaskAuthor(task) | |
564 | + | let freelancer = getValueTaskFreelancer(task) | |
565 | + | if ((getValueUserBio(account) == NONE)) | |
566 | + | then throw("You not signup") | |
567 | + | else if (if (if (if ((user != customer)) | |
568 | + | then (user != freelancer) | |
569 | + | else false) | |
570 | + | then (account != customer) | |
571 | + | else false) | |
572 | + | then (account != freelancer) | |
573 | + | else false) | |
574 | + | then throw("You have not worked with this user") | |
575 | + | else if ((getValueTaskStatus(task) != COMPLETED)) | |
576 | + | then throw("You can't leave feedback until the task is completed") | |
577 | + | else if ((getValueUserReview(account, user) != NONE)) | |
578 | + | then throw("have you already left a review for this user") | |
579 | + | else WriteSet([DataEntry(getKeyUserReview(account, user), review)]) | |
580 | + | } | |
581 | + | ||
582 | + |
github/deemru/w8io/169f3d6 208.91 ms ◑