tx · HsQcTxzGa3T7566WaQRLGzRyMi8pKKFUv9RgM6mfFRKb 3MutoJzdTrUrDBhCu1qU6FRgAADLadZEL9D: -0.10000000 Waves 2021.01.11 15:55 [1348814] smart account 3MutoJzdTrUrDBhCu1qU6FRgAADLadZEL9D > SELF 0.00000000 Waves
{ "type": 13, "id": "HsQcTxzGa3T7566WaQRLGzRyMi8pKKFUv9RgM6mfFRKb", "fee": 10000000, "feeAssetId": null, "timestamp": 1610369708047, "version": 2, "chainId": 84, "sender": "3MutoJzdTrUrDBhCu1qU6FRgAADLadZEL9D", "senderPublicKey": "AwtL5awdRAD38g4rSetUxgc11P6TfxbJg11rKmX4hXSo", "proofs": [ "2BkxQpo4m8tuVQsTWzVqeZpZz7euU54P2DxF5n4sLFTwTzf6RHeX15F82sE3A5azT1jCU252FDmjN46mg6odLkSa" ], "script": "base64:AAIDAAAAAAAAAE8IARIECgIICBIDCgEIEgQKAggIEgMKAQgSBQoDCAgIEgUKAwgICBIDCgEIEgQKAggIEgQKAggIEgMKAQgSBQoDCAgIEgUKAwgICBIDCgEIAAAAGAAAAAAGUVVPUlVNAAAAAAAAAAABAAAAAAxtYWluQ29udHJhY3QJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM013UnppMkJtcVpaWFdyQ0dDd2NSUUxzbmljMkFvZDZ6aFMBAAAADXRyeUdldEludGVnZXIAAAABAAAAA2tleQQAAAADdmFsBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAAAAAAAAAAAABQAAAAN2YWwBAAAADHRyeUdldFN0cmluZwAAAAEAAAADa2V5BAAAAAN2YWwEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAA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VN0cmluZykAAAABBQAAAAt0ZWFtQWRkcmVzcwUAAAAMcmV3YXJkQW1vdW50BQAAAAR1bml0BQAAAANuaWwJAAACAAAAAQIAAAAVY2hlY2tzIGFyZSBub3QgcGFzc2VkAAAAAWkBAAAACnJlamVjdFRhc2sAAAABAAAABnRhc2tJZAMJAQAAAAEhAAAAAQkBAAAADWlzR3JvdXBNZW1iZXIAAAABCAUAAAABaQAAAAZjYWxsZXIJAAACAAAAAQIAAAAgZ3JhbnRzIHdvcmtpbmcgZ3JvdXAgYWNjZXNzIG9ubHkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAZ0YXNrc18FAAAABnRhc2tJZAIAAAAHX3N0YXR1cwIAAAAIcmVqZWN0ZWQFAAAAA25pbAAAAACQkLXR", "height": 1348814, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7MT2S9gofWjsk5APPPkgRJGLypzsgawdLSbpeGvpYk8r Next: 4JmSidYV7dNCPkuybfNcJp8PA7UA1sSCzYJ3qwT9QLDW Diff:
Old | New | Differences | |
---|---|---|---|
359 | 359 | then { | |
360 | 360 | let aj = c((("tasks_" + q) + "_reward")) | |
361 | 361 | let ak = getStringValue(this, (((("tasks_" + q) + "_app_") + F) + "_leader")) | |
362 | - | ScriptResult(WriteSet([DataEntry((("tasks_" + q) + "_status"), " | |
362 | + | ScriptResult(WriteSet([DataEntry((("tasks_" + q) + "_status"), "solution_chosen"), DataEntry((((("tasks_" + q) + "_app_") + F) + "_process"), "winner"), DataEntry((("tasks_" + q) + "_report"), ai)]), TransferSet([ScriptTransfer(addressFromStringValue(ak), aj, unit)])) | |
363 | 363 | } | |
364 | 364 | else throw("checks are not passed") | |
365 | 365 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 1 | |
5 | 5 | ||
6 | 6 | let b = addressFromStringValue("3MwRzi2BmqZZXWrCGCwcRQLsnic2Aod6zhS") | |
7 | 7 | ||
8 | 8 | func c (d) = { | |
9 | 9 | let e = { | |
10 | 10 | let f = getInteger(this, d) | |
11 | 11 | if ($isInstanceOf(f, "Int")) | |
12 | 12 | then { | |
13 | 13 | let g = f | |
14 | 14 | g | |
15 | 15 | } | |
16 | 16 | else 0 | |
17 | 17 | } | |
18 | 18 | e | |
19 | 19 | } | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func h (d) = { | |
23 | 23 | let e = { | |
24 | 24 | let f = getString(this, d) | |
25 | 25 | if ($isInstanceOf(f, "String")) | |
26 | 26 | then { | |
27 | 27 | let g = f | |
28 | 28 | g | |
29 | 29 | } | |
30 | 30 | else "" | |
31 | 31 | } | |
32 | 32 | e | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func i () = { | |
37 | 37 | let e = { | |
38 | 38 | let f = getString(b, "working_group_members") | |
39 | 39 | if ($isInstanceOf(f, "String")) | |
40 | 40 | then { | |
41 | 41 | let g = f | |
42 | 42 | g | |
43 | 43 | } | |
44 | 44 | else "" | |
45 | 45 | } | |
46 | 46 | e | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func j () = { | |
51 | 51 | let e = { | |
52 | 52 | let f = getString(b, "dao_members") | |
53 | 53 | if ($isInstanceOf(f, "String")) | |
54 | 54 | then { | |
55 | 55 | let g = f | |
56 | 56 | g | |
57 | 57 | } | |
58 | 58 | else "" | |
59 | 59 | } | |
60 | 60 | e | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func k () = { | |
65 | 65 | let e = { | |
66 | 66 | let f = getInteger(b, "dao_size") | |
67 | 67 | if ($isInstanceOf(f, "Int")) | |
68 | 68 | then { | |
69 | 69 | let g = f | |
70 | 70 | g | |
71 | 71 | } | |
72 | 72 | else 0 | |
73 | 73 | } | |
74 | 74 | e | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func l (m) = { | |
79 | 79 | let e = { | |
80 | 80 | let f = getInteger(b, (("working_group_member_" + toString(m)) + "_weight")) | |
81 | 81 | if ($isInstanceOf(f, "Int")) | |
82 | 82 | then { | |
83 | 83 | let g = f | |
84 | 84 | g | |
85 | 85 | } | |
86 | 86 | else 0 | |
87 | 87 | } | |
88 | 88 | (e > 0) | |
89 | 89 | } | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func n (o) = { | |
93 | 93 | let e = { | |
94 | 94 | let f = getInteger(b, (("dao_member_" + toString(o)) + "_weight")) | |
95 | 95 | if ($isInstanceOf(f, "Int")) | |
96 | 96 | then { | |
97 | 97 | let g = f | |
98 | 98 | g | |
99 | 99 | } | |
100 | 100 | else 0 | |
101 | 101 | } | |
102 | 102 | (e > 0) | |
103 | 103 | } | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func p (o,q) = n(o) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func r (s) = if ((s == "like")) | |
110 | 110 | then 1 | |
111 | 111 | else if ((s == "dislike")) | |
112 | 112 | then -1 | |
113 | 113 | else throw("you need to vote with 'like' or 'dislike' value") | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func t (o) = if (!(l(o))) | |
117 | 117 | then throw("grants working group access only") | |
118 | 118 | else true | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func u (o,q) = if (!(l(o))) | |
122 | 122 | then throw("grants working group access only") | |
123 | 123 | else if ((h((("tasks_" + q) + "_status")) != "")) | |
124 | 124 | then throw("grant isn`t new") | |
125 | 125 | else true | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func v (o,q) = if (!(n(o))) | |
129 | 129 | then throw("you can't vote") | |
130 | 130 | else if ((h((("tasks_" + q) + "_status")) != "proposed")) | |
131 | 131 | then throw("voting is closed or not started") | |
132 | 132 | else if ((c(((("tasks_" + q) + "_voted_") + toString(o))) != 0)) | |
133 | 133 | then throw("you have already voted") | |
134 | 134 | else true | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func w (o,q) = if (!(l(o))) | |
138 | 138 | then throw("grants working group access only") | |
139 | 139 | else if ((h((("tasks_" + q) + "_status")) != "proposed")) | |
140 | 140 | then throw("voting is not active") | |
141 | 141 | else if ((a > ((c((("tasks_" + q) + "_voting_amount")) * 100) / k()))) | |
142 | 142 | then throw((("more than " + toString(a)) + "% members have to vote before finishing the voting")) | |
143 | 143 | else true | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func x (o,q,y) = if ((h((("tasks_" + q) + "_status")) != "ready_to_apply")) | |
147 | 147 | then throw("this grant has not yet been approved") | |
148 | 148 | else if ((h((((("tasks_" + q) + "_app_") + y) + "_leader")) == toString(o))) | |
149 | 149 | then throw("you are applied") | |
150 | 150 | else true | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func z (o,q,y) = { | |
154 | 154 | let A = (drop(toString(o), 10) + drop(y, 10)) | |
155 | 155 | if (!(n(o))) | |
156 | 156 | then throw("you can't vote") | |
157 | 157 | else if ((h((("tasks_" + q) + "_status")) != "ready_to_apply")) | |
158 | 158 | then throw("voting is not active") | |
159 | 159 | else if ((c(((("tasks_" + q) + "_vote_") + A)) != 0)) | |
160 | 160 | then throw("you have already voted on this team") | |
161 | 161 | else true | |
162 | 162 | } | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func B (o,q,C) = if (!(l(o))) | |
166 | 166 | then throw("grants working group access only") | |
167 | 167 | else if ((h((("tasks_" + q) + "_status")) != "ready_to_apply")) | |
168 | 168 | then throw("voting is not active") | |
169 | 169 | else if ((size(C) == 0)) | |
170 | 170 | then throw("no one has yet responded to the grant") | |
171 | 171 | else true | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func D (o,q,y) = if ((h((("tasks_" + q) + "_status")) != "team_chosen")) | |
175 | 175 | then throw("winner is not define") | |
176 | 176 | else if ((toString(o) != h((((("tasks_" + q) + "_app_") + y) + "_leader")))) | |
177 | 177 | then throw("team leader only") | |
178 | 178 | else true | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func E (o,q,F) = if (!(l(o))) | |
182 | 182 | then throw("grants working group access only") | |
183 | 183 | else if ((h((("tasks_" + q) + "_status")) != "work_finished")) | |
184 | 184 | then throw("work is not finished") | |
185 | 185 | else if ((c((((("tasks_" + q) + "_app_") + F) + "_score_solution")) > 1)) | |
186 | 186 | then throw("negative assessment") | |
187 | 187 | else true | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func G (o,q) = if (!(l(o))) | |
191 | 191 | then throw("grants working group access only") | |
192 | 192 | else true | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func H (o,q,y) = if ((h((("tasks_" + q) + "_status")) != "work_started")) | |
196 | 196 | then throw("work is not started") | |
197 | 197 | else if ((toString(o) != h((((("tasks_" + q) + "_app_") + y) + "_leader")))) | |
198 | 198 | then throw("team leader only") | |
199 | 199 | else if ((1 > c((((("tasks_" + q) + "_app_") + y) + "_score_applicant")))) | |
200 | 200 | then throw("your team is not approved") | |
201 | 201 | else if ((h((((("tasks_" + q) + "_app_") + y) + "_process")) == "work_submitted")) | |
202 | 202 | then throw("you have already presented the solution") | |
203 | 203 | else true | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func I (o,q) = if (!(l(o))) | |
207 | 207 | then throw("grants working group access only") | |
208 | 208 | else if ((h((("tasks_" + q) + "_status")) != "work_started")) | |
209 | 209 | then throw("work is not started") | |
210 | 210 | else true | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func J (o,q) = if (!(p(o, q))) | |
214 | 214 | then throw("you can't vote") | |
215 | 215 | else if ((h((("tasks_" + q) + "_status")) != "work_finished")) | |
216 | 216 | then throw("work is not started") | |
217 | 217 | else true | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | @Callable(K) | |
221 | 221 | func addTask (L,M) = if (t(K.caller)) | |
222 | 222 | then WriteSet([DataEntry((("tasks_" + toBase58String(K.transactionId)) + "_title"), L), DataEntry((("tasks_" + toBase58String(K.transactionId)) + "_link"), M)]) | |
223 | 223 | else throw("checks are not passed") | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | ||
227 | 227 | @Callable(K) | |
228 | 228 | func addReward (q) = if (u(K.caller, q)) | |
229 | 229 | then { | |
230 | 230 | let N = extract(K.payment).amount | |
231 | 231 | WriteSet([DataEntry((("tasks_" + q) + "_reward"), N), DataEntry((("tasks_" + q) + "_status"), "proposed")]) | |
232 | 232 | } | |
233 | 233 | else throw("checks are not passed") | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | ||
237 | 237 | @Callable(K) | |
238 | 238 | func voteForTaskProposal (q,O) = if (v(K.caller, q)) | |
239 | 239 | then { | |
240 | 240 | let P = ((("tasks_" + q) + "_voted_") + toString(K.caller)) | |
241 | 241 | let Q = (("tasks_" + q) + "_voting_state") | |
242 | 242 | let R = c(Q) | |
243 | 243 | let S = (("tasks_" + q) + "_voting_amount") | |
244 | 244 | let T = (c(Q) + 1) | |
245 | 245 | let U = r(O) | |
246 | 246 | let V = (R + U) | |
247 | 247 | WriteSet([DataEntry(Q, V), DataEntry(P, U), DataEntry(S, T)]) | |
248 | 248 | } | |
249 | 249 | else throw("checks are not passed") | |
250 | 250 | ||
251 | 251 | ||
252 | 252 | ||
253 | 253 | @Callable(K) | |
254 | 254 | func finishTaskProposalVoting (q) = if (w(K.caller, q)) | |
255 | 255 | then { | |
256 | 256 | let Q = (("tasks_" + q) + "_voting_state") | |
257 | 257 | WriteSet([DataEntry((("tasks_" + q) + "_status"), if ((c(Q) > 0)) | |
258 | 258 | then "ready_to_apply" | |
259 | 259 | else "rejected")]) | |
260 | 260 | } | |
261 | 261 | else throw("checks are not passed") | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | ||
265 | 265 | @Callable(K) | |
266 | 266 | func applyForTask (q,W,M) = { | |
267 | 267 | let y = drop(toString(K.caller), 10) | |
268 | 268 | if (x(K.caller, q, y)) | |
269 | 269 | then { | |
270 | 270 | let X = (("tasks_" + q) + "_applicants") | |
271 | 271 | let Y = h(X) | |
272 | 272 | let Z = ((Y + ";") + toString(K.caller)) | |
273 | 273 | WriteSet([DataEntry((((("tasks_" + q) + "_app_") + y) + "_name"), W), DataEntry((((("tasks_" + q) + "_app_") + y) + "_link"), M), DataEntry((((("tasks_" + q) + "_app_") + y) + "_leader"), toString(K.caller)), DataEntry((((("tasks_" + q) + "_app_") + y) + "_id"), y), DataEntry(X, Z)]) | |
274 | 274 | } | |
275 | 275 | else throw("checks are not passed") | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | ||
280 | 280 | @Callable(K) | |
281 | 281 | func voteForApplicant (q,y,O) = if (z(K.caller, q, y)) | |
282 | 282 | then { | |
283 | 283 | let X = (((("tasks_" + q) + "_app_") + y) + "_voted_applicant") | |
284 | 284 | let Z = ((h(X) + ";") + toString(K.caller)) | |
285 | 285 | let A = (drop(toString(K.caller), 20) + y) | |
286 | 286 | let P = ((("tasks_" + q) + "_vh_") + A) | |
287 | 287 | if ((h(P) == toString(K.caller))) | |
288 | 288 | then throw("you have already voted on this team") | |
289 | 289 | else { | |
290 | 290 | let aa = (((("tasks_" + q) + "_app_") + y) + "_votes_applicant") | |
291 | 291 | let ab = (((("tasks_" + q) + "_app_") + y) + "_score_applicant") | |
292 | 292 | let ac = (1 + c(aa)) | |
293 | 293 | let ad = (r(O) + c(ab)) | |
294 | 294 | WriteSet([DataEntry(X, Z), DataEntry(P, toString(K.caller)), DataEntry(aa, ac), DataEntry(ab, ad)]) | |
295 | 295 | } | |
296 | 296 | } | |
297 | 297 | else throw("checks are not passed") | |
298 | 298 | ||
299 | 299 | ||
300 | 300 | ||
301 | 301 | @Callable(K) | |
302 | 302 | func finishApplicantsVoting (q) = { | |
303 | 303 | let ae = h((("tasks_" + q) + "_applicants")) | |
304 | 304 | let C = split(ae, ";") | |
305 | 305 | if (B(K.caller, q, C)) | |
306 | 306 | then WriteSet([DataEntry((("tasks_" + q) + "_status"), "ready_to_submit")]) | |
307 | 307 | else throw("checks are not passed") | |
308 | 308 | } | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | ||
312 | 312 | @Callable(K) | |
313 | 313 | func enableSubmissions (q,af) = if (G(K.caller, q)) | |
314 | 314 | then WriteSet([DataEntry((("tasks_" + q) + "_status"), "work_started"), DataEntry((("tasks_" + q) + "_jury"), af)]) | |
315 | 315 | else throw("checks are not passed") | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | ||
319 | 319 | @Callable(K) | |
320 | 320 | func submitSolution (q,ag) = { | |
321 | 321 | let y = drop(toString(K.caller), 10) | |
322 | 322 | if (H(K.caller, q, y)) | |
323 | 323 | then WriteSet([DataEntry((((("tasks_" + q) + "_app_") + y) + "_process"), "work_submitted"), DataEntry((((("tasks_" + q) + "_app_") + y) + "_solution"), ag)]) | |
324 | 324 | else throw("checks are not passed") | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | ||
329 | 329 | @Callable(K) | |
330 | 330 | func stopSubmissions (q) = if (I(K.caller, q)) | |
331 | 331 | then WriteSet([DataEntry((("tasks_" + q) + "_status"), "work_finished")]) | |
332 | 332 | else throw("checks are not passed") | |
333 | 333 | ||
334 | 334 | ||
335 | 335 | ||
336 | 336 | @Callable(K) | |
337 | 337 | func voteForSolution (q,y,O) = if (J(K.caller, q)) | |
338 | 338 | then { | |
339 | 339 | let X = (((("tasks_" + q) + "_app_") + y) + "_voted_solution") | |
340 | 340 | let ah = ((h(X) + ";") + toString(K.caller)) | |
341 | 341 | let A = (drop(toString(K.caller), 20) + y) | |
342 | 342 | let P = ((("tasks_" + q) + "_vs_") + A) | |
343 | 343 | if ((h(P) == toString(K.caller))) | |
344 | 344 | then throw("you have already voted on this team") | |
345 | 345 | else { | |
346 | 346 | let aa = (((("tasks_" + q) + "_app_") + y) + "_votes_solution") | |
347 | 347 | let ab = (((("tasks_" + q) + "_app_") + y) + "_score_solution") | |
348 | 348 | let ac = (1 + c(aa)) | |
349 | 349 | let ad = (r(O) + c(ab)) | |
350 | 350 | WriteSet([DataEntry(X, ah), DataEntry(P, toString(K.caller)), DataEntry(aa, ac), DataEntry(ab, ad)]) | |
351 | 351 | } | |
352 | 352 | } | |
353 | 353 | else throw("checks are not passed") | |
354 | 354 | ||
355 | 355 | ||
356 | 356 | ||
357 | 357 | @Callable(K) | |
358 | 358 | func acceptWorkResult (q,F,ai) = if (E(K.caller, q, F)) | |
359 | 359 | then { | |
360 | 360 | let aj = c((("tasks_" + q) + "_reward")) | |
361 | 361 | let ak = getStringValue(this, (((("tasks_" + q) + "_app_") + F) + "_leader")) | |
362 | - | ScriptResult(WriteSet([DataEntry((("tasks_" + q) + "_status"), " | |
362 | + | ScriptResult(WriteSet([DataEntry((("tasks_" + q) + "_status"), "solution_chosen"), DataEntry((((("tasks_" + q) + "_app_") + F) + "_process"), "winner"), DataEntry((("tasks_" + q) + "_report"), ai)]), TransferSet([ScriptTransfer(addressFromStringValue(ak), aj, unit)])) | |
363 | 363 | } | |
364 | 364 | else throw("checks are not passed") | |
365 | 365 | ||
366 | 366 | ||
367 | 367 | ||
368 | 368 | @Callable(K) | |
369 | 369 | func rejectTask (q) = if (!(l(K.caller))) | |
370 | 370 | then throw("grants working group access only") | |
371 | 371 | else WriteSet([DataEntry((("tasks_" + q) + "_status"), "rejected")]) | |
372 | 372 | ||
373 | 373 |
github/deemru/w8io/169f3d6 162.54 ms ◑