tx · 9CQyf3xv6RnTxPJ5exCHYWxWvChgf3c6XCqm2bbYtLMs 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS: -0.01400000 Waves 2021.04.15 13:04 [1483413] smart account 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS > SELF 0.00000000 Waves
{ "type": 13, "id": "9CQyf3xv6RnTxPJ5exCHYWxWvChgf3c6XCqm2bbYtLMs", "fee": 1400000, "feeAssetId": null, "timestamp": 1618481079256, "version": 2, "chainId": 84, "sender": "3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS", "senderPublicKey": "93SZf1TATCRxGyBuGyngpQGKcpKZirb2yXLT2RQJ3UKb", "proofs": [ "5jbh63466kP7vxarsXhtKcaYEi1QANuMQbVsEuqQtshH5UBwhBrSzhAWmRyMXAZ1quTk2AKRpvfeeJ87KygMUXVb" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAAMAAAAAAMYWRtaW5QdWJLZXkxAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkyAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkzAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABFhZG1pblB1YktleVdhbGxldAEAAAAgPndaZVpWyfwpVzO1vA1FLcrMp/iFkg43d1jzYhVSFBIAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcmVzd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pblB1YktleVN0YXJ0U3RvcAUAAAADbmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZ2vP9E=", "height": 1483413, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: mdqYbZgY8pFTDJHEabHACujCojjKa5RofcsGLhJkgPE Next: 7U2gXgagFegASqNPizi59LYpDD6nuBivpJagzczA9eKZ Diff:
Old | New | Differences | |
---|---|---|---|
67 | 67 | ||
68 | 68 | let G = 10000000000 | |
69 | 69 | ||
70 | - | let H = "start_height" | |
71 | - | ||
72 | - | let I = "base_period" | |
73 | - | ||
74 | - | let J = "period_length" | |
75 | - | ||
76 | - | let K = "_user_total_struc" | |
77 | - | ||
78 | - | let L = valueOrErrorMessage(getInteger(C, I), "Empty kBasePeriod at voting contract") | |
79 | - | ||
80 | - | let M = valueOrErrorMessage(getInteger(C, H), "Empty kStartHeight at voting contract") | |
81 | - | ||
82 | - | let N = valueOrErrorMessage(getInteger(C, J), "Empty kPeriodLength at voting contract") | |
83 | - | ||
84 | - | let O = (L + ((height - M) / N)) | |
85 | - | ||
86 | - | func P (Q) = [BooleanEntry(f, false), StringEntry(g, Q)] | |
70 | + | func H (I) = [BooleanEntry(f, false), StringEntry(g, I)] | |
87 | 71 | ||
88 | 72 | ||
89 | - | func | |
73 | + | func J () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
90 | 74 | ||
91 | 75 | ||
92 | - | func | |
93 | - | let | |
94 | - | | |
76 | + | func K () = { | |
77 | + | let L = valueOrElse(getInteger(this, h), 0) | |
78 | + | L | |
95 | 79 | } | |
96 | 80 | ||
97 | 81 | ||
98 | - | func | |
82 | + | func M (N) = valueOrElse(getInteger(this, (toString(N) + j)), 0) | |
99 | 83 | ||
100 | 84 | ||
101 | - | func | |
85 | + | func O (N) = valueOrElse(getInteger(this, (toString(N) + p)), 0) | |
102 | 86 | ||
103 | 87 | ||
104 | - | func | |
105 | - | let | |
106 | - | let | |
107 | - | let | |
108 | - | let | |
109 | - | if ($isInstanceOf( | |
88 | + | func P (N,L) = { | |
89 | + | let Q = M(N) | |
90 | + | let R = getInteger(this, (toString(N) + i)) | |
91 | + | let S = { | |
92 | + | let T = R | |
93 | + | if ($isInstanceOf(T, "Int")) | |
110 | 94 | then { | |
111 | - | let | |
112 | - | | |
95 | + | let R = T | |
96 | + | R | |
113 | 97 | } | |
114 | - | else | |
98 | + | else L | |
115 | 99 | } | |
116 | - | $Tuple2( | |
100 | + | $Tuple2(S, Q) | |
117 | 101 | } | |
118 | 102 | ||
119 | 103 | ||
120 | - | func | |
104 | + | func U () = valueOrElse(getInteger(this, l), 0) | |
121 | 105 | ||
122 | 106 | ||
123 | - | func ad (V) = { | |
124 | - | let ae = if (isDefined(getString(this, (toString(V) + K)))) | |
125 | - | then { | |
126 | - | let af = split(valueOrErrorMessage(getString(this, (toString(V) + K)), "Empty kUserTotalStruc"), "_") | |
127 | - | $Tuple3(parseIntValue(af[0]), parseIntValue(af[1]), parseIntValue(af[2])) | |
128 | - | } | |
129 | - | else { | |
130 | - | let ag = valueOrElse(getInteger(this, (toString(V) + m)), 0) | |
131 | - | $Tuple3(ag, 0, O) | |
132 | - | } | |
133 | - | let ah = ae._1 | |
134 | - | let ai = ae._2 | |
135 | - | let aj = ae._3 | |
136 | - | if ((aj == O)) | |
137 | - | then ai | |
138 | - | else 0 | |
139 | - | } | |
107 | + | func V (N) = valueOrElse(getInteger(C, (toString(N) + m)), 0) | |
140 | 108 | ||
141 | 109 | ||
142 | - | func | |
110 | + | func W (N) = valueOrElse(getInteger(this, (toString(N) + n)), 0) | |
143 | 111 | ||
144 | 112 | ||
145 | - | func | |
113 | + | func X (Y) = valueOrElse(getInteger(this, (Y + t)), 0) | |
146 | 114 | ||
147 | 115 | ||
148 | - | func | |
149 | - | let | |
150 | - | let | |
151 | - | let | |
152 | - | if ($isInstanceOf( | |
116 | + | func Z (N,Y,aa) = { | |
117 | + | let ab = getInteger(this, (((Y + aa) + toString(N)) + n)) | |
118 | + | let ac = { | |
119 | + | let T = ab | |
120 | + | if ($isInstanceOf(T, "Int")) | |
153 | 121 | then { | |
154 | - | let | |
155 | - | | |
122 | + | let ac = T | |
123 | + | ac | |
156 | 124 | } | |
157 | - | else if ($isInstanceOf( | |
125 | + | else if ($isInstanceOf(T, "Unit")) | |
158 | 126 | then { | |
159 | - | let | |
127 | + | let ac = T | |
160 | 128 | 0 | |
161 | 129 | } | |
162 | 130 | else throw("Match error") | |
163 | 131 | } | |
164 | - | valueOrErrorMessage( | |
132 | + | valueOrErrorMessage(ac, (((("No data on the key: " + Y) + aa) + toString(N)) + n)) | |
165 | 133 | } | |
166 | 134 | ||
167 | 135 | ||
168 | - | func | |
136 | + | func ad (Y) = valueOrErrorMessage(getInteger(this, (Y + u)), (("No data on the key: " + Y) + u)) | |
169 | 137 | ||
170 | 138 | ||
171 | - | func | |
172 | - | let | |
173 | - | let | |
174 | - | let | |
175 | - | if ($isInstanceOf( | |
139 | + | func ae (Y,aa) = { | |
140 | + | let af = getInteger(this, ((Y + aa) + o)) | |
141 | + | let ag = { | |
142 | + | let T = af | |
143 | + | if ($isInstanceOf(T, "Int")) | |
176 | 144 | then { | |
177 | - | let | |
178 | - | | |
145 | + | let ag = T | |
146 | + | ag | |
179 | 147 | } | |
180 | - | else if ($isInstanceOf( | |
148 | + | else if ($isInstanceOf(T, "Unit")) | |
181 | 149 | then { | |
182 | - | let | |
150 | + | let ag = T | |
183 | 151 | 0 | |
184 | 152 | } | |
185 | 153 | else throw("Match error") | |
186 | 154 | } | |
187 | - | | |
155 | + | ag | |
188 | 156 | } | |
189 | 157 | ||
190 | 158 | ||
191 | - | func | |
192 | - | let | |
193 | - | valueOrErrorMessage(getInteger(this, | |
159 | + | func ah (Y,aa,N,ai) = { | |
160 | + | let aj = ((((((Y + "_") + aa) + "_") + toString(N)) + "_") + toString(ai)) | |
161 | + | valueOrErrorMessage(getInteger(this, aj), ("No data on the key: " + aj)) | |
194 | 162 | } | |
195 | 163 | ||
196 | 164 | ||
197 | - | func | |
198 | - | let | |
199 | - | let | |
200 | - | let | |
201 | - | let | |
202 | - | let | |
203 | - | let | |
204 | - | $Tuple2( | |
165 | + | func ak (al) = { | |
166 | + | let L = K() | |
167 | + | let am = P(al, L) | |
168 | + | let R = am._1 | |
169 | + | let an = am._2 | |
170 | + | let ao = fraction(an, (L - R), F) | |
171 | + | let ap = L | |
172 | + | $Tuple2(ap, ao) | |
205 | 173 | } | |
206 | 174 | ||
207 | 175 | ||
208 | - | @Callable( | |
176 | + | @Callable(aq) | |
209 | 177 | func airDrop () = if (!(A)) | |
210 | 178 | then throw("DApp is inactive at this moment") | |
211 | 179 | else { | |
212 | - | let | |
213 | - | let | |
214 | - | let | |
215 | - | if (( | |
180 | + | let ar = $Tuple2(aq.payments[0].amount, aq.payments[0].assetId) | |
181 | + | let as = ar._1 | |
182 | + | let at = ar._2 | |
183 | + | if ((at != E)) | |
216 | 184 | then throw("Incorrect pmtAssetId") | |
217 | 185 | else { | |
218 | - | let | |
219 | - | let | |
220 | - | let | |
221 | - | [IntegerEntry(h, | |
186 | + | let au = U() | |
187 | + | let L = K() | |
188 | + | let av = (L + fraction(as, F, au)) | |
189 | + | [IntegerEntry(h, av)] | |
222 | 190 | } | |
223 | 191 | } | |
224 | 192 | ||
225 | 193 | ||
226 | 194 | ||
227 | - | @Callable( | |
195 | + | @Callable(aq) | |
228 | 196 | func lockSWOP () = if (!(A)) | |
229 | 197 | then throw("DApp is inactive at this moment") | |
230 | 198 | else { | |
231 | - | let | |
232 | - | let | |
233 | - | let | |
234 | - | if (( | |
199 | + | let aw = $Tuple2(aq.payments[0].amount, aq.payments[0].assetId) | |
200 | + | let as = aw._1 | |
201 | + | let at = aw._2 | |
202 | + | if ((at != E)) | |
235 | 203 | then throw("Incorrect pmtAssetId") | |
236 | 204 | else { | |
237 | - | let | |
238 | - | let | |
239 | - | let | |
240 | - | let | |
241 | - | let | |
242 | - | let | |
243 | - | let | |
244 | - | let | |
245 | - | let | |
246 | - | let | |
247 | - | let | |
248 | - | [IntegerEntry((toString( | |
205 | + | let L = K() | |
206 | + | let ax = P(aq.caller, L) | |
207 | + | let R = ax._1 | |
208 | + | let an = ax._2 | |
209 | + | let ao = fraction(an, (L - R), F) | |
210 | + | let ay = ((an + as) + ao) | |
211 | + | let ap = L | |
212 | + | let au = U() | |
213 | + | let az = ((au + as) + ao) | |
214 | + | let aA = O(aq.caller) | |
215 | + | let aB = (aA + ao) | |
216 | + | [IntegerEntry((toString(aq.caller) + i), ap), IntegerEntry((toString(aq.caller) + j), ay), IntegerEntry(l, az), IntegerEntry((toString(aq.caller) + p), aB), IntegerEntry((toString(aq.caller) + q), ao)] | |
249 | 217 | } | |
250 | 218 | } | |
251 | 219 | ||
252 | 220 | ||
253 | 221 | ||
254 | - | @Callable( | |
255 | - | func withdrawSWOP ( | |
222 | + | @Callable(aq) | |
223 | + | func withdrawSWOP (aC) = if (!(A)) | |
256 | 224 | then throw("DApp is inactive at this moment") | |
257 | 225 | else { | |
258 | - | let | |
259 | - | let | |
260 | - | let | |
261 | - | let | |
262 | - | let | |
263 | - | let | |
264 | - | let | |
265 | - | if (( | |
226 | + | let au = U() | |
227 | + | let an = M(aq.caller) | |
228 | + | let aD = ak(aq.caller) | |
229 | + | let ap = aD._1 | |
230 | + | let ao = aD._2 | |
231 | + | let aE = V(aq.caller) | |
232 | + | let aF = (an - aE) | |
233 | + | if ((aC > aF)) | |
266 | 234 | then throw("withdrawAmount > availableFund") | |
267 | 235 | else { | |
268 | - | let | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | [IntegerEntry((toString( | |
236 | + | let az = ((au + ao) - aC) | |
237 | + | let aG = ((an + ao) - aC) | |
238 | + | let aA = O(aq.caller) | |
239 | + | let aB = (aA + ao) | |
240 | + | [IntegerEntry((toString(aq.caller) + i), ap), IntegerEntry((toString(aq.caller) + j), aG), IntegerEntry(l, az), ScriptTransfer(aq.caller, aC, E), IntegerEntry((toString(aq.caller) + p), aB), IntegerEntry((toString(aq.caller) + q), ao)] | |
273 | 241 | } | |
274 | 242 | } | |
275 | 243 | ||
276 | 244 | ||
277 | 245 | ||
278 | - | @Callable( | |
246 | + | @Callable(aq) | |
279 | 247 | func claimAndWithdrawSWOP () = if (!(A)) | |
280 | 248 | then throw("DApp is inactive at this moment") | |
281 | 249 | else { | |
282 | - | let | |
283 | - | let | |
284 | - | let | |
285 | - | let | |
286 | - | let | |
287 | - | let | |
288 | - | if (( | |
250 | + | let L = K() | |
251 | + | let aH = ak(aq.caller) | |
252 | + | let ap = aH._1 | |
253 | + | let ao = aH._2 | |
254 | + | let aA = O(aq.caller) | |
255 | + | let aB = (aA + ao) | |
256 | + | if ((ao == 0)) | |
289 | 257 | then throw("You have 0 available SWOP") | |
290 | - | else [IntegerEntry((toString( | |
258 | + | else [IntegerEntry((toString(aq.caller) + i), ap), IntegerEntry((toString(aq.caller) + p), aB), IntegerEntry((toString(aq.caller) + q), ao), ScriptTransfer(aq.caller, ao, E)] | |
291 | 259 | } | |
292 | 260 | ||
293 | 261 | ||
294 | 262 | ||
295 | - | @Callable( | |
263 | + | @Callable(aq) | |
296 | 264 | func claimAndStakeSWOP () = if (!(A)) | |
297 | 265 | then throw("DApp is inactive at this moment") | |
298 | 266 | else { | |
299 | - | let | |
300 | - | let | |
301 | - | let | |
302 | - | let | |
303 | - | let | |
304 | - | let | |
305 | - | let | |
306 | - | let | |
307 | - | let | |
308 | - | let | |
309 | - | if (( | |
267 | + | let au = U() | |
268 | + | let an = M(aq.caller) | |
269 | + | let L = K() | |
270 | + | let aI = ak(aq.caller) | |
271 | + | let ap = aI._1 | |
272 | + | let ao = aI._2 | |
273 | + | let ay = (an + ao) | |
274 | + | let az = (au + ao) | |
275 | + | let aA = O(aq.caller) | |
276 | + | let aB = (aA + ao) | |
277 | + | if ((ao == 0)) | |
310 | 278 | then throw("You have 0 available SWOP") | |
311 | - | else [IntegerEntry((toString( | |
279 | + | else [IntegerEntry((toString(aq.caller) + i), ap), IntegerEntry(l, az), IntegerEntry((toString(aq.caller) + j), ay), IntegerEntry((toString(aq.caller) + p), aB), IntegerEntry((toString(aq.caller) + q), ao)] | |
312 | 280 | } | |
313 | 281 | ||
314 | 282 | ||
315 | 283 | ||
316 | - | @Callable( | |
317 | - | func updateWeights ( | |
284 | + | @Callable(aq) | |
285 | + | func updateWeights (aJ,aK,aL,aM,aN) = if (!(A)) | |
318 | 286 | then throw("DApp is inactive at this moment") | |
319 | - | else if (!(containsElement([a, b, c, d, e], | |
287 | + | else if (!(containsElement([a, b, c, d, e], aq.callerPublicKey))) | |
320 | 288 | then throw("Only admin can call this function") | |
321 | 289 | else { | |
322 | - | func | |
290 | + | func aO (aP,aQ) = (aP + aQ) | |
323 | 291 | ||
324 | - | func | |
325 | - | let | |
326 | - | let | |
327 | - | IntegerEntry(( | |
292 | + | func aR (aS,aT) = { | |
293 | + | let aU = value(indexOf(aJ, aT)) | |
294 | + | let aV = aK[aU] | |
295 | + | IntegerEntry((aT + w), aV) :: aS | |
328 | 296 | } | |
329 | 297 | ||
330 | - | func | |
331 | - | let | |
332 | - | let | |
333 | - | IntegerEntry(( | |
298 | + | func aW (aS,aT) = { | |
299 | + | let aU = value(indexOf(aL, aT)) | |
300 | + | let aV = aM[aU] | |
301 | + | IntegerEntry((aT + v), aV) :: aS | |
334 | 302 | } | |
335 | 303 | ||
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | if (( | |
341 | - | then | |
304 | + | let aX = { | |
305 | + | let aY = aK | |
306 | + | let aZ = size(aY) | |
307 | + | let ba = 0 | |
308 | + | if ((aZ == 0)) | |
309 | + | then ba | |
342 | 310 | else { | |
343 | - | let | |
344 | - | if (( | |
345 | - | then | |
311 | + | let bb = aO(ba, aY[0]) | |
312 | + | if ((aZ == 1)) | |
313 | + | then bb | |
346 | 314 | else { | |
347 | - | let | |
348 | - | if (( | |
349 | - | then | |
315 | + | let bc = aO(bb, aY[1]) | |
316 | + | if ((aZ == 2)) | |
317 | + | then bc | |
350 | 318 | else { | |
351 | - | let | |
352 | - | if (( | |
353 | - | then | |
319 | + | let bd = aO(bc, aY[2]) | |
320 | + | if ((aZ == 3)) | |
321 | + | then bd | |
354 | 322 | else { | |
355 | - | let | |
356 | - | if (( | |
357 | - | then | |
323 | + | let be = aO(bd, aY[3]) | |
324 | + | if ((aZ == 4)) | |
325 | + | then be | |
358 | 326 | else { | |
359 | - | let | |
360 | - | if (( | |
361 | - | then | |
327 | + | let bf = aO(be, aY[4]) | |
328 | + | if ((aZ == 5)) | |
329 | + | then bf | |
362 | 330 | else { | |
363 | - | let | |
364 | - | if (( | |
365 | - | then | |
331 | + | let bg = aO(bf, aY[5]) | |
332 | + | if ((aZ == 6)) | |
333 | + | then bg | |
366 | 334 | else { | |
367 | - | let | |
368 | - | if (( | |
369 | - | then | |
335 | + | let bh = aO(bg, aY[6]) | |
336 | + | if ((aZ == 7)) | |
337 | + | then bh | |
370 | 338 | else { | |
371 | - | let | |
372 | - | if (( | |
373 | - | then | |
339 | + | let bi = aO(bh, aY[7]) | |
340 | + | if ((aZ == 8)) | |
341 | + | then bi | |
374 | 342 | else { | |
375 | - | let | |
376 | - | if (( | |
377 | - | then | |
343 | + | let bj = aO(bi, aY[8]) | |
344 | + | if ((aZ == 9)) | |
345 | + | then bj | |
378 | 346 | else { | |
379 | - | let | |
380 | - | if (( | |
381 | - | then | |
347 | + | let bk = aO(bj, aY[9]) | |
348 | + | if ((aZ == 10)) | |
349 | + | then bk | |
382 | 350 | else { | |
383 | - | let | |
384 | - | if (( | |
385 | - | then | |
351 | + | let bl = aO(bk, aY[10]) | |
352 | + | if ((aZ == 11)) | |
353 | + | then bl | |
386 | 354 | else { | |
387 | - | let | |
388 | - | if (( | |
389 | - | then | |
355 | + | let bm = aO(bl, aY[11]) | |
356 | + | if ((aZ == 12)) | |
357 | + | then bm | |
390 | 358 | else { | |
391 | - | let | |
392 | - | if (( | |
393 | - | then | |
359 | + | let bn = aO(bm, aY[12]) | |
360 | + | if ((aZ == 13)) | |
361 | + | then bn | |
394 | 362 | else { | |
395 | - | let | |
396 | - | if (( | |
397 | - | then | |
363 | + | let bo = aO(bn, aY[13]) | |
364 | + | if ((aZ == 14)) | |
365 | + | then bo | |
398 | 366 | else { | |
399 | - | let | |
400 | - | if (( | |
401 | - | then | |
367 | + | let bp = aO(bo, aY[14]) | |
368 | + | if ((aZ == 15)) | |
369 | + | then bp | |
402 | 370 | else { | |
403 | - | let | |
404 | - | if (( | |
405 | - | then | |
371 | + | let bq = aO(bp, aY[15]) | |
372 | + | if ((aZ == 16)) | |
373 | + | then bq | |
406 | 374 | else { | |
407 | - | let | |
408 | - | if (( | |
409 | - | then | |
375 | + | let br = aO(bq, aY[16]) | |
376 | + | if ((aZ == 17)) | |
377 | + | then br | |
410 | 378 | else { | |
411 | - | let | |
412 | - | if (( | |
413 | - | then | |
379 | + | let bs = aO(br, aY[17]) | |
380 | + | if ((aZ == 18)) | |
381 | + | then bs | |
414 | 382 | else { | |
415 | - | let | |
416 | - | if (( | |
417 | - | then | |
383 | + | let bt = aO(bs, aY[18]) | |
384 | + | if ((aZ == 19)) | |
385 | + | then bt | |
418 | 386 | else { | |
419 | - | let | |
420 | - | if (( | |
421 | - | then | |
387 | + | let bu = aO(bt, aY[19]) | |
388 | + | if ((aZ == 20)) | |
389 | + | then bu | |
422 | 390 | else { | |
423 | - | let | |
391 | + | let bv = aO(bu, aY[20]) | |
424 | 392 | throw("List size exceed 20") | |
425 | 393 | } | |
426 | 394 | } | |
444 | 412 | } | |
445 | 413 | } | |
446 | 414 | } | |
447 | - | let | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
451 | - | if (( | |
452 | - | then | |
415 | + | let bw = { | |
416 | + | let bx = aM | |
417 | + | let by = size(bx) | |
418 | + | let bz = 0 | |
419 | + | if ((by == 0)) | |
420 | + | then bz | |
453 | 421 | else { | |
454 | - | let | |
455 | - | if (( | |
456 | - | then | |
422 | + | let bA = aO(bz, bx[0]) | |
423 | + | if ((by == 1)) | |
424 | + | then bA | |
457 | 425 | else { | |
458 | - | let | |
459 | - | if (( | |
460 | - | then | |
426 | + | let bB = aO(bA, bx[1]) | |
427 | + | if ((by == 2)) | |
428 | + | then bB | |
461 | 429 | else { | |
462 | - | let | |
463 | - | if (( | |
464 | - | then | |
430 | + | let bC = aO(bB, bx[2]) | |
431 | + | if ((by == 3)) | |
432 | + | then bC | |
465 | 433 | else { | |
466 | - | let | |
467 | - | if (( | |
468 | - | then | |
434 | + | let bD = aO(bC, bx[3]) | |
435 | + | if ((by == 4)) | |
436 | + | then bD | |
469 | 437 | else { | |
470 | - | let | |
471 | - | if (( | |
472 | - | then | |
438 | + | let bE = aO(bD, bx[4]) | |
439 | + | if ((by == 5)) | |
440 | + | then bE | |
473 | 441 | else { | |
474 | - | let | |
475 | - | if (( | |
476 | - | then | |
442 | + | let bF = aO(bE, bx[5]) | |
443 | + | if ((by == 6)) | |
444 | + | then bF | |
477 | 445 | else { | |
478 | - | let | |
479 | - | if (( | |
480 | - | then | |
446 | + | let bG = aO(bF, bx[6]) | |
447 | + | if ((by == 7)) | |
448 | + | then bG | |
481 | 449 | else { | |
482 | - | let | |
483 | - | if (( | |
484 | - | then | |
450 | + | let bH = aO(bG, bx[7]) | |
451 | + | if ((by == 8)) | |
452 | + | then bH | |
485 | 453 | else { | |
486 | - | let | |
487 | - | if (( | |
488 | - | then | |
454 | + | let bI = aO(bH, bx[8]) | |
455 | + | if ((by == 9)) | |
456 | + | then bI | |
489 | 457 | else { | |
490 | - | let | |
491 | - | if (( | |
492 | - | then | |
458 | + | let bJ = aO(bI, bx[9]) | |
459 | + | if ((by == 10)) | |
460 | + | then bJ | |
493 | 461 | else { | |
494 | - | let | |
495 | - | if (( | |
496 | - | then | |
462 | + | let bK = aO(bJ, bx[10]) | |
463 | + | if ((by == 11)) | |
464 | + | then bK | |
497 | 465 | else { | |
498 | - | let | |
499 | - | if (( | |
500 | - | then | |
466 | + | let bL = aO(bK, bx[11]) | |
467 | + | if ((by == 12)) | |
468 | + | then bL | |
501 | 469 | else { | |
502 | - | let | |
503 | - | if (( | |
504 | - | then | |
470 | + | let bM = aO(bL, bx[12]) | |
471 | + | if ((by == 13)) | |
472 | + | then bM | |
505 | 473 | else { | |
506 | - | let | |
507 | - | if (( | |
508 | - | then | |
474 | + | let bN = aO(bM, bx[13]) | |
475 | + | if ((by == 14)) | |
476 | + | then bN | |
509 | 477 | else { | |
510 | - | let | |
511 | - | if (( | |
512 | - | then | |
478 | + | let bO = aO(bN, bx[14]) | |
479 | + | if ((by == 15)) | |
480 | + | then bO | |
513 | 481 | else { | |
514 | - | let | |
515 | - | if (( | |
516 | - | then | |
482 | + | let bP = aO(bO, bx[15]) | |
483 | + | if ((by == 16)) | |
484 | + | then bP | |
517 | 485 | else { | |
518 | - | let | |
519 | - | if (( | |
520 | - | then | |
486 | + | let bQ = aO(bP, bx[16]) | |
487 | + | if ((by == 17)) | |
488 | + | then bQ | |
521 | 489 | else { | |
522 | - | let | |
523 | - | if (( | |
524 | - | then | |
490 | + | let bR = aO(bQ, bx[17]) | |
491 | + | if ((by == 18)) | |
492 | + | then bR | |
525 | 493 | else { | |
526 | - | let | |
527 | - | if (( | |
528 | - | then | |
494 | + | let bS = aO(bR, bx[18]) | |
495 | + | if ((by == 19)) | |
496 | + | then bS | |
529 | 497 | else { | |
530 | - | let | |
531 | - | if (( | |
532 | - | then | |
498 | + | let bT = aO(bS, bx[19]) | |
499 | + | if ((by == 20)) | |
500 | + | then bT | |
533 | 501 | else { | |
534 | - | let | |
502 | + | let bU = aO(bT, bx[20]) | |
535 | 503 | throw("List size exceed 20") | |
536 | 504 | } | |
537 | 505 | } | |
555 | 523 | } | |
556 | 524 | } | |
557 | 525 | } | |
558 | - | if ((height > | |
526 | + | if ((height > aN)) | |
559 | 527 | then throw("rewardUpdateHeight < height") | |
560 | - | else if (if (( | |
528 | + | else if (if ((aX != G)) | |
561 | 529 | then true | |
562 | - | else ( | |
530 | + | else (bw != G)) | |
563 | 531 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
564 | 532 | else { | |
565 | - | let | |
566 | - | let | |
567 | - | let | |
568 | - | let | |
569 | - | if (( | |
570 | - | then | |
533 | + | let bV = { | |
534 | + | let bW = aJ | |
535 | + | let bX = size(bW) | |
536 | + | let bY = nil | |
537 | + | if ((bX == 0)) | |
538 | + | then bY | |
571 | 539 | else { | |
572 | - | let | |
573 | - | if (( | |
574 | - | then | |
540 | + | let bZ = aR(bY, bW[0]) | |
541 | + | if ((bX == 1)) | |
542 | + | then bZ | |
575 | 543 | else { | |
576 | - | let | |
577 | - | if (( | |
578 | - | then | |
544 | + | let ca = aR(bZ, bW[1]) | |
545 | + | if ((bX == 2)) | |
546 | + | then ca | |
579 | 547 | else { | |
580 | - | let | |
581 | - | if (( | |
582 | - | then | |
548 | + | let cb = aR(ca, bW[2]) | |
549 | + | if ((bX == 3)) | |
550 | + | then cb | |
583 | 551 | else { | |
584 | - | let | |
585 | - | if (( | |
586 | - | then | |
552 | + | let cc = aR(cb, bW[3]) | |
553 | + | if ((bX == 4)) | |
554 | + | then cc | |
587 | 555 | else { | |
588 | - | let | |
589 | - | if (( | |
590 | - | then | |
556 | + | let cd = aR(cc, bW[4]) | |
557 | + | if ((bX == 5)) | |
558 | + | then cd | |
591 | 559 | else { | |
592 | - | let | |
593 | - | if (( | |
594 | - | then | |
560 | + | let ce = aR(cd, bW[5]) | |
561 | + | if ((bX == 6)) | |
562 | + | then ce | |
595 | 563 | else { | |
596 | - | let | |
597 | - | if (( | |
598 | - | then | |
564 | + | let cf = aR(ce, bW[6]) | |
565 | + | if ((bX == 7)) | |
566 | + | then cf | |
599 | 567 | else { | |
600 | - | let | |
601 | - | if (( | |
602 | - | then | |
568 | + | let cg = aR(cf, bW[7]) | |
569 | + | if ((bX == 8)) | |
570 | + | then cg | |
603 | 571 | else { | |
604 | - | let | |
605 | - | if (( | |
606 | - | then | |
572 | + | let ch = aR(cg, bW[8]) | |
573 | + | if ((bX == 9)) | |
574 | + | then ch | |
607 | 575 | else { | |
608 | - | let | |
609 | - | if (( | |
610 | - | then | |
576 | + | let ci = aR(ch, bW[9]) | |
577 | + | if ((bX == 10)) | |
578 | + | then ci | |
611 | 579 | else { | |
612 | - | let | |
613 | - | if (( | |
614 | - | then | |
580 | + | let cj = aR(ci, bW[10]) | |
581 | + | if ((bX == 11)) | |
582 | + | then cj | |
615 | 583 | else { | |
616 | - | let | |
617 | - | if (( | |
618 | - | then | |
584 | + | let ck = aR(cj, bW[11]) | |
585 | + | if ((bX == 12)) | |
586 | + | then ck | |
619 | 587 | else { | |
620 | - | let | |
621 | - | if (( | |
622 | - | then | |
588 | + | let cl = aR(ck, bW[12]) | |
589 | + | if ((bX == 13)) | |
590 | + | then cl | |
623 | 591 | else { | |
624 | - | let | |
625 | - | if (( | |
626 | - | then | |
592 | + | let cm = aR(cl, bW[13]) | |
593 | + | if ((bX == 14)) | |
594 | + | then cm | |
627 | 595 | else { | |
628 | - | let | |
629 | - | if (( | |
630 | - | then | |
596 | + | let cn = aR(cm, bW[14]) | |
597 | + | if ((bX == 15)) | |
598 | + | then cn | |
631 | 599 | else { | |
632 | - | let | |
633 | - | if (( | |
634 | - | then | |
600 | + | let co = aR(cn, bW[15]) | |
601 | + | if ((bX == 16)) | |
602 | + | then co | |
635 | 603 | else { | |
636 | - | let | |
637 | - | if (( | |
638 | - | then | |
604 | + | let cp = aR(co, bW[16]) | |
605 | + | if ((bX == 17)) | |
606 | + | then cp | |
639 | 607 | else { | |
640 | - | let | |
641 | - | if (( | |
642 | - | then | |
608 | + | let cq = aR(cp, bW[17]) | |
609 | + | if ((bX == 18)) | |
610 | + | then cq | |
643 | 611 | else { | |
644 | - | let | |
645 | - | if (( | |
646 | - | then | |
612 | + | let cr = aR(cq, bW[18]) | |
613 | + | if ((bX == 19)) | |
614 | + | then cr | |
647 | 615 | else { | |
648 | - | let | |
649 | - | if (( | |
650 | - | then | |
616 | + | let cs = aR(cr, bW[19]) | |
617 | + | if ((bX == 20)) | |
618 | + | then cs | |
651 | 619 | else { | |
652 | - | let | |
620 | + | let ct = aR(cs, bW[20]) | |
653 | 621 | throw("List size exceed 20") | |
654 | 622 | } | |
655 | 623 | } | |
673 | 641 | } | |
674 | 642 | } | |
675 | 643 | } | |
676 | - | let | |
677 | - | let | |
678 | - | let | |
679 | - | let | |
680 | - | if (( | |
681 | - | then | |
644 | + | let cu = { | |
645 | + | let cv = aL | |
646 | + | let cw = size(cv) | |
647 | + | let cx = nil | |
648 | + | if ((cw == 0)) | |
649 | + | then cx | |
682 | 650 | else { | |
683 | - | let | |
684 | - | if (( | |
685 | - | then | |
651 | + | let cy = aW(cx, cv[0]) | |
652 | + | if ((cw == 1)) | |
653 | + | then cy | |
686 | 654 | else { | |
687 | - | let | |
688 | - | if (( | |
689 | - | then | |
655 | + | let cz = aW(cy, cv[1]) | |
656 | + | if ((cw == 2)) | |
657 | + | then cz | |
690 | 658 | else { | |
691 | - | let | |
692 | - | if (( | |
693 | - | then | |
659 | + | let cA = aW(cz, cv[2]) | |
660 | + | if ((cw == 3)) | |
661 | + | then cA | |
694 | 662 | else { | |
695 | - | let | |
696 | - | if (( | |
697 | - | then | |
663 | + | let cB = aW(cA, cv[3]) | |
664 | + | if ((cw == 4)) | |
665 | + | then cB | |
698 | 666 | else { | |
699 | - | let | |
700 | - | if (( | |
701 | - | then | |
667 | + | let cC = aW(cB, cv[4]) | |
668 | + | if ((cw == 5)) | |
669 | + | then cC | |
702 | 670 | else { | |
703 | - | let | |
704 | - | if (( | |
705 | - | then | |
671 | + | let cD = aW(cC, cv[5]) | |
672 | + | if ((cw == 6)) | |
673 | + | then cD | |
706 | 674 | else { | |
707 | - | let | |
708 | - | if (( | |
709 | - | then | |
675 | + | let cE = aW(cD, cv[6]) | |
676 | + | if ((cw == 7)) | |
677 | + | then cE | |
710 | 678 | else { | |
711 | - | let | |
712 | - | if (( | |
713 | - | then | |
679 | + | let cF = aW(cE, cv[7]) | |
680 | + | if ((cw == 8)) | |
681 | + | then cF | |
714 | 682 | else { | |
715 | - | let | |
716 | - | if (( | |
717 | - | then | |
683 | + | let cG = aW(cF, cv[8]) | |
684 | + | if ((cw == 9)) | |
685 | + | then cG | |
718 | 686 | else { | |
719 | - | let | |
720 | - | if (( | |
721 | - | then | |
687 | + | let cH = aW(cG, cv[9]) | |
688 | + | if ((cw == 10)) | |
689 | + | then cH | |
722 | 690 | else { | |
723 | - | let | |
724 | - | if (( | |
725 | - | then | |
691 | + | let cI = aW(cH, cv[10]) | |
692 | + | if ((cw == 11)) | |
693 | + | then cI | |
726 | 694 | else { | |
727 | - | let | |
728 | - | if (( | |
729 | - | then | |
695 | + | let cJ = aW(cI, cv[11]) | |
696 | + | if ((cw == 12)) | |
697 | + | then cJ | |
730 | 698 | else { | |
731 | - | let | |
732 | - | if (( | |
733 | - | then | |
699 | + | let cK = aW(cJ, cv[12]) | |
700 | + | if ((cw == 13)) | |
701 | + | then cK | |
734 | 702 | else { | |
735 | - | let | |
736 | - | if (( | |
737 | - | then | |
703 | + | let cL = aW(cK, cv[13]) | |
704 | + | if ((cw == 14)) | |
705 | + | then cL | |
738 | 706 | else { | |
739 | - | let | |
740 | - | if (( | |
741 | - | then | |
707 | + | let cM = aW(cL, cv[14]) | |
708 | + | if ((cw == 15)) | |
709 | + | then cM | |
742 | 710 | else { | |
743 | - | let | |
744 | - | if (( | |
745 | - | then | |
711 | + | let cN = aW(cM, cv[15]) | |
712 | + | if ((cw == 16)) | |
713 | + | then cN | |
746 | 714 | else { | |
747 | - | let | |
748 | - | if (( | |
749 | - | then | |
715 | + | let cO = aW(cN, cv[16]) | |
716 | + | if ((cw == 17)) | |
717 | + | then cO | |
750 | 718 | else { | |
751 | - | let | |
752 | - | if (( | |
753 | - | then | |
719 | + | let cP = aW(cO, cv[17]) | |
720 | + | if ((cw == 18)) | |
721 | + | then cP | |
754 | 722 | else { | |
755 | - | let | |
756 | - | if (( | |
757 | - | then | |
723 | + | let cQ = aW(cP, cv[18]) | |
724 | + | if ((cw == 19)) | |
725 | + | then cQ | |
758 | 726 | else { | |
759 | - | let | |
760 | - | if (( | |
761 | - | then | |
727 | + | let cR = aW(cQ, cv[19]) | |
728 | + | if ((cw == 20)) | |
729 | + | then cR | |
762 | 730 | else { | |
763 | - | let | |
731 | + | let cS = aW(cR, cv[20]) | |
764 | 732 | throw("List size exceed 20") | |
765 | 733 | } | |
766 | 734 | } | |
784 | 752 | } | |
785 | 753 | } | |
786 | 754 | } | |
787 | - | (( | |
755 | + | ((bV ++ cu) ++ [IntegerEntry(z, aN)]) | |
788 | 756 | } | |
789 | 757 | } | |
790 | 758 | ||
791 | 759 | ||
792 | 760 | ||
793 | - | @Callable( | |
761 | + | @Callable(aq) | |
794 | 762 | func shutdown () = if (!(A)) | |
795 | 763 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, g), "the cause wasn't specified"))) | |
796 | - | else if (!(containsElement([a, b, c, d], | |
764 | + | else if (!(containsElement([a, b, c, d], aq.callerPublicKey))) | |
797 | 765 | then throw("Only admin can call this function") | |
798 | - | else | |
766 | + | else H("Paused by admin") | |
799 | 767 | ||
800 | 768 | ||
801 | 769 | ||
802 | - | @Callable( | |
770 | + | @Callable(aq) | |
803 | 771 | func activate () = if (A) | |
804 | 772 | then throw("DApp is already active") | |
805 | - | else if (!(containsElement([a, b, c, d], | |
773 | + | else if (!(containsElement([a, b, c, d], aq.callerPublicKey))) | |
806 | 774 | then throw("Only admin can call this function") | |
807 | 775 | else [BooleanEntry(f, true), DeleteEntry(g)] | |
808 | 776 | ||
809 | 777 | ||
810 | - | @Verifier( | |
811 | - | func | |
778 | + | @Verifier(cT) | |
779 | + | func cU () = sigVerify(cT.bodyBytes, cT.proofs[0], cT.senderPublicKey) | |
812 | 780 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
5 | 5 | ||
6 | 6 | let b = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
7 | 7 | ||
8 | 8 | let c = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
9 | 9 | ||
10 | 10 | let d = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
11 | 11 | ||
12 | 12 | let e = base58'5CqqMkmtXXt35KRH9LdWA3ap6TffPvTT5SHQzYrVFbBw' | |
13 | 13 | ||
14 | 14 | let f = "active" | |
15 | 15 | ||
16 | 16 | let g = "shutdown_cause" | |
17 | 17 | ||
18 | 18 | let h = "last_interest" | |
19 | 19 | ||
20 | 20 | let i = "_last_interest" | |
21 | 21 | ||
22 | 22 | let j = "_SWOP_amount" | |
23 | 23 | ||
24 | 24 | let k = "_getBackHeight" | |
25 | 25 | ||
26 | 26 | let l = "total_SWOP_amount" | |
27 | 27 | ||
28 | 28 | let m = "_user_total_SWOP_vote" | |
29 | 29 | ||
30 | 30 | let n = "_SWOP_option_amount" | |
31 | 31 | ||
32 | 32 | let o = "total_SWOP_option_amount" | |
33 | 33 | ||
34 | 34 | let p = "_SWOP_claimed_amount" | |
35 | 35 | ||
36 | 36 | let q = "_SWOP_last_claimed_amount" | |
37 | 37 | ||
38 | 38 | let r = "vote_name" | |
39 | 39 | ||
40 | 40 | let s = "_option_name" | |
41 | 41 | ||
42 | 42 | let t = "_startHeight" | |
43 | 43 | ||
44 | 44 | let u = "_vote_duration" | |
45 | 45 | ||
46 | 46 | let v = "_current_pool_fraction_reward" | |
47 | 47 | ||
48 | 48 | let w = "_previous_pool_fraction_reward" | |
49 | 49 | ||
50 | 50 | let x = "total_reward_per_block_current" | |
51 | 51 | ||
52 | 52 | let y = "total_reward_per_block_previous" | |
53 | 53 | ||
54 | 54 | let z = "reward_update_height" | |
55 | 55 | ||
56 | 56 | let A = valueOrElse(getBoolean(this, f), true) | |
57 | 57 | ||
58 | 58 | let B = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC') | |
59 | 59 | ||
60 | 60 | let C = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN') | |
61 | 61 | ||
62 | 62 | let D = "SWOP_id" | |
63 | 63 | ||
64 | 64 | let E = fromBase58String(getStringValue(B, D)) | |
65 | 65 | ||
66 | 66 | let F = 100000000 | |
67 | 67 | ||
68 | 68 | let G = 10000000000 | |
69 | 69 | ||
70 | - | let H = "start_height" | |
71 | - | ||
72 | - | let I = "base_period" | |
73 | - | ||
74 | - | let J = "period_length" | |
75 | - | ||
76 | - | let K = "_user_total_struc" | |
77 | - | ||
78 | - | let L = valueOrErrorMessage(getInteger(C, I), "Empty kBasePeriod at voting contract") | |
79 | - | ||
80 | - | let M = valueOrErrorMessage(getInteger(C, H), "Empty kStartHeight at voting contract") | |
81 | - | ||
82 | - | let N = valueOrErrorMessage(getInteger(C, J), "Empty kPeriodLength at voting contract") | |
83 | - | ||
84 | - | let O = (L + ((height - M) / N)) | |
85 | - | ||
86 | - | func P (Q) = [BooleanEntry(f, false), StringEntry(g, Q)] | |
70 | + | func H (I) = [BooleanEntry(f, false), StringEntry(g, I)] | |
87 | 71 | ||
88 | 72 | ||
89 | - | func | |
73 | + | func J () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
90 | 74 | ||
91 | 75 | ||
92 | - | func | |
93 | - | let | |
94 | - | | |
76 | + | func K () = { | |
77 | + | let L = valueOrElse(getInteger(this, h), 0) | |
78 | + | L | |
95 | 79 | } | |
96 | 80 | ||
97 | 81 | ||
98 | - | func | |
82 | + | func M (N) = valueOrElse(getInteger(this, (toString(N) + j)), 0) | |
99 | 83 | ||
100 | 84 | ||
101 | - | func | |
85 | + | func O (N) = valueOrElse(getInteger(this, (toString(N) + p)), 0) | |
102 | 86 | ||
103 | 87 | ||
104 | - | func | |
105 | - | let | |
106 | - | let | |
107 | - | let | |
108 | - | let | |
109 | - | if ($isInstanceOf( | |
88 | + | func P (N,L) = { | |
89 | + | let Q = M(N) | |
90 | + | let R = getInteger(this, (toString(N) + i)) | |
91 | + | let S = { | |
92 | + | let T = R | |
93 | + | if ($isInstanceOf(T, "Int")) | |
110 | 94 | then { | |
111 | - | let | |
112 | - | | |
95 | + | let R = T | |
96 | + | R | |
113 | 97 | } | |
114 | - | else | |
98 | + | else L | |
115 | 99 | } | |
116 | - | $Tuple2( | |
100 | + | $Tuple2(S, Q) | |
117 | 101 | } | |
118 | 102 | ||
119 | 103 | ||
120 | - | func | |
104 | + | func U () = valueOrElse(getInteger(this, l), 0) | |
121 | 105 | ||
122 | 106 | ||
123 | - | func ad (V) = { | |
124 | - | let ae = if (isDefined(getString(this, (toString(V) + K)))) | |
125 | - | then { | |
126 | - | let af = split(valueOrErrorMessage(getString(this, (toString(V) + K)), "Empty kUserTotalStruc"), "_") | |
127 | - | $Tuple3(parseIntValue(af[0]), parseIntValue(af[1]), parseIntValue(af[2])) | |
128 | - | } | |
129 | - | else { | |
130 | - | let ag = valueOrElse(getInteger(this, (toString(V) + m)), 0) | |
131 | - | $Tuple3(ag, 0, O) | |
132 | - | } | |
133 | - | let ah = ae._1 | |
134 | - | let ai = ae._2 | |
135 | - | let aj = ae._3 | |
136 | - | if ((aj == O)) | |
137 | - | then ai | |
138 | - | else 0 | |
139 | - | } | |
107 | + | func V (N) = valueOrElse(getInteger(C, (toString(N) + m)), 0) | |
140 | 108 | ||
141 | 109 | ||
142 | - | func | |
110 | + | func W (N) = valueOrElse(getInteger(this, (toString(N) + n)), 0) | |
143 | 111 | ||
144 | 112 | ||
145 | - | func | |
113 | + | func X (Y) = valueOrElse(getInteger(this, (Y + t)), 0) | |
146 | 114 | ||
147 | 115 | ||
148 | - | func | |
149 | - | let | |
150 | - | let | |
151 | - | let | |
152 | - | if ($isInstanceOf( | |
116 | + | func Z (N,Y,aa) = { | |
117 | + | let ab = getInteger(this, (((Y + aa) + toString(N)) + n)) | |
118 | + | let ac = { | |
119 | + | let T = ab | |
120 | + | if ($isInstanceOf(T, "Int")) | |
153 | 121 | then { | |
154 | - | let | |
155 | - | | |
122 | + | let ac = T | |
123 | + | ac | |
156 | 124 | } | |
157 | - | else if ($isInstanceOf( | |
125 | + | else if ($isInstanceOf(T, "Unit")) | |
158 | 126 | then { | |
159 | - | let | |
127 | + | let ac = T | |
160 | 128 | 0 | |
161 | 129 | } | |
162 | 130 | else throw("Match error") | |
163 | 131 | } | |
164 | - | valueOrErrorMessage( | |
132 | + | valueOrErrorMessage(ac, (((("No data on the key: " + Y) + aa) + toString(N)) + n)) | |
165 | 133 | } | |
166 | 134 | ||
167 | 135 | ||
168 | - | func | |
136 | + | func ad (Y) = valueOrErrorMessage(getInteger(this, (Y + u)), (("No data on the key: " + Y) + u)) | |
169 | 137 | ||
170 | 138 | ||
171 | - | func | |
172 | - | let | |
173 | - | let | |
174 | - | let | |
175 | - | if ($isInstanceOf( | |
139 | + | func ae (Y,aa) = { | |
140 | + | let af = getInteger(this, ((Y + aa) + o)) | |
141 | + | let ag = { | |
142 | + | let T = af | |
143 | + | if ($isInstanceOf(T, "Int")) | |
176 | 144 | then { | |
177 | - | let | |
178 | - | | |
145 | + | let ag = T | |
146 | + | ag | |
179 | 147 | } | |
180 | - | else if ($isInstanceOf( | |
148 | + | else if ($isInstanceOf(T, "Unit")) | |
181 | 149 | then { | |
182 | - | let | |
150 | + | let ag = T | |
183 | 151 | 0 | |
184 | 152 | } | |
185 | 153 | else throw("Match error") | |
186 | 154 | } | |
187 | - | | |
155 | + | ag | |
188 | 156 | } | |
189 | 157 | ||
190 | 158 | ||
191 | - | func | |
192 | - | let | |
193 | - | valueOrErrorMessage(getInteger(this, | |
159 | + | func ah (Y,aa,N,ai) = { | |
160 | + | let aj = ((((((Y + "_") + aa) + "_") + toString(N)) + "_") + toString(ai)) | |
161 | + | valueOrErrorMessage(getInteger(this, aj), ("No data on the key: " + aj)) | |
194 | 162 | } | |
195 | 163 | ||
196 | 164 | ||
197 | - | func | |
198 | - | let | |
199 | - | let | |
200 | - | let | |
201 | - | let | |
202 | - | let | |
203 | - | let | |
204 | - | $Tuple2( | |
165 | + | func ak (al) = { | |
166 | + | let L = K() | |
167 | + | let am = P(al, L) | |
168 | + | let R = am._1 | |
169 | + | let an = am._2 | |
170 | + | let ao = fraction(an, (L - R), F) | |
171 | + | let ap = L | |
172 | + | $Tuple2(ap, ao) | |
205 | 173 | } | |
206 | 174 | ||
207 | 175 | ||
208 | - | @Callable( | |
176 | + | @Callable(aq) | |
209 | 177 | func airDrop () = if (!(A)) | |
210 | 178 | then throw("DApp is inactive at this moment") | |
211 | 179 | else { | |
212 | - | let | |
213 | - | let | |
214 | - | let | |
215 | - | if (( | |
180 | + | let ar = $Tuple2(aq.payments[0].amount, aq.payments[0].assetId) | |
181 | + | let as = ar._1 | |
182 | + | let at = ar._2 | |
183 | + | if ((at != E)) | |
216 | 184 | then throw("Incorrect pmtAssetId") | |
217 | 185 | else { | |
218 | - | let | |
219 | - | let | |
220 | - | let | |
221 | - | [IntegerEntry(h, | |
186 | + | let au = U() | |
187 | + | let L = K() | |
188 | + | let av = (L + fraction(as, F, au)) | |
189 | + | [IntegerEntry(h, av)] | |
222 | 190 | } | |
223 | 191 | } | |
224 | 192 | ||
225 | 193 | ||
226 | 194 | ||
227 | - | @Callable( | |
195 | + | @Callable(aq) | |
228 | 196 | func lockSWOP () = if (!(A)) | |
229 | 197 | then throw("DApp is inactive at this moment") | |
230 | 198 | else { | |
231 | - | let | |
232 | - | let | |
233 | - | let | |
234 | - | if (( | |
199 | + | let aw = $Tuple2(aq.payments[0].amount, aq.payments[0].assetId) | |
200 | + | let as = aw._1 | |
201 | + | let at = aw._2 | |
202 | + | if ((at != E)) | |
235 | 203 | then throw("Incorrect pmtAssetId") | |
236 | 204 | else { | |
237 | - | let | |
238 | - | let | |
239 | - | let | |
240 | - | let | |
241 | - | let | |
242 | - | let | |
243 | - | let | |
244 | - | let | |
245 | - | let | |
246 | - | let | |
247 | - | let | |
248 | - | [IntegerEntry((toString( | |
205 | + | let L = K() | |
206 | + | let ax = P(aq.caller, L) | |
207 | + | let R = ax._1 | |
208 | + | let an = ax._2 | |
209 | + | let ao = fraction(an, (L - R), F) | |
210 | + | let ay = ((an + as) + ao) | |
211 | + | let ap = L | |
212 | + | let au = U() | |
213 | + | let az = ((au + as) + ao) | |
214 | + | let aA = O(aq.caller) | |
215 | + | let aB = (aA + ao) | |
216 | + | [IntegerEntry((toString(aq.caller) + i), ap), IntegerEntry((toString(aq.caller) + j), ay), IntegerEntry(l, az), IntegerEntry((toString(aq.caller) + p), aB), IntegerEntry((toString(aq.caller) + q), ao)] | |
249 | 217 | } | |
250 | 218 | } | |
251 | 219 | ||
252 | 220 | ||
253 | 221 | ||
254 | - | @Callable( | |
255 | - | func withdrawSWOP ( | |
222 | + | @Callable(aq) | |
223 | + | func withdrawSWOP (aC) = if (!(A)) | |
256 | 224 | then throw("DApp is inactive at this moment") | |
257 | 225 | else { | |
258 | - | let | |
259 | - | let | |
260 | - | let | |
261 | - | let | |
262 | - | let | |
263 | - | let | |
264 | - | let | |
265 | - | if (( | |
226 | + | let au = U() | |
227 | + | let an = M(aq.caller) | |
228 | + | let aD = ak(aq.caller) | |
229 | + | let ap = aD._1 | |
230 | + | let ao = aD._2 | |
231 | + | let aE = V(aq.caller) | |
232 | + | let aF = (an - aE) | |
233 | + | if ((aC > aF)) | |
266 | 234 | then throw("withdrawAmount > availableFund") | |
267 | 235 | else { | |
268 | - | let | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | [IntegerEntry((toString( | |
236 | + | let az = ((au + ao) - aC) | |
237 | + | let aG = ((an + ao) - aC) | |
238 | + | let aA = O(aq.caller) | |
239 | + | let aB = (aA + ao) | |
240 | + | [IntegerEntry((toString(aq.caller) + i), ap), IntegerEntry((toString(aq.caller) + j), aG), IntegerEntry(l, az), ScriptTransfer(aq.caller, aC, E), IntegerEntry((toString(aq.caller) + p), aB), IntegerEntry((toString(aq.caller) + q), ao)] | |
273 | 241 | } | |
274 | 242 | } | |
275 | 243 | ||
276 | 244 | ||
277 | 245 | ||
278 | - | @Callable( | |
246 | + | @Callable(aq) | |
279 | 247 | func claimAndWithdrawSWOP () = if (!(A)) | |
280 | 248 | then throw("DApp is inactive at this moment") | |
281 | 249 | else { | |
282 | - | let | |
283 | - | let | |
284 | - | let | |
285 | - | let | |
286 | - | let | |
287 | - | let | |
288 | - | if (( | |
250 | + | let L = K() | |
251 | + | let aH = ak(aq.caller) | |
252 | + | let ap = aH._1 | |
253 | + | let ao = aH._2 | |
254 | + | let aA = O(aq.caller) | |
255 | + | let aB = (aA + ao) | |
256 | + | if ((ao == 0)) | |
289 | 257 | then throw("You have 0 available SWOP") | |
290 | - | else [IntegerEntry((toString( | |
258 | + | else [IntegerEntry((toString(aq.caller) + i), ap), IntegerEntry((toString(aq.caller) + p), aB), IntegerEntry((toString(aq.caller) + q), ao), ScriptTransfer(aq.caller, ao, E)] | |
291 | 259 | } | |
292 | 260 | ||
293 | 261 | ||
294 | 262 | ||
295 | - | @Callable( | |
263 | + | @Callable(aq) | |
296 | 264 | func claimAndStakeSWOP () = if (!(A)) | |
297 | 265 | then throw("DApp is inactive at this moment") | |
298 | 266 | else { | |
299 | - | let | |
300 | - | let | |
301 | - | let | |
302 | - | let | |
303 | - | let | |
304 | - | let | |
305 | - | let | |
306 | - | let | |
307 | - | let | |
308 | - | let | |
309 | - | if (( | |
267 | + | let au = U() | |
268 | + | let an = M(aq.caller) | |
269 | + | let L = K() | |
270 | + | let aI = ak(aq.caller) | |
271 | + | let ap = aI._1 | |
272 | + | let ao = aI._2 | |
273 | + | let ay = (an + ao) | |
274 | + | let az = (au + ao) | |
275 | + | let aA = O(aq.caller) | |
276 | + | let aB = (aA + ao) | |
277 | + | if ((ao == 0)) | |
310 | 278 | then throw("You have 0 available SWOP") | |
311 | - | else [IntegerEntry((toString( | |
279 | + | else [IntegerEntry((toString(aq.caller) + i), ap), IntegerEntry(l, az), IntegerEntry((toString(aq.caller) + j), ay), IntegerEntry((toString(aq.caller) + p), aB), IntegerEntry((toString(aq.caller) + q), ao)] | |
312 | 280 | } | |
313 | 281 | ||
314 | 282 | ||
315 | 283 | ||
316 | - | @Callable( | |
317 | - | func updateWeights ( | |
284 | + | @Callable(aq) | |
285 | + | func updateWeights (aJ,aK,aL,aM,aN) = if (!(A)) | |
318 | 286 | then throw("DApp is inactive at this moment") | |
319 | - | else if (!(containsElement([a, b, c, d, e], | |
287 | + | else if (!(containsElement([a, b, c, d, e], aq.callerPublicKey))) | |
320 | 288 | then throw("Only admin can call this function") | |
321 | 289 | else { | |
322 | - | func | |
290 | + | func aO (aP,aQ) = (aP + aQ) | |
323 | 291 | ||
324 | - | func | |
325 | - | let | |
326 | - | let | |
327 | - | IntegerEntry(( | |
292 | + | func aR (aS,aT) = { | |
293 | + | let aU = value(indexOf(aJ, aT)) | |
294 | + | let aV = aK[aU] | |
295 | + | IntegerEntry((aT + w), aV) :: aS | |
328 | 296 | } | |
329 | 297 | ||
330 | - | func | |
331 | - | let | |
332 | - | let | |
333 | - | IntegerEntry(( | |
298 | + | func aW (aS,aT) = { | |
299 | + | let aU = value(indexOf(aL, aT)) | |
300 | + | let aV = aM[aU] | |
301 | + | IntegerEntry((aT + v), aV) :: aS | |
334 | 302 | } | |
335 | 303 | ||
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | if (( | |
341 | - | then | |
304 | + | let aX = { | |
305 | + | let aY = aK | |
306 | + | let aZ = size(aY) | |
307 | + | let ba = 0 | |
308 | + | if ((aZ == 0)) | |
309 | + | then ba | |
342 | 310 | else { | |
343 | - | let | |
344 | - | if (( | |
345 | - | then | |
311 | + | let bb = aO(ba, aY[0]) | |
312 | + | if ((aZ == 1)) | |
313 | + | then bb | |
346 | 314 | else { | |
347 | - | let | |
348 | - | if (( | |
349 | - | then | |
315 | + | let bc = aO(bb, aY[1]) | |
316 | + | if ((aZ == 2)) | |
317 | + | then bc | |
350 | 318 | else { | |
351 | - | let | |
352 | - | if (( | |
353 | - | then | |
319 | + | let bd = aO(bc, aY[2]) | |
320 | + | if ((aZ == 3)) | |
321 | + | then bd | |
354 | 322 | else { | |
355 | - | let | |
356 | - | if (( | |
357 | - | then | |
323 | + | let be = aO(bd, aY[3]) | |
324 | + | if ((aZ == 4)) | |
325 | + | then be | |
358 | 326 | else { | |
359 | - | let | |
360 | - | if (( | |
361 | - | then | |
327 | + | let bf = aO(be, aY[4]) | |
328 | + | if ((aZ == 5)) | |
329 | + | then bf | |
362 | 330 | else { | |
363 | - | let | |
364 | - | if (( | |
365 | - | then | |
331 | + | let bg = aO(bf, aY[5]) | |
332 | + | if ((aZ == 6)) | |
333 | + | then bg | |
366 | 334 | else { | |
367 | - | let | |
368 | - | if (( | |
369 | - | then | |
335 | + | let bh = aO(bg, aY[6]) | |
336 | + | if ((aZ == 7)) | |
337 | + | then bh | |
370 | 338 | else { | |
371 | - | let | |
372 | - | if (( | |
373 | - | then | |
339 | + | let bi = aO(bh, aY[7]) | |
340 | + | if ((aZ == 8)) | |
341 | + | then bi | |
374 | 342 | else { | |
375 | - | let | |
376 | - | if (( | |
377 | - | then | |
343 | + | let bj = aO(bi, aY[8]) | |
344 | + | if ((aZ == 9)) | |
345 | + | then bj | |
378 | 346 | else { | |
379 | - | let | |
380 | - | if (( | |
381 | - | then | |
347 | + | let bk = aO(bj, aY[9]) | |
348 | + | if ((aZ == 10)) | |
349 | + | then bk | |
382 | 350 | else { | |
383 | - | let | |
384 | - | if (( | |
385 | - | then | |
351 | + | let bl = aO(bk, aY[10]) | |
352 | + | if ((aZ == 11)) | |
353 | + | then bl | |
386 | 354 | else { | |
387 | - | let | |
388 | - | if (( | |
389 | - | then | |
355 | + | let bm = aO(bl, aY[11]) | |
356 | + | if ((aZ == 12)) | |
357 | + | then bm | |
390 | 358 | else { | |
391 | - | let | |
392 | - | if (( | |
393 | - | then | |
359 | + | let bn = aO(bm, aY[12]) | |
360 | + | if ((aZ == 13)) | |
361 | + | then bn | |
394 | 362 | else { | |
395 | - | let | |
396 | - | if (( | |
397 | - | then | |
363 | + | let bo = aO(bn, aY[13]) | |
364 | + | if ((aZ == 14)) | |
365 | + | then bo | |
398 | 366 | else { | |
399 | - | let | |
400 | - | if (( | |
401 | - | then | |
367 | + | let bp = aO(bo, aY[14]) | |
368 | + | if ((aZ == 15)) | |
369 | + | then bp | |
402 | 370 | else { | |
403 | - | let | |
404 | - | if (( | |
405 | - | then | |
371 | + | let bq = aO(bp, aY[15]) | |
372 | + | if ((aZ == 16)) | |
373 | + | then bq | |
406 | 374 | else { | |
407 | - | let | |
408 | - | if (( | |
409 | - | then | |
375 | + | let br = aO(bq, aY[16]) | |
376 | + | if ((aZ == 17)) | |
377 | + | then br | |
410 | 378 | else { | |
411 | - | let | |
412 | - | if (( | |
413 | - | then | |
379 | + | let bs = aO(br, aY[17]) | |
380 | + | if ((aZ == 18)) | |
381 | + | then bs | |
414 | 382 | else { | |
415 | - | let | |
416 | - | if (( | |
417 | - | then | |
383 | + | let bt = aO(bs, aY[18]) | |
384 | + | if ((aZ == 19)) | |
385 | + | then bt | |
418 | 386 | else { | |
419 | - | let | |
420 | - | if (( | |
421 | - | then | |
387 | + | let bu = aO(bt, aY[19]) | |
388 | + | if ((aZ == 20)) | |
389 | + | then bu | |
422 | 390 | else { | |
423 | - | let | |
391 | + | let bv = aO(bu, aY[20]) | |
424 | 392 | throw("List size exceed 20") | |
425 | 393 | } | |
426 | 394 | } | |
427 | 395 | } | |
428 | 396 | } | |
429 | 397 | } | |
430 | 398 | } | |
431 | 399 | } | |
432 | 400 | } | |
433 | 401 | } | |
434 | 402 | } | |
435 | 403 | } | |
436 | 404 | } | |
437 | 405 | } | |
438 | 406 | } | |
439 | 407 | } | |
440 | 408 | } | |
441 | 409 | } | |
442 | 410 | } | |
443 | 411 | } | |
444 | 412 | } | |
445 | 413 | } | |
446 | 414 | } | |
447 | - | let | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
451 | - | if (( | |
452 | - | then | |
415 | + | let bw = { | |
416 | + | let bx = aM | |
417 | + | let by = size(bx) | |
418 | + | let bz = 0 | |
419 | + | if ((by == 0)) | |
420 | + | then bz | |
453 | 421 | else { | |
454 | - | let | |
455 | - | if (( | |
456 | - | then | |
422 | + | let bA = aO(bz, bx[0]) | |
423 | + | if ((by == 1)) | |
424 | + | then bA | |
457 | 425 | else { | |
458 | - | let | |
459 | - | if (( | |
460 | - | then | |
426 | + | let bB = aO(bA, bx[1]) | |
427 | + | if ((by == 2)) | |
428 | + | then bB | |
461 | 429 | else { | |
462 | - | let | |
463 | - | if (( | |
464 | - | then | |
430 | + | let bC = aO(bB, bx[2]) | |
431 | + | if ((by == 3)) | |
432 | + | then bC | |
465 | 433 | else { | |
466 | - | let | |
467 | - | if (( | |
468 | - | then | |
434 | + | let bD = aO(bC, bx[3]) | |
435 | + | if ((by == 4)) | |
436 | + | then bD | |
469 | 437 | else { | |
470 | - | let | |
471 | - | if (( | |
472 | - | then | |
438 | + | let bE = aO(bD, bx[4]) | |
439 | + | if ((by == 5)) | |
440 | + | then bE | |
473 | 441 | else { | |
474 | - | let | |
475 | - | if (( | |
476 | - | then | |
442 | + | let bF = aO(bE, bx[5]) | |
443 | + | if ((by == 6)) | |
444 | + | then bF | |
477 | 445 | else { | |
478 | - | let | |
479 | - | if (( | |
480 | - | then | |
446 | + | let bG = aO(bF, bx[6]) | |
447 | + | if ((by == 7)) | |
448 | + | then bG | |
481 | 449 | else { | |
482 | - | let | |
483 | - | if (( | |
484 | - | then | |
450 | + | let bH = aO(bG, bx[7]) | |
451 | + | if ((by == 8)) | |
452 | + | then bH | |
485 | 453 | else { | |
486 | - | let | |
487 | - | if (( | |
488 | - | then | |
454 | + | let bI = aO(bH, bx[8]) | |
455 | + | if ((by == 9)) | |
456 | + | then bI | |
489 | 457 | else { | |
490 | - | let | |
491 | - | if (( | |
492 | - | then | |
458 | + | let bJ = aO(bI, bx[9]) | |
459 | + | if ((by == 10)) | |
460 | + | then bJ | |
493 | 461 | else { | |
494 | - | let | |
495 | - | if (( | |
496 | - | then | |
462 | + | let bK = aO(bJ, bx[10]) | |
463 | + | if ((by == 11)) | |
464 | + | then bK | |
497 | 465 | else { | |
498 | - | let | |
499 | - | if (( | |
500 | - | then | |
466 | + | let bL = aO(bK, bx[11]) | |
467 | + | if ((by == 12)) | |
468 | + | then bL | |
501 | 469 | else { | |
502 | - | let | |
503 | - | if (( | |
504 | - | then | |
470 | + | let bM = aO(bL, bx[12]) | |
471 | + | if ((by == 13)) | |
472 | + | then bM | |
505 | 473 | else { | |
506 | - | let | |
507 | - | if (( | |
508 | - | then | |
474 | + | let bN = aO(bM, bx[13]) | |
475 | + | if ((by == 14)) | |
476 | + | then bN | |
509 | 477 | else { | |
510 | - | let | |
511 | - | if (( | |
512 | - | then | |
478 | + | let bO = aO(bN, bx[14]) | |
479 | + | if ((by == 15)) | |
480 | + | then bO | |
513 | 481 | else { | |
514 | - | let | |
515 | - | if (( | |
516 | - | then | |
482 | + | let bP = aO(bO, bx[15]) | |
483 | + | if ((by == 16)) | |
484 | + | then bP | |
517 | 485 | else { | |
518 | - | let | |
519 | - | if (( | |
520 | - | then | |
486 | + | let bQ = aO(bP, bx[16]) | |
487 | + | if ((by == 17)) | |
488 | + | then bQ | |
521 | 489 | else { | |
522 | - | let | |
523 | - | if (( | |
524 | - | then | |
490 | + | let bR = aO(bQ, bx[17]) | |
491 | + | if ((by == 18)) | |
492 | + | then bR | |
525 | 493 | else { | |
526 | - | let | |
527 | - | if (( | |
528 | - | then | |
494 | + | let bS = aO(bR, bx[18]) | |
495 | + | if ((by == 19)) | |
496 | + | then bS | |
529 | 497 | else { | |
530 | - | let | |
531 | - | if (( | |
532 | - | then | |
498 | + | let bT = aO(bS, bx[19]) | |
499 | + | if ((by == 20)) | |
500 | + | then bT | |
533 | 501 | else { | |
534 | - | let | |
502 | + | let bU = aO(bT, bx[20]) | |
535 | 503 | throw("List size exceed 20") | |
536 | 504 | } | |
537 | 505 | } | |
538 | 506 | } | |
539 | 507 | } | |
540 | 508 | } | |
541 | 509 | } | |
542 | 510 | } | |
543 | 511 | } | |
544 | 512 | } | |
545 | 513 | } | |
546 | 514 | } | |
547 | 515 | } | |
548 | 516 | } | |
549 | 517 | } | |
550 | 518 | } | |
551 | 519 | } | |
552 | 520 | } | |
553 | 521 | } | |
554 | 522 | } | |
555 | 523 | } | |
556 | 524 | } | |
557 | 525 | } | |
558 | - | if ((height > | |
526 | + | if ((height > aN)) | |
559 | 527 | then throw("rewardUpdateHeight < height") | |
560 | - | else if (if (( | |
528 | + | else if (if ((aX != G)) | |
561 | 529 | then true | |
562 | - | else ( | |
530 | + | else (bw != G)) | |
563 | 531 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
564 | 532 | else { | |
565 | - | let | |
566 | - | let | |
567 | - | let | |
568 | - | let | |
569 | - | if (( | |
570 | - | then | |
533 | + | let bV = { | |
534 | + | let bW = aJ | |
535 | + | let bX = size(bW) | |
536 | + | let bY = nil | |
537 | + | if ((bX == 0)) | |
538 | + | then bY | |
571 | 539 | else { | |
572 | - | let | |
573 | - | if (( | |
574 | - | then | |
540 | + | let bZ = aR(bY, bW[0]) | |
541 | + | if ((bX == 1)) | |
542 | + | then bZ | |
575 | 543 | else { | |
576 | - | let | |
577 | - | if (( | |
578 | - | then | |
544 | + | let ca = aR(bZ, bW[1]) | |
545 | + | if ((bX == 2)) | |
546 | + | then ca | |
579 | 547 | else { | |
580 | - | let | |
581 | - | if (( | |
582 | - | then | |
548 | + | let cb = aR(ca, bW[2]) | |
549 | + | if ((bX == 3)) | |
550 | + | then cb | |
583 | 551 | else { | |
584 | - | let | |
585 | - | if (( | |
586 | - | then | |
552 | + | let cc = aR(cb, bW[3]) | |
553 | + | if ((bX == 4)) | |
554 | + | then cc | |
587 | 555 | else { | |
588 | - | let | |
589 | - | if (( | |
590 | - | then | |
556 | + | let cd = aR(cc, bW[4]) | |
557 | + | if ((bX == 5)) | |
558 | + | then cd | |
591 | 559 | else { | |
592 | - | let | |
593 | - | if (( | |
594 | - | then | |
560 | + | let ce = aR(cd, bW[5]) | |
561 | + | if ((bX == 6)) | |
562 | + | then ce | |
595 | 563 | else { | |
596 | - | let | |
597 | - | if (( | |
598 | - | then | |
564 | + | let cf = aR(ce, bW[6]) | |
565 | + | if ((bX == 7)) | |
566 | + | then cf | |
599 | 567 | else { | |
600 | - | let | |
601 | - | if (( | |
602 | - | then | |
568 | + | let cg = aR(cf, bW[7]) | |
569 | + | if ((bX == 8)) | |
570 | + | then cg | |
603 | 571 | else { | |
604 | - | let | |
605 | - | if (( | |
606 | - | then | |
572 | + | let ch = aR(cg, bW[8]) | |
573 | + | if ((bX == 9)) | |
574 | + | then ch | |
607 | 575 | else { | |
608 | - | let | |
609 | - | if (( | |
610 | - | then | |
576 | + | let ci = aR(ch, bW[9]) | |
577 | + | if ((bX == 10)) | |
578 | + | then ci | |
611 | 579 | else { | |
612 | - | let | |
613 | - | if (( | |
614 | - | then | |
580 | + | let cj = aR(ci, bW[10]) | |
581 | + | if ((bX == 11)) | |
582 | + | then cj | |
615 | 583 | else { | |
616 | - | let | |
617 | - | if (( | |
618 | - | then | |
584 | + | let ck = aR(cj, bW[11]) | |
585 | + | if ((bX == 12)) | |
586 | + | then ck | |
619 | 587 | else { | |
620 | - | let | |
621 | - | if (( | |
622 | - | then | |
588 | + | let cl = aR(ck, bW[12]) | |
589 | + | if ((bX == 13)) | |
590 | + | then cl | |
623 | 591 | else { | |
624 | - | let | |
625 | - | if (( | |
626 | - | then | |
592 | + | let cm = aR(cl, bW[13]) | |
593 | + | if ((bX == 14)) | |
594 | + | then cm | |
627 | 595 | else { | |
628 | - | let | |
629 | - | if (( | |
630 | - | then | |
596 | + | let cn = aR(cm, bW[14]) | |
597 | + | if ((bX == 15)) | |
598 | + | then cn | |
631 | 599 | else { | |
632 | - | let | |
633 | - | if (( | |
634 | - | then | |
600 | + | let co = aR(cn, bW[15]) | |
601 | + | if ((bX == 16)) | |
602 | + | then co | |
635 | 603 | else { | |
636 | - | let | |
637 | - | if (( | |
638 | - | then | |
604 | + | let cp = aR(co, bW[16]) | |
605 | + | if ((bX == 17)) | |
606 | + | then cp | |
639 | 607 | else { | |
640 | - | let | |
641 | - | if (( | |
642 | - | then | |
608 | + | let cq = aR(cp, bW[17]) | |
609 | + | if ((bX == 18)) | |
610 | + | then cq | |
643 | 611 | else { | |
644 | - | let | |
645 | - | if (( | |
646 | - | then | |
612 | + | let cr = aR(cq, bW[18]) | |
613 | + | if ((bX == 19)) | |
614 | + | then cr | |
647 | 615 | else { | |
648 | - | let | |
649 | - | if (( | |
650 | - | then | |
616 | + | let cs = aR(cr, bW[19]) | |
617 | + | if ((bX == 20)) | |
618 | + | then cs | |
651 | 619 | else { | |
652 | - | let | |
620 | + | let ct = aR(cs, bW[20]) | |
653 | 621 | throw("List size exceed 20") | |
654 | 622 | } | |
655 | 623 | } | |
656 | 624 | } | |
657 | 625 | } | |
658 | 626 | } | |
659 | 627 | } | |
660 | 628 | } | |
661 | 629 | } | |
662 | 630 | } | |
663 | 631 | } | |
664 | 632 | } | |
665 | 633 | } | |
666 | 634 | } | |
667 | 635 | } | |
668 | 636 | } | |
669 | 637 | } | |
670 | 638 | } | |
671 | 639 | } | |
672 | 640 | } | |
673 | 641 | } | |
674 | 642 | } | |
675 | 643 | } | |
676 | - | let | |
677 | - | let | |
678 | - | let | |
679 | - | let | |
680 | - | if (( | |
681 | - | then | |
644 | + | let cu = { | |
645 | + | let cv = aL | |
646 | + | let cw = size(cv) | |
647 | + | let cx = nil | |
648 | + | if ((cw == 0)) | |
649 | + | then cx | |
682 | 650 | else { | |
683 | - | let | |
684 | - | if (( | |
685 | - | then | |
651 | + | let cy = aW(cx, cv[0]) | |
652 | + | if ((cw == 1)) | |
653 | + | then cy | |
686 | 654 | else { | |
687 | - | let | |
688 | - | if (( | |
689 | - | then | |
655 | + | let cz = aW(cy, cv[1]) | |
656 | + | if ((cw == 2)) | |
657 | + | then cz | |
690 | 658 | else { | |
691 | - | let | |
692 | - | if (( | |
693 | - | then | |
659 | + | let cA = aW(cz, cv[2]) | |
660 | + | if ((cw == 3)) | |
661 | + | then cA | |
694 | 662 | else { | |
695 | - | let | |
696 | - | if (( | |
697 | - | then | |
663 | + | let cB = aW(cA, cv[3]) | |
664 | + | if ((cw == 4)) | |
665 | + | then cB | |
698 | 666 | else { | |
699 | - | let | |
700 | - | if (( | |
701 | - | then | |
667 | + | let cC = aW(cB, cv[4]) | |
668 | + | if ((cw == 5)) | |
669 | + | then cC | |
702 | 670 | else { | |
703 | - | let | |
704 | - | if (( | |
705 | - | then | |
671 | + | let cD = aW(cC, cv[5]) | |
672 | + | if ((cw == 6)) | |
673 | + | then cD | |
706 | 674 | else { | |
707 | - | let | |
708 | - | if (( | |
709 | - | then | |
675 | + | let cE = aW(cD, cv[6]) | |
676 | + | if ((cw == 7)) | |
677 | + | then cE | |
710 | 678 | else { | |
711 | - | let | |
712 | - | if (( | |
713 | - | then | |
679 | + | let cF = aW(cE, cv[7]) | |
680 | + | if ((cw == 8)) | |
681 | + | then cF | |
714 | 682 | else { | |
715 | - | let | |
716 | - | if (( | |
717 | - | then | |
683 | + | let cG = aW(cF, cv[8]) | |
684 | + | if ((cw == 9)) | |
685 | + | then cG | |
718 | 686 | else { | |
719 | - | let | |
720 | - | if (( | |
721 | - | then | |
687 | + | let cH = aW(cG, cv[9]) | |
688 | + | if ((cw == 10)) | |
689 | + | then cH | |
722 | 690 | else { | |
723 | - | let | |
724 | - | if (( | |
725 | - | then | |
691 | + | let cI = aW(cH, cv[10]) | |
692 | + | if ((cw == 11)) | |
693 | + | then cI | |
726 | 694 | else { | |
727 | - | let | |
728 | - | if (( | |
729 | - | then | |
695 | + | let cJ = aW(cI, cv[11]) | |
696 | + | if ((cw == 12)) | |
697 | + | then cJ | |
730 | 698 | else { | |
731 | - | let | |
732 | - | if (( | |
733 | - | then | |
699 | + | let cK = aW(cJ, cv[12]) | |
700 | + | if ((cw == 13)) | |
701 | + | then cK | |
734 | 702 | else { | |
735 | - | let | |
736 | - | if (( | |
737 | - | then | |
703 | + | let cL = aW(cK, cv[13]) | |
704 | + | if ((cw == 14)) | |
705 | + | then cL | |
738 | 706 | else { | |
739 | - | let | |
740 | - | if (( | |
741 | - | then | |
707 | + | let cM = aW(cL, cv[14]) | |
708 | + | if ((cw == 15)) | |
709 | + | then cM | |
742 | 710 | else { | |
743 | - | let | |
744 | - | if (( | |
745 | - | then | |
711 | + | let cN = aW(cM, cv[15]) | |
712 | + | if ((cw == 16)) | |
713 | + | then cN | |
746 | 714 | else { | |
747 | - | let | |
748 | - | if (( | |
749 | - | then | |
715 | + | let cO = aW(cN, cv[16]) | |
716 | + | if ((cw == 17)) | |
717 | + | then cO | |
750 | 718 | else { | |
751 | - | let | |
752 | - | if (( | |
753 | - | then | |
719 | + | let cP = aW(cO, cv[17]) | |
720 | + | if ((cw == 18)) | |
721 | + | then cP | |
754 | 722 | else { | |
755 | - | let | |
756 | - | if (( | |
757 | - | then | |
723 | + | let cQ = aW(cP, cv[18]) | |
724 | + | if ((cw == 19)) | |
725 | + | then cQ | |
758 | 726 | else { | |
759 | - | let | |
760 | - | if (( | |
761 | - | then | |
727 | + | let cR = aW(cQ, cv[19]) | |
728 | + | if ((cw == 20)) | |
729 | + | then cR | |
762 | 730 | else { | |
763 | - | let | |
731 | + | let cS = aW(cR, cv[20]) | |
764 | 732 | throw("List size exceed 20") | |
765 | 733 | } | |
766 | 734 | } | |
767 | 735 | } | |
768 | 736 | } | |
769 | 737 | } | |
770 | 738 | } | |
771 | 739 | } | |
772 | 740 | } | |
773 | 741 | } | |
774 | 742 | } | |
775 | 743 | } | |
776 | 744 | } | |
777 | 745 | } | |
778 | 746 | } | |
779 | 747 | } | |
780 | 748 | } | |
781 | 749 | } | |
782 | 750 | } | |
783 | 751 | } | |
784 | 752 | } | |
785 | 753 | } | |
786 | 754 | } | |
787 | - | (( | |
755 | + | ((bV ++ cu) ++ [IntegerEntry(z, aN)]) | |
788 | 756 | } | |
789 | 757 | } | |
790 | 758 | ||
791 | 759 | ||
792 | 760 | ||
793 | - | @Callable( | |
761 | + | @Callable(aq) | |
794 | 762 | func shutdown () = if (!(A)) | |
795 | 763 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, g), "the cause wasn't specified"))) | |
796 | - | else if (!(containsElement([a, b, c, d], | |
764 | + | else if (!(containsElement([a, b, c, d], aq.callerPublicKey))) | |
797 | 765 | then throw("Only admin can call this function") | |
798 | - | else | |
766 | + | else H("Paused by admin") | |
799 | 767 | ||
800 | 768 | ||
801 | 769 | ||
802 | - | @Callable( | |
770 | + | @Callable(aq) | |
803 | 771 | func activate () = if (A) | |
804 | 772 | then throw("DApp is already active") | |
805 | - | else if (!(containsElement([a, b, c, d], | |
773 | + | else if (!(containsElement([a, b, c, d], aq.callerPublicKey))) | |
806 | 774 | then throw("Only admin can call this function") | |
807 | 775 | else [BooleanEntry(f, true), DeleteEntry(g)] | |
808 | 776 | ||
809 | 777 | ||
810 | - | @Verifier( | |
811 | - | func | |
778 | + | @Verifier(cT) | |
779 | + | func cU () = sigVerify(cT.bodyBytes, cT.proofs[0], cT.senderPublicKey) | |
812 | 780 |
github/deemru/w8io/026f985 968.65 ms ◑