tx · BXfokRxppsvXsqzk7WojTJEsyZWQfP3g4RaYYp2S9UEQ

3NBH3LGg2DsaEtyBr495XEdaFuiLYSNyr3k:  -0.05100000 Waves

2022.07.15 09:25 [2140492] smart account 3NBH3LGg2DsaEtyBr495XEdaFuiLYSNyr3k > SELF 0.00000000 Waves

{ "type": 13, "id": "BXfokRxppsvXsqzk7WojTJEsyZWQfP3g4RaYYp2S9UEQ", "fee": 5100000, "feeAssetId": null, "timestamp": 1657866375743, "version": 2, "chainId": 84, "sender": "3NBH3LGg2DsaEtyBr495XEdaFuiLYSNyr3k", "senderPublicKey": "6rHNfG82m33YnDLzeMuCFn5XNvbNwGhR4ovSFhgJvbxP", "proofs": [ "roFpUxHyvrjVmbTo4NyUWm6VXEr9khZqndX6nAoKuDb3heXxEj3oTsbtWARmjbV9CXsPREeNywtEbJSYTiYoAVm" ], "script": "base64:AAIFAAAAAAAAAEkIAhIAEgASCQoHAQEBAQEBARIOCgwBAQEBAQEBCAgIAQESBQoDAQEBEgUKAwEBARIAEgMKAQESABIDCgEIEgASAwoBCBIDCgEIAAAAdgAAAAAJa19vcmFfa2V5AgAAAAlrX29yYV9rZXkAAAAAD2tfb3JhX2Jsb2NrX2tleQIAAAAPa19vcmFfYmxvY2tfa2V5AAAAAAVrX29yYQIAAAAFa19vcmEAAAAACWtfYmFsYW5jZQIAAAAJa19iYWxhbmNlAAAAAA5rX3Bvc2l0aW9uU2l6ZQIAAAAOa19wb3NpdGlvblNpemUAAAAAEGtfcG9zaXRpb25NYXJnaW4CAAAAEGtfcG9zaXRpb25NYXJnaW4AAAAAFmtfcG9zaXRpb25PcGVuTm90aW9uYWwCAAAAFmtfcG9zaXRpb25PcGVuTm90aW9uYWwAAAAALmtfcG9zaXRpb25MYXN0VXBkYXRlZEN1bXVsYXRpdmVQcmVtaXVtRnJhY3Rpb24CAAAAEmtfcG9zaXRpb25GcmFjdGlvbgAAAAANa19pbml0aWFsaXplZAIAAAANa19pbml0aWFsaXplZAAAAAAIa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heW1lbnQJAQAAAAFzAAAAAQkBAAAADmdldE1hcmdpblJhdGlvAAAAAQUAAAAHX3RyYWRlcgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQEAAAAOYWRtaW5QdWJsaWNLZXkAAAAA7dwFyw==", "height": 2140492, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4SxG4K8CNS5kMU77mT78gsxVpvghVjjbAzQd4Ntk1CSQ Next: FrE3mWfFPuswBQTHkzU7hQhMeDbPitpQJ8TwmbBpcWzH Diff:
OldNewDifferences
140140 func abs (_x) = if ((_x > 0))
141141 then _x
142142 else -(_x)
143+
144+
145+func vmax (_x,_y) = if ((_x >= _y))
146+ then _x
147+ else _y
143148
144149
145150 func toCompositeKey (_key,_address) = ((_key + "_") + _address)
318323 if ((priceImpact > maxPriceImpactValue))
319324 then throw(((("Price impact " + toString(priceImpact)) + " > max price impact ") + toString(maxPriceImpactValue)))
320325 else {
321- let $t01209412297 = updateReserve(_isAdd, _quoteAssetAmount, amountBaseAssetBoughtAbs)
322- let quoteAssetReserveAfter1 = $t01209412297._1
323- let baseAssetReserveAfter1 = $t01209412297._2
324- let totalPositionSizeAfter1 = $t01209412297._3
325- let cumulativeNotionalAfter1 = $t01209412297._4
326+ let $t01215412357 = updateReserve(_isAdd, _quoteAssetAmount, amountBaseAssetBoughtAbs)
327+ let quoteAssetReserveAfter1 = $t01215412357._1
328+ let baseAssetReserveAfter1 = $t01215412357._2
329+ let totalPositionSizeAfter1 = $t01215412357._3
330+ let cumulativeNotionalAfter1 = $t01215412357._4
326331 $Tuple5(amountBaseAssetBought, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1)
327332 }
328333 }
336341 }
337342 else 0
338343 let signedMargin = ((_marginDelta - fundingPayment) + _oldPositionMargin)
339- let $t01304413171 = if ((0 > signedMargin))
344+ let $t01310413231 = if ((0 > signedMargin))
340345 then $Tuple2(0, abs(signedMargin))
341346 else $Tuple2(abs(signedMargin), 0)
342- let remainMargin = $t01304413171._1
343- let badDebt = $t01304413171._2
347+ let remainMargin = $t01310413231._1
348+ let badDebt = $t01310413231._2
344349 $Tuple3(remainMargin, badDebt, fundingPayment)
345350 }
346351
357362 else (_baseAssetReserve - _baseAssetAmount)
358363 let quoteAssetAfter = divd(k, baseAssetPoolAmountAfter)
359364 let quoteAssetSold = abs((quoteAssetAfter - _quoteAssetReserve))
360- let $t01400914202 = updateReserve(!(_isAdd), quoteAssetSold, _baseAssetAmount)
361- let quoteAssetReserveAfter1 = $t01400914202._1
362- let baseAssetReserveAfter1 = $t01400914202._2
363- let totalPositionSizeAfter1 = $t01400914202._3
364- let cumulativeNotionalAfter1 = $t01400914202._4
365+ let $t01406914262 = updateReserve(!(_isAdd), quoteAssetSold, _baseAssetAmount)
366+ let quoteAssetReserveAfter1 = $t01406914262._1
367+ let baseAssetReserveAfter1 = $t01406914262._2
368+ let totalPositionSizeAfter1 = $t01406914262._3
369+ let cumulativeNotionalAfter1 = $t01406914262._4
365370 $Tuple7(quoteAssetSold, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1, (totalLongPositionSize() - (if (_isAdd)
366371 then abs(_baseAssetAmount)
367372 else 0)), (totalShortPositionSize() - (if (!(_isAdd))
395400
396401
397402 func getPositionNotionalAndUnrealizedPnl (_trader,_option) = {
398- let $t01583415962 = getPosition(_trader)
399- let positionSize = $t01583415962._1
400- let positionMargin = $t01583415962._2
401- let positionOpenNotional = $t01583415962._3
402- let positionLstUpdCPF = $t01583415962._4
403+ let $t01589416022 = getPosition(_trader)
404+ let positionSize = $t01589416022._1
405+ let positionMargin = $t01589416022._2
406+ let positionOpenNotional = $t01589416022._3
407+ let positionLstUpdCPF = $t01589416022._4
403408 let positionSizeAbs = abs(positionSize)
404409 if ((positionSizeAbs == 0))
405410 then throw("Invalid position size")
407412 let isShort = (0 > positionSize)
408413 let positionNotional = if ((_option == PNL_OPTION_SPOT))
409414 then {
410- let $t01620916316 = swapOutput(!(isShort), positionSizeAbs)
411- let outPositionNotional = $t01620916316._1
412- let x1 = $t01620916316._2
413- let x2 = $t01620916316._3
414- let x3 = $t01620916316._4
415+ let $t01626916376 = swapOutput(!(isShort), positionSizeAbs)
416+ let outPositionNotional = $t01626916376._1
417+ let x1 = $t01626916376._2
418+ let x2 = $t01626916376._3
419+ let x3 = $t01626916376._4
415420 outPositionNotional
416421 }
417- else (positionSizeAbs * getOracleTwapPrice())
422+ else muld(positionSizeAbs, getOracleTwapPrice())
418423 let unrealizedPnl = if (isShort)
419424 then (positionOpenNotional - positionNotional)
420425 else (positionNotional - positionOpenNotional)
427432
428433
429434 func getMarginRatioByOption (_trader,_option) = {
430- let $t01698117092 = getPosition(_trader)
431- let positionSize = $t01698117092._1
432- let positionMargin = $t01698117092._2
433- let pon = $t01698117092._3
434- let positionLstUpdCPF = $t01698117092._4
435- let $t01709817191 = getPositionNotionalAndUnrealizedPnl(_trader, _option)
436- let positionNotional = $t01709817191._1
437- let unrealizedPnl = $t01709817191._2
438- let $t01719617362 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
439- let remainMargin = $t01719617362._1
440- let badDebt = $t01719617362._2
435+ let $t01704617157 = getPosition(_trader)
436+ let positionSize = $t01704617157._1
437+ let positionMargin = $t01704617157._2
438+ let pon = $t01704617157._3
439+ let positionLstUpdCPF = $t01704617157._4
440+ let $t01716317256 = getPositionNotionalAndUnrealizedPnl(_trader, _option)
441+ let positionNotional = $t01716317256._1
442+ let unrealizedPnl = $t01716317256._2
443+ let $t01726117427 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
444+ let remainMargin = $t01726117427._1
445+ let badDebt = $t01726117427._2
441446 calcMarginRatio(remainMargin, badDebt, positionNotional)
442447 }
443448
446451
447452
448453 func internalClosePosition (_trader) = {
449- let $t01767817789 = getPosition(_trader)
450- let positionSize = $t01767817789._1
451- let positionMargin = $t01767817789._2
452- let pon = $t01767817789._3
453- let positionLstUpdCPF = $t01767817789._4
454- let $t01779517882 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
455- let x1 = $t01779517882._1
456- let unrealizedPnl = $t01779517882._2
457- let $t01788718055 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
458- let remainMargin = $t01788718055._1
459- let badDebt = $t01788718055._2
454+ let $t01774317871 = getPosition(_trader)
455+ let positionSize = $t01774317871._1
456+ let positionMargin = $t01774317871._2
457+ let positionOpenNotional = $t01774317871._3
458+ let positionLstUpdCPF = $t01774317871._4
459+ let $t01787717964 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
460+ let x1 = $t01787717964._1
461+ let unrealizedPnl = $t01787717964._2
462+ let $t01796918137 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
463+ let remainMargin = $t01796918137._1
464+ let badDebt = $t01796918137._2
460465 let exchangedPositionSize = -(positionSize)
461466 let realizedPnl = unrealizedPnl
462467 let marginToVault = -(remainMargin)
463- let $t01818218463 = swapOutput((positionSize > 0), abs(positionSize))
464- let exchangedQuoteAssetAmount = $t01818218463._1
465- let quoteAssetReserveAfter = $t01818218463._2
466- let baseAssetReserveAfter = $t01818218463._3
467- let totalPositionSizeAfter = $t01818218463._4
468- let cumulativeNotionalAfter = $t01818218463._5
469- let totalLongAfter = $t01818218463._6
470- let totalShortAfter = $t01818218463._7
471- let openInterestNotionalAfter = (openInterestNotional() - pon)
468+ let $t01826418545 = swapOutput((positionSize > 0), abs(positionSize))
469+ let exchangedQuoteAssetAmount = $t01826418545._1
470+ let quoteAssetReserveAfter = $t01826418545._2
471+ let baseAssetReserveAfter = $t01826418545._3
472+ let totalPositionSizeAfter = $t01826418545._4
473+ let cumulativeNotionalAfter = $t01826418545._5
474+ let totalLongAfter = $t01826418545._6
475+ let totalShortAfter = $t01826418545._7
476+ let openInterestNotionalAfter = (openInterestNotional() - positionOpenNotional)
472477 $Tuple12(exchangedPositionSize, badDebt, realizedPnl, marginToVault, quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, exchangedQuoteAssetAmount, totalLongAfter, totalShortAfter)
473478 }
474479
633638 else paused())
634639 then throw("Invalid decreasePosition parameters")
635640 else {
636- let $t02828728439 = getPosition(toString(i.caller))
637- let oldPositionSize = $t02828728439._1
638- let oldPositionMargin = $t02828728439._2
639- let oldPositionOpenNotional = $t02828728439._3
640- let oldPositionLstUpdCPF = $t02828728439._4
641+ let $t02838628538 = getPosition(toString(i.caller))
642+ let oldPositionSize = $t02838628538._1
643+ let oldPositionMargin = $t02838628538._2
644+ let oldPositionOpenNotional = $t02838628538._3
645+ let oldPositionLstUpdCPF = $t02838628538._4
641646 let _direction = if ((oldPositionSize > 0))
642647 then DIR_SHORT
643648 else DIR_LONG
644649 let isAdd = (_direction == DIR_LONG)
645650 let openNotional = muld(_amount, _leverage)
646- let $t02861228728 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
647- let oldPositionNotional = $t02861228728._1
648- let unrealizedPnl = $t02861228728._2
649- let $t02873431283 = if ((oldPositionNotional > openNotional))
651+ let $t02871128827 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
652+ let oldPositionNotional = $t02871128827._1
653+ let unrealizedPnl = $t02871128827._2
654+ let $t02883331382 = if ((oldPositionNotional > openNotional))
650655 then {
651- let $t02911129330 = swapInput(isAdd, openNotional)
652- let exchangedPositionSize = $t02911129330._1
653- let quoteAssetReserveAfter = $t02911129330._2
654- let baseAssetReserveAfter = $t02911129330._3
655- let totalPositionSizeAfter = $t02911129330._4
656- let cumulativeNotionalAfter = $t02911129330._5
656+ let $t02921029429 = swapInput(isAdd, openNotional)
657+ let exchangedPositionSize = $t02921029429._1
658+ let quoteAssetReserveAfter = $t02921029429._2
659+ let baseAssetReserveAfter = $t02921029429._3
660+ let totalPositionSizeAfter = $t02921029429._4
661+ let cumulativeNotionalAfter = $t02921029429._5
657662 let exchangedPositionSizeAbs = abs(exchangedPositionSize)
658663 if (if ((_minBaseAssetAmount != 0))
659664 then (_minBaseAssetAmount > exchangedPositionSizeAbs)
661666 then throw(((("Too little base asset exchanged, got " + toString(exchangedPositionSizeAbs)) + " expected ") + toString(_minBaseAssetAmount)))
662667 else {
663668 let realizedPnl = divd(muld(unrealizedPnl, exchangedPositionSizeAbs), abs(oldPositionSize))
664- let $t02976730012 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
665- let remainMargin = $t02976730012._1
666- let badDebt = $t02976730012._2
667- let fundingPayment = $t02976730012._3
669+ let $t02986630111 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
670+ let remainMargin = $t02986630111._1
671+ let badDebt = $t02986630111._2
672+ let fundingPayment = $t02986630111._3
668673 let exchangedQuoteAssetAmount = openNotional
669674 let unrealizedPnlAfter = (unrealizedPnl - realizedPnl)
670675 let remainOpenNotional = if ((oldPositionSize > 0))
679684 }
680685 }
681686 else throw("Close position first")
682- let newPositionSize = $t02873431283._1
683- let newPositionRemainMargin = $t02873431283._2
684- let newPositionOpenNotional = $t02873431283._3
685- let newPositionLatestCPF = $t02873431283._4
686- let baseAssetReserveAfter = $t02873431283._5
687- let quoteAssetReserveAfter = $t02873431283._6
688- let totalPositionSizeAfter = $t02873431283._7
689- let cumulativeNotionalAfter = $t02873431283._8
690- let openInterestNotionalAfter = $t02873431283._9
691- let totalLongAfter = $t02873431283._10
692- let totalShortAfter = $t02873431283._11
687+ let newPositionSize = $t02883331382._1
688+ let newPositionRemainMargin = $t02883331382._2
689+ let newPositionOpenNotional = $t02883331382._3
690+ let newPositionLatestCPF = $t02883331382._4
691+ let baseAssetReserveAfter = $t02883331382._5
692+ let quoteAssetReserveAfter = $t02883331382._6
693+ let totalPositionSizeAfter = $t02883331382._7
694+ let cumulativeNotionalAfter = $t02883331382._8
695+ let openInterestNotionalAfter = $t02883331382._9
696+ let totalLongAfter = $t02883331382._10
697+ let totalShortAfter = $t02883331382._11
693698 (updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPositionOpenNotional, newPositionLatestCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter))
694699 }
695700
719724 else {
720725 let feeAmount = muld(_rawAmount, fee())
721726 let _amount = (_rawAmount - feeAmount)
722- let $t03231932471 = getPosition(toString(i.caller))
723- let oldPositionSize = $t03231932471._1
724- let oldPositionMargin = $t03231932471._2
725- let oldPositionOpenNotional = $t03231932471._3
726- let oldPositionLstUpdCPF = $t03231932471._4
727+ let $t03241832570 = getPosition(toString(i.caller))
728+ let oldPositionSize = $t03241832570._1
729+ let oldPositionMargin = $t03241832570._2
730+ let oldPositionOpenNotional = $t03241832570._3
731+ let oldPositionLstUpdCPF = $t03241832570._4
727732 let isNewPosition = (oldPositionSize == 0)
728733 let isSameDirection = if ((oldPositionSize > 0))
729734 then (_direction == DIR_LONG)
732737 then isSameDirection
733738 else false
734739 let isAdd = (_direction == DIR_LONG)
735- let $t03276035149 = if (if (isNewPosition)
740+ let $t03285935248 = if (if (isNewPosition)
736741 then true
737742 else expandExisting)
738743 then {
739744 let openNotional = muld(_amount, _leverage)
740- let $t03318433390 = swapInput(isAdd, openNotional)
741- let amountBaseAssetBought = $t03318433390._1
742- let quoteAssetReserveAfter = $t03318433390._2
743- let baseAssetReserveAfter = $t03318433390._3
744- let totalPositionSizeAfter = $t03318433390._4
745- let cumulativeNotionalAfter = $t03318433390._5
745+ let $t03328333489 = swapInput(isAdd, openNotional)
746+ let amountBaseAssetBought = $t03328333489._1
747+ let quoteAssetReserveAfter = $t03328333489._2
748+ let baseAssetReserveAfter = $t03328333489._3
749+ let totalPositionSizeAfter = $t03328333489._4
750+ let cumulativeNotionalAfter = $t03328333489._5
746751 if (if ((_minBaseAssetAmount != 0))
747752 then (_minBaseAssetAmount > abs(amountBaseAssetBought))
748753 else false)
750755 else {
751756 let newPositionSize = (oldPositionSize + amountBaseAssetBought)
752757 let increaseMarginRequirement = divd(openNotional, _leverage)
753- let $t03377134010 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement)
754- let remainMargin = $t03377134010._1
755- let x1 = $t03377134010._2
756- let x2 = $t03377134010._3
758+ let $t03387034109 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement)
759+ let remainMargin = $t03387034109._1
760+ let x1 = $t03387034109._2
761+ let x2 = $t03387034109._3
757762 $Tuple11(newPositionSize, remainMargin, (oldPositionOpenNotional + openNotional), latestCumulativePremiumFraction(newPositionSize), baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInterestNotional() + openNotional), (totalLongPositionSize() + (if ((newPositionSize > 0))
758763 then abs(amountBaseAssetBought)
759764 else 0)), (totalShortPositionSize() + (if ((0 > newPositionSize))
763768 }
764769 else {
765770 let openNotional = muld(_amount, _leverage)
766- let $t03484234958 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
767- let oldPositionNotional = $t03484234958._1
768- let unrealizedPnl = $t03484234958._2
771+ let $t03494135057 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
772+ let oldPositionNotional = $t03494135057._1
773+ let unrealizedPnl = $t03494135057._2
769774 if ((oldPositionNotional > openNotional))
770775 then throw("Use decreasePosition to decrease position size")
771776 else throw("Close position first")
772777 }
773- let newPositionSize = $t03276035149._1
774- let newPositionRemainMargin = $t03276035149._2
775- let newPositionOpenNotional = $t03276035149._3
776- let newPositionLatestCPF = $t03276035149._4
777- let baseAssetReserveAfter = $t03276035149._5
778- let quoteAssetReserveAfter = $t03276035149._6
779- let totalPositionSizeAfter = $t03276035149._7
780- let cumulativeNotionalAfter = $t03276035149._8
781- let openInterestNotionalAfter = $t03276035149._9
782- let totalLongAfter = $t03276035149._10
783- let totalShortAfter = $t03276035149._11
778+ let newPositionSize = $t03285935248._1
779+ let newPositionRemainMargin = $t03285935248._2
780+ let newPositionOpenNotional = $t03285935248._3
781+ let newPositionLatestCPF = $t03285935248._4
782+ let baseAssetReserveAfter = $t03285935248._5
783+ let quoteAssetReserveAfter = $t03285935248._6
784+ let totalPositionSizeAfter = $t03285935248._7
785+ let cumulativeNotionalAfter = $t03285935248._8
786+ let openInterestNotionalAfter = $t03285935248._9
787+ let totalLongAfter = $t03285935248._10
788+ let totalShortAfter = $t03285935248._11
784789 let feeToStakers = (feeAmount / 2)
785790 let feeToInsurance = (feeAmount - feeToStakers)
786791 let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
811816 else {
812817 let feeAmount = muld(_rawAmount, fee())
813818 let _amount = (_rawAmount - feeAmount)
814- let $t03642536577 = getPosition(toString(i.caller))
815- let oldPositionSize = $t03642536577._1
816- let oldPositionMargin = $t03642536577._2
817- let oldPositionOpenNotional = $t03642536577._3
818- let oldPositionLstUpdCPF = $t03642536577._4
819+ let $t03652436676 = getPosition(toString(i.caller))
820+ let oldPositionSize = $t03652436676._1
821+ let oldPositionMargin = $t03652436676._2
822+ let oldPositionOpenNotional = $t03652436676._3
823+ let oldPositionLstUpdCPF = $t03652436676._4
819824 let feeToStakers = (feeAmount / 2)
820825 let feeToInsurance = (feeAmount - feeToStakers)
821826 let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
842847 else paused())
843848 then throw("Invalid removeMargin parameters")
844849 else {
845- let $t03749737649 = getPosition(toString(i.caller))
846- let oldPositionSize = $t03749737649._1
847- let oldPositionMargin = $t03749737649._2
848- let oldPositionOpenNotional = $t03749737649._3
849- let oldPositionLstUpdCPF = $t03749737649._4
850+ let $t03759637748 = getPosition(toString(i.caller))
851+ let oldPositionSize = $t03759637748._1
852+ let oldPositionMargin = $t03759637748._2
853+ let oldPositionOpenNotional = $t03759637748._3
854+ let oldPositionLstUpdCPF = $t03759637748._4
850855 let marginDelta = -(_amount)
851- let $t03768637865 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta)
852- let remainMargin = $t03768637865._1
853- let badDebt = $t03768637865._2
856+ let $t03778537964 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta)
857+ let remainMargin = $t03778537964._1
858+ let badDebt = $t03778537964._2
854859 if ((badDebt != 0))
855860 then throw("Invalid removed margin amount")
856861 else {
876881 else paused())
877882 then throw("Invalid closePosition parameters")
878883 else {
879- let $t03896139345 = internalClosePosition(toString(i.caller))
880- let x1 = $t03896139345._1
881- let positionBadDebt = $t03896139345._2
882- let realizedPnl = $t03896139345._3
883- let marginToVault = $t03896139345._4
884- let quoteAssetReserveAfter = $t03896139345._5
885- let baseAssetReserveAfter = $t03896139345._6
886- let totalPositionSizeAfter = $t03896139345._7
887- let cumulativeNotionalAfter = $t03896139345._8
888- let openInterestNotionalAfter = $t03896139345._9
889- let x2 = $t03896139345._10
890- let totalLongAfter = $t03896139345._11
891- let totalShortAfter = $t03896139345._12
884+ let $t03906039444 = internalClosePosition(toString(i.caller))
885+ let x1 = $t03906039444._1
886+ let positionBadDebt = $t03906039444._2
887+ let realizedPnl = $t03906039444._3
888+ let marginToVault = $t03906039444._4
889+ let quoteAssetReserveAfter = $t03906039444._5
890+ let baseAssetReserveAfter = $t03906039444._6
891+ let totalPositionSizeAfter = $t03906039444._7
892+ let cumulativeNotionalAfter = $t03906039444._8
893+ let openInterestNotionalAfter = $t03906039444._9
894+ let x2 = $t03906039444._10
895+ let totalLongAfter = $t03906039444._11
896+ let totalShortAfter = $t03906039444._12
892897 if ((positionBadDebt > 0))
893898 then throw("Unable to close position with bad debt")
894899 else {
895900 let withdrawAmount = abs(marginToVault)
896901 let ammBalance = (cbalance() - withdrawAmount)
897- let $t03955439696 = if ((0 > ammBalance))
902+ let $t03965339795 = if ((0 > ammBalance))
898903 then $Tuple2(0, abs(ammBalance))
899904 else $Tuple2(ammBalance, 0)
900- let ammNewBalance = $t03955439696._1
901- let getFromInsurance = $t03955439696._2
905+ let ammNewBalance = $t03965339795._1
906+ let getFromInsurance = $t03965339795._2
902907 let x = if ((getFromInsurance > 0))
903908 then {
904909 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [getFromInsurance], nil)
922927
923928 @Callable(i)
924929 func liquidate (_trader) = {
930+ let spotMarginRatio = getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
925931 let marginRatio = if (isOverFluctuationLimit())
926- then getMarginRatioByOption(_trader, PNL_OPTION_ORACLE)
927- else getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
932+ then {
933+ let oracleMarginRatio = getMarginRatioByOption(_trader, PNL_OPTION_ORACLE)
934+ vmax(spotMarginRatio, oracleMarginRatio)
935+ }
936+ else spotMarginRatio
928937 if (if (if (if (!(requireMoreMarginRatio(marginRatio, maintenanceMarginRatio(), false)))
929938 then true
930939 else !(requireOpenPosition(_trader)))
934943 else paused())
935944 then throw("Unable to liquidate")
936945 else {
937- let $t04113541562 = internalClosePosition(_trader)
938- let x1 = $t04113541562._1
939- let badDebt = $t04113541562._2
940- let x2 = $t04113541562._3
941- let marginToVault = $t04113541562._4
942- let quoteAssetReserveAfter = $t04113541562._5
943- let baseAssetReserveAfter = $t04113541562._6
944- let totalPositionSizeAfter = $t04113541562._7
945- let cumulativeNotionalAfter = $t04113541562._8
946- let openInterestNotionalAfter = $t04113541562._9
947- let exchangedQuoteAssetAmount = $t04113541562._10
948- let totalLongAfter = $t04113541562._11
949- let totalShortAfter = $t04113541562._12
946+ let $t04134341759 = internalClosePosition(_trader)
947+ let x1 = $t04134341759._1
948+ let badDebt = $t04134341759._2
949+ let x2 = $t04134341759._3
950+ let x3 = $t04134341759._4
951+ let quoteAssetReserveAfter = $t04134341759._5
952+ let baseAssetReserveAfter = $t04134341759._6
953+ let totalPositionSizeAfter = $t04134341759._7
954+ let cumulativeNotionalAfter = $t04134341759._8
955+ let openInterestNotionalAfter = $t04134341759._9
956+ let exchangedQuoteAssetAmount = $t04134341759._10
957+ let totalLongAfter = $t04134341759._11
958+ let totalShortAfter = $t04134341759._12
950959 let liquidationPenalty = muld(exchangedQuoteAssetAmount, liquidationFeeRatio())
951960 let feeToLiquidator = (liquidationPenalty / 2)
952961 let feeToInsurance = (liquidationPenalty - feeToLiquidator)
953962 let ammBalance = (cbalance() - liquidationPenalty)
954- let $t04196042095 = if ((0 > ammBalance))
963+ let $t04215742292 = if ((0 > ammBalance))
955964 then $Tuple2(0, abs(ammBalance))
956965 else $Tuple2(ammBalance, 0)
957- let newAmmBalance = $t04196042095._1
958- let takeFromInsurance = $t04196042095._2
966+ let newAmmBalance = $t04215742292._1
967+ let takeFromInsurance = $t04215742292._2
959968 let x = if ((takeFromInsurance > 0))
960969 then {
961970 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [takeFromInsurance], nil)
9951004 let underlyingPrice = getOracleTwapPrice()
9961005 let spotTwapPrice = getTwapSpotPrice()
9971006 let premium = (spotTwapPrice - underlyingPrice)
998- let $t04347144806 = if (if ((totalShortPositionSize() == 0))
1007+ let $t04366845003 = if (if ((totalShortPositionSize() == 0))
9991008 then true
10001009 else (totalLongPositionSize() == 0))
10011010 then $Tuple2(0, 0)
10101019 let shortPremiumFraction = divd(muld(longPremiumFraction, totalLongPositionSize()), totalShortPositionSize())
10111020 $Tuple2(shortPremiumFraction, longPremiumFraction)
10121021 }
1013- let shortPremiumFraction = $t04347144806._1
1014- let longPremiumFraction = $t04347144806._2
1022+ let shortPremiumFraction = $t04366845003._1
1023+ let longPremiumFraction = $t04366845003._2
10151024 updateFunding((fundingBlockTimestamp + fundingPeriodSeconds()), (latestLongCumulativePremiumFraction() + longPremiumFraction), (latestShortCumulativePremiumFraction() + shortPremiumFraction), divd(longPremiumFraction, underlyingPrice), divd(shortPremiumFraction, underlyingPrice))
10161025 }
10171026 }
10201029
10211030 @Callable(i)
10221031 func v_get (_trader) = {
1023- let $t04518145234 = internalClosePosition(_trader)
1024- let x1 = $t04518145234._1
1025- let x2 = $t04518145234._2
1026- let x3 = $t04518145234._3
1027- let x4 = $t04518145234._4
1032+ let $t04537845431 = internalClosePosition(_trader)
1033+ let x1 = $t04537845431._1
1034+ let x2 = $t04537845431._2
1035+ let x3 = $t04537845431._3
1036+ let x4 = $t04537845431._4
10281037 throw((((s(x2) + s(x3)) + s(x4)) + s(getMarginRatio(_trader))))
10291038 }
10301039
10321041
10331042 @Callable(i)
10341043 func view_calcRemainMarginWithFundingPayment (_trader) = {
1035- let $t04538145492 = getPosition(_trader)
1036- let positionSize = $t04538145492._1
1037- let positionMargin = $t04538145492._2
1038- let pon = $t04538145492._3
1039- let positionLstUpdCPF = $t04538145492._4
1040- let $t04549745598 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
1041- let positionNotional = $t04549745598._1
1042- let unrealizedPnl = $t04549745598._2
1043- let $t04560345785 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
1044- let remainMargin = $t04560345785._1
1045- let badDebt = $t04560345785._2
1046- let fundingPayment = $t04560345785._3
1044+ let $t04557845689 = getPosition(_trader)
1045+ let positionSize = $t04557845689._1
1046+ let positionMargin = $t04557845689._2
1047+ let pon = $t04557845689._3
1048+ let positionLstUpdCPF = $t04557845689._4
1049+ let $t04569445795 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
1050+ let positionNotional = $t04569445795._1
1051+ let unrealizedPnl = $t04569445795._2
1052+ let $t04580045982 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
1053+ let remainMargin = $t04580045982._1
1054+ let badDebt = $t04580045982._2
1055+ let fundingPayment = $t04580045982._3
10471056 throw(((s(remainMargin) + s(fundingPayment)) + s(getMarginRatio(_trader))))
10481057 }
10491058
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let k_ora_key = "k_ora_key"
55
66 let k_ora_block_key = "k_ora_block_key"
77
88 let k_ora = "k_ora"
99
1010 let k_balance = "k_balance"
1111
1212 let k_positionSize = "k_positionSize"
1313
1414 let k_positionMargin = "k_positionMargin"
1515
1616 let k_positionOpenNotional = "k_positionOpenNotional"
1717
1818 let k_positionLastUpdatedCumulativePremiumFraction = "k_positionFraction"
1919
2020 let k_initialized = "k_initialized"
2121
2222 let k_paused = "k_paused"
2323
2424 let k_fee = "k_fee"
2525
2626 let k_fundingPeriod = "k_fundingPeriod"
2727
2828 let k_initMarginRatio = "k_initMarginRatio"
2929
3030 let k_maintenanceMarginRatio = "k_mmr"
3131
3232 let k_liquidationFeeRatio = "k_liquidationFeeRatio"
3333
3434 let k_spreadLimit = "k_spreadLimit"
3535
3636 let k_maxPriceImpact = "k_maxPriceImpact"
3737
3838 let k_lastDataStr = "k_lastDataStr"
3939
4040 let k_lastMinuteId = "k_lastMinuteId"
4141
4242 let k_twapDataLastCumulativePrice = "k_twapDataLastCumulativePrice"
4343
4444 let k_twapDataLastPrice = "k_twapDataLastPrice"
4545
4646 let k_twapDataPreviousMinuteId = "k_twapDataPreviousMinuteId"
4747
4848 let k_latestLongCumulativePremiumFraction = "k_latestLongPremiumFraction"
4949
5050 let k_latestShortCumulativePremiumFraction = "k_latestShortPremiumFraction"
5151
5252 let k_nextFundingBlock = "k_nextFundingBlockMinTimestamp"
5353
5454 let k_longFundingRate = "k_longFundingRate"
5555
5656 let k_shortFundingRate = "k_shortFundingRate"
5757
5858 let k_quoteAssetReserve = "k_qtAstR"
5959
6060 let k_baseAssetReserve = "k_bsAstR"
6161
6262 let k_totalPositionSize = "k_totalPositionSize"
6363
6464 let k_totalLongPositionSize = "k_totalLongPositionSize"
6565
6666 let k_totalShortPositionSize = "k_totalShortPositionSize"
6767
6868 let k_cumulativeNotional = "k_cumulativeNotional"
6969
7070 let k_openInterestNotional = "k_openInterestNotional"
7171
7272 let k_coordinatorAddress = "k_coordinatorAddress"
7373
7474 let k_insurance_address = "k_insurance_address"
7575
7676 let k_admin_address = "k_admin_address"
7777
7878 let k_admin_public_key = "k_admin_public_key"
7979
8080 let k_quote_asset = "k_quote_asset"
8181
8282 let k_quote_staking = "k_quote_staking"
8383
8484 let k_staking_address = "k_staking_address"
8585
8686 func coordinator () = valueOrErrorMessage(addressFromString(getStringValue(this, k_coordinatorAddress)), "Coordinator not set")
8787
8888
8989 func adminAddress () = addressFromString(getStringValue(coordinator(), k_admin_address))
9090
9191
9292 func adminPublicKey () = fromBase58String(getStringValue(coordinator(), k_admin_public_key))
9393
9494
9595 func quoteAsset () = fromBase58String(getStringValue(coordinator(), k_quote_asset))
9696
9797
9898 func quoteAssetStaking () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_quote_staking)), "Quote asset staking not set")
9999
100100
101101 func stakingAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_staking_address)), "Insurance not set")
102102
103103
104104 func insuranceAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_insurance_address)), "Insurance not set")
105105
106106
107107 let DIR_LONG = 1
108108
109109 let DIR_SHORT = 2
110110
111111 let FUNDING_BLOCK_INTERVAL = 60
112112
113113 let TWAP_INTERVAL = 15
114114
115115 let ORACLE_INTERVAL = 15
116116
117117 let SECONDS = 1000
118118
119119 let DECIMAL_UNIT = (1 * (((((10 * 10) * 10) * 10) * 10) * 10))
120120
121121 let HUNDRED_PERCENT = (100 * DECIMAL_UNIT)
122122
123123 let ONE_DAY = (86400 * DECIMAL_UNIT)
124124
125125 let ALL_FEES = 100
126126
127127 let PNL_OPTION_SPOT = 1
128128
129129 let PNL_OPTION_ORACLE = 2
130130
131131 func s (_x) = (toString(_x) + ",")
132132
133133
134134 func divd (_x,_y) = fraction(_x, DECIMAL_UNIT, _y, HALFEVEN)
135135
136136
137137 func muld (_x,_y) = fraction(_x, _y, DECIMAL_UNIT, HALFEVEN)
138138
139139
140140 func abs (_x) = if ((_x > 0))
141141 then _x
142142 else -(_x)
143+
144+
145+func vmax (_x,_y) = if ((_x >= _y))
146+ then _x
147+ else _y
143148
144149
145150 func toCompositeKey (_key,_address) = ((_key + "_") + _address)
146151
147152
148153 func listToStr (_list) = {
149154 func _join (accumulator,val) = ((accumulator + val) + ",")
150155
151156 let newListStr = {
152157 let $l = _list
153158 let $s = size($l)
154159 let $acc0 = ""
155160 func $f0_1 ($a,$i) = if (($i >= $s))
156161 then $a
157162 else _join($a, $l[$i])
158163
159164 func $f0_2 ($a,$i) = if (($i >= $s))
160165 then $a
161166 else throw("List size exceeds 20")
162167
163168 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
164169 }
165170 let newListStrU = dropRight(newListStr, 1)
166171 let newListStrR = if ((take(newListStrU, 1) == ","))
167172 then drop(newListStrU, 1)
168173 else newListStrU
169174 newListStrR
170175 }
171176
172177
173178 func strToList (_str) = split(_str, ",")
174179
175180
176181 func pushToQueue (_list,_maxSize,_value) = if ((size(_list) > _maxSize))
177182 then (removeByIndex(_list, 0) :+ _value)
178183 else (_list :+ _value)
179184
180185
181186 func int (k) = valueOrErrorMessage(getInteger(this, k), ("no value for " + k))
182187
183188
184189 func cbalance () = int(k_balance)
185190
186191
187192 func fee () = int(k_fee)
188193
189194
190195 func initMarginRatio () = int(k_initMarginRatio)
191196
192197
193198 func qtAstR () = int(k_quoteAssetReserve)
194199
195200
196201 func bsAstR () = int(k_baseAssetReserve)
197202
198203
199204 func totalPositionSize () = int(k_totalPositionSize)
200205
201206
202207 func cumulativeNotional () = int(k_cumulativeNotional)
203208
204209
205210 func openInterestNotional () = int(k_openInterestNotional)
206211
207212
208213 func nextFundingBlockTimestamp () = int(k_nextFundingBlock)
209214
210215
211216 func fundingPeriodRaw () = int(k_fundingPeriod)
212217
213218
214219 func fundingPeriodDecimal () = (fundingPeriodRaw() * DECIMAL_UNIT)
215220
216221
217222 func fundingPeriodSeconds () = (fundingPeriodRaw() * SECONDS)
218223
219224
220225 func maintenanceMarginRatio () = int(k_maintenanceMarginRatio)
221226
222227
223228 func liquidationFeeRatio () = int(k_liquidationFeeRatio)
224229
225230
226231 func spreadLimit () = int(k_spreadLimit)
227232
228233
229234 func maxPriceImpact () = int(k_maxPriceImpact)
230235
231236
232237 func latestLongCumulativePremiumFraction () = int(k_latestLongCumulativePremiumFraction)
233238
234239
235240 func latestShortCumulativePremiumFraction () = int(k_latestShortCumulativePremiumFraction)
236241
237242
238243 func totalShortPositionSize () = int(k_totalShortPositionSize)
239244
240245
241246 func totalLongPositionSize () = int(k_totalLongPositionSize)
242247
243248
244249 func requireMoreMarginRatio (_marginRatio,_baseMarginRatio,_largerThanOrEqualTo) = {
245250 let remainingMarginRatio = (_marginRatio - _baseMarginRatio)
246251 if (if (_largerThanOrEqualTo)
247252 then (0 > remainingMarginRatio)
248253 else false)
249254 then throw("Invalid margin")
250255 else if (if (!(_largerThanOrEqualTo))
251256 then (remainingMarginRatio >= 0)
252257 else false)
253258 then throw("Invalid margin")
254259 else true
255260 }
256261
257262
258263 func latestCumulativePremiumFraction (_positionSize) = if ((_positionSize == 0))
259264 then throw("Should not be called with _positionSize == 0")
260265 else if ((_positionSize > 0))
261266 then latestLongCumulativePremiumFraction()
262267 else latestShortCumulativePremiumFraction()
263268
264269
265270 func getPosition (_trader) = {
266271 let positionSizeOpt = getInteger(this, toCompositeKey(k_positionSize, _trader))
267272 match positionSizeOpt {
268273 case positionSize: Int =>
269274 $Tuple4(positionSize, getIntegerValue(this, toCompositeKey(k_positionMargin, _trader)), getIntegerValue(this, toCompositeKey(k_positionOpenNotional, _trader)), getIntegerValue(this, toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _trader)))
270275 case _ =>
271276 $Tuple4(0, 0, 0, 0)
272277 }
273278 }
274279
275280
276281 func requireOpenPosition (_trader) = if ((getPosition(_trader)._1 == 0))
277282 then throw("No open position")
278283 else true
279284
280285
281286 func initialized () = valueOrElse(getBoolean(this, k_initialized), false)
282287
283288
284289 func paused () = valueOrElse(getBoolean(this, k_paused), false)
285290
286291
287292 func updateReserve (_isAdd,_quoteAssetAmount,_baseAssetAmount) = if (_isAdd)
288293 then {
289294 let newBase = (bsAstR() - _baseAssetAmount)
290295 if ((0 >= newBase))
291296 then throw("Tx lead to base asset reserve <= 0, revert")
292297 else $Tuple4((qtAstR() + _quoteAssetAmount), newBase, (totalPositionSize() + _baseAssetAmount), (cumulativeNotional() + _quoteAssetAmount))
293298 }
294299 else {
295300 let newQuote = (qtAstR() - _quoteAssetAmount)
296301 if ((0 >= newQuote))
297302 then throw("Tx lead to base quote reserve <= 0, revert")
298303 else $Tuple4(newQuote, (bsAstR() + _baseAssetAmount), (totalPositionSize() - _baseAssetAmount), (cumulativeNotional() - _quoteAssetAmount))
299304 }
300305
301306
302307 func swapInput (_isAdd,_quoteAssetAmount) = {
303308 let _qtAstR = qtAstR()
304309 let _bsAstR = bsAstR()
305310 let priceBefore = divd(_qtAstR, _bsAstR)
306311 let amountBaseAssetBoughtWithoutPriceImpact = muld(_quoteAssetAmount, priceBefore)
307312 let k = muld(_qtAstR, _bsAstR)
308313 let quoteAssetReserveAfter = if (_isAdd)
309314 then (_qtAstR + _quoteAssetAmount)
310315 else (_qtAstR - _quoteAssetAmount)
311316 let baseAssetReserveAfter = divd(k, quoteAssetReserveAfter)
312317 let amountBaseAssetBoughtAbs = abs((baseAssetReserveAfter - _bsAstR))
313318 let amountBaseAssetBought = if (_isAdd)
314319 then amountBaseAssetBoughtAbs
315320 else -(amountBaseAssetBoughtAbs)
316321 let priceImpact = ((amountBaseAssetBoughtWithoutPriceImpact - amountBaseAssetBoughtAbs) / amountBaseAssetBoughtWithoutPriceImpact)
317322 let maxPriceImpactValue = maxPriceImpact()
318323 if ((priceImpact > maxPriceImpactValue))
319324 then throw(((("Price impact " + toString(priceImpact)) + " > max price impact ") + toString(maxPriceImpactValue)))
320325 else {
321- let $t01209412297 = updateReserve(_isAdd, _quoteAssetAmount, amountBaseAssetBoughtAbs)
322- let quoteAssetReserveAfter1 = $t01209412297._1
323- let baseAssetReserveAfter1 = $t01209412297._2
324- let totalPositionSizeAfter1 = $t01209412297._3
325- let cumulativeNotionalAfter1 = $t01209412297._4
326+ let $t01215412357 = updateReserve(_isAdd, _quoteAssetAmount, amountBaseAssetBoughtAbs)
327+ let quoteAssetReserveAfter1 = $t01215412357._1
328+ let baseAssetReserveAfter1 = $t01215412357._2
329+ let totalPositionSizeAfter1 = $t01215412357._3
330+ let cumulativeNotionalAfter1 = $t01215412357._4
326331 $Tuple5(amountBaseAssetBought, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1)
327332 }
328333 }
329334
330335
331336 func calcRemainMarginWithFundingPayment (_oldPositionSize,_oldPositionMargin,_oldPositionCumulativePremiumFraction,_marginDelta) = {
332337 let fundingPayment = if ((_oldPositionSize != 0))
333338 then {
334339 let _latestCumulativePremiumFraction = latestCumulativePremiumFraction(_oldPositionSize)
335340 muld((_latestCumulativePremiumFraction - _oldPositionCumulativePremiumFraction), _oldPositionSize)
336341 }
337342 else 0
338343 let signedMargin = ((_marginDelta - fundingPayment) + _oldPositionMargin)
339- let $t01304413171 = if ((0 > signedMargin))
344+ let $t01310413231 = if ((0 > signedMargin))
340345 then $Tuple2(0, abs(signedMargin))
341346 else $Tuple2(abs(signedMargin), 0)
342- let remainMargin = $t01304413171._1
343- let badDebt = $t01304413171._2
347+ let remainMargin = $t01310413231._1
348+ let badDebt = $t01310413231._2
344349 $Tuple3(remainMargin, badDebt, fundingPayment)
345350 }
346351
347352
348353 func swapOutput (_isAdd,_baseAssetAmount) = {
349354 let _quoteAssetReserve = qtAstR()
350355 let _baseAssetReserve = bsAstR()
351356 if ((_baseAssetAmount == 0))
352357 then throw("Invalid base asset amount")
353358 else {
354359 let k = muld(_quoteAssetReserve, _baseAssetReserve)
355360 let baseAssetPoolAmountAfter = if (_isAdd)
356361 then (_baseAssetReserve + _baseAssetAmount)
357362 else (_baseAssetReserve - _baseAssetAmount)
358363 let quoteAssetAfter = divd(k, baseAssetPoolAmountAfter)
359364 let quoteAssetSold = abs((quoteAssetAfter - _quoteAssetReserve))
360- let $t01400914202 = updateReserve(!(_isAdd), quoteAssetSold, _baseAssetAmount)
361- let quoteAssetReserveAfter1 = $t01400914202._1
362- let baseAssetReserveAfter1 = $t01400914202._2
363- let totalPositionSizeAfter1 = $t01400914202._3
364- let cumulativeNotionalAfter1 = $t01400914202._4
365+ let $t01406914262 = updateReserve(!(_isAdd), quoteAssetSold, _baseAssetAmount)
366+ let quoteAssetReserveAfter1 = $t01406914262._1
367+ let baseAssetReserveAfter1 = $t01406914262._2
368+ let totalPositionSizeAfter1 = $t01406914262._3
369+ let cumulativeNotionalAfter1 = $t01406914262._4
365370 $Tuple7(quoteAssetSold, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1, (totalLongPositionSize() - (if (_isAdd)
366371 then abs(_baseAssetAmount)
367372 else 0)), (totalShortPositionSize() - (if (!(_isAdd))
368373 then abs(_baseAssetAmount)
369374 else 0)))
370375 }
371376 }
372377
373378
374379 func getOracleTwapPrice () = {
375380 let oracle = valueOrErrorMessage(addressFromString(getStringValue(this, k_ora)), "")
376381 let priceKey = getStringValue(this, k_ora_key)
377382 let blockKey = getStringValue(this, k_ora_block_key)
378383 let lastValue = getIntegerValue(oracle, priceKey)
379384 lastValue
380385 }
381386
382387
383388 func getSpotPrice () = {
384389 let _quoteAssetReserve = qtAstR()
385390 let _baseAssetReserve = bsAstR()
386391 divd(_quoteAssetReserve, _baseAssetReserve)
387392 }
388393
389394
390395 func isOverFluctuationLimit () = {
391396 let oraclePrice = getOracleTwapPrice()
392397 let currentPrice = getSpotPrice()
393398 (divd(abs((oraclePrice - currentPrice)), oraclePrice) > spreadLimit())
394399 }
395400
396401
397402 func getPositionNotionalAndUnrealizedPnl (_trader,_option) = {
398- let $t01583415962 = getPosition(_trader)
399- let positionSize = $t01583415962._1
400- let positionMargin = $t01583415962._2
401- let positionOpenNotional = $t01583415962._3
402- let positionLstUpdCPF = $t01583415962._4
403+ let $t01589416022 = getPosition(_trader)
404+ let positionSize = $t01589416022._1
405+ let positionMargin = $t01589416022._2
406+ let positionOpenNotional = $t01589416022._3
407+ let positionLstUpdCPF = $t01589416022._4
403408 let positionSizeAbs = abs(positionSize)
404409 if ((positionSizeAbs == 0))
405410 then throw("Invalid position size")
406411 else {
407412 let isShort = (0 > positionSize)
408413 let positionNotional = if ((_option == PNL_OPTION_SPOT))
409414 then {
410- let $t01620916316 = swapOutput(!(isShort), positionSizeAbs)
411- let outPositionNotional = $t01620916316._1
412- let x1 = $t01620916316._2
413- let x2 = $t01620916316._3
414- let x3 = $t01620916316._4
415+ let $t01626916376 = swapOutput(!(isShort), positionSizeAbs)
416+ let outPositionNotional = $t01626916376._1
417+ let x1 = $t01626916376._2
418+ let x2 = $t01626916376._3
419+ let x3 = $t01626916376._4
415420 outPositionNotional
416421 }
417- else (positionSizeAbs * getOracleTwapPrice())
422+ else muld(positionSizeAbs, getOracleTwapPrice())
418423 let unrealizedPnl = if (isShort)
419424 then (positionOpenNotional - positionNotional)
420425 else (positionNotional - positionOpenNotional)
421426 $Tuple2(positionNotional, unrealizedPnl)
422427 }
423428 }
424429
425430
426431 func calcMarginRatio (_remainMargin,_badDebt,_positionNotional) = divd((_remainMargin - _badDebt), _positionNotional)
427432
428433
429434 func getMarginRatioByOption (_trader,_option) = {
430- let $t01698117092 = getPosition(_trader)
431- let positionSize = $t01698117092._1
432- let positionMargin = $t01698117092._2
433- let pon = $t01698117092._3
434- let positionLstUpdCPF = $t01698117092._4
435- let $t01709817191 = getPositionNotionalAndUnrealizedPnl(_trader, _option)
436- let positionNotional = $t01709817191._1
437- let unrealizedPnl = $t01709817191._2
438- let $t01719617362 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
439- let remainMargin = $t01719617362._1
440- let badDebt = $t01719617362._2
435+ let $t01704617157 = getPosition(_trader)
436+ let positionSize = $t01704617157._1
437+ let positionMargin = $t01704617157._2
438+ let pon = $t01704617157._3
439+ let positionLstUpdCPF = $t01704617157._4
440+ let $t01716317256 = getPositionNotionalAndUnrealizedPnl(_trader, _option)
441+ let positionNotional = $t01716317256._1
442+ let unrealizedPnl = $t01716317256._2
443+ let $t01726117427 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
444+ let remainMargin = $t01726117427._1
445+ let badDebt = $t01726117427._2
441446 calcMarginRatio(remainMargin, badDebt, positionNotional)
442447 }
443448
444449
445450 func getMarginRatio (_trader) = getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
446451
447452
448453 func internalClosePosition (_trader) = {
449- let $t01767817789 = getPosition(_trader)
450- let positionSize = $t01767817789._1
451- let positionMargin = $t01767817789._2
452- let pon = $t01767817789._3
453- let positionLstUpdCPF = $t01767817789._4
454- let $t01779517882 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
455- let x1 = $t01779517882._1
456- let unrealizedPnl = $t01779517882._2
457- let $t01788718055 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
458- let remainMargin = $t01788718055._1
459- let badDebt = $t01788718055._2
454+ let $t01774317871 = getPosition(_trader)
455+ let positionSize = $t01774317871._1
456+ let positionMargin = $t01774317871._2
457+ let positionOpenNotional = $t01774317871._3
458+ let positionLstUpdCPF = $t01774317871._4
459+ let $t01787717964 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
460+ let x1 = $t01787717964._1
461+ let unrealizedPnl = $t01787717964._2
462+ let $t01796918137 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
463+ let remainMargin = $t01796918137._1
464+ let badDebt = $t01796918137._2
460465 let exchangedPositionSize = -(positionSize)
461466 let realizedPnl = unrealizedPnl
462467 let marginToVault = -(remainMargin)
463- let $t01818218463 = swapOutput((positionSize > 0), abs(positionSize))
464- let exchangedQuoteAssetAmount = $t01818218463._1
465- let quoteAssetReserveAfter = $t01818218463._2
466- let baseAssetReserveAfter = $t01818218463._3
467- let totalPositionSizeAfter = $t01818218463._4
468- let cumulativeNotionalAfter = $t01818218463._5
469- let totalLongAfter = $t01818218463._6
470- let totalShortAfter = $t01818218463._7
471- let openInterestNotionalAfter = (openInterestNotional() - pon)
468+ let $t01826418545 = swapOutput((positionSize > 0), abs(positionSize))
469+ let exchangedQuoteAssetAmount = $t01826418545._1
470+ let quoteAssetReserveAfter = $t01826418545._2
471+ let baseAssetReserveAfter = $t01826418545._3
472+ let totalPositionSizeAfter = $t01826418545._4
473+ let cumulativeNotionalAfter = $t01826418545._5
474+ let totalLongAfter = $t01826418545._6
475+ let totalShortAfter = $t01826418545._7
476+ let openInterestNotionalAfter = (openInterestNotional() - positionOpenNotional)
472477 $Tuple12(exchangedPositionSize, badDebt, realizedPnl, marginToVault, quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, exchangedQuoteAssetAmount, totalLongAfter, totalShortAfter)
473478 }
474479
475480
476481 func getTwapSpotPrice () = {
477482 let minuteId = ((lastBlock.timestamp / 1000) / 60)
478483 let startMinuteId = (minuteId - TWAP_INTERVAL)
479484 let listStr = valueOrElse(getString(this, k_lastDataStr), "")
480485 let list = split(listStr, ",")
481486 func filterFn (accumulator,next) = if ((startMinuteId >= parseIntValue(next)))
482487 then (accumulator :+ parseIntValue(next))
483488 else accumulator
484489
485490 let listF = {
486491 let $l = list
487492 let $s = size($l)
488493 let $acc0 = nil
489494 func $f0_1 ($a,$i) = if (($i >= $s))
490495 then $a
491496 else filterFn($a, $l[$i])
492497
493498 func $f0_2 ($a,$i) = if (($i >= $s))
494499 then $a
495500 else throw("List size exceeds 20")
496501
497502 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
498503 }
499504 let maxIndex = if ((size(listF) > 0))
500505 then max(listF)
501506 else parseIntValue(list[0])
502507 let lastMinuteId = valueOrElse(getInteger(this, k_lastMinuteId), 0)
503508 let endLastCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(lastMinuteId))), 0)
504509 let endLastPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(lastMinuteId))), 0)
505510 let nowCumulativePrice = (endLastCumulativePrice + ((minuteId - lastMinuteId) * endLastPrice))
506511 let startLastCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(maxIndex))), 0)
507512 let startLastPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(maxIndex))), 0)
508513 let startCumulativePrice = (startLastCumulativePrice + ((startMinuteId - maxIndex) * startLastPrice))
509514 ((nowCumulativePrice - startCumulativePrice) / TWAP_INTERVAL)
510515 }
511516
512517
513518 func updateSettings (_initMarginRatio,_mmr,_liquidationFeeRatio,_fundingPeriod,_fee,_spreadLimit,_maxPriceImpact) = [IntegerEntry(k_initMarginRatio, _initMarginRatio), IntegerEntry(k_maintenanceMarginRatio, _mmr), IntegerEntry(k_liquidationFeeRatio, _liquidationFeeRatio), IntegerEntry(k_fundingPeriod, _fundingPeriod), IntegerEntry(k_fee, _fee), IntegerEntry(k_spreadLimit, _spreadLimit), IntegerEntry(k_maxPriceImpact, _maxPriceImpact)]
514519
515520
516521 func updateFunding (_nextFundingBlock,_latestLongCumulativePremiumFraction,_latestShortCumulativePremiumFraction,_longFundingRate,_shortFundingRate) = [IntegerEntry(k_nextFundingBlock, _nextFundingBlock), IntegerEntry(k_latestLongCumulativePremiumFraction, _latestLongCumulativePremiumFraction), IntegerEntry(k_latestShortCumulativePremiumFraction, _latestShortCumulativePremiumFraction), IntegerEntry(k_longFundingRate, _longFundingRate), IntegerEntry(k_shortFundingRate, _shortFundingRate)]
517522
518523
519524 func updatePosition (_address,_size,_margin,_openNotional,_latestCumulativePremiumFraction) = [IntegerEntry(toCompositeKey(k_positionSize, _address), _size), IntegerEntry(toCompositeKey(k_positionMargin, _address), _margin), IntegerEntry(toCompositeKey(k_positionOpenNotional, _address), _openNotional), IntegerEntry(toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _address), _latestCumulativePremiumFraction)]
520525
521526
522527 func appendTwap (price) = {
523528 let minuteId = ((lastBlock.timestamp / 1000) / 60)
524529 let previousMinuteId = valueOrElse(getInteger(this, k_lastMinuteId), 0)
525530 if ((previousMinuteId > minuteId))
526531 then throw("TWAP out-of-order")
527532 else {
528533 let lastMinuteId = if ((previousMinuteId == 0))
529534 then minuteId
530535 else previousMinuteId
531536 if ((minuteId > previousMinuteId))
532537 then {
533538 let prevCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(previousMinuteId))), 0)
534539 let prevPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(previousMinuteId))), price)
535540 let lastCumulativePrice = (prevCumulativePrice + ((minuteId - lastMinuteId) * prevPrice))
536541 let list = pushToQueue(strToList(valueOrElse(getString(this, k_lastDataStr), "")), TWAP_INTERVAL, toString(minuteId))
537542 [IntegerEntry(toCompositeKey(k_twapDataLastCumulativePrice, toString(minuteId)), lastCumulativePrice), IntegerEntry(toCompositeKey(k_twapDataLastPrice, toString(minuteId)), price), IntegerEntry(toCompositeKey(k_twapDataPreviousMinuteId, toString(minuteId)), previousMinuteId), IntegerEntry(k_lastMinuteId, minuteId), StringEntry(k_lastDataStr, listToStr(list))]
538543 }
539544 else {
540545 let twapDataPreviousMinuteId = valueOrElse(getInteger(this, toCompositeKey(k_twapDataPreviousMinuteId, toString(minuteId))), 0)
541546 let prevCumulativePrice = valueOrElse(getInteger(this, toCompositeKey(k_twapDataLastCumulativePrice, toString(twapDataPreviousMinuteId))), 0)
542547 let prevPrice = valueOrElse(getInteger(this, toCompositeKey(k_twapDataLastPrice, toString(twapDataPreviousMinuteId))), price)
543548 let lastCumulativePrice = (prevCumulativePrice + ((minuteId - twapDataPreviousMinuteId) * prevPrice))
544549 [IntegerEntry(toCompositeKey(k_twapDataLastCumulativePrice, toString(minuteId)), lastCumulativePrice), IntegerEntry(toCompositeKey(k_twapDataLastPrice, toString(minuteId)), price)]
545550 }
546551 }
547552 }
548553
549554
550555 func updateAmm (_qtAstR,_bsAstR,_totalPositionSizeAfter,_cumulativeNotionalAfter,_openInterestNotional,_totalLongPositionSize,_totalShortPositionSize) = if (((_totalLongPositionSize - _totalShortPositionSize) != _totalPositionSizeAfter))
551556 then throw(((((("Invalid AMM state data: " + toString(_totalLongPositionSize)) + " + ") + toString(_totalShortPositionSize)) + " != ") + toString(_totalPositionSizeAfter)))
552557 else ([IntegerEntry(k_quoteAssetReserve, _qtAstR), IntegerEntry(k_baseAssetReserve, _bsAstR), IntegerEntry(k_totalPositionSize, _totalPositionSizeAfter), IntegerEntry(k_cumulativeNotional, _cumulativeNotionalAfter), IntegerEntry(k_openInterestNotional, _openInterestNotional), IntegerEntry(k_totalLongPositionSize, _totalLongPositionSize), IntegerEntry(k_totalShortPositionSize, _totalShortPositionSize)] ++ appendTwap(divd(_qtAstR, _bsAstR)))
553558
554559
555560 func deletePosition (_address) = [DeleteEntry(toCompositeKey(k_positionSize, _address)), DeleteEntry(toCompositeKey(k_positionMargin, _address)), DeleteEntry(toCompositeKey(k_positionOpenNotional, _address)), DeleteEntry(toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _address))]
556561
557562
558563 func withdraw (_address,_amount) = {
559564 let balance = assetBalance(this, quoteAsset())
560565 if ((_amount > balance))
561566 then throw(((("Unable to withdraw " + toString(_amount)) + " from contract balance ") + toString(balance)))
562567 else [ScriptTransfer(_address, _amount, quoteAsset())]
563568 }
564569
565570
566571 func updateBalance (i) = if ((0 > i))
567572 then throw("Balance")
568573 else [IntegerEntry(k_balance, i)]
569574
570575
571576 func transferFee (i) = [ScriptTransfer(stakingAddress(), i, quoteAsset())]
572577
573578
574579 @Callable(i)
575580 func pause () = if ((i.caller != adminAddress()))
576581 then throw("Invalid togglePause params")
577582 else [BooleanEntry(k_paused, true)]
578583
579584
580585
581586 @Callable(i)
582587 func unpause () = if ((i.caller != adminAddress()))
583588 then throw("Invalid togglePause params")
584589 else [BooleanEntry(k_paused, false)]
585590
586591
587592
588593 @Callable(i)
589594 func changeSettings (_initMarginRatio,_mmr,_liquidationFeeRatio,_fundingPeriod,_fee,_spreadLimit,_maxPriceImpact) = if ((i.caller != adminAddress()))
590595 then throw("Invalid changeSettings params")
591596 else updateSettings(_initMarginRatio, _mmr, _liquidationFeeRatio, _fundingPeriod, _fee, _spreadLimit, _maxPriceImpact)
592597
593598
594599
595600 @Callable(i)
596601 func initialize (_qtAstR,_bsAstR,_fundingPeriod,_initMarginRatio,_mmr,_liquidationFeeRatio,_fee,_oracle,_oracleKey,_coordinator,_spreadLimit,_maxPriceImpact) = if (if (if (if (if (if (if (if (if (if ((0 >= _qtAstR))
597602 then true
598603 else (0 >= _bsAstR))
599604 then true
600605 else (0 >= _fundingPeriod))
601606 then true
602607 else (0 >= _initMarginRatio))
603608 then true
604609 else (0 >= _mmr))
605610 then true
606611 else (0 >= _liquidationFeeRatio))
607612 then true
608613 else (0 >= _fee))
609614 then true
610615 else (0 >= _spreadLimit))
611616 then true
612617 else (0 >= _maxPriceImpact))
613618 then true
614619 else initialized())
615620 then throw("Invalid initialize parameters")
616621 else ((((updateAmm(_qtAstR, _bsAstR, 0, 0, 0, 0, 0) ++ updateSettings(_initMarginRatio, _mmr, _liquidationFeeRatio, _fundingPeriod, _fee, _spreadLimit, _maxPriceImpact)) ++ updateFunding((lastBlock.timestamp + _fundingPeriod), 0, 0, 0, 0)) ++ updateBalance(0)) ++ [BooleanEntry(k_initialized, true), StringEntry(k_ora, _oracle), StringEntry(k_ora_key, _oracleKey), StringEntry(k_coordinatorAddress, _coordinator)])
617622
618623
619624
620625 @Callable(i)
621626 func decreasePosition (_amount,_leverage,_minBaseAssetAmount) = if (if (if (if (if (if ((0 >= _amount))
622627 then true
623628 else if (((1 * DECIMAL_UNIT) > _leverage))
624629 then true
625630 else (_leverage > (3 * DECIMAL_UNIT)))
626631 then true
627632 else !(initialized()))
628633 then true
629634 else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true)))
630635 then true
631636 else !(requireOpenPosition(toString(i.caller))))
632637 then true
633638 else paused())
634639 then throw("Invalid decreasePosition parameters")
635640 else {
636- let $t02828728439 = getPosition(toString(i.caller))
637- let oldPositionSize = $t02828728439._1
638- let oldPositionMargin = $t02828728439._2
639- let oldPositionOpenNotional = $t02828728439._3
640- let oldPositionLstUpdCPF = $t02828728439._4
641+ let $t02838628538 = getPosition(toString(i.caller))
642+ let oldPositionSize = $t02838628538._1
643+ let oldPositionMargin = $t02838628538._2
644+ let oldPositionOpenNotional = $t02838628538._3
645+ let oldPositionLstUpdCPF = $t02838628538._4
641646 let _direction = if ((oldPositionSize > 0))
642647 then DIR_SHORT
643648 else DIR_LONG
644649 let isAdd = (_direction == DIR_LONG)
645650 let openNotional = muld(_amount, _leverage)
646- let $t02861228728 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
647- let oldPositionNotional = $t02861228728._1
648- let unrealizedPnl = $t02861228728._2
649- let $t02873431283 = if ((oldPositionNotional > openNotional))
651+ let $t02871128827 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
652+ let oldPositionNotional = $t02871128827._1
653+ let unrealizedPnl = $t02871128827._2
654+ let $t02883331382 = if ((oldPositionNotional > openNotional))
650655 then {
651- let $t02911129330 = swapInput(isAdd, openNotional)
652- let exchangedPositionSize = $t02911129330._1
653- let quoteAssetReserveAfter = $t02911129330._2
654- let baseAssetReserveAfter = $t02911129330._3
655- let totalPositionSizeAfter = $t02911129330._4
656- let cumulativeNotionalAfter = $t02911129330._5
656+ let $t02921029429 = swapInput(isAdd, openNotional)
657+ let exchangedPositionSize = $t02921029429._1
658+ let quoteAssetReserveAfter = $t02921029429._2
659+ let baseAssetReserveAfter = $t02921029429._3
660+ let totalPositionSizeAfter = $t02921029429._4
661+ let cumulativeNotionalAfter = $t02921029429._5
657662 let exchangedPositionSizeAbs = abs(exchangedPositionSize)
658663 if (if ((_minBaseAssetAmount != 0))
659664 then (_minBaseAssetAmount > exchangedPositionSizeAbs)
660665 else false)
661666 then throw(((("Too little base asset exchanged, got " + toString(exchangedPositionSizeAbs)) + " expected ") + toString(_minBaseAssetAmount)))
662667 else {
663668 let realizedPnl = divd(muld(unrealizedPnl, exchangedPositionSizeAbs), abs(oldPositionSize))
664- let $t02976730012 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
665- let remainMargin = $t02976730012._1
666- let badDebt = $t02976730012._2
667- let fundingPayment = $t02976730012._3
669+ let $t02986630111 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
670+ let remainMargin = $t02986630111._1
671+ let badDebt = $t02986630111._2
672+ let fundingPayment = $t02986630111._3
668673 let exchangedQuoteAssetAmount = openNotional
669674 let unrealizedPnlAfter = (unrealizedPnl - realizedPnl)
670675 let remainOpenNotional = if ((oldPositionSize > 0))
671676 then ((oldPositionNotional - exchangedQuoteAssetAmount) - unrealizedPnlAfter)
672677 else ((unrealizedPnlAfter + oldPositionNotional) - exchangedQuoteAssetAmount)
673678 let newPositionSize = (oldPositionSize + exchangedPositionSize)
674679 $Tuple11(newPositionSize, remainMargin, abs(remainOpenNotional), latestCumulativePremiumFraction(newPositionSize), baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInterestNotional() - openNotional), (totalLongPositionSize() - (if ((newPositionSize > 0))
675680 then abs(exchangedPositionSize)
676681 else 0)), (totalShortPositionSize() - (if ((0 > newPositionSize))
677682 then abs(exchangedPositionSize)
678683 else 0)))
679684 }
680685 }
681686 else throw("Close position first")
682- let newPositionSize = $t02873431283._1
683- let newPositionRemainMargin = $t02873431283._2
684- let newPositionOpenNotional = $t02873431283._3
685- let newPositionLatestCPF = $t02873431283._4
686- let baseAssetReserveAfter = $t02873431283._5
687- let quoteAssetReserveAfter = $t02873431283._6
688- let totalPositionSizeAfter = $t02873431283._7
689- let cumulativeNotionalAfter = $t02873431283._8
690- let openInterestNotionalAfter = $t02873431283._9
691- let totalLongAfter = $t02873431283._10
692- let totalShortAfter = $t02873431283._11
687+ let newPositionSize = $t02883331382._1
688+ let newPositionRemainMargin = $t02883331382._2
689+ let newPositionOpenNotional = $t02883331382._3
690+ let newPositionLatestCPF = $t02883331382._4
691+ let baseAssetReserveAfter = $t02883331382._5
692+ let quoteAssetReserveAfter = $t02883331382._6
693+ let totalPositionSizeAfter = $t02883331382._7
694+ let cumulativeNotionalAfter = $t02883331382._8
695+ let openInterestNotionalAfter = $t02883331382._9
696+ let totalLongAfter = $t02883331382._10
697+ let totalShortAfter = $t02883331382._11
693698 (updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPositionOpenNotional, newPositionLatestCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter))
694699 }
695700
696701
697702
698703 @Callable(i)
699704 func increasePosition (_direction,_leverage,_minBaseAssetAmount) = {
700705 let _rawAmount = i.payments[0].amount
701706 if (if (if (if (if (if (if (if ((_direction != DIR_LONG))
702707 then (_direction != DIR_SHORT)
703708 else false)
704709 then true
705710 else (0 >= _rawAmount))
706711 then true
707712 else if (((1 * DECIMAL_UNIT) > _leverage))
708713 then true
709714 else (_leverage > (3 * DECIMAL_UNIT)))
710715 then true
711716 else !(initialized()))
712717 then true
713718 else (i.payments[0].assetId != quoteAsset()))
714719 then true
715720 else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true)))
716721 then true
717722 else paused())
718723 then throw("Invalid increasePosition parameters")
719724 else {
720725 let feeAmount = muld(_rawAmount, fee())
721726 let _amount = (_rawAmount - feeAmount)
722- let $t03231932471 = getPosition(toString(i.caller))
723- let oldPositionSize = $t03231932471._1
724- let oldPositionMargin = $t03231932471._2
725- let oldPositionOpenNotional = $t03231932471._3
726- let oldPositionLstUpdCPF = $t03231932471._4
727+ let $t03241832570 = getPosition(toString(i.caller))
728+ let oldPositionSize = $t03241832570._1
729+ let oldPositionMargin = $t03241832570._2
730+ let oldPositionOpenNotional = $t03241832570._3
731+ let oldPositionLstUpdCPF = $t03241832570._4
727732 let isNewPosition = (oldPositionSize == 0)
728733 let isSameDirection = if ((oldPositionSize > 0))
729734 then (_direction == DIR_LONG)
730735 else (_direction == DIR_SHORT)
731736 let expandExisting = if (!(isNewPosition))
732737 then isSameDirection
733738 else false
734739 let isAdd = (_direction == DIR_LONG)
735- let $t03276035149 = if (if (isNewPosition)
740+ let $t03285935248 = if (if (isNewPosition)
736741 then true
737742 else expandExisting)
738743 then {
739744 let openNotional = muld(_amount, _leverage)
740- let $t03318433390 = swapInput(isAdd, openNotional)
741- let amountBaseAssetBought = $t03318433390._1
742- let quoteAssetReserveAfter = $t03318433390._2
743- let baseAssetReserveAfter = $t03318433390._3
744- let totalPositionSizeAfter = $t03318433390._4
745- let cumulativeNotionalAfter = $t03318433390._5
745+ let $t03328333489 = swapInput(isAdd, openNotional)
746+ let amountBaseAssetBought = $t03328333489._1
747+ let quoteAssetReserveAfter = $t03328333489._2
748+ let baseAssetReserveAfter = $t03328333489._3
749+ let totalPositionSizeAfter = $t03328333489._4
750+ let cumulativeNotionalAfter = $t03328333489._5
746751 if (if ((_minBaseAssetAmount != 0))
747752 then (_minBaseAssetAmount > abs(amountBaseAssetBought))
748753 else false)
749754 then throw(((("Limit error: " + toString(abs(amountBaseAssetBought))) + " < ") + toString(_minBaseAssetAmount)))
750755 else {
751756 let newPositionSize = (oldPositionSize + amountBaseAssetBought)
752757 let increaseMarginRequirement = divd(openNotional, _leverage)
753- let $t03377134010 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement)
754- let remainMargin = $t03377134010._1
755- let x1 = $t03377134010._2
756- let x2 = $t03377134010._3
758+ let $t03387034109 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement)
759+ let remainMargin = $t03387034109._1
760+ let x1 = $t03387034109._2
761+ let x2 = $t03387034109._3
757762 $Tuple11(newPositionSize, remainMargin, (oldPositionOpenNotional + openNotional), latestCumulativePremiumFraction(newPositionSize), baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInterestNotional() + openNotional), (totalLongPositionSize() + (if ((newPositionSize > 0))
758763 then abs(amountBaseAssetBought)
759764 else 0)), (totalShortPositionSize() + (if ((0 > newPositionSize))
760765 then abs(amountBaseAssetBought)
761766 else 0)))
762767 }
763768 }
764769 else {
765770 let openNotional = muld(_amount, _leverage)
766- let $t03484234958 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
767- let oldPositionNotional = $t03484234958._1
768- let unrealizedPnl = $t03484234958._2
771+ let $t03494135057 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
772+ let oldPositionNotional = $t03494135057._1
773+ let unrealizedPnl = $t03494135057._2
769774 if ((oldPositionNotional > openNotional))
770775 then throw("Use decreasePosition to decrease position size")
771776 else throw("Close position first")
772777 }
773- let newPositionSize = $t03276035149._1
774- let newPositionRemainMargin = $t03276035149._2
775- let newPositionOpenNotional = $t03276035149._3
776- let newPositionLatestCPF = $t03276035149._4
777- let baseAssetReserveAfter = $t03276035149._5
778- let quoteAssetReserveAfter = $t03276035149._6
779- let totalPositionSizeAfter = $t03276035149._7
780- let cumulativeNotionalAfter = $t03276035149._8
781- let openInterestNotionalAfter = $t03276035149._9
782- let totalLongAfter = $t03276035149._10
783- let totalShortAfter = $t03276035149._11
778+ let newPositionSize = $t03285935248._1
779+ let newPositionRemainMargin = $t03285935248._2
780+ let newPositionOpenNotional = $t03285935248._3
781+ let newPositionLatestCPF = $t03285935248._4
782+ let baseAssetReserveAfter = $t03285935248._5
783+ let quoteAssetReserveAfter = $t03285935248._6
784+ let totalPositionSizeAfter = $t03285935248._7
785+ let cumulativeNotionalAfter = $t03285935248._8
786+ let openInterestNotionalAfter = $t03285935248._9
787+ let totalLongAfter = $t03285935248._10
788+ let totalShortAfter = $t03285935248._11
784789 let feeToStakers = (feeAmount / 2)
785790 let feeToInsurance = (feeAmount - feeToStakers)
786791 let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
787792 if ((stake == stake))
788793 then {
789794 let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
790795 if ((depositInsurance == depositInsurance))
791796 then (((updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPositionOpenNotional, newPositionLatestCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter)) ++ transferFee(feeToStakers)) ++ updateBalance((cbalance() + _amount)))
792797 else throw("Strict value is not equal to itself.")
793798 }
794799 else throw("Strict value is not equal to itself.")
795800 }
796801 }
797802
798803
799804
800805 @Callable(i)
801806 func addMargin () = {
802807 let _rawAmount = i.payments[0].amount
803808 if (if (if (if ((i.payments[0].assetId != quoteAsset()))
804809 then true
805810 else !(requireOpenPosition(toString(i.caller))))
806811 then true
807812 else !(initialized()))
808813 then true
809814 else paused())
810815 then throw("Invalid addMargin parameters")
811816 else {
812817 let feeAmount = muld(_rawAmount, fee())
813818 let _amount = (_rawAmount - feeAmount)
814- let $t03642536577 = getPosition(toString(i.caller))
815- let oldPositionSize = $t03642536577._1
816- let oldPositionMargin = $t03642536577._2
817- let oldPositionOpenNotional = $t03642536577._3
818- let oldPositionLstUpdCPF = $t03642536577._4
819+ let $t03652436676 = getPosition(toString(i.caller))
820+ let oldPositionSize = $t03652436676._1
821+ let oldPositionMargin = $t03652436676._2
822+ let oldPositionOpenNotional = $t03652436676._3
823+ let oldPositionLstUpdCPF = $t03652436676._4
819824 let feeToStakers = (feeAmount / 2)
820825 let feeToInsurance = (feeAmount - feeToStakers)
821826 let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
822827 if ((stake == stake))
823828 then {
824829 let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
825830 if ((depositInsurance == depositInsurance))
826831 then ((updatePosition(toString(i.caller), oldPositionSize, (oldPositionMargin + _amount), oldPositionOpenNotional, oldPositionLstUpdCPF) ++ transferFee(feeToStakers)) ++ updateBalance((cbalance() + _amount)))
827832 else throw("Strict value is not equal to itself.")
828833 }
829834 else throw("Strict value is not equal to itself.")
830835 }
831836 }
832837
833838
834839
835840 @Callable(i)
836841 func removeMargin (_amount) = if (if (if (if ((0 >= _amount))
837842 then true
838843 else !(requireOpenPosition(toString(i.caller))))
839844 then true
840845 else !(initialized()))
841846 then true
842847 else paused())
843848 then throw("Invalid removeMargin parameters")
844849 else {
845- let $t03749737649 = getPosition(toString(i.caller))
846- let oldPositionSize = $t03749737649._1
847- let oldPositionMargin = $t03749737649._2
848- let oldPositionOpenNotional = $t03749737649._3
849- let oldPositionLstUpdCPF = $t03749737649._4
850+ let $t03759637748 = getPosition(toString(i.caller))
851+ let oldPositionSize = $t03759637748._1
852+ let oldPositionMargin = $t03759637748._2
853+ let oldPositionOpenNotional = $t03759637748._3
854+ let oldPositionLstUpdCPF = $t03759637748._4
850855 let marginDelta = -(_amount)
851- let $t03768637865 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta)
852- let remainMargin = $t03768637865._1
853- let badDebt = $t03768637865._2
856+ let $t03778537964 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta)
857+ let remainMargin = $t03778537964._1
858+ let badDebt = $t03778537964._2
854859 if ((badDebt != 0))
855860 then throw("Invalid removed margin amount")
856861 else {
857862 let marginRatio = calcMarginRatio(remainMargin, badDebt, oldPositionOpenNotional)
858863 if (!(requireMoreMarginRatio(marginRatio, initMarginRatio(), true)))
859864 then throw(((("Too much margin removed: " + toString(marginRatio)) + " < ") + toString(initMarginRatio())))
860865 else {
861866 let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [_amount, toBase58String(quoteAsset())], nil)
862867 if ((unstake == unstake))
863868 then ((updatePosition(toString(i.caller), oldPositionSize, remainMargin, oldPositionOpenNotional, latestCumulativePremiumFraction(oldPositionSize)) ++ withdraw(i.caller, _amount)) ++ updateBalance((cbalance() - _amount)))
864869 else throw("Strict value is not equal to itself.")
865870 }
866871 }
867872 }
868873
869874
870875
871876 @Callable(i)
872877 func closePosition () = if (if (if (!(requireOpenPosition(toString(i.caller))))
873878 then true
874879 else !(initialized()))
875880 then true
876881 else paused())
877882 then throw("Invalid closePosition parameters")
878883 else {
879- let $t03896139345 = internalClosePosition(toString(i.caller))
880- let x1 = $t03896139345._1
881- let positionBadDebt = $t03896139345._2
882- let realizedPnl = $t03896139345._3
883- let marginToVault = $t03896139345._4
884- let quoteAssetReserveAfter = $t03896139345._5
885- let baseAssetReserveAfter = $t03896139345._6
886- let totalPositionSizeAfter = $t03896139345._7
887- let cumulativeNotionalAfter = $t03896139345._8
888- let openInterestNotionalAfter = $t03896139345._9
889- let x2 = $t03896139345._10
890- let totalLongAfter = $t03896139345._11
891- let totalShortAfter = $t03896139345._12
884+ let $t03906039444 = internalClosePosition(toString(i.caller))
885+ let x1 = $t03906039444._1
886+ let positionBadDebt = $t03906039444._2
887+ let realizedPnl = $t03906039444._3
888+ let marginToVault = $t03906039444._4
889+ let quoteAssetReserveAfter = $t03906039444._5
890+ let baseAssetReserveAfter = $t03906039444._6
891+ let totalPositionSizeAfter = $t03906039444._7
892+ let cumulativeNotionalAfter = $t03906039444._8
893+ let openInterestNotionalAfter = $t03906039444._9
894+ let x2 = $t03906039444._10
895+ let totalLongAfter = $t03906039444._11
896+ let totalShortAfter = $t03906039444._12
892897 if ((positionBadDebt > 0))
893898 then throw("Unable to close position with bad debt")
894899 else {
895900 let withdrawAmount = abs(marginToVault)
896901 let ammBalance = (cbalance() - withdrawAmount)
897- let $t03955439696 = if ((0 > ammBalance))
902+ let $t03965339795 = if ((0 > ammBalance))
898903 then $Tuple2(0, abs(ammBalance))
899904 else $Tuple2(ammBalance, 0)
900- let ammNewBalance = $t03955439696._1
901- let getFromInsurance = $t03955439696._2
905+ let ammNewBalance = $t03965339795._1
906+ let getFromInsurance = $t03965339795._2
902907 let x = if ((getFromInsurance > 0))
903908 then {
904909 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [getFromInsurance], nil)
905910 if ((withdrawInsurance == withdrawInsurance))
906911 then nil
907912 else throw("Strict value is not equal to itself.")
908913 }
909914 else nil
910915 if ((x == x))
911916 then {
912917 let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [(withdrawAmount - getFromInsurance), toBase58String(quoteAsset())], nil)
913918 if ((unstake == unstake))
914919 then (((deletePosition(toString(i.caller)) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter)) ++ withdraw(i.caller, withdrawAmount)) ++ updateBalance(ammNewBalance))
915920 else throw("Strict value is not equal to itself.")
916921 }
917922 else throw("Strict value is not equal to itself.")
918923 }
919924 }
920925
921926
922927
923928 @Callable(i)
924929 func liquidate (_trader) = {
930+ let spotMarginRatio = getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
925931 let marginRatio = if (isOverFluctuationLimit())
926- then getMarginRatioByOption(_trader, PNL_OPTION_ORACLE)
927- else getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
932+ then {
933+ let oracleMarginRatio = getMarginRatioByOption(_trader, PNL_OPTION_ORACLE)
934+ vmax(spotMarginRatio, oracleMarginRatio)
935+ }
936+ else spotMarginRatio
928937 if (if (if (if (!(requireMoreMarginRatio(marginRatio, maintenanceMarginRatio(), false)))
929938 then true
930939 else !(requireOpenPosition(_trader)))
931940 then true
932941 else !(initialized()))
933942 then true
934943 else paused())
935944 then throw("Unable to liquidate")
936945 else {
937- let $t04113541562 = internalClosePosition(_trader)
938- let x1 = $t04113541562._1
939- let badDebt = $t04113541562._2
940- let x2 = $t04113541562._3
941- let marginToVault = $t04113541562._4
942- let quoteAssetReserveAfter = $t04113541562._5
943- let baseAssetReserveAfter = $t04113541562._6
944- let totalPositionSizeAfter = $t04113541562._7
945- let cumulativeNotionalAfter = $t04113541562._8
946- let openInterestNotionalAfter = $t04113541562._9
947- let exchangedQuoteAssetAmount = $t04113541562._10
948- let totalLongAfter = $t04113541562._11
949- let totalShortAfter = $t04113541562._12
946+ let $t04134341759 = internalClosePosition(_trader)
947+ let x1 = $t04134341759._1
948+ let badDebt = $t04134341759._2
949+ let x2 = $t04134341759._3
950+ let x3 = $t04134341759._4
951+ let quoteAssetReserveAfter = $t04134341759._5
952+ let baseAssetReserveAfter = $t04134341759._6
953+ let totalPositionSizeAfter = $t04134341759._7
954+ let cumulativeNotionalAfter = $t04134341759._8
955+ let openInterestNotionalAfter = $t04134341759._9
956+ let exchangedQuoteAssetAmount = $t04134341759._10
957+ let totalLongAfter = $t04134341759._11
958+ let totalShortAfter = $t04134341759._12
950959 let liquidationPenalty = muld(exchangedQuoteAssetAmount, liquidationFeeRatio())
951960 let feeToLiquidator = (liquidationPenalty / 2)
952961 let feeToInsurance = (liquidationPenalty - feeToLiquidator)
953962 let ammBalance = (cbalance() - liquidationPenalty)
954- let $t04196042095 = if ((0 > ammBalance))
963+ let $t04215742292 = if ((0 > ammBalance))
955964 then $Tuple2(0, abs(ammBalance))
956965 else $Tuple2(ammBalance, 0)
957- let newAmmBalance = $t04196042095._1
958- let takeFromInsurance = $t04196042095._2
966+ let newAmmBalance = $t04215742292._1
967+ let takeFromInsurance = $t04215742292._2
959968 let x = if ((takeFromInsurance > 0))
960969 then {
961970 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [takeFromInsurance], nil)
962971 if ((withdrawInsurance == withdrawInsurance))
963972 then nil
964973 else throw("Strict value is not equal to itself.")
965974 }
966975 else nil
967976 if ((x == x))
968977 then {
969978 let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [(liquidationPenalty - takeFromInsurance), toBase58String(quoteAsset())], nil)
970979 if ((unstake == unstake))
971980 then {
972981 let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
973982 if ((depositInsurance == depositInsurance))
974983 then (((deletePosition(_trader) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter)) ++ withdraw(i.caller, feeToLiquidator)) ++ updateBalance(newAmmBalance))
975984 else throw("Strict value is not equal to itself.")
976985 }
977986 else throw("Strict value is not equal to itself.")
978987 }
979988 else throw("Strict value is not equal to itself.")
980989 }
981990 }
982991
983992
984993
985994 @Callable(i)
986995 func payFunding () = {
987996 let fundingBlockTimestamp = nextFundingBlockTimestamp()
988997 if (if (if ((fundingBlockTimestamp > lastBlock.timestamp))
989998 then true
990999 else !(initialized()))
9911000 then true
9921001 else paused())
9931002 then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString(fundingBlockTimestamp)))
9941003 else {
9951004 let underlyingPrice = getOracleTwapPrice()
9961005 let spotTwapPrice = getTwapSpotPrice()
9971006 let premium = (spotTwapPrice - underlyingPrice)
998- let $t04347144806 = if (if ((totalShortPositionSize() == 0))
1007+ let $t04366845003 = if (if ((totalShortPositionSize() == 0))
9991008 then true
10001009 else (totalLongPositionSize() == 0))
10011010 then $Tuple2(0, 0)
10021011 else if ((0 > premium))
10031012 then {
10041013 let shortPremiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY)
10051014 let longPremiumFraction = divd(muld(shortPremiumFraction, totalShortPositionSize()), totalLongPositionSize())
10061015 $Tuple2(shortPremiumFraction, longPremiumFraction)
10071016 }
10081017 else {
10091018 let longPremiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY)
10101019 let shortPremiumFraction = divd(muld(longPremiumFraction, totalLongPositionSize()), totalShortPositionSize())
10111020 $Tuple2(shortPremiumFraction, longPremiumFraction)
10121021 }
1013- let shortPremiumFraction = $t04347144806._1
1014- let longPremiumFraction = $t04347144806._2
1022+ let shortPremiumFraction = $t04366845003._1
1023+ let longPremiumFraction = $t04366845003._2
10151024 updateFunding((fundingBlockTimestamp + fundingPeriodSeconds()), (latestLongCumulativePremiumFraction() + longPremiumFraction), (latestShortCumulativePremiumFraction() + shortPremiumFraction), divd(longPremiumFraction, underlyingPrice), divd(shortPremiumFraction, underlyingPrice))
10161025 }
10171026 }
10181027
10191028
10201029
10211030 @Callable(i)
10221031 func v_get (_trader) = {
1023- let $t04518145234 = internalClosePosition(_trader)
1024- let x1 = $t04518145234._1
1025- let x2 = $t04518145234._2
1026- let x3 = $t04518145234._3
1027- let x4 = $t04518145234._4
1032+ let $t04537845431 = internalClosePosition(_trader)
1033+ let x1 = $t04537845431._1
1034+ let x2 = $t04537845431._2
1035+ let x3 = $t04537845431._3
1036+ let x4 = $t04537845431._4
10281037 throw((((s(x2) + s(x3)) + s(x4)) + s(getMarginRatio(_trader))))
10291038 }
10301039
10311040
10321041
10331042 @Callable(i)
10341043 func view_calcRemainMarginWithFundingPayment (_trader) = {
1035- let $t04538145492 = getPosition(_trader)
1036- let positionSize = $t04538145492._1
1037- let positionMargin = $t04538145492._2
1038- let pon = $t04538145492._3
1039- let positionLstUpdCPF = $t04538145492._4
1040- let $t04549745598 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
1041- let positionNotional = $t04549745598._1
1042- let unrealizedPnl = $t04549745598._2
1043- let $t04560345785 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
1044- let remainMargin = $t04560345785._1
1045- let badDebt = $t04560345785._2
1046- let fundingPayment = $t04560345785._3
1044+ let $t04557845689 = getPosition(_trader)
1045+ let positionSize = $t04557845689._1
1046+ let positionMargin = $t04557845689._2
1047+ let pon = $t04557845689._3
1048+ let positionLstUpdCPF = $t04557845689._4
1049+ let $t04569445795 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
1050+ let positionNotional = $t04569445795._1
1051+ let unrealizedPnl = $t04569445795._2
1052+ let $t04580045982 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
1053+ let remainMargin = $t04580045982._1
1054+ let badDebt = $t04580045982._2
1055+ let fundingPayment = $t04580045982._3
10471056 throw(((s(remainMargin) + s(fundingPayment)) + s(getMarginRatio(_trader))))
10481057 }
10491058
10501059
10511060 @Verifier(tx)
10521061 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], adminPublicKey())
10531062

github/deemru/w8io/026f985 
157.58 ms