tx · 97iL91XNAouKxiia4w3rLmcpRpttxidiFSMwpEEbWPj9

3MyaxeXTYGU9ZYkx5CA3YFwQZU2PXV36crr:  -0.01400000 Waves

2021.04.13 01:54 [1479867] smart account 3MyaxeXTYGU9ZYkx5CA3YFwQZU2PXV36crr > SELF 0.00000000 Waves

{ "type": 13, "id": "97iL91XNAouKxiia4w3rLmcpRpttxidiFSMwpEEbWPj9", "fee": 1400000, "feeAssetId": null, "timestamp": 1618268100301, "version": 1, "sender": "3MyaxeXTYGU9ZYkx5CA3YFwQZU2PXV36crr", "senderPublicKey": "FrLh9zDpe5zc5bWgFRKMZReNLHL87ZUBn4FSiAWtVSaF", "proofs": [ "2812WYrJRdt3gapbVdJh8fz3WWg6qZxfSCbXNRrAd7WPRofAREKtTrsafANVVwv8acrdvg8E9P8Mv2UBednod1sG" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIIAQAAABwAAAAADGFkbWluUHViS2V5MQEAAAAgugnXO4lZpNFdoP/xuzPQquE5aQ/L4r2R1jvuT16o4BMAAAAADGFkbWluUHViS2V5MgEAAAAgwpFEmbPSsLQNIqWRWL2IvKE3uwjL/92M5pTvWxYOfkAAAAAADGFkbWluUHViS2V5MwEAAAAgjh4XLnixBzv0SE56Myhgdih3/JnlkjCjIMLPqKvpDlUAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAAOa1VzZXJQb29sU3RydWMCAAAAEF91c2VyX3Bvb2xfc3RydWMAAAAAEmtVc2VyVG90YWxWb3RlU1dPUAIAAAAVX3VzZXJfdG90YWxfU1dPUF92b3RlAAAAAA9rVXNlclRvdGFsU3RydWMCAAAAEV91c2VyX3RvdGFsX3N0cnVjAAAAAA1rUG9vbFZvdGVTV09QAgAAAApfdm90ZV9TV09QAAAAAAprUG9vbFN0cnVjAgAAAAtfcG9vbF9zdHJ1YwAAAAAOa1RvdGFsVm90ZVNXT1ACAAAAD3RvdGFsX3ZvdGVfU1dPUAAAAAALa1RvdGFs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eded", "spentComplexity": 0 } View: original | compacted Prev: 3kiBq9QGJBMfo91nrnnKbEtX5LeUcandh19pnr1jXW3H Next: 2RKLb6ZttCBrjKuMJUwqsd8qpbw1Ki1sYk764DN7zJFv Diff:
OldNewDifferences
109109 let aa = if (isDefined(getString(this, (toString(R.caller) + g))))
110110 then {
111111 let U = split(valueOrErrorMessage(getString(this, (toString(R.caller) + g)), "Empty kUserTotalStruc"), "_")
112- if (true)
113- then throw((toString(R.caller) + g))
114- else $Tuple3(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]))
112+ $Tuple3(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]))
115113 }
116114 else {
117115 let ab = valueOrElse(getInteger(this, (toString(R.caller) + f)), 0)
148146 let ap = ak._4
149147 let aq = (M - W)
150148 let ar = (ac + aq)
151- if (!(y(R.caller)))
152- then throw("This address has 0 SWOP in Governance dApp")
153- else if ((ar > S))
154- then throw(((((toString(this) + " has ") + toString(S)) + " SWOP in governance. New SWOP in voting ") + toString(ar)))
155- else if ((M >= W))
156- then {
157- let as = C()
158- let at = if ((Y == x))
159- then (X + ((aq * as) / q))
160- else (W + ((aq * as) / q))
161- let au = if ((Y == x))
162- then Z
163- else W
164- let av = if ((ad == x))
165- then ad
166- else max([0, (ad - aq)])
167- let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
168- let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
169- let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
170- let az = [StringEntry((toString(R.caller) + g), ay)]
171- if (true)
172- then throw(((toString(am) + " ") + toString(aq)))
173- else {
174- let aA = (ag + aq)
175- let aB = if ((ai == x))
176- then (ah + ((aq * as) / q))
177- else (ag + ((aq * as) / q))
178- let aC = if ((ai == x))
179- then aj
180- else ag
181- let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
182- let aE = [StringEntry((B + e), aD)]
183- let aF = (am + aq)
184- let aG = if ((ao == x))
185- then (an + ((aq * as) / q))
186- else (am + ((aq * as) / q))
187- let aH = if ((ai == x))
188- then ap
189- else am
190- let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
191- let aJ = [StringEntry((B + e), aI)]
192- ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
193- }
194- }
195- else {
196- let aK = -(aq)
197- let au = if ((Y == x))
198- then min([Z, M])
199- else M
200- let at = if (((W - Z) == 0))
201- then 0
202- else (au + (((X - Z) * (M - au)) / (W - Z)))
203- let aL = max([0, (aK - (if ((ae == x))
204- then (W - Z)
205- else 0))])
206- let av = if ((ae == x))
207- then ad
208- else (0 + aL)
209- let aM = if ((aL > 0))
210- then x
211- else ae
212- let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
213- let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
214- let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
215- let az = [StringEntry((toString(R.caller) + g), ay)]
216- let aA = (ag - aK)
217- let aC = if ((ai == x))
218- then min([aj, aA])
219- else aA
220- let aB = if (((ag - aj) == 0))
221- then 0
222- else (aC + (((ah - aj) * (aA - aC)) / (ag - aj)))
223- let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
224- let aE = [StringEntry((B + i), aD)]
225- let aF = (am - aK)
226- let aH = if ((ao == x))
227- then min([ap, aF])
228- else aF
229- let aG = if (((am - ap) == 0))
230- then 0
231- else (aH + (((an - ap) * (aF - aH)) / (am - ap)))
232- let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
233- let aJ = [StringEntry(k, aI)]
234- ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
235- }
149+ if (true)
150+ then throw(toString(ar))
151+ else if (!(y(R.caller)))
152+ then throw("This address has 0 SWOP in Governance dApp")
153+ else if ((ar > S))
154+ then throw(((((toString(this) + " has ") + toString(S)) + " SWOP in governance. New SWOP in voting ") + toString(ar)))
155+ else if ((M >= W))
156+ then {
157+ let as = C()
158+ let at = if ((Y == x))
159+ then (X + ((aq * as) / q))
160+ else (W + ((aq * as) / q))
161+ let au = if ((Y == x))
162+ then Z
163+ else W
164+ let av = if ((ad == x))
165+ then ad
166+ else max([0, (ad - aq)])
167+ let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
168+ let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
169+ let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
170+ let az = [StringEntry((toString(R.caller) + g), ay)]
171+ let aA = (ag + aq)
172+ let aB = if ((ai == x))
173+ then (ah + ((aq * as) / q))
174+ else (ag + ((aq * as) / q))
175+ let aC = if ((ai == x))
176+ then aj
177+ else ag
178+ let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
179+ let aE = [StringEntry((B + e), aD)]
180+ let aF = (am + aq)
181+ let aG = if ((ao == x))
182+ then (an + ((aq * as) / q))
183+ else (am + ((aq * as) / q))
184+ let aH = if ((ai == x))
185+ then ap
186+ else am
187+ let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
188+ let aJ = [StringEntry((B + e), aI)]
189+ ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
190+ }
191+ else {
192+ let aK = -(aq)
193+ let au = if ((Y == x))
194+ then min([Z, M])
195+ else M
196+ let at = if (((W - Z) == 0))
197+ then 0
198+ else (au + (((X - Z) * (M - au)) / (W - Z)))
199+ let aL = max([0, (aK - (if ((ae == x))
200+ then (W - Z)
201+ else 0))])
202+ let av = if ((ae == x))
203+ then ad
204+ else (0 + aL)
205+ let aM = if ((aL > 0))
206+ then x
207+ else ae
208+ let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
209+ let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
210+ let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
211+ let az = [StringEntry((toString(R.caller) + g), ay)]
212+ let aA = (ag - aK)
213+ let aC = if ((ai == x))
214+ then min([aj, aA])
215+ else aA
216+ let aB = if (((ag - aj) == 0))
217+ then 0
218+ else (aC + (((ah - aj) * (aA - aC)) / (ag - aj)))
219+ let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
220+ let aE = [StringEntry((B + i), aD)]
221+ let aF = (am - aK)
222+ let aH = if ((ao == x))
223+ then min([ap, aF])
224+ else aF
225+ let aG = if (((am - ap) == 0))
226+ then 0
227+ else (aH + (((an - ap) * (aF - aH)) / (am - ap)))
228+ let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
229+ let aJ = [StringEntry(k, aI)]
230+ ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
231+ }
236232 }
237233
238234
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA'
55
66 let b = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7'
77
88 let c = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ'
99
1010 let d = "_vote"
1111
1212 let e = "_user_pool_struc"
1313
1414 let f = "_user_total_SWOP_vote"
1515
1616 let g = "_user_total_struc"
1717
1818 let h = "_vote_SWOP"
1919
2020 let i = "_pool_struc"
2121
2222 let j = "total_vote_SWOP"
2323
2424 let k = "total_struc"
2525
2626 let l = "start_height"
2727
2828 let m = "base_period"
2929
3030 let n = "period_legth"
3131
3232 let o = "duration_full_vote_power"
3333
3434 let p = "min_vote_power"
3535
3636 let q = 100000000
3737
3838 let r = valueOrErrorMessage(getInteger(this, m), "Empty kBasePeriod")
3939
4040 let s = valueOrErrorMessage(getInteger(this, l), "Empty kStartHeight")
4141
4242 let t = valueOrErrorMessage(getInteger(this, n), "Empty kPeriodLength")
4343
4444 let u = valueOrErrorMessage(getInteger(this, n), "Empty kPeriodLength")
4545
4646 let v = valueOrErrorMessage(getInteger(this, p), "Empty kMinVotePower")
4747
4848 let w = Address(base58'3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj')
4949
5050 let x = (r + ((height - s) / t))
5151
5252 func y (z) = if ((valueOrElse(getInteger(w, (toString(z) + "_SWOP_amount")), 0) > 0))
5353 then true
5454 else false
5555
5656
5757 func A (B) = isDefined(getInteger(w, (B + "_current_pool_fraction_reward")))
5858
5959
6060 func C () = {
6161 let D = (height - (s + (x * t)))
6262 if ((u > D))
6363 then q
6464 else {
6565 let E = u
6666 let F = q
6767 let G = t
6868 let H = v
6969 let I = (((H - F) * q) / (G - E))
7070 let J = ((F * q) - (I * E))
7171 (((D * I) / q) + (J / q))
7272 }
7373 }
7474
7575
7676 func K (L,B,M) = {
7777 let N = if (isDefined(getInteger(this, (((L + "_") + B) + d))))
7878 then DeleteEntry((((L + "_") + B) + d))
7979 else DeleteEntry(".")
8080 let O = if (isDefined(getInteger(this, (L + f))))
8181 then DeleteEntry((L + f))
8282 else DeleteEntry(".")
8383 let P = if (isDefined(getInteger(this, (B + h))))
8484 then DeleteEntry((B + h))
8585 else DeleteEntry(".")
8686 let Q = if (isDefined(getInteger(this, j)))
8787 then DeleteEntry(j)
8888 else DeleteEntry(".")
8989 [N, O, P, Q]
9090 }
9191
9292
9393 @Callable(R)
9494 func votePoolWeight (B,M) = {
9595 let S = valueOrErrorMessage(getInteger(w, (toString(R.caller) + "_SWOP_amount")), "Empty _SWOP_amount at gov. address")
9696 let T = if (isDefined(getString(this, (((toString(R.caller) + "_") + B) + e))))
9797 then {
9898 let U = split(valueOrErrorMessage(getString(this, (((toString(R.caller) + "_") + B) + e)), "Empty kUserPoolStruc"), "_")
9999 $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3]))
100100 }
101101 else {
102102 let V = valueOrElse(getInteger(this, (((toString(R.caller) + "_") + B) + d)), 0)
103103 $Tuple4(V, V, x, 0)
104104 }
105105 let W = T._1
106106 let X = T._2
107107 let Y = T._3
108108 let Z = T._4
109109 let aa = if (isDefined(getString(this, (toString(R.caller) + g))))
110110 then {
111111 let U = split(valueOrErrorMessage(getString(this, (toString(R.caller) + g)), "Empty kUserTotalStruc"), "_")
112- if (true)
113- then throw((toString(R.caller) + g))
114- else $Tuple3(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]))
112+ $Tuple3(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]))
115113 }
116114 else {
117115 let ab = valueOrElse(getInteger(this, (toString(R.caller) + f)), 0)
118116 $Tuple3(ab, 0, x)
119117 }
120118 let ac = aa._1
121119 let ad = aa._2
122120 let ae = aa._3
123121 let af = if (isDefined(getString(this, i)))
124122 then {
125123 let U = split(valueOrErrorMessage(getString(this, i), "Empty kPoolStruc"), "_")
126124 $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3]))
127125 }
128126 else {
129127 let V = valueOrElse(getInteger(this, (B + h)), 0)
130128 $Tuple4(V, V, 0, 0)
131129 }
132130 let ag = af._1
133131 let ah = af._2
134132 let ai = af._3
135133 let aj = af._4
136134 let ak = if (isDefined(getString(this, k)))
137135 then {
138136 let U = split(valueOrErrorMessage(getString(this, k), "Empty kTotalStruc"), "_")
139137 $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3]))
140138 }
141139 else {
142140 let al = valueOrElse(getInteger(this, j), 0)
143141 $Tuple4(al, al, 0, 0)
144142 }
145143 let am = ak._1
146144 let an = ak._2
147145 let ao = ak._3
148146 let ap = ak._4
149147 let aq = (M - W)
150148 let ar = (ac + aq)
151- if (!(y(R.caller)))
152- then throw("This address has 0 SWOP in Governance dApp")
153- else if ((ar > S))
154- then throw(((((toString(this) + " has ") + toString(S)) + " SWOP in governance. New SWOP in voting ") + toString(ar)))
155- else if ((M >= W))
156- then {
157- let as = C()
158- let at = if ((Y == x))
159- then (X + ((aq * as) / q))
160- else (W + ((aq * as) / q))
161- let au = if ((Y == x))
162- then Z
163- else W
164- let av = if ((ad == x))
165- then ad
166- else max([0, (ad - aq)])
167- let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
168- let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
169- let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
170- let az = [StringEntry((toString(R.caller) + g), ay)]
171- if (true)
172- then throw(((toString(am) + " ") + toString(aq)))
173- else {
174- let aA = (ag + aq)
175- let aB = if ((ai == x))
176- then (ah + ((aq * as) / q))
177- else (ag + ((aq * as) / q))
178- let aC = if ((ai == x))
179- then aj
180- else ag
181- let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
182- let aE = [StringEntry((B + e), aD)]
183- let aF = (am + aq)
184- let aG = if ((ao == x))
185- then (an + ((aq * as) / q))
186- else (am + ((aq * as) / q))
187- let aH = if ((ai == x))
188- then ap
189- else am
190- let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
191- let aJ = [StringEntry((B + e), aI)]
192- ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
193- }
194- }
195- else {
196- let aK = -(aq)
197- let au = if ((Y == x))
198- then min([Z, M])
199- else M
200- let at = if (((W - Z) == 0))
201- then 0
202- else (au + (((X - Z) * (M - au)) / (W - Z)))
203- let aL = max([0, (aK - (if ((ae == x))
204- then (W - Z)
205- else 0))])
206- let av = if ((ae == x))
207- then ad
208- else (0 + aL)
209- let aM = if ((aL > 0))
210- then x
211- else ae
212- let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
213- let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
214- let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
215- let az = [StringEntry((toString(R.caller) + g), ay)]
216- let aA = (ag - aK)
217- let aC = if ((ai == x))
218- then min([aj, aA])
219- else aA
220- let aB = if (((ag - aj) == 0))
221- then 0
222- else (aC + (((ah - aj) * (aA - aC)) / (ag - aj)))
223- let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
224- let aE = [StringEntry((B + i), aD)]
225- let aF = (am - aK)
226- let aH = if ((ao == x))
227- then min([ap, aF])
228- else aF
229- let aG = if (((am - ap) == 0))
230- then 0
231- else (aH + (((an - ap) * (aF - aH)) / (am - ap)))
232- let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
233- let aJ = [StringEntry(k, aI)]
234- ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
235- }
149+ if (true)
150+ then throw(toString(ar))
151+ else if (!(y(R.caller)))
152+ then throw("This address has 0 SWOP in Governance dApp")
153+ else if ((ar > S))
154+ then throw(((((toString(this) + " has ") + toString(S)) + " SWOP in governance. New SWOP in voting ") + toString(ar)))
155+ else if ((M >= W))
156+ then {
157+ let as = C()
158+ let at = if ((Y == x))
159+ then (X + ((aq * as) / q))
160+ else (W + ((aq * as) / q))
161+ let au = if ((Y == x))
162+ then Z
163+ else W
164+ let av = if ((ad == x))
165+ then ad
166+ else max([0, (ad - aq)])
167+ let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
168+ let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
169+ let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
170+ let az = [StringEntry((toString(R.caller) + g), ay)]
171+ let aA = (ag + aq)
172+ let aB = if ((ai == x))
173+ then (ah + ((aq * as) / q))
174+ else (ag + ((aq * as) / q))
175+ let aC = if ((ai == x))
176+ then aj
177+ else ag
178+ let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
179+ let aE = [StringEntry((B + e), aD)]
180+ let aF = (am + aq)
181+ let aG = if ((ao == x))
182+ then (an + ((aq * as) / q))
183+ else (am + ((aq * as) / q))
184+ let aH = if ((ai == x))
185+ then ap
186+ else am
187+ let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
188+ let aJ = [StringEntry((B + e), aI)]
189+ ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
190+ }
191+ else {
192+ let aK = -(aq)
193+ let au = if ((Y == x))
194+ then min([Z, M])
195+ else M
196+ let at = if (((W - Z) == 0))
197+ then 0
198+ else (au + (((X - Z) * (M - au)) / (W - Z)))
199+ let aL = max([0, (aK - (if ((ae == x))
200+ then (W - Z)
201+ else 0))])
202+ let av = if ((ae == x))
203+ then ad
204+ else (0 + aL)
205+ let aM = if ((aL > 0))
206+ then x
207+ else ae
208+ let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
209+ let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
210+ let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
211+ let az = [StringEntry((toString(R.caller) + g), ay)]
212+ let aA = (ag - aK)
213+ let aC = if ((ai == x))
214+ then min([aj, aA])
215+ else aA
216+ let aB = if (((ag - aj) == 0))
217+ then 0
218+ else (aC + (((ah - aj) * (aA - aC)) / (ag - aj)))
219+ let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
220+ let aE = [StringEntry((B + i), aD)]
221+ let aF = (am - aK)
222+ let aH = if ((ao == x))
223+ then min([ap, aF])
224+ else aF
225+ let aG = if (((am - ap) == 0))
226+ then 0
227+ else (aH + (((an - ap) * (aF - aH)) / (am - ap)))
228+ let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
229+ let aJ = [StringEntry(k, aI)]
230+ ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
231+ }
236232 }
237233
238234

github/deemru/w8io/026f985 
37.24 ms