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