tx · 8hraZNZWs8RcDguguFv4reGvojcGJg3AfgCgkfoMqnoR

3N5yarEiTQccnnuerogYT3BxM5Zc5bRgDZy:  -0.04000000 Waves

2022.08.09 20:03 [2177196] smart account 3N5yarEiTQccnnuerogYT3BxM5Zc5bRgDZy > SELF 0.00000000 Waves

{ "type": 13, "id": "8hraZNZWs8RcDguguFv4reGvojcGJg3AfgCgkfoMqnoR", "fee": 4000000, "feeAssetId": null, "timestamp": 1660064651387, "version": 1, "sender": "3N5yarEiTQccnnuerogYT3BxM5Zc5bRgDZy", "senderPublicKey": "FK9j3YFWVChXKESTn33fMZz1JseCNMMqHhfB7smxJo4e", "proofs": [ "48nu2R95fp6PtbrY3f8oLxPSWBo8VJdhnLK9oBcXdU7RC8ae8P1VMBxLcxUk4S8EserMiDTRMNxLhnu7Y5WGMw6Q" ], "script": "base64:BgIqCAISBQoDAQgIEgASABIDCgEBEgASABIAEgMKAQgSBAoCCAESAwoBARIAUAAJc2VwYXJhdG9yAgJfXwADU0VQAgJfXwAFTVVMVDYAwIQ9AAVNVUxUOACAwtcvAAZNVUxUWDYJALYCAQUFTVVMVDYABk1VTFRYOAkAtgIBBQVNVUxUOAAHTVVMVFgxOAkAtgIBAICAkLu61q3wDQAKV0FWRVNJRFNUUgIFV0FWRVMAB1dBVkVTSUQJANkEAQUKV0FWRVNJRFNUUgAZSWR4Q29udHJvbENmZ05ldXRyaW5vRGFwcAABABhJZHhDb250cm9sQ2ZnQXVjdGlvbkRhcHAAAgAUSWR4Q29udHJvbENmZ1JwZERhcHAAAwAVSWR4Q29udHJvbENmZ01hdGhEYXBwAAQAHElkeENvbnRyb2xDZmdMaXF1aWRhdGlvbkRhcHAABQAVSWR4Q29udHJvbENmZ1Jlc3REYXBwAAYAHUlkeENvbnRyb2xDZmdOb2RlUmVnaXN0cnlEYXBwAAcAHElkeENvbnRyb2xDZmdOc2J0U3Rha2luZ0RhcHAACAAZSWR4Q29udHJvbENmZ01lZGlhdG9yRGFwcAAJABxJZH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Z2h0TkVXBQNuaWwBaQEYZ25zYnRGcm9tU3VyZlNZU1JFQURPTkxZAQdzdXJmQW10CQCUCgIFA25pbAkBC3N1cmZUb0duc2J0AQUHc3VyZkFtdAFpARFjb25maWdTWVNSRUFET05MWQAECm1pbkxvY2tBbXQJARFAZXh0ck5hdGl2ZSgxMDU1KQEJARBrZXlNaW5Mb2NrQW1vdW50AAQgc3VyZlZvdGluZ1Bvd2VyUmVzdHJpY3RpdmVQZXJpb2QJAGgCAKALAA4EG2JyVG9TdGFydFN1cmZUcmFuc2Zvcm1hdGlvbgCwmEYJAJQKAgUDbmlsCQDMCAIFCm1pbkxvY2tBbXQJAMwIAgkAaAIFEmduc2J0RnJvbVN1cmZDb2VmZgUFTVVMVDYJAMwIAgUgc3VyZlZvdGluZ1Bvd2VyUmVzdHJpY3RpdmVQZXJpb2QJAMwIAgUbYnJUb1N0YXJ0U3VyZlRyYW5zZm9ybWF0aW9uBQNuaWwAODVa1g==", "chainId": 84, "height": 2177196, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2UYAH4ZPNW5g4fQtxyKBtSWvgRJwXpEbWG1k3BUafkJA Next: 295jyYfSD5FqVAecBXQbuLR7xsT5M9YLR34GvwjYCkfH Diff:
OldNewDifferences
431431 let bo = cB._1
432432 let bp = cB._2
433433 let bN = cB._3
434- let cC = ay(invoke(H, "swapParamsByUserSYSREADONLY", [cf, 0], nil))
434+ let cC = ay(reentrantInvoke(H, "swapParamsByUserSYSREADONLY", [cf, 0], nil))
435435 let cD = cC._1
436436 let cE = cC._2
437437 let cF = cC._3
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 () = "%s%s__cfg__gnsbtFromSurfCoeff"
5454
5555
5656 func A (B) = split(u(B, y()), b)
5757
5858
5959 func C (D,E) = valueOrErrorMessage(addressFromString(D[E]), ("Control cfg doesn't contain address at index " + toString(E)))
6060
6161
6262 let F = addressFromStringValue(valueOrElse(getString(this, x()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
6363
6464 let D = A(F)
6565
6666 let G = C(D, m)
6767
6868 let H = C(D, j)
6969
7070 let I = C(D, k)
7171
7272 let J = valueOrElse(getInteger(this, z()), 300)
7373
7474 func K () = "bond_asset_id"
7575
7676
7777 func L () = "auction_contract"
7878
7979
8080 func M () = "%s__minLockAmount"
8181
8282
8383 func N () = "%s__stakedAssetId"
8484
8585
8686 func O (P) = makeString(["%s%s%s", "paramByUser", toString(P), "amount"], a)
8787
8888
8989 func Q (P) = makeString(["%s%s%s", "paramByUser", toString(P), "start"], a)
9090
9191
9292 func R (P) = makeString(["%s%s%s", "paramByUser", toString(P), "vpEffectiveHeight"], a)
9393
9494
9595 func S (T,P,U) = makeString(["%s%s%s%s", "history", T, toString(P), toBase58String(U)], a)
9696
9797
9898 func V () = makeString(["%s%s", "stats", "activeTotalLocked"], a)
9999
100100
101101 func W () = makeString(["%s%s", "stats", "locksCount"], a)
102102
103103
104104 func X () = makeString(["%s%s", "stats", "activeUsersCount"], a)
105105
106106
107107 func Y () = "%s__nextPeriod"
108108
109109
110110 func Z () = "supportedRewardAssets"
111111
112112
113113 func aa () = makeString(["%s%s%s", "dep", "lastNum"], a)
114114
115115
116116 func ab (P) = makeString(["%s%s%s", "userRwdFromDepNum", P], a)
117117
118118
119119 func ac (ad,ae) = makeString(["%s%d", "rwdPerNsbtSumByDepNum", toString(ad), ae], a)
120120
121121
122122 func af (P,ae) = makeString(["%s%s%s", "rwd", P, ae], a)
123123
124124
125125 func ag (P,ae) = makeString(["%s%s%s", "clm", P, ae], a)
126126
127127
128128 func ah (ae) = makeString(["%s%s", "notDistributed", ae], a)
129129
130130
131131 func ai (aj,ak) = fraction(toBigInt(aj), g, ak)
132132
133133
134134 func al (w) = valueOrElse(getInteger(this, w), 0)
135135
136136
137137 func am (w,an) = valueOrElse(getInteger(this, w), an)
138138
139139
140140 func ao (w) = valueOrErrorMessage(getInteger(this, w), (("Mandatory this." + w) + " is not defined"))
141141
142142
143143 func ap (w,an) = valueOrElse(getString(this, w), an)
144144
145145
146146 func aq (ar) = valueOrErrorMessage(addressFromString(ar), ("couldn't parse passed addressStr=" + ar))
147147
148148
149149 func as (at) = if ((at == h))
150150 then unit
151151 else fromBase58String(at)
152152
153153
154154 func au (av) = {
155155 let aw = av
156156 if ($isInstanceOf(aw, "Int"))
157157 then {
158158 let ax = aw
159159 ax
160160 }
161161 else throw("fail to cast into Int")
162162 }
163163
164164
165165 func ay (az) = {
166166 let aw = az
167167 if ($isInstanceOf(aw, "(Int, Int, Int, Int, Int)"))
168168 then {
169169 let aA = aw
170170 aA
171171 }
172172 else throw("fail to cast into Int")
173173 }
174174
175175
176176 func aB (aC,aD,aE,aF) = makeString(["%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(aC), toString(aD), toString(aE), toString(aF)], a)
177177
178178
179179 func aG (aH,aI) = makeString(["%s%d%d%s", aH, toString(lastBlock.height), toString(lastBlock.timestamp), aI], a)
180180
181181
182182 func aJ (T,P,U,aC,aD,aE,aF) = StringEntry(S(T, P, U), aB(aC, aD, aE, aF))
183183
184184
185185 func aK (P,U,aI) = StringEntry(S("claim", P, U), aG(toString(P), aI))
186186
187187
188188 func aL (aM,aN,aO) = {
189189 let aP = al(W())
190190 let aQ = al(X())
191191 let aR = al(V())
192192 let aS = (aR + aM)
193193 $Tuple3([IntegerEntry(W(), (aP + aN)), IntegerEntry(X(), (aQ + aO)), IntegerEntry(V(), aS)], aR, aS)
194194 }
195195
196196
197197 func aT (P,aU,aV) = [IntegerEntry(O(P), aU), IntegerEntry(Q(P), aV)]
198198
199199
200200 func aW () = $Tuple2(fromBase58String(u(this, N())), ao(M()))
201201
202202
203203 func aX (P) = (am(O(P), 0) > 0)
204204
205205
206206 func aY (P) = if (aX(P))
207207 then $Tuple3(false, ao(O(P)), ao(Q(P)))
208208 else unit
209209
210210
211211 func aZ (P) = valueOrErrorMessage(aY(P), (("User " + toString(P)) + " is not defined"))
212212
213213
214214 let ba = ap(Z(), "")
215215
216216 let bb = split(ba, "_")
217217
218218 func bc (P,bd,be,bf,bg) = {
219219 let bh = ac(bg, bd)
220220 let bi = parseBigIntValue(ap(ac(bg, bd), "0"))
221221 let bj = parseBigIntValue(ap(ac(bf, bd), "0"))
222222 let bk = toInt(fraction((bi - bj), be, g))
223223 let bl = af(P, bd)
224224 let bm = am(bl, 0)
225225 $Tuple4((bm + bk), bm, bk, bl)
226226 }
227227
228228
229229 func bn (bo,P,bp) = {
230230 let be = toBigInt(bp)
231231 let bq = ab(P)
232232 let bf = am(bq, -1)
233233 let bg = am(aa(), -1)
234234 func br (bs,bt) = {
235235 let bu = bc(P, bt, be, bf, bg)
236236 let bv = bu._1
237237 let bw = bu._2
238238 let bx = bu._3
239239 let bl = bu._4
240240 (bs :+ IntegerEntry(bl, bv))
241241 }
242242
243243 if (if ((bg == -1))
244244 then (bf == -1)
245245 else false)
246246 then nil
247247 else if (if ((bg == -1))
248248 then (bf > -1)
249249 else false)
250250 then throw("invalid depositNumLast and depositNumUser state")
251251 else if (if ((bg > -1))
252252 then (bf >= -1)
253253 else false)
254254 then if (bo)
255255 then [IntegerEntry(bq, bg)]
256256 else ({
257257 let by = bb
258258 let bz = size(by)
259259 let bA = nil
260260 func bB (bC,bD) = if ((bD >= bz))
261261 then bC
262262 else br(bC, by[bD])
263263
264264 func bE (bC,bD) = if ((bD >= bz))
265265 then bC
266266 else throw("List size exceeds 10")
267267
268268 bE(bB(bB(bB(bB(bB(bB(bB(bB(bB(bB(bA, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
269269 } :+ IntegerEntry(bq, bg))
270270 else throw(((("uncovered condition: depositNumLast=" + toString(bg)) + " depositNumUser=") + toString(bf)))
271271 }
272272
273273
274274 func bF (ae,bG) = {
275275 let bH = ah(ae)
276276 let bI = am(bH, 0)
277277 [IntegerEntry(bH, (bI + bG))]
278278 }
279279
280280
281281 func bJ (bK) = (bK / J)
282282
283283
284284 func bL (bM,bN,bO,bP) = {
285285 let bQ = (bN - height)
286286 if ((0 >= bQ))
287287 then (height + bM)
288288 else {
289289 let bR = (bM - bQ)
290290 let bS = if ((bP != 0))
291291 then fraction(bO, d, bP)
292292 else bN
293293 ((bM + height) - fraction(bR, bS, d))
294294 }
295295 }
296296
297297
298298 func bT (P,bU) = {
299299 let bV = valueOrElse(aY(P), $Tuple3(true, 0, 0))
300300 let bo = bV._1
301301 let bp = bV._2
302302 let bN = bV._3
303303 let bW = if (bo)
304304 then bU
305305 else (bU + bp)
306306 let bM = (1440 * 14)
307307 let bX = if (bo)
308308 then (bM + height)
309309 else bL(bM, bN, bp, bW)
310310 $Tuple5(bo, bp, bN, bW, bX)
311311 }
312312
313313
314314 func bY (P,bZ) = {
315315 let ca = aW()
316316 let cb = ca._1
317317 let cc = ca._2
318318 if ((size(bZ.payments) != 1))
319319 then throw("Invalid payments size")
320320 else {
321321 let cd = bZ.payments[0]
322322 let aU = cd.amount
323323 let ce = (("Invalid asset. " + toBase58String(cb)) + " is expected")
324324 let bd = valueOrErrorMessage(cd.assetId, ce)
325325 if ((bd != cb))
326326 then throw(ce)
327327 else {
328328 let cf = toString(P)
329329 let cg = bT(P, aU)
330330 let bo = cg._1
331331 let bp = cg._2
332332 let bN = cg._3
333333 let bW = cg._4
334334 let bX = cg._5
335335 if ((cc > bW))
336336 then throw(("Min lock amount is " + toString(cc)))
337337 else {
338338 let ch = aL(aU, 1, if (bo)
339339 then 1
340340 else 0)
341341 let ci = ch._1
342342 let cj = ch._2
343343 let ck = ch._3
344344 ((([aJ("stake", P, bZ.transactionId, bp, bN, bW, bX)] ++ bn(bo, cf, bp)) ++ aT(P, bW, bX)) ++ ci)
345345 }
346346 }
347347 }
348348 }
349349
350350
351351 func cl (P,bZ) = {
352352 let cf = toString(P)
353353 if ((size(bZ.payments) > 0))
354354 then throw("payments are not accepted")
355355 else {
356356 let cm = valueOrElse(aY(P), $Tuple3(true, 0, 0))
357357 let bo = cm._1
358358 let bp = cm._2
359359 let cn = cm._3
360360 let be = toBigInt(bp)
361361 let bq = ab(cf)
362362 let bf = am(bq, -1)
363363 let bg = am(aa(), -1)
364364 func co (bs,bt) = {
365365 let cp = bc(cf, bt, be, bf, bg)
366366 let bv = cp._1
367367 let bw = cp._2
368368 let bx = cp._3
369369 let bl = cp._4
370370 let cq = ag(cf, bt)
371371 let cr = bs
372372 let cs = cr._1
373373 let ct = cr._2
374374 let cu = makeString([bt, toString(bv)], ":")
375375 let cv = makeString([ct, cu], "_")
376376 if ((0 >= bv))
377377 then $Tuple2(cs, cv)
378378 else $Tuple2((((cs :+ ScriptTransfer(P, bv, as(bt))) :+ IntegerEntry(cq, (valueOrElse(getInteger(cq), 0) + bv))) :+ IntegerEntry(bl, 0)), cv)
379379 }
380380
381381 let cw = {
382382 let by = bb
383383 let bz = size(by)
384384 let bA = $Tuple2(nil, "")
385385 func bB (bC,bD) = if ((bD >= bz))
386386 then bC
387387 else co(bC, by[bD])
388388
389389 func bE (bC,bD) = if ((bD >= bz))
390390 then bC
391391 else throw("List size exceeds 10")
392392
393393 bE(bB(bB(bB(bB(bB(bB(bB(bB(bB(bB(bA, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
394394 }
395395 let cx = cw._1
396396 let cy = cw._2
397397 if ((0 >= size(cx)))
398398 then nil
399399 else ((cx :+ IntegerEntry(bq, bg)) :+ aK(P, bZ.transactionId, drop(cy, 1)))
400400 }
401401 }
402402
403403
404404 @Callable(bZ)
405405 func constructor (cc,cz,cb) = if ((bZ.caller != this))
406406 then throw("Permission denied")
407407 else [IntegerEntry(M(), cc), StringEntry(Z(), cz), StringEntry(N(), cb)]
408408
409409
410410
411411 @Callable(bZ)
412412 func stake () = bY(bZ.caller, bZ)
413413
414414
415415
416416 @Callable(bZ)
417417 func stakeByOriginCaller () = bY(bZ.originCaller, bZ)
418418
419419
420420
421421 @Callable(bZ)
422422 func unstake (aU) = if ((size(bZ.payments) != 0))
423423 then throw("unstake doesn't require any payment")
424424 else {
425425 let P = bZ.caller
426426 let cf = toString(P)
427427 let cA = aW()
428428 let cb = cA._1
429429 let cc = cA._2
430430 let cB = aZ(P)
431431 let bo = cB._1
432432 let bp = cB._2
433433 let bN = cB._3
434- let cC = ay(invoke(H, "swapParamsByUserSYSREADONLY", [cf, 0], nil))
434+ let cC = ay(reentrantInvoke(H, "swapParamsByUserSYSREADONLY", [cf, 0], nil))
435435 let cD = cC._1
436436 let cE = cC._2
437437 let cF = cC._3
438438 if ((cE > 0))
439439 then throw((("You have already made a swap operation. Wait " + toString((height + cF))) + " height to unstake"))
440440 else if ((0 >= bp))
441441 then throw("Nothing to unstake")
442442 else if ((aU > bp))
443443 then throw(((("Requested " + toString(aU)) + ", but staked only ") + toString(bp)))
444444 else {
445445 let bW = (bp - aU)
446446 let cG = aL(-(aU), if ((aU == bp))
447447 then -1
448448 else 0, if ((aU == bp))
449449 then -1
450450 else 0)
451451 let ci = cG._1
452452 let cj = cG._2
453453 let ck = cG._3
454454 ((([ScriptTransfer(P, aU, cb), aJ("unstake", P, bZ.transactionId, bp, bN, bW, bN)] ++ bn(false, cf, bp)) ++ aT(P, bW, bN)) ++ ci)
455455 }
456456 }
457457
458458
459459
460460 @Callable(bZ)
461461 func deposit () = if ((size(bZ.payments) != 1))
462462 then throw("exact 1 payment is allowed only")
463463 else {
464464 let cH = bZ.payments[0]
465465 let aU = cH.amount
466466 let cI = valueOrElse(cH.assetId, i)
467467 let cJ = toBase58String(cI)
468468 let cK = if ((cI == i))
469469 then f
470470 else e
471471 let cL = toBigInt(aU)
472472 let cj = am(V(), 0)
473473 let cM = toBigInt(cj)
474474 if ((0 > cj))
475475 then throw("TODO: case is not supported")
476476 else if ((cj == 0))
477477 then bF(cJ, aU)
478478 else {
479479 let cN = fraction(cL, g, cM)
480480 let cO = aa()
481481 let bg = am(cO, -1)
482482 let cP = (bg + 1)
483483 if (!(contains(ba, cJ)))
484484 then throw(((ba + " doesn't contain ") + cJ))
485485 else {
486486 func cQ (bs,cR) = {
487487 let cS = ac(cP, cR)
488488 let cT = ap(ac(bg, cR), "0")
489489 (bs :+ (if ((cR == cJ))
490490 then StringEntry(cS, toString((parseBigIntValue(cT) + cN)))
491491 else StringEntry(cS, cT)))
492492 }
493493
494494 ({
495495 let by = bb
496496 let bz = size(by)
497497 let bA = nil
498498 func bB (bC,bD) = if ((bD >= bz))
499499 then bC
500500 else cQ(bC, by[bD])
501501
502502 func bE (bC,bD) = if ((bD >= bz))
503503 then bC
504504 else throw("List size exceeds 10")
505505
506506 bE(bB(bB(bB(bB(bB(bB(bB(bB(bB(bB(bA, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
507507 } :+ IntegerEntry(cO, cP))
508508 }
509509 }
510510 }
511511
512512
513513
514514 @Callable(bZ)
515515 func claimRewards () = cl(bZ.caller, bZ)
516516
517517
518518
519519 @Callable(bZ)
520520 func claimRewardsByOriginCaller () = cl(bZ.originCaller, bZ)
521521
522522
523523
524524 @Callable(bZ)
525525 func unclaimedRewardsREADONLY (cf) = {
526526 func cU (bs,bt) = ((bs + makeString([bt, "0", "0"], ":")) + "_")
527527
528528 let cV = if ((cf == ""))
529529 then {
530530 let by = bb
531531 let bz = size(by)
532532 let bA = ""
533533 func bB (bC,bD) = if ((bD >= bz))
534534 then bC
535535 else cU(bC, by[bD])
536536
537537 func bE (bC,bD) = if ((bD >= bz))
538538 then bC
539539 else throw("List size exceeds 10")
540540
541541 bE(bB(bB(bB(bB(bB(bB(bB(bB(bB(bB(bA, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
542542 }
543543 else {
544544 let P = addressFromStringValue(cf)
545545 let cW = valueOrElse(aY(P), $Tuple3(true, 0, 0))
546546 let bo = cW._1
547547 let bp = cW._2
548548 let cn = cW._3
549549 let be = toBigInt(bp)
550550 let bq = ab(cf)
551551 let bf = am(bq, -1)
552552 let bg = am(aa(), -1)
553553 func co (bs,bt) = {
554554 let cX = bc(cf, bt, be, bf, bg)
555555 let bv = cX._1
556556 let bw = cX._2
557557 let bx = cX._3
558558 let bl = cX._4
559559 let cY = valueOrElse(getInteger(ag(cf, bt)), 0)
560560 ((bs + makeString([bt, toString(bv), toString(cY)], ":")) + "_")
561561 }
562562
563563 let by = bb
564564 let bz = size(by)
565565 let bA = ""
566566 func bB (bC,bD) = if ((bD >= bz))
567567 then bC
568568 else co(bC, by[bD])
569569
570570 func bE (bC,bD) = if ((bD >= bz))
571571 then bC
572572 else throw("List size exceeds 10")
573573
574574 bE(bB(bB(bB(bB(bB(bB(bB(bB(bB(bB(bA, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
575575 }
576576 $Tuple2(nil, dropRight(cV, 1))
577577 }
578578
579579
580580
581581 @Callable(bZ)
582582 func surfStakingSYSREADONLY (cZ,da) = {
583583 let db = am(V(), 0)
584584 let dc = bJ(db)
585585 if ((cZ == ""))
586586 then $Tuple2(nil, [0, db, 0, dc, 0, height, height])
587587 else {
588588 let P = aq(cZ)
589589 let cg = bT(P, da)
590590 let bo = cg._1
591591 let bp = cg._2
592592 let bN = cg._3
593593 let bW = cg._4
594594 let bX = cg._5
595595 let dd = bp
596596 let de = bJ(dd)
597597 $Tuple2(nil, [dd, db, de, dc, bN, bX])
598598 }
599599 }
600600
601601
602602
603603 @Callable(bZ)
604604 func gnsbtFromSurfSYSREADONLY (bK) = $Tuple2(nil, bJ(bK))
605605
606606
607607
608608 @Callable(bZ)
609609 func configSYSREADONLY () = {
610610 let df = getIntegerValue(M())
611611 let dg = (1440 * 14)
612612 let dh = 1150000
613613 $Tuple2(nil, [df, (J * c), dg, dh])
614614 }
615615
616616

github/deemru/w8io/169f3d6 
90.75 ms