tx · Wk5rug8WN98oiwLDUzeCbDo3r1nzqVWZE184zbpCHhT

3N2sQRGTRmL9NGZVVtzhfBEjEyVR7S9Mkum:  -0.10000000 Waves

2020.12.01 15:01 [1289571] smart account 3N2sQRGTRmL9NGZVVtzhfBEjEyVR7S9Mkum > SELF 0.00000000 Waves

{ "type": 13, "id": "Wk5rug8WN98oiwLDUzeCbDo3r1nzqVWZE184zbpCHhT", "fee": 10000000, "feeAssetId": null, "timestamp": 1606824133511, "version": 2, "chainId": 84, "sender": "3N2sQRGTRmL9NGZVVtzhfBEjEyVR7S9Mkum", "senderPublicKey": "J8SeDz97kvV9MTtzmwVB965Dz8iEWst5MzMzgUgG1dfK", "proofs": [ "3YJF5mKadKTcUd8LV1hYK5LDDH9y3tG9RzrhEkwaYgKy5JKkKhLf5ww3S4Ss9mTovEB95dY2gpTXi58GWwQn8Y7D" ], "script": "base64:AAIDAAAAAAAAAFkIARIDCgEIEgMKAQgSBAoCCAgSAwoBCBIECgIIARIDCgEIEgUKAwgICBIFCgMICAESAwoBCBIECgIICBIECgIICBIDCgEIEgUKAwgIARIFCgMICAgSAwoBCAAAAAgAAAAABlFVT1JVTQAAAAAAAAAAAQEAAAANdHJ5R2V0SW50ZWdlcgAAAAEAAAADa2V5BAAAAAN2YWwEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWIFAAAAByRtYXRjaDAFAAAAAWIAAAAAAAAAAAAFAAAAA3ZhbAEAAAAMdHJ5R2V0U3RyaW5nAAAAAQAAAANrZXkEAAAAA3ZhbAQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgIAAAAABQAAAAN2YWwBAAAAB2lzT3duZXIAAAABAAAAB2FkZHJlc3MJAAAAAAAAAgU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AAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAZ0YXNrc18FAAAABnRhc2tJZAIAAAAHX3N0YXR1cwIAAAAIcmVqZWN0ZWQFAAAAA25pbAAAAADL7DlQ", "height": 1289571, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: dhsBo8XjGqdRRgU8GeHdhz2LQcqMVmm1P2UCUjS8E6a Next: 8VEnZrdBny6vMin5Eq8EsZ2q8C8Vg6f4X7GKpEmN4wTx Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let QUORUM = 1
55
66 func tryGetInteger (key) = {
77 let val = match getInteger(this, key) {
88 case b: Int =>
99 b
1010 case _ =>
1111 0
1212 }
1313 val
1414 }
1515
1616
1717 func tryGetString (key) = {
1818 let val = match getString(this, key) {
1919 case b: String =>
2020 b
2121 case _ =>
2222 ""
2323 }
2424 val
2525 }
2626
2727
2828 func isOwner (address) = (address == this)
2929
3030
3131 func getGroup () = {
3232 let val = match getString(this, "working_group_members") {
3333 case b: String =>
3434 b
3535 case _ =>
3636 ""
3737 }
3838 val
3939 }
4040
4141
4242 func getMembers () = {
4343 let val = match getString(this, "dao_members") {
4444 case b: String =>
4545 b
4646 case _ =>
4747 ""
4848 }
4949 val
5050 }
5151
5252
5353 func isGroupMember (a) = (tryGetInteger((("working_group_member_" + toString(a)) + "_weight")) > 0)
5454
5555
5656 func canMemberVote (i) = (tryGetInteger((("dao_member_" + toString(i.caller)) + "_weight")) > 0)
5757
5858
5959 @Callable(i)
6060 func addDAOMember (memberAddress) = if (!(isOwner(i.caller)))
6161 then throw("access only to the DAO owner")
6262 else if ((tryGetInteger((("dao_member_" + memberAddress) + "_weight")) == 1))
6363 then throw("This user already exists")
6464 else {
6565 let group = getMembers()
6666 let newGroup = ((group + ";") + memberAddress)
6767 let groupSize = tryGetInteger("dao_size")
6868 let newGroupSize = (groupSize + 1)
6969 WriteSet([DataEntry("dao_members", newGroup), DataEntry("dao_size", newGroupSize), DataEntry((("dao_member_" + memberAddress) + "_weight"), 1)])
7070 }
7171
7272
7373
7474 @Callable(i)
7575 func addGroupMember (memberAddress) = if (!(isOwner(i.caller)))
7676 then throw("access only to the DAO owner")
7777 else if ((tryGetInteger((("working_group_member_" + memberAddress) + "_weight")) == 1))
7878 then throw("This user already exists")
7979 else {
8080 let group = getGroup()
8181 let newGroup = ((group + ";") + memberAddress)
8282 let groupSize = tryGetInteger("working_group_size")
8383 let newGroupSize = (groupSize + 1)
8484 WriteSet([DataEntry("working_group_members", newGroup), DataEntry("working_group_size", newGroupSize), DataEntry((("working_group_member_" + memberAddress) + "_weight"), 1)])
8585 }
8686
8787
8888
8989 @Callable(i)
9090 func addTask (title,link) = if (!(isGroupMember(i.caller)))
9191 then throw("grants working group access only")
9292 else WriteSet([DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_title"), title), DataEntry((("tasks_" + toBase58String(i.transactionId)) + "_link"), link)])
9393
9494
9595
9696 @Callable(i)
9797 func addReward (taskId) = if (!(isGroupMember(i.caller)))
9898 then throw("grants working group access only")
9999 else {
100100 let reward = extract(i.payment).amount
101101 WriteSet([DataEntry((("tasks_" + taskId) + "_reward"), reward), DataEntry((("tasks_" + taskId) + "_status"), "proposed")])
102102 }
103103
104104
105105
106106 @Callable(i)
107107 func voteForTaskProposal (taskId,voteValue) = if (!(canMemberVote(i)))
108108 then throw("you can't vote")
109109 else if ((getStringValue(this, (("tasks_" + taskId) + "_status")) != "proposed"))
110110 then throw("voting is closed or not started")
111111 else if (if ((voteValue != -1))
112112 then (voteValue != 1)
113113 else false)
114114 then throw("you need to vote 1 or -1")
115115 else {
116116 let voteKey = ((("tasks_" + taskId) + "_voted_") + toString(i.caller))
117117 let previousVote = tryGetInteger(voteKey)
118118 if (!((previousVote == 0)))
119119 then throw("you have already voted")
120120 else {
121121 let votingKey = (("tasks_" + taskId) + "_voting_state")
122122 let votingState = tryGetInteger(votingKey)
123123 let votesAmountKey = (("tasks_" + taskId) + "_voting_amount")
124124 let votesAmountState = (tryGetInteger(votingKey) + 1)
125125 let newVotingState = (votingState + voteValue)
126126 ScriptResult(WriteSet([DataEntry(votingKey, newVotingState), DataEntry(voteKey, voteValue), DataEntry(votesAmountKey, votesAmountState)]), TransferSet([ScriptTransfer(i.caller, 500000, unit)]))
127127 }
128128 }
129129
130130
131131
132132 @Callable(i)
133133 func finishTaskProposalVoting (taskId) = if ((QUORUM > ((tryGetInteger((("tasks_" + taskId) + "_voting_amount")) * 100) / tryGetInteger("dao_size"))))
134134 then throw((("more than " + toString(QUORUM)) + "% members have to vote before finishing the voting"))
135135 else if (!(isGroupMember(i.caller)))
136136 then throw("grants working group access only")
137137 else {
138138 let votingKey = (("tasks_" + taskId) + "_voting_state")
139139 let votingState = tryGetInteger(votingKey)
140140 if ((votingState > 0))
141141 then {
142142 let votingResult = "ready_to_apply"
143143 WriteSet([DataEntry((("tasks_" + taskId) + "_status"), votingResult)])
144144 }
145145 else {
146146 let votingResult = "rejected"
147147 WriteSet([DataEntry((("tasks_" + taskId) + "_status"), votingResult)])
148148 }
149149 }
150150
151151
152152
153153 @Callable(i)
154154 func applyForTask (taskId,teamName,link) = {
155155 let status = tryGetString((("tasks_" + taskId) + "_status"))
156156 if ((status != "ready_to_apply"))
157157 then throw("This grant has not yet been approved")
158158 else {
159159 let listKey = (("tasks_" + taskId) + "_applicants")
160160 let currentApplicantsList = tryGetString(listKey)
161161 let applicantKey = drop(toString(i.caller), 10)
162162 let leader = toString(i.caller)
163163 let newApplicantsList = ((currentApplicantsList + ";") + leader)
164164 WriteSet([DataEntry((((("tasks_" + taskId) + "_app_") + applicantKey) + "_name"), teamName), DataEntry((((("tasks_" + taskId) + "_app_") + applicantKey) + "_link"), link), DataEntry((((("tasks_" + taskId) + "_app_") + applicantKey) + "_leader"), leader), DataEntry((((("tasks_" + taskId) + "_app_") + applicantKey) + "_id"), applicantKey), DataEntry(listKey, newApplicantsList)])
165165 }
166166 }
167167
168168
169169
170170 @Callable(i)
171171 func voteForApplicant (taskId,teamIdentifier,voteValue) = if (!(canMemberVote(i)))
172172 then throw("you can't vote")
173173 else {
174174 let voteHash = (drop(toString(i.caller), 10) + drop(teamIdentifier, 10))
175175 let voteKey = ((("tasks_" + taskId) + "_vote_") + voteHash)
176176 let vote = tryGetInteger(voteKey)
177177 if ((vote != 0))
178178 then throw("you have already voted on this team")
179179 else {
180180 let teamVotesAmountKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_votes")
181181 let teamScoreKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_score")
182182 let teamVotesAmount = (1 + tryGetInteger(teamVotesAmountKey))
183183 let newTeamScore = (voteValue + tryGetInteger(teamScoreKey))
184184 WriteSet([DataEntry(voteKey, voteValue), DataEntry(teamScoreKey, newTeamScore)])
185185 }
186186 }
187187
188188
189189
190190 @Callable(i)
191191 func finishApplicantsVoting (taskId) = {
192192 let minVotesToApproveApplicant = 1
193193 if (!(isGroupMember(i.caller)))
194194 then throw("grants working group access only")
195195 else {
196196 let listKeys = tryGetString((("tasks_" + taskId) + "_applicants"))
197197 let applicantsList = split(listKeys, ";")
198198 if ((size(applicantsList) == 0))
199199 then throw("No one has applied to the hackathon, yet")
200200 else WriteSet([DataEntry((("tasks_" + taskId) + "_performer"), listKeys), DataEntry((("tasks_" + taskId) + "_status"), "ready_to_submit")])
201201 }
202202 }
203203
204204
205205
206206 @Callable(i)
207207 func enableSubmissions (taskId,juryList) = if (!(isGroupMember(i.caller)))
208208 then throw("grants working group access only")
209209 else WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "work_started"), DataEntry((("tasks_" + taskId) + "_jury"), juryList)])
210210
211211
212212
213213 @Callable(i)
214214 func submitSolution (taskId,solutionLink) = {
215215 func areSubmissionsEnabled (taskId) = (tryGetString((("tasks_" + taskId) + "_status")) == "work_started")
216216
217217 let teamIdentifier = getStringValue(this, (("tasks_" + taskId) + "_performer"))
218218 if (!(areSubmissionsEnabled(taskId)))
219219 then throw("not possible to upload solution now")
220220 else if ((toString(i.caller) != getStringValue(this, (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_leader"))))
221221 then throw("team leader only")
222222 else WriteSet([DataEntry((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_process"), "work_submitted"), DataEntry((((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_solution"), solutionLink)])
223223 }
224224
225225
226226
227227 @Callable(i)
228228 func stopSubmissions (taskId) = if (!(isGroupMember(i.caller)))
229229 then throw("grants working group access only")
230230 else WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "work_finished")])
231231
232232
233233
234234 @Callable(i)
235235 func voteForSolution (taskId,teamIdentifier,voteValue) = {
236236 func isJuryMember (i,taskId) = true
237237
238238 if (!(isJuryMember(i, taskId)))
239239 then throw("you can't vote")
240240 else {
241241 let voteHash = (drop(toString(i.caller), 10) + drop(teamIdentifier, 10))
242242 let voteKey = ((("tasks_" + taskId) + "_solutionvote_") + voteHash)
243243 let vote = tryGetInteger(voteKey)
244244 if ((vote != 0))
245245 then throw("you have already voted on this solution")
246246 else {
247247 let teamVotesAmountKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_solutionvotes")
248248 let teamScoreKey = (((("tasks_" + taskId) + "_app_") + teamIdentifier) + "_solutionscore")
249249 let teamVotesAmount = (1 + tryGetInteger(teamVotesAmountKey))
250250 let newTeamScore = (voteValue + tryGetInteger(teamScoreKey))
251251 WriteSet([DataEntry(voteKey, voteValue), DataEntry(teamScoreKey, newTeamScore)])
252252 }
253253 }
254254 }
255255
256256
257257
258258 @Callable(i)
259259 func acceptWorkResult (taskId,winnerIdentifier,reportLink) = if (!(isGroupMember(i.caller)))
260260 then throw("grants working group access only")
261261 else {
262262 let rewardAmount = tryGetInteger((("tasks_" + taskId) + "_reward"))
263263 let teamAddress = getStringValue(this, (((("tasks_" + taskId) + "_app_") + winnerIdentifier) + "_leader"))
264264 ScriptResult(WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "work_finished"), DataEntry((((("tasks_" + taskId) + "_app_") + winnerIdentifier) + "_process"), "winner"), DataEntry((("tasks_" + taskId) + "_report"), reportLink)]), TransferSet([ScriptTransfer(addressFromStringValue(teamAddress), rewardAmount, unit)]))
265265 }
266266
267267
268268
269269 @Callable(i)
270270 func rejectTask (taskId) = if (!(isGroupMember(i.caller)))
271271 then throw("grants working group access only")
272272 else WriteSet([DataEntry((("tasks_" + taskId) + "_status"), "rejected")])
273273
274274

github/deemru/w8io/026f985 
71.48 ms