tx · BpFBPt4RYhW9VKevUY1B1p2diT7NWx66HPzzCB9PHuKf

3N5yarEiTQccnnuerogYT3BxM5Zc5bRgDZy:  -0.04000000 Waves

2022.08.05 08:27 [2170757] smart account 3N5yarEiTQccnnuerogYT3BxM5Zc5bRgDZy > SELF 0.00000000 Waves

{ "type": 13, "id": "BpFBPt4RYhW9VKevUY1B1p2diT7NWx66HPzzCB9PHuKf", "fee": 4000000, "feeAssetId": null, "timestamp": 1659677273351, "version": 1, "sender": "3N5yarEiTQccnnuerogYT3BxM5Zc5bRgDZy", "senderPublicKey": "FK9j3YFWVChXKESTn33fMZz1JseCNMMqHhfB7smxJo4e", "proofs": [ "5sUx3pjkzxuCwt9ZNvnt7kCGoWyu1adLkespn8k8ho3XJTip7b4NkZkbXgtvprmP5rNeRcJ6fxczCh79JHjEfRp8" ], "script": "base64:BgIlCAISBQoDAQgIEgASABIDCgEBEgASABIAEgMKAQgSBAoCCAESAE0ACXNlcGFyYXRvcgICX18AA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDgAgMLXLwAGTVVMVFg2CQC2AgEFBU1VTFQ2AAZNVUxUWDgJALYCAQUFTVVMVDgAB01VTFRYMTgJALYCAQCAgJC7utat8A0ACldBVkVTSURTVFICBVdBVkVTAAdXQVZFU0lECQDZBAEFCldBVkVTSURTVFIAGUlkeENvbnRyb2xDZmdOZXV0cmlub0RhcHAAAQAYSWR4Q29udHJvbENmZ0F1Y3Rpb25EYXBwAAIAFElkeENvbnRyb2xDZmdScGREYXBwAAMAFUlkeENvbnRyb2xDZmdNYXRoRGFwcAAEABxJZHhDb250cm9sQ2ZnTGlxdWlkYXRpb25EYXBwAAUAFUlkeENvbnRyb2xDZmdSZXN0RGFwcAAGAB1JZHhDb250cm9sQ2ZnTm9kZVJlZ2lzdHJ5RGFwcAAHABxJZHhDb250cm9sQ2ZnTnNidFN0YWtpbmdEYXBwAAgAGUlkeENvbnRyb2xDZmdNZWRpYXRvckRhcHAACQAcSWR4Q29udHJ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lRvR25zYnQBBQhzdXJmVXNlcgkAlAoCBQNuaWwJAMwIAgUIc3VyZlVzZXIJAMwIAgUJc3VyZlRvdGFsCQDMCAIFEWduc2J0RnJvbVN1cmZVc2VyCQDMCAIFEmduc2J0RnJvbVN1cmZUb3RhbAkAzAgCBRF2cEVmZmVjdGl2ZUhlaWdodAkAzAgCBRR2cEVmZmVjdGl2ZUhlaWdodE5FVwUDbmlsAWkBEWNvbmZpZ1NZU1JFQURPTkxZAAQKbWluTG9ja0FtdAkBEUBleHRyTmF0aXZlKDEwNTUpAQkBEGtleU1pbkxvY2tBbW91bnQABBJnbnNidEZyb21TdXJmQ29lZmYJAGgCADwFBU1VTFQ2BCBzdXJmVm90aW5nUG93ZXJSZXN0cmljdGl2ZVBlcmlvZAkAaAIAoAsADgQbYnJUb1N0YXJ0U3VyZlRyYW5zZm9ybWF0aW9uALCYRgkAlAoCBQNuaWwJAMwIAgUKbWluTG9ja0FtdAkAzAgCBRJnbnNidEZyb21TdXJmQ29lZmYJAMwIAgUgc3VyZlZvdGluZ1Bvd2VyUmVzdHJpY3RpdmVQZXJpb2QJAMwIAgUbYnJUb1N0YXJ0U3VyZlRyYW5zZm9ybWF0aW9uBQNuaWwA7Wtygg==", "chainId": 84, "height": 2170757, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ATGScZ2BnkhhsgpdgkAYoeFEXYbXSJHxdc4eZnYCaAtS Next: CcGH7yZgP3KsW9T98fwiQHtprj1dbf7uqTKYAHHQR9Jt Diff:
OldNewDifferences
271271 then (height + bH)
272272 else {
273273 let bM = (bH - bL)
274- let bN = fraction(bJ, d, bK)
274+ let bN = if ((bK != 0))
275+ then fraction(bJ, d, bK)
276+ else bI
275277 ((bH + height) - fraction(bM, bN, d))
276278 }
277279 }
411413 let bX = cv._2
412414 let cw = aU(N)
413415 let bj = cw._1
414- let cx = cw._2
415- let cy = cw._3
416- if ((0 >= cx))
416+ let bk = cw._2
417+ let bI = cw._3
418+ if ((0 >= bk))
417419 then throw("Nothing to unstake")
418- else if ((aP > cx))
419- then throw(((("Requested " + toString(aP)) + ", but staked only ") + toString(cx)))
420+ else if ((aP > bk))
421+ then throw(((("Requested " + toString(aP)) + ", but staked only ") + toString(bk)))
420422 else {
421- let cz = aG(-(aP), if ((aP == cx))
423+ let bR = (bk - aP)
424+ let cx = aG(-(aP), if ((aP == bk))
422425 then -1
423- else 0, if ((aP == cx))
426+ else 0, if ((aP == bk))
424427 then -1
425428 else 0)
426- let cd = cz._1
427- let ce = cz._2
428- let cf = cz._3
429- ((([ScriptTransfer(N, aP, bW), aE("unstake", N, bU.transactionId, cx, cy, (cx - aP), cy)] ++ bi(false, ca, cx)) ++ aO(N, (cx - aP), cy)) ++ cd)
429+ let cd = cx._1
430+ let ce = cx._2
431+ let cf = cx._3
432+ ((([ScriptTransfer(N, aP, bW), aE("unstake", N, bU.transactionId, bk, bI, bR, bI)] ++ bi(false, ca, bk)) ++ aO(N, bR, bI)) ++ cd)
430433 }
431434 }
432435
436439 func deposit () = if ((size(bU.payments) != 1))
437440 then throw("exact 1 payment is allowed only")
438441 else {
439- let cA = bU.payments[0]
440- let aP = cA.amount
441- let cB = valueOrElse(cA.assetId, i)
442- let cC = toBase58String(cB)
443- let cD = if ((cB == i))
442+ let cy = bU.payments[0]
443+ let aP = cy.amount
444+ let cz = valueOrElse(cy.assetId, i)
445+ let cA = toBase58String(cz)
446+ let cB = if ((cz == i))
444447 then f
445448 else e
446- let cE = toBigInt(aP)
449+ let cC = toBigInt(aP)
447450 let ce = ak(T(), 0)
448- let cF = toBigInt(ce)
451+ let cD = toBigInt(ce)
449452 if ((0 > ce))
450453 then throw("TODO: case is not supported")
451454 else if ((ce == 0))
452- then bA(cC, aP)
455+ then bA(cA, aP)
453456 else {
454- let cG = fraction(cE, g, cF)
455- let cH = Y()
456- let bb = ak(cH, -1)
457- let cI = (bb + 1)
458- if (!(contains(aV, cC)))
459- then throw(((aV + " doesn't contain ") + cC))
457+ let cE = fraction(cC, g, cD)
458+ let cF = Y()
459+ let bb = ak(cF, -1)
460+ let cG = (bb + 1)
461+ if (!(contains(aV, cA)))
462+ then throw(((aV + " doesn't contain ") + cA))
460463 else {
461- func cJ (bn,cK) = {
462- let cL = aa(cI, cK)
463- let cM = an(aa(bb, cK), "0")
464- (bn :+ (if ((cK == cC))
465- then StringEntry(cL, toString((parseBigIntValue(cM) + cG)))
466- else StringEntry(cL, cM)))
464+ func cH (bn,cI) = {
465+ let cJ = aa(cG, cI)
466+ let cK = an(aa(bb, cI), "0")
467+ (bn :+ (if ((cI == cA))
468+ then StringEntry(cJ, toString((parseBigIntValue(cK) + cE)))
469+ else StringEntry(cJ, cK)))
467470 }
468471
469472 ({
472475 let bv = nil
473476 func bw (bx,by) = if ((by >= bu))
474477 then bx
475- else cJ(bx, bt[by])
478+ else cH(bx, bt[by])
476479
477480 func bz (bx,by) = if ((by >= bu))
478481 then bx
479482 else throw("List size exceeds 10")
480483
481484 bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
482- } :+ IntegerEntry(cH, cI))
485+ } :+ IntegerEntry(cF, cG))
483486 }
484487 }
485488 }
498501
499502 @Callable(bU)
500503 func unclaimedRewardsREADONLY (ca) = {
501- func cN (bn,bo) = ((bn + makeString([bo, "0", "0"], ":")) + "_")
504+ func cL (bn,bo) = ((bn + makeString([bo, "0", "0"], ":")) + "_")
502505
503- let cO = if ((ca == ""))
506+ let cM = if ((ca == ""))
504507 then {
505508 let bt = aW
506509 let bu = size(bt)
507510 let bv = ""
508511 func bw (bx,by) = if ((by >= bu))
509512 then bx
510- else cN(bx, bt[by])
513+ else cL(bx, bt[by])
511514
512515 func bz (bx,by) = if ((by >= bu))
513516 then bx
517520 }
518521 else {
519522 let N = addressFromStringValue(ca)
520- let cP = valueOrElse(aT(N), $Tuple3(true, 0, 0))
521- let bj = cP._1
522- let bk = cP._2
523- let ci = cP._3
523+ let cN = valueOrElse(aT(N), $Tuple3(true, 0, 0))
524+ let bj = cN._1
525+ let bk = cN._2
526+ let ci = cN._3
524527 let aZ = toBigInt(bk)
525528 let bl = Z(ca)
526529 let ba = ak(bl, -1)
527530 let bb = ak(Y(), -1)
528531 func cj (bn,bo) = {
529- let cQ = aX(ca, bo, aZ, ba, bb)
530- let bq = cQ._1
531- let br = cQ._2
532- let bs = cQ._3
533- let bg = cQ._4
534- let cR = valueOrElse(getInteger(ae(ca, bo)), 0)
535- ((bn + makeString([bo, toString(bq), toString(cR)], ":")) + "_")
532+ let cO = aX(ca, bo, aZ, ba, bb)
533+ let bq = cO._1
534+ let br = cO._2
535+ let bs = cO._3
536+ let bg = cO._4
537+ let cP = valueOrElse(getInteger(ae(ca, bo)), 0)
538+ ((bn + makeString([bo, toString(bq), toString(cP)], ":")) + "_")
536539 }
537540
538541 let bt = aW
548551
549552 bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
550553 }
551- $Tuple2(nil, dropRight(cO, 1))
554+ $Tuple2(nil, dropRight(cM, 1))
552555 }
553556
554557
555558
556559 @Callable(bU)
557-func surfStakingSYSREADONLY (cS,cT) = {
558- let cU = ak(T(), 0)
559- let cV = bE(cU)
560- if ((cS == ""))
561- then $Tuple2(nil, [0, cU, 0, cV, 0, height, height])
560+func surfStakingSYSREADONLY (cQ,cR) = {
561+ let cS = ak(T(), 0)
562+ let cT = bE(cS)
563+ if ((cQ == ""))
564+ then $Tuple2(nil, [0, cS, 0, cT, 0, height, height])
562565 else {
563- let N = ao(cS)
564- let cb = bO(N, cT)
566+ let N = ao(cQ)
567+ let cb = bO(N, cR)
565568 let bj = cb._1
566569 let bk = cb._2
567570 let bI = cb._3
568571 let bR = cb._4
569572 let bS = cb._5
570- let cW = bk
571- let cX = bE(cW)
572- $Tuple2(nil, [cW, cU, cX, cV, bI, bS])
573+ let cU = bk
574+ let cV = bE(cU)
575+ $Tuple2(nil, [cU, cS, cV, cT, bI, bS])
573576 }
574577 }
575578
577580
578581 @Callable(bU)
579582 func configSYSREADONLY () = {
580- let cY = getIntegerValue(K())
581- let cZ = (60 * c)
582- let da = (1440 * 14)
583- let db = 1150000
584- $Tuple2(nil, [cY, cZ, da, db])
583+ let cW = getIntegerValue(K())
584+ let cX = (60 * c)
585+ let cY = (1440 * 14)
586+ let cZ = 1150000
587+ $Tuple2(nil, [cW, cX, cY, cZ])
585588 }
586589
587590
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = "__"
77
88 let c = 1000000
99
1010 let d = 100000000
1111
1212 let e = toBigInt(c)
1313
1414 let f = toBigInt(d)
1515
1616 let g = toBigInt(1000000000000000000)
1717
1818 let h = "WAVES"
1919
2020 let i = fromBase58String(h)
2121
2222 let j = 1
2323
2424 let k = 2
2525
2626 let l = 3
2727
2828 let m = 4
2929
3030 let n = 5
3131
3232 let o = 6
3333
3434 let p = 7
3535
3636 let q = 8
3737
3838 let r = 9
3939
4040 let s = 10
4141
4242 let t = 11
4343
4444 func u (v,w) = valueOrErrorMessage(getString(v, w), (((("mandatory " + toString(v)) + ".") + w) + " is not defined"))
4545
4646
4747 func x () = "%s%s__config__controlAddress"
4848
4949
5050 func y () = "%s__controlConfig"
5151
5252
5353 func z (A) = split(u(A, y()), b)
5454
5555
5656 func B (C,D) = valueOrErrorMessage(addressFromString(C[D]), ("Control cfg doesn't contain address at index " + toString(D)))
5757
5858
5959 let E = addressFromStringValue(valueOrElse(getString(this, x()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
6060
6161 let C = z(E)
6262
6363 let F = B(C, m)
6464
6565 let G = B(C, j)
6666
6767 let H = B(C, k)
6868
6969 func I () = "bond_asset_id"
7070
7171
7272 func J () = "auction_contract"
7373
7474
7575 func K () = "%s__minLockAmount"
7676
7777
7878 func L () = "%s__stakedAssetId"
7979
8080
8181 func M (N) = makeString(["%s%s%s", "paramByUser", toString(N), "amount"], a)
8282
8383
8484 func O (N) = makeString(["%s%s%s", "paramByUser", toString(N), "start"], a)
8585
8686
8787 func P (N) = makeString(["%s%s%s", "paramByUser", toString(N), "vpEffectiveHeight"], a)
8888
8989
9090 func Q (R,N,S) = makeString(["%s%s%s%s", "history", R, toString(N), toBase58String(S)], a)
9191
9292
9393 func T () = makeString(["%s%s", "stats", "activeTotalLocked"], a)
9494
9595
9696 func U () = makeString(["%s%s", "stats", "locksCount"], a)
9797
9898
9999 func V () = makeString(["%s%s", "stats", "activeUsersCount"], a)
100100
101101
102102 func W () = "%s__nextPeriod"
103103
104104
105105 func X () = "supportedRewardAssets"
106106
107107
108108 func Y () = makeString(["%s%s%s", "dep", "lastNum"], a)
109109
110110
111111 func Z (N) = makeString(["%s%s%s", "userRwdFromDepNum", N], a)
112112
113113
114114 func aa (ab,ac) = makeString(["%s%d", "rwdPerNsbtSumByDepNum", toString(ab), ac], a)
115115
116116
117117 func ad (N,ac) = makeString(["%s%s%s", "rwd", N, ac], a)
118118
119119
120120 func ae (N,ac) = makeString(["%s%s%s", "clm", N, ac], a)
121121
122122
123123 func af (ac) = makeString(["%s%s", "notDistributed", ac], a)
124124
125125
126126 func ag (ah,ai) = fraction(toBigInt(ah), g, ai)
127127
128128
129129 func aj (w) = valueOrElse(getInteger(this, w), 0)
130130
131131
132132 func ak (w,al) = valueOrElse(getInteger(this, w), al)
133133
134134
135135 func am (w) = valueOrErrorMessage(getInteger(this, w), (("Mandatory this." + w) + " is not defined"))
136136
137137
138138 func an (w,al) = valueOrElse(getString(this, w), al)
139139
140140
141141 func ao (ap) = valueOrErrorMessage(addressFromString(ap), ("couldn't parse passed addressStr=" + ap))
142142
143143
144144 func aq (ar) = if ((ar == h))
145145 then unit
146146 else fromBase58String(ar)
147147
148148
149149 func as (at) = {
150150 let au = at
151151 if ($isInstanceOf(au, "Int"))
152152 then {
153153 let av = au
154154 av
155155 }
156156 else throw("fail to cast into Int")
157157 }
158158
159159
160160 func aw (ax,ay,az,aA) = makeString(["%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(ax), toString(ay), toString(az), toString(aA)], a)
161161
162162
163163 func aB (aC,aD) = makeString(["%s%d%d%s", aC, toString(lastBlock.height), toString(lastBlock.timestamp), aD], a)
164164
165165
166166 func aE (R,N,S,ax,ay,az,aA) = StringEntry(Q(R, N, S), aw(ax, ay, az, aA))
167167
168168
169169 func aF (N,S,aD) = StringEntry(Q("claim", N, S), aB(toString(N), aD))
170170
171171
172172 func aG (aH,aI,aJ) = {
173173 let aK = aj(U())
174174 let aL = aj(V())
175175 let aM = aj(T())
176176 let aN = (aM + aH)
177177 $Tuple3([IntegerEntry(U(), (aK + aI)), IntegerEntry(V(), (aL + aJ)), IntegerEntry(T(), aN)], aM, aN)
178178 }
179179
180180
181181 func aO (N,aP,aQ) = [IntegerEntry(M(N), aP), IntegerEntry(O(N), aQ)]
182182
183183
184184 func aR () = $Tuple2(fromBase58String(u(this, L())), am(K()))
185185
186186
187187 func aS (N) = (ak(M(N), 0) > 0)
188188
189189
190190 func aT (N) = if (aS(N))
191191 then $Tuple3(false, am(M(N)), am(O(N)))
192192 else unit
193193
194194
195195 func aU (N) = valueOrErrorMessage(aT(N), (("User " + toString(N)) + " is not defined"))
196196
197197
198198 let aV = an(X(), "")
199199
200200 let aW = split(aV, "_")
201201
202202 func aX (N,aY,aZ,ba,bb) = {
203203 let bc = aa(bb, aY)
204204 let bd = parseBigIntValue(an(aa(bb, aY), "0"))
205205 let be = parseBigIntValue(an(aa(ba, aY), "0"))
206206 let bf = toInt(fraction((bd - be), aZ, g))
207207 let bg = ad(N, aY)
208208 let bh = ak(bg, 0)
209209 $Tuple4((bh + bf), bh, bf, bg)
210210 }
211211
212212
213213 func bi (bj,N,bk) = {
214214 let aZ = toBigInt(bk)
215215 let bl = Z(N)
216216 let ba = ak(bl, -1)
217217 let bb = ak(Y(), -1)
218218 func bm (bn,bo) = {
219219 let bp = aX(N, bo, aZ, ba, bb)
220220 let bq = bp._1
221221 let br = bp._2
222222 let bs = bp._3
223223 let bg = bp._4
224224 (bn :+ IntegerEntry(bg, bq))
225225 }
226226
227227 if (if ((bb == -1))
228228 then (ba == -1)
229229 else false)
230230 then nil
231231 else if (if ((bb == -1))
232232 then (ba > -1)
233233 else false)
234234 then throw("invalid depositNumLast and depositNumUser state")
235235 else if (if ((bb > -1))
236236 then (ba >= -1)
237237 else false)
238238 then if (bj)
239239 then [IntegerEntry(bl, bb)]
240240 else ({
241241 let bt = aW
242242 let bu = size(bt)
243243 let bv = nil
244244 func bw (bx,by) = if ((by >= bu))
245245 then bx
246246 else bm(bx, bt[by])
247247
248248 func bz (bx,by) = if ((by >= bu))
249249 then bx
250250 else throw("List size exceeds 10")
251251
252252 bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
253253 } :+ IntegerEntry(bl, bb))
254254 else throw(((("uncovered condition: depositNumLast=" + toString(bb)) + " depositNumUser=") + toString(ba)))
255255 }
256256
257257
258258 func bA (ac,bB) = {
259259 let bC = af(ac)
260260 let bD = ak(bC, 0)
261261 [IntegerEntry(bC, (bD + bB))]
262262 }
263263
264264
265265 func bE (bF) = (bF / 60)
266266
267267
268268 func bG (bH,bI,bJ,bK) = {
269269 let bL = (bI - height)
270270 if ((0 >= bL))
271271 then (height + bH)
272272 else {
273273 let bM = (bH - bL)
274- let bN = fraction(bJ, d, bK)
274+ let bN = if ((bK != 0))
275+ then fraction(bJ, d, bK)
276+ else bI
275277 ((bH + height) - fraction(bM, bN, d))
276278 }
277279 }
278280
279281
280282 func bO (N,bP) = {
281283 let bQ = valueOrElse(aT(N), $Tuple3(true, 0, 0))
282284 let bj = bQ._1
283285 let bk = bQ._2
284286 let bI = bQ._3
285287 let bR = if (bj)
286288 then bP
287289 else (bP + bk)
288290 let bH = (1440 * 14)
289291 let bS = if (bj)
290292 then (bH + height)
291293 else bG(bH, bI, bk, bR)
292294 $Tuple5(bj, bk, bI, bR, bS)
293295 }
294296
295297
296298 func bT (N,bU) = {
297299 let bV = aR()
298300 let bW = bV._1
299301 let bX = bV._2
300302 if ((size(bU.payments) != 1))
301303 then throw("Invalid payments size")
302304 else {
303305 let bY = bU.payments[0]
304306 let aP = bY.amount
305307 let bZ = (("Invalid asset. " + toBase58String(bW)) + " is expected")
306308 let aY = valueOrErrorMessage(bY.assetId, bZ)
307309 if ((aY != bW))
308310 then throw(bZ)
309311 else {
310312 let ca = toString(N)
311313 let cb = bO(N, aP)
312314 let bj = cb._1
313315 let bk = cb._2
314316 let bI = cb._3
315317 let bR = cb._4
316318 let bS = cb._5
317319 if ((bX > bR))
318320 then throw(("Min lock amount is " + toString(bX)))
319321 else {
320322 let cc = aG(aP, 1, if (bj)
321323 then 1
322324 else 0)
323325 let cd = cc._1
324326 let ce = cc._2
325327 let cf = cc._3
326328 ((([aE("stake", N, bU.transactionId, bk, bI, bR, bS)] ++ bi(bj, ca, bk)) ++ aO(N, bR, bS)) ++ cd)
327329 }
328330 }
329331 }
330332 }
331333
332334
333335 func cg (N,bU) = {
334336 let ca = toString(N)
335337 if ((size(bU.payments) > 0))
336338 then throw("payments are not accepted")
337339 else {
338340 let ch = valueOrElse(aT(N), $Tuple3(true, 0, 0))
339341 let bj = ch._1
340342 let bk = ch._2
341343 let ci = ch._3
342344 let aZ = toBigInt(bk)
343345 let bl = Z(ca)
344346 let ba = ak(bl, -1)
345347 let bb = ak(Y(), -1)
346348 func cj (bn,bo) = {
347349 let ck = aX(ca, bo, aZ, ba, bb)
348350 let bq = ck._1
349351 let br = ck._2
350352 let bs = ck._3
351353 let bg = ck._4
352354 let cl = ae(ca, bo)
353355 let cm = bn
354356 let cn = cm._1
355357 let co = cm._2
356358 let cp = makeString([bo, toString(bq)], ":")
357359 let cq = makeString([co, cp], "_")
358360 if ((0 >= bq))
359361 then $Tuple2(cn, cq)
360362 else $Tuple2((((cn :+ ScriptTransfer(N, bq, aq(bo))) :+ IntegerEntry(cl, (valueOrElse(getInteger(cl), 0) + bq))) :+ IntegerEntry(bg, 0)), cq)
361363 }
362364
363365 let cr = {
364366 let bt = aW
365367 let bu = size(bt)
366368 let bv = $Tuple2(nil, "")
367369 func bw (bx,by) = if ((by >= bu))
368370 then bx
369371 else cj(bx, bt[by])
370372
371373 func bz (bx,by) = if ((by >= bu))
372374 then bx
373375 else throw("List size exceeds 10")
374376
375377 bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
376378 }
377379 let cs = cr._1
378380 let ct = cr._2
379381 if ((0 >= size(cs)))
380382 then nil
381383 else ((cs :+ IntegerEntry(bl, bb)) :+ aF(N, bU.transactionId, drop(ct, 1)))
382384 }
383385 }
384386
385387
386388 @Callable(bU)
387389 func constructor (bX,cu,bW) = if ((bU.caller != this))
388390 then throw("Permission denied")
389391 else [IntegerEntry(K(), bX), StringEntry(X(), cu), StringEntry(L(), bW)]
390392
391393
392394
393395 @Callable(bU)
394396 func stake () = bT(bU.caller, bU)
395397
396398
397399
398400 @Callable(bU)
399401 func stakeByOriginCaller () = bT(bU.originCaller, bU)
400402
401403
402404
403405 @Callable(bU)
404406 func unstake (aP) = if ((size(bU.payments) != 0))
405407 then throw("unstake doesn't require any payment")
406408 else {
407409 let N = bU.caller
408410 let ca = toString(N)
409411 let cv = aR()
410412 let bW = cv._1
411413 let bX = cv._2
412414 let cw = aU(N)
413415 let bj = cw._1
414- let cx = cw._2
415- let cy = cw._3
416- if ((0 >= cx))
416+ let bk = cw._2
417+ let bI = cw._3
418+ if ((0 >= bk))
417419 then throw("Nothing to unstake")
418- else if ((aP > cx))
419- then throw(((("Requested " + toString(aP)) + ", but staked only ") + toString(cx)))
420+ else if ((aP > bk))
421+ then throw(((("Requested " + toString(aP)) + ", but staked only ") + toString(bk)))
420422 else {
421- let cz = aG(-(aP), if ((aP == cx))
423+ let bR = (bk - aP)
424+ let cx = aG(-(aP), if ((aP == bk))
422425 then -1
423- else 0, if ((aP == cx))
426+ else 0, if ((aP == bk))
424427 then -1
425428 else 0)
426- let cd = cz._1
427- let ce = cz._2
428- let cf = cz._3
429- ((([ScriptTransfer(N, aP, bW), aE("unstake", N, bU.transactionId, cx, cy, (cx - aP), cy)] ++ bi(false, ca, cx)) ++ aO(N, (cx - aP), cy)) ++ cd)
429+ let cd = cx._1
430+ let ce = cx._2
431+ let cf = cx._3
432+ ((([ScriptTransfer(N, aP, bW), aE("unstake", N, bU.transactionId, bk, bI, bR, bI)] ++ bi(false, ca, bk)) ++ aO(N, bR, bI)) ++ cd)
430433 }
431434 }
432435
433436
434437
435438 @Callable(bU)
436439 func deposit () = if ((size(bU.payments) != 1))
437440 then throw("exact 1 payment is allowed only")
438441 else {
439- let cA = bU.payments[0]
440- let aP = cA.amount
441- let cB = valueOrElse(cA.assetId, i)
442- let cC = toBase58String(cB)
443- let cD = if ((cB == i))
442+ let cy = bU.payments[0]
443+ let aP = cy.amount
444+ let cz = valueOrElse(cy.assetId, i)
445+ let cA = toBase58String(cz)
446+ let cB = if ((cz == i))
444447 then f
445448 else e
446- let cE = toBigInt(aP)
449+ let cC = toBigInt(aP)
447450 let ce = ak(T(), 0)
448- let cF = toBigInt(ce)
451+ let cD = toBigInt(ce)
449452 if ((0 > ce))
450453 then throw("TODO: case is not supported")
451454 else if ((ce == 0))
452- then bA(cC, aP)
455+ then bA(cA, aP)
453456 else {
454- let cG = fraction(cE, g, cF)
455- let cH = Y()
456- let bb = ak(cH, -1)
457- let cI = (bb + 1)
458- if (!(contains(aV, cC)))
459- then throw(((aV + " doesn't contain ") + cC))
457+ let cE = fraction(cC, g, cD)
458+ let cF = Y()
459+ let bb = ak(cF, -1)
460+ let cG = (bb + 1)
461+ if (!(contains(aV, cA)))
462+ then throw(((aV + " doesn't contain ") + cA))
460463 else {
461- func cJ (bn,cK) = {
462- let cL = aa(cI, cK)
463- let cM = an(aa(bb, cK), "0")
464- (bn :+ (if ((cK == cC))
465- then StringEntry(cL, toString((parseBigIntValue(cM) + cG)))
466- else StringEntry(cL, cM)))
464+ func cH (bn,cI) = {
465+ let cJ = aa(cG, cI)
466+ let cK = an(aa(bb, cI), "0")
467+ (bn :+ (if ((cI == cA))
468+ then StringEntry(cJ, toString((parseBigIntValue(cK) + cE)))
469+ else StringEntry(cJ, cK)))
467470 }
468471
469472 ({
470473 let bt = aW
471474 let bu = size(bt)
472475 let bv = nil
473476 func bw (bx,by) = if ((by >= bu))
474477 then bx
475- else cJ(bx, bt[by])
478+ else cH(bx, bt[by])
476479
477480 func bz (bx,by) = if ((by >= bu))
478481 then bx
479482 else throw("List size exceeds 10")
480483
481484 bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
482- } :+ IntegerEntry(cH, cI))
485+ } :+ IntegerEntry(cF, cG))
483486 }
484487 }
485488 }
486489
487490
488491
489492 @Callable(bU)
490493 func claimRewards () = cg(bU.caller, bU)
491494
492495
493496
494497 @Callable(bU)
495498 func claimRewardsByOriginCaller () = cg(bU.originCaller, bU)
496499
497500
498501
499502 @Callable(bU)
500503 func unclaimedRewardsREADONLY (ca) = {
501- func cN (bn,bo) = ((bn + makeString([bo, "0", "0"], ":")) + "_")
504+ func cL (bn,bo) = ((bn + makeString([bo, "0", "0"], ":")) + "_")
502505
503- let cO = if ((ca == ""))
506+ let cM = if ((ca == ""))
504507 then {
505508 let bt = aW
506509 let bu = size(bt)
507510 let bv = ""
508511 func bw (bx,by) = if ((by >= bu))
509512 then bx
510- else cN(bx, bt[by])
513+ else cL(bx, bt[by])
511514
512515 func bz (bx,by) = if ((by >= bu))
513516 then bx
514517 else throw("List size exceeds 10")
515518
516519 bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
517520 }
518521 else {
519522 let N = addressFromStringValue(ca)
520- let cP = valueOrElse(aT(N), $Tuple3(true, 0, 0))
521- let bj = cP._1
522- let bk = cP._2
523- let ci = cP._3
523+ let cN = valueOrElse(aT(N), $Tuple3(true, 0, 0))
524+ let bj = cN._1
525+ let bk = cN._2
526+ let ci = cN._3
524527 let aZ = toBigInt(bk)
525528 let bl = Z(ca)
526529 let ba = ak(bl, -1)
527530 let bb = ak(Y(), -1)
528531 func cj (bn,bo) = {
529- let cQ = aX(ca, bo, aZ, ba, bb)
530- let bq = cQ._1
531- let br = cQ._2
532- let bs = cQ._3
533- let bg = cQ._4
534- let cR = valueOrElse(getInteger(ae(ca, bo)), 0)
535- ((bn + makeString([bo, toString(bq), toString(cR)], ":")) + "_")
532+ let cO = aX(ca, bo, aZ, ba, bb)
533+ let bq = cO._1
534+ let br = cO._2
535+ let bs = cO._3
536+ let bg = cO._4
537+ let cP = valueOrElse(getInteger(ae(ca, bo)), 0)
538+ ((bn + makeString([bo, toString(bq), toString(cP)], ":")) + "_")
536539 }
537540
538541 let bt = aW
539542 let bu = size(bt)
540543 let bv = ""
541544 func bw (bx,by) = if ((by >= bu))
542545 then bx
543546 else cj(bx, bt[by])
544547
545548 func bz (bx,by) = if ((by >= bu))
546549 then bx
547550 else throw("List size exceeds 10")
548551
549552 bz(bw(bw(bw(bw(bw(bw(bw(bw(bw(bw(bv, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
550553 }
551- $Tuple2(nil, dropRight(cO, 1))
554+ $Tuple2(nil, dropRight(cM, 1))
552555 }
553556
554557
555558
556559 @Callable(bU)
557-func surfStakingSYSREADONLY (cS,cT) = {
558- let cU = ak(T(), 0)
559- let cV = bE(cU)
560- if ((cS == ""))
561- then $Tuple2(nil, [0, cU, 0, cV, 0, height, height])
560+func surfStakingSYSREADONLY (cQ,cR) = {
561+ let cS = ak(T(), 0)
562+ let cT = bE(cS)
563+ if ((cQ == ""))
564+ then $Tuple2(nil, [0, cS, 0, cT, 0, height, height])
562565 else {
563- let N = ao(cS)
564- let cb = bO(N, cT)
566+ let N = ao(cQ)
567+ let cb = bO(N, cR)
565568 let bj = cb._1
566569 let bk = cb._2
567570 let bI = cb._3
568571 let bR = cb._4
569572 let bS = cb._5
570- let cW = bk
571- let cX = bE(cW)
572- $Tuple2(nil, [cW, cU, cX, cV, bI, bS])
573+ let cU = bk
574+ let cV = bE(cU)
575+ $Tuple2(nil, [cU, cS, cV, cT, bI, bS])
573576 }
574577 }
575578
576579
577580
578581 @Callable(bU)
579582 func configSYSREADONLY () = {
580- let cY = getIntegerValue(K())
581- let cZ = (60 * c)
582- let da = (1440 * 14)
583- let db = 1150000
584- $Tuple2(nil, [cY, cZ, da, db])
583+ let cW = getIntegerValue(K())
584+ let cX = (60 * c)
585+ let cY = (1440 * 14)
586+ let cZ = 1150000
587+ $Tuple2(nil, [cW, cX, cY, cZ])
585588 }
586589
587590

github/deemru/w8io/026f985 
93.11 ms