tx · FQJkm5Aogrt7psbfx8LYFeSGcqsZKB9cxWY9bE2JPVe8

3MxWgDbE9EmjQj8b3LfFwa91FZizptyeQXS:  -0.14000000 Waves

2022.11.14 15:49 [2316822] smart account 3MxWgDbE9EmjQj8b3LfFwa91FZizptyeQXS > SELF 0.00000000 Waves

{ "type": 13, "id": "FQJkm5Aogrt7psbfx8LYFeSGcqsZKB9cxWY9bE2JPVe8", "fee": 14000000, "feeAssetId": null, "timestamp": 1668430189701, "version": 2, "chainId": 84, "sender": "3MxWgDbE9EmjQj8b3LfFwa91FZizptyeQXS", "senderPublicKey": "C7xgcYqQ8qV8rmvzAjhQWq4cz82F6VJfXMNygvrTXsfW", "proofs": [ "32rW7Dt13UtgT1mZMqjKdNUXW5LUhspsBhCQ3eou7ze3TUoGarQZjtvKGaa1p88maNJSmP5QqZTLXDeJU63Va9Ln", "5AfjQ5iAtcuo7XNmBB85qfE87fyH2dVN4SmoqtraeZEiSe4aHToRk6EDbPmGoNAMUjuFyGFGEhpbUdzAYNTkyUDL" ], "script": "base64:BgJmCAISBAoCEQESBQoDCAEBEgUKAwEEARIECgIRCBIDCgEBEgYKBAgIAQgSBAoCCAESAwoBERIECgIRARIFCgMBCAgSBAoCCAESBQoDCAEBEgASABIECgIRBBIECgIBARIAEgASABIAWgAJUFJFQ0lTSU9OAMCEPQAFTUFYX0EAwIQ9AAxNQVhfQV9DSEFOR0UACgAIREVDSU1BTFMABgANTUlOX1JBTVBfVElNRQkAaQIAgKMFADwAB3ZlcnNpb24CBTMuMC4wAAhrVmVyc2lvbgIHdmVyc2lvbgAHa0Fzc2V0cwIJYXNzZXRfaWRzAA1rQXNzZXRCYWxhbmNlAghfYmFsYW5jZQAHa0FjdGl2ZQIGYWN0aXZlAAtrQWN0aXZlR2xvYgIUYWN0aXZlX2FsbF9jb250cmFjdHMABmtDYXVzZQIOc2h1dGRvd25fY2F1c2UADWtTaGFyZUFzc2V0SWQCDnNoYXJlX2Fzc2V0X2lkABFrU2hhcmV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BnByb29mcwABBQxhZG1pblB1YktleTIAAQAABBJhZG1pblB1YktleTNTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQxhZG1pblB1YktleTMAAQAACQBnAgkAZAIJAGQCBRJhZG1pblB1YktleTFTaWduZWQFEmFkbWluUHViS2V5MlNpZ25lZAUSYWRtaW5QdWJLZXkzU2lnbmVkAAIEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBANpbnYFByRtYXRjaDAEE2NhbGxUYWtlSW50b0FjY291bnQDCQAAAggFA2ludgRkQXBwBQR0aGlzCQAAAggFA2ludghmdW5jdGlvbgIZdGFrZUludG9BY2NvdW50RXh0cmFGdW5kcwcEDXNpZ25lZEJ5QWRtaW4DAwMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MQYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MgYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MwYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFEWFkbWluUHViS2V5SW52b2tlAwMFE2NhbGxUYWtlSW50b0FjY291bnQFDXNpZ25lZEJ5QWRtaW4HBgUTbXVsdGlTaWduZWRCeUFkbWlucwUTbXVsdGlTaWduZWRCeUFkbWlucwwR4h0=", "height": 2316822, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4q3Vp3qM3eNq4RPCGQm1hT9GtXi47KZS539WZp4kZnkL Next: 45hJedv3552NyZDqW11cbB7HkKbTgt8t2wQFCcLsa2p6 Diff:
OldNewDifferences
2020 let kAssetBalance = "_balance"
2121
2222 let kActive = "active"
23+
24+let kActiveGlob = "active_all_contracts"
2325
2426 let kCause = "shutdown_cause"
2527
8991
9092 let lpFarmingAddress = Address(getBase58FromOracle(kLPFarmingAddress))
9193
92-let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
94+let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
9395
9496 let stakingAssets = [toBase58String(USDN)]
9597
9698 let active = getBooleanValue(this, kActive)
99+
100+let activeGlob = valueOrElse(getBoolean(oracle, kActiveGlob), true)
97101
98102 let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
99103
123127 func throwIsActive () = throw("DApp is already active")
124128
125129
126-func isActive () = if (active)
130+func isActive () = if (if (active)
131+ then activeGlob
132+ else false)
127133 then unit
128134 else throw("DApp is inactive at this moment")
129135
288294 else $Tuple2(D, false)
289295 }
290296
291- let $t064616527 = {
297+ let $t065826648 = {
292298 let $l = iter15
293299 let $s = size($l)
294300 let $acc0 = $Tuple2(toBigInt(S), false)
302308
303309 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15)
304310 }
305- let D = $t064616527._1
306- let finished = $t064616527._2
311+ let D = $t065826648._1
312+ let finished = $t065826648._2
307313 if ((finished == false))
308314 then throw(("get_D() not finished with " + toString(D)))
309315 else toInt(D)
329335 let D = get_D(xp_, amp)
330336 let Ann = (amp * nCoins)
331337 func S_c (acc,i) = {
332- let $t070987115 = acc
333- let S_ = $t070987115._1
334- let c = $t070987115._2
338+ let $t072197236 = acc
339+ let S_ = $t072197236._1
340+ let c = $t072197236._2
335341 let x_ = if ((in == i))
336342 then x
337343 else xp_[i]
342348 else $Tuple2(S_, c)
343349 }
344350
345- let $t073237378 = {
351+ let $t074447499 = {
346352 let $l = iter10
347353 let $s = size($l)
348354 let $acc0 = $Tuple2(0, toBigInt(D))
356362
357363 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
358364 }
359- let S_ = $t073237378._1
360- let c_ = $t073237378._2
365+ let S_ = $t074447499._1
366+ let c_ = $t074447499._2
361367 let c = fraction(c_, toBigInt(D), toBigInt((Ann * nCoins)))
362368 let bD = toBigInt(((S_ + (D / Ann)) - D))
363369 func y_proc (acc,_i) = if ((acc._2 == true))
374380 else $Tuple2(y, false)
375381 }
376382
377- let $t078607927 = {
383+ let $t079818048 = {
378384 let $l = iter16
379385 let $s = size($l)
380386 let $acc0 = $Tuple2(toBigInt(D), false)
388394
389395 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16)
390396 }
391- let y = $t078607927._1
392- let finished = $t078607927._2
397+ let y = $t079818048._1
398+ let finished = $t079818048._2
393399 if ((finished == false))
394400 then throw(("getY() not finished with " + toString(y)))
395401 else toInt(y)
403409 else {
404410 let Ann = (A_ * nCoins)
405411 func S_c (acc,i) = {
406- let $t083068323 = acc
407- let S_ = $t083068323._1
408- let c = $t083068323._2
412+ let $t084278444 = acc
413+ let S_ = $t084278444._1
414+ let c = $t084278444._2
409415 let x_ = if (if ((in != i))
410416 then (nCoins > i)
411417 else false)
418424 else $Tuple2(S_, c)
419425 }
420426
421- let $t085438598 = {
427+ let $t086648719 = {
422428 let $l = iter10
423429 let $s = size($l)
424430 let $acc0 = $Tuple2(0, toBigInt(D))
432438
433439 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
434440 }
435- let S_ = $t085438598._1
436- let c_ = $t085438598._2
441+ let S_ = $t086648719._1
442+ let c_ = $t086648719._2
437443 let c = fraction(c_, toBigInt(D), toBigInt((Ann * nCoins)))
438444 let bD = toBigInt(((S_ + (D / Ann)) - D))
439445 func y_D_proc (acc,i) = if ((acc._2 == true))
450456 else $Tuple2(y, false)
451457 }
452458
453- let $t090819150 = {
459+ let $t092029271 = {
454460 let $l = iter16
455461 let $s = size($l)
456462 let $acc0 = $Tuple2(toBigInt(D), false)
464470
465471 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16)
466472 }
467- let y = $t090819150._1
468- let finished = $t090819150._2
473+ let y = $t092029271._1
474+ let finished = $t092029271._2
469475 if ((finished == false))
470476 then throw(("get_y_D() not finished with " + toString(y)))
471477 else toInt(y)
482488 let new_y = get_y_D(amp, i, xp, D1)
483489 let dy_0 = (xp[i] - new_y)
484490 func xp_reduced_proc (acc,xp_j) = {
485- let $t097919820 = acc
486- let xp_reduced = $t097919820._1
487- let index = $t097919820._2
491+ let $t099129941 = acc
492+ let xp_reduced = $t099129941._1
493+ let index = $t099129941._2
488494 let dx_expected = if ((index == i))
489495 then (fraction(xp_j, D1, D0) - new_y)
490496 else (xp_j - fraction(xp_j, D1, D0))
491497 $Tuple2((xp_reduced :+ (xp_j - fraction(_fee, dx_expected, feeScale6))), (index + 1))
492498 }
493499
494- let $t01008210146 = {
500+ let $t01020310267 = {
495501 let $l = xp
496502 let $s = size($l)
497503 let $acc0 = $Tuple2(nil, 0)
505511
506512 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
507513 }
508- let xp_reduced = $t01008210146._1
509- let index = $t01008210146._2
514+ let xp_reduced = $t01020310267._1
515+ let index = $t01020310267._2
510516 let xp_reduced_i = xp_reduced[i]
511517 let dy = ((xp_reduced_i - get_y_D(amp, i, xp_reduced, D1)) - 1)
512518 $Tuple2(dy, (dy_0 - dy))
530536
531537 func calcStakingParams (stake,amount,assetId) = if (stake)
532538 then {
533- let $t01071010776 = calcStakingFuncAndAddres(stake, assetId)
534- let call = $t01071010776._1
535- let stakingAddr = $t01071010776._2
539+ let $t01083110897 = calcStakingFuncAndAddres(stake, assetId)
540+ let call = $t01083110897._1
541+ let stakingAddr = $t01083110897._2
536542 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
537543 }
538544 else {
539- let $t01086210928 = calcStakingFuncAndAddres(stake, assetId)
540- let call = $t01086210928._1
541- let stakingAddr = $t01086210928._2
545+ let $t01098311049 = calcStakingFuncAndAddres(stake, assetId)
546+ let call = $t01098311049._1
547+ let stakingAddr = $t01098311049._2
542548 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
543549 }
544550
545551
546552 func stake (amount,assetIdString) = if (containsElement(stakingAssets, assetIdString))
547553 then {
548- let $t01111511217 = calcStakingParams(true, amount, fromBase58String(assetIdString))
549- let call = $t01111511217._1
550- let addr = $t01111511217._2
551- let params = $t01111511217._3
552- let payments = $t01111511217._4
554+ let $t01123611338 = calcStakingParams(true, amount, fromBase58String(assetIdString))
555+ let call = $t01123611338._1
556+ let addr = $t01123611338._2
557+ let params = $t01123611338._3
558+ let payments = $t01123611338._4
553559 invoke(addr, call, params, payments)
554560 }
555561 else 0
557563
558564 func unstake (amount,assetIdString) = if (containsElement(stakingAssets, assetIdString))
559565 then {
560- let $t01140211505 = calcStakingParams(false, amount, fromBase58String(assetIdString))
561- let call = $t01140211505._1
562- let addr = $t01140211505._2
563- let params = $t01140211505._3
564- let payments = $t01140211505._4
566+ let $t01152311626 = calcStakingParams(false, amount, fromBase58String(assetIdString))
567+ let call = $t01152311626._1
568+ let addr = $t01152311626._2
569+ let params = $t01152311626._3
570+ let payments = $t01152311626._4
565571 invoke(addr, call, params, payments)
566572 }
567573 else 0
590596 func checkSuspicious () = {
591597 let contractBalances = _xp()
592598 func checkBalance (acc,assetId) = {
593- let $t01211612141 = acc
594- let suspicious = $t01211612141._1
595- let i = $t01211612141._2
599+ let $t01223712262 = acc
600+ let suspicious = $t01223712262._1
601+ let i = $t01223712262._2
596602 if (suspicious)
597603 then $Tuple2(suspicious, i)
598604 else {
714720 let D0 = if ((shareSupply == 0))
715721 then 0
716722 else getDMem(xp, amp)
717- let $t01534915604 = if (if ((lockType > 0))
723+ let $t01547015724 = if (if ((lockType > 0))
718724 then (msg.payments[(size(msg.payments) - 1)].assetId == unit)
719725 else false)
720726 then $Tuple2(removeByIndex(msg.payments, (size(msg.payments) - 1)), [msg.payments[(size(msg.payments) - 1)]])
721727 else $Tuple2(msg.payments, nil)
722- let payments = $t01534915604._1
723- let lockFee = $t01534915604._2
728+ let payments = $t01547015724._1
729+ let lockFee = $t01547015724._2
724730 let paymentsSize = size(payments)
725731 func validPayments (n) = if ((paymentsSize > nCoins))
726732 then throw(("payments size > " + toString(nCoins)))
757763 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, payments))
758764 else {
759765 func parsePayments (acc,assetId) = {
760- let $t01647416500 = acc
761- let newBalances = $t01647416500._1
762- let i = $t01647416500._2
766+ let $t01659416620 = acc
767+ let newBalances = $t01659416620._1
768+ let i = $t01659416620._2
763769 func parsePayment (newBalance,payment) = if ((getStrAssetId(payment.assetId) == assetId))
764770 then (newBalance + payment.amount)
765771 else newBalance
781787 $Tuple2((newBalances :+ newBalace), (i + 1))
782788 }
783789
784- let $t01685016917 = {
790+ let $t01697017037 = {
785791 let $l = assetIds
786792 let $s = size($l)
787793 let $acc0 = $Tuple2(nil, 0)
795801
796802 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
797803 }
798- let newBalances = $t01685016917._1
799- let k = $t01685016917._2
804+ let newBalances = $t01697017037._1
805+ let k = $t01697017037._2
800806 if (checkDAppThreshold(newBalances))
801807 then throw()
802808 else {
806812 else {
807813 let feeDiscount = calculateFeeDiscount(msg.caller)
808814 func calcScriptActions (acc,newBalance) = {
809- let $t01723717278 = acc
810- let invBalances = $t01723717278._1
811- let scriptActions = $t01723717278._2
812- let i = $t01723717278._3
815+ let $t01735717398 = acc
816+ let invBalances = $t01735717398._1
817+ let scriptActions = $t01735717398._2
818+ let i = $t01735717398._3
813819 if ((shareSupply > 0))
814820 then {
815821 let _fee = ((fraction(fee, feeDiscount, feeScale6, CEILING) * nCoins) / (4 * (nCoins - 1)))
847853 }
848854 }
849855
850- let $t01898319071 = {
856+ let $t01910319191 = {
851857 let $l = newBalances
852858 let $s = size($l)
853859 let $acc0 = $Tuple3(nil, nil, 0)
861867
862868 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
863869 }
864- let invBalances = $t01898319071._1
865- let scriptActions = $t01898319071._2
870+ let invBalances = $t01910319191._1
871+ let scriptActions = $t01910319191._2
866872 let D2 = getDMem(invBalances, amp)
867873 let mint_amount = if ((shareSupply == 0))
868874 then D1
874880 let re = invoke(this, "reissueShare", [mint_amount], nil)
875881 if ((re == re))
876882 then {
877- let s = invoke(farmingAddress, "lockShareTokens", [toString(this), lockType], ([AttachedPayment(shareAssetId, mint_amount)] ++ lockFee))
883+ let s = invoke(farmingAddress, "lockShareTokensFromPool", [msg.caller.bytes, toString(this), lockType], ([AttachedPayment(shareAssetId, mint_amount)] ++ lockFee))
878884 if ((s == s))
879885 then (scriptActions :+ IntegerEntry(kShareAssetSupply, (shareSupply + mint_amount)))
880886 else throw("Strict value is not equal to itself.")
901907 let D0 = getDMem(xp, amp)
902908 let feeDiscount = calculateFeeDiscount(user)
903909 func calcInvBalances (acc,newBalance) = {
904- let $t02032120347 = acc
905- let invBalances = $t02032120347._1
906- let i = $t02032120347._2
910+ let $t02046720493 = acc
911+ let invBalances = $t02046720493._1
912+ let i = $t02046720493._2
907913 let _fee = ((fraction(fee, feeDiscount, feeScale6, CEILING) * nCoins) / (4 * (nCoins - 1)))
908914 let fees = {
909915 let idealBalance = fraction(D1, xp[i], D0)
916922 $Tuple2((invBalances :+ invariantBalance), (i + 1))
917923 }
918924
919- let $t02094921019 = {
925+ let $t02109521165 = {
920926 let $l = newBalances
921927 let $s = size($l)
922928 let $acc0 = $Tuple2(nil, 0)
930936
931937 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
932938 }
933- let invBalances = $t02094921019._1
934- let k = $t02094921019._2
939+ let invBalances = $t02109521165._1
940+ let k = $t02109521165._2
935941 let D2 = getDMem(invBalances, amp)
936942 let mintAmount = fraction(shareSupply, (D2 - D0), D0)
937943 $Tuple2(nil, mintAmount)
986992 then throw("Exchange resulted in fewer coins than expected")
987993 else {
988994 func makeNewBalances (acc,tokenBalance) = {
989- let $t02306023086 = acc
990- let newBalances = $t02306023086._1
991- let i = $t02306023086._2
995+ let $t02320623232 = acc
996+ let newBalances = $t02320623232._1
997+ let i = $t02320623232._2
992998 if ((i == fromIndex))
993999 then $Tuple2((newBalances :+ (tokenBalance + dx)), (i + 1))
9941000 else if ((i == toIndex))
9961002 else $Tuple2((newBalances :+ tokenBalance), (i + 1))
9971003 }
9981004
999- let $t02333723398 = {
1005+ let $t02348323544 = {
10001006 let $l = xp
10011007 let $s = size($l)
10021008 let $acc0 = $Tuple2(nil, 0)
10101016
10111017 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
10121018 }
1013- let newBalances = $t02333723398._1
1014- let i = $t02333723398._2
1019+ let newBalances = $t02348323544._1
1020+ let i = $t02348323544._2
10151021 if (checkDAppThreshold(newBalances))
10161022 then throw()
10171023 else {
10531059 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.originCaller, msg.payments))
10541060 else {
10551061 func calcScriptActions (acc,balance) = {
1056- let $t02468924717 = acc
1057- let scriptActions = $t02468924717._1
1058- let i = $t02468924717._2
1062+ let $t02483524863 = acc
1063+ let scriptActions = $t02483524863._1
1064+ let i = $t02483524863._2
10591065 let wAmount = fraction(balance, pmtAmount, shareSupply)
10601066 if (assert((wAmount >= minAmounts[i])))
10611067 then throw("Withdrawal resulted in fewer coins than expected")
10671073 }
10681074 }
10691075
1070- let $t02520725275 = {
1076+ let $t02535325421 = {
10711077 let $l = _xp()
10721078 let $s = size($l)
10731079 let $acc0 = $Tuple2(nil, 0)
10811087
10821088 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
10831089 }
1084- let scriptActions = $t02520725275._1
1085- let i = $t02520725275._2
1090+ let scriptActions = $t02535325421._1
1091+ let i = $t02535325421._2
10861092 (scriptActions ++ [Burn(shareAssetId, pmtAmount), IntegerEntry(kShareAssetSupply, (shareSupply - pmtAmount))])
10871093 }
10881094 }
11081114 else msg.payments[0].amount
11091115 }
11101116 else 0
1111- let unlock = invoke(farmingAddress, "withdrawShareTokens", [toString(this), unlockAmount], nil)
1117+ let unlock = invoke(farmingAddress, "withdrawShareTokensFromPool", [msg.caller.bytes, toString(this), unlockAmount], nil)
11121118 if ((unlock == unlock))
11131119 then {
11141120 let withdrawAmount = (pmtAmount + unlockAmount)
11491155 let outIndex = valueOrErrorMessage(indexOf(assetIds, tokenOut), "unknown token out")
11501156 let tokenOutB58 = fromBase58String(tokenOut)
11511157 let xp = _xp()
1152- let $t02730727389 = _calcWithdrawOneCoin(xp, pmtAmount, outIndex, msg.originCaller)
1153- let dy = $t02730727389._1
1154- let dy_fee = $t02730727389._2
1158+ let $t02747927561 = _calcWithdrawOneCoin(xp, pmtAmount, outIndex, msg.originCaller)
1159+ let dy = $t02747927561._1
1160+ let dy_fee = $t02747927561._2
11551161 if (assert((dy >= minAmount)))
11561162 then throw("Not enough coins removed")
11571163 else {
11581164 let governanceFees = fraction(dy_fee, feeGovernance, feeScale6)
11591165 let dy_and_fee = (dy + dy_fee)
11601166 func makeNewBalances (acc,tokenBalance) = {
1161- let $t02764727673 = acc
1162- let newBalances = $t02764727673._1
1163- let i = $t02764727673._2
1167+ let $t02781927845 = acc
1168+ let newBalances = $t02781927845._1
1169+ let i = $t02781927845._2
11641170 if ((i == outIndex))
11651171 then $Tuple2((newBalances :+ (tokenBalance - dy_and_fee)), (i + 1))
11661172 else $Tuple2((newBalances :+ tokenBalance), (i + 1))
11671173 }
11681174
1169- let $t02784027901 = {
1175+ let $t02801228073 = {
11701176 let $l = xp
11711177 let $s = size($l)
11721178 let $acc0 = $Tuple2(nil, 0)
11801186
11811187 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
11821188 }
1183- let newBalances = $t02784027901._1
1184- let v = $t02784027901._2
1189+ let newBalances = $t02801228073._1
1190+ let v = $t02801228073._2
11851191 if (checkDAppThreshold(newBalances))
11861192 then throw()
11871193 else {
12231229 else msg.payments[0].amount
12241230 }
12251231 else 0
1226- let unlock = invoke(farmingAddress, "withdrawShareTokens", [toString(this), unlockAmount], nil)
1232+ let unlock = invoke(farmingAddress, "withdrawShareTokensFromPool", [msg.caller.bytes, toString(this), unlockAmount], nil)
12271233 if ((unlock == unlock))
12281234 then {
12291235 let withdrawAmount = (pmtAmount + unlockAmount)
12571263 let balances = _xp()
12581264 let D0 = getDMem(balances, amp)
12591265 func calcNewBalances (acc,balance) = {
1260- let $t02991829944 = acc
1261- let newBalances = $t02991829944._1
1262- let i = $t02991829944._2
1266+ let $t03011630142 = acc
1267+ let newBalances = $t03011630142._1
1268+ let i = $t03011630142._2
12631269 let newBalance = (balance + (if (deposit)
12641270 then amounts[i]
12651271 else -(amounts[i])))
13391345 else {
13401346 let balances = _xp()
13411347 func takeExtraFunds (acc,assetId) = {
1342- let $t03228632304 = acc
1343- let sum = $t03228632304._1
1344- let i = $t03228632304._2
1348+ let $t03248432502 = acc
1349+ let sum = $t03248432502._1
1350+ let i = $t03248432502._2
13451351 let tokenB58 = fromBase58String(assetId)
13461352 let rBalance = (assetBalance(this, tokenB58) + stakedAmount(tokenB58))
13471353 let enrollAmount = (rBalance - balances[i])
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let PRECISION = 1000000
55
66 let MAX_A = 1000000
77
88 let MAX_A_CHANGE = 10
99
1010 let DECIMALS = 6
1111
1212 let MIN_RAMP_TIME = (86400 / 60)
1313
1414 let version = "3.0.0"
1515
1616 let kVersion = "version"
1717
1818 let kAssets = "asset_ids"
1919
2020 let kAssetBalance = "_balance"
2121
2222 let kActive = "active"
23+
24+let kActiveGlob = "active_all_contracts"
2325
2426 let kCause = "shutdown_cause"
2527
2628 let kShareAssetId = "share_asset_id"
2729
2830 let kShareAssetSupply = "share_asset_supply"
2931
3032 let kFee = "commission"
3133
3234 let kDAppThresholdCoef = "dAppThresholdCoef"
3335
3436 let kUSDNAddress = "staking_usdnnsbt_address"
3537
3638 let kDiscounts = "discounts"
3739
3840 let kDiscountValues = "discount_values"
3941
4042 let kUserSwopInGov = "_SWOP_amount"
4143
4244 let kUserGSwopInGov = "_GSwop_amount"
4345
4446 let kAdminPubKey1 = "admin_pub_1"
4547
4648 let kAdminPubKey2 = "admin_pub_2"
4749
4850 let kAdminPubKey3 = "admin_pub_3"
4951
5052 let kAdminInvokePubKey = "admin_invoke_pub"
5153
5254 let kMoneyBoxAddress = "money_box_address"
5355
5456 let kGovAddress = "governance_address"
5557
5658 let kVotingAddress = "voting_address"
5759
5860 let kFarmingAddress = "farming_address"
5961
6062 let kLPFarmingAddress = "lp_farming"
6163
6264 let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
6365
6466 func getBase58FromOracle (key) = match getString(oracle, key) {
6567 case string: String =>
6668 fromBase58String(string)
6769 case nothing =>
6870 throw((key + "is empty"))
6971 }
7072
7173
7274 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
7375
7476 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
7577
7678 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
7779
7880 let adminPubKeyInvoke = getBase58FromOracle(kAdminInvokePubKey)
7981
8082 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
8183
8284 let govAddress = Address(getBase58FromOracle(kGovAddress))
8385
8486 let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
8587
8688 let votingAddress = Address(getBase58FromOracle(kVotingAddress))
8789
8890 let farmingAddress = Address(getBase58FromOracle(kFarmingAddress))
8991
9092 let lpFarmingAddress = Address(getBase58FromOracle(kLPFarmingAddress))
9193
92-let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
94+let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
9395
9496 let stakingAssets = [toBase58String(USDN)]
9597
9698 let active = getBooleanValue(this, kActive)
99+
100+let activeGlob = valueOrElse(getBoolean(oracle, kActiveGlob), true)
97101
98102 let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
99103
100104 let shareSupply = getIntegerValue(this, kShareAssetSupply)
101105
102106 let feeScale6 = 1000000
103107
104108 let fee = getIntegerValue(this, kFee)
105109
106110 let feeGovernance = fraction(40, feeScale6, 100)
107111
108112 let initial_A = getIntegerValue(this, "initial_A")
109113
110114 let future_A = getIntegerValue(this, "future_A")
111115
112116 let initial_A_time = valueOrElse(getInteger(this, "initial_A_time"), 0)
113117
114118 let future_A_time = valueOrElse(getInteger(this, "future_A_time"), 0)
115119
116120 let assetIds = split(getStringValue(this, kAssets), ",")
117121
118122 let nCoins = size(assetIds)
119123
120124 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
121125
122126
123127 func throwIsActive () = throw("DApp is already active")
124128
125129
126-func isActive () = if (active)
130+func isActive () = if (if (active)
131+ then activeGlob
132+ else false)
127133 then unit
128134 else throw("DApp is inactive at this moment")
129135
130136
131137 func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
132138 then unit
133139 else throw("Only admin can call this function")
134140
135141
136142 func isSelfCall (i) = if ((this == i.caller))
137143 then unit
138144 else throw("Only contract itself can call this function")
139145
140146
141147 let big2 = toBigInt(2)
142148
143149 let iter10 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
144150
145151 let iter15 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
146152
147153 let iter16 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
148154
149155 let blockTimestamp = height
150156
151157 func assert (a) = if (a)
152158 then false
153159 else true
154160
155161
156162 func calculateFeeDiscount (userAddr) = {
157163 let user = match userAddr {
158164 case u: Address =>
159165 toString(u)
160166 case u: String =>
161167 u
162168 case _ =>
163169 throw("Unknow type of user Addr")
164170 }
165171 let swopAmount = valueOrElse(getInteger(govAddress, (user + kUserGSwopInGov)), 0)
166172 let gSwopAmount = valueOrElse(getInteger(govAddress, (user + kUserGSwopInGov)), swopAmount)
167173 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
168174 let discounts = split(getStringValue(oracle, kDiscounts), ",")
169175 if (if ((gSwopAmount >= parseIntValue(discountValues[0])))
170176 then (parseIntValue(discountValues[1]) > gSwopAmount)
171177 else false)
172178 then (feeScale6 - parseIntValue(discounts[0]))
173179 else if (if ((gSwopAmount >= parseIntValue(discountValues[1])))
174180 then (parseIntValue(discountValues[2]) > gSwopAmount)
175181 else false)
176182 then (feeScale6 - parseIntValue(discounts[1]))
177183 else if (if ((gSwopAmount >= parseIntValue(discountValues[2])))
178184 then (parseIntValue(discountValues[3]) > gSwopAmount)
179185 else false)
180186 then (feeScale6 - parseIntValue(discounts[2]))
181187 else if (if ((gSwopAmount >= parseIntValue(discountValues[3])))
182188 then (parseIntValue(discountValues[4]) > gSwopAmount)
183189 else false)
184190 then (feeScale6 - parseIntValue(discounts[3]))
185191 else if ((gSwopAmount >= parseIntValue(discountValues[4])))
186192 then (feeScale6 - parseIntValue(discounts[4]))
187193 else feeScale6
188194 }
189195
190196
191197 func _A () = {
192198 let t1 = future_A_time
193199 let A1 = future_A
194200 if ((t1 > blockTimestamp))
195201 then {
196202 let A0 = initial_A
197203 let t0 = initial_A_time
198204 if ((A1 > A0))
199205 then (A0 + (((A1 - A0) * (blockTimestamp - t0)) / (t1 - t0)))
200206 else (A0 - (((A0 - A1) * (blockTimestamp - t0)) / (t1 - t0)))
201207 }
202208 else A1
203209 }
204210
205211
206212 func _xp () = {
207213 func assetBalances (acc,assetId) = (acc :+ valueOrElse(getInteger(this, (assetId + kAssetBalance)), 0))
208214
209215 let $l = assetIds
210216 let $s = size($l)
211217 let $acc0 = nil
212218 func $f0_1 ($a,$i) = if (($i >= $s))
213219 then $a
214220 else assetBalances($a, $l[$i])
215221
216222 func $f0_2 ($a,$i) = if (($i >= $s))
217223 then $a
218224 else throw("List size exceeds 10")
219225
220226 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
221227 }
222228
223229
224230 func _xp_mem (xp) = xp
225231
226232
227233 func sumList (acc,element) = (acc + element)
228234
229235
230236 func get_D (xp,amp) = {
231237 let @ = invoke(this, "D", [xp, amp], nil)
232238 if ($isInstanceOf(@, "Int"))
233239 then @
234240 else throw(($getType(@) + " couldn't be cast to Int"))
235241 }
236242
237243
238244 func get_D_internal (xp,amp) = {
239245 let S = {
240246 let $l = xp
241247 let $s = size($l)
242248 let $acc0 = 0
243249 func $f0_1 ($a,$i) = if (($i >= $s))
244250 then $a
245251 else sumList($a, $l[$i])
246252
247253 func $f0_2 ($a,$i) = if (($i >= $s))
248254 then $a
249255 else throw("List size exceeds 10")
250256
251257 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
252258 }
253259 if ((S == 0))
254260 then 0
255261 else {
256262 let Ann = (amp * nCoins)
257263 let AnnS = (toBigInt(Ann) * toBigInt(S))
258264 let Ann1 = toBigInt((Ann - 1))
259265 func Dproc (acc,i) = if ((acc._2 == true))
260266 then acc
261267 else {
262268 let Dprev = acc._1
263269 func D_PProc (D_P,i) = if ((nCoins > i))
264270 then ((D_P * Dprev) / (toBigInt(xp[i]) * toBigInt(nCoins)))
265271 else D_P
266272
267273 let D_P = {
268274 let $l = iter10
269275 let $s = size($l)
270276 let $acc0 = Dprev
271277 func $f1_1 ($a,$i) = if (($i >= $s))
272278 then $a
273279 else D_PProc($a, $l[$i])
274280
275281 func $f1_2 ($a,$i) = if (($i >= $s))
276282 then $a
277283 else throw("List size exceeds 10")
278284
279285 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
280286 }
281287 let D = fraction((AnnS + (toBigInt(nCoins) * D_P)), Dprev, ((Ann1 * Dprev) + (toBigInt((nCoins + 1)) * D_P)))
282288 if ((D > Dprev))
283289 then if ((1 >= toInt((D - Dprev))))
284290 then $Tuple2(D, true)
285291 else $Tuple2(D, false)
286292 else if ((1 >= toInt((Dprev - D))))
287293 then $Tuple2(D, true)
288294 else $Tuple2(D, false)
289295 }
290296
291- let $t064616527 = {
297+ let $t065826648 = {
292298 let $l = iter15
293299 let $s = size($l)
294300 let $acc0 = $Tuple2(toBigInt(S), false)
295301 func $f1_1 ($a,$i) = if (($i >= $s))
296302 then $a
297303 else Dproc($a, $l[$i])
298304
299305 func $f1_2 ($a,$i) = if (($i >= $s))
300306 then $a
301307 else throw("List size exceeds 15")
302308
303309 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15)
304310 }
305- let D = $t064616527._1
306- let finished = $t064616527._2
311+ let D = $t065826648._1
312+ let finished = $t065826648._2
307313 if ((finished == false))
308314 then throw(("get_D() not finished with " + toString(D)))
309315 else toInt(D)
310316 }
311317 }
312318
313319
314320 func getDMem (xp,amp) = get_D(_xp_mem(xp), amp)
315321
316322
317323 func getY (in,out,x,xp_) = if (assert((in != out)))
318324 then throw("same coin")
319325 else if (assert(if ((out >= 0))
320326 then (in >= 0)
321327 else false))
322328 then throw("below zero")
323329 else if (assert(if ((nCoins > out))
324330 then (nCoins > in)
325331 else false))
326332 then throw("above N_COINS")
327333 else {
328334 let amp = _A()
329335 let D = get_D(xp_, amp)
330336 let Ann = (amp * nCoins)
331337 func S_c (acc,i) = {
332- let $t070987115 = acc
333- let S_ = $t070987115._1
334- let c = $t070987115._2
338+ let $t072197236 = acc
339+ let S_ = $t072197236._1
340+ let c = $t072197236._2
335341 let x_ = if ((in == i))
336342 then x
337343 else xp_[i]
338344 if (if ((i != out))
339345 then (nCoins > i)
340346 else false)
341347 then $Tuple2((S_ + x_), fraction(c, toBigInt(D), toBigInt((x_ * nCoins))))
342348 else $Tuple2(S_, c)
343349 }
344350
345- let $t073237378 = {
351+ let $t074447499 = {
346352 let $l = iter10
347353 let $s = size($l)
348354 let $acc0 = $Tuple2(0, toBigInt(D))
349355 func $f0_1 ($a,$i) = if (($i >= $s))
350356 then $a
351357 else S_c($a, $l[$i])
352358
353359 func $f0_2 ($a,$i) = if (($i >= $s))
354360 then $a
355361 else throw("List size exceeds 10")
356362
357363 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
358364 }
359- let S_ = $t073237378._1
360- let c_ = $t073237378._2
365+ let S_ = $t074447499._1
366+ let c_ = $t074447499._2
361367 let c = fraction(c_, toBigInt(D), toBigInt((Ann * nCoins)))
362368 let bD = toBigInt(((S_ + (D / Ann)) - D))
363369 func y_proc (acc,_i) = if ((acc._2 == true))
364370 then acc
365371 else {
366372 let y_prev = acc._1
367373 let y = (((y_prev * y_prev) + c) / ((big2 * y_prev) + bD))
368374 if ((y > y_prev))
369375 then if ((1 >= toInt((y - y_prev))))
370376 then $Tuple2(y, true)
371377 else $Tuple2(y, false)
372378 else if ((1 >= toInt((y_prev - y))))
373379 then $Tuple2(y, true)
374380 else $Tuple2(y, false)
375381 }
376382
377- let $t078607927 = {
383+ let $t079818048 = {
378384 let $l = iter16
379385 let $s = size($l)
380386 let $acc0 = $Tuple2(toBigInt(D), false)
381387 func $f1_1 ($a,$i) = if (($i >= $s))
382388 then $a
383389 else y_proc($a, $l[$i])
384390
385391 func $f1_2 ($a,$i) = if (($i >= $s))
386392 then $a
387393 else throw("List size exceeds 16")
388394
389395 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16)
390396 }
391- let y = $t078607927._1
392- let finished = $t078607927._2
397+ let y = $t079818048._1
398+ let finished = $t079818048._2
393399 if ((finished == false))
394400 then throw(("getY() not finished with " + toString(y)))
395401 else toInt(y)
396402 }
397403
398404
399405 func get_y_D (A_,in,xp,D) = if (assert((in >= 0)))
400406 then throw("i below zero")
401407 else if (assert((nCoins > in)))
402408 then throw("i above N_COINS")
403409 else {
404410 let Ann = (A_ * nCoins)
405411 func S_c (acc,i) = {
406- let $t083068323 = acc
407- let S_ = $t083068323._1
408- let c = $t083068323._2
412+ let $t084278444 = acc
413+ let S_ = $t084278444._1
414+ let c = $t084278444._2
409415 let x_ = if (if ((in != i))
410416 then (nCoins > i)
411417 else false)
412418 then xp[i]
413419 else 0
414420 if (if ((nCoins > i))
415421 then (in != i)
416422 else false)
417423 then $Tuple2((S_ + x_), fraction(c, toBigInt(D), toBigInt((x_ * nCoins))))
418424 else $Tuple2(S_, c)
419425 }
420426
421- let $t085438598 = {
427+ let $t086648719 = {
422428 let $l = iter10
423429 let $s = size($l)
424430 let $acc0 = $Tuple2(0, toBigInt(D))
425431 func $f0_1 ($a,$i) = if (($i >= $s))
426432 then $a
427433 else S_c($a, $l[$i])
428434
429435 func $f0_2 ($a,$i) = if (($i >= $s))
430436 then $a
431437 else throw("List size exceeds 10")
432438
433439 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
434440 }
435- let S_ = $t085438598._1
436- let c_ = $t085438598._2
441+ let S_ = $t086648719._1
442+ let c_ = $t086648719._2
437443 let c = fraction(c_, toBigInt(D), toBigInt((Ann * nCoins)))
438444 let bD = toBigInt(((S_ + (D / Ann)) - D))
439445 func y_D_proc (acc,i) = if ((acc._2 == true))
440446 then acc
441447 else {
442448 let y_prev = acc._1
443449 let y = (((y_prev * y_prev) + c) / ((big2 * y_prev) + bD))
444450 if ((y > y_prev))
445451 then if ((1 >= toInt((y - y_prev))))
446452 then $Tuple2(y, true)
447453 else $Tuple2(y, false)
448454 else if ((1 >= toInt((y_prev - y))))
449455 then $Tuple2(y, true)
450456 else $Tuple2(y, false)
451457 }
452458
453- let $t090819150 = {
459+ let $t092029271 = {
454460 let $l = iter16
455461 let $s = size($l)
456462 let $acc0 = $Tuple2(toBigInt(D), false)
457463 func $f1_1 ($a,$i) = if (($i >= $s))
458464 then $a
459465 else y_D_proc($a, $l[$i])
460466
461467 func $f1_2 ($a,$i) = if (($i >= $s))
462468 then $a
463469 else throw("List size exceeds 16")
464470
465471 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16)
466472 }
467- let y = $t090819150._1
468- let finished = $t090819150._2
473+ let y = $t092029271._1
474+ let finished = $t092029271._2
469475 if ((finished == false))
470476 then throw(("get_y_D() not finished with " + toString(y)))
471477 else toInt(y)
472478 }
473479
474480
475481 func _calcWithdrawOneCoin (xp,_token_amount,i,caller) = {
476482 let feeDiscount = calculateFeeDiscount(caller)
477483 let amp = _A()
478484 let _fee = ((fraction(fee, feeDiscount, feeScale6, CEILING) * nCoins) / (4 * (nCoins - 1)))
479485 let total_supply = shareSupply
480486 let D0 = get_D(xp, amp)
481487 let D1 = (D0 - fraction(_token_amount, D0, total_supply))
482488 let new_y = get_y_D(amp, i, xp, D1)
483489 let dy_0 = (xp[i] - new_y)
484490 func xp_reduced_proc (acc,xp_j) = {
485- let $t097919820 = acc
486- let xp_reduced = $t097919820._1
487- let index = $t097919820._2
491+ let $t099129941 = acc
492+ let xp_reduced = $t099129941._1
493+ let index = $t099129941._2
488494 let dx_expected = if ((index == i))
489495 then (fraction(xp_j, D1, D0) - new_y)
490496 else (xp_j - fraction(xp_j, D1, D0))
491497 $Tuple2((xp_reduced :+ (xp_j - fraction(_fee, dx_expected, feeScale6))), (index + 1))
492498 }
493499
494- let $t01008210146 = {
500+ let $t01020310267 = {
495501 let $l = xp
496502 let $s = size($l)
497503 let $acc0 = $Tuple2(nil, 0)
498504 func $f0_1 ($a,$i) = if (($i >= $s))
499505 then $a
500506 else xp_reduced_proc($a, $l[$i])
501507
502508 func $f0_2 ($a,$i) = if (($i >= $s))
503509 then $a
504510 else throw("List size exceeds 10")
505511
506512 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
507513 }
508- let xp_reduced = $t01008210146._1
509- let index = $t01008210146._2
514+ let xp_reduced = $t01020310267._1
515+ let index = $t01020310267._2
510516 let xp_reduced_i = xp_reduced[i]
511517 let dy = ((xp_reduced_i - get_y_D(amp, i, xp_reduced, D1)) - 1)
512518 $Tuple2(dy, (dy_0 - dy))
513519 }
514520
515521
516522 func getStrAssetId (assetId) = match assetId {
517523 case id: ByteVector =>
518524 toBase58String(id)
519525 case waves: Unit =>
520526 "WAVES"
521527 case _ =>
522528 throw("Match error")
523529 }
524530
525531
526532 func calcStakingFuncAndAddres (stake,assetId) = if (stake)
527533 then $Tuple2("lockNeutrino", stakingUSDNAddress)
528534 else $Tuple2("unlockNeutrino", stakingUSDNAddress)
529535
530536
531537 func calcStakingParams (stake,amount,assetId) = if (stake)
532538 then {
533- let $t01071010776 = calcStakingFuncAndAddres(stake, assetId)
534- let call = $t01071010776._1
535- let stakingAddr = $t01071010776._2
539+ let $t01083110897 = calcStakingFuncAndAddres(stake, assetId)
540+ let call = $t01083110897._1
541+ let stakingAddr = $t01083110897._2
536542 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
537543 }
538544 else {
539- let $t01086210928 = calcStakingFuncAndAddres(stake, assetId)
540- let call = $t01086210928._1
541- let stakingAddr = $t01086210928._2
545+ let $t01098311049 = calcStakingFuncAndAddres(stake, assetId)
546+ let call = $t01098311049._1
547+ let stakingAddr = $t01098311049._2
542548 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
543549 }
544550
545551
546552 func stake (amount,assetIdString) = if (containsElement(stakingAssets, assetIdString))
547553 then {
548- let $t01111511217 = calcStakingParams(true, amount, fromBase58String(assetIdString))
549- let call = $t01111511217._1
550- let addr = $t01111511217._2
551- let params = $t01111511217._3
552- let payments = $t01111511217._4
554+ let $t01123611338 = calcStakingParams(true, amount, fromBase58String(assetIdString))
555+ let call = $t01123611338._1
556+ let addr = $t01123611338._2
557+ let params = $t01123611338._3
558+ let payments = $t01123611338._4
553559 invoke(addr, call, params, payments)
554560 }
555561 else 0
556562
557563
558564 func unstake (amount,assetIdString) = if (containsElement(stakingAssets, assetIdString))
559565 then {
560- let $t01140211505 = calcStakingParams(false, amount, fromBase58String(assetIdString))
561- let call = $t01140211505._1
562- let addr = $t01140211505._2
563- let params = $t01140211505._3
564- let payments = $t01140211505._4
566+ let $t01152311626 = calcStakingParams(false, amount, fromBase58String(assetIdString))
567+ let call = $t01152311626._1
568+ let addr = $t01152311626._2
569+ let params = $t01152311626._3
570+ let payments = $t01152311626._4
565571 invoke(addr, call, params, payments)
566572 }
567573 else 0
568574
569575
570576 func stakedAmount (assetId) = {
571577 let stakedAmountCalculated = match assetId {
572578 case aId: ByteVector =>
573579 if ((aId == USDN))
574580 then getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
575581 else 0
576582 case _: Unit =>
577583 0
578584 case _ =>
579585 throw("Match error")
580586 }
581587 match stakedAmountCalculated {
582588 case i: Int =>
583589 i
584590 case _ =>
585591 0
586592 }
587593 }
588594
589595
590596 func checkSuspicious () = {
591597 let contractBalances = _xp()
592598 func checkBalance (acc,assetId) = {
593- let $t01211612141 = acc
594- let suspicious = $t01211612141._1
595- let i = $t01211612141._2
599+ let $t01223712262 = acc
600+ let suspicious = $t01223712262._1
601+ let i = $t01223712262._2
596602 if (suspicious)
597603 then $Tuple2(suspicious, i)
598604 else {
599605 let aBalance = (assetBalance(this, fromBase58String(assetId)) + stakedAmount(fromBase58String(assetId)))
600606 if ((contractBalances[i] > aBalance))
601607 then $Tuple2(true, i)
602608 else $Tuple2(false, (i + 1))
603609 }
604610 }
605611
606612 let $l = assetIds
607613 let $s = size($l)
608614 let $acc0 = $Tuple2(false, 0)
609615 func $f0_1 ($a,$i) = if (($i >= $s))
610616 then $a
611617 else checkBalance($a, $l[$i])
612618
613619 func $f0_2 ($a,$i) = if (($i >= $s))
614620 then $a
615621 else throw("List size exceeds 10")
616622
617623 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
618624 }
619625
620626
621627 func suspendSuspicious (i) = suspend(("Suspicious state with asset: " + assetIds[i]))
622628
623629
624630 func returnPayments (caller,payments) = {
625631 func parsePayments (acc,payment) = (acc :+ ScriptTransfer(caller, payment.amount, payment.assetId))
626632
627633 let $l = payments
628634 let $s = size($l)
629635 let $acc0 = nil
630636 func $f0_1 ($a,$i) = if (($i >= $s))
631637 then $a
632638 else parsePayments($a, $l[$i])
633639
634640 func $f0_2 ($a,$i) = if (($i >= $s))
635641 then $a
636642 else throw("List size exceeds 10")
637643
638644 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
639645 }
640646
641647
642648 func checkDAppThreshold (newBalances) = {
643649 let dAppThresholdCoef = valueOrErrorMessage(getInteger(this, kDAppThresholdCoef), "No dAppThresholdCoef key")
644650 let thresholdScale = 10000
645651 let maxBalance = max(newBalances)
646652 let minBalance = min(newBalances)
647653 let ratio = fraction(maxBalance, thresholdScale, minBalance)
648654 if ((ratio > (dAppThresholdCoef * thresholdScale)))
649655 then throw("New balance in assets of the DApp is less than threshold")
650656 else false
651657 }
652658
653659
654660 func checkCoins (assetIds) = {
655661 let coins = split(assetIds, ",")
656662 if ((size(coins) > 10))
657663 then throw("To many coins, max coins size 10")
658664 else {
659665 func checkCoin (error,assetId) = {
660666 let asset = valueOrErrorMessage(fromBase58String(assetId), ("fromBase58String: " + assetId))
661667 let decimals = valueOrErrorMessage(assetInfo(asset), ("assetInfo: " + assetId)).decimals
662668 if ((decimals != DECIMALS))
663669 then throw("wrong decimals")
664670 else false
665671 }
666672
667673 let $l = coins
668674 let $s = size($l)
669675 let $acc0 = false
670676 func $f0_1 ($a,$i) = if (($i >= $s))
671677 then $a
672678 else checkCoin($a, $l[$i])
673679
674680 func $f0_2 ($a,$i) = if (($i >= $s))
675681 then $a
676682 else throw("List size exceeds 10")
677683
678684 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
679685 }
680686 }
681687
682688
683689 @Callable(msg)
684690 func D (xp,amp) = {
685691 let D = get_D_internal(xp, amp)
686692 $Tuple2([IntegerEntry("D", D)], D)
687693 }
688694
689695
690696
691697 @Callable(msg)
692698 func init (assetIds,_A,_dAppThresholdCoef) = if (!(isDataStorageUntouched(this)))
693699 then throw("Already initialized")
694700 else if ((0 >= _A))
695701 then throw("Amp must be must > 0")
696702 else if ((0 >= _dAppThresholdCoef))
697703 then throw("dApp Threshold Coef must be > 0")
698704 else {
699705 let shareName = "s_Multi_USD"
700706 let shareDescription = ("ShareToken of SwopFi protocol for MultiStable USD pool at address " + toString(this))
701707 let issueToken = Issue(shareName, shareDescription, 0, 6, true)
702708 let tokenId = calculateAssetId(issueToken)
703709 if (checkCoins(assetIds))
704710 then throw()
705711 else [StringEntry(kVersion, version), StringEntry(kAssets, assetIds), IntegerEntry("initial_A", _A), IntegerEntry("future_A", _A), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_flat")), StringEntry(kShareAssetId, toBase58String(tokenId)), IntegerEntry(kShareAssetSupply, 0), IntegerEntry(kDAppThresholdCoef, _dAppThresholdCoef), BooleanEntry(kActive, true), issueToken]
706712 }
707713
708714
709715
710716 @Callable(msg)
711717 func addLiquidity (minMintAmount,stakeFarming,lockType) = valueOrElse(isActive(), {
712718 let amp = _A()
713719 let xp = _xp()
714720 let D0 = if ((shareSupply == 0))
715721 then 0
716722 else getDMem(xp, amp)
717- let $t01534915604 = if (if ((lockType > 0))
723+ let $t01547015724 = if (if ((lockType > 0))
718724 then (msg.payments[(size(msg.payments) - 1)].assetId == unit)
719725 else false)
720726 then $Tuple2(removeByIndex(msg.payments, (size(msg.payments) - 1)), [msg.payments[(size(msg.payments) - 1)]])
721727 else $Tuple2(msg.payments, nil)
722- let payments = $t01534915604._1
723- let lockFee = $t01534915604._2
728+ let payments = $t01547015724._1
729+ let lockFee = $t01547015724._2
724730 let paymentsSize = size(payments)
725731 func validPayments (n) = if ((paymentsSize > nCoins))
726732 then throw(("payments size > " + toString(nCoins)))
727733 else if ((1 > paymentsSize))
728734 then throw("payments size < 1")
729735 else if (if ((shareSupply == 0))
730736 then (nCoins != paymentsSize)
731737 else false)
732738 then throw("initial deposit requires all coins")
733739 else {
734740 func paymantValid (acc,payment) = if (containsElement(assetIds, getStrAssetId(payment.assetId)))
735741 then true
736742 else throw("Invalid asset in payment")
737743
738744 let $l = payments
739745 let $s = size($l)
740746 let $acc0 = false
741747 func $f0_1 ($a,$i) = if (($i >= $s))
742748 then $a
743749 else paymantValid($a, $l[$i])
744750
745751 func $f0_2 ($a,$i) = if (($i >= $s))
746752 then $a
747753 else throw("List size exceeds 10")
748754
749755 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
750756 }
751757
752758 if (!(validPayments(paymentsSize)))
753759 then throw()
754760 else {
755761 let suspicious = checkSuspicious()
756762 if (suspicious._1)
757763 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, payments))
758764 else {
759765 func parsePayments (acc,assetId) = {
760- let $t01647416500 = acc
761- let newBalances = $t01647416500._1
762- let i = $t01647416500._2
766+ let $t01659416620 = acc
767+ let newBalances = $t01659416620._1
768+ let i = $t01659416620._2
763769 func parsePayment (newBalance,payment) = if ((getStrAssetId(payment.assetId) == assetId))
764770 then (newBalance + payment.amount)
765771 else newBalance
766772
767773 let newBalace = {
768774 let $l = payments
769775 let $s = size($l)
770776 let $acc0 = xp[i]
771777 func $f0_1 ($a,$i) = if (($i >= $s))
772778 then $a
773779 else parsePayment($a, $l[$i])
774780
775781 func $f0_2 ($a,$i) = if (($i >= $s))
776782 then $a
777783 else throw("List size exceeds 10")
778784
779785 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
780786 }
781787 $Tuple2((newBalances :+ newBalace), (i + 1))
782788 }
783789
784- let $t01685016917 = {
790+ let $t01697017037 = {
785791 let $l = assetIds
786792 let $s = size($l)
787793 let $acc0 = $Tuple2(nil, 0)
788794 func $f0_1 ($a,$i) = if (($i >= $s))
789795 then $a
790796 else parsePayments($a, $l[$i])
791797
792798 func $f0_2 ($a,$i) = if (($i >= $s))
793799 then $a
794800 else throw("List size exceeds 10")
795801
796802 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
797803 }
798- let newBalances = $t01685016917._1
799- let k = $t01685016917._2
804+ let newBalances = $t01697017037._1
805+ let k = $t01697017037._2
800806 if (checkDAppThreshold(newBalances))
801807 then throw()
802808 else {
803809 let D1 = getDMem(newBalances, amp)
804810 if (assert((D1 > D0)))
805811 then throw("D1 > D0")
806812 else {
807813 let feeDiscount = calculateFeeDiscount(msg.caller)
808814 func calcScriptActions (acc,newBalance) = {
809- let $t01723717278 = acc
810- let invBalances = $t01723717278._1
811- let scriptActions = $t01723717278._2
812- let i = $t01723717278._3
815+ let $t01735717398 = acc
816+ let invBalances = $t01735717398._1
817+ let scriptActions = $t01735717398._2
818+ let i = $t01735717398._3
813819 if ((shareSupply > 0))
814820 then {
815821 let _fee = ((fraction(fee, feeDiscount, feeScale6, CEILING) * nCoins) / (4 * (nCoins - 1)))
816822 let fees = {
817823 let idealBalance = fraction(D1, xp[i], D0)
818824 let difference = if ((idealBalance > newBalance))
819825 then (idealBalance - newBalance)
820826 else (newBalance - idealBalance)
821827 fraction(_fee, difference, feeScale6)
822828 }
823829 let governanceFees = fraction(fees, feeGovernance, feeScale6)
824830 let finalBalance = (newBalance - fees)
825831 let invariantBalance = (newBalance - fees)
826832 let pmt = (newBalance - xp[i])
827833 let lpFees = (fees - governanceFees)
828834 let inv = if ((pmt > 0))
829835 then stake((pmt - fees), assetIds[i])
830836 else unstake(fees, assetIds[i])
831837 if ((inv == inv))
832838 then {
833839 let airdrop = if ((lpFees > 0))
834840 then invoke(lpFarmingAddress, "airDrop", nil, [AttachedPayment(fromBase58String(assetIds[i]), lpFees)])
835841 else 0
836842 if ((airdrop == airdrop))
837843 then $Tuple3((invBalances :+ invariantBalance), (scriptActions ++ [ScriptTransfer(moneyBoxAddress, governanceFees, fromBase58String(assetIds[i])), IntegerEntry((assetIds[i] + kAssetBalance), finalBalance)]), (i + 1))
838844 else throw("Strict value is not equal to itself.")
839845 }
840846 else throw("Strict value is not equal to itself.")
841847 }
842848 else {
843849 let inv = stake(newBalance, assetIds[i])
844850 if ((inv == inv))
845851 then $Tuple3((invBalances :+ newBalance), (scriptActions :+ IntegerEntry((assetIds[i] + kAssetBalance), newBalance)), (i + 1))
846852 else throw("Strict value is not equal to itself.")
847853 }
848854 }
849855
850- let $t01898319071 = {
856+ let $t01910319191 = {
851857 let $l = newBalances
852858 let $s = size($l)
853859 let $acc0 = $Tuple3(nil, nil, 0)
854860 func $f1_1 ($a,$i) = if (($i >= $s))
855861 then $a
856862 else calcScriptActions($a, $l[$i])
857863
858864 func $f1_2 ($a,$i) = if (($i >= $s))
859865 then $a
860866 else throw("List size exceeds 10")
861867
862868 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
863869 }
864- let invBalances = $t01898319071._1
865- let scriptActions = $t01898319071._2
870+ let invBalances = $t01910319191._1
871+ let scriptActions = $t01910319191._2
866872 let D2 = getDMem(invBalances, amp)
867873 let mint_amount = if ((shareSupply == 0))
868874 then D1
869875 else fraction(shareSupply, (D2 - D0), D0)
870876 if (assert((mint_amount >= minMintAmount)))
871877 then throw("Slippage screwed you")
872878 else if (stakeFarming)
873879 then {
874880 let re = invoke(this, "reissueShare", [mint_amount], nil)
875881 if ((re == re))
876882 then {
877- let s = invoke(farmingAddress, "lockShareTokens", [toString(this), lockType], ([AttachedPayment(shareAssetId, mint_amount)] ++ lockFee))
883+ let s = invoke(farmingAddress, "lockShareTokensFromPool", [msg.caller.bytes, toString(this), lockType], ([AttachedPayment(shareAssetId, mint_amount)] ++ lockFee))
878884 if ((s == s))
879885 then (scriptActions :+ IntegerEntry(kShareAssetSupply, (shareSupply + mint_amount)))
880886 else throw("Strict value is not equal to itself.")
881887 }
882888 else throw("Strict value is not equal to itself.")
883889 }
884890 else (scriptActions ++ [Reissue(shareAssetId, mint_amount, true), ScriptTransfer(msg.caller, mint_amount, shareAssetId), IntegerEntry(kShareAssetSupply, (shareSupply + mint_amount))])
885891 }
886892 }
887893 }
888894 }
889895 })
890896
891897
892898
893899 @Callable(msg)
894900 func calcMintAmount (newBalances,user) = {
895901 let amp = _A()
896902 let xp = _xp()
897903 let D1 = getDMem(newBalances, amp)
898904 if ((shareSupply == 0))
899905 then $Tuple2(nil, D1)
900906 else {
901907 let D0 = getDMem(xp, amp)
902908 let feeDiscount = calculateFeeDiscount(user)
903909 func calcInvBalances (acc,newBalance) = {
904- let $t02032120347 = acc
905- let invBalances = $t02032120347._1
906- let i = $t02032120347._2
910+ let $t02046720493 = acc
911+ let invBalances = $t02046720493._1
912+ let i = $t02046720493._2
907913 let _fee = ((fraction(fee, feeDiscount, feeScale6, CEILING) * nCoins) / (4 * (nCoins - 1)))
908914 let fees = {
909915 let idealBalance = fraction(D1, xp[i], D0)
910916 let difference = if ((idealBalance > newBalance))
911917 then (idealBalance - newBalance)
912918 else (newBalance - idealBalance)
913919 fraction(_fee, difference, feeScale6)
914920 }
915921 let invariantBalance = (newBalance - fees)
916922 $Tuple2((invBalances :+ invariantBalance), (i + 1))
917923 }
918924
919- let $t02094921019 = {
925+ let $t02109521165 = {
920926 let $l = newBalances
921927 let $s = size($l)
922928 let $acc0 = $Tuple2(nil, 0)
923929 func $f0_1 ($a,$i) = if (($i >= $s))
924930 then $a
925931 else calcInvBalances($a, $l[$i])
926932
927933 func $f0_2 ($a,$i) = if (($i >= $s))
928934 then $a
929935 else throw("List size exceeds 10")
930936
931937 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
932938 }
933- let invBalances = $t02094921019._1
934- let k = $t02094921019._2
939+ let invBalances = $t02109521165._1
940+ let k = $t02109521165._2
935941 let D2 = getDMem(invBalances, amp)
936942 let mintAmount = fraction(shareSupply, (D2 - D0), D0)
937943 $Tuple2(nil, mintAmount)
938944 }
939945 }
940946
941947
942948
943949 @Callable(msg)
944950 func reissueShare (amount) = valueOrElse(isSelfCall(msg), [Reissue(shareAssetId, amount, true)])
945951
946952
947953
948954 @Callable(msg)
949955 func getDy (assetFrom,assetTo,dx,userAddress) = {
950956 let xp = _xp()
951957 let fromIndex = valueOrErrorMessage(indexOf(assetIds, assetFrom), "unknown token in")
952958 let toIndex = valueOrErrorMessage(indexOf(assetIds, assetTo), "unknown token out")
953959 let x = (xp[fromIndex] + dx)
954960 let y = getY(fromIndex, toIndex, x, xp)
955961 let dy = ((xp[toIndex] - y) - 1)
956962 let feeDiscount = calculateFeeDiscount(Address(fromBase58String(userAddress)))
957963 let _fee = fraction(fraction(fee, feeDiscount, feeScale6, CEILING), dy, feeScale6)
958964 $Tuple2(nil, $Tuple2((dy - _fee), _fee))
959965 }
960966
961967
962968
963969 @Callable(msg)
964970 func exchange (tokenOut,min_dy) = valueOrElse(isActive(), if ((size(msg.payments) != 1))
965971 then throw("size(payments) != 1")
966972 else {
967973 let suspicious = checkSuspicious()
968974 if (suspicious._1)
969975 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, msg.payments))
970976 else {
971977 let payment = msg.payments[0]
972978 let tokenIn = getStrAssetId(payment.assetId)
973979 let tokenOutB58 = fromBase58String(tokenOut)
974980 let dx = payment.amount
975981 let fromIndex = valueOrErrorMessage(indexOf(assetIds, tokenIn), "unknown token in")
976982 let toIndex = valueOrErrorMessage(indexOf(assetIds, tokenOut), "unknown token out")
977983 let xp = _xp()
978984 let x = (xp[fromIndex] + dx)
979985 let y = getY(fromIndex, toIndex, x, xp)
980986 let _dy = ((xp[toIndex] - y) - 1)
981987 let feeDiscount = calculateFeeDiscount(msg.originCaller)
982988 let _fee = fraction(_dy, fraction(fee, feeDiscount, feeScale6, CEILING), feeScale6)
983989 let dy = (_dy - _fee)
984990 let governanceFees = fraction(_fee, feeGovernance, feeScale6)
985991 if (assert((dy >= min_dy)))
986992 then throw("Exchange resulted in fewer coins than expected")
987993 else {
988994 func makeNewBalances (acc,tokenBalance) = {
989- let $t02306023086 = acc
990- let newBalances = $t02306023086._1
991- let i = $t02306023086._2
995+ let $t02320623232 = acc
996+ let newBalances = $t02320623232._1
997+ let i = $t02320623232._2
992998 if ((i == fromIndex))
993999 then $Tuple2((newBalances :+ (tokenBalance + dx)), (i + 1))
9941000 else if ((i == toIndex))
9951001 then $Tuple2((newBalances :+ (tokenBalance - _dy)), (i + 1))
9961002 else $Tuple2((newBalances :+ tokenBalance), (i + 1))
9971003 }
9981004
999- let $t02333723398 = {
1005+ let $t02348323544 = {
10001006 let $l = xp
10011007 let $s = size($l)
10021008 let $acc0 = $Tuple2(nil, 0)
10031009 func $f0_1 ($a,$i) = if (($i >= $s))
10041010 then $a
10051011 else makeNewBalances($a, $l[$i])
10061012
10071013 func $f0_2 ($a,$i) = if (($i >= $s))
10081014 then $a
10091015 else throw("List size exceeds 10")
10101016
10111017 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
10121018 }
1013- let newBalances = $t02333723398._1
1014- let i = $t02333723398._2
1019+ let newBalances = $t02348323544._1
1020+ let i = $t02348323544._2
10151021 if (checkDAppThreshold(newBalances))
10161022 then throw()
10171023 else {
10181024 let s = stake(payment.amount, getStrAssetId(payment.assetId))
10191025 if ((s == s))
10201026 then {
10211027 let us = unstake(_dy, tokenOut)
10221028 if ((us == us))
10231029 then {
10241030 let lpFees = (_fee - governanceFees)
10251031 let airdrop = if ((lpFees > 0))
10261032 then invoke(lpFarmingAddress, "airDrop", nil, [AttachedPayment(tokenOutB58, lpFees)])
10271033 else 0
10281034 if ((airdrop == airdrop))
10291035 then $Tuple2([IntegerEntry((tokenIn + kAssetBalance), x), IntegerEntry((tokenOut + kAssetBalance), (xp[toIndex] - _dy)), ScriptTransfer(msg.caller, dy, tokenOutB58), ScriptTransfer(moneyBoxAddress, governanceFees, tokenOutB58)], [dy, tokenOutB58])
10301036 else throw("Strict value is not equal to itself.")
10311037 }
10321038 else throw("Strict value is not equal to itself.")
10331039 }
10341040 else throw("Strict value is not equal to itself.")
10351041 }
10361042 }
10371043 }
10381044 })
10391045
10401046
10411047
10421048 @Callable(msg)
10431049 func withdraw (minAmounts) = valueOrElse(isActive(), if ((size(msg.payments) != 1))
10441050 then throw("size(payments) != 1")
10451051 else {
10461052 let pmtAmount = msg.payments[0].amount
10471053 let pmtAssetId = msg.payments[0].assetId
10481054 if ((shareAssetId != pmtAssetId))
10491055 then throw("unknown payment token")
10501056 else {
10511057 let suspicious = checkSuspicious()
10521058 if (suspicious._1)
10531059 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.originCaller, msg.payments))
10541060 else {
10551061 func calcScriptActions (acc,balance) = {
1056- let $t02468924717 = acc
1057- let scriptActions = $t02468924717._1
1058- let i = $t02468924717._2
1062+ let $t02483524863 = acc
1063+ let scriptActions = $t02483524863._1
1064+ let i = $t02483524863._2
10591065 let wAmount = fraction(balance, pmtAmount, shareSupply)
10601066 if (assert((wAmount >= minAmounts[i])))
10611067 then throw("Withdrawal resulted in fewer coins than expected")
10621068 else {
10631069 let us = unstake(wAmount, assetIds[i])
10641070 if ((us == us))
10651071 then $Tuple2((scriptActions ++ [IntegerEntry((assetIds[i] + kAssetBalance), (balance - wAmount)), ScriptTransfer(msg.originCaller, wAmount, fromBase58String(assetIds[i]))]), (i + 1))
10661072 else throw("Strict value is not equal to itself.")
10671073 }
10681074 }
10691075
1070- let $t02520725275 = {
1076+ let $t02535325421 = {
10711077 let $l = _xp()
10721078 let $s = size($l)
10731079 let $acc0 = $Tuple2(nil, 0)
10741080 func $f0_1 ($a,$i) = if (($i >= $s))
10751081 then $a
10761082 else calcScriptActions($a, $l[$i])
10771083
10781084 func $f0_2 ($a,$i) = if (($i >= $s))
10791085 then $a
10801086 else throw("List size exceeds 10")
10811087
10821088 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
10831089 }
1084- let scriptActions = $t02520725275._1
1085- let i = $t02520725275._2
1090+ let scriptActions = $t02535325421._1
1091+ let i = $t02535325421._2
10861092 (scriptActions ++ [Burn(shareAssetId, pmtAmount), IntegerEntry(kShareAssetSupply, (shareSupply - pmtAmount))])
10871093 }
10881094 }
10891095 })
10901096
10911097
10921098
10931099 @Callable(msg)
10941100 func withdrawWithUnlock (minAmounts,unlockAmount) = valueOrElse(isActive(), if ((0 >= unlockAmount))
10951101 then throw("Unlock amount must be positive")
10961102 else {
10971103 let suspicious = checkSuspicious()
10981104 if (suspicious._1)
10991105 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, msg.payments))
11001106 else {
11011107 let pmtAmount = if ((size(msg.payments) > 0))
11021108 then if ((size(msg.payments) != 1))
11031109 then throw("size(payments) != 1")
11041110 else {
11051111 let pmtAssetId = msg.payments[0].assetId
11061112 if ((shareAssetId != pmtAssetId))
11071113 then throw("unknown payment token")
11081114 else msg.payments[0].amount
11091115 }
11101116 else 0
1111- let unlock = invoke(farmingAddress, "withdrawShareTokens", [toString(this), unlockAmount], nil)
1117+ let unlock = invoke(farmingAddress, "withdrawShareTokensFromPool", [msg.caller.bytes, toString(this), unlockAmount], nil)
11121118 if ((unlock == unlock))
11131119 then {
11141120 let withdrawAmount = (pmtAmount + unlockAmount)
11151121 let inv = invoke(this, "withdraw", [minAmounts], [AttachedPayment(shareAssetId, withdrawAmount)])
11161122 if ((inv == inv))
11171123 then nil
11181124 else throw("Strict value is not equal to itself.")
11191125 }
11201126 else throw("Strict value is not equal to itself.")
11211127 }
11221128 })
11231129
11241130
11251131
11261132 @Callable(msg)
11271133 func calcWithdrawOneCoin (tokenAmount,tokenOut,user) = if ((0 >= tokenAmount))
11281134 then throw("Amount must be positive")
11291135 else {
11301136 let i = valueOrErrorMessage(indexOf(assetIds, tokenOut), "unknown token out")
11311137 $Tuple2(nil, _calcWithdrawOneCoin(_xp(), tokenAmount, i, Address(fromBase58String(user)))._1)
11321138 }
11331139
11341140
11351141
11361142 @Callable(msg)
11371143 func withdrawOneCoin (tokenOut,minAmount) = valueOrElse(isActive(), if ((size(msg.payments) != 1))
11381144 then throw("size(payments) != 1")
11391145 else {
11401146 let suspicious = checkSuspicious()
11411147 if (suspicious._1)
11421148 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.originCaller, msg.payments))
11431149 else {
11441150 let pmtAmount = msg.payments[0].amount
11451151 let pmtAssetId = msg.payments[0].assetId
11461152 if ((pmtAssetId != shareAssetId))
11471153 then throw("unknown token")
11481154 else {
11491155 let outIndex = valueOrErrorMessage(indexOf(assetIds, tokenOut), "unknown token out")
11501156 let tokenOutB58 = fromBase58String(tokenOut)
11511157 let xp = _xp()
1152- let $t02730727389 = _calcWithdrawOneCoin(xp, pmtAmount, outIndex, msg.originCaller)
1153- let dy = $t02730727389._1
1154- let dy_fee = $t02730727389._2
1158+ let $t02747927561 = _calcWithdrawOneCoin(xp, pmtAmount, outIndex, msg.originCaller)
1159+ let dy = $t02747927561._1
1160+ let dy_fee = $t02747927561._2
11551161 if (assert((dy >= minAmount)))
11561162 then throw("Not enough coins removed")
11571163 else {
11581164 let governanceFees = fraction(dy_fee, feeGovernance, feeScale6)
11591165 let dy_and_fee = (dy + dy_fee)
11601166 func makeNewBalances (acc,tokenBalance) = {
1161- let $t02764727673 = acc
1162- let newBalances = $t02764727673._1
1163- let i = $t02764727673._2
1167+ let $t02781927845 = acc
1168+ let newBalances = $t02781927845._1
1169+ let i = $t02781927845._2
11641170 if ((i == outIndex))
11651171 then $Tuple2((newBalances :+ (tokenBalance - dy_and_fee)), (i + 1))
11661172 else $Tuple2((newBalances :+ tokenBalance), (i + 1))
11671173 }
11681174
1169- let $t02784027901 = {
1175+ let $t02801228073 = {
11701176 let $l = xp
11711177 let $s = size($l)
11721178 let $acc0 = $Tuple2(nil, 0)
11731179 func $f0_1 ($a,$i) = if (($i >= $s))
11741180 then $a
11751181 else makeNewBalances($a, $l[$i])
11761182
11771183 func $f0_2 ($a,$i) = if (($i >= $s))
11781184 then $a
11791185 else throw("List size exceeds 10")
11801186
11811187 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
11821188 }
1183- let newBalances = $t02784027901._1
1184- let v = $t02784027901._2
1189+ let newBalances = $t02801228073._1
1190+ let v = $t02801228073._2
11851191 if (checkDAppThreshold(newBalances))
11861192 then throw()
11871193 else {
11881194 let us = unstake(dy_and_fee, tokenOut)
11891195 if ((us == us))
11901196 then {
11911197 let lpFees = (dy_fee - governanceFees)
11921198 let airdrop = if ((lpFees > 0))
11931199 then invoke(lpFarmingAddress, "airDrop", nil, [AttachedPayment(tokenOutB58, lpFees)])
11941200 else 0
11951201 if ((airdrop == airdrop))
11961202 then [ScriptTransfer(msg.originCaller, dy, tokenOutB58), IntegerEntry((assetIds[outIndex] + kAssetBalance), (xp[outIndex] - dy_and_fee)), Burn(shareAssetId, pmtAmount), ScriptTransfer(moneyBoxAddress, governanceFees, tokenOutB58), IntegerEntry(kShareAssetSupply, (shareSupply - pmtAmount))]
11971203 else throw("Strict value is not equal to itself.")
11981204 }
11991205 else throw("Strict value is not equal to itself.")
12001206 }
12011207 }
12021208 }
12031209 }
12041210 })
12051211
12061212
12071213
12081214 @Callable(msg)
12091215 func withdrawOneCoinWithUnlock (tokenOut,minAmount,unlockAmount) = valueOrElse(isActive(), if ((0 >= unlockAmount))
12101216 then throw("Unlock amount must be positive")
12111217 else {
12121218 let suspicious = checkSuspicious()
12131219 if (suspicious._1)
12141220 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, msg.payments))
12151221 else {
12161222 let pmtAmount = if ((size(msg.payments) > 0))
12171223 then if ((size(msg.payments) != 1))
12181224 then throw("size(payments) != 1")
12191225 else {
12201226 let pmtAssetId = msg.payments[0].assetId
12211227 if ((shareAssetId != pmtAssetId))
12221228 then throw("unknown payment token")
12231229 else msg.payments[0].amount
12241230 }
12251231 else 0
1226- let unlock = invoke(farmingAddress, "withdrawShareTokens", [toString(this), unlockAmount], nil)
1232+ let unlock = invoke(farmingAddress, "withdrawShareTokensFromPool", [msg.caller.bytes, toString(this), unlockAmount], nil)
12271233 if ((unlock == unlock))
12281234 then {
12291235 let withdrawAmount = (pmtAmount + unlockAmount)
12301236 let inv = invoke(this, "withdrawOneCoin", [tokenOut, minAmount], [AttachedPayment(shareAssetId, withdrawAmount)])
12311237 if ((inv == inv))
12321238 then nil
12331239 else throw("Strict value is not equal to itself.")
12341240 }
12351241 else throw("Strict value is not equal to itself.")
12361242 }
12371243 })
12381244
12391245
12401246
12411247 @Callable(msg)
12421248 func A () = $Tuple2(nil, _A())
12431249
12441250
12451251
12461252 @Callable(msg)
12471253 func getVirtualPrice () = {
12481254 let D = get_D(_xp(), _A())
12491255 $Tuple2(nil, fraction(D, PRECISION, shareSupply))
12501256 }
12511257
12521258
12531259
12541260 @Callable(msg)
12551261 func calcTokenAmount (amounts,deposit) = {
12561262 let amp = _A()
12571263 let balances = _xp()
12581264 let D0 = getDMem(balances, amp)
12591265 func calcNewBalances (acc,balance) = {
1260- let $t02991829944 = acc
1261- let newBalances = $t02991829944._1
1262- let i = $t02991829944._2
1266+ let $t03011630142 = acc
1267+ let newBalances = $t03011630142._1
1268+ let i = $t03011630142._2
12631269 let newBalance = (balance + (if (deposit)
12641270 then amounts[i]
12651271 else -(amounts[i])))
12661272 $Tuple2((newBalances :+ newBalance), (i + 1))
12671273 }
12681274
12691275 let newBalances = ( let $l = balances
12701276 let $s = size($l)
12711277 let $acc0 = $Tuple2(nil, 0)
12721278 func $f0_1 ($a,$i) = if (($i >= $s))
12731279 then $a
12741280 else calcNewBalances($a, $l[$i])
12751281
12761282 func $f0_2 ($a,$i) = if (($i >= $s))
12771283 then $a
12781284 else throw("List size exceeds 10")
12791285
12801286 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10))._1
12811287 let D1 = getDMem(newBalances, amp)
12821288 let diff = if (deposit)
12831289 then (D1 - D0)
12841290 else (D0 - D1)
12851291 $Tuple2(nil, fraction(diff, shareSupply, D0))
12861292 }
12871293
12881294
12891295
12901296 @Callable(msg)
12911297 func rampA (_futureA,_futureTime) = valueOrElse(isActive(), valueOrElse(isAdminCall(msg), if (assert((blockTimestamp >= (initial_A_time + MIN_RAMP_TIME))))
12921298 then throw("too often")
12931299 else if (assert((_futureTime >= (blockTimestamp + MIN_RAMP_TIME))))
12941300 then throw("insufficient time")
12951301 else {
12961302 let _initial_A = _A()
12971303 if (assert(if ((_futureA > 0))
12981304 then (MAX_A > _futureA)
12991305 else false))
13001306 then throw("out of base range")
13011307 else if (assert(if (if ((_futureA >= _initial_A))
13021308 then ((_initial_A * MAX_A_CHANGE) >= _futureA)
13031309 else false)
13041310 then true
13051311 else if ((_initial_A > _futureA))
13061312 then ((_futureA * MAX_A_CHANGE) >= _initial_A)
13071313 else false))
13081314 then throw("out of range")
13091315 else [IntegerEntry("initial_A", _initial_A), IntegerEntry("future_A", _futureA), IntegerEntry("initial_A_time", blockTimestamp), IntegerEntry("future_A_time", _futureTime)]
13101316 }))
13111317
13121318
13131319
13141320 @Callable(msg)
13151321 func stopRampA () = valueOrElse(isActive(), valueOrElse(isAdminCall(msg), {
13161322 let currentA = _A()
13171323 [IntegerEntry("initial_A", currentA), IntegerEntry("future_A", currentA), IntegerEntry("initial_A_time", blockTimestamp), IntegerEntry("future_A_time", blockTimestamp)]
13181324 }))
13191325
13201326
13211327
13221328 @Callable(msg)
13231329 func shutdown () = valueOrElse(isAdminCall(msg), if (!(active))
13241330 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
13251331 else suspend("Paused by admin"))
13261332
13271333
13281334
13291335 @Callable(msg)
13301336 func activate () = valueOrElse(isAdminCall(msg), if (active)
13311337 then throwIsActive()
13321338 else [BooleanEntry(kActive, true), DeleteEntry(kCause)])
13331339
13341340
13351341
13361342 @Callable(msg)
13371343 func takeIntoAccountExtraFunds () = valueOrElse(isActive(), if ((msg.caller != moneyBoxAddress))
13381344 then throw("Only the wallet can call this function")
13391345 else {
13401346 let balances = _xp()
13411347 func takeExtraFunds (acc,assetId) = {
1342- let $t03228632304 = acc
1343- let sum = $t03228632304._1
1344- let i = $t03228632304._2
1348+ let $t03248432502 = acc
1349+ let sum = $t03248432502._1
1350+ let i = $t03248432502._2
13451351 let tokenB58 = fromBase58String(assetId)
13461352 let rBalance = (assetBalance(this, tokenB58) + stakedAmount(tokenB58))
13471353 let enrollAmount = (rBalance - balances[i])
13481354 if ((0 > enrollAmount))
13491355 then suspend(("Enroll amount negative for asset" + assetId))
13501356 else {
13511357 let airdrop = if ((enrollAmount > 0))
13521358 then invoke(lpFarmingAddress, "airDrop", nil, [AttachedPayment(tokenB58, enrollAmount)])
13531359 else 0
13541360 if ((airdrop == airdrop))
13551361 then $Tuple2((sum + enrollAmount), (i + 1))
13561362 else throw("Strict value is not equal to itself.")
13571363 }
13581364 }
13591365
13601366 let k = {
13611367 let $l = assetIds
13621368 let $s = size($l)
13631369 let $acc0 = $Tuple2(0, 0)
13641370 func $f0_1 ($a,$i) = if (($i >= $s))
13651371 then $a
13661372 else takeExtraFunds($a, $l[$i])
13671373
13681374 func $f0_2 ($a,$i) = if (($i >= $s))
13691375 then $a
13701376 else throw("List size exceeds 10")
13711377
13721378 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
13731379 }
13741380 if ((k._1 == 0))
13751381 then throw("No money to take")
13761382 else nil
13771383 })
13781384
13791385
13801386 @Verifier(tx)
13811387 func verify () = {
13821388 let multiSignedByAdmins = {
13831389 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
13841390 then 1
13851391 else 0
13861392 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
13871393 then 1
13881394 else 0
13891395 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
13901396 then 1
13911397 else 0
13921398 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
13931399 }
13941400 match tx {
13951401 case inv: InvokeScriptTransaction =>
13961402 let callTakeIntoAccount = if ((inv.dApp == this))
13971403 then (inv.function == "takeIntoAccountExtraFunds")
13981404 else false
13991405 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
14001406 then true
14011407 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
14021408 then true
14031409 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
14041410 then true
14051411 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyInvoke)
14061412 if (if (callTakeIntoAccount)
14071413 then signedByAdmin
14081414 else false)
14091415 then true
14101416 else multiSignedByAdmins
14111417 case _ =>
14121418 multiSignedByAdmins
14131419 }
14141420 }
14151421

github/deemru/w8io/026f985 
410.51 ms