tx · BkP8xvT2mE1YE66RNc55VpuMCNSdxNJVL6rfBwWmS1Ea

3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN:  -0.01400000 Waves

2021.04.14 13:54 [1482022] smart account 3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN > SELF 0.00000000 Waves

{ "type": 13, "id": "BkP8xvT2mE1YE66RNc55VpuMCNSdxNJVL6rfBwWmS1Ea", "fee": 1400000, "feeAssetId": null, "timestamp": 1618397671476, "version": 2, "chainId": 84, "sender": "3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN", "senderPublicKey": "9NDcimsSfq5LxxqoVoq2nbMd1zPqZhFvr6mVUiXWwtM1", "proofs": [ "5m48XGAGqoE3haWoaNe18H81Q86AMtWWGnjdgs67yAg1gKXBDqeobx66GegjM1yieXV7mhPD2CNjescv1SuyKEd4" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIIAQAAABwAAAAADGFkbWluUHViS2V5MQEAAAAgBM915WTQwQ9OZ7kfE2TEGg3qhCRCMX0zkF1AWAqdk0oAAAAADGFkbWluUHViS2V5MgEAAAAgBM915WTQwQ9OZ7kfE2TEGg3qhCRCMX0zkF1AWAqdk0oAAAAADGFkbWluUHViS2V5MwEAAAAgBM915WTQwQ9OZ7kfE2TEGg3qhCRCMX0zkF1AWAqdk0oAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAAOa1VzZXJQb29sU3RydWMCAAAAEF91c2VyX3Bvb2xfc3RydWMAAAAAEmtVc2VyVG90YWxWb3RlU1dPUAIAAAAVX3VzZXJfdG90YWxfU1dPUF92b3RlAAAAAA9rVXNlclRvdGFsU3RydWMCAAAAEV91c2VyX3RvdGFsX3N0cnVjAAAAAA1rUG9vbFZvdGVTV09QAgAAAApfdm90ZV9TV09QAAAAAAprUG9vbFN0cnVjAgAAAAtfcG9vbF9zdHJ1YwAAAAAOa1RvdGFsVm90ZVNXT1ACAAAAD3RvdGFsX3Zvd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ABmNhbGxlcgUAAAALcG9vbEFkZHJlc3MFAAAAE3VzZXJQb29sVm90ZVNXT1BuZXcAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleee7N/c=", "height": 1482022, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GUonzGszHYUBFXJBS6mScyXmCvzh22mGfYABKSBHYQ7b Next: E5wW8e7fJBGdotgsy3dXwXVKYTCTTQR7MpNGtX23m5JZ Diff:
OldNewDifferences
144144 let an = ak._2
145145 let ao = ak._3
146146 let ap = ak._4
147- let aq = (M - W)
148- let ar = (ac + aq)
149- if (!(y(R.caller)))
150- then throw("This address has 0 SWOP in Governance dApp")
151- else if (false)
152- then throw((((" has " + toString(S)) + " SWOP in governance. New SWOP in voting ") + toString(ar)))
153- else if (true)
154- then throw(toString(aq))
155- else if (true)
156- then throw("line 121")
157- else if ((M >= W))
158- then {
159- let as = C()
160- let at = if ((Y == x))
161- then (X + ((aq * as) / q))
162- else (W + ((aq * as) / q))
163- let au = if ((Y == x))
164- then Z
165- else W
166- let av = if ((ad == x))
167- then ad
168- else max([0, (ad - aq)])
169- let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
170- let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
171- let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
172- let az = [StringEntry((toString(R.caller) + g), ay)]
173- let aA = (ag + aq)
174- let aB = if ((ai == x))
175- then (ah + ((aq * as) / q))
176- else (ag + ((aq * as) / q))
177- let aC = if ((ai == x))
178- then aj
179- else ag
180- let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
181- let aE = [StringEntry((B + i), aD)]
182- let aF = (am + aq)
183- let aG = if ((ao == x))
184- then (an + ((aq * as) / q))
185- else (am + ((aq * as) / q))
186- let aH = if ((ai == x))
187- then ap
188- else am
189- let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
190- let aJ = [StringEntry(k, aI)]
191- ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
192- }
193- else {
194- let aK = -(aq)
195- let au = if ((Y == x))
196- then min([Z, M])
197- else M
198- let at = if (((W - Z) == 0))
199- then 0
200- else (au + (((X - Z) * (M - au)) / (W - Z)))
201- let aL = max([0, (aK - (if ((ae == x))
202- then (W - Z)
203- else 0))])
204- let av = if ((ae == x))
205- then ad
206- else (0 + aL)
207- let aM = if ((aL > 0))
208- then x
209- else ae
210- let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
211- let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
212- let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
213- let az = [StringEntry((toString(R.caller) + g), ay)]
214- let aA = (ag - aK)
215- let aC = if ((ai == x))
216- then min([aj, aA])
217- else aA
218- let aB = if (((ag - aj) == 0))
219- then 0
220- else (aC + (((ah - aj) * (aA - aC)) / (ag - aj)))
221- let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
222- let aE = [StringEntry((B + i), aD)]
223- let aF = (am - aK)
224- let aH = if ((ao == x))
225- then min([ap, aF])
226- else aF
227- let aG = if (((am - ap) == 0))
228- then 0
229- else (aH + (((an - ap) * (aF - aH)) / (am - ap)))
230- let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
231- let aJ = [StringEntry(k, aI)]
232- ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
233- }
147+ if (true)
148+ then throw(toString(M))
149+ else {
150+ let aq = (M - W)
151+ let ar = (ac + aq)
152+ if (!(y(R.caller)))
153+ then throw("This address has 0 SWOP in Governance dApp")
154+ else if (false)
155+ then throw((((" has " + toString(S)) + " SWOP in governance. New SWOP in voting ") + toString(ar)))
156+ else if ((0 > ar))
157+ then throw("New userPoolVoteSWOPnew < 0")
158+ else if (true)
159+ then throw("line 121")
160+ else if ((M >= W))
161+ then {
162+ let as = C()
163+ let at = if ((Y == x))
164+ then (X + ((aq * as) / q))
165+ else (W + ((aq * as) / q))
166+ let au = if ((Y == x))
167+ then Z
168+ else W
169+ let av = if ((ad == x))
170+ then ad
171+ else max([0, (ad - aq)])
172+ let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
173+ let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
174+ let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
175+ let az = [StringEntry((toString(R.caller) + g), ay)]
176+ let aA = (ag + aq)
177+ let aB = if ((ai == x))
178+ then (ah + ((aq * as) / q))
179+ else (ag + ((aq * as) / q))
180+ let aC = if ((ai == x))
181+ then aj
182+ else ag
183+ let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
184+ let aE = [StringEntry((B + i), aD)]
185+ let aF = (am + aq)
186+ let aG = if ((ao == x))
187+ then (an + ((aq * as) / q))
188+ else (am + ((aq * as) / q))
189+ let aH = if ((ai == x))
190+ then ap
191+ else am
192+ let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
193+ let aJ = [StringEntry(k, aI)]
194+ ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
195+ }
196+ else {
197+ let aK = -(aq)
198+ let au = if ((Y == x))
199+ then min([Z, M])
200+ else M
201+ let at = if (((W - Z) == 0))
202+ then 0
203+ else (au + (((X - Z) * (M - au)) / (W - Z)))
204+ let aL = max([0, (aK - (if ((ae == x))
205+ then (W - Z)
206+ else 0))])
207+ let av = if ((ae == x))
208+ then ad
209+ else (0 + aL)
210+ let aM = if ((aL > 0))
211+ then x
212+ else ae
213+ let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
214+ let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
215+ let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
216+ let az = [StringEntry((toString(R.caller) + g), ay)]
217+ let aA = (ag - aK)
218+ let aC = if ((ai == x))
219+ then min([aj, aA])
220+ else aA
221+ let aB = if (((ag - aj) == 0))
222+ then 0
223+ else (aC + (((ah - aj) * (aA - aC)) / (ag - aj)))
224+ let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
225+ let aE = [StringEntry((B + i), aD)]
226+ let aF = (am - aK)
227+ let aH = if ((ao == x))
228+ then min([ap, aF])
229+ else aF
230+ let aG = if (((am - ap) == 0))
231+ then 0
232+ else (aH + (((an - ap) * (aF - aH)) / (am - ap)))
233+ let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
234+ let aJ = [StringEntry(k, aI)]
235+ ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
236+ }
237+ }
234238 }
235239
236240
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 = "_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_length"
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, o), "Empty kDurationFullVotePower")
4545
4646 let v = valueOrErrorMessage(getInteger(this, p), "Empty kMinVotePower")
4747
4848 let w = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
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"), "_")
112112 $Tuple3(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]))
113113 }
114114 else {
115115 let ab = valueOrElse(getInteger(this, (toString(R.caller) + f)), 0)
116116 $Tuple3(ab, 0, x)
117117 }
118118 let ac = aa._1
119119 let ad = aa._2
120120 let ae = aa._3
121121 let af = if (isDefined(getString(this, (B + i))))
122122 then {
123123 let U = split(valueOrErrorMessage(getString(this, (B + i)), "Empty kPoolStruc"), "_")
124124 $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3]))
125125 }
126126 else {
127127 let V = valueOrElse(getInteger(this, (B + h)), 0)
128128 $Tuple4(V, V, 0, 0)
129129 }
130130 let ag = af._1
131131 let ah = af._2
132132 let ai = af._3
133133 let aj = af._4
134134 let ak = if (isDefined(getString(this, k)))
135135 then {
136136 let U = split(valueOrErrorMessage(getString(this, k), "Empty kTotalStruc"), "_")
137137 $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3]))
138138 }
139139 else {
140140 let al = valueOrElse(getInteger(this, j), 0)
141141 $Tuple4(al, al, 0, 0)
142142 }
143143 let am = ak._1
144144 let an = ak._2
145145 let ao = ak._3
146146 let ap = ak._4
147- let aq = (M - W)
148- let ar = (ac + aq)
149- if (!(y(R.caller)))
150- then throw("This address has 0 SWOP in Governance dApp")
151- else if (false)
152- then throw((((" has " + toString(S)) + " SWOP in governance. New SWOP in voting ") + toString(ar)))
153- else if (true)
154- then throw(toString(aq))
155- else if (true)
156- then throw("line 121")
157- else if ((M >= W))
158- then {
159- let as = C()
160- let at = if ((Y == x))
161- then (X + ((aq * as) / q))
162- else (W + ((aq * as) / q))
163- let au = if ((Y == x))
164- then Z
165- else W
166- let av = if ((ad == x))
167- then ad
168- else max([0, (ad - aq)])
169- let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
170- let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
171- let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
172- let az = [StringEntry((toString(R.caller) + g), ay)]
173- let aA = (ag + aq)
174- let aB = if ((ai == x))
175- then (ah + ((aq * as) / q))
176- else (ag + ((aq * as) / q))
177- let aC = if ((ai == x))
178- then aj
179- else ag
180- let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
181- let aE = [StringEntry((B + i), aD)]
182- let aF = (am + aq)
183- let aG = if ((ao == x))
184- then (an + ((aq * as) / q))
185- else (am + ((aq * as) / q))
186- let aH = if ((ai == x))
187- then ap
188- else am
189- let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
190- let aJ = [StringEntry(k, aI)]
191- ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
192- }
193- else {
194- let aK = -(aq)
195- let au = if ((Y == x))
196- then min([Z, M])
197- else M
198- let at = if (((W - Z) == 0))
199- then 0
200- else (au + (((X - Z) * (M - au)) / (W - Z)))
201- let aL = max([0, (aK - (if ((ae == x))
202- then (W - Z)
203- else 0))])
204- let av = if ((ae == x))
205- then ad
206- else (0 + aL)
207- let aM = if ((aL > 0))
208- then x
209- else ae
210- let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
211- let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
212- let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
213- let az = [StringEntry((toString(R.caller) + g), ay)]
214- let aA = (ag - aK)
215- let aC = if ((ai == x))
216- then min([aj, aA])
217- else aA
218- let aB = if (((ag - aj) == 0))
219- then 0
220- else (aC + (((ah - aj) * (aA - aC)) / (ag - aj)))
221- let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
222- let aE = [StringEntry((B + i), aD)]
223- let aF = (am - aK)
224- let aH = if ((ao == x))
225- then min([ap, aF])
226- else aF
227- let aG = if (((am - ap) == 0))
228- then 0
229- else (aH + (((an - ap) * (aF - aH)) / (am - ap)))
230- let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
231- let aJ = [StringEntry(k, aI)]
232- ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
233- }
147+ if (true)
148+ then throw(toString(M))
149+ else {
150+ let aq = (M - W)
151+ let ar = (ac + aq)
152+ if (!(y(R.caller)))
153+ then throw("This address has 0 SWOP in Governance dApp")
154+ else if (false)
155+ then throw((((" has " + toString(S)) + " SWOP in governance. New SWOP in voting ") + toString(ar)))
156+ else if ((0 > ar))
157+ then throw("New userPoolVoteSWOPnew < 0")
158+ else if (true)
159+ then throw("line 121")
160+ else if ((M >= W))
161+ then {
162+ let as = C()
163+ let at = if ((Y == x))
164+ then (X + ((aq * as) / q))
165+ else (W + ((aq * as) / q))
166+ let au = if ((Y == x))
167+ then Z
168+ else W
169+ let av = if ((ad == x))
170+ then ad
171+ else max([0, (ad - aq)])
172+ let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
173+ let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
174+ let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
175+ let az = [StringEntry((toString(R.caller) + g), ay)]
176+ let aA = (ag + aq)
177+ let aB = if ((ai == x))
178+ then (ah + ((aq * as) / q))
179+ else (ag + ((aq * as) / q))
180+ let aC = if ((ai == x))
181+ then aj
182+ else ag
183+ let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
184+ let aE = [StringEntry((B + i), aD)]
185+ let aF = (am + aq)
186+ let aG = if ((ao == x))
187+ then (an + ((aq * as) / q))
188+ else (am + ((aq * as) / q))
189+ let aH = if ((ai == x))
190+ then ap
191+ else am
192+ let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
193+ let aJ = [StringEntry(k, aI)]
194+ ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
195+ }
196+ else {
197+ let aK = -(aq)
198+ let au = if ((Y == x))
199+ then min([Z, M])
200+ else M
201+ let at = if (((W - Z) == 0))
202+ then 0
203+ else (au + (((X - Z) * (M - au)) / (W - Z)))
204+ let aL = max([0, (aK - (if ((ae == x))
205+ then (W - Z)
206+ else 0))])
207+ let av = if ((ae == x))
208+ then ad
209+ else (0 + aL)
210+ let aM = if ((aL > 0))
211+ then x
212+ else ae
213+ let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au))
214+ let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)]
215+ let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x))
216+ let az = [StringEntry((toString(R.caller) + g), ay)]
217+ let aA = (ag - aK)
218+ let aC = if ((ai == x))
219+ then min([aj, aA])
220+ else aA
221+ let aB = if (((ag - aj) == 0))
222+ then 0
223+ else (aC + (((ah - aj) * (aA - aC)) / (ag - aj)))
224+ let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC))
225+ let aE = [StringEntry((B + i), aD)]
226+ let aF = (am - aK)
227+ let aH = if ((ao == x))
228+ then min([ap, aF])
229+ else aF
230+ let aG = if (((am - ap) == 0))
231+ then 0
232+ else (aH + (((an - ap) * (aF - aH)) / (am - ap)))
233+ let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH))
234+ let aJ = [StringEntry(k, aI)]
235+ ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M))
236+ }
237+ }
234238 }
235239
236240
237241 @Verifier(aN)
238242 func aO () = sigVerify(aN.bodyBytes, aN.proofs[0], aN.senderPublicKey)
239243

github/deemru/w8io/169f3d6 
42.33 ms