tx · FgcgESC5EunTkVKAAJUjb7D3rmmGpYRo59qoYKje7sn2

3Mzep1R5kHeC1ecKFkWjuhU3Gw4LAdCib9N:  -0.01800000 Waves

2024.02.20 11:24 [2984301] smart account 3Mzep1R5kHeC1ecKFkWjuhU3Gw4LAdCib9N > SELF 0.00000000 Waves

{ "type": 13, "id": "FgcgESC5EunTkVKAAJUjb7D3rmmGpYRo59qoYKje7sn2", "fee": 1800000, "feeAssetId": null, "timestamp": 1708417465504, "version": 2, "chainId": 84, "sender": "3Mzep1R5kHeC1ecKFkWjuhU3Gw4LAdCib9N", "senderPublicKey": "41THq9VrFxHEvVGJyz2oMpJQErnSkkqJXpBypSDxa5Mv", "proofs": [ "5XQaPvTxZmHgJJbDkh8jTzjuJPzfp7yh7zBZMBoEGoEv2R1ps6CgWNsNn4yoFZ8FSv5iJTNPtL1LPraDMzSHZeJL" ], "script": "base64:BwIoCAISBAoCAhgSBgoEAgIBARIECgICGBIECgICGBIECgICGBIECgICGDQAB2NoYWluSWQJAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEACGNoYWluSWRUAQFUAAhjaGFpbklkVwEBVwADU0VQAgJfXwAFV0FWRVMCBVdBVkVTABBjb250cmFjdEZpbGVuYW1lAhV3eGRhb19jYWxjdWxhdG9yLnJpZGUABW11bHQ4AIDC1y8ABm11bHQxOAkAtgIBAICAkLu61q3wDQANd2F2ZXNEZWNpbWFscwAIAAx1c2R0RGVjaW1hbHMABgEFdG9YMTgCB29yaWdWYWwNb3JpZ1NjYWxlTXVsdAkAvAIDCQC2AgEFB29yaWdWYWwFBm11bHQxOAkAtgIBBQ1vcmlnU2NhbGVNdWx0AQdmcm9tWDE4AgN2YWwPcmVzdWx0U2NhbGVNdWx0CQCgAwEJALwCAwUDdmFsCQC2AgEFD3Jlc3VsdFNjYWxlTXVsdAUGbXVsdDE4AQd3cmFwRXJyAQFzCQCsAgIJAKwCAgUQY29udHJhY3RGaWxlbmFtZQICOiAFAXMBCHRocm93RXJyAQF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WFsIHRvIGl0c2VsZi4BaQEQZ2V0VHJlYXN1cnlWYWx1ZQIPY2FsbGVyUHVibGljS2V5BGFyZ3MEC2NoZWNrQ2FsbGVyCQELb25seUZhY3RvcnkBBQFpAwkAAAIFC2NoZWNrQ2FsbGVyBQtjaGVja0NhbGxlcgQNdHJlYXN1cnlWYWx1ZQkBB2Zyb21YMTgCCQERY2FsY1RyZWFzdXJ5VmFsdWUACQBsBgAKAAAFDHVzZHREZWNpbWFscwAAAAAFBERPV04JAJQKAgUDbmlsBQ10cmVhc3VyeVZhbHVlCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAkAAAIFB2NoYWluSWQFCGNoYWluSWRUSQTfag==", "height": 2984301, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GYMAeHFch3LRN8yeSxsbwNVzaJFuRsu2kcKes6ezfrpr Next: none Diff:
OldNewDifferences
191191 func ae (af) = valueOrErrorMessage(assetInfo(af), q("invalid asset info"))
192192
193193
194-func ag (ah,ai,af,aj) = makeString(["%d%d%s%d", toString(ah), toString(ai), toBase58String(af), toString(aj)], d)
194+func ag (ah,ai,af,aj,ak) = makeString(["%d%d%s%d%d", toString(ah), toString(ai), toBase58String(af), toString(aj), toString(ak)], d)
195195
196196
197-func ak (r) = {
198- let al = split(r, d)
199- $Tuple4(valueOrErrorMessage(parseInt(al[1]), q("error during processing lock start height")), valueOrErrorMessage(parseInt(al[2]), q("error during processing lock end height")), fromBase58String(al[3]), valueOrErrorMessage(parseInt(al[4]), q("error during processing lock amount")))
197+func al (r) = {
198+ let am = split(r, d)
199+ $Tuple4(valueOrErrorMessage(parseInt(am[1]), q("error during processing lock start height")), valueOrErrorMessage(parseInt(am[2]), q("error during processing lock end height")), fromBase58String(am[3]), valueOrErrorMessage(parseInt(am[4]), q("error during processing lock amount")))
200200 }
201201
202202
203-func am (an,ao) = {
204- func ap (aq,ar) = {
205- let as = if ((ar == e))
206- then k(wavesBalance(an).available, pow(10, 0, i, 0, 0, DOWN))
203+func an (ao,ap) = {
204+ func aq (ar,as) = {
205+ let at = if ((as == e))
206+ then k(wavesBalance(ao).available, pow(10, 0, i, 0, 0, DOWN))
207207 else {
208- let af = fromBase58String(ar)
209- let at = ae(af).decimals
210- k(assetBalance(an, af), pow(10, 0, at, 0, 0, DOWN))
208+ let af = fromBase58String(as)
209+ let au = ae(af).decimals
210+ k(assetBalance(ao, af), pow(10, 0, au, 0, 0, DOWN))
211211 }
212- (aq :+ as)
212+ (ar :+ at)
213213 }
214214
215- let au = ao
216- let av = size(au)
217- let aw = nil
218- func ax (ay,az) = if ((az >= av))
219- then ay
220- else ap(ay, au[az])
215+ let av = ap
216+ let aw = size(av)
217+ let ax = nil
218+ func ay (az,aA) = if ((aA >= aw))
219+ then az
220+ else aq(az, av[aA])
221221
222- func aA (ay,az) = if ((az >= av))
223- then ay
222+ func aB (az,aA) = if ((aA >= aw))
223+ then az
224224 else throw("List size exceeds 10")
225225
226- aA(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(aw, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
226+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
227227 }
228228
229229
230-func aB (aC,ao) = if ((a == c))
230+func aC (aD,ap) = if ((a == c))
231231 then {
232- let aD = "3PKfrupEydU2nZAghVjZAfvCwMBkzuR1F52"
233- let aE = parseBigIntValue({
234- let aF = invoke(aC, "getPrice", [aD], nil)
235- if ($isInstanceOf(aF, "String"))
236- then aF
237- else throw(($getType(aF) + " couldn't be cast to String"))
232+ let aE = "3PKfrupEydU2nZAghVjZAfvCwMBkzuR1F52"
233+ let aF = parseBigIntValue({
234+ let aG = invoke(aD, "getPrice", [aE], nil)
235+ if ($isInstanceOf(aG, "String"))
236+ then aG
237+ else throw(($getType(aG) + " couldn't be cast to String"))
238238 })
239- let aG = "3PPZWgFNRKHLvM51pwS934C8VZ7d2F4Z58g"
240- let aH = parseBigIntValue({
241- let aF = invoke(aC, "getPrice", [aG], nil)
242- if ($isInstanceOf(aF, "String"))
243- then aF
244- else throw(($getType(aF) + " couldn't be cast to String"))
239+ let aH = "3PPZWgFNRKHLvM51pwS934C8VZ7d2F4Z58g"
240+ let aI = parseBigIntValue({
241+ let aG = invoke(aD, "getPrice", [aH], nil)
242+ if ($isInstanceOf(aG, "String"))
243+ then aG
244+ else throw(($getType(aG) + " couldn't be cast to String"))
245245 })
246- let aI = fraction(aE, h, aH)
247- func ap (aq,aJ) = {
248- let aK = {
249- let v = aJ
246+ let aJ = fraction(aF, h, aI)
247+ func aq (ar,aK) = {
248+ let aL = {
249+ let v = aK
250250 if (("2thsACuHmzDMuNezPM32wg9a3BwUzBWDeSKakgz3cw21" == v))
251251 then {
252- let aL = "3PDi7Qq8pLQYvtKyTfQuqqPUWyhoYbU957t"
253- let aM = parseBigIntValue({
254- let aF = invoke(aC, "getPrice", [aL], nil)
255- if ($isInstanceOf(aF, "String"))
256- then aF
257- else throw(($getType(aF) + " couldn't be cast to String"))
252+ let aM = "3PDi7Qq8pLQYvtKyTfQuqqPUWyhoYbU957t"
253+ let aN = parseBigIntValue({
254+ let aG = invoke(aD, "getPrice", [aM], nil)
255+ if ($isInstanceOf(aG, "String"))
256+ then aG
257+ else throw(($getType(aG) + " couldn't be cast to String"))
258258 })
259- fraction(aM, aE, h)
259+ fraction(aN, aF, h)
260260 }
261261 else if (("Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on" == v))
262262 then {
263- let aN = "3PFzaH2ghpwANHFgjeva83N1yxzErELx2eh"
264- let aO = parseBigIntValue({
265- let aF = invoke(aC, "getPrice", [aN], nil)
266- if ($isInstanceOf(aF, "String"))
267- then aF
268- else throw(($getType(aF) + " couldn't be cast to String"))
263+ let aO = "3PFzaH2ghpwANHFgjeva83N1yxzErELx2eh"
264+ let aP = parseBigIntValue({
265+ let aG = invoke(aD, "getPrice", [aO], nil)
266+ if ($isInstanceOf(aG, "String"))
267+ then aG
268+ else throw(($getType(aG) + " couldn't be cast to String"))
269269 })
270- fraction(aO, aE, h)
270+ fraction(aP, aF, h)
271271 }
272272 else if (("34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ" == v))
273273 then {
274- let aP = "3PKMVZ7kQeaREajYi8Yc25Ro6mcNw5D6QSa"
275- let aQ = parseBigIntValue({
276- let aF = invoke(aC, "getPrice", [aP], nil)
277- if ($isInstanceOf(aF, "String"))
278- then aF
279- else throw(($getType(aF) + " couldn't be cast to String"))
274+ let aQ = "3PKMVZ7kQeaREajYi8Yc25Ro6mcNw5D6QSa"
275+ let aR = parseBigIntValue({
276+ let aG = invoke(aD, "getPrice", [aQ], nil)
277+ if ($isInstanceOf(aG, "String"))
278+ then aG
279+ else throw(($getType(aG) + " couldn't be cast to String"))
280280 })
281- fraction(aE, h, aQ)
281+ fraction(aF, h, aR)
282282 }
283283 else if (("6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ" == v))
284284 then {
285- let aR = "3P3g3eipfG2NZKKQE8DZXt2E9tRJqii9jcX"
286- let aS = parseBigIntValue({
287- let aF = invoke(aC, "getPrice", [aR], nil)
288- if ($isInstanceOf(aF, "String"))
289- then aF
290- else throw(($getType(aF) + " couldn't be cast to String"))
285+ let aS = "3P3g3eipfG2NZKKQE8DZXt2E9tRJqii9jcX"
286+ let aT = parseBigIntValue({
287+ let aG = invoke(aD, "getPrice", [aS], nil)
288+ if ($isInstanceOf(aG, "String"))
289+ then aG
290+ else throw(($getType(aG) + " couldn't be cast to String"))
291291 })
292- fraction(aE, h, aS)
292+ fraction(aF, h, aT)
293293 }
294294 else if (("HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk" == v))
295295 then {
296- let aT = "3P94wvu5gA7VhjPgAB3twaeqdwHCwNK2vsn"
297- let aU = parseBigIntValue({
298- let aF = invoke(aC, "getPrice", [aT], nil)
299- if ($isInstanceOf(aF, "String"))
300- then aF
301- else throw(($getType(aF) + " couldn't be cast to String"))
296+ let aU = "3P94wvu5gA7VhjPgAB3twaeqdwHCwNK2vsn"
297+ let aV = parseBigIntValue({
298+ let aG = invoke(aD, "getPrice", [aU], nil)
299+ if ($isInstanceOf(aG, "String"))
300+ then aG
301+ else throw(($getType(aG) + " couldn't be cast to String"))
302302 })
303- fraction(aU, aI, h)
303+ fraction(aV, aJ, h)
304304 }
305305 else if (("474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu" == v))
306306 then {
307- let aV = "3P3XGTN6s292g9iwYhs3TEqJqHiffQYojuE"
308- let aW = parseBigIntValue({
309- let aF = invoke(aC, "getPrice", [aV], nil)
310- if ($isInstanceOf(aF, "String"))
311- then aF
312- else throw(($getType(aF) + " couldn't be cast to String"))
307+ let aW = "3P3XGTN6s292g9iwYhs3TEqJqHiffQYojuE"
308+ let aX = parseBigIntValue({
309+ let aG = invoke(aD, "getPrice", [aW], nil)
310+ if ($isInstanceOf(aG, "String"))
311+ then aG
312+ else throw(($getType(aG) + " couldn't be cast to String"))
313313 })
314- fraction(aW, aE, h)
314+ fraction(aX, aF, h)
315315 }
316316 else if (("8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS" == v))
317317 then {
318- let aX = "3PCBWDTA6jrFswd7gQgaE3Xk7gLM5RKofvp"
319- let aY = parseBigIntValue({
320- let aF = invoke(aC, "getPrice", [aX], nil)
321- if ($isInstanceOf(aF, "String"))
322- then aF
323- else throw(($getType(aF) + " couldn't be cast to String"))
318+ let aY = "3PCBWDTA6jrFswd7gQgaE3Xk7gLM5RKofvp"
319+ let aZ = parseBigIntValue({
320+ let aG = invoke(aD, "getPrice", [aY], nil)
321+ if ($isInstanceOf(aG, "String"))
322+ then aG
323+ else throw(($getType(aG) + " couldn't be cast to String"))
324324 })
325- fraction(aY, aI, h)
325+ fraction(aZ, aJ, h)
326326 }
327327 else s("invalid asset id")
328328 }
329- (aq :+ aK)
329+ (ar :+ aL)
330330 }
331331
332- let au = ao
333- let av = size(au)
334- let aw = nil
335- func ax (ay,az) = if ((az >= av))
336- then ay
337- else ap(ay, au[az])
332+ let av = ap
333+ let aw = size(av)
334+ let ax = nil
335+ func ay (az,aA) = if ((aA >= aw))
336+ then az
337+ else aq(az, av[aA])
338338
339- func aA (ay,az) = if ((az >= av))
340- then ay
339+ func aB (az,aA) = if ((aA >= aw))
340+ then az
341341 else throw("List size exceeds 10")
342342
343- aA(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(aw, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
343+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
344344 }
345345 else if ((a == b))
346346 then {
347- func ap (aq,aJ) = {
348- let aK = {
349- let v = aJ
347+ func aq (ar,aK) = {
348+ let aL = {
349+ let v = aK
350350 if (("EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc" == v))
351351 then {
352- let aZ = "3MrULQRLc52GWrJF1tMcAm4M78fPe57o9Kt"
353- let ba = parseBigIntValue({
354- let aF = invoke(aC, "getPrice", [aZ], nil)
355- if ($isInstanceOf(aF, "String"))
356- then aF
357- else throw(($getType(aF) + " couldn't be cast to String"))
352+ let ba = "3MrULQRLc52GWrJF1tMcAm4M78fPe57o9Kt"
353+ let bb = parseBigIntValue({
354+ let aG = invoke(aD, "getPrice", [ba], nil)
355+ if ($isInstanceOf(aG, "String"))
356+ then aG
357+ else throw(($getType(aG) + " couldn't be cast to String"))
358358 })
359- ba
359+ bb
360360 }
361361 else if (("A7Ksh7fXyqm1KhKAiK3bAB2aiPSitQQF6v1pyu9SS3FR" == v))
362362 then {
363- let bb = "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA"
364- let bc = parseBigIntValue({
365- let aF = invoke(aC, "getPrice", [bb], nil)
366- if ($isInstanceOf(aF, "String"))
367- then aF
368- else throw(($getType(aF) + " couldn't be cast to String"))
363+ let bc = "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA"
364+ let bd = parseBigIntValue({
365+ let aG = invoke(aD, "getPrice", [bc], nil)
366+ if ($isInstanceOf(aG, "String"))
367+ then aG
368+ else throw(($getType(aG) + " couldn't be cast to String"))
369369 })
370- bc
370+ bd
371371 }
372372 else if (("8Q6SE2ANebufw8JuPjJVRjZD6drD8ihjNjM8xaGUSfdR" == v))
373373 then {
374- let aK = k(150000000, pow(10, 0, j, 0, 0, DOWN))
375- aK
374+ let aL = k(150000000, pow(10, 0, j, 0, 0, DOWN))
375+ aL
376376 }
377377 else s("invalid asset id")
378378 }
379- (aq :+ aK)
379+ (ar :+ aL)
380380 }
381381
382- let au = ao
383- let av = size(au)
384- let aw = nil
385- func ax (ay,az) = if ((az >= av))
386- then ay
387- else ap(ay, au[az])
382+ let av = ap
383+ let aw = size(av)
384+ let ax = nil
385+ func ay (az,aA) = if ((aA >= aw))
386+ then az
387+ else aq(az, av[aA])
388388
389- func aA (ay,az) = if ((az >= av))
390- then ay
389+ func aB (az,aA) = if ((aA >= aw))
390+ then az
391391 else throw("List size exceeds 10")
392392
393- aA(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(aw, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
393+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
394394 }
395395 else s("invalid chain id")
396396
397397
398-func bd () = {
398+func be () = {
399399 let N = Z()
400- let aC = X()
401- let be = split(ab(), d)
402- let bf = am(N, be)
403- let bg = aB(aC, be)
404- func bh (aq,ar) = {
405- let af = fromBase58String(ar)
406- let bi = valueOrErrorMessage(indexOf(be, ar), q("invalid asset id"))
407- let as = bf[bi]
408- let aK = bg[bi]
409- let bj = fraction(as, aK, h)
410- (aq + bj)
400+ let aD = X()
401+ let bf = split(ab(), d)
402+ let bg = an(N, bf)
403+ let bh = aC(aD, bf)
404+ func bi (ar,as) = {
405+ let af = fromBase58String(as)
406+ let bj = valueOrErrorMessage(indexOf(bf, as), q("invalid asset id"))
407+ let at = bg[bj]
408+ let aL = bh[bj]
409+ let bk = fraction(at, aL, h)
410+ (ar + bk)
411411 }
412412
413- let bk = {
414- let au = be
415- let av = size(au)
416- let aw = toBigInt(0)
417- func ax (ay,az) = if ((az >= av))
418- then ay
419- else bh(ay, au[az])
413+ let bl = {
414+ let av = bf
415+ let aw = size(av)
416+ let ax = toBigInt(0)
417+ func ay (az,aA) = if ((aA >= aw))
418+ then az
419+ else bi(az, av[aA])
420420
421- func aA (ay,az) = if ((az >= av))
422- then ay
421+ func aB (az,aA) = if ((aA >= aw))
422+ then az
423423 else throw("List size exceeds 10")
424424
425- aA(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(aw, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
425+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
426426 }
427- bk
427+ bl
428428 }
429429
430430
431-func bl (bm,bn) = {
432- let be = split(ab(), d)
433- let bo = ae(ad()).quantity
434- if ((bo == bo))
431+func bm (bn,bo) = {
432+ let bf = split(ab(), d)
433+ let bp = ae(ad()).quantity
434+ if ((bp == bp))
435435 then {
436- let bf = am(u(), be)
437- func ap (aq,ar) = {
438- let af = fromBase58String(ar)
439- let bi = valueOrErrorMessage(indexOf(be, ar), q("invalid asset balance"))
440- let at = ae(af).decimals
441- let as = n(bf[bi], pow(10, 0, at, 0, 0, DOWN))
442- let aj = fraction(as, bm, bo)
436+ let bg = an(u(), bf)
437+ func aq (ar,as) = {
438+ let af = fromBase58String(as)
439+ let bj = valueOrErrorMessage(indexOf(bf, as), q("invalid asset balance"))
440+ let au = ae(af).decimals
441+ let at = n(bg[bj], pow(10, 0, au, 0, 0, DOWN))
442+ let aj = fraction(at, bn, bp)
443443 if ((aj > 0))
444444 then {
445- let bp = if ((bn == unit))
445+ let bq = if ((bo == unit))
446446 then unit
447- else invoke(this, "lockInternal", [value(bn).bytes, af, aj], nil)
448- if ((bp == bp))
449- then $Tuple2((aq._1 :+ af), (aq._2 :+ aj))
447+ else invoke(this, "lockInternal", [value(bo).bytes, af, aj, bn], nil)
448+ if ((bq == bq))
449+ then $Tuple2((ar._1 :+ af), (ar._2 :+ aj))
450450 else throw("Strict value is not equal to itself.")
451451 }
452- else aq
452+ else ar
453453 }
454454
455- let au = be
456- let av = size(au)
457- let aw = $Tuple2(nil, nil)
458- func ax (ay,az) = if ((az >= av))
459- then ay
460- else ap(ay, au[az])
455+ let av = bf
456+ let aw = size(av)
457+ let ax = $Tuple2(nil, nil)
458+ func ay (az,aA) = if ((aA >= aw))
459+ then az
460+ else aq(az, av[aA])
461461
462- func aA (ay,az) = if ((az >= av))
463- then ay
462+ func aB (az,aA) = if ((aA >= aw))
463+ then az
464464 else throw("List size exceeds 6")
465465
466- aA(ax(ax(ax(ax(ax(ax(aw, 0), 1), 2), 3), 4), 5), 6)
466+ aB(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6)
467467 }
468468 else throw("Strict value is not equal to itself.")
469469 }
470470
471471
472-func bq () = {
473- let aC = X()
474- let br = valueOrErrorMessage(getInteger(u(), C()), q("invalid current period"))
475- let bs = valueOrErrorMessage(getInteger(u(), G(br)), q(("invalid treasury value for period " + toString(br))))
476- let bk = n(bd(), pow(10, 0, j, 0, 0, DOWN))
477- let bt = (bk - bs)
478- let bu = k(bt, pow(10, 0, j, 0, 0, DOWN))
479- let bv = R()
480- let bw = ae(bv)
481- let bx = aB(aC, [toBase58String(bv)])[0]
482- let by = if ((bx > toBigInt(0)))
483- then n(bx, pow(10, 0, j, 0, 0, DOWN))
472+func br () = {
473+ let aD = X()
474+ let bs = valueOrErrorMessage(getInteger(u(), C()), q("invalid current period"))
475+ let bt = valueOrErrorMessage(getInteger(u(), G(bs)), q(("invalid treasury value for period " + toString(bs))))
476+ let bl = n(be(), pow(10, 0, j, 0, 0, DOWN))
477+ let bu = (bl - bt)
478+ let bv = k(bu, pow(10, 0, j, 0, 0, DOWN))
479+ let bw = R()
480+ let bx = ae(bw)
481+ let by = aC(aD, [toBase58String(bw)])[0]
482+ let bz = if ((by > toBigInt(0)))
483+ then n(by, pow(10, 0, j, 0, 0, DOWN))
484484 else s("invalid PWR price")
485485 let N = Z()
486- let bz = valueOrElse(getInteger(T(), M(N)), 0)
487- let bA = ae(ad())
488- let bB = (bA.quantity / 100)
489- let bC = (bz + bB)
490- let bD = k(bC, pow(10, 0, bw.decimals, 0, 0, DOWN))
491- let bE = am(u(), [toBase58String(B)])[0]
492- let bF = n(bE, pow(10, 0, j, 0, 0, DOWN))
493- let bG = aB(aC, [toBase58String(B)])[0]
494- let bH = if ((bG > toBigInt(0)))
495- then n(bG, pow(10, 0, j, 0, 0, DOWN))
486+ let bA = valueOrElse(getInteger(T(), M(N)), 0)
487+ let bB = ae(ad())
488+ let bC = (bB.quantity / 100)
489+ let bD = (bA + bC)
490+ let bE = k(bD, pow(10, 0, bx.decimals, 0, 0, DOWN))
491+ let bF = an(u(), [toBase58String(B)])[0]
492+ let bG = n(bF, pow(10, 0, j, 0, 0, DOWN))
493+ let bH = aC(aD, [toBase58String(B)])[0]
494+ let bI = if ((bH > toBigInt(0)))
495+ then n(bH, pow(10, 0, j, 0, 0, DOWN))
496496 else s("invalid wx price")
497- let bo = bA.quantity
498- let bI = k(bo, pow(10, 0, bA.decimals, 0, 0, DOWN))
499- let bJ = (((bx + fraction((bE * toBigInt(100)), bG, bI)) + fraction(max([bu, toBigInt(0)]), (toBigInt(2) * h), (toBigInt(10) * bD))) / toBigInt(100))
500- let bK = n(bJ, pow(10, 0, j, 0, 0, DOWN))
501- let bL = bl(pow(10, 0, bA.decimals, 0, 0, DOWN), unit)
502- $Tuple2([bK, bL], [["wxDaoPrice", bK], ["pwrPrice", by], ["factoryAddressWxBalance", bF], ["wxPrice", bH], ["wxdaoQuantity", bo], ["treasuryValueDiff", bt], ["pwrAmount", bC], ["skinTotal", bz], ["pwrRemaining", bB]])
497+ let bp = bB.quantity
498+ let bJ = k(bp, pow(10, 0, bB.decimals, 0, 0, DOWN))
499+ let bK = (((by + fraction((bF * toBigInt(100)), bH, bJ)) + fraction(max([bv, toBigInt(0)]), (toBigInt(2) * h), (toBigInt(10) * bE))) / toBigInt(100))
500+ let bL = n(bK, pow(10, 0, j, 0, 0, DOWN))
501+ let bM = bm(pow(10, 0, bB.decimals, 0, 0, DOWN), unit)
502+ $Tuple2([bL, bM], [["wxDaoPrice", bL], ["pwrPrice", bz], ["factoryAddressWxBalance", bG], ["wxPrice", bI], ["wxdaoQuantity", bp], ["treasuryValueDiff", bu], ["pwrAmount", bD], ["skinTotal", bA], ["pwrRemaining", bC]])
503503 }
504504
505505
506506 @Callable(x)
507-func swap (bM,bN) = {
508- let bO = A(x)
509- if ((bO == bO))
507+func swap (bN,bO) = {
508+ let bP = A(x)
509+ if ((bP == bP))
510510 then {
511- let K = addressFromPublicKey(bM)
512- let bP = if ((size(x.payments) == 1))
511+ let K = addressFromPublicKey(bN)
512+ let bQ = if ((size(x.payments) == 1))
513513 then x.payments[0]
514514 else s("1 payment is required")
515- let bQ = q("invalid payment asset id")
516- let bR = if ((valueOrErrorMessage(bP.assetId, bQ) == ad()))
517- then value(bP.assetId)
518- else s(bQ)
519- let by = 100
520- let bC = (bP.amount / by)
521- let bS = bl(bP.amount, K)
522- if ((bS == bS))
515+ let bR = q("invalid payment asset id")
516+ let bS = if ((valueOrErrorMessage(bQ.assetId, bR) == ad()))
517+ then value(bQ.assetId)
518+ else s(bR)
519+ let bz = 100
520+ let bD = (bQ.amount / bz)
521+ let bT = bm(bQ.amount, K)
522+ if ((bT == bT))
523523 then {
524- let bT = 0
525- let bU = [invoke(u(), "commitAfterStartWithLockRoundFor", [toString(T()), toString(Z()), toString(K), bT, R(), bC], nil)]
526- $Tuple2([Burn(bR, bP.amount)], bU)
524+ let bU = 0
525+ let bV = [invoke(u(), "commitAfterStartWithLockRoundFor", [toString(T()), toString(Z()), toString(K), bU, R(), bD], nil)]
526+ $Tuple2([Burn(bS, bQ.amount)], bV)
527527 }
528528 else throw("Strict value is not equal to itself.")
529529 }
533533
534534
535535 @Callable(x)
536-func lockInternal (bV,af,aj) = {
537- let bO = z(x)
538- if ((bO == bO))
536+func lockInternal (bW,af,aj,ak) = {
537+ let bP = z(x)
538+ if ((bP == bP))
539539 then {
540- let K = Address(bV)
541- let bW = valueOrElse(getInteger(u(), H()), 0)
542- let bX = valueOrErrorMessage(getInteger(u(), I()), q("invalid lock duration"))
543- let bY = invoke(u(), "transferAsset", [V().bytes, aj, af], nil)
544- if ((bY == bY))
540+ let K = Address(bW)
541+ let bX = valueOrElse(getInteger(u(), H()), 0)
542+ let bY = valueOrErrorMessage(getInteger(u(), I()), q("invalid lock duration"))
543+ let bZ = invoke(u(), "transferAsset", [V().bytes, aj, af], nil)
544+ if ((bZ == bZ))
545545 then {
546- let bU = [invoke(u(), "stringEntry", [J(K, bW), ag(height, (height + bX), af, aj)], nil), invoke(u(), "integerEntry", [H(), (bW + 1)], nil)]
547- $Tuple2(nil, bU)
546+ let bV = [invoke(u(), "stringEntry", [J(K, bX), ag(height, (height + bY), af, aj, ak)], nil), invoke(u(), "integerEntry", [H(), (bX + 1)], nil)]
547+ $Tuple2(nil, bV)
548548 }
549549 else throw("Strict value is not equal to itself.")
550550 }
554554
555555
556556 @Callable(x)
557-func unlock (bM,bN) = {
558- let bO = A(x)
559- if ((bO == bO))
557+func unlock (bN,bO) = {
558+ let bP = A(x)
559+ if ((bP == bP))
560560 then {
561- let K = addressFromPublicKey(bM)
562- func bZ (aq,ca) = {
563- let L = valueOrErrorMessage(parseInt(ca), q("invalid counter"))
564- let cb = ak(valueOrErrorMessage(getString(u(), J(K, L)), q(("invalid lock: " + J(K, L)))))
565- let ah = cb._1
566- let ai = cb._2
567- let af = cb._3
568- let aj = cb._4
569- let cc = if ((height > ai))
561+ let K = addressFromPublicKey(bN)
562+ func ca (ar,cb) = {
563+ let L = valueOrErrorMessage(parseInt(cb), q("invalid counter"))
564+ let cc = al(valueOrErrorMessage(getString(u(), J(K, L)), q(("invalid lock: " + J(K, L)))))
565+ let ah = cc._1
566+ let ai = cc._2
567+ let af = cc._3
568+ let aj = cc._4
569+ let cd = if ((height > ai))
570570 then [invoke(V(), "transferAsset", [K.bytes, aj, af], nil), invoke(u(), "deleteEntry", [J(K, L)], nil)]
571571 else s("invalid height")
572- (aq :+ cc)
572+ (ar :+ cd)
573573 }
574574
575- let cc = {
576- let au = bN
577- let av = size(au)
578- let aw = nil
579- func ax (ay,az) = if ((az >= av))
580- then ay
581- else bZ(ay, au[az])
575+ let cd = {
576+ let av = bO
577+ let aw = size(av)
578+ let ax = nil
579+ func ay (az,aA) = if ((aA >= aw))
580+ then az
581+ else ca(az, av[aA])
582582
583- func aA (ay,az) = if ((az >= av))
584- then ay
583+ func aB (az,aA) = if ((aA >= aw))
584+ then az
585585 else throw("List size exceeds 30")
586586
587- aA(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(aw, 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)
587+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 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)
588588 }
589- $Tuple2(nil, cc)
589+ $Tuple2(nil, cd)
590590 }
591591 else throw("Strict value is not equal to itself.")
592592 }
594594
595595
596596 @Callable(x)
597-func price (bM,bN) = {
598- let bO = A(x)
599- if ((bO == bO))
600- then $Tuple2(nil, bq()._1)
597+func price (bN,bO) = {
598+ let bP = A(x)
599+ if ((bP == bP))
600+ then $Tuple2(nil, br()._1)
601601 else throw("Strict value is not equal to itself.")
602602 }
603603
604604
605605
606606 @Callable(x)
607-func priceDebug (bM,bN) = {
608- let bO = A(x)
609- if ((bO == bO))
610- then $Tuple2(nil, bq()._2)
607+func priceDebug (bN,bO) = {
608+ let bP = A(x)
609+ if ((bP == bP))
610+ then $Tuple2(nil, br()._2)
611611 else throw("Strict value is not equal to itself.")
612612 }
613613
614614
615615
616616 @Callable(x)
617-func getTreasuryValue (bM,bN) = {
618- let bO = A(x)
619- if ((bO == bO))
617+func getTreasuryValue (bN,bO) = {
618+ let bP = A(x)
619+ if ((bP == bP))
620620 then {
621- let bk = n(bd(), pow(10, 0, j, 0, 0, DOWN))
622- $Tuple2(nil, bk)
621+ let bl = n(be(), pow(10, 0, j, 0, 0, DOWN))
622+ $Tuple2(nil, bl)
623623 }
624624 else throw("Strict value is not equal to itself.")
625625 }
626626
627627
628-@Verifier(cd)
629-func ce () = (a == b)
628+@Verifier(ce)
629+func cf () = (a == b)
630630
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 7 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = take(drop(this.bytes, 1), 1)
55
66 let b = base58'2T'
77
88 let c = base58'2W'
99
1010 let d = "__"
1111
1212 let e = "WAVES"
1313
1414 let f = "wxdao_calculator.ride"
1515
1616 let g = 100000000
1717
1818 let h = toBigInt(1000000000000000000)
1919
2020 let i = 8
2121
2222 let j = 6
2323
2424 func k (l,m) = fraction(toBigInt(l), h, toBigInt(m))
2525
2626
2727 func n (o,p) = toInt(fraction(o, toBigInt(p), h))
2828
2929
3030 func q (r) = ((f + ": ") + r)
3131
3232
3333 func s (r) = throw(q(r))
3434
3535
3636 func t () = "%s__factoryAddress"
3737
3838
3939 func u () = valueOrErrorMessage({
4040 let v = getString(this, t())
4141 if ($isInstanceOf(v, "String"))
4242 then {
4343 let r = v
4444 addressFromString(r)
4545 }
4646 else if ($isInstanceOf(v, "Unit"))
4747 then unit
4848 else throw("Match error")
4949 }, q("invalid factory address"))
5050
5151
5252 func w (x,y) = if ((x.caller == y))
5353 then true
5454 else s("permission denied")
5555
5656
5757 func z (x) = w(x, this)
5858
5959
6060 func A (x) = w(x, u())
6161
6262
6363 let B = if ((a == c))
6464 then base58'Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on'
6565 else if ((a == b))
6666 then base58'EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc'
6767 else s("invalid chain id")
6868
6969 func C () = makeString(["%s", "currentPeriod"], d)
7070
7171
7272 func D (E) = makeString(["%s%d", "startHeight", toString(E)], d)
7373
7474
7575 func F () = makeString(["%s", "periodLength"], d)
7676
7777
7878 func G (E) = makeString(["%s%d", "treasuryValue", toString(E)], d)
7979
8080
8181 func H () = makeString(["%s", "lockGlobalCounter"], d)
8282
8383
8484 func I () = makeString(["%s", "lockDuration"], d)
8585
8686
8787 func J (K,L) = makeString(["%s%s%d", "lock", toString(K), toString(L)], d)
8888
8989
9090 func M (N) = ("skin_total_" + toString(N))
9191
9292
9393 func O () = "%s__powerConfigAddress"
9494
9595
9696 func P () = valueOrErrorMessage({
9797 let v = getString(u(), O())
9898 if ($isInstanceOf(v, "String"))
9999 then {
100100 let r = v
101101 addressFromString(r)
102102 }
103103 else if ($isInstanceOf(v, "Unit"))
104104 then unit
105105 else throw("Match error")
106106 }, q("invalid power config address"))
107107
108108
109109 func Q () = "powerAssetId"
110110
111111
112112 func R () = fromBase58String(valueOrErrorMessage(getString(P(), Q()), q("invalid power asset id")))
113113
114114
115115 func S () = "%s__powerContractAddress"
116116
117117
118118 func T () = valueOrErrorMessage({
119119 let v = getString(u(), S())
120120 if ($isInstanceOf(v, "String"))
121121 then {
122122 let r = v
123123 addressFromString(r)
124124 }
125125 else if ($isInstanceOf(v, "Unit"))
126126 then unit
127127 else throw("Match error")
128128 }, q("invalid power contract address"))
129129
130130
131131 func U () = "%s__lockAddress"
132132
133133
134134 func V () = valueOrErrorMessage({
135135 let v = getString(u(), U())
136136 if ($isInstanceOf(v, "String"))
137137 then {
138138 let r = v
139139 addressFromString(r)
140140 }
141141 else if ($isInstanceOf(v, "Unit"))
142142 then unit
143143 else throw("Match error")
144144 }, q("invalid lock contract address"))
145145
146146
147147 func W () = "%s__poolsFactoryAddress"
148148
149149
150150 func X () = valueOrErrorMessage({
151151 let v = getString(u(), W())
152152 if ($isInstanceOf(v, "String"))
153153 then {
154154 let r = v
155155 addressFromString(r)
156156 }
157157 else if ($isInstanceOf(v, "Unit"))
158158 then unit
159159 else throw("Match error")
160160 }, q("invalid pools factory address"))
161161
162162
163163 func Y () = "%s__treasuryAddress"
164164
165165
166166 func Z () = valueOrErrorMessage({
167167 let v = getString(u(), Y())
168168 if ($isInstanceOf(v, "String"))
169169 then {
170170 let r = v
171171 addressFromString(r)
172172 }
173173 else if ($isInstanceOf(v, "Unit"))
174174 then unit
175175 else throw("Match error")
176176 }, q("invalid treasury address"))
177177
178178
179179 func aa () = "%s__assets"
180180
181181
182182 func ab () = valueOrErrorMessage(getString(u(), aa()), q("invalid assets"))
183183
184184
185185 func ac () = "%s__lpAssetId"
186186
187187
188188 func ad () = fromBase58String(valueOrErrorMessage(getString(u(), ac()), q("invalid lp asset id")))
189189
190190
191191 func ae (af) = valueOrErrorMessage(assetInfo(af), q("invalid asset info"))
192192
193193
194-func ag (ah,ai,af,aj) = makeString(["%d%d%s%d", toString(ah), toString(ai), toBase58String(af), toString(aj)], d)
194+func ag (ah,ai,af,aj,ak) = makeString(["%d%d%s%d%d", toString(ah), toString(ai), toBase58String(af), toString(aj), toString(ak)], d)
195195
196196
197-func ak (r) = {
198- let al = split(r, d)
199- $Tuple4(valueOrErrorMessage(parseInt(al[1]), q("error during processing lock start height")), valueOrErrorMessage(parseInt(al[2]), q("error during processing lock end height")), fromBase58String(al[3]), valueOrErrorMessage(parseInt(al[4]), q("error during processing lock amount")))
197+func al (r) = {
198+ let am = split(r, d)
199+ $Tuple4(valueOrErrorMessage(parseInt(am[1]), q("error during processing lock start height")), valueOrErrorMessage(parseInt(am[2]), q("error during processing lock end height")), fromBase58String(am[3]), valueOrErrorMessage(parseInt(am[4]), q("error during processing lock amount")))
200200 }
201201
202202
203-func am (an,ao) = {
204- func ap (aq,ar) = {
205- let as = if ((ar == e))
206- then k(wavesBalance(an).available, pow(10, 0, i, 0, 0, DOWN))
203+func an (ao,ap) = {
204+ func aq (ar,as) = {
205+ let at = if ((as == e))
206+ then k(wavesBalance(ao).available, pow(10, 0, i, 0, 0, DOWN))
207207 else {
208- let af = fromBase58String(ar)
209- let at = ae(af).decimals
210- k(assetBalance(an, af), pow(10, 0, at, 0, 0, DOWN))
208+ let af = fromBase58String(as)
209+ let au = ae(af).decimals
210+ k(assetBalance(ao, af), pow(10, 0, au, 0, 0, DOWN))
211211 }
212- (aq :+ as)
212+ (ar :+ at)
213213 }
214214
215- let au = ao
216- let av = size(au)
217- let aw = nil
218- func ax (ay,az) = if ((az >= av))
219- then ay
220- else ap(ay, au[az])
215+ let av = ap
216+ let aw = size(av)
217+ let ax = nil
218+ func ay (az,aA) = if ((aA >= aw))
219+ then az
220+ else aq(az, av[aA])
221221
222- func aA (ay,az) = if ((az >= av))
223- then ay
222+ func aB (az,aA) = if ((aA >= aw))
223+ then az
224224 else throw("List size exceeds 10")
225225
226- aA(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(aw, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
226+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
227227 }
228228
229229
230-func aB (aC,ao) = if ((a == c))
230+func aC (aD,ap) = if ((a == c))
231231 then {
232- let aD = "3PKfrupEydU2nZAghVjZAfvCwMBkzuR1F52"
233- let aE = parseBigIntValue({
234- let aF = invoke(aC, "getPrice", [aD], nil)
235- if ($isInstanceOf(aF, "String"))
236- then aF
237- else throw(($getType(aF) + " couldn't be cast to String"))
232+ let aE = "3PKfrupEydU2nZAghVjZAfvCwMBkzuR1F52"
233+ let aF = parseBigIntValue({
234+ let aG = invoke(aD, "getPrice", [aE], nil)
235+ if ($isInstanceOf(aG, "String"))
236+ then aG
237+ else throw(($getType(aG) + " couldn't be cast to String"))
238238 })
239- let aG = "3PPZWgFNRKHLvM51pwS934C8VZ7d2F4Z58g"
240- let aH = parseBigIntValue({
241- let aF = invoke(aC, "getPrice", [aG], nil)
242- if ($isInstanceOf(aF, "String"))
243- then aF
244- else throw(($getType(aF) + " couldn't be cast to String"))
239+ let aH = "3PPZWgFNRKHLvM51pwS934C8VZ7d2F4Z58g"
240+ let aI = parseBigIntValue({
241+ let aG = invoke(aD, "getPrice", [aH], nil)
242+ if ($isInstanceOf(aG, "String"))
243+ then aG
244+ else throw(($getType(aG) + " couldn't be cast to String"))
245245 })
246- let aI = fraction(aE, h, aH)
247- func ap (aq,aJ) = {
248- let aK = {
249- let v = aJ
246+ let aJ = fraction(aF, h, aI)
247+ func aq (ar,aK) = {
248+ let aL = {
249+ let v = aK
250250 if (("2thsACuHmzDMuNezPM32wg9a3BwUzBWDeSKakgz3cw21" == v))
251251 then {
252- let aL = "3PDi7Qq8pLQYvtKyTfQuqqPUWyhoYbU957t"
253- let aM = parseBigIntValue({
254- let aF = invoke(aC, "getPrice", [aL], nil)
255- if ($isInstanceOf(aF, "String"))
256- then aF
257- else throw(($getType(aF) + " couldn't be cast to String"))
252+ let aM = "3PDi7Qq8pLQYvtKyTfQuqqPUWyhoYbU957t"
253+ let aN = parseBigIntValue({
254+ let aG = invoke(aD, "getPrice", [aM], nil)
255+ if ($isInstanceOf(aG, "String"))
256+ then aG
257+ else throw(($getType(aG) + " couldn't be cast to String"))
258258 })
259- fraction(aM, aE, h)
259+ fraction(aN, aF, h)
260260 }
261261 else if (("Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on" == v))
262262 then {
263- let aN = "3PFzaH2ghpwANHFgjeva83N1yxzErELx2eh"
264- let aO = parseBigIntValue({
265- let aF = invoke(aC, "getPrice", [aN], nil)
266- if ($isInstanceOf(aF, "String"))
267- then aF
268- else throw(($getType(aF) + " couldn't be cast to String"))
263+ let aO = "3PFzaH2ghpwANHFgjeva83N1yxzErELx2eh"
264+ let aP = parseBigIntValue({
265+ let aG = invoke(aD, "getPrice", [aO], nil)
266+ if ($isInstanceOf(aG, "String"))
267+ then aG
268+ else throw(($getType(aG) + " couldn't be cast to String"))
269269 })
270- fraction(aO, aE, h)
270+ fraction(aP, aF, h)
271271 }
272272 else if (("34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ" == v))
273273 then {
274- let aP = "3PKMVZ7kQeaREajYi8Yc25Ro6mcNw5D6QSa"
275- let aQ = parseBigIntValue({
276- let aF = invoke(aC, "getPrice", [aP], nil)
277- if ($isInstanceOf(aF, "String"))
278- then aF
279- else throw(($getType(aF) + " couldn't be cast to String"))
274+ let aQ = "3PKMVZ7kQeaREajYi8Yc25Ro6mcNw5D6QSa"
275+ let aR = parseBigIntValue({
276+ let aG = invoke(aD, "getPrice", [aQ], nil)
277+ if ($isInstanceOf(aG, "String"))
278+ then aG
279+ else throw(($getType(aG) + " couldn't be cast to String"))
280280 })
281- fraction(aE, h, aQ)
281+ fraction(aF, h, aR)
282282 }
283283 else if (("6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ" == v))
284284 then {
285- let aR = "3P3g3eipfG2NZKKQE8DZXt2E9tRJqii9jcX"
286- let aS = parseBigIntValue({
287- let aF = invoke(aC, "getPrice", [aR], nil)
288- if ($isInstanceOf(aF, "String"))
289- then aF
290- else throw(($getType(aF) + " couldn't be cast to String"))
285+ let aS = "3P3g3eipfG2NZKKQE8DZXt2E9tRJqii9jcX"
286+ let aT = parseBigIntValue({
287+ let aG = invoke(aD, "getPrice", [aS], nil)
288+ if ($isInstanceOf(aG, "String"))
289+ then aG
290+ else throw(($getType(aG) + " couldn't be cast to String"))
291291 })
292- fraction(aE, h, aS)
292+ fraction(aF, h, aT)
293293 }
294294 else if (("HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk" == v))
295295 then {
296- let aT = "3P94wvu5gA7VhjPgAB3twaeqdwHCwNK2vsn"
297- let aU = parseBigIntValue({
298- let aF = invoke(aC, "getPrice", [aT], nil)
299- if ($isInstanceOf(aF, "String"))
300- then aF
301- else throw(($getType(aF) + " couldn't be cast to String"))
296+ let aU = "3P94wvu5gA7VhjPgAB3twaeqdwHCwNK2vsn"
297+ let aV = parseBigIntValue({
298+ let aG = invoke(aD, "getPrice", [aU], nil)
299+ if ($isInstanceOf(aG, "String"))
300+ then aG
301+ else throw(($getType(aG) + " couldn't be cast to String"))
302302 })
303- fraction(aU, aI, h)
303+ fraction(aV, aJ, h)
304304 }
305305 else if (("474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu" == v))
306306 then {
307- let aV = "3P3XGTN6s292g9iwYhs3TEqJqHiffQYojuE"
308- let aW = parseBigIntValue({
309- let aF = invoke(aC, "getPrice", [aV], nil)
310- if ($isInstanceOf(aF, "String"))
311- then aF
312- else throw(($getType(aF) + " couldn't be cast to String"))
307+ let aW = "3P3XGTN6s292g9iwYhs3TEqJqHiffQYojuE"
308+ let aX = parseBigIntValue({
309+ let aG = invoke(aD, "getPrice", [aW], nil)
310+ if ($isInstanceOf(aG, "String"))
311+ then aG
312+ else throw(($getType(aG) + " couldn't be cast to String"))
313313 })
314- fraction(aW, aE, h)
314+ fraction(aX, aF, h)
315315 }
316316 else if (("8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS" == v))
317317 then {
318- let aX = "3PCBWDTA6jrFswd7gQgaE3Xk7gLM5RKofvp"
319- let aY = parseBigIntValue({
320- let aF = invoke(aC, "getPrice", [aX], nil)
321- if ($isInstanceOf(aF, "String"))
322- then aF
323- else throw(($getType(aF) + " couldn't be cast to String"))
318+ let aY = "3PCBWDTA6jrFswd7gQgaE3Xk7gLM5RKofvp"
319+ let aZ = parseBigIntValue({
320+ let aG = invoke(aD, "getPrice", [aY], nil)
321+ if ($isInstanceOf(aG, "String"))
322+ then aG
323+ else throw(($getType(aG) + " couldn't be cast to String"))
324324 })
325- fraction(aY, aI, h)
325+ fraction(aZ, aJ, h)
326326 }
327327 else s("invalid asset id")
328328 }
329- (aq :+ aK)
329+ (ar :+ aL)
330330 }
331331
332- let au = ao
333- let av = size(au)
334- let aw = nil
335- func ax (ay,az) = if ((az >= av))
336- then ay
337- else ap(ay, au[az])
332+ let av = ap
333+ let aw = size(av)
334+ let ax = nil
335+ func ay (az,aA) = if ((aA >= aw))
336+ then az
337+ else aq(az, av[aA])
338338
339- func aA (ay,az) = if ((az >= av))
340- then ay
339+ func aB (az,aA) = if ((aA >= aw))
340+ then az
341341 else throw("List size exceeds 10")
342342
343- aA(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(aw, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
343+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
344344 }
345345 else if ((a == b))
346346 then {
347- func ap (aq,aJ) = {
348- let aK = {
349- let v = aJ
347+ func aq (ar,aK) = {
348+ let aL = {
349+ let v = aK
350350 if (("EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc" == v))
351351 then {
352- let aZ = "3MrULQRLc52GWrJF1tMcAm4M78fPe57o9Kt"
353- let ba = parseBigIntValue({
354- let aF = invoke(aC, "getPrice", [aZ], nil)
355- if ($isInstanceOf(aF, "String"))
356- then aF
357- else throw(($getType(aF) + " couldn't be cast to String"))
352+ let ba = "3MrULQRLc52GWrJF1tMcAm4M78fPe57o9Kt"
353+ let bb = parseBigIntValue({
354+ let aG = invoke(aD, "getPrice", [ba], nil)
355+ if ($isInstanceOf(aG, "String"))
356+ then aG
357+ else throw(($getType(aG) + " couldn't be cast to String"))
358358 })
359- ba
359+ bb
360360 }
361361 else if (("A7Ksh7fXyqm1KhKAiK3bAB2aiPSitQQF6v1pyu9SS3FR" == v))
362362 then {
363- let bb = "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA"
364- let bc = parseBigIntValue({
365- let aF = invoke(aC, "getPrice", [bb], nil)
366- if ($isInstanceOf(aF, "String"))
367- then aF
368- else throw(($getType(aF) + " couldn't be cast to String"))
363+ let bc = "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA"
364+ let bd = parseBigIntValue({
365+ let aG = invoke(aD, "getPrice", [bc], nil)
366+ if ($isInstanceOf(aG, "String"))
367+ then aG
368+ else throw(($getType(aG) + " couldn't be cast to String"))
369369 })
370- bc
370+ bd
371371 }
372372 else if (("8Q6SE2ANebufw8JuPjJVRjZD6drD8ihjNjM8xaGUSfdR" == v))
373373 then {
374- let aK = k(150000000, pow(10, 0, j, 0, 0, DOWN))
375- aK
374+ let aL = k(150000000, pow(10, 0, j, 0, 0, DOWN))
375+ aL
376376 }
377377 else s("invalid asset id")
378378 }
379- (aq :+ aK)
379+ (ar :+ aL)
380380 }
381381
382- let au = ao
383- let av = size(au)
384- let aw = nil
385- func ax (ay,az) = if ((az >= av))
386- then ay
387- else ap(ay, au[az])
382+ let av = ap
383+ let aw = size(av)
384+ let ax = nil
385+ func ay (az,aA) = if ((aA >= aw))
386+ then az
387+ else aq(az, av[aA])
388388
389- func aA (ay,az) = if ((az >= av))
390- then ay
389+ func aB (az,aA) = if ((aA >= aw))
390+ then az
391391 else throw("List size exceeds 10")
392392
393- aA(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(aw, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
393+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
394394 }
395395 else s("invalid chain id")
396396
397397
398-func bd () = {
398+func be () = {
399399 let N = Z()
400- let aC = X()
401- let be = split(ab(), d)
402- let bf = am(N, be)
403- let bg = aB(aC, be)
404- func bh (aq,ar) = {
405- let af = fromBase58String(ar)
406- let bi = valueOrErrorMessage(indexOf(be, ar), q("invalid asset id"))
407- let as = bf[bi]
408- let aK = bg[bi]
409- let bj = fraction(as, aK, h)
410- (aq + bj)
400+ let aD = X()
401+ let bf = split(ab(), d)
402+ let bg = an(N, bf)
403+ let bh = aC(aD, bf)
404+ func bi (ar,as) = {
405+ let af = fromBase58String(as)
406+ let bj = valueOrErrorMessage(indexOf(bf, as), q("invalid asset id"))
407+ let at = bg[bj]
408+ let aL = bh[bj]
409+ let bk = fraction(at, aL, h)
410+ (ar + bk)
411411 }
412412
413- let bk = {
414- let au = be
415- let av = size(au)
416- let aw = toBigInt(0)
417- func ax (ay,az) = if ((az >= av))
418- then ay
419- else bh(ay, au[az])
413+ let bl = {
414+ let av = bf
415+ let aw = size(av)
416+ let ax = toBigInt(0)
417+ func ay (az,aA) = if ((aA >= aw))
418+ then az
419+ else bi(az, av[aA])
420420
421- func aA (ay,az) = if ((az >= av))
422- then ay
421+ func aB (az,aA) = if ((aA >= aw))
422+ then az
423423 else throw("List size exceeds 10")
424424
425- aA(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(aw, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
425+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
426426 }
427- bk
427+ bl
428428 }
429429
430430
431-func bl (bm,bn) = {
432- let be = split(ab(), d)
433- let bo = ae(ad()).quantity
434- if ((bo == bo))
431+func bm (bn,bo) = {
432+ let bf = split(ab(), d)
433+ let bp = ae(ad()).quantity
434+ if ((bp == bp))
435435 then {
436- let bf = am(u(), be)
437- func ap (aq,ar) = {
438- let af = fromBase58String(ar)
439- let bi = valueOrErrorMessage(indexOf(be, ar), q("invalid asset balance"))
440- let at = ae(af).decimals
441- let as = n(bf[bi], pow(10, 0, at, 0, 0, DOWN))
442- let aj = fraction(as, bm, bo)
436+ let bg = an(u(), bf)
437+ func aq (ar,as) = {
438+ let af = fromBase58String(as)
439+ let bj = valueOrErrorMessage(indexOf(bf, as), q("invalid asset balance"))
440+ let au = ae(af).decimals
441+ let at = n(bg[bj], pow(10, 0, au, 0, 0, DOWN))
442+ let aj = fraction(at, bn, bp)
443443 if ((aj > 0))
444444 then {
445- let bp = if ((bn == unit))
445+ let bq = if ((bo == unit))
446446 then unit
447- else invoke(this, "lockInternal", [value(bn).bytes, af, aj], nil)
448- if ((bp == bp))
449- then $Tuple2((aq._1 :+ af), (aq._2 :+ aj))
447+ else invoke(this, "lockInternal", [value(bo).bytes, af, aj, bn], nil)
448+ if ((bq == bq))
449+ then $Tuple2((ar._1 :+ af), (ar._2 :+ aj))
450450 else throw("Strict value is not equal to itself.")
451451 }
452- else aq
452+ else ar
453453 }
454454
455- let au = be
456- let av = size(au)
457- let aw = $Tuple2(nil, nil)
458- func ax (ay,az) = if ((az >= av))
459- then ay
460- else ap(ay, au[az])
455+ let av = bf
456+ let aw = size(av)
457+ let ax = $Tuple2(nil, nil)
458+ func ay (az,aA) = if ((aA >= aw))
459+ then az
460+ else aq(az, av[aA])
461461
462- func aA (ay,az) = if ((az >= av))
463- then ay
462+ func aB (az,aA) = if ((aA >= aw))
463+ then az
464464 else throw("List size exceeds 6")
465465
466- aA(ax(ax(ax(ax(ax(ax(aw, 0), 1), 2), 3), 4), 5), 6)
466+ aB(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6)
467467 }
468468 else throw("Strict value is not equal to itself.")
469469 }
470470
471471
472-func bq () = {
473- let aC = X()
474- let br = valueOrErrorMessage(getInteger(u(), C()), q("invalid current period"))
475- let bs = valueOrErrorMessage(getInteger(u(), G(br)), q(("invalid treasury value for period " + toString(br))))
476- let bk = n(bd(), pow(10, 0, j, 0, 0, DOWN))
477- let bt = (bk - bs)
478- let bu = k(bt, pow(10, 0, j, 0, 0, DOWN))
479- let bv = R()
480- let bw = ae(bv)
481- let bx = aB(aC, [toBase58String(bv)])[0]
482- let by = if ((bx > toBigInt(0)))
483- then n(bx, pow(10, 0, j, 0, 0, DOWN))
472+func br () = {
473+ let aD = X()
474+ let bs = valueOrErrorMessage(getInteger(u(), C()), q("invalid current period"))
475+ let bt = valueOrErrorMessage(getInteger(u(), G(bs)), q(("invalid treasury value for period " + toString(bs))))
476+ let bl = n(be(), pow(10, 0, j, 0, 0, DOWN))
477+ let bu = (bl - bt)
478+ let bv = k(bu, pow(10, 0, j, 0, 0, DOWN))
479+ let bw = R()
480+ let bx = ae(bw)
481+ let by = aC(aD, [toBase58String(bw)])[0]
482+ let bz = if ((by > toBigInt(0)))
483+ then n(by, pow(10, 0, j, 0, 0, DOWN))
484484 else s("invalid PWR price")
485485 let N = Z()
486- let bz = valueOrElse(getInteger(T(), M(N)), 0)
487- let bA = ae(ad())
488- let bB = (bA.quantity / 100)
489- let bC = (bz + bB)
490- let bD = k(bC, pow(10, 0, bw.decimals, 0, 0, DOWN))
491- let bE = am(u(), [toBase58String(B)])[0]
492- let bF = n(bE, pow(10, 0, j, 0, 0, DOWN))
493- let bG = aB(aC, [toBase58String(B)])[0]
494- let bH = if ((bG > toBigInt(0)))
495- then n(bG, pow(10, 0, j, 0, 0, DOWN))
486+ let bA = valueOrElse(getInteger(T(), M(N)), 0)
487+ let bB = ae(ad())
488+ let bC = (bB.quantity / 100)
489+ let bD = (bA + bC)
490+ let bE = k(bD, pow(10, 0, bx.decimals, 0, 0, DOWN))
491+ let bF = an(u(), [toBase58String(B)])[0]
492+ let bG = n(bF, pow(10, 0, j, 0, 0, DOWN))
493+ let bH = aC(aD, [toBase58String(B)])[0]
494+ let bI = if ((bH > toBigInt(0)))
495+ then n(bH, pow(10, 0, j, 0, 0, DOWN))
496496 else s("invalid wx price")
497- let bo = bA.quantity
498- let bI = k(bo, pow(10, 0, bA.decimals, 0, 0, DOWN))
499- let bJ = (((bx + fraction((bE * toBigInt(100)), bG, bI)) + fraction(max([bu, toBigInt(0)]), (toBigInt(2) * h), (toBigInt(10) * bD))) / toBigInt(100))
500- let bK = n(bJ, pow(10, 0, j, 0, 0, DOWN))
501- let bL = bl(pow(10, 0, bA.decimals, 0, 0, DOWN), unit)
502- $Tuple2([bK, bL], [["wxDaoPrice", bK], ["pwrPrice", by], ["factoryAddressWxBalance", bF], ["wxPrice", bH], ["wxdaoQuantity", bo], ["treasuryValueDiff", bt], ["pwrAmount", bC], ["skinTotal", bz], ["pwrRemaining", bB]])
497+ let bp = bB.quantity
498+ let bJ = k(bp, pow(10, 0, bB.decimals, 0, 0, DOWN))
499+ let bK = (((by + fraction((bF * toBigInt(100)), bH, bJ)) + fraction(max([bv, toBigInt(0)]), (toBigInt(2) * h), (toBigInt(10) * bE))) / toBigInt(100))
500+ let bL = n(bK, pow(10, 0, j, 0, 0, DOWN))
501+ let bM = bm(pow(10, 0, bB.decimals, 0, 0, DOWN), unit)
502+ $Tuple2([bL, bM], [["wxDaoPrice", bL], ["pwrPrice", bz], ["factoryAddressWxBalance", bG], ["wxPrice", bI], ["wxdaoQuantity", bp], ["treasuryValueDiff", bu], ["pwrAmount", bD], ["skinTotal", bA], ["pwrRemaining", bC]])
503503 }
504504
505505
506506 @Callable(x)
507-func swap (bM,bN) = {
508- let bO = A(x)
509- if ((bO == bO))
507+func swap (bN,bO) = {
508+ let bP = A(x)
509+ if ((bP == bP))
510510 then {
511- let K = addressFromPublicKey(bM)
512- let bP = if ((size(x.payments) == 1))
511+ let K = addressFromPublicKey(bN)
512+ let bQ = if ((size(x.payments) == 1))
513513 then x.payments[0]
514514 else s("1 payment is required")
515- let bQ = q("invalid payment asset id")
516- let bR = if ((valueOrErrorMessage(bP.assetId, bQ) == ad()))
517- then value(bP.assetId)
518- else s(bQ)
519- let by = 100
520- let bC = (bP.amount / by)
521- let bS = bl(bP.amount, K)
522- if ((bS == bS))
515+ let bR = q("invalid payment asset id")
516+ let bS = if ((valueOrErrorMessage(bQ.assetId, bR) == ad()))
517+ then value(bQ.assetId)
518+ else s(bR)
519+ let bz = 100
520+ let bD = (bQ.amount / bz)
521+ let bT = bm(bQ.amount, K)
522+ if ((bT == bT))
523523 then {
524- let bT = 0
525- let bU = [invoke(u(), "commitAfterStartWithLockRoundFor", [toString(T()), toString(Z()), toString(K), bT, R(), bC], nil)]
526- $Tuple2([Burn(bR, bP.amount)], bU)
524+ let bU = 0
525+ let bV = [invoke(u(), "commitAfterStartWithLockRoundFor", [toString(T()), toString(Z()), toString(K), bU, R(), bD], nil)]
526+ $Tuple2([Burn(bS, bQ.amount)], bV)
527527 }
528528 else throw("Strict value is not equal to itself.")
529529 }
530530 else throw("Strict value is not equal to itself.")
531531 }
532532
533533
534534
535535 @Callable(x)
536-func lockInternal (bV,af,aj) = {
537- let bO = z(x)
538- if ((bO == bO))
536+func lockInternal (bW,af,aj,ak) = {
537+ let bP = z(x)
538+ if ((bP == bP))
539539 then {
540- let K = Address(bV)
541- let bW = valueOrElse(getInteger(u(), H()), 0)
542- let bX = valueOrErrorMessage(getInteger(u(), I()), q("invalid lock duration"))
543- let bY = invoke(u(), "transferAsset", [V().bytes, aj, af], nil)
544- if ((bY == bY))
540+ let K = Address(bW)
541+ let bX = valueOrElse(getInteger(u(), H()), 0)
542+ let bY = valueOrErrorMessage(getInteger(u(), I()), q("invalid lock duration"))
543+ let bZ = invoke(u(), "transferAsset", [V().bytes, aj, af], nil)
544+ if ((bZ == bZ))
545545 then {
546- let bU = [invoke(u(), "stringEntry", [J(K, bW), ag(height, (height + bX), af, aj)], nil), invoke(u(), "integerEntry", [H(), (bW + 1)], nil)]
547- $Tuple2(nil, bU)
546+ let bV = [invoke(u(), "stringEntry", [J(K, bX), ag(height, (height + bY), af, aj, ak)], nil), invoke(u(), "integerEntry", [H(), (bX + 1)], nil)]
547+ $Tuple2(nil, bV)
548548 }
549549 else throw("Strict value is not equal to itself.")
550550 }
551551 else throw("Strict value is not equal to itself.")
552552 }
553553
554554
555555
556556 @Callable(x)
557-func unlock (bM,bN) = {
558- let bO = A(x)
559- if ((bO == bO))
557+func unlock (bN,bO) = {
558+ let bP = A(x)
559+ if ((bP == bP))
560560 then {
561- let K = addressFromPublicKey(bM)
562- func bZ (aq,ca) = {
563- let L = valueOrErrorMessage(parseInt(ca), q("invalid counter"))
564- let cb = ak(valueOrErrorMessage(getString(u(), J(K, L)), q(("invalid lock: " + J(K, L)))))
565- let ah = cb._1
566- let ai = cb._2
567- let af = cb._3
568- let aj = cb._4
569- let cc = if ((height > ai))
561+ let K = addressFromPublicKey(bN)
562+ func ca (ar,cb) = {
563+ let L = valueOrErrorMessage(parseInt(cb), q("invalid counter"))
564+ let cc = al(valueOrErrorMessage(getString(u(), J(K, L)), q(("invalid lock: " + J(K, L)))))
565+ let ah = cc._1
566+ let ai = cc._2
567+ let af = cc._3
568+ let aj = cc._4
569+ let cd = if ((height > ai))
570570 then [invoke(V(), "transferAsset", [K.bytes, aj, af], nil), invoke(u(), "deleteEntry", [J(K, L)], nil)]
571571 else s("invalid height")
572- (aq :+ cc)
572+ (ar :+ cd)
573573 }
574574
575- let cc = {
576- let au = bN
577- let av = size(au)
578- let aw = nil
579- func ax (ay,az) = if ((az >= av))
580- then ay
581- else bZ(ay, au[az])
575+ let cd = {
576+ let av = bO
577+ let aw = size(av)
578+ let ax = nil
579+ func ay (az,aA) = if ((aA >= aw))
580+ then az
581+ else ca(az, av[aA])
582582
583- func aA (ay,az) = if ((az >= av))
584- then ay
583+ func aB (az,aA) = if ((aA >= aw))
584+ then az
585585 else throw("List size exceeds 30")
586586
587- aA(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(ax(aw, 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)
587+ aB(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 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)
588588 }
589- $Tuple2(nil, cc)
589+ $Tuple2(nil, cd)
590590 }
591591 else throw("Strict value is not equal to itself.")
592592 }
593593
594594
595595
596596 @Callable(x)
597-func price (bM,bN) = {
598- let bO = A(x)
599- if ((bO == bO))
600- then $Tuple2(nil, bq()._1)
597+func price (bN,bO) = {
598+ let bP = A(x)
599+ if ((bP == bP))
600+ then $Tuple2(nil, br()._1)
601601 else throw("Strict value is not equal to itself.")
602602 }
603603
604604
605605
606606 @Callable(x)
607-func priceDebug (bM,bN) = {
608- let bO = A(x)
609- if ((bO == bO))
610- then $Tuple2(nil, bq()._2)
607+func priceDebug (bN,bO) = {
608+ let bP = A(x)
609+ if ((bP == bP))
610+ then $Tuple2(nil, br()._2)
611611 else throw("Strict value is not equal to itself.")
612612 }
613613
614614
615615
616616 @Callable(x)
617-func getTreasuryValue (bM,bN) = {
618- let bO = A(x)
619- if ((bO == bO))
617+func getTreasuryValue (bN,bO) = {
618+ let bP = A(x)
619+ if ((bP == bP))
620620 then {
621- let bk = n(bd(), pow(10, 0, j, 0, 0, DOWN))
622- $Tuple2(nil, bk)
621+ let bl = n(be(), pow(10, 0, j, 0, 0, DOWN))
622+ $Tuple2(nil, bl)
623623 }
624624 else throw("Strict value is not equal to itself.")
625625 }
626626
627627
628-@Verifier(cd)
629-func ce () = (a == b)
628+@Verifier(ce)
629+func cf () = (a == b)
630630

github/deemru/w8io/026f985 
190.42 ms