tx · CUpLHDJ29EMLobR2zYb97anpekYoF9fFWU267VAiYVLm

3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez:  -0.01200000 Waves

2023.11.12 12:38 [2839957] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves

{ "type": 13, "id": "CUpLHDJ29EMLobR2zYb97anpekYoF9fFWU267VAiYVLm", "fee": 1200000, "feeAssetId": null, "timestamp": 1699781963759, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "2VFih8xRAjXnsrqMPvqUj2ZR1nFtNEopQX9C2Dz1FNQuWL96BL3wYzoCJxmypF28rKozN4aMnpfsqJjbt7mGqsaT" ], "script": "base64:BgISCAISABIAEgASABIAEgASABIAFgACZDgAgMLXLwAScmVnaXN0cmF0aW9uQ2xvc2VkAAEAF3JlZ2lzdHJhdGlvblJlcXVpcmVtZW50CQBoAgDAuAIFAmQ4AQ10cnlHZXRJbnRlZ2VyAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAmggCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABDHRyeUdldFN0cmluZwIHYWRkcmVzcwNrZXkEByRtYXRjaDAJAJ0IAgUHYWRkcmVzcwUDa2V5AwkAAQIFByRtYXRjaDACBlN0cmluZwQBYgUHJG1hdGNoMAUBYgIAAAdidXJueHRuASAkT3V5an4zObj7DP+EqXFcXsot3jOgxF1p+epEEexMVAAJd2hpcmxwb29sASBZ443cwrUjukoU3MTQrxQJ5mTmBL4lBgsmTuVQbZdZxwADUFoxARoBV4WdLDDV/AM+YcWt3pK/xSqR85muGkFACgADUFoyARoBV/VGaCeADWjfTiZ1erSh0ygx4Am/9Xl5NwADUFozARoBV2tSHeFnXWIznET2mm8K7tVVyNog/Ozm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AHQAeAB8AIAAhACIAIwAkACUAJgAnACgAKQAqACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ADoAOwA8AD0APgA/AEAAQQBCAEMARABFAEYARwBIAEkASgBLAEwATQBOAE8AUABRAFIAUwBUAFUAVgBXAFgAWQBaAFsAXABdAF4AXwBgAGEAYgBjAGQAZatkAQ==", "height": 2839957, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D7VgU9j62reDEHokTuj67449V5P1TRpvZWdGUrueMCUP Next: GohtAhhtupwR9QxCKyCcX9MYuic4d8s2BpqKfHqhP6VP Diff:
OldNewDifferences
232232 }
233233 let am = size(al)
234234 let an = fraction(am, 80, 100, DOWN)
235- func ao (W,e) = if ((aj > d(this, ("stop " + e))))
236- then nil
237- else (W + (e + ","))
238-
239- let ah = {
240- let Y = U
241- let Z = size(Y)
242- let aa = ""
243- func ap (ac,ad) = if ((ad >= Z))
244- then ac
245- else ao(ac, Y[ad])
246-
247- func aq (ac,ad) = if ((ad >= Z))
248- then ac
249- else throw("List size exceeds 98")
250-
251- aq(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98)
252- }
253-[StringEntry("Filter", ah), IntegerEntry("list size filterList", am), IntegerEntry("cullSize", an)]
235+[IntegerEntry("list size filterList", am), IntegerEntry("cullSize", an)]
254236 }
255237
256238
266248 func transfer () = if ((S.caller != this))
267249 then throw("access only by project owner")
268250 else {
269- let ar = k
270- let as = (2 * a)
251+ let ao = k
252+ let ap = (2 * a)
271253 let T = dropRight(i(this, "winners"), 1)
272254 let U = split(T, ",")
273- let at = (as / size(U))
274- func au (W,e) = (W ++ [ScriptTransfer(addressFromStringValue(e), at, ar)])
255+ let aq = (ap / size(U))
256+ func ar (W,e) = (W ++ [ScriptTransfer(addressFromStringValue(e), aq, ao)])
275257
276258 let Y = U
277259 let Z = size(Y)
278260 let aa = nil
279261 func ab (ac,ad) = if ((ad >= Z))
280262 then ac
281- else au(ac, Y[ad])
263+ else ar(ac, Y[ad])
282264
283265 func ae (ac,ad) = if ((ad >= Z))
284266 then ac
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 100000000
55
66 let b = 1
77
88 let c = (40000 * a)
99
1010 func d (e,f) = {
1111 let g = getInteger(e, f)
1212 if ($isInstanceOf(g, "Int"))
1313 then {
1414 let h = g
1515 h
1616 }
1717 else 0
1818 }
1919
2020
2121 func i (e,f) = {
2222 let g = getString(e, f)
2323 if ($isInstanceOf(g, "String"))
2424 then {
2525 let h = g
2626 h
2727 }
2828 else ""
2929 }
3030
3131
3232 let j = base58'3SjxA2YLdfF9fTRbzLm9xFn27C6MW34W1YsdJ6Axefns'
3333
3434 let k = base58'73tY3E6Gd5AWYmsuq8m8Kek7KnJNAYyS3GoveTbc6jCi'
3535
3636 let l = base58'3PE7NtJdmVq4yo47LKDqurQ8RLDCouvJCPB'
3737
3838 let m = base58'3PQHndCUVrv3wBuQjbvVP9SnGmfbfitGxfx'
3939
4040 let n = base58'3PBiMQLnX8wd4bssXCgF8KuUqHv1H4zWHGi'
4141
4242 let o = base58'3PDJPGn6vBEBqWN4E3fNcxoKBoDXbsmoaM7'
4343
4444 let p = base58'3PCS1xhGQi2eM5mYcCBhUSHvB31Kk5gZoCm'
4545
4646 let q = base58'3P8Quvmgt3VEWAjBR3bsfgCqzUh7zTmTC4q'
4747
4848 let r = base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'
4949
5050 let s = base58'3P5vwLbXddLWpsRspftMxLuzfsjk3dLT3n5'
5151
5252 let t = "GyiHdcN59sZ46baFvj68ruLngrTPEvWDtsd6jHm4o46n"
5353
5454 let u = base58'3PKXseWa31VUSWUvm2YiRKxW2VM9RsVk3ry'
5555
5656 let v = "3MPHMJVwYGyeBLRsH1RsYhrTmemv752AEBwuFFV7g49Z"
5757
5858 func w (x,e) = {
5959 let y = d(Address(x), (("global_" + toBase58String(j)) + "_balance"))
6060 let z = d(Address(x), (toString(e) + "_indexStaked"))
6161 let A = d(Address(x), "global_poolToken_amount")
6262 fraction(y, z, A)
6363 }
6464
6565
6666 func B (x,e,C) = {
6767 let D = assetBalance(Address(x), j)
6868 let E = d(Address(r), ((("%s%s%s__staked__" + toString(e)) + "__") + C))
6969 let F = d(Address(r), ("%s%s%s__staked__total__" + C))
7070 fraction(D, E, F)
7171 }
7272
7373
7474 func G (e) = {
7575 let H = assetBalance(e, j)
7676 let I = w(l, e)
7777 let J = w(m, e)
7878 let K = w(n, e)
7979 let L = w(o, e)
8080 let M = w(p, e)
8181 let N = w(q, e)
8282 let O = B(s, e, t)
8383 let P = B(u, e, v)
8484 let Q = ((((((((H + I) + J) + K) + L) + M) + N) + O) + P)
8585 [IntegerEntry("burnxtnBalance", H), IntegerEntry("PZ1balance", I), IntegerEntry("PZ2balance", J), IntegerEntry("PZ3balance", K), IntegerEntry("PZ4balance", L), IntegerEntry("PZ5balance", M), IntegerEntry("PZ6balance", N), IntegerEntry("WX1balance", O), IntegerEntry("WX2balance", P), IntegerEntry("total", Q)]
8686 }
8787
8888
8989 func R (e) = {
9090 let H = assetBalance(e, j)
9191 let I = w(l, e)
9292 let J = w(m, e)
9393 let K = w(n, e)
9494 let L = w(o, e)
9595 let M = w(p, e)
9696 let N = w(q, e)
9797 let O = B(s, e, t)
9898 let P = B(u, e, v)
9999 ((((((((H + I) + J) + K) + L) + M) + N) + O) + P)
100100 }
101101
102102
103103 @Callable(S)
104104 func register () = if (contains(i(this, "Address registered"), toString(S.caller)))
105105 then throw("already registered")
106106 else if ((height > b))
107107 then throw("registration closed")
108108 else if ((c > R(S.caller)))
109109 then throw("have atleast 40k BURN-XTN in wallet and liquidity pools")
110110 else if ((d(this, "Amount Registered") == 99))
111111 then throw("registration closed")
112112 else ([IntegerEntry("Amount Registered", (d(this, "Amount Registered") + 1)), StringEntry(("Register address: " + toString((d(this, "Amount Registered") + 1))), toString(S.caller)), StringEntry("Address registered", ((i(this, "Address registered") + toString(S.caller)) + ","))] ++ G(S.caller))
113113
114114
115115
116116 @Callable(S)
117117 func start () = if ((S.caller != this))
118118 then throw("access only by project owner")
119119 else {
120120 let T = dropRight(i(this, "Address registered"), 1)
121121 let U = split(T, ",")
122122 func V (W,e) = (W ++ [IntegerEntry(e, wavesBalance(addressFromStringValue(e)).available)])
123123
124124 let X = {
125125 let Y = U
126126 let Z = size(Y)
127127 let aa = nil
128128 func ab (ac,ad) = if ((ad >= Z))
129129 then ac
130130 else V(ac, Y[ad])
131131
132132 func ae (ac,ad) = if ((ad >= Z))
133133 then ac
134134 else throw("List size exceeds 100")
135135
136136 ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
137137 }
138138 (nil ++ X)
139139 }
140140
141141
142142
143143 @Callable(S)
144144 func currentPosition () = {
145145 let T = dropRight(i(this, "Address registered"), 1)
146146 let U = split(T, ",")
147147 func af (W,e) = (W ++ [IntegerEntry(("increase " + e), (wavesBalance(addressFromStringValue(e)).available - d(this, e)))])
148148
149149 let ag = {
150150 let Y = U
151151 let Z = size(Y)
152152 let aa = nil
153153 func ab (ac,ad) = if ((ad >= Z))
154154 then ac
155155 else af(ac, Y[ad])
156156
157157 func ae (ac,ad) = if ((ad >= Z))
158158 then ac
159159 else throw("List size exceeds 98")
160160
161161 ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98)
162162 }
163163 (nil ++ ag)
164164 }
165165
166166
167167
168168 @Callable(S)
169169 func stop () = if ((S.caller != this))
170170 then throw("access only by project owner")
171171 else {
172172 let T = dropRight(i(this, "Address registered"), 1)
173173 let U = split(T, ",")
174174 func af (W,e) = (W ++ [IntegerEntry(("stop " + e), (wavesBalance(addressFromStringValue(e)).available - d(this, e)))])
175175
176176 let ag = {
177177 let Y = U
178178 let Z = size(Y)
179179 let aa = nil
180180 func ab (ac,ad) = if ((ad >= Z))
181181 then ac
182182 else af(ac, Y[ad])
183183
184184 func ae (ac,ad) = if ((ad >= Z))
185185 then ac
186186 else throw("List size exceeds 98")
187187
188188 ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98)
189189 }
190190 (nil ++ ag)
191191 }
192192
193193
194194
195195 @Callable(S)
196196 func winners () = if ((S.caller != this))
197197 then throw("access only by project owner")
198198 else {
199199 let ah = invoke(this, "filter", nil, nil)
200200 if ((ah == ah))
201201 then nil
202202 else throw("Strict value is not equal to itself.")
203203 }
204204
205205
206206
207207 @Callable(S)
208208 func filter () = if ((S.caller != this))
209209 then throw("access only by project owner")
210210 else {
211211 let T = dropRight(i(this, "Address registered"), 1)
212212 let U = split(T, ",")
213213 let ai = size(U)
214214 let aj = 1
215215 func ak (W,e) = if ((aj > d(this, ("stop " + e))))
216216 then nil
217217 else (W :+ e)
218218
219219 let al = {
220220 let Y = U
221221 let Z = size(Y)
222222 let aa = nil
223223 func ab (ac,ad) = if ((ad >= Z))
224224 then ac
225225 else ak(ac, Y[ad])
226226
227227 func ae (ac,ad) = if ((ad >= Z))
228228 then ac
229229 else throw("List size exceeds 98")
230230
231231 ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98)
232232 }
233233 let am = size(al)
234234 let an = fraction(am, 80, 100, DOWN)
235- func ao (W,e) = if ((aj > d(this, ("stop " + e))))
236- then nil
237- else (W + (e + ","))
238-
239- let ah = {
240- let Y = U
241- let Z = size(Y)
242- let aa = ""
243- func ap (ac,ad) = if ((ad >= Z))
244- then ac
245- else ao(ac, Y[ad])
246-
247- func aq (ac,ad) = if ((ad >= Z))
248- then ac
249- else throw("List size exceeds 98")
250-
251- aq(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98)
252- }
253-[StringEntry("Filter", ah), IntegerEntry("list size filterList", am), IntegerEntry("cullSize", an)]
235+[IntegerEntry("list size filterList", am), IntegerEntry("cullSize", an)]
254236 }
255237
256238
257239
258240 @Callable(S)
259241 func remove () = if ((S.caller != this))
260242 then throw("access only by project owner")
261243 else nil
262244
263245
264246
265247 @Callable(S)
266248 func transfer () = if ((S.caller != this))
267249 then throw("access only by project owner")
268250 else {
269- let ar = k
270- let as = (2 * a)
251+ let ao = k
252+ let ap = (2 * a)
271253 let T = dropRight(i(this, "winners"), 1)
272254 let U = split(T, ",")
273- let at = (as / size(U))
274- func au (W,e) = (W ++ [ScriptTransfer(addressFromStringValue(e), at, ar)])
255+ let aq = (ap / size(U))
256+ func ar (W,e) = (W ++ [ScriptTransfer(addressFromStringValue(e), aq, ao)])
275257
276258 let Y = U
277259 let Z = size(Y)
278260 let aa = nil
279261 func ab (ac,ad) = if ((ad >= Z))
280262 then ac
281- else au(ac, Y[ad])
263+ else ar(ac, Y[ad])
282264
283265 func ae (ac,ad) = if ((ad >= Z))
284266 then ac
285267 else throw("List size exceeds 100")
286268
287269 ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
288270 }
289271
290272

github/deemru/w8io/026f985 
49.57 ms