tx · f5eb6m3BGMd4U7Dz7rfjPS54L8LjwCqzwUY1nLqC7Aa

3N3J9tgHhJStDpNJYDhafWkbxyw7vFwTDRM:  -0.01400000 Waves

2021.03.30 17:13 [1460605] smart account 3N3J9tgHhJStDpNJYDhafWkbxyw7vFwTDRM > SELF 0.00000000 Waves

{ "type": 13, "id": "f5eb6m3BGMd4U7Dz7rfjPS54L8LjwCqzwUY1nLqC7Aa", "fee": 1400000, "feeAssetId": null, "timestamp": 1617113583382, "version": 2, "chainId": 84, "sender": "3N3J9tgHhJStDpNJYDhafWkbxyw7vFwTDRM", "senderPublicKey": "267FfEXSbZcgrWeZJQAD2qnNDAnGoN41APAmxbVJYMcd", "proofs": [ "5SD3NdPWHqabNfbzwu1UxhykHyum8r75ixxU2DoHdQpusWnZMjBEMLXp4HVWy3jhc4ZSctBvGfu4Bm2w9tp39MHX" ], "script": "base64:AAIDAAAAAAAAADoIARIFCgMICAgSBAoCCAgSAwoBCBIECgIIARIDCgEIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgQKAggIAAAAEgAAAAAGUVVPUlVNAAAAAAAAAAABAQAAAA10cnlHZXRJbnRlZ2VyAAAAAQAAAANrZXkEAAAAA3ZhbAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgAAAAAAAAAAAAUAAAADdmFsAQAAAAx0cnlHZXRTdHJpbmcAAAABAAAAA2tleQQAAAADdmFsBAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAgAAAAAFAAAAA3ZhbAAAAAAMbWFpbkNvbnRyYWN0CQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAECAAAAIzNOMzR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AEIBQAAAAFpAAAABmNhbGxlcgQAAAAMcmV3YXJkQW1vdW50CQEAAAANdHJ5R2V0SW50ZWdlcgAAAAEJAAEsAAAAAgkAASwAAAACAgAAAAZ0YXNrc18FAAAABnRhc2tJZAIAAAAHX3Jld2FyZAQAAAALdGVhbUFkZHJlc3MJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMJAAEsAAAAAgkAASwAAAACAgAAAAZ0YXNrc18FAAAABnRhc2tJZAIAAAAHX2xlYWRlcgkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAZ0YXNrc18FAAAABnRhc2tJZAIAAAAHX3N0YXR1cwIAAAANd29ya19maW5pc2hlZAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACCQABLAAAAAICAAAABnRhc2tzXwUAAAAGdGFza0lkAgAAAAdfcmVwb3J0BQAAAApyZXBvcnRMaW5rBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAHEBleHRyVXNlcihhZGRyZXNzRnJvbVN0cmluZykAAAABBQAAAAt0ZWFtQWRkcmVzcwUAAAAMcmV3YXJkQW1vdW50BQAAAAR1bml0BQAAAANuaWwJAAACAAAAAQIAAAAgZ3JhbnRzIHdvcmtpbmcgZ3JvdXAgYWNjZXNzIG9ubHkAAAAALrEXPw==", "height": 1460605, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9zQ88j6W2FgdG1aQatWFryz7fpKYmJstQVKcqUVBqeUv Next: 3fWBwoK3SgXtMTvAoWAALJ2GBNbPdvJjT7GELwHZ5WMj Diff:
OldNewDifferences
3131 }
3232
3333
34-let h = addressFromStringValue("3NCsqf4pFGtECs3vM4j1nKqL6VA3HdiNGeZ")
34+let h = addressFromStringValue("3N34V5ita42EWyEkpgc8XHbZG6LWtM8t4n7")
3535
3636 func i () = {
3737 let d = {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 1
55
66 func b (c) = {
77 let d = {
88 let e = getInteger(this, c)
99 if ($isInstanceOf(e, "Int"))
1010 then {
1111 let f = e
1212 f
1313 }
1414 else 0
1515 }
1616 d
1717 }
1818
1919
2020 func g (c) = {
2121 let d = {
2222 let e = getString(this, c)
2323 if ($isInstanceOf(e, "String"))
2424 then {
2525 let f = e
2626 f
2727 }
2828 else ""
2929 }
3030 d
3131 }
3232
3333
34-let h = addressFromStringValue("3NCsqf4pFGtECs3vM4j1nKqL6VA3HdiNGeZ")
34+let h = addressFromStringValue("3N34V5ita42EWyEkpgc8XHbZG6LWtM8t4n7")
3535
3636 func i () = {
3737 let d = {
3838 let e = getString(h, "working_group_members")
3939 if ($isInstanceOf(e, "String"))
4040 then {
4141 let f = e
4242 f
4343 }
4444 else ""
4545 }
4646 d
4747 }
4848
4949
5050 func j () = {
5151 let d = {
5252 let e = getString(h, "dao_members")
5353 if ($isInstanceOf(e, "String"))
5454 then {
5555 let f = e
5656 f
5757 }
5858 else ""
5959 }
6060 d
6161 }
6262
6363
6464 func k () = {
6565 let d = {
6666 let e = getInteger(h, "dao_size")
6767 if ($isInstanceOf(e, "Int"))
6868 then {
6969 let f = e
7070 f
7171 }
7272 else 0
7373 }
7474 d
7575 }
7676
7777
7878 func l (m) = {
7979 let d = {
8080 let e = getInteger(h, (("working_group_member_" + toString(m)) + "_weight"))
8181 if ($isInstanceOf(e, "Int"))
8282 then {
8383 let f = e
8484 f
8585 }
8686 else 0
8787 }
8888 (d > 0)
8989 }
9090
9191
9292 func n (o) = {
9393 let d = {
9494 let e = getInteger(h, (("dao_member_" + toString(o.caller)) + "_weight"))
9595 if ($isInstanceOf(e, "Int"))
9696 then {
9797 let f = e
9898 f
9999 }
100100 else 0
101101 }
102102 (d > 0)
103103 }
104104
105105
106106 func p (q) = (g((("tasks_" + q) + "_status")) != "voting_started")
107107
108108
109109 func r (q) = (a > ((b((("tasks_" + q) + "_voting_amount")) * 100) / k()))
110110
111111
112112 func s (t) = if ((t == "like"))
113113 then 1
114114 else if ((t == "dislike"))
115115 then -1
116116 else throw("you need to vote with 'like' or 'dislike' value")
117117
118118
119119 func u (q,v) = if (!(l(v)))
120120 then throw("grants working group access only")
121121 else if ((g((("tasks_" + q) + "_status")) != ""))
122122 then throw("task is not new")
123123 else true
124124
125125
126126 func w (q,v) = if ((g((("tasks_" + q) + "_status")) != "approved"))
127127 then throw("the task is not approved")
128128 else if ((toString(v) != g((("tasks_" + q) + "_leader"))))
129129 then throw("team leader only")
130130 else true
131131
132132
133133 func x (q,y,v) = if ((g((("tasks_" + q) + "_status")) != ""))
134134 then throw("voting was already started, so the reward amount cannot be changed")
135135 else if ((toString(v) != g((("tasks_" + q) + "_leader"))))
136136 then throw("team leader only")
137137 else true
138138
139139
140140 func z (q,o) = if (!(n(o)))
141141 then throw("you can't vote")
142142 else if (p(q))
143143 then throw("voting is closed or not started")
144144 else if (!((b(((("tasks_" + q) + "_voted_") + toString(o.caller))) == 0)))
145145 then throw("you have already voted")
146146 else true
147147
148148
149149 func A (q,v) = if ((g((("tasks_" + q) + "_status")) != "voting_started"))
150150 then throw("voting is not active")
151151 else if (r(q))
152152 then throw((("more than " + toString(a)) + "% members have to vote before finishing the voting"))
153153 else if (!(l(v)))
154154 then throw("grants working group access only")
155155 else true
156156
157157
158158 func B (v) = if (!(l(v)))
159159 then throw("grants working group access only")
160160 else true
161161
162162
163163 @Callable(o)
164164 func addTask (C,D,E) = WriteSet([DataEntry((("tasks_" + toBase58String(o.transactionId)) + "_title"), C), DataEntry((("tasks_" + toBase58String(o.transactionId)) + "_link"), D), DataEntry((("tasks_" + toBase58String(o.transactionId)) + "_hash"), E), DataEntry((("tasks_" + toBase58String(o.transactionId)) + "_leader"), toString(o.caller))])
165165
166166
167167
168168 @Callable(o)
169169 func resetHash (q,E) = WriteSet([DataEntry((("tasks_" + q) + "_hash"), E)])
170170
171171
172172
173173 @Callable(o)
174174 func hideTask (q) = WriteSet([DataEntry((("tasks_" + q) + "_status"), "hide")])
175175
176176
177177
178178 @Callable(o)
179179 func addReward (q,y) = if (x(q, y, o.caller))
180180 then WriteSet([DataEntry((("tasks_" + q) + "_reward"), y)])
181181 else throw("checks are not passed")
182182
183183
184184
185185 @Callable(o)
186186 func initTaskVoting (q) = if (u(q, o.caller))
187187 then WriteSet([DataEntry((("tasks_" + q) + "_status"), "voting_started")])
188188 else throw("checks are not passed")
189189
190190
191191
192192 @Callable(o)
193193 func voteForTaskProposal (q,F) = if (z(q, o))
194194 then {
195195 let G = ((("tasks_" + q) + "_voted_") + toString(o.caller))
196196 let H = (("tasks_" + q) + "_voting_state")
197197 let I = (("tasks_" + q) + "_voting_amount")
198198 let J = s(F)
199199 let K = b(H)
200200 let L = (b(I) + 1)
201201 WriteSet([DataEntry(H, (K + J)), DataEntry(G, J), DataEntry(I, L)])
202202 }
203203 else throw("checks are not passed")
204204
205205
206206
207207 @Callable(o)
208208 func finishTaskProposalVoting (q) = if (A(q, o.caller))
209209 then {
210210 let M = (("tasks_" + q) + "_status")
211211 let H = (("tasks_" + q) + "_voting_state")
212212 WriteSet([DataEntry(M, if ((b(H) > 0))
213213 then "approved"
214214 else "rejected")])
215215 }
216216 else throw("checks are not passed")
217217
218218
219219
220220 @Callable(o)
221221 func startWork (q) = if (w(q, o.caller))
222222 then WriteSet([DataEntry((("tasks_" + q) + "_status"), "work_started")])
223223 else throw("checks are not passed")
224224
225225
226226
227227 @Callable(o)
228228 func rejectTask (q) = if (l(o.caller))
229229 then WriteSet([DataEntry((("tasks_" + q) + "_status"), "rejected")])
230230 else throw("grants working group access only")
231231
232232
233233
234234 @Callable(o)
235235 func acceptWorkResult (q,N) = if (B(o.caller))
236236 then {
237237 let O = b((("tasks_" + q) + "_reward"))
238238 let P = getStringValue(this, (("tasks_" + q) + "_leader"))
239239 ScriptResult(WriteSet([DataEntry((("tasks_" + q) + "_status"), "work_finished"), DataEntry((("tasks_" + q) + "_report"), N)]), TransferSet([ScriptTransfer(addressFromStringValue(P), O, unit)]))
240240 }
241241 else throw("grants working group access only")
242242
243243

github/deemru/w8io/026f985 
38.81 ms