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:AAIDAAAAAAAAAE8IARIECgIICBIDCgEIEgQKAggIEgMKAQgSBQoDCAgIEgUKAwgICBIDCgEIEgQKAggIEgQKAggIEgMKAQgSBQoDCAgIEgUKAwgICBIDCgEIAAAAGAAAAAAGUVVPUlVNAAAAAAAAAAABAAAAAAxtYWluQ29udHJhY3QJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQIAAAAjM045N2lhY1JhcGJLUU13RHhvYmN3QXZOazhXU2IzVFB3angBAAAADXRyeUdldEludGVnZXIAAAABAAAAA2tleQQAAAADdmFsBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAAAAAAAAAAAABQAAAAN2YWwBAAAADHRyeUdldFN0cmluZwAAAAEAAAADa2V5BAAAAAN2YWwEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAA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hc2tzXwUAAAAGdGFza0lkAgAAAAdfcmVwb3J0BQAAAApyZXBvcnRMaW5rBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAHEBleHRyVXNlcihhZGRyZXNzRnJvbVN0cmluZykAAAABBQAAAAt0ZWFtQWRkcmVzcwUAAAAMcmV3YXJkQW1vdW50BQAAAAR1bml0BQAAAANuaWwJAAACAAAAAQIAAAAVY2hlY2tzIGFyZSBub3QgcGFzc2VkAAAAAWkBAAAACnJlamVjdFRhc2sAAAABAAAABnRhc2tJZAMJAQAAAAEhAAAAAQkBAAAADWlzR3JvdXBNZW1iZXIAAAABCAUAAAABaQAAAAZjYWxsZXIJAAACAAAAAQIAAAAgZ3JhbnRzIHdvcmtpbmcgZ3JvdXAgYWNjZXNzIG9ubHkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAZ0YXNrc18FAAAABnRhc2tJZAIAAAAHX3N0YXR1cwIAAAAIcmVqZWN0ZWQFAAAAA25pbAAAAADUR4wp", "height": 1400771, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6XKZpyezLVFvrH63LWSANhVt5fECtcH35GzXRS2hzr5 Next: CtoVnyQddZosj6A2ZNzsn2scHTgT8c24NzCSsHekdsNH Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let QUORUM = 1
55
6-let mainContract = addressFromStringValue("3NCsqf4pFGtECs3vM4j1nKqL6VA3HdiNGeZ")
6+let mainContract = addressFromStringValue("3N97iacRapbKQMwDxobcwAvNk8WSb3TPwjx")
77
88 func tryGetInteger (key) = {
99 let val = match getInteger(this, key) {
198198
199199 @Callable(i)
200200 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)])
202202 else throw("checks are not passed")
203203
204204
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let QUORUM = 1
55
6-let mainContract = addressFromStringValue("3NCsqf4pFGtECs3vM4j1nKqL6VA3HdiNGeZ")
6+let mainContract = addressFromStringValue("3N97iacRapbKQMwDxobcwAvNk8WSb3TPwjx")
77
88 func tryGetInteger (key) = {
99 let val = match getInteger(this, key) {
1010 case b: Int =>
1111 b
1212 case _ =>
1313 0
1414 }
1515 val
1616 }
1717
1818
1919 func tryGetString (key) = {
2020 let val = match getString(this, key) {
2121 case b: String =>
2222 b
2323 case _ =>
2424 ""
2525 }
2626 val
2727 }
2828
2929
3030 func getGroup () = {
3131 let val = match getString(mainContract, "working_group_members") {
3232 case b: String =>
3333 b
3434 case _ =>
3535 ""
3636 }
3737 val
3838 }
3939
4040
4141 func getMembers () = {
4242 let val = match getString(mainContract, "dao_members") {
4343 case b: String =>
4444 b
4545 case _ =>
4646 ""
4747 }
4848 val
4949 }
5050
5151
5252 func getDAOSize () = {
5353 let val = match getInteger(mainContract, "dao_size") {
5454 case b: Int =>
5555 b
5656 case _ =>
5757 0
5858 }
5959 val
6060 }
6161
6262
6363 func isGroupMember (a) = {
6464 let val = match getInteger(mainContract, (("working_group_member_" + toString(a)) + "_weight")) {
6565 case b: Int =>
6666 b
6767 case _ =>
6868 0
6969 }
7070 (val > 0)
7171 }
7272
7373
7474 func canMemberVote (address) = {
7575 let val = match getInteger(mainContract, (("dao_member_" + toString(address)) + "_weight")) {
7676 case b: Int =>
7777 b
7878 case _ =>
7979 0
8080 }
8181 (val > 0)
8282 }
8383
8484
8585 func isJuryMember (address,taskId) = canMemberVote(address)
8686
8787
8888 func getVoteValue (s) = if ((s == "like"))
8989 then 1
9090 else if ((s == "dislike"))
9191 then -1
9292 else throw("you need to vote with 'like' or 'dislike' value")
9393
9494
9595 func addTaskConditions (address) = if (!(isGroupMember(address)))
9696 then throw("grants working group access only")
9797 else true
9898
9999
100100 func addRewardConditions (address,taskId) = if (!(isGroupMember(address)))
101101 then throw("grants working group access only")
102102 else if ((tryGetString((("tasks_" + taskId) + "_status")) != ""))
103103 then throw("grant isn`t new")
104104 else true
105105
106106
107107 func voteForTaskProposalConditions (address,taskId) = if (!(canMemberVote(address)))
108108 then throw("you can't vote")
109109 else if ((tryGetString((("tasks_" + taskId) + "_status")) != "proposed"))
110110 then throw("voting is closed or not started")
111111 else if ((tryGetInteger(((("tasks_" + taskId) + "_voted_") + toString(address))) != 0))
112112 then throw("you have already voted")
113113 else true
114114
115115
116116 func finishTaskProposalVotingConditions (address,taskId) = if (!(isGroupMember(address)))
117117 then throw("grants working group access only")
118118 else if ((tryGetString((("tasks_" + taskId) + "_status")) != "proposed"))
119119 then throw("voting is not active")
120120 else if ((QUORUM > ((tryGetInteger((("tasks_" + taskId) + "_voting_amount")) * 100) / getDAOSize())))
121121 then throw((("more than " + toString(QUORUM)) + "% members have to vote before finishing the voting"))
122122 else true
123123
124124
125125 func applyForTaskConditions (address,taskId,teamIdentifier) = if ((tryGetString((("tasks_" + taskId) + "_status")) != "ready_to_apply"))
126126 then throw("this grant has not yet been approved")
127127 else if ((tryGetString((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_leader")) == toString(address)))
128128 then throw("you are applied")
129129 else true
130130
131131
132132 func voteForApplicantConditions (address,taskId,teamIdentifier) = {
133133 let voteHash = (drop(toString(address), 10) + drop(teamIdentifier, 10))
134134 if (!(canMemberVote(address)))
135135 then throw("you can't vote")
136136 else if ((tryGetString((("tasks_" + taskId) + "_status")) != "ready_to_apply"))
137137 then throw("voting is not active")
138138 else if ((tryGetInteger(((("tasks_" + taskId) + "_vote_") + voteHash)) != 0))
139139 then throw("you have already voted on this team")
140140 else true
141141 }
142142
143143
144144 func finishApplicantsVotingConditions (address,taskId,applicantsList) = if (!(isGroupMember(address)))
145145 then throw("grants working group access only")
146146 else if ((tryGetString((("tasks_" + taskId) + "_status")) != "ready_to_apply"))
147147 then throw("voting is not active")
148148 else if ((size(applicantsList) == 0))
149149 then throw("no one has yet responded to the grant")
150150 else true
151151
152152
153153 func startWorkConditions (address,taskId,teamIdentifier) = if ((tryGetString((("tasks_" + taskId) + "_status")) != "team_chosen"))
154154 then throw("winner is not define")
155155 else if ((toString(address) != tryGetString((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_leader"))))
156156 then throw("team leader only")
157157 else true
158158
159159
160160 func acceptWorkResultConditions (address,taskId,winnerIdentifier) = if (!(isGroupMember(address)))
161161 then throw("grants working group access only")
162162 else if ((tryGetString((("tasks_" + taskId) + "_status")) != "work_finished"))
163163 then throw("work is not finished")
164164 else if ((1 > tryGetInteger((((("tasks_" + taskId) + "_app_") + winnerIdentifier) + "_score_solution"))))
165165 then throw("negative assessment")
166166 else true
167167
168168
169169 func enableSubmissionsConditions (address,taskId) = if (!(isGroupMember(address)))
170170 then throw("grants working group access only")
171171 else true
172172
173173
174174 func submitSolutionConditions (address,taskId,teamIdentifier) = if ((tryGetString((("tasks_" + taskId) + "_status")) != "work_started"))
175175 then throw("work is not started")
176176 else if ((toString(address) != tryGetString((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_leader"))))
177177 then throw("team leader only")
178178 else if ((1 > tryGetInteger((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_score_applicant"))))
179179 then throw("your team is not approved")
180180 else if ((tryGetString((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_process")) == "work_submitted"))
181181 then throw("you have already presented the solution")
182182 else true
183183
184184
185185 func stopSubmissionsConditions (address,taskId) = if (!(isGroupMember(address)))
186186 then throw("grants working group access only")
187187 else if ((tryGetString((("tasks_" + taskId) + "_status")) != "work_started"))
188188 then throw("work is not started")
189189 else true
190190
191191
192192 func voteForSolutionConditions (address,taskId) = if (!(isJuryMember(address, taskId)))
193193 then throw("you can't vote")
194194 else if ((tryGetString((("tasks_" + taskId) + "_status")) != "work_finished"))
195195 then throw("work is not started")
196196 else true
197197
198198
199199 @Callable(i)
200200 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)])
202202 else throw("checks are not passed")
203203
204204
205205
206206 @Callable(i)
207207 func addReward (taskId) = if (addRewardConditions(i.caller, taskId))
208208 then {
209209 let reward = extract(i.payment).amount
210210 WriteSet([DataEntry((("tasks_" + taskId) + "_reward"), reward), DataEntry((("tasks_" + taskId) + "_status"), "proposed")])
211211 }
212212 else throw("checks are not passed")
213213
214214
215215
216216 @Callable(i)
217217 func voteForTaskProposal (taskId,voteValue) = if (voteForTaskProposalConditions(i.caller, taskId))
218218 then {
219219 let voteKey = ((("tasks_" + taskId) + "_voted_") + toString(i.caller))
220220 let votingKey = (("tasks_" + taskId) + "_voting_state")
221221 let votingState = tryGetInteger(votingKey)
222222 let votesAmountKey = (("tasks_" + taskId) + "_voting_amount")
223223 let votesAmountState = (tryGetInteger(votingKey) + 1)
224224 let voteValueInt = getVoteValue(voteValue)
225225 let newVotingState = (votingState + voteValueInt)
226226 WriteSet([DataEntry(votingKey, newVotingState), DataEntry(voteKey, voteValueInt), DataEntry(votesAmountKey, votesAmountState)])
227227 }
228228 else throw("checks are not passed")
229229
230230
231231
232232 @Callable(i)
233233 func finishTaskProposalVoting (taskId) = if (finishTaskProposalVotingConditions(i.caller, taskId))
234234 then {
235235 let votingKey = (("tasks_" + taskId) + "_voting_state")
236236 WriteSet([DataEntry((("tasks_" + taskId) + "_status"), if ((tryGetInteger(votingKey) > 0))
237237 then "ready_to_apply"
238238 else "rejected")])
239239 }
240240 else throw("checks are not passed")
241241
242242
243243
244244 @Callable(i)
245245 func applyForTask (taskId,teamName,link) = {
246246 let teamIdentifier = drop(toString(i.caller), 10)
247247 if (applyForTaskConditions(i.caller, taskId, teamIdentifier))
248248 then {
249249 let listKey = (("tasks_" + taskId) + "_applicants")
250250 let currentApplicantsList = tryGetString(listKey)
251251 let newApplicantsList = ((currentApplicantsList + ";") + toString(i.caller))
252252 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)])
253253 }
254254 else throw("checks are not passed")
255255 }
256256
257257
258258
259259 @Callable(i)
260260 func voteForApplicant (taskId,teamIdentifier,voteValue) = if (voteForApplicantConditions(i.caller, taskId, teamIdentifier))
261261 then {
262262 let listKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_voted_applicant")
263263 let newApplicantsList = ((tryGetString(listKey) + ";") + toString(i.caller))
264264 let voteHash = (drop(toString(i.caller), 20) + teamIdentifier)
265265 let voteKey = ((("tasks_" + taskId) + "_vh_") + voteHash)
266266 if ((tryGetString(voteKey) == toString(i.caller)))
267267 then throw("you have already voted on this team")
268268 else {
269269 let teamVotesAmountKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_votes_applicant")
270270 let teamScoreKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_score_applicant")
271271 let teamVotesAmount = (1 + tryGetInteger(teamVotesAmountKey))
272272 let newTeamScore = (getVoteValue(voteValue) + tryGetInteger(teamScoreKey))
273273 WriteSet([DataEntry(listKey, newApplicantsList), DataEntry(voteKey, toString(i.caller)), DataEntry(teamVotesAmountKey, teamVotesAmount), DataEntry(teamScoreKey, newTeamScore)])
274274 }
275275 }
276276 else throw("checks are not passed")
277277
278278
279279
280280 @Callable(i)
281281 func finishApplicantsVoting (taskId) = {
282282 let listKeys = tryGetString((("tasks_" + taskId) + "_applicants"))
283283 let applicantsList = split(listKeys, ";")
284284 if (finishApplicantsVotingConditions(i.caller, taskId, applicantsList))
285285 then WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "ready_to_submit")])
286286 else throw("checks are not passed")
287287 }
288288
289289
290290
291291 @Callable(i)
292292 func enableSubmissions (taskId,juryList) = if (enableSubmissionsConditions(i.caller, taskId))
293293 then WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "work_started"), DataEntry((("tasks_" + taskId) + "_jury"), juryList)])
294294 else throw("checks are not passed")
295295
296296
297297
298298 @Callable(i)
299299 func submitSolution (taskId,solutionLink) = {
300300 let teamIdentifier = drop(toString(i.caller), 10)
301301 if (submitSolutionConditions(i.caller, taskId, teamIdentifier))
302302 then WriteSet([DataEntry((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_process"), "work_submitted"), DataEntry((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_solution"), solutionLink)])
303303 else throw("checks are not passed")
304304 }
305305
306306
307307
308308 @Callable(i)
309309 func stopSubmissions (taskId) = if (stopSubmissionsConditions(i.caller, taskId))
310310 then WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "work_finished")])
311311 else throw("checks are not passed")
312312
313313
314314
315315 @Callable(i)
316316 func voteForSolution (taskId,teamIdentifier,voteValue) = if (voteForSolutionConditions(i.caller, taskId))
317317 then {
318318 let listKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_voted_solution")
319319 let newVotedList = ((tryGetString(listKey) + ";") + toString(i.caller))
320320 let voteHash = (drop(toString(i.caller), 20) + teamIdentifier)
321321 let voteKey = ((("tasks_" + taskId) + "_vs_") + voteHash)
322322 if ((tryGetString(voteKey) == toString(i.caller)))
323323 then throw("you have already voted on this team")
324324 else {
325325 let teamVotesAmountKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_votes_solution")
326326 let teamScoreKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_score_solution")
327327 let teamVotesAmount = (1 + tryGetInteger(teamVotesAmountKey))
328328 let newTeamScore = (getVoteValue(voteValue) + tryGetInteger(teamScoreKey))
329329 WriteSet([DataEntry(listKey, newVotedList), DataEntry(voteKey, toString(i.caller)), DataEntry(teamVotesAmountKey, teamVotesAmount), DataEntry(teamScoreKey, newTeamScore)])
330330 }
331331 }
332332 else throw("checks are not passed")
333333
334334
335335
336336 @Callable(i)
337337 func acceptWorkResult (taskId,winnerIdentifier,reportLink) = if (acceptWorkResultConditions(i.caller, taskId, winnerIdentifier))
338338 then {
339339 let rewardAmount = tryGetInteger((("tasks_" + taskId) + "_reward"))
340340 let teamAddress = getStringValue(this, (((("tasks_" + taskId) + "_app_") + winnerIdentifier) + "_leader"))
341341 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)]))
342342 }
343343 else throw("checks are not passed")
344344
345345
346346
347347 @Callable(i)
348348 func rejectTask (taskId) = if (!(isGroupMember(i.caller)))
349349 then throw("grants working group access only")
350350 else WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "rejected")])
351351
352352

github/deemru/w8io/169f3d6 
78.05 ms