tx · AAP89xun8D1cm34hAQK1jZw6iJ9QxoSkFsfant8d5Wph 3Mqn3vqCeTsYQgHyvh7GGseW25rC4U12AMj: -0.01400000 Waves 2021.02.16 16:14 [1400771] smart account 3Mqn3vqCeTsYQgHyvh7GGseW25rC4U12AMj > SELF 0.00000000 Waves
{ "type": 13, "id": "AAP89xun8D1cm34hAQK1jZw6iJ9QxoSkFsfant8d5Wph", "fee": 1400000, "feeAssetId": null, "timestamp": 1613481269894, "version": 2, "chainId": 84, "sender": "3Mqn3vqCeTsYQgHyvh7GGseW25rC4U12AMj", "senderPublicKey": "z8zqAen7hrG9KsJdk2qRBvBWWpZRq5KSWSE52UxdpLo", "proofs": [ "3SrrKN5S1KgH7S9e6uxSzxPBe3cN6JqpmvLk58rE8puMK3FzvzR8JZofCvaH9BEWkRTHKoKmVENuWoGKGfzipDSd" ], "script": "base64:AAIDAAAAAAAAAE8IARIECgIICBIDCgEIEgQKAggIEgMKAQgSBQoDCAgIEgUKAwgICBIDCgEIEgQKAggIEgQKAggIEgMKAQgSBQoDCAgIEgUKAwgICBIDCgEIAAAAGAAAAAAGUVVPUlVNAAAAAAAAAAABAAAAAAxtYWluQ29udHJhY3QJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM045N2lhY1JhcGJLUU13RHhvYmN3QXZOazhXU2IzVFB3angBAAAADXRyeUdldEludGVnZXIAAAABAAAAA2tleQQAAAADdmFsBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAAAAAAAAAAAABQAAAAN2YWwBAAAADHRyeUdldFN0cmluZwAAAAEAAAADa2V5BAAAAAN2YWwEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAA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c2tzXwUAAAAGdGFza0lkAgAAAAdfcmVwb3J0BQAAAApyZXBvcnRMaW5rBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAHEBleHRyVXNlcihhZGRyZXNzRnJvbVN0cmluZykAAAABBQAAAAt0ZWFtQWRkcmVzcwUAAAAMcmV3YXJkQW1vdW50BQAAAAR1bml0BQAAAANuaWwJAAACAAAAAQIAAAAVY2hlY2tzIGFyZSBub3QgcGFzc2VkAAAAAWkBAAAACnJlamVjdFRhc2sAAAABAAAABnRhc2tJZAMJAQAAAAEhAAAAAQkBAAAADWlzR3JvdXBNZW1iZXIAAAABCAUAAAABaQAAAAZjYWxsZXIJAAACAAAAAQIAAAAgZ3JhbnRzIHdvcmtpbmcgZ3JvdXAgYWNjZXNzIG9ubHkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAZ0YXNrc18FAAAABnRhc2tJZAIAAAAHX3N0YXR1cwIAAAAIcmVqZWN0ZWQFAAAAA25pbAAAAADUR4wp", "height": 1400771, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6XKZpyezLVFvrH63LWSANhVt5fECtcH35GzXRS2hzr5 Next: CtoVnyQddZosj6A2ZNzsn2scHTgT8c24NzCSsHekdsNH Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let QUORUM = 1 | |
5 | 5 | ||
6 | - | let mainContract = addressFromStringValue(" | |
6 | + | let mainContract = addressFromStringValue("3N97iacRapbKQMwDxobcwAvNk8WSb3TPwjx") | |
7 | 7 | ||
8 | 8 | func tryGetInteger (key) = { | |
9 | 9 | let val = match getInteger(this, key) { | |
198 | 198 | ||
199 | 199 | @Callable(i) | |
200 | 200 | func addTask (title,link) = if (addTaskConditions(i.caller)) | |
201 | - | then WriteSet([DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_title"), title), DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_link"), link)]) | |
201 | + | then WriteSet([DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_title"), title), DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_link"), link), DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_createdAt"), lastBlock.timestamp)]) | |
202 | 202 | else throw("checks are not passed") | |
203 | 203 | ||
204 | 204 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let QUORUM = 1 | |
5 | 5 | ||
6 | - | let mainContract = addressFromStringValue(" | |
6 | + | let mainContract = addressFromStringValue("3N97iacRapbKQMwDxobcwAvNk8WSb3TPwjx") | |
7 | 7 | ||
8 | 8 | func tryGetInteger (key) = { | |
9 | 9 | let val = match getInteger(this, key) { | |
10 | 10 | case b: Int => | |
11 | 11 | b | |
12 | 12 | case _ => | |
13 | 13 | 0 | |
14 | 14 | } | |
15 | 15 | val | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func tryGetString (key) = { | |
20 | 20 | let val = match getString(this, key) { | |
21 | 21 | case b: String => | |
22 | 22 | b | |
23 | 23 | case _ => | |
24 | 24 | "" | |
25 | 25 | } | |
26 | 26 | val | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func getGroup () = { | |
31 | 31 | let val = match getString(mainContract, "working_group_members") { | |
32 | 32 | case b: String => | |
33 | 33 | b | |
34 | 34 | case _ => | |
35 | 35 | "" | |
36 | 36 | } | |
37 | 37 | val | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func getMembers () = { | |
42 | 42 | let val = match getString(mainContract, "dao_members") { | |
43 | 43 | case b: String => | |
44 | 44 | b | |
45 | 45 | case _ => | |
46 | 46 | "" | |
47 | 47 | } | |
48 | 48 | val | |
49 | 49 | } | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func getDAOSize () = { | |
53 | 53 | let val = match getInteger(mainContract, "dao_size") { | |
54 | 54 | case b: Int => | |
55 | 55 | b | |
56 | 56 | case _ => | |
57 | 57 | 0 | |
58 | 58 | } | |
59 | 59 | val | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func isGroupMember (a) = { | |
64 | 64 | let val = match getInteger(mainContract, (("working_group_member_" + toString(a)) + "_weight")) { | |
65 | 65 | case b: Int => | |
66 | 66 | b | |
67 | 67 | case _ => | |
68 | 68 | 0 | |
69 | 69 | } | |
70 | 70 | (val > 0) | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func canMemberVote (address) = { | |
75 | 75 | let val = match getInteger(mainContract, (("dao_member_" + toString(address)) + "_weight")) { | |
76 | 76 | case b: Int => | |
77 | 77 | b | |
78 | 78 | case _ => | |
79 | 79 | 0 | |
80 | 80 | } | |
81 | 81 | (val > 0) | |
82 | 82 | } | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func isJuryMember (address,taskId) = canMemberVote(address) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func getVoteValue (s) = if ((s == "like")) | |
89 | 89 | then 1 | |
90 | 90 | else if ((s == "dislike")) | |
91 | 91 | then -1 | |
92 | 92 | else throw("you need to vote with 'like' or 'dislike' value") | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func addTaskConditions (address) = if (!(isGroupMember(address))) | |
96 | 96 | then throw("grants working group access only") | |
97 | 97 | else true | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func addRewardConditions (address,taskId) = if (!(isGroupMember(address))) | |
101 | 101 | then throw("grants working group access only") | |
102 | 102 | else if ((tryGetString((("tasks_" + taskId) + "_status")) != "")) | |
103 | 103 | then throw("grant isn`t new") | |
104 | 104 | else true | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func voteForTaskProposalConditions (address,taskId) = if (!(canMemberVote(address))) | |
108 | 108 | then throw("you can't vote") | |
109 | 109 | else if ((tryGetString((("tasks_" + taskId) + "_status")) != "proposed")) | |
110 | 110 | then throw("voting is closed or not started") | |
111 | 111 | else if ((tryGetInteger(((("tasks_" + taskId) + "_voted_") + toString(address))) != 0)) | |
112 | 112 | then throw("you have already voted") | |
113 | 113 | else true | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func finishTaskProposalVotingConditions (address,taskId) = if (!(isGroupMember(address))) | |
117 | 117 | then throw("grants working group access only") | |
118 | 118 | else if ((tryGetString((("tasks_" + taskId) + "_status")) != "proposed")) | |
119 | 119 | then throw("voting is not active") | |
120 | 120 | else if ((QUORUM > ((tryGetInteger((("tasks_" + taskId) + "_voting_amount")) * 100) / getDAOSize()))) | |
121 | 121 | then throw((("more than " + toString(QUORUM)) + "% members have to vote before finishing the voting")) | |
122 | 122 | else true | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func applyForTaskConditions (address,taskId,teamIdentifier) = if ((tryGetString((("tasks_" + taskId) + "_status")) != "ready_to_apply")) | |
126 | 126 | then throw("this grant has not yet been approved") | |
127 | 127 | else if ((tryGetString((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_leader")) == toString(address))) | |
128 | 128 | then throw("you are applied") | |
129 | 129 | else true | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func voteForApplicantConditions (address,taskId,teamIdentifier) = { | |
133 | 133 | let voteHash = (drop(toString(address), 10) + drop(teamIdentifier, 10)) | |
134 | 134 | if (!(canMemberVote(address))) | |
135 | 135 | then throw("you can't vote") | |
136 | 136 | else if ((tryGetString((("tasks_" + taskId) + "_status")) != "ready_to_apply")) | |
137 | 137 | then throw("voting is not active") | |
138 | 138 | else if ((tryGetInteger(((("tasks_" + taskId) + "_vote_") + voteHash)) != 0)) | |
139 | 139 | then throw("you have already voted on this team") | |
140 | 140 | else true | |
141 | 141 | } | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func finishApplicantsVotingConditions (address,taskId,applicantsList) = if (!(isGroupMember(address))) | |
145 | 145 | then throw("grants working group access only") | |
146 | 146 | else if ((tryGetString((("tasks_" + taskId) + "_status")) != "ready_to_apply")) | |
147 | 147 | then throw("voting is not active") | |
148 | 148 | else if ((size(applicantsList) == 0)) | |
149 | 149 | then throw("no one has yet responded to the grant") | |
150 | 150 | else true | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func startWorkConditions (address,taskId,teamIdentifier) = if ((tryGetString((("tasks_" + taskId) + "_status")) != "team_chosen")) | |
154 | 154 | then throw("winner is not define") | |
155 | 155 | else if ((toString(address) != tryGetString((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_leader")))) | |
156 | 156 | then throw("team leader only") | |
157 | 157 | else true | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func acceptWorkResultConditions (address,taskId,winnerIdentifier) = if (!(isGroupMember(address))) | |
161 | 161 | then throw("grants working group access only") | |
162 | 162 | else if ((tryGetString((("tasks_" + taskId) + "_status")) != "work_finished")) | |
163 | 163 | then throw("work is not finished") | |
164 | 164 | else if ((1 > tryGetInteger((((("tasks_" + taskId) + "_app_") + winnerIdentifier) + "_score_solution")))) | |
165 | 165 | then throw("negative assessment") | |
166 | 166 | else true | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func enableSubmissionsConditions (address,taskId) = if (!(isGroupMember(address))) | |
170 | 170 | then throw("grants working group access only") | |
171 | 171 | else true | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func submitSolutionConditions (address,taskId,teamIdentifier) = if ((tryGetString((("tasks_" + taskId) + "_status")) != "work_started")) | |
175 | 175 | then throw("work is not started") | |
176 | 176 | else if ((toString(address) != tryGetString((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_leader")))) | |
177 | 177 | then throw("team leader only") | |
178 | 178 | else if ((1 > tryGetInteger((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_score_applicant")))) | |
179 | 179 | then throw("your team is not approved") | |
180 | 180 | else if ((tryGetString((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_process")) == "work_submitted")) | |
181 | 181 | then throw("you have already presented the solution") | |
182 | 182 | else true | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func stopSubmissionsConditions (address,taskId) = if (!(isGroupMember(address))) | |
186 | 186 | then throw("grants working group access only") | |
187 | 187 | else if ((tryGetString((("tasks_" + taskId) + "_status")) != "work_started")) | |
188 | 188 | then throw("work is not started") | |
189 | 189 | else true | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func voteForSolutionConditions (address,taskId) = if (!(isJuryMember(address, taskId))) | |
193 | 193 | then throw("you can't vote") | |
194 | 194 | else if ((tryGetString((("tasks_" + taskId) + "_status")) != "work_finished")) | |
195 | 195 | then throw("work is not started") | |
196 | 196 | else true | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | @Callable(i) | |
200 | 200 | func addTask (title,link) = if (addTaskConditions(i.caller)) | |
201 | - | then WriteSet([DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_title"), title), DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_link"), link)]) | |
201 | + | then WriteSet([DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_title"), title), DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_link"), link), DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_createdAt"), lastBlock.timestamp)]) | |
202 | 202 | else throw("checks are not passed") | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | ||
206 | 206 | @Callable(i) | |
207 | 207 | func addReward (taskId) = if (addRewardConditions(i.caller, taskId)) | |
208 | 208 | then { | |
209 | 209 | let reward = extract(i.payment).amount | |
210 | 210 | WriteSet([DataEntry((("tasks_" + taskId) + "_reward"), reward), DataEntry((("tasks_" + taskId) + "_status"), "proposed")]) | |
211 | 211 | } | |
212 | 212 | else throw("checks are not passed") | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | ||
216 | 216 | @Callable(i) | |
217 | 217 | func voteForTaskProposal (taskId,voteValue) = if (voteForTaskProposalConditions(i.caller, taskId)) | |
218 | 218 | then { | |
219 | 219 | let voteKey = ((("tasks_" + taskId) + "_voted_") + toString(i.caller)) | |
220 | 220 | let votingKey = (("tasks_" + taskId) + "_voting_state") | |
221 | 221 | let votingState = tryGetInteger(votingKey) | |
222 | 222 | let votesAmountKey = (("tasks_" + taskId) + "_voting_amount") | |
223 | 223 | let votesAmountState = (tryGetInteger(votingKey) + 1) | |
224 | 224 | let voteValueInt = getVoteValue(voteValue) | |
225 | 225 | let newVotingState = (votingState + voteValueInt) | |
226 | 226 | WriteSet([DataEntry(votingKey, newVotingState), DataEntry(voteKey, voteValueInt), DataEntry(votesAmountKey, votesAmountState)]) | |
227 | 227 | } | |
228 | 228 | else throw("checks are not passed") | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | ||
232 | 232 | @Callable(i) | |
233 | 233 | func finishTaskProposalVoting (taskId) = if (finishTaskProposalVotingConditions(i.caller, taskId)) | |
234 | 234 | then { | |
235 | 235 | let votingKey = (("tasks_" + taskId) + "_voting_state") | |
236 | 236 | WriteSet([DataEntry((("tasks_" + taskId) + "_status"), if ((tryGetInteger(votingKey) > 0)) | |
237 | 237 | then "ready_to_apply" | |
238 | 238 | else "rejected")]) | |
239 | 239 | } | |
240 | 240 | else throw("checks are not passed") | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | ||
244 | 244 | @Callable(i) | |
245 | 245 | func applyForTask (taskId,teamName,link) = { | |
246 | 246 | let teamIdentifier = drop(toString(i.caller), 10) | |
247 | 247 | if (applyForTaskConditions(i.caller, taskId, teamIdentifier)) | |
248 | 248 | then { | |
249 | 249 | let listKey = (("tasks_" + taskId) + "_applicants") | |
250 | 250 | let currentApplicantsList = tryGetString(listKey) | |
251 | 251 | let newApplicantsList = ((currentApplicantsList + ";") + toString(i.caller)) | |
252 | 252 | WriteSet([DataEntry((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_name"), teamName), DataEntry((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_link"), link), DataEntry((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_leader"), toString(i.caller)), DataEntry((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_id"), teamIdentifier), DataEntry(listKey, newApplicantsList)]) | |
253 | 253 | } | |
254 | 254 | else throw("checks are not passed") | |
255 | 255 | } | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | ||
259 | 259 | @Callable(i) | |
260 | 260 | func voteForApplicant (taskId,teamIdentifier,voteValue) = if (voteForApplicantConditions(i.caller, taskId, teamIdentifier)) | |
261 | 261 | then { | |
262 | 262 | let listKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_voted_applicant") | |
263 | 263 | let newApplicantsList = ((tryGetString(listKey) + ";") + toString(i.caller)) | |
264 | 264 | let voteHash = (drop(toString(i.caller), 20) + teamIdentifier) | |
265 | 265 | let voteKey = ((("tasks_" + taskId) + "_vh_") + voteHash) | |
266 | 266 | if ((tryGetString(voteKey) == toString(i.caller))) | |
267 | 267 | then throw("you have already voted on this team") | |
268 | 268 | else { | |
269 | 269 | let teamVotesAmountKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_votes_applicant") | |
270 | 270 | let teamScoreKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_score_applicant") | |
271 | 271 | let teamVotesAmount = (1 + tryGetInteger(teamVotesAmountKey)) | |
272 | 272 | let newTeamScore = (getVoteValue(voteValue) + tryGetInteger(teamScoreKey)) | |
273 | 273 | WriteSet([DataEntry(listKey, newApplicantsList), DataEntry(voteKey, toString(i.caller)), DataEntry(teamVotesAmountKey, teamVotesAmount), DataEntry(teamScoreKey, newTeamScore)]) | |
274 | 274 | } | |
275 | 275 | } | |
276 | 276 | else throw("checks are not passed") | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | ||
280 | 280 | @Callable(i) | |
281 | 281 | func finishApplicantsVoting (taskId) = { | |
282 | 282 | let listKeys = tryGetString((("tasks_" + taskId) + "_applicants")) | |
283 | 283 | let applicantsList = split(listKeys, ";") | |
284 | 284 | if (finishApplicantsVotingConditions(i.caller, taskId, applicantsList)) | |
285 | 285 | then WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "ready_to_submit")]) | |
286 | 286 | else throw("checks are not passed") | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | ||
291 | 291 | @Callable(i) | |
292 | 292 | func enableSubmissions (taskId,juryList) = if (enableSubmissionsConditions(i.caller, taskId)) | |
293 | 293 | then WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "work_started"), DataEntry((("tasks_" + taskId) + "_jury"), juryList)]) | |
294 | 294 | else throw("checks are not passed") | |
295 | 295 | ||
296 | 296 | ||
297 | 297 | ||
298 | 298 | @Callable(i) | |
299 | 299 | func submitSolution (taskId,solutionLink) = { | |
300 | 300 | let teamIdentifier = drop(toString(i.caller), 10) | |
301 | 301 | if (submitSolutionConditions(i.caller, taskId, teamIdentifier)) | |
302 | 302 | then WriteSet([DataEntry((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_process"), "work_submitted"), DataEntry((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_solution"), solutionLink)]) | |
303 | 303 | else throw("checks are not passed") | |
304 | 304 | } | |
305 | 305 | ||
306 | 306 | ||
307 | 307 | ||
308 | 308 | @Callable(i) | |
309 | 309 | func stopSubmissions (taskId) = if (stopSubmissionsConditions(i.caller, taskId)) | |
310 | 310 | then WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "work_finished")]) | |
311 | 311 | else throw("checks are not passed") | |
312 | 312 | ||
313 | 313 | ||
314 | 314 | ||
315 | 315 | @Callable(i) | |
316 | 316 | func voteForSolution (taskId,teamIdentifier,voteValue) = if (voteForSolutionConditions(i.caller, taskId)) | |
317 | 317 | then { | |
318 | 318 | let listKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_voted_solution") | |
319 | 319 | let newVotedList = ((tryGetString(listKey) + ";") + toString(i.caller)) | |
320 | 320 | let voteHash = (drop(toString(i.caller), 20) + teamIdentifier) | |
321 | 321 | let voteKey = ((("tasks_" + taskId) + "_vs_") + voteHash) | |
322 | 322 | if ((tryGetString(voteKey) == toString(i.caller))) | |
323 | 323 | then throw("you have already voted on this team") | |
324 | 324 | else { | |
325 | 325 | let teamVotesAmountKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_votes_solution") | |
326 | 326 | let teamScoreKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_score_solution") | |
327 | 327 | let teamVotesAmount = (1 + tryGetInteger(teamVotesAmountKey)) | |
328 | 328 | let newTeamScore = (getVoteValue(voteValue) + tryGetInteger(teamScoreKey)) | |
329 | 329 | WriteSet([DataEntry(listKey, newVotedList), DataEntry(voteKey, toString(i.caller)), DataEntry(teamVotesAmountKey, teamVotesAmount), DataEntry(teamScoreKey, newTeamScore)]) | |
330 | 330 | } | |
331 | 331 | } | |
332 | 332 | else throw("checks are not passed") | |
333 | 333 | ||
334 | 334 | ||
335 | 335 | ||
336 | 336 | @Callable(i) | |
337 | 337 | func acceptWorkResult (taskId,winnerIdentifier,reportLink) = if (acceptWorkResultConditions(i.caller, taskId, winnerIdentifier)) | |
338 | 338 | then { | |
339 | 339 | let rewardAmount = tryGetInteger((("tasks_" + taskId) + "_reward")) | |
340 | 340 | let teamAddress = getStringValue(this, (((("tasks_" + taskId) + "_app_") + winnerIdentifier) + "_leader")) | |
341 | 341 | ScriptResult(WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "solution_chosen"), DataEntry((((("tasks_" + taskId) + "_app_") + winnerIdentifier) + "_process"), "winner"), DataEntry((("tasks_" + taskId) + "_report"), reportLink)]), TransferSet([ScriptTransfer(addressFromStringValue(teamAddress), rewardAmount, unit)])) | |
342 | 342 | } | |
343 | 343 | else throw("checks are not passed") | |
344 | 344 | ||
345 | 345 | ||
346 | 346 | ||
347 | 347 | @Callable(i) | |
348 | 348 | func rejectTask (taskId) = if (!(isGroupMember(i.caller))) | |
349 | 349 | then throw("grants working group access only") | |
350 | 350 | else WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "rejected")]) | |
351 | 351 | ||
352 | 352 |
github/deemru/w8io/169f3d6 78.05 ms ◑