tx · 3wSus1LzMsXBekZw1hdGXnzquzVGQ8jPPf1CMg9mMGey

3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS:  -0.01400000 Waves

2021.04.17 20:46 [1486765] smart account 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS > SELF 0.00000000 Waves

{ "type": 13, "id": "3wSus1LzMsXBekZw1hdGXnzquzVGQ8jPPf1CMg9mMGey", "fee": 1400000, "feeAssetId": null, "timestamp": 1618681617069, "version": 2, "chainId": 84, "sender": "3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS", "senderPublicKey": "93SZf1TATCRxGyBuGyngpQGKcpKZirb2yXLT2RQJ3UKb", "proofs": [ "5SpqQvz945Rbn11YkDmVsmxTLKzgcSKrJtWGkSqpFFGXvatRMM79hWdQ2n5DgKKa1YR8utV1ZDdkYyyseJqWyh3f" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAAMAAAAAAMYWRtaW5QdWJLZXkxAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkyAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkzAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABFhZG1pblB1YktleVdhbGxldAEAAAAgPndaZVpWyfwpVzO1vA1FLcrMp/iFkg43d1jzYhVSFBIAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcmVzd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pblB1YktleVN0YXJ0U3RvcAUAAAADbmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZ2vP9E=", "height": 1486765, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: JZQ36AUuVmMDRqD6hzmfJjmNz5pWbBGgwtJ6EZhd5GL Next: B6U9dHqnRs1f8nAmxnKYyNmNf8QPyAVFx3mw8PKJNmLr Diff:
OldNewDifferences
6767
6868 let G = 10000000000
6969
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)]
8771
8872
89-func R () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount")
73+func J () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount")
9074
9175
92-func S () = {
93- let T = valueOrElse(getInteger(this, h), 0)
94- T
76+func K () = {
77+ let L = valueOrElse(getInteger(this, h), 0)
78+ L
9579 }
9680
9781
98-func U (V) = valueOrElse(getInteger(this, (toString(V) + j)), 0)
82+func M (N) = valueOrElse(getInteger(this, (toString(N) + j)), 0)
9983
10084
101-func W (V) = valueOrElse(getInteger(this, (toString(V) + p)), 0)
85+func O (N) = valueOrElse(getInteger(this, (toString(N) + p)), 0)
10286
10387
104-func X (V,T) = {
105- let Y = U(V)
106- let Z = getInteger(this, (toString(V) + i))
107- let aa = {
108- let ab = Z
109- if ($isInstanceOf(ab, "Int"))
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"))
11094 then {
111- let Z = ab
112- Z
95+ let R = T
96+ R
11397 }
114- else T
98+ else L
11599 }
116- $Tuple2(aa, Y)
100+ $Tuple2(S, Q)
117101 }
118102
119103
120-func ac () = valueOrElse(getInteger(this, l), 0)
104+func U () = valueOrElse(getInteger(this, l), 0)
121105
122106
123-func ad (V) = {
124- let ae = if (isDefined(getString(this, (toString(V) + K))))
125- then {
126- let af = split(valueOrErrorMessage(getString(C, (toString(V) + K)), "Empty kUserTotalStruc"), "_")
127- $Tuple3(parseIntValue(af[0]), parseIntValue(af[1]), parseIntValue(af[2]))
128- }
129- else {
130- let ag = valueOrElse(getInteger(C, (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)
140108
141109
142-func ak (V) = valueOrElse(getInteger(this, (toString(V) + n)), 0)
110+func W (N) = valueOrElse(getInteger(this, (toString(N) + n)), 0)
143111
144112
145-func al (am) = valueOrElse(getInteger(this, (am + t)), 0)
113+func X (Y) = valueOrElse(getInteger(this, (Y + t)), 0)
146114
147115
148-func an (V,am,ao) = {
149- let ap = getInteger(this, (((am + ao) + toString(V)) + n))
150- let aq = {
151- let ab = ap
152- if ($isInstanceOf(ab, "Int"))
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"))
153121 then {
154- let aq = ab
155- aq
122+ let ac = T
123+ ac
156124 }
157- else if ($isInstanceOf(ab, "Unit"))
125+ else if ($isInstanceOf(T, "Unit"))
158126 then {
159- let aq = ab
127+ let ac = T
160128 0
161129 }
162130 else throw("Match error")
163131 }
164- valueOrErrorMessage(aq, (((("No data on the key: " + am) + ao) + toString(V)) + n))
132+ valueOrErrorMessage(ac, (((("No data on the key: " + Y) + aa) + toString(N)) + n))
165133 }
166134
167135
168-func ar (am) = valueOrErrorMessage(getInteger(this, (am + u)), (("No data on the key: " + am) + u))
136+func ad (Y) = valueOrErrorMessage(getInteger(this, (Y + u)), (("No data on the key: " + Y) + u))
169137
170138
171-func as (am,ao) = {
172- let at = getInteger(this, ((am + ao) + o))
173- let au = {
174- let ab = at
175- if ($isInstanceOf(ab, "Int"))
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"))
176144 then {
177- let au = ab
178- au
145+ let ag = T
146+ ag
179147 }
180- else if ($isInstanceOf(ab, "Unit"))
148+ else if ($isInstanceOf(T, "Unit"))
181149 then {
182- let au = ab
150+ let ag = T
183151 0
184152 }
185153 else throw("Match error")
186154 }
187- au
155+ ag
188156 }
189157
190158
191-func av (V) = {
192- let aw = if (isDefined(getString(this, (toString(V) + K))))
193- then {
194- let af = split(valueOrErrorMessage(getString(this, (toString(V) + K)), "Empty kUserTotalStruc"), "_")
195- $Tuple3(parseIntValue(af[0]), parseIntValue(af[1]), parseIntValue(af[2]))
196- }
197- else {
198- let ag = valueOrElse(getInteger(this, (toString(V) + m)), 0)
199- $Tuple3(ag, 0, O)
200- }
201- let ah = aw._1
202- let ai = aw._2
203- let aj = aw._3
204- ah
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))
205162 }
206163
207164
208-func ax (am,ao,V,ay) = {
209- let az = ((((((am + "_") + ao) + "_") + toString(V)) + "_") + toString(ay))
210- valueOrErrorMessage(getInteger(this, az), ("No data on the key: " + az))
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)
211173 }
212174
213175
214-func aA (aB) = {
215- let T = S()
216- let aC = X(aB, T)
217- let Z = aC._1
218- let aD = aC._2
219- let aE = fraction(aD, (T - Z), F)
220- let aF = T
221- $Tuple2(aF, aE)
222- }
223-
224-
225-@Callable(aG)
176+@Callable(aq)
226177 func airDrop () = if (!(A))
227178 then throw("DApp is inactive at this moment")
228179 else {
229- let aH = $Tuple2(aG.payments[0].amount, aG.payments[0].assetId)
230- let aI = aH._1
231- let aJ = aH._2
232- if ((aJ != E))
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))
233184 then throw("Incorrect pmtAssetId")
234185 else {
235- let aK = ac()
236- let T = S()
237- let aL = (T + fraction(aI, F, aK))
238-[IntegerEntry(h, aL)]
186+ let au = U()
187+ let L = K()
188+ let av = (L + fraction(as, F, au))
189+[IntegerEntry(h, av)]
239190 }
240191 }
241192
242193
243194
244-@Callable(aG)
195+@Callable(aq)
245196 func lockSWOP () = if (!(A))
246197 then throw("DApp is inactive at this moment")
247198 else {
248- let aM = $Tuple2(aG.payments[0].amount, aG.payments[0].assetId)
249- let aI = aM._1
250- let aJ = aM._2
251- if ((aJ != E))
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))
252203 then throw("Incorrect pmtAssetId")
253204 else {
254- let T = S()
255- let aN = X(aG.caller, T)
256- let Z = aN._1
257- let aD = aN._2
258- let aE = fraction(aD, (T - Z), F)
259- let aO = ((aD + aI) + aE)
260- let aF = T
261- let aK = ac()
262- let aP = ((aK + aI) + aE)
263- let aQ = W(aG.caller)
264- let aR = (aQ + aE)
265-[IntegerEntry((toString(aG.caller) + i), aF), IntegerEntry((toString(aG.caller) + j), aO), IntegerEntry(l, aP), IntegerEntry((toString(aG.caller) + p), aR), IntegerEntry((toString(aG.caller) + q), aE)]
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)]
266217 }
267218 }
268219
269220
270221
271-@Callable(aG)
272-func withdrawSWOP (aS) = if (!(A))
222+@Callable(aq)
223+func withdrawSWOP (aC) = if (!(A))
273224 then throw("DApp is inactive at this moment")
274225 else {
275- let aK = ac()
276- let aD = U(aG.caller)
277- let aT = aA(aG.caller)
278- let aF = aT._1
279- let aE = aT._2
280- let aU = av(aG.caller)
281- let aV = ad(aG.caller)
282- if (if ((0 > aV))
283- then true
284- else (0 > aU))
285- then throw("userUnvoteAmount < 0 || userVoteAmount < 0")
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))
234+ then throw("withdrawAmount > availableFund")
286235 else {
287- let aW = ((aD - aU) - aV)
288- if ((aS > aW))
289- then throw("withdrawAmount > availableToUnstake")
290- else {
291- let aP = ((aK + aE) - aS)
292- let aX = ((aD + aE) - aS)
293- let aQ = W(aG.caller)
294- let aR = (aQ + aE)
295-[IntegerEntry((toString(aG.caller) + i), aF), IntegerEntry((toString(aG.caller) + j), aX), IntegerEntry(l, aP), ScriptTransfer(aG.caller, aS, E), IntegerEntry((toString(aG.caller) + p), aR), IntegerEntry((toString(aG.caller) + q), aE)]
296- }
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)]
297241 }
298242 }
299243
300244
301245
302-@Callable(aG)
246+@Callable(aq)
303247 func claimAndWithdrawSWOP () = if (!(A))
304248 then throw("DApp is inactive at this moment")
305249 else {
306- let T = S()
307- let aY = aA(aG.caller)
308- let aF = aY._1
309- let aE = aY._2
310- let aQ = W(aG.caller)
311- let aR = (aQ + aE)
312- if ((aE == 0))
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))
313257 then throw("You have 0 available SWOP")
314- else [IntegerEntry((toString(aG.caller) + i), aF), IntegerEntry((toString(aG.caller) + p), aR), IntegerEntry((toString(aG.caller) + q), aE), ScriptTransfer(aG.caller, aE, E)]
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)]
315259 }
316260
317261
318262
319-@Callable(aG)
263+@Callable(aq)
320264 func claimAndStakeSWOP () = if (!(A))
321265 then throw("DApp is inactive at this moment")
322266 else {
323- let aK = ac()
324- let aD = U(aG.caller)
325- let T = S()
326- let aZ = aA(aG.caller)
327- let aF = aZ._1
328- let aE = aZ._2
329- let aO = (aD + aE)
330- let aP = (aK + aE)
331- let aQ = W(aG.caller)
332- let aR = (aQ + aE)
333- if ((aE == 0))
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))
334278 then throw("You have 0 available SWOP")
335- else [IntegerEntry((toString(aG.caller) + i), aF), IntegerEntry(l, aP), IntegerEntry((toString(aG.caller) + j), aO), IntegerEntry((toString(aG.caller) + p), aR), IntegerEntry((toString(aG.caller) + q), aE)]
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)]
336280 }
337281
338282
339283
340-@Callable(aG)
341-func updateWeights (ba,bb,bc,bd,be) = if (!(A))
284+@Callable(aq)
285+func updateWeights (aJ,aK,aL,aM,aN) = if (!(A))
342286 then throw("DApp is inactive at this moment")
343- else if (!(containsElement([a, b, c, d, e], aG.callerPublicKey)))
287+ else if (!(containsElement([a, b, c, d, e], aq.callerPublicKey)))
344288 then throw("Only admin can call this function")
345289 else {
346- func bf (bg,bh) = (bg + bh)
290+ func aO (aP,aQ) = (aP + aQ)
347291
348- func bi (bj,bk) = {
349- let bl = value(indexOf(ba, bk))
350- let bm = bb[bl]
351-IntegerEntry((bk + w), bm) :: bj
292+ func aR (aS,aT) = {
293+ let aU = value(indexOf(aJ, aT))
294+ let aV = aK[aU]
295+IntegerEntry((aT + w), aV) :: aS
352296 }
353297
354- func bn (bj,bk) = {
355- let bl = value(indexOf(bc, bk))
356- let bm = bd[bl]
357-IntegerEntry((bk + v), bm) :: bj
298+ func aW (aS,aT) = {
299+ let aU = value(indexOf(aL, aT))
300+ let aV = aM[aU]
301+IntegerEntry((aT + v), aV) :: aS
358302 }
359303
360- let bo = {
361- let bp = bb
362- let bq = size(bp)
363- let br = 0
364- if ((bq == 0))
365- then br
304+ let aX = {
305+ let aY = aK
306+ let aZ = size(aY)
307+ let ba = 0
308+ if ((aZ == 0))
309+ then ba
366310 else {
367- let bs = bf(br, bp[0])
368- if ((bq == 1))
369- then bs
311+ let bb = aO(ba, aY[0])
312+ if ((aZ == 1))
313+ then bb
370314 else {
371- let bt = bf(bs, bp[1])
372- if ((bq == 2))
373- then bt
315+ let bc = aO(bb, aY[1])
316+ if ((aZ == 2))
317+ then bc
374318 else {
375- let bu = bf(bt, bp[2])
376- if ((bq == 3))
377- then bu
319+ let bd = aO(bc, aY[2])
320+ if ((aZ == 3))
321+ then bd
378322 else {
379- let bv = bf(bu, bp[3])
380- if ((bq == 4))
381- then bv
323+ let be = aO(bd, aY[3])
324+ if ((aZ == 4))
325+ then be
382326 else {
383- let bw = bf(bv, bp[4])
384- if ((bq == 5))
385- then bw
327+ let bf = aO(be, aY[4])
328+ if ((aZ == 5))
329+ then bf
386330 else {
387- let bx = bf(bw, bp[5])
388- if ((bq == 6))
389- then bx
331+ let bg = aO(bf, aY[5])
332+ if ((aZ == 6))
333+ then bg
390334 else {
391- let by = bf(bx, bp[6])
392- if ((bq == 7))
393- then by
335+ let bh = aO(bg, aY[6])
336+ if ((aZ == 7))
337+ then bh
394338 else {
395- let bz = bf(by, bp[7])
396- if ((bq == 8))
397- then bz
339+ let bi = aO(bh, aY[7])
340+ if ((aZ == 8))
341+ then bi
398342 else {
399- let bA = bf(bz, bp[8])
400- if ((bq == 9))
401- then bA
343+ let bj = aO(bi, aY[8])
344+ if ((aZ == 9))
345+ then bj
402346 else {
403- let bB = bf(bA, bp[9])
404- if ((bq == 10))
405- then bB
347+ let bk = aO(bj, aY[9])
348+ if ((aZ == 10))
349+ then bk
406350 else {
407- let bC = bf(bB, bp[10])
408- if ((bq == 11))
409- then bC
351+ let bl = aO(bk, aY[10])
352+ if ((aZ == 11))
353+ then bl
410354 else {
411- let bD = bf(bC, bp[11])
412- if ((bq == 12))
413- then bD
355+ let bm = aO(bl, aY[11])
356+ if ((aZ == 12))
357+ then bm
414358 else {
415- let bE = bf(bD, bp[12])
416- if ((bq == 13))
417- then bE
359+ let bn = aO(bm, aY[12])
360+ if ((aZ == 13))
361+ then bn
418362 else {
419- let bF = bf(bE, bp[13])
420- if ((bq == 14))
421- then bF
363+ let bo = aO(bn, aY[13])
364+ if ((aZ == 14))
365+ then bo
422366 else {
423- let bG = bf(bF, bp[14])
424- if ((bq == 15))
425- then bG
367+ let bp = aO(bo, aY[14])
368+ if ((aZ == 15))
369+ then bp
426370 else {
427- let bH = bf(bG, bp[15])
428- if ((bq == 16))
429- then bH
371+ let bq = aO(bp, aY[15])
372+ if ((aZ == 16))
373+ then bq
430374 else {
431- let bI = bf(bH, bp[16])
432- if ((bq == 17))
433- then bI
375+ let br = aO(bq, aY[16])
376+ if ((aZ == 17))
377+ then br
434378 else {
435- let bJ = bf(bI, bp[17])
436- if ((bq == 18))
437- then bJ
379+ let bs = aO(br, aY[17])
380+ if ((aZ == 18))
381+ then bs
438382 else {
439- let bK = bf(bJ, bp[18])
440- if ((bq == 19))
441- then bK
383+ let bt = aO(bs, aY[18])
384+ if ((aZ == 19))
385+ then bt
442386 else {
443- let bL = bf(bK, bp[19])
444- if ((bq == 20))
445- then bL
387+ let bu = aO(bt, aY[19])
388+ if ((aZ == 20))
389+ then bu
446390 else {
447- let bM = bf(bL, bp[20])
391+ let bv = aO(bu, aY[20])
448392 throw("List size exceed 20")
449393 }
450394 }
468412 }
469413 }
470414 }
471- let bN = {
472- let bO = bd
473- let bP = size(bO)
474- let bQ = 0
475- if ((bP == 0))
476- then bQ
415+ let bw = {
416+ let bx = aM
417+ let by = size(bx)
418+ let bz = 0
419+ if ((by == 0))
420+ then bz
477421 else {
478- let bR = bf(bQ, bO[0])
479- if ((bP == 1))
480- then bR
422+ let bA = aO(bz, bx[0])
423+ if ((by == 1))
424+ then bA
481425 else {
482- let bS = bf(bR, bO[1])
483- if ((bP == 2))
484- then bS
426+ let bB = aO(bA, bx[1])
427+ if ((by == 2))
428+ then bB
485429 else {
486- let bT = bf(bS, bO[2])
487- if ((bP == 3))
488- then bT
430+ let bC = aO(bB, bx[2])
431+ if ((by == 3))
432+ then bC
489433 else {
490- let bU = bf(bT, bO[3])
491- if ((bP == 4))
492- then bU
434+ let bD = aO(bC, bx[3])
435+ if ((by == 4))
436+ then bD
493437 else {
494- let bV = bf(bU, bO[4])
495- if ((bP == 5))
496- then bV
438+ let bE = aO(bD, bx[4])
439+ if ((by == 5))
440+ then bE
497441 else {
498- let bW = bf(bV, bO[5])
499- if ((bP == 6))
500- then bW
442+ let bF = aO(bE, bx[5])
443+ if ((by == 6))
444+ then bF
501445 else {
502- let bX = bf(bW, bO[6])
503- if ((bP == 7))
504- then bX
446+ let bG = aO(bF, bx[6])
447+ if ((by == 7))
448+ then bG
505449 else {
506- let bY = bf(bX, bO[7])
507- if ((bP == 8))
508- then bY
450+ let bH = aO(bG, bx[7])
451+ if ((by == 8))
452+ then bH
509453 else {
510- let bZ = bf(bY, bO[8])
511- if ((bP == 9))
512- then bZ
454+ let bI = aO(bH, bx[8])
455+ if ((by == 9))
456+ then bI
513457 else {
514- let ca = bf(bZ, bO[9])
515- if ((bP == 10))
516- then ca
458+ let bJ = aO(bI, bx[9])
459+ if ((by == 10))
460+ then bJ
517461 else {
518- let cb = bf(ca, bO[10])
519- if ((bP == 11))
520- then cb
462+ let bK = aO(bJ, bx[10])
463+ if ((by == 11))
464+ then bK
521465 else {
522- let cc = bf(cb, bO[11])
523- if ((bP == 12))
524- then cc
466+ let bL = aO(bK, bx[11])
467+ if ((by == 12))
468+ then bL
525469 else {
526- let cd = bf(cc, bO[12])
527- if ((bP == 13))
528- then cd
470+ let bM = aO(bL, bx[12])
471+ if ((by == 13))
472+ then bM
529473 else {
530- let ce = bf(cd, bO[13])
531- if ((bP == 14))
532- then ce
474+ let bN = aO(bM, bx[13])
475+ if ((by == 14))
476+ then bN
533477 else {
534- let cf = bf(ce, bO[14])
535- if ((bP == 15))
536- then cf
478+ let bO = aO(bN, bx[14])
479+ if ((by == 15))
480+ then bO
537481 else {
538- let cg = bf(cf, bO[15])
539- if ((bP == 16))
540- then cg
482+ let bP = aO(bO, bx[15])
483+ if ((by == 16))
484+ then bP
541485 else {
542- let ch = bf(cg, bO[16])
543- if ((bP == 17))
544- then ch
486+ let bQ = aO(bP, bx[16])
487+ if ((by == 17))
488+ then bQ
545489 else {
546- let ci = bf(ch, bO[17])
547- if ((bP == 18))
548- then ci
490+ let bR = aO(bQ, bx[17])
491+ if ((by == 18))
492+ then bR
549493 else {
550- let cj = bf(ci, bO[18])
551- if ((bP == 19))
552- then cj
494+ let bS = aO(bR, bx[18])
495+ if ((by == 19))
496+ then bS
553497 else {
554- let ck = bf(cj, bO[19])
555- if ((bP == 20))
556- then ck
498+ let bT = aO(bS, bx[19])
499+ if ((by == 20))
500+ then bT
557501 else {
558- let cl = bf(ck, bO[20])
502+ let bU = aO(bT, bx[20])
559503 throw("List size exceed 20")
560504 }
561505 }
579523 }
580524 }
581525 }
582- if ((height > be))
526+ if ((height > aN))
583527 then throw("rewardUpdateHeight < height")
584- else if (if ((bo != G))
528+ else if (if ((aX != G))
585529 then true
586- else (bN != G))
530+ else (bw != G))
587531 then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare")
588532 else {
589- let cm = {
590- let cn = ba
591- let co = size(cn)
592- let cp = nil
593- if ((co == 0))
594- then cp
533+ let bV = {
534+ let bW = aJ
535+ let bX = size(bW)
536+ let bY = nil
537+ if ((bX == 0))
538+ then bY
595539 else {
596- let cq = bi(cp, cn[0])
597- if ((co == 1))
598- then cq
540+ let bZ = aR(bY, bW[0])
541+ if ((bX == 1))
542+ then bZ
599543 else {
600- let cr = bi(cq, cn[1])
601- if ((co == 2))
602- then cr
544+ let ca = aR(bZ, bW[1])
545+ if ((bX == 2))
546+ then ca
603547 else {
604- let cs = bi(cr, cn[2])
605- if ((co == 3))
606- then cs
548+ let cb = aR(ca, bW[2])
549+ if ((bX == 3))
550+ then cb
607551 else {
608- let ct = bi(cs, cn[3])
609- if ((co == 4))
610- then ct
552+ let cc = aR(cb, bW[3])
553+ if ((bX == 4))
554+ then cc
611555 else {
612- let cu = bi(ct, cn[4])
613- if ((co == 5))
614- then cu
556+ let cd = aR(cc, bW[4])
557+ if ((bX == 5))
558+ then cd
615559 else {
616- let cv = bi(cu, cn[5])
617- if ((co == 6))
618- then cv
560+ let ce = aR(cd, bW[5])
561+ if ((bX == 6))
562+ then ce
619563 else {
620- let cw = bi(cv, cn[6])
621- if ((co == 7))
622- then cw
564+ let cf = aR(ce, bW[6])
565+ if ((bX == 7))
566+ then cf
623567 else {
624- let cx = bi(cw, cn[7])
625- if ((co == 8))
626- then cx
568+ let cg = aR(cf, bW[7])
569+ if ((bX == 8))
570+ then cg
627571 else {
628- let cy = bi(cx, cn[8])
629- if ((co == 9))
630- then cy
572+ let ch = aR(cg, bW[8])
573+ if ((bX == 9))
574+ then ch
631575 else {
632- let cz = bi(cy, cn[9])
633- if ((co == 10))
634- then cz
576+ let ci = aR(ch, bW[9])
577+ if ((bX == 10))
578+ then ci
635579 else {
636- let cA = bi(cz, cn[10])
637- if ((co == 11))
638- then cA
580+ let cj = aR(ci, bW[10])
581+ if ((bX == 11))
582+ then cj
639583 else {
640- let cB = bi(cA, cn[11])
641- if ((co == 12))
642- then cB
584+ let ck = aR(cj, bW[11])
585+ if ((bX == 12))
586+ then ck
643587 else {
644- let cC = bi(cB, cn[12])
645- if ((co == 13))
646- then cC
588+ let cl = aR(ck, bW[12])
589+ if ((bX == 13))
590+ then cl
647591 else {
648- let cD = bi(cC, cn[13])
649- if ((co == 14))
650- then cD
592+ let cm = aR(cl, bW[13])
593+ if ((bX == 14))
594+ then cm
651595 else {
652- let cE = bi(cD, cn[14])
653- if ((co == 15))
654- then cE
596+ let cn = aR(cm, bW[14])
597+ if ((bX == 15))
598+ then cn
655599 else {
656- let cF = bi(cE, cn[15])
657- if ((co == 16))
658- then cF
600+ let co = aR(cn, bW[15])
601+ if ((bX == 16))
602+ then co
659603 else {
660- let cG = bi(cF, cn[16])
661- if ((co == 17))
662- then cG
604+ let cp = aR(co, bW[16])
605+ if ((bX == 17))
606+ then cp
663607 else {
664- let cH = bi(cG, cn[17])
665- if ((co == 18))
666- then cH
608+ let cq = aR(cp, bW[17])
609+ if ((bX == 18))
610+ then cq
667611 else {
668- let cI = bi(cH, cn[18])
669- if ((co == 19))
670- then cI
612+ let cr = aR(cq, bW[18])
613+ if ((bX == 19))
614+ then cr
671615 else {
672- let cJ = bi(cI, cn[19])
673- if ((co == 20))
674- then cJ
616+ let cs = aR(cr, bW[19])
617+ if ((bX == 20))
618+ then cs
675619 else {
676- let cK = bi(cJ, cn[20])
620+ let ct = aR(cs, bW[20])
677621 throw("List size exceed 20")
678622 }
679623 }
697641 }
698642 }
699643 }
700- let cL = {
701- let cM = bc
702- let cN = size(cM)
703- let cO = nil
704- if ((cN == 0))
705- then cO
644+ let cu = {
645+ let cv = aL
646+ let cw = size(cv)
647+ let cx = nil
648+ if ((cw == 0))
649+ then cx
706650 else {
707- let cP = bn(cO, cM[0])
708- if ((cN == 1))
709- then cP
651+ let cy = aW(cx, cv[0])
652+ if ((cw == 1))
653+ then cy
710654 else {
711- let cQ = bn(cP, cM[1])
712- if ((cN == 2))
713- then cQ
655+ let cz = aW(cy, cv[1])
656+ if ((cw == 2))
657+ then cz
714658 else {
715- let cR = bn(cQ, cM[2])
716- if ((cN == 3))
717- then cR
659+ let cA = aW(cz, cv[2])
660+ if ((cw == 3))
661+ then cA
718662 else {
719- let cS = bn(cR, cM[3])
720- if ((cN == 4))
721- then cS
663+ let cB = aW(cA, cv[3])
664+ if ((cw == 4))
665+ then cB
722666 else {
723- let cT = bn(cS, cM[4])
724- if ((cN == 5))
725- then cT
667+ let cC = aW(cB, cv[4])
668+ if ((cw == 5))
669+ then cC
726670 else {
727- let cU = bn(cT, cM[5])
728- if ((cN == 6))
729- then cU
671+ let cD = aW(cC, cv[5])
672+ if ((cw == 6))
673+ then cD
730674 else {
731- let cV = bn(cU, cM[6])
732- if ((cN == 7))
733- then cV
675+ let cE = aW(cD, cv[6])
676+ if ((cw == 7))
677+ then cE
734678 else {
735- let cW = bn(cV, cM[7])
736- if ((cN == 8))
737- then cW
679+ let cF = aW(cE, cv[7])
680+ if ((cw == 8))
681+ then cF
738682 else {
739- let cX = bn(cW, cM[8])
740- if ((cN == 9))
741- then cX
683+ let cG = aW(cF, cv[8])
684+ if ((cw == 9))
685+ then cG
742686 else {
743- let cY = bn(cX, cM[9])
744- if ((cN == 10))
745- then cY
687+ let cH = aW(cG, cv[9])
688+ if ((cw == 10))
689+ then cH
746690 else {
747- let cZ = bn(cY, cM[10])
748- if ((cN == 11))
749- then cZ
691+ let cI = aW(cH, cv[10])
692+ if ((cw == 11))
693+ then cI
750694 else {
751- let da = bn(cZ, cM[11])
752- if ((cN == 12))
753- then da
695+ let cJ = aW(cI, cv[11])
696+ if ((cw == 12))
697+ then cJ
754698 else {
755- let db = bn(da, cM[12])
756- if ((cN == 13))
757- then db
699+ let cK = aW(cJ, cv[12])
700+ if ((cw == 13))
701+ then cK
758702 else {
759- let dc = bn(db, cM[13])
760- if ((cN == 14))
761- then dc
703+ let cL = aW(cK, cv[13])
704+ if ((cw == 14))
705+ then cL
762706 else {
763- let dd = bn(dc, cM[14])
764- if ((cN == 15))
765- then dd
707+ let cM = aW(cL, cv[14])
708+ if ((cw == 15))
709+ then cM
766710 else {
767- let de = bn(dd, cM[15])
768- if ((cN == 16))
769- then de
711+ let cN = aW(cM, cv[15])
712+ if ((cw == 16))
713+ then cN
770714 else {
771- let df = bn(de, cM[16])
772- if ((cN == 17))
773- then df
715+ let cO = aW(cN, cv[16])
716+ if ((cw == 17))
717+ then cO
774718 else {
775- let dg = bn(df, cM[17])
776- if ((cN == 18))
777- then dg
719+ let cP = aW(cO, cv[17])
720+ if ((cw == 18))
721+ then cP
778722 else {
779- let dh = bn(dg, cM[18])
780- if ((cN == 19))
781- then dh
723+ let cQ = aW(cP, cv[18])
724+ if ((cw == 19))
725+ then cQ
782726 else {
783- let di = bn(dh, cM[19])
784- if ((cN == 20))
785- then di
727+ let cR = aW(cQ, cv[19])
728+ if ((cw == 20))
729+ then cR
786730 else {
787- let dj = bn(di, cM[20])
731+ let cS = aW(cR, cv[20])
788732 throw("List size exceed 20")
789733 }
790734 }
808752 }
809753 }
810754 }
811- ((cm ++ cL) ++ [IntegerEntry(z, be)])
755+ ((bV ++ cu) ++ [IntegerEntry(z, aN)])
812756 }
813757 }
814758
815759
816760
817-@Callable(aG)
761+@Callable(aq)
818762 func shutdown () = if (!(A))
819763 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, g), "the cause wasn't specified")))
820- else if (!(containsElement([a, b, c, d], aG.callerPublicKey)))
764+ else if (!(containsElement([a, b, c, d], aq.callerPublicKey)))
821765 then throw("Only admin can call this function")
822- else P("Paused by admin")
766+ else H("Paused by admin")
823767
824768
825769
826-@Callable(aG)
770+@Callable(aq)
827771 func activate () = if (A)
828772 then throw("DApp is already active")
829- else if (!(containsElement([a, b, c, d], aG.callerPublicKey)))
773+ else if (!(containsElement([a, b, c, d], aq.callerPublicKey)))
830774 then throw("Only admin can call this function")
831775 else [BooleanEntry(f, true), DeleteEntry(g)]
832776
833777
834-@Verifier(dk)
835-func dl () = sigVerify(dk.bodyBytes, dk.proofs[0], dk.senderPublicKey)
778+@Verifier(cT)
779+func cU () = sigVerify(cT.bodyBytes, cT.proofs[0], cT.senderPublicKey)
836780
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
55
66 let b = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
77
88 let c = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
99
1010 let d = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
1111
1212 let e = base58'5CqqMkmtXXt35KRH9LdWA3ap6TffPvTT5SHQzYrVFbBw'
1313
1414 let f = "active"
1515
1616 let g = "shutdown_cause"
1717
1818 let h = "last_interest"
1919
2020 let i = "_last_interest"
2121
2222 let j = "_SWOP_amount"
2323
2424 let k = "_getBackHeight"
2525
2626 let l = "total_SWOP_amount"
2727
2828 let m = "_user_total_SWOP_vote"
2929
3030 let n = "_SWOP_option_amount"
3131
3232 let o = "total_SWOP_option_amount"
3333
3434 let p = "_SWOP_claimed_amount"
3535
3636 let q = "_SWOP_last_claimed_amount"
3737
3838 let r = "vote_name"
3939
4040 let s = "_option_name"
4141
4242 let t = "_startHeight"
4343
4444 let u = "_vote_duration"
4545
4646 let v = "_current_pool_fraction_reward"
4747
4848 let w = "_previous_pool_fraction_reward"
4949
5050 let x = "total_reward_per_block_current"
5151
5252 let y = "total_reward_per_block_previous"
5353
5454 let z = "reward_update_height"
5555
5656 let A = valueOrElse(getBoolean(this, f), true)
5757
5858 let B = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC')
5959
6060 let C = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
6161
6262 let D = "SWOP_id"
6363
6464 let E = fromBase58String(getStringValue(B, D))
6565
6666 let F = 100000000
6767
6868 let G = 10000000000
6969
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)]
8771
8872
89-func R () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount")
73+func J () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount")
9074
9175
92-func S () = {
93- let T = valueOrElse(getInteger(this, h), 0)
94- T
76+func K () = {
77+ let L = valueOrElse(getInteger(this, h), 0)
78+ L
9579 }
9680
9781
98-func U (V) = valueOrElse(getInteger(this, (toString(V) + j)), 0)
82+func M (N) = valueOrElse(getInteger(this, (toString(N) + j)), 0)
9983
10084
101-func W (V) = valueOrElse(getInteger(this, (toString(V) + p)), 0)
85+func O (N) = valueOrElse(getInteger(this, (toString(N) + p)), 0)
10286
10387
104-func X (V,T) = {
105- let Y = U(V)
106- let Z = getInteger(this, (toString(V) + i))
107- let aa = {
108- let ab = Z
109- if ($isInstanceOf(ab, "Int"))
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"))
11094 then {
111- let Z = ab
112- Z
95+ let R = T
96+ R
11397 }
114- else T
98+ else L
11599 }
116- $Tuple2(aa, Y)
100+ $Tuple2(S, Q)
117101 }
118102
119103
120-func ac () = valueOrElse(getInteger(this, l), 0)
104+func U () = valueOrElse(getInteger(this, l), 0)
121105
122106
123-func ad (V) = {
124- let ae = if (isDefined(getString(this, (toString(V) + K))))
125- then {
126- let af = split(valueOrErrorMessage(getString(C, (toString(V) + K)), "Empty kUserTotalStruc"), "_")
127- $Tuple3(parseIntValue(af[0]), parseIntValue(af[1]), parseIntValue(af[2]))
128- }
129- else {
130- let ag = valueOrElse(getInteger(C, (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)
140108
141109
142-func ak (V) = valueOrElse(getInteger(this, (toString(V) + n)), 0)
110+func W (N) = valueOrElse(getInteger(this, (toString(N) + n)), 0)
143111
144112
145-func al (am) = valueOrElse(getInteger(this, (am + t)), 0)
113+func X (Y) = valueOrElse(getInteger(this, (Y + t)), 0)
146114
147115
148-func an (V,am,ao) = {
149- let ap = getInteger(this, (((am + ao) + toString(V)) + n))
150- let aq = {
151- let ab = ap
152- if ($isInstanceOf(ab, "Int"))
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"))
153121 then {
154- let aq = ab
155- aq
122+ let ac = T
123+ ac
156124 }
157- else if ($isInstanceOf(ab, "Unit"))
125+ else if ($isInstanceOf(T, "Unit"))
158126 then {
159- let aq = ab
127+ let ac = T
160128 0
161129 }
162130 else throw("Match error")
163131 }
164- valueOrErrorMessage(aq, (((("No data on the key: " + am) + ao) + toString(V)) + n))
132+ valueOrErrorMessage(ac, (((("No data on the key: " + Y) + aa) + toString(N)) + n))
165133 }
166134
167135
168-func ar (am) = valueOrErrorMessage(getInteger(this, (am + u)), (("No data on the key: " + am) + u))
136+func ad (Y) = valueOrErrorMessage(getInteger(this, (Y + u)), (("No data on the key: " + Y) + u))
169137
170138
171-func as (am,ao) = {
172- let at = getInteger(this, ((am + ao) + o))
173- let au = {
174- let ab = at
175- if ($isInstanceOf(ab, "Int"))
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"))
176144 then {
177- let au = ab
178- au
145+ let ag = T
146+ ag
179147 }
180- else if ($isInstanceOf(ab, "Unit"))
148+ else if ($isInstanceOf(T, "Unit"))
181149 then {
182- let au = ab
150+ let ag = T
183151 0
184152 }
185153 else throw("Match error")
186154 }
187- au
155+ ag
188156 }
189157
190158
191-func av (V) = {
192- let aw = if (isDefined(getString(this, (toString(V) + K))))
193- then {
194- let af = split(valueOrErrorMessage(getString(this, (toString(V) + K)), "Empty kUserTotalStruc"), "_")
195- $Tuple3(parseIntValue(af[0]), parseIntValue(af[1]), parseIntValue(af[2]))
196- }
197- else {
198- let ag = valueOrElse(getInteger(this, (toString(V) + m)), 0)
199- $Tuple3(ag, 0, O)
200- }
201- let ah = aw._1
202- let ai = aw._2
203- let aj = aw._3
204- ah
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))
205162 }
206163
207164
208-func ax (am,ao,V,ay) = {
209- let az = ((((((am + "_") + ao) + "_") + toString(V)) + "_") + toString(ay))
210- valueOrErrorMessage(getInteger(this, az), ("No data on the key: " + az))
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)
211173 }
212174
213175
214-func aA (aB) = {
215- let T = S()
216- let aC = X(aB, T)
217- let Z = aC._1
218- let aD = aC._2
219- let aE = fraction(aD, (T - Z), F)
220- let aF = T
221- $Tuple2(aF, aE)
222- }
223-
224-
225-@Callable(aG)
176+@Callable(aq)
226177 func airDrop () = if (!(A))
227178 then throw("DApp is inactive at this moment")
228179 else {
229- let aH = $Tuple2(aG.payments[0].amount, aG.payments[0].assetId)
230- let aI = aH._1
231- let aJ = aH._2
232- if ((aJ != E))
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))
233184 then throw("Incorrect pmtAssetId")
234185 else {
235- let aK = ac()
236- let T = S()
237- let aL = (T + fraction(aI, F, aK))
238-[IntegerEntry(h, aL)]
186+ let au = U()
187+ let L = K()
188+ let av = (L + fraction(as, F, au))
189+[IntegerEntry(h, av)]
239190 }
240191 }
241192
242193
243194
244-@Callable(aG)
195+@Callable(aq)
245196 func lockSWOP () = if (!(A))
246197 then throw("DApp is inactive at this moment")
247198 else {
248- let aM = $Tuple2(aG.payments[0].amount, aG.payments[0].assetId)
249- let aI = aM._1
250- let aJ = aM._2
251- if ((aJ != E))
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))
252203 then throw("Incorrect pmtAssetId")
253204 else {
254- let T = S()
255- let aN = X(aG.caller, T)
256- let Z = aN._1
257- let aD = aN._2
258- let aE = fraction(aD, (T - Z), F)
259- let aO = ((aD + aI) + aE)
260- let aF = T
261- let aK = ac()
262- let aP = ((aK + aI) + aE)
263- let aQ = W(aG.caller)
264- let aR = (aQ + aE)
265-[IntegerEntry((toString(aG.caller) + i), aF), IntegerEntry((toString(aG.caller) + j), aO), IntegerEntry(l, aP), IntegerEntry((toString(aG.caller) + p), aR), IntegerEntry((toString(aG.caller) + q), aE)]
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)]
266217 }
267218 }
268219
269220
270221
271-@Callable(aG)
272-func withdrawSWOP (aS) = if (!(A))
222+@Callable(aq)
223+func withdrawSWOP (aC) = if (!(A))
273224 then throw("DApp is inactive at this moment")
274225 else {
275- let aK = ac()
276- let aD = U(aG.caller)
277- let aT = aA(aG.caller)
278- let aF = aT._1
279- let aE = aT._2
280- let aU = av(aG.caller)
281- let aV = ad(aG.caller)
282- if (if ((0 > aV))
283- then true
284- else (0 > aU))
285- then throw("userUnvoteAmount < 0 || userVoteAmount < 0")
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))
234+ then throw("withdrawAmount > availableFund")
286235 else {
287- let aW = ((aD - aU) - aV)
288- if ((aS > aW))
289- then throw("withdrawAmount > availableToUnstake")
290- else {
291- let aP = ((aK + aE) - aS)
292- let aX = ((aD + aE) - aS)
293- let aQ = W(aG.caller)
294- let aR = (aQ + aE)
295-[IntegerEntry((toString(aG.caller) + i), aF), IntegerEntry((toString(aG.caller) + j), aX), IntegerEntry(l, aP), ScriptTransfer(aG.caller, aS, E), IntegerEntry((toString(aG.caller) + p), aR), IntegerEntry((toString(aG.caller) + q), aE)]
296- }
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)]
297241 }
298242 }
299243
300244
301245
302-@Callable(aG)
246+@Callable(aq)
303247 func claimAndWithdrawSWOP () = if (!(A))
304248 then throw("DApp is inactive at this moment")
305249 else {
306- let T = S()
307- let aY = aA(aG.caller)
308- let aF = aY._1
309- let aE = aY._2
310- let aQ = W(aG.caller)
311- let aR = (aQ + aE)
312- if ((aE == 0))
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))
313257 then throw("You have 0 available SWOP")
314- else [IntegerEntry((toString(aG.caller) + i), aF), IntegerEntry((toString(aG.caller) + p), aR), IntegerEntry((toString(aG.caller) + q), aE), ScriptTransfer(aG.caller, aE, E)]
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)]
315259 }
316260
317261
318262
319-@Callable(aG)
263+@Callable(aq)
320264 func claimAndStakeSWOP () = if (!(A))
321265 then throw("DApp is inactive at this moment")
322266 else {
323- let aK = ac()
324- let aD = U(aG.caller)
325- let T = S()
326- let aZ = aA(aG.caller)
327- let aF = aZ._1
328- let aE = aZ._2
329- let aO = (aD + aE)
330- let aP = (aK + aE)
331- let aQ = W(aG.caller)
332- let aR = (aQ + aE)
333- if ((aE == 0))
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))
334278 then throw("You have 0 available SWOP")
335- else [IntegerEntry((toString(aG.caller) + i), aF), IntegerEntry(l, aP), IntegerEntry((toString(aG.caller) + j), aO), IntegerEntry((toString(aG.caller) + p), aR), IntegerEntry((toString(aG.caller) + q), aE)]
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)]
336280 }
337281
338282
339283
340-@Callable(aG)
341-func updateWeights (ba,bb,bc,bd,be) = if (!(A))
284+@Callable(aq)
285+func updateWeights (aJ,aK,aL,aM,aN) = if (!(A))
342286 then throw("DApp is inactive at this moment")
343- else if (!(containsElement([a, b, c, d, e], aG.callerPublicKey)))
287+ else if (!(containsElement([a, b, c, d, e], aq.callerPublicKey)))
344288 then throw("Only admin can call this function")
345289 else {
346- func bf (bg,bh) = (bg + bh)
290+ func aO (aP,aQ) = (aP + aQ)
347291
348- func bi (bj,bk) = {
349- let bl = value(indexOf(ba, bk))
350- let bm = bb[bl]
351-IntegerEntry((bk + w), bm) :: bj
292+ func aR (aS,aT) = {
293+ let aU = value(indexOf(aJ, aT))
294+ let aV = aK[aU]
295+IntegerEntry((aT + w), aV) :: aS
352296 }
353297
354- func bn (bj,bk) = {
355- let bl = value(indexOf(bc, bk))
356- let bm = bd[bl]
357-IntegerEntry((bk + v), bm) :: bj
298+ func aW (aS,aT) = {
299+ let aU = value(indexOf(aL, aT))
300+ let aV = aM[aU]
301+IntegerEntry((aT + v), aV) :: aS
358302 }
359303
360- let bo = {
361- let bp = bb
362- let bq = size(bp)
363- let br = 0
364- if ((bq == 0))
365- then br
304+ let aX = {
305+ let aY = aK
306+ let aZ = size(aY)
307+ let ba = 0
308+ if ((aZ == 0))
309+ then ba
366310 else {
367- let bs = bf(br, bp[0])
368- if ((bq == 1))
369- then bs
311+ let bb = aO(ba, aY[0])
312+ if ((aZ == 1))
313+ then bb
370314 else {
371- let bt = bf(bs, bp[1])
372- if ((bq == 2))
373- then bt
315+ let bc = aO(bb, aY[1])
316+ if ((aZ == 2))
317+ then bc
374318 else {
375- let bu = bf(bt, bp[2])
376- if ((bq == 3))
377- then bu
319+ let bd = aO(bc, aY[2])
320+ if ((aZ == 3))
321+ then bd
378322 else {
379- let bv = bf(bu, bp[3])
380- if ((bq == 4))
381- then bv
323+ let be = aO(bd, aY[3])
324+ if ((aZ == 4))
325+ then be
382326 else {
383- let bw = bf(bv, bp[4])
384- if ((bq == 5))
385- then bw
327+ let bf = aO(be, aY[4])
328+ if ((aZ == 5))
329+ then bf
386330 else {
387- let bx = bf(bw, bp[5])
388- if ((bq == 6))
389- then bx
331+ let bg = aO(bf, aY[5])
332+ if ((aZ == 6))
333+ then bg
390334 else {
391- let by = bf(bx, bp[6])
392- if ((bq == 7))
393- then by
335+ let bh = aO(bg, aY[6])
336+ if ((aZ == 7))
337+ then bh
394338 else {
395- let bz = bf(by, bp[7])
396- if ((bq == 8))
397- then bz
339+ let bi = aO(bh, aY[7])
340+ if ((aZ == 8))
341+ then bi
398342 else {
399- let bA = bf(bz, bp[8])
400- if ((bq == 9))
401- then bA
343+ let bj = aO(bi, aY[8])
344+ if ((aZ == 9))
345+ then bj
402346 else {
403- let bB = bf(bA, bp[9])
404- if ((bq == 10))
405- then bB
347+ let bk = aO(bj, aY[9])
348+ if ((aZ == 10))
349+ then bk
406350 else {
407- let bC = bf(bB, bp[10])
408- if ((bq == 11))
409- then bC
351+ let bl = aO(bk, aY[10])
352+ if ((aZ == 11))
353+ then bl
410354 else {
411- let bD = bf(bC, bp[11])
412- if ((bq == 12))
413- then bD
355+ let bm = aO(bl, aY[11])
356+ if ((aZ == 12))
357+ then bm
414358 else {
415- let bE = bf(bD, bp[12])
416- if ((bq == 13))
417- then bE
359+ let bn = aO(bm, aY[12])
360+ if ((aZ == 13))
361+ then bn
418362 else {
419- let bF = bf(bE, bp[13])
420- if ((bq == 14))
421- then bF
363+ let bo = aO(bn, aY[13])
364+ if ((aZ == 14))
365+ then bo
422366 else {
423- let bG = bf(bF, bp[14])
424- if ((bq == 15))
425- then bG
367+ let bp = aO(bo, aY[14])
368+ if ((aZ == 15))
369+ then bp
426370 else {
427- let bH = bf(bG, bp[15])
428- if ((bq == 16))
429- then bH
371+ let bq = aO(bp, aY[15])
372+ if ((aZ == 16))
373+ then bq
430374 else {
431- let bI = bf(bH, bp[16])
432- if ((bq == 17))
433- then bI
375+ let br = aO(bq, aY[16])
376+ if ((aZ == 17))
377+ then br
434378 else {
435- let bJ = bf(bI, bp[17])
436- if ((bq == 18))
437- then bJ
379+ let bs = aO(br, aY[17])
380+ if ((aZ == 18))
381+ then bs
438382 else {
439- let bK = bf(bJ, bp[18])
440- if ((bq == 19))
441- then bK
383+ let bt = aO(bs, aY[18])
384+ if ((aZ == 19))
385+ then bt
442386 else {
443- let bL = bf(bK, bp[19])
444- if ((bq == 20))
445- then bL
387+ let bu = aO(bt, aY[19])
388+ if ((aZ == 20))
389+ then bu
446390 else {
447- let bM = bf(bL, bp[20])
391+ let bv = aO(bu, aY[20])
448392 throw("List size exceed 20")
449393 }
450394 }
451395 }
452396 }
453397 }
454398 }
455399 }
456400 }
457401 }
458402 }
459403 }
460404 }
461405 }
462406 }
463407 }
464408 }
465409 }
466410 }
467411 }
468412 }
469413 }
470414 }
471- let bN = {
472- let bO = bd
473- let bP = size(bO)
474- let bQ = 0
475- if ((bP == 0))
476- then bQ
415+ let bw = {
416+ let bx = aM
417+ let by = size(bx)
418+ let bz = 0
419+ if ((by == 0))
420+ then bz
477421 else {
478- let bR = bf(bQ, bO[0])
479- if ((bP == 1))
480- then bR
422+ let bA = aO(bz, bx[0])
423+ if ((by == 1))
424+ then bA
481425 else {
482- let bS = bf(bR, bO[1])
483- if ((bP == 2))
484- then bS
426+ let bB = aO(bA, bx[1])
427+ if ((by == 2))
428+ then bB
485429 else {
486- let bT = bf(bS, bO[2])
487- if ((bP == 3))
488- then bT
430+ let bC = aO(bB, bx[2])
431+ if ((by == 3))
432+ then bC
489433 else {
490- let bU = bf(bT, bO[3])
491- if ((bP == 4))
492- then bU
434+ let bD = aO(bC, bx[3])
435+ if ((by == 4))
436+ then bD
493437 else {
494- let bV = bf(bU, bO[4])
495- if ((bP == 5))
496- then bV
438+ let bE = aO(bD, bx[4])
439+ if ((by == 5))
440+ then bE
497441 else {
498- let bW = bf(bV, bO[5])
499- if ((bP == 6))
500- then bW
442+ let bF = aO(bE, bx[5])
443+ if ((by == 6))
444+ then bF
501445 else {
502- let bX = bf(bW, bO[6])
503- if ((bP == 7))
504- then bX
446+ let bG = aO(bF, bx[6])
447+ if ((by == 7))
448+ then bG
505449 else {
506- let bY = bf(bX, bO[7])
507- if ((bP == 8))
508- then bY
450+ let bH = aO(bG, bx[7])
451+ if ((by == 8))
452+ then bH
509453 else {
510- let bZ = bf(bY, bO[8])
511- if ((bP == 9))
512- then bZ
454+ let bI = aO(bH, bx[8])
455+ if ((by == 9))
456+ then bI
513457 else {
514- let ca = bf(bZ, bO[9])
515- if ((bP == 10))
516- then ca
458+ let bJ = aO(bI, bx[9])
459+ if ((by == 10))
460+ then bJ
517461 else {
518- let cb = bf(ca, bO[10])
519- if ((bP == 11))
520- then cb
462+ let bK = aO(bJ, bx[10])
463+ if ((by == 11))
464+ then bK
521465 else {
522- let cc = bf(cb, bO[11])
523- if ((bP == 12))
524- then cc
466+ let bL = aO(bK, bx[11])
467+ if ((by == 12))
468+ then bL
525469 else {
526- let cd = bf(cc, bO[12])
527- if ((bP == 13))
528- then cd
470+ let bM = aO(bL, bx[12])
471+ if ((by == 13))
472+ then bM
529473 else {
530- let ce = bf(cd, bO[13])
531- if ((bP == 14))
532- then ce
474+ let bN = aO(bM, bx[13])
475+ if ((by == 14))
476+ then bN
533477 else {
534- let cf = bf(ce, bO[14])
535- if ((bP == 15))
536- then cf
478+ let bO = aO(bN, bx[14])
479+ if ((by == 15))
480+ then bO
537481 else {
538- let cg = bf(cf, bO[15])
539- if ((bP == 16))
540- then cg
482+ let bP = aO(bO, bx[15])
483+ if ((by == 16))
484+ then bP
541485 else {
542- let ch = bf(cg, bO[16])
543- if ((bP == 17))
544- then ch
486+ let bQ = aO(bP, bx[16])
487+ if ((by == 17))
488+ then bQ
545489 else {
546- let ci = bf(ch, bO[17])
547- if ((bP == 18))
548- then ci
490+ let bR = aO(bQ, bx[17])
491+ if ((by == 18))
492+ then bR
549493 else {
550- let cj = bf(ci, bO[18])
551- if ((bP == 19))
552- then cj
494+ let bS = aO(bR, bx[18])
495+ if ((by == 19))
496+ then bS
553497 else {
554- let ck = bf(cj, bO[19])
555- if ((bP == 20))
556- then ck
498+ let bT = aO(bS, bx[19])
499+ if ((by == 20))
500+ then bT
557501 else {
558- let cl = bf(ck, bO[20])
502+ let bU = aO(bT, bx[20])
559503 throw("List size exceed 20")
560504 }
561505 }
562506 }
563507 }
564508 }
565509 }
566510 }
567511 }
568512 }
569513 }
570514 }
571515 }
572516 }
573517 }
574518 }
575519 }
576520 }
577521 }
578522 }
579523 }
580524 }
581525 }
582- if ((height > be))
526+ if ((height > aN))
583527 then throw("rewardUpdateHeight < height")
584- else if (if ((bo != G))
528+ else if (if ((aX != G))
585529 then true
586- else (bN != G))
530+ else (bw != G))
587531 then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare")
588532 else {
589- let cm = {
590- let cn = ba
591- let co = size(cn)
592- let cp = nil
593- if ((co == 0))
594- then cp
533+ let bV = {
534+ let bW = aJ
535+ let bX = size(bW)
536+ let bY = nil
537+ if ((bX == 0))
538+ then bY
595539 else {
596- let cq = bi(cp, cn[0])
597- if ((co == 1))
598- then cq
540+ let bZ = aR(bY, bW[0])
541+ if ((bX == 1))
542+ then bZ
599543 else {
600- let cr = bi(cq, cn[1])
601- if ((co == 2))
602- then cr
544+ let ca = aR(bZ, bW[1])
545+ if ((bX == 2))
546+ then ca
603547 else {
604- let cs = bi(cr, cn[2])
605- if ((co == 3))
606- then cs
548+ let cb = aR(ca, bW[2])
549+ if ((bX == 3))
550+ then cb
607551 else {
608- let ct = bi(cs, cn[3])
609- if ((co == 4))
610- then ct
552+ let cc = aR(cb, bW[3])
553+ if ((bX == 4))
554+ then cc
611555 else {
612- let cu = bi(ct, cn[4])
613- if ((co == 5))
614- then cu
556+ let cd = aR(cc, bW[4])
557+ if ((bX == 5))
558+ then cd
615559 else {
616- let cv = bi(cu, cn[5])
617- if ((co == 6))
618- then cv
560+ let ce = aR(cd, bW[5])
561+ if ((bX == 6))
562+ then ce
619563 else {
620- let cw = bi(cv, cn[6])
621- if ((co == 7))
622- then cw
564+ let cf = aR(ce, bW[6])
565+ if ((bX == 7))
566+ then cf
623567 else {
624- let cx = bi(cw, cn[7])
625- if ((co == 8))
626- then cx
568+ let cg = aR(cf, bW[7])
569+ if ((bX == 8))
570+ then cg
627571 else {
628- let cy = bi(cx, cn[8])
629- if ((co == 9))
630- then cy
572+ let ch = aR(cg, bW[8])
573+ if ((bX == 9))
574+ then ch
631575 else {
632- let cz = bi(cy, cn[9])
633- if ((co == 10))
634- then cz
576+ let ci = aR(ch, bW[9])
577+ if ((bX == 10))
578+ then ci
635579 else {
636- let cA = bi(cz, cn[10])
637- if ((co == 11))
638- then cA
580+ let cj = aR(ci, bW[10])
581+ if ((bX == 11))
582+ then cj
639583 else {
640- let cB = bi(cA, cn[11])
641- if ((co == 12))
642- then cB
584+ let ck = aR(cj, bW[11])
585+ if ((bX == 12))
586+ then ck
643587 else {
644- let cC = bi(cB, cn[12])
645- if ((co == 13))
646- then cC
588+ let cl = aR(ck, bW[12])
589+ if ((bX == 13))
590+ then cl
647591 else {
648- let cD = bi(cC, cn[13])
649- if ((co == 14))
650- then cD
592+ let cm = aR(cl, bW[13])
593+ if ((bX == 14))
594+ then cm
651595 else {
652- let cE = bi(cD, cn[14])
653- if ((co == 15))
654- then cE
596+ let cn = aR(cm, bW[14])
597+ if ((bX == 15))
598+ then cn
655599 else {
656- let cF = bi(cE, cn[15])
657- if ((co == 16))
658- then cF
600+ let co = aR(cn, bW[15])
601+ if ((bX == 16))
602+ then co
659603 else {
660- let cG = bi(cF, cn[16])
661- if ((co == 17))
662- then cG
604+ let cp = aR(co, bW[16])
605+ if ((bX == 17))
606+ then cp
663607 else {
664- let cH = bi(cG, cn[17])
665- if ((co == 18))
666- then cH
608+ let cq = aR(cp, bW[17])
609+ if ((bX == 18))
610+ then cq
667611 else {
668- let cI = bi(cH, cn[18])
669- if ((co == 19))
670- then cI
612+ let cr = aR(cq, bW[18])
613+ if ((bX == 19))
614+ then cr
671615 else {
672- let cJ = bi(cI, cn[19])
673- if ((co == 20))
674- then cJ
616+ let cs = aR(cr, bW[19])
617+ if ((bX == 20))
618+ then cs
675619 else {
676- let cK = bi(cJ, cn[20])
620+ let ct = aR(cs, bW[20])
677621 throw("List size exceed 20")
678622 }
679623 }
680624 }
681625 }
682626 }
683627 }
684628 }
685629 }
686630 }
687631 }
688632 }
689633 }
690634 }
691635 }
692636 }
693637 }
694638 }
695639 }
696640 }
697641 }
698642 }
699643 }
700- let cL = {
701- let cM = bc
702- let cN = size(cM)
703- let cO = nil
704- if ((cN == 0))
705- then cO
644+ let cu = {
645+ let cv = aL
646+ let cw = size(cv)
647+ let cx = nil
648+ if ((cw == 0))
649+ then cx
706650 else {
707- let cP = bn(cO, cM[0])
708- if ((cN == 1))
709- then cP
651+ let cy = aW(cx, cv[0])
652+ if ((cw == 1))
653+ then cy
710654 else {
711- let cQ = bn(cP, cM[1])
712- if ((cN == 2))
713- then cQ
655+ let cz = aW(cy, cv[1])
656+ if ((cw == 2))
657+ then cz
714658 else {
715- let cR = bn(cQ, cM[2])
716- if ((cN == 3))
717- then cR
659+ let cA = aW(cz, cv[2])
660+ if ((cw == 3))
661+ then cA
718662 else {
719- let cS = bn(cR, cM[3])
720- if ((cN == 4))
721- then cS
663+ let cB = aW(cA, cv[3])
664+ if ((cw == 4))
665+ then cB
722666 else {
723- let cT = bn(cS, cM[4])
724- if ((cN == 5))
725- then cT
667+ let cC = aW(cB, cv[4])
668+ if ((cw == 5))
669+ then cC
726670 else {
727- let cU = bn(cT, cM[5])
728- if ((cN == 6))
729- then cU
671+ let cD = aW(cC, cv[5])
672+ if ((cw == 6))
673+ then cD
730674 else {
731- let cV = bn(cU, cM[6])
732- if ((cN == 7))
733- then cV
675+ let cE = aW(cD, cv[6])
676+ if ((cw == 7))
677+ then cE
734678 else {
735- let cW = bn(cV, cM[7])
736- if ((cN == 8))
737- then cW
679+ let cF = aW(cE, cv[7])
680+ if ((cw == 8))
681+ then cF
738682 else {
739- let cX = bn(cW, cM[8])
740- if ((cN == 9))
741- then cX
683+ let cG = aW(cF, cv[8])
684+ if ((cw == 9))
685+ then cG
742686 else {
743- let cY = bn(cX, cM[9])
744- if ((cN == 10))
745- then cY
687+ let cH = aW(cG, cv[9])
688+ if ((cw == 10))
689+ then cH
746690 else {
747- let cZ = bn(cY, cM[10])
748- if ((cN == 11))
749- then cZ
691+ let cI = aW(cH, cv[10])
692+ if ((cw == 11))
693+ then cI
750694 else {
751- let da = bn(cZ, cM[11])
752- if ((cN == 12))
753- then da
695+ let cJ = aW(cI, cv[11])
696+ if ((cw == 12))
697+ then cJ
754698 else {
755- let db = bn(da, cM[12])
756- if ((cN == 13))
757- then db
699+ let cK = aW(cJ, cv[12])
700+ if ((cw == 13))
701+ then cK
758702 else {
759- let dc = bn(db, cM[13])
760- if ((cN == 14))
761- then dc
703+ let cL = aW(cK, cv[13])
704+ if ((cw == 14))
705+ then cL
762706 else {
763- let dd = bn(dc, cM[14])
764- if ((cN == 15))
765- then dd
707+ let cM = aW(cL, cv[14])
708+ if ((cw == 15))
709+ then cM
766710 else {
767- let de = bn(dd, cM[15])
768- if ((cN == 16))
769- then de
711+ let cN = aW(cM, cv[15])
712+ if ((cw == 16))
713+ then cN
770714 else {
771- let df = bn(de, cM[16])
772- if ((cN == 17))
773- then df
715+ let cO = aW(cN, cv[16])
716+ if ((cw == 17))
717+ then cO
774718 else {
775- let dg = bn(df, cM[17])
776- if ((cN == 18))
777- then dg
719+ let cP = aW(cO, cv[17])
720+ if ((cw == 18))
721+ then cP
778722 else {
779- let dh = bn(dg, cM[18])
780- if ((cN == 19))
781- then dh
723+ let cQ = aW(cP, cv[18])
724+ if ((cw == 19))
725+ then cQ
782726 else {
783- let di = bn(dh, cM[19])
784- if ((cN == 20))
785- then di
727+ let cR = aW(cQ, cv[19])
728+ if ((cw == 20))
729+ then cR
786730 else {
787- let dj = bn(di, cM[20])
731+ let cS = aW(cR, cv[20])
788732 throw("List size exceed 20")
789733 }
790734 }
791735 }
792736 }
793737 }
794738 }
795739 }
796740 }
797741 }
798742 }
799743 }
800744 }
801745 }
802746 }
803747 }
804748 }
805749 }
806750 }
807751 }
808752 }
809753 }
810754 }
811- ((cm ++ cL) ++ [IntegerEntry(z, be)])
755+ ((bV ++ cu) ++ [IntegerEntry(z, aN)])
812756 }
813757 }
814758
815759
816760
817-@Callable(aG)
761+@Callable(aq)
818762 func shutdown () = if (!(A))
819763 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, g), "the cause wasn't specified")))
820- else if (!(containsElement([a, b, c, d], aG.callerPublicKey)))
764+ else if (!(containsElement([a, b, c, d], aq.callerPublicKey)))
821765 then throw("Only admin can call this function")
822- else P("Paused by admin")
766+ else H("Paused by admin")
823767
824768
825769
826-@Callable(aG)
770+@Callable(aq)
827771 func activate () = if (A)
828772 then throw("DApp is already active")
829- else if (!(containsElement([a, b, c, d], aG.callerPublicKey)))
773+ else if (!(containsElement([a, b, c, d], aq.callerPublicKey)))
830774 then throw("Only admin can call this function")
831775 else [BooleanEntry(f, true), DeleteEntry(g)]
832776
833777
834-@Verifier(dk)
835-func dl () = sigVerify(dk.bodyBytes, dk.proofs[0], dk.senderPublicKey)
778+@Verifier(cT)
779+func cU () = sigVerify(cT.bodyBytes, cT.proofs[0], cT.senderPublicKey)
836780

github/deemru/w8io/169f3d6 
970.96 ms