tx · EwkKLvesxf2iTzKt3f7atNik39dfeMEUHefF4MsoCYEe

3MrRa3KaEgRyyjQdMLuU78m5GkJLvP5DZLj:  -0.05100000 Waves

2022.07.06 18:54 [2128030] smart account 3MrRa3KaEgRyyjQdMLuU78m5GkJLvP5DZLj > SELF 0.00000000 Waves

{ "type": 13, "id": "EwkKLvesxf2iTzKt3f7atNik39dfeMEUHefF4MsoCYEe", "fee": 5100000, "feeAssetId": null, "timestamp": 1657122865485, "version": 2, "chainId": 84, "sender": "3MrRa3KaEgRyyjQdMLuU78m5GkJLvP5DZLj", "senderPublicKey": "AJNTN7EtP9dsAmPzcKRp9bRMvzZL4uwkmVxQuFuar3Qr", "proofs": [ "L1w3Ezm6L6ocV5a7ejMZVGk337zUPU7FR5qmrw3QKV7nqkYRxycrFdyhWrEsLzZD4qvPAxawb1m9DCi4GmiN1gQ" ], "script": "base64:AAIFAAAAAAAAAEkIAhIAEgASCQoHAQEBAQEBARIOCgwBAQEBAQEBCAgIAQESBQoDAQEBEgUKAwEBARIAEgMKAQESABIDCgEIEgASAwoBCBIDCgEIAAAAdQAAAAAJa19vcmFfa2V5AgAAAAlrX29yYV9rZXkAAAAAD2tfb3JhX2Jsb2NrX2tleQIAAAAPa19vcmFfYmxvY2tfa2V5AAAAAAVrX29yYQIAAAAFa19vcmEAAAAACWtfYmFsYW5jZQIAAAAJa19iYWxhbmNlAAAAAA5rX3Bvc2l0aW9uU2l6ZQIAAAAOa19wb3NpdGlvblNpemUAAAAAEGtfcG9zaXRpb25NYXJnaW4CAAAAEGtfcG9zaXRpb25NYXJnaW4AAAAAFmtfcG9zaXRpb25PcGVuTm90aW9uYWwCAAAAFmtfcG9zaXRpb25PcGVuTm90aW9uYWwAAAAALmtfcG9zaXRpb25MYXN0VXBkYXRlZEN1bXVsYXRpdmVQcmVtaXVtRnJhY3Rpb24CAAAAEmtfcG9zaXRpb25GcmFjdGlvbgAAAAANa19pbml0aWFsaXplZAIAAAANa19pbml0aWFsaXplZAAAA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0aW9uTHN0VXBkQ1BGCAUAAAANJHQwNDUzODE0NTQ5MgAAAAJfNAQAAAANJHQwNDU0OTc0NTU5OAkBAAAAI2dldFBvc2l0aW9uTm90aW9uYWxBbmRVbnJlYWxpemVkUG5sAAAAAgUAAAAHX3RyYWRlcgUAAAAPUE5MX09QVElPTl9TUE9UBAAAABBwb3NpdGlvbk5vdGlvbmFsCAUAAAANJHQwNDU0OTc0NTU5OAAAAAJfMQQAAAANdW5yZWFsaXplZFBubAgFAAAADSR0MDQ1NDk3NDU1OTgAAAACXzIEAAAADSR0MDQ1NjAzNDU3ODUJAQAAACJjYWxjUmVtYWluTWFyZ2luV2l0aEZ1bmRpbmdQYXltZW50AAAABAUAAAAMcG9zaXRpb25TaXplBQAAAA5wb3NpdGlvbk1hcmdpbgUAAAARcG9zaXRpb25Mc3RVcGRDUEYFAAAADXVucmVhbGl6ZWRQbmwEAAAADHJlbWFpbk1hcmdpbggFAAAADSR0MDQ1NjAzNDU3ODUAAAACXzEEAAAAB2JhZERlYnQIBQAAAA0kdDA0NTYwMzQ1Nzg1AAAAAl8yBAAAAA5mdW5kaW5nUGF5bWVudAgFAAAADSR0MDQ1NjAzNDU3ODUAAAACXzMJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAQAAAAFzAAAAAQUAAAAMcmVtYWluTWFyZ2luCQEAAAABcwAAAAEFAAAADmZ1bmRpbmdQYXltZW50CQEAAAABcwAAAAEJAQAAAA5nZXRNYXJnaW5SYXRpbwAAAAEFAAAAB190cmFkZXIAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAkBAAAADmFkbWluUHVibGljS2V5AAAAAPljjXY=", "height": 2128030, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GrwezrwQ3ztU9GMzP8ugRbL6TX1urcjoTRWq9ChrmCRB Next: 7ssiTR4NurxWa4U69Jg7h3mz69Ncpito5BQvuCGZKKmU Diff:
OldNewDifferences
423423 }
424424
425425
426+func calcMarginRatio (_remainMargin,_badDebt,_positionNotional) = divd((_remainMargin - _badDebt), _positionNotional)
427+
428+
426429 func getMarginRatioByOption (_trader,_option) = {
427- let $t01681116922 = getPosition(_trader)
428- let positionSize = $t01681116922._1
429- let positionMargin = $t01681116922._2
430- let pon = $t01681116922._3
431- let positionLstUpdCPF = $t01681116922._4
432- let $t01692817021 = getPositionNotionalAndUnrealizedPnl(_trader, _option)
433- let positionNotional = $t01692817021._1
434- let unrealizedPnl = $t01692817021._2
435- let $t01702617192 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
436- let remainMargin = $t01702617192._1
437- let badDebt = $t01702617192._2
438- divd((remainMargin - badDebt), positionNotional)
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
441+ calcMarginRatio(remainMargin, badDebt, positionNotional)
439442 }
440443
441444
443446
444447
445448 func internalClosePosition (_trader) = {
446- let $t01749817609 = getPosition(_trader)
447- let positionSize = $t01749817609._1
448- let positionMargin = $t01749817609._2
449- let pon = $t01749817609._3
450- let positionLstUpdCPF = $t01749817609._4
451- let $t01761517702 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
452- let x1 = $t01761517702._1
453- let unrealizedPnl = $t01761517702._2
454- let $t01770717875 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
455- let remainMargin = $t01770717875._1
456- let badDebt = $t01770717875._2
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
457460 let exchangedPositionSize = -(positionSize)
458461 let realizedPnl = unrealizedPnl
459462 let marginToVault = -(remainMargin)
460- let $t01800218283 = swapOutput((positionSize > 0), abs(positionSize))
461- let exchangedQuoteAssetAmount = $t01800218283._1
462- let quoteAssetReserveAfter = $t01800218283._2
463- let baseAssetReserveAfter = $t01800218283._3
464- let totalPositionSizeAfter = $t01800218283._4
465- let cumulativeNotionalAfter = $t01800218283._5
466- let totalLongAfter = $t01800218283._6
467- let totalShortAfter = $t01800218283._7
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
468471 let openInterestNotionalAfter = (openInterestNotional() - pon)
469472 $Tuple12(exchangedPositionSize, badDebt, realizedPnl, marginToVault, quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, exchangedQuoteAssetAmount, totalLongAfter, totalShortAfter)
470473 }
630633 else paused())
631634 then throw("Invalid decreasePosition parameters")
632635 else {
633- let $t02810728259 = getPosition(toString(i.caller))
634- let oldPositionSize = $t02810728259._1
635- let oldPositionMargin = $t02810728259._2
636- let oldPositionOpenNotional = $t02810728259._3
637- let oldPositionLstUpdCPF = $t02810728259._4
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
638641 let _direction = if ((oldPositionSize > 0))
639642 then DIR_SHORT
640643 else DIR_LONG
641644 let isAdd = (_direction == DIR_LONG)
642645 let openNotional = muld(_amount, _leverage)
643- let $t02843228548 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
644- let oldPositionNotional = $t02843228548._1
645- let unrealizedPnl = $t02843228548._2
646- let $t02855431103 = if ((oldPositionNotional > openNotional))
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))
647650 then {
648- let $t02893129150 = swapInput(isAdd, openNotional)
649- let exchangedPositionSize = $t02893129150._1
650- let quoteAssetReserveAfter = $t02893129150._2
651- let baseAssetReserveAfter = $t02893129150._3
652- let totalPositionSizeAfter = $t02893129150._4
653- let cumulativeNotionalAfter = $t02893129150._5
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
654657 let exchangedPositionSizeAbs = abs(exchangedPositionSize)
655658 if (if ((_minBaseAssetAmount != 0))
656659 then (_minBaseAssetAmount > exchangedPositionSizeAbs)
658661 then throw(((("Too little base asset exchanged, got " + toString(exchangedPositionSizeAbs)) + " expected ") + toString(_minBaseAssetAmount)))
659662 else {
660663 let realizedPnl = divd(muld(unrealizedPnl, exchangedPositionSizeAbs), abs(oldPositionSize))
661- let $t02958729832 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
662- let remainMargin = $t02958729832._1
663- let badDebt = $t02958729832._2
664- let fundingPayment = $t02958729832._3
664+ let $t02976730012 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
665+ let remainMargin = $t02976730012._1
666+ let badDebt = $t02976730012._2
667+ let fundingPayment = $t02976730012._3
665668 let exchangedQuoteAssetAmount = openNotional
666669 let unrealizedPnlAfter = (unrealizedPnl - realizedPnl)
667670 let remainOpenNotional = if ((oldPositionSize > 0))
676679 }
677680 }
678681 else throw("Close position first")
679- let newPositionSize = $t02855431103._1
680- let newPositionRemainMargin = $t02855431103._2
681- let newPositionOpenNotional = $t02855431103._3
682- let newPositionLatestCPF = $t02855431103._4
683- let baseAssetReserveAfter = $t02855431103._5
684- let quoteAssetReserveAfter = $t02855431103._6
685- let totalPositionSizeAfter = $t02855431103._7
686- let cumulativeNotionalAfter = $t02855431103._8
687- let openInterestNotionalAfter = $t02855431103._9
688- let totalLongAfter = $t02855431103._10
689- let totalShortAfter = $t02855431103._11
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
690693 (updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPositionOpenNotional, newPositionLatestCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter))
691694 }
692695
716719 else {
717720 let feeAmount = muld(_rawAmount, fee())
718721 let _amount = (_rawAmount - feeAmount)
719- let $t03213932291 = getPosition(toString(i.caller))
720- let oldPositionSize = $t03213932291._1
721- let oldPositionMargin = $t03213932291._2
722- let oldPositionOpenNotional = $t03213932291._3
723- let oldPositionLstUpdCPF = $t03213932291._4
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
724727 let isNewPosition = (oldPositionSize == 0)
725728 let isSameDirection = if ((oldPositionSize > 0))
726729 then (_direction == DIR_LONG)
729732 then isSameDirection
730733 else false
731734 let isAdd = (_direction == DIR_LONG)
732- let $t03258034969 = if (if (isNewPosition)
735+ let $t03276035149 = if (if (isNewPosition)
733736 then true
734737 else expandExisting)
735738 then {
736739 let openNotional = muld(_amount, _leverage)
737- let $t03300433210 = swapInput(isAdd, openNotional)
738- let amountBaseAssetBought = $t03300433210._1
739- let quoteAssetReserveAfter = $t03300433210._2
740- let baseAssetReserveAfter = $t03300433210._3
741- let totalPositionSizeAfter = $t03300433210._4
742- let cumulativeNotionalAfter = $t03300433210._5
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
743746 if (if ((_minBaseAssetAmount != 0))
744747 then (_minBaseAssetAmount > abs(amountBaseAssetBought))
745748 else false)
747750 else {
748751 let newPositionSize = (oldPositionSize + amountBaseAssetBought)
749752 let increaseMarginRequirement = divd(openNotional, _leverage)
750- let $t03359133830 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement)
751- let remainMargin = $t03359133830._1
752- let x1 = $t03359133830._2
753- let x2 = $t03359133830._3
753+ let $t03377134010 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement)
754+ let remainMargin = $t03377134010._1
755+ let x1 = $t03377134010._2
756+ let x2 = $t03377134010._3
754757 $Tuple11(newPositionSize, remainMargin, (oldPositionOpenNotional + openNotional), latestCumulativePremiumFraction(newPositionSize), baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInterestNotional() + openNotional), (totalLongPositionSize() + (if ((newPositionSize > 0))
755758 then abs(amountBaseAssetBought)
756759 else 0)), (totalShortPositionSize() + (if ((0 > newPositionSize))
760763 }
761764 else {
762765 let openNotional = muld(_amount, _leverage)
763- let $t03466234778 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
764- let oldPositionNotional = $t03466234778._1
765- let unrealizedPnl = $t03466234778._2
766+ let $t03484234958 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
767+ let oldPositionNotional = $t03484234958._1
768+ let unrealizedPnl = $t03484234958._2
766769 if ((oldPositionNotional > openNotional))
767770 then throw("Use decreasePosition to decrease position size")
768771 else throw("Close position first")
769772 }
770- let newPositionSize = $t03258034969._1
771- let newPositionRemainMargin = $t03258034969._2
772- let newPositionOpenNotional = $t03258034969._3
773- let newPositionLatestCPF = $t03258034969._4
774- let baseAssetReserveAfter = $t03258034969._5
775- let quoteAssetReserveAfter = $t03258034969._6
776- let totalPositionSizeAfter = $t03258034969._7
777- let cumulativeNotionalAfter = $t03258034969._8
778- let openInterestNotionalAfter = $t03258034969._9
779- let totalLongAfter = $t03258034969._10
780- let totalShortAfter = $t03258034969._11
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
781784 let feeToStakers = (feeAmount / 2)
782785 let feeToInsurance = (feeAmount - feeToStakers)
783786 let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
808811 else {
809812 let feeAmount = muld(_rawAmount, fee())
810813 let _amount = (_rawAmount - feeAmount)
811- let $t03624536397 = getPosition(toString(i.caller))
812- let oldPositionSize = $t03624536397._1
813- let oldPositionMargin = $t03624536397._2
814- let oldPositionOpenNotional = $t03624536397._3
815- let oldPositionLstUpdCPF = $t03624536397._4
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
816819 let feeToStakers = (feeAmount / 2)
817820 let feeToInsurance = (feeAmount - feeToStakers)
818821 let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
839842 else paused())
840843 then throw("Invalid removeMargin parameters")
841844 else {
842- let $t03731737469 = getPosition(toString(i.caller))
843- let oldPositionSize = $t03731737469._1
844- let oldPositionMargin = $t03731737469._2
845- let oldPositionOpenNotional = $t03731737469._3
846- let oldPositionLstUpdCPF = $t03731737469._4
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
847850 let marginDelta = -(_amount)
848- let $t03750637685 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta)
849- let remainMargin = $t03750637685._1
850- let badDebt = $t03750637685._2
851+ let $t03768637865 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta)
852+ let remainMargin = $t03768637865._1
853+ let badDebt = $t03768637865._2
851854 if ((badDebt != 0))
852- then throw("Invalid added margin amount")
855+ then throw("Invalid removed margin amount")
853856 else {
854- let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [_amount, toBase58String(quoteAsset())], nil)
855- if ((unstake == unstake))
856- then ((updatePosition(toString(i.caller), oldPositionSize, remainMargin, oldPositionOpenNotional, latestCumulativePremiumFraction(oldPositionSize)) ++ withdraw(i.caller, _amount)) ++ updateBalance((cbalance() - _amount)))
857- else throw("Strict value is not equal to itself.")
857+ let marginRatio = calcMarginRatio(remainMargin, badDebt, oldPositionOpenNotional)
858+ if (!(requireMoreMarginRatio(marginRatio, initMarginRatio(), true)))
859+ then throw(((("Too much margin removed: " + toString(marginRatio)) + " < ") + toString(initMarginRatio())))
860+ else {
861+ let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [_amount, toBase58String(quoteAsset())], nil)
862+ if ((unstake == unstake))
863+ then ((updatePosition(toString(i.caller), oldPositionSize, remainMargin, oldPositionOpenNotional, latestCumulativePremiumFraction(oldPositionSize)) ++ withdraw(i.caller, _amount)) ++ updateBalance((cbalance() - _amount)))
864+ else throw("Strict value is not equal to itself.")
865+ }
858866 }
859867 }
860868
868876 else paused())
869877 then throw("Invalid closePosition parameters")
870878 else {
871- let $t03844538829 = internalClosePosition(toString(i.caller))
872- let x1 = $t03844538829._1
873- let positionBadDebt = $t03844538829._2
874- let realizedPnl = $t03844538829._3
875- let marginToVault = $t03844538829._4
876- let quoteAssetReserveAfter = $t03844538829._5
877- let baseAssetReserveAfter = $t03844538829._6
878- let totalPositionSizeAfter = $t03844538829._7
879- let cumulativeNotionalAfter = $t03844538829._8
880- let openInterestNotionalAfter = $t03844538829._9
881- let x2 = $t03844538829._10
882- let totalLongAfter = $t03844538829._11
883- let totalShortAfter = $t03844538829._12
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
884892 if ((positionBadDebt > 0))
885893 then throw("Unable to close position with bad debt")
886894 else {
887895 let withdrawAmount = abs(marginToVault)
888896 let ammBalance = (cbalance() - withdrawAmount)
889- let $t03903839180 = if ((0 > ammBalance))
897+ let $t03955439696 = if ((0 > ammBalance))
890898 then $Tuple2(0, abs(ammBalance))
891899 else $Tuple2(ammBalance, 0)
892- let ammNewBalance = $t03903839180._1
893- let getFromInsurance = $t03903839180._2
900+ let ammNewBalance = $t03955439696._1
901+ let getFromInsurance = $t03955439696._2
894902 let x = if ((getFromInsurance > 0))
895903 then {
896904 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [getFromInsurance], nil)
926934 else paused())
927935 then throw("Unable to liquidate")
928936 else {
929- let $t04061941046 = internalClosePosition(_trader)
930- let x1 = $t04061941046._1
931- let badDebt = $t04061941046._2
932- let x2 = $t04061941046._3
933- let marginToVault = $t04061941046._4
934- let quoteAssetReserveAfter = $t04061941046._5
935- let baseAssetReserveAfter = $t04061941046._6
936- let totalPositionSizeAfter = $t04061941046._7
937- let cumulativeNotionalAfter = $t04061941046._8
938- let openInterestNotionalAfter = $t04061941046._9
939- let exchangedQuoteAssetAmount = $t04061941046._10
940- let totalLongAfter = $t04061941046._11
941- let totalShortAfter = $t04061941046._12
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
942950 let liquidationPenalty = muld(exchangedQuoteAssetAmount, liquidationFeeRatio())
943951 let feeToLiquidator = (liquidationPenalty / 2)
944952 let feeToInsurance = (liquidationPenalty - feeToLiquidator)
945953 let ammBalance = (cbalance() - liquidationPenalty)
946- let $t04144441579 = if ((0 > ammBalance))
954+ let $t04196042095 = if ((0 > ammBalance))
947955 then $Tuple2(0, abs(ammBalance))
948956 else $Tuple2(ammBalance, 0)
949- let newAmmBalance = $t04144441579._1
950- let takeFromInsurance = $t04144441579._2
957+ let newAmmBalance = $t04196042095._1
958+ let takeFromInsurance = $t04196042095._2
951959 let x = if ((takeFromInsurance > 0))
952960 then {
953961 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [takeFromInsurance], nil)
987995 let underlyingPrice = getOracleTwapPrice()
988996 let spotTwapPrice = getTwapSpotPrice()
989997 let premium = (spotTwapPrice - underlyingPrice)
990- let $t04295544290 = if (if ((totalShortPositionSize() == 0))
998+ let $t04347144806 = if (if ((totalShortPositionSize() == 0))
991999 then true
9921000 else (totalLongPositionSize() == 0))
9931001 then $Tuple2(0, 0)
10021010 let shortPremiumFraction = divd(muld(longPremiumFraction, totalLongPositionSize()), totalShortPositionSize())
10031011 $Tuple2(shortPremiumFraction, longPremiumFraction)
10041012 }
1005- let shortPremiumFraction = $t04295544290._1
1006- let longPremiumFraction = $t04295544290._2
1013+ let shortPremiumFraction = $t04347144806._1
1014+ let longPremiumFraction = $t04347144806._2
10071015 updateFunding((fundingBlockTimestamp + fundingPeriodSeconds()), (latestLongCumulativePremiumFraction() + longPremiumFraction), (latestShortCumulativePremiumFraction() + shortPremiumFraction), divd(longPremiumFraction, underlyingPrice), divd(shortPremiumFraction, underlyingPrice))
10081016 }
10091017 }
10121020
10131021 @Callable(i)
10141022 func v_get (_trader) = {
1015- let $t04466544718 = internalClosePosition(_trader)
1016- let x1 = $t04466544718._1
1017- let x2 = $t04466544718._2
1018- let x3 = $t04466544718._3
1019- let x4 = $t04466544718._4
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
10201028 throw((((s(x2) + s(x3)) + s(x4)) + s(getMarginRatio(_trader))))
10211029 }
10221030
10241032
10251033 @Callable(i)
10261034 func view_calcRemainMarginWithFundingPayment (_trader) = {
1027- let $t04486544976 = getPosition(_trader)
1028- let positionSize = $t04486544976._1
1029- let positionMargin = $t04486544976._2
1030- let pon = $t04486544976._3
1031- let positionLstUpdCPF = $t04486544976._4
1032- let $t04498145082 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
1033- let positionNotional = $t04498145082._1
1034- let unrealizedPnl = $t04498145082._2
1035- let $t04508745269 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
1036- let remainMargin = $t04508745269._1
1037- let badDebt = $t04508745269._2
1038- let fundingPayment = $t04508745269._3
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
10391047 throw(((s(remainMargin) + s(fundingPayment)) + s(getMarginRatio(_trader))))
10401048 }
10411049
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)
143143
144144
145145 func toCompositeKey (_key,_address) = ((_key + "_") + _address)
146146
147147
148148 func listToStr (_list) = {
149149 func _join (accumulator,val) = ((accumulator + val) + ",")
150150
151151 let newListStr = {
152152 let $l = _list
153153 let $s = size($l)
154154 let $acc0 = ""
155155 func $f0_1 ($a,$i) = if (($i >= $s))
156156 then $a
157157 else _join($a, $l[$i])
158158
159159 func $f0_2 ($a,$i) = if (($i >= $s))
160160 then $a
161161 else throw("List size exceeds 20")
162162
163163 $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)
164164 }
165165 let newListStrU = dropRight(newListStr, 1)
166166 let newListStrR = if ((take(newListStrU, 1) == ","))
167167 then drop(newListStrU, 1)
168168 else newListStrU
169169 newListStrR
170170 }
171171
172172
173173 func strToList (_str) = split(_str, ",")
174174
175175
176176 func pushToQueue (_list,_maxSize,_value) = if ((size(_list) > _maxSize))
177177 then (removeByIndex(_list, 0) :+ _value)
178178 else (_list :+ _value)
179179
180180
181181 func int (k) = valueOrErrorMessage(getInteger(this, k), ("no value for " + k))
182182
183183
184184 func cbalance () = int(k_balance)
185185
186186
187187 func fee () = int(k_fee)
188188
189189
190190 func initMarginRatio () = int(k_initMarginRatio)
191191
192192
193193 func qtAstR () = int(k_quoteAssetReserve)
194194
195195
196196 func bsAstR () = int(k_baseAssetReserve)
197197
198198
199199 func totalPositionSize () = int(k_totalPositionSize)
200200
201201
202202 func cumulativeNotional () = int(k_cumulativeNotional)
203203
204204
205205 func openInterestNotional () = int(k_openInterestNotional)
206206
207207
208208 func nextFundingBlockTimestamp () = int(k_nextFundingBlock)
209209
210210
211211 func fundingPeriodRaw () = int(k_fundingPeriod)
212212
213213
214214 func fundingPeriodDecimal () = (fundingPeriodRaw() * DECIMAL_UNIT)
215215
216216
217217 func fundingPeriodSeconds () = (fundingPeriodRaw() * SECONDS)
218218
219219
220220 func maintenanceMarginRatio () = int(k_maintenanceMarginRatio)
221221
222222
223223 func liquidationFeeRatio () = int(k_liquidationFeeRatio)
224224
225225
226226 func spreadLimit () = int(k_spreadLimit)
227227
228228
229229 func maxPriceImpact () = int(k_maxPriceImpact)
230230
231231
232232 func latestLongCumulativePremiumFraction () = int(k_latestLongCumulativePremiumFraction)
233233
234234
235235 func latestShortCumulativePremiumFraction () = int(k_latestShortCumulativePremiumFraction)
236236
237237
238238 func totalShortPositionSize () = int(k_totalShortPositionSize)
239239
240240
241241 func totalLongPositionSize () = int(k_totalLongPositionSize)
242242
243243
244244 func requireMoreMarginRatio (_marginRatio,_baseMarginRatio,_largerThanOrEqualTo) = {
245245 let remainingMarginRatio = (_marginRatio - _baseMarginRatio)
246246 if (if (_largerThanOrEqualTo)
247247 then (0 > remainingMarginRatio)
248248 else false)
249249 then throw("Invalid margin")
250250 else if (if (!(_largerThanOrEqualTo))
251251 then (remainingMarginRatio >= 0)
252252 else false)
253253 then throw("Invalid margin")
254254 else true
255255 }
256256
257257
258258 func latestCumulativePremiumFraction (_positionSize) = if ((_positionSize == 0))
259259 then throw("Should not be called with _positionSize == 0")
260260 else if ((_positionSize > 0))
261261 then latestLongCumulativePremiumFraction()
262262 else latestShortCumulativePremiumFraction()
263263
264264
265265 func getPosition (_trader) = {
266266 let positionSizeOpt = getInteger(this, toCompositeKey(k_positionSize, _trader))
267267 match positionSizeOpt {
268268 case positionSize: Int =>
269269 $Tuple4(positionSize, getIntegerValue(this, toCompositeKey(k_positionMargin, _trader)), getIntegerValue(this, toCompositeKey(k_positionOpenNotional, _trader)), getIntegerValue(this, toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _trader)))
270270 case _ =>
271271 $Tuple4(0, 0, 0, 0)
272272 }
273273 }
274274
275275
276276 func requireOpenPosition (_trader) = if ((getPosition(_trader)._1 == 0))
277277 then throw("No open position")
278278 else true
279279
280280
281281 func initialized () = valueOrElse(getBoolean(this, k_initialized), false)
282282
283283
284284 func paused () = valueOrElse(getBoolean(this, k_paused), false)
285285
286286
287287 func updateReserve (_isAdd,_quoteAssetAmount,_baseAssetAmount) = if (_isAdd)
288288 then {
289289 let newBase = (bsAstR() - _baseAssetAmount)
290290 if ((0 >= newBase))
291291 then throw("Tx lead to base asset reserve <= 0, revert")
292292 else $Tuple4((qtAstR() + _quoteAssetAmount), newBase, (totalPositionSize() + _baseAssetAmount), (cumulativeNotional() + _quoteAssetAmount))
293293 }
294294 else {
295295 let newQuote = (qtAstR() - _quoteAssetAmount)
296296 if ((0 >= newQuote))
297297 then throw("Tx lead to base quote reserve <= 0, revert")
298298 else $Tuple4(newQuote, (bsAstR() + _baseAssetAmount), (totalPositionSize() - _baseAssetAmount), (cumulativeNotional() - _quoteAssetAmount))
299299 }
300300
301301
302302 func swapInput (_isAdd,_quoteAssetAmount) = {
303303 let _qtAstR = qtAstR()
304304 let _bsAstR = bsAstR()
305305 let priceBefore = divd(_qtAstR, _bsAstR)
306306 let amountBaseAssetBoughtWithoutPriceImpact = muld(_quoteAssetAmount, priceBefore)
307307 let k = muld(_qtAstR, _bsAstR)
308308 let quoteAssetReserveAfter = if (_isAdd)
309309 then (_qtAstR + _quoteAssetAmount)
310310 else (_qtAstR - _quoteAssetAmount)
311311 let baseAssetReserveAfter = divd(k, quoteAssetReserveAfter)
312312 let amountBaseAssetBoughtAbs = abs((baseAssetReserveAfter - _bsAstR))
313313 let amountBaseAssetBought = if (_isAdd)
314314 then amountBaseAssetBoughtAbs
315315 else -(amountBaseAssetBoughtAbs)
316316 let priceImpact = ((amountBaseAssetBoughtWithoutPriceImpact - amountBaseAssetBoughtAbs) / amountBaseAssetBoughtWithoutPriceImpact)
317317 let maxPriceImpactValue = maxPriceImpact()
318318 if ((priceImpact > maxPriceImpactValue))
319319 then throw(((("Price impact " + toString(priceImpact)) + " > max price impact ") + toString(maxPriceImpactValue)))
320320 else {
321321 let $t01209412297 = updateReserve(_isAdd, _quoteAssetAmount, amountBaseAssetBoughtAbs)
322322 let quoteAssetReserveAfter1 = $t01209412297._1
323323 let baseAssetReserveAfter1 = $t01209412297._2
324324 let totalPositionSizeAfter1 = $t01209412297._3
325325 let cumulativeNotionalAfter1 = $t01209412297._4
326326 $Tuple5(amountBaseAssetBought, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1)
327327 }
328328 }
329329
330330
331331 func calcRemainMarginWithFundingPayment (_oldPositionSize,_oldPositionMargin,_oldPositionCumulativePremiumFraction,_marginDelta) = {
332332 let fundingPayment = if ((_oldPositionSize != 0))
333333 then {
334334 let _latestCumulativePremiumFraction = latestCumulativePremiumFraction(_oldPositionSize)
335335 muld((_latestCumulativePremiumFraction - _oldPositionCumulativePremiumFraction), _oldPositionSize)
336336 }
337337 else 0
338338 let signedMargin = ((_marginDelta - fundingPayment) + _oldPositionMargin)
339339 let $t01304413171 = if ((0 > signedMargin))
340340 then $Tuple2(0, abs(signedMargin))
341341 else $Tuple2(abs(signedMargin), 0)
342342 let remainMargin = $t01304413171._1
343343 let badDebt = $t01304413171._2
344344 $Tuple3(remainMargin, badDebt, fundingPayment)
345345 }
346346
347347
348348 func swapOutput (_isAdd,_baseAssetAmount) = {
349349 let _quoteAssetReserve = qtAstR()
350350 let _baseAssetReserve = bsAstR()
351351 if ((_baseAssetAmount == 0))
352352 then throw("Invalid base asset amount")
353353 else {
354354 let k = muld(_quoteAssetReserve, _baseAssetReserve)
355355 let baseAssetPoolAmountAfter = if (_isAdd)
356356 then (_baseAssetReserve + _baseAssetAmount)
357357 else (_baseAssetReserve - _baseAssetAmount)
358358 let quoteAssetAfter = divd(k, baseAssetPoolAmountAfter)
359359 let quoteAssetSold = abs((quoteAssetAfter - _quoteAssetReserve))
360360 let $t01400914202 = updateReserve(!(_isAdd), quoteAssetSold, _baseAssetAmount)
361361 let quoteAssetReserveAfter1 = $t01400914202._1
362362 let baseAssetReserveAfter1 = $t01400914202._2
363363 let totalPositionSizeAfter1 = $t01400914202._3
364364 let cumulativeNotionalAfter1 = $t01400914202._4
365365 $Tuple7(quoteAssetSold, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1, (totalLongPositionSize() - (if (_isAdd)
366366 then abs(_baseAssetAmount)
367367 else 0)), (totalShortPositionSize() - (if (!(_isAdd))
368368 then abs(_baseAssetAmount)
369369 else 0)))
370370 }
371371 }
372372
373373
374374 func getOracleTwapPrice () = {
375375 let oracle = valueOrErrorMessage(addressFromString(getStringValue(this, k_ora)), "")
376376 let priceKey = getStringValue(this, k_ora_key)
377377 let blockKey = getStringValue(this, k_ora_block_key)
378378 let lastValue = getIntegerValue(oracle, priceKey)
379379 lastValue
380380 }
381381
382382
383383 func getSpotPrice () = {
384384 let _quoteAssetReserve = qtAstR()
385385 let _baseAssetReserve = bsAstR()
386386 divd(_quoteAssetReserve, _baseAssetReserve)
387387 }
388388
389389
390390 func isOverFluctuationLimit () = {
391391 let oraclePrice = getOracleTwapPrice()
392392 let currentPrice = getSpotPrice()
393393 (divd(abs((oraclePrice - currentPrice)), oraclePrice) > spreadLimit())
394394 }
395395
396396
397397 func getPositionNotionalAndUnrealizedPnl (_trader,_option) = {
398398 let $t01583415962 = getPosition(_trader)
399399 let positionSize = $t01583415962._1
400400 let positionMargin = $t01583415962._2
401401 let positionOpenNotional = $t01583415962._3
402402 let positionLstUpdCPF = $t01583415962._4
403403 let positionSizeAbs = abs(positionSize)
404404 if ((positionSizeAbs == 0))
405405 then throw("Invalid position size")
406406 else {
407407 let isShort = (0 > positionSize)
408408 let positionNotional = if ((_option == PNL_OPTION_SPOT))
409409 then {
410410 let $t01620916316 = swapOutput(!(isShort), positionSizeAbs)
411411 let outPositionNotional = $t01620916316._1
412412 let x1 = $t01620916316._2
413413 let x2 = $t01620916316._3
414414 let x3 = $t01620916316._4
415415 outPositionNotional
416416 }
417417 else (positionSizeAbs * getOracleTwapPrice())
418418 let unrealizedPnl = if (isShort)
419419 then (positionOpenNotional - positionNotional)
420420 else (positionNotional - positionOpenNotional)
421421 $Tuple2(positionNotional, unrealizedPnl)
422422 }
423423 }
424424
425425
426+func calcMarginRatio (_remainMargin,_badDebt,_positionNotional) = divd((_remainMargin - _badDebt), _positionNotional)
427+
428+
426429 func getMarginRatioByOption (_trader,_option) = {
427- let $t01681116922 = getPosition(_trader)
428- let positionSize = $t01681116922._1
429- let positionMargin = $t01681116922._2
430- let pon = $t01681116922._3
431- let positionLstUpdCPF = $t01681116922._4
432- let $t01692817021 = getPositionNotionalAndUnrealizedPnl(_trader, _option)
433- let positionNotional = $t01692817021._1
434- let unrealizedPnl = $t01692817021._2
435- let $t01702617192 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
436- let remainMargin = $t01702617192._1
437- let badDebt = $t01702617192._2
438- divd((remainMargin - badDebt), positionNotional)
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
441+ calcMarginRatio(remainMargin, badDebt, positionNotional)
439442 }
440443
441444
442445 func getMarginRatio (_trader) = getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
443446
444447
445448 func internalClosePosition (_trader) = {
446- let $t01749817609 = getPosition(_trader)
447- let positionSize = $t01749817609._1
448- let positionMargin = $t01749817609._2
449- let pon = $t01749817609._3
450- let positionLstUpdCPF = $t01749817609._4
451- let $t01761517702 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
452- let x1 = $t01761517702._1
453- let unrealizedPnl = $t01761517702._2
454- let $t01770717875 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
455- let remainMargin = $t01770717875._1
456- let badDebt = $t01770717875._2
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
457460 let exchangedPositionSize = -(positionSize)
458461 let realizedPnl = unrealizedPnl
459462 let marginToVault = -(remainMargin)
460- let $t01800218283 = swapOutput((positionSize > 0), abs(positionSize))
461- let exchangedQuoteAssetAmount = $t01800218283._1
462- let quoteAssetReserveAfter = $t01800218283._2
463- let baseAssetReserveAfter = $t01800218283._3
464- let totalPositionSizeAfter = $t01800218283._4
465- let cumulativeNotionalAfter = $t01800218283._5
466- let totalLongAfter = $t01800218283._6
467- let totalShortAfter = $t01800218283._7
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
468471 let openInterestNotionalAfter = (openInterestNotional() - pon)
469472 $Tuple12(exchangedPositionSize, badDebt, realizedPnl, marginToVault, quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, exchangedQuoteAssetAmount, totalLongAfter, totalShortAfter)
470473 }
471474
472475
473476 func getTwapSpotPrice () = {
474477 let minuteId = ((lastBlock.timestamp / 1000) / 60)
475478 let startMinuteId = (minuteId - TWAP_INTERVAL)
476479 let listStr = valueOrElse(getString(this, k_lastDataStr), "")
477480 let list = split(listStr, ",")
478481 func filterFn (accumulator,next) = if ((startMinuteId >= parseIntValue(next)))
479482 then (accumulator :+ parseIntValue(next))
480483 else accumulator
481484
482485 let listF = {
483486 let $l = list
484487 let $s = size($l)
485488 let $acc0 = nil
486489 func $f0_1 ($a,$i) = if (($i >= $s))
487490 then $a
488491 else filterFn($a, $l[$i])
489492
490493 func $f0_2 ($a,$i) = if (($i >= $s))
491494 then $a
492495 else throw("List size exceeds 20")
493496
494497 $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)
495498 }
496499 let maxIndex = if ((size(listF) > 0))
497500 then max(listF)
498501 else parseIntValue(list[0])
499502 let lastMinuteId = valueOrElse(getInteger(this, k_lastMinuteId), 0)
500503 let endLastCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(lastMinuteId))), 0)
501504 let endLastPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(lastMinuteId))), 0)
502505 let nowCumulativePrice = (endLastCumulativePrice + ((minuteId - lastMinuteId) * endLastPrice))
503506 let startLastCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(maxIndex))), 0)
504507 let startLastPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(maxIndex))), 0)
505508 let startCumulativePrice = (startLastCumulativePrice + ((startMinuteId - maxIndex) * startLastPrice))
506509 ((nowCumulativePrice - startCumulativePrice) / TWAP_INTERVAL)
507510 }
508511
509512
510513 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)]
511514
512515
513516 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)]
514517
515518
516519 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)]
517520
518521
519522 func appendTwap (price) = {
520523 let minuteId = ((lastBlock.timestamp / 1000) / 60)
521524 let previousMinuteId = valueOrElse(getInteger(this, k_lastMinuteId), 0)
522525 if ((previousMinuteId > minuteId))
523526 then throw("TWAP out-of-order")
524527 else {
525528 let lastMinuteId = if ((previousMinuteId == 0))
526529 then minuteId
527530 else previousMinuteId
528531 if ((minuteId > previousMinuteId))
529532 then {
530533 let prevCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(previousMinuteId))), 0)
531534 let prevPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(previousMinuteId))), price)
532535 let lastCumulativePrice = (prevCumulativePrice + ((minuteId - lastMinuteId) * prevPrice))
533536 let list = pushToQueue(strToList(valueOrElse(getString(this, k_lastDataStr), "")), TWAP_INTERVAL, toString(minuteId))
534537 [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))]
535538 }
536539 else {
537540 let twapDataPreviousMinuteId = valueOrElse(getInteger(this, toCompositeKey(k_twapDataPreviousMinuteId, toString(minuteId))), 0)
538541 let prevCumulativePrice = valueOrElse(getInteger(this, toCompositeKey(k_twapDataLastCumulativePrice, toString(twapDataPreviousMinuteId))), 0)
539542 let prevPrice = valueOrElse(getInteger(this, toCompositeKey(k_twapDataLastPrice, toString(twapDataPreviousMinuteId))), price)
540543 let lastCumulativePrice = (prevCumulativePrice + ((minuteId - twapDataPreviousMinuteId) * prevPrice))
541544 [IntegerEntry(toCompositeKey(k_twapDataLastCumulativePrice, toString(minuteId)), lastCumulativePrice), IntegerEntry(toCompositeKey(k_twapDataLastPrice, toString(minuteId)), price)]
542545 }
543546 }
544547 }
545548
546549
547550 func updateAmm (_qtAstR,_bsAstR,_totalPositionSizeAfter,_cumulativeNotionalAfter,_openInterestNotional,_totalLongPositionSize,_totalShortPositionSize) = if (((_totalLongPositionSize - _totalShortPositionSize) != _totalPositionSizeAfter))
548551 then throw(((((("Invalid AMM state data: " + toString(_totalLongPositionSize)) + " + ") + toString(_totalShortPositionSize)) + " != ") + toString(_totalPositionSizeAfter)))
549552 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)))
550553
551554
552555 func deletePosition (_address) = [DeleteEntry(toCompositeKey(k_positionSize, _address)), DeleteEntry(toCompositeKey(k_positionMargin, _address)), DeleteEntry(toCompositeKey(k_positionOpenNotional, _address)), DeleteEntry(toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _address))]
553556
554557
555558 func withdraw (_address,_amount) = {
556559 let balance = assetBalance(this, quoteAsset())
557560 if ((_amount > balance))
558561 then throw(((("Unable to withdraw " + toString(_amount)) + " from contract balance ") + toString(balance)))
559562 else [ScriptTransfer(_address, _amount, quoteAsset())]
560563 }
561564
562565
563566 func updateBalance (i) = if ((0 > i))
564567 then throw("Balance")
565568 else [IntegerEntry(k_balance, i)]
566569
567570
568571 func transferFee (i) = [ScriptTransfer(stakingAddress(), i, quoteAsset())]
569572
570573
571574 @Callable(i)
572575 func pause () = if ((i.caller != adminAddress()))
573576 then throw("Invalid togglePause params")
574577 else [BooleanEntry(k_paused, true)]
575578
576579
577580
578581 @Callable(i)
579582 func unpause () = if ((i.caller != adminAddress()))
580583 then throw("Invalid togglePause params")
581584 else [BooleanEntry(k_paused, false)]
582585
583586
584587
585588 @Callable(i)
586589 func changeSettings (_initMarginRatio,_mmr,_liquidationFeeRatio,_fundingPeriod,_fee,_spreadLimit,_maxPriceImpact) = if ((i.caller != adminAddress()))
587590 then throw("Invalid changeSettings params")
588591 else updateSettings(_initMarginRatio, _mmr, _liquidationFeeRatio, _fundingPeriod, _fee, _spreadLimit, _maxPriceImpact)
589592
590593
591594
592595 @Callable(i)
593596 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))
594597 then true
595598 else (0 >= _bsAstR))
596599 then true
597600 else (0 >= _fundingPeriod))
598601 then true
599602 else (0 >= _initMarginRatio))
600603 then true
601604 else (0 >= _mmr))
602605 then true
603606 else (0 >= _liquidationFeeRatio))
604607 then true
605608 else (0 >= _fee))
606609 then true
607610 else (0 >= _spreadLimit))
608611 then true
609612 else (0 >= _maxPriceImpact))
610613 then true
611614 else initialized())
612615 then throw("Invalid initialize parameters")
613616 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)])
614617
615618
616619
617620 @Callable(i)
618621 func decreasePosition (_amount,_leverage,_minBaseAssetAmount) = if (if (if (if (if (if ((0 >= _amount))
619622 then true
620623 else if (((1 * DECIMAL_UNIT) > _leverage))
621624 then true
622625 else (_leverage > (3 * DECIMAL_UNIT)))
623626 then true
624627 else !(initialized()))
625628 then true
626629 else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true)))
627630 then true
628631 else !(requireOpenPosition(toString(i.caller))))
629632 then true
630633 else paused())
631634 then throw("Invalid decreasePosition parameters")
632635 else {
633- let $t02810728259 = getPosition(toString(i.caller))
634- let oldPositionSize = $t02810728259._1
635- let oldPositionMargin = $t02810728259._2
636- let oldPositionOpenNotional = $t02810728259._3
637- let oldPositionLstUpdCPF = $t02810728259._4
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
638641 let _direction = if ((oldPositionSize > 0))
639642 then DIR_SHORT
640643 else DIR_LONG
641644 let isAdd = (_direction == DIR_LONG)
642645 let openNotional = muld(_amount, _leverage)
643- let $t02843228548 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
644- let oldPositionNotional = $t02843228548._1
645- let unrealizedPnl = $t02843228548._2
646- let $t02855431103 = if ((oldPositionNotional > openNotional))
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))
647650 then {
648- let $t02893129150 = swapInput(isAdd, openNotional)
649- let exchangedPositionSize = $t02893129150._1
650- let quoteAssetReserveAfter = $t02893129150._2
651- let baseAssetReserveAfter = $t02893129150._3
652- let totalPositionSizeAfter = $t02893129150._4
653- let cumulativeNotionalAfter = $t02893129150._5
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
654657 let exchangedPositionSizeAbs = abs(exchangedPositionSize)
655658 if (if ((_minBaseAssetAmount != 0))
656659 then (_minBaseAssetAmount > exchangedPositionSizeAbs)
657660 else false)
658661 then throw(((("Too little base asset exchanged, got " + toString(exchangedPositionSizeAbs)) + " expected ") + toString(_minBaseAssetAmount)))
659662 else {
660663 let realizedPnl = divd(muld(unrealizedPnl, exchangedPositionSizeAbs), abs(oldPositionSize))
661- let $t02958729832 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
662- let remainMargin = $t02958729832._1
663- let badDebt = $t02958729832._2
664- let fundingPayment = $t02958729832._3
664+ let $t02976730012 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
665+ let remainMargin = $t02976730012._1
666+ let badDebt = $t02976730012._2
667+ let fundingPayment = $t02976730012._3
665668 let exchangedQuoteAssetAmount = openNotional
666669 let unrealizedPnlAfter = (unrealizedPnl - realizedPnl)
667670 let remainOpenNotional = if ((oldPositionSize > 0))
668671 then ((oldPositionNotional - exchangedQuoteAssetAmount) - unrealizedPnlAfter)
669672 else ((unrealizedPnlAfter + oldPositionNotional) - exchangedQuoteAssetAmount)
670673 let newPositionSize = (oldPositionSize + exchangedPositionSize)
671674 $Tuple11(newPositionSize, remainMargin, abs(remainOpenNotional), latestCumulativePremiumFraction(newPositionSize), baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInterestNotional() - openNotional), (totalLongPositionSize() - (if ((newPositionSize > 0))
672675 then abs(exchangedPositionSize)
673676 else 0)), (totalShortPositionSize() - (if ((0 > newPositionSize))
674677 then abs(exchangedPositionSize)
675678 else 0)))
676679 }
677680 }
678681 else throw("Close position first")
679- let newPositionSize = $t02855431103._1
680- let newPositionRemainMargin = $t02855431103._2
681- let newPositionOpenNotional = $t02855431103._3
682- let newPositionLatestCPF = $t02855431103._4
683- let baseAssetReserveAfter = $t02855431103._5
684- let quoteAssetReserveAfter = $t02855431103._6
685- let totalPositionSizeAfter = $t02855431103._7
686- let cumulativeNotionalAfter = $t02855431103._8
687- let openInterestNotionalAfter = $t02855431103._9
688- let totalLongAfter = $t02855431103._10
689- let totalShortAfter = $t02855431103._11
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
690693 (updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPositionOpenNotional, newPositionLatestCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter))
691694 }
692695
693696
694697
695698 @Callable(i)
696699 func increasePosition (_direction,_leverage,_minBaseAssetAmount) = {
697700 let _rawAmount = i.payments[0].amount
698701 if (if (if (if (if (if (if (if ((_direction != DIR_LONG))
699702 then (_direction != DIR_SHORT)
700703 else false)
701704 then true
702705 else (0 >= _rawAmount))
703706 then true
704707 else if (((1 * DECIMAL_UNIT) > _leverage))
705708 then true
706709 else (_leverage > (3 * DECIMAL_UNIT)))
707710 then true
708711 else !(initialized()))
709712 then true
710713 else (i.payments[0].assetId != quoteAsset()))
711714 then true
712715 else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true)))
713716 then true
714717 else paused())
715718 then throw("Invalid increasePosition parameters")
716719 else {
717720 let feeAmount = muld(_rawAmount, fee())
718721 let _amount = (_rawAmount - feeAmount)
719- let $t03213932291 = getPosition(toString(i.caller))
720- let oldPositionSize = $t03213932291._1
721- let oldPositionMargin = $t03213932291._2
722- let oldPositionOpenNotional = $t03213932291._3
723- let oldPositionLstUpdCPF = $t03213932291._4
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
724727 let isNewPosition = (oldPositionSize == 0)
725728 let isSameDirection = if ((oldPositionSize > 0))
726729 then (_direction == DIR_LONG)
727730 else (_direction == DIR_SHORT)
728731 let expandExisting = if (!(isNewPosition))
729732 then isSameDirection
730733 else false
731734 let isAdd = (_direction == DIR_LONG)
732- let $t03258034969 = if (if (isNewPosition)
735+ let $t03276035149 = if (if (isNewPosition)
733736 then true
734737 else expandExisting)
735738 then {
736739 let openNotional = muld(_amount, _leverage)
737- let $t03300433210 = swapInput(isAdd, openNotional)
738- let amountBaseAssetBought = $t03300433210._1
739- let quoteAssetReserveAfter = $t03300433210._2
740- let baseAssetReserveAfter = $t03300433210._3
741- let totalPositionSizeAfter = $t03300433210._4
742- let cumulativeNotionalAfter = $t03300433210._5
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
743746 if (if ((_minBaseAssetAmount != 0))
744747 then (_minBaseAssetAmount > abs(amountBaseAssetBought))
745748 else false)
746749 then throw(((("Limit error: " + toString(abs(amountBaseAssetBought))) + " < ") + toString(_minBaseAssetAmount)))
747750 else {
748751 let newPositionSize = (oldPositionSize + amountBaseAssetBought)
749752 let increaseMarginRequirement = divd(openNotional, _leverage)
750- let $t03359133830 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement)
751- let remainMargin = $t03359133830._1
752- let x1 = $t03359133830._2
753- let x2 = $t03359133830._3
753+ let $t03377134010 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement)
754+ let remainMargin = $t03377134010._1
755+ let x1 = $t03377134010._2
756+ let x2 = $t03377134010._3
754757 $Tuple11(newPositionSize, remainMargin, (oldPositionOpenNotional + openNotional), latestCumulativePremiumFraction(newPositionSize), baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInterestNotional() + openNotional), (totalLongPositionSize() + (if ((newPositionSize > 0))
755758 then abs(amountBaseAssetBought)
756759 else 0)), (totalShortPositionSize() + (if ((0 > newPositionSize))
757760 then abs(amountBaseAssetBought)
758761 else 0)))
759762 }
760763 }
761764 else {
762765 let openNotional = muld(_amount, _leverage)
763- let $t03466234778 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
764- let oldPositionNotional = $t03466234778._1
765- let unrealizedPnl = $t03466234778._2
766+ let $t03484234958 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
767+ let oldPositionNotional = $t03484234958._1
768+ let unrealizedPnl = $t03484234958._2
766769 if ((oldPositionNotional > openNotional))
767770 then throw("Use decreasePosition to decrease position size")
768771 else throw("Close position first")
769772 }
770- let newPositionSize = $t03258034969._1
771- let newPositionRemainMargin = $t03258034969._2
772- let newPositionOpenNotional = $t03258034969._3
773- let newPositionLatestCPF = $t03258034969._4
774- let baseAssetReserveAfter = $t03258034969._5
775- let quoteAssetReserveAfter = $t03258034969._6
776- let totalPositionSizeAfter = $t03258034969._7
777- let cumulativeNotionalAfter = $t03258034969._8
778- let openInterestNotionalAfter = $t03258034969._9
779- let totalLongAfter = $t03258034969._10
780- let totalShortAfter = $t03258034969._11
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
781784 let feeToStakers = (feeAmount / 2)
782785 let feeToInsurance = (feeAmount - feeToStakers)
783786 let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
784787 if ((stake == stake))
785788 then {
786789 let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
787790 if ((depositInsurance == depositInsurance))
788791 then (((updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPositionOpenNotional, newPositionLatestCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter)) ++ transferFee(feeToStakers)) ++ updateBalance((cbalance() + _amount)))
789792 else throw("Strict value is not equal to itself.")
790793 }
791794 else throw("Strict value is not equal to itself.")
792795 }
793796 }
794797
795798
796799
797800 @Callable(i)
798801 func addMargin () = {
799802 let _rawAmount = i.payments[0].amount
800803 if (if (if (if ((i.payments[0].assetId != quoteAsset()))
801804 then true
802805 else !(requireOpenPosition(toString(i.caller))))
803806 then true
804807 else !(initialized()))
805808 then true
806809 else paused())
807810 then throw("Invalid addMargin parameters")
808811 else {
809812 let feeAmount = muld(_rawAmount, fee())
810813 let _amount = (_rawAmount - feeAmount)
811- let $t03624536397 = getPosition(toString(i.caller))
812- let oldPositionSize = $t03624536397._1
813- let oldPositionMargin = $t03624536397._2
814- let oldPositionOpenNotional = $t03624536397._3
815- let oldPositionLstUpdCPF = $t03624536397._4
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
816819 let feeToStakers = (feeAmount / 2)
817820 let feeToInsurance = (feeAmount - feeToStakers)
818821 let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
819822 if ((stake == stake))
820823 then {
821824 let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
822825 if ((depositInsurance == depositInsurance))
823826 then ((updatePosition(toString(i.caller), oldPositionSize, (oldPositionMargin + _amount), oldPositionOpenNotional, oldPositionLstUpdCPF) ++ transferFee(feeToStakers)) ++ updateBalance((cbalance() + _amount)))
824827 else throw("Strict value is not equal to itself.")
825828 }
826829 else throw("Strict value is not equal to itself.")
827830 }
828831 }
829832
830833
831834
832835 @Callable(i)
833836 func removeMargin (_amount) = if (if (if (if ((0 >= _amount))
834837 then true
835838 else !(requireOpenPosition(toString(i.caller))))
836839 then true
837840 else !(initialized()))
838841 then true
839842 else paused())
840843 then throw("Invalid removeMargin parameters")
841844 else {
842- let $t03731737469 = getPosition(toString(i.caller))
843- let oldPositionSize = $t03731737469._1
844- let oldPositionMargin = $t03731737469._2
845- let oldPositionOpenNotional = $t03731737469._3
846- let oldPositionLstUpdCPF = $t03731737469._4
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
847850 let marginDelta = -(_amount)
848- let $t03750637685 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta)
849- let remainMargin = $t03750637685._1
850- let badDebt = $t03750637685._2
851+ let $t03768637865 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta)
852+ let remainMargin = $t03768637865._1
853+ let badDebt = $t03768637865._2
851854 if ((badDebt != 0))
852- then throw("Invalid added margin amount")
855+ then throw("Invalid removed margin amount")
853856 else {
854- let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [_amount, toBase58String(quoteAsset())], nil)
855- if ((unstake == unstake))
856- then ((updatePosition(toString(i.caller), oldPositionSize, remainMargin, oldPositionOpenNotional, latestCumulativePremiumFraction(oldPositionSize)) ++ withdraw(i.caller, _amount)) ++ updateBalance((cbalance() - _amount)))
857- else throw("Strict value is not equal to itself.")
857+ let marginRatio = calcMarginRatio(remainMargin, badDebt, oldPositionOpenNotional)
858+ if (!(requireMoreMarginRatio(marginRatio, initMarginRatio(), true)))
859+ then throw(((("Too much margin removed: " + toString(marginRatio)) + " < ") + toString(initMarginRatio())))
860+ else {
861+ let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [_amount, toBase58String(quoteAsset())], nil)
862+ if ((unstake == unstake))
863+ then ((updatePosition(toString(i.caller), oldPositionSize, remainMargin, oldPositionOpenNotional, latestCumulativePremiumFraction(oldPositionSize)) ++ withdraw(i.caller, _amount)) ++ updateBalance((cbalance() - _amount)))
864+ else throw("Strict value is not equal to itself.")
865+ }
858866 }
859867 }
860868
861869
862870
863871 @Callable(i)
864872 func closePosition () = if (if (if (!(requireOpenPosition(toString(i.caller))))
865873 then true
866874 else !(initialized()))
867875 then true
868876 else paused())
869877 then throw("Invalid closePosition parameters")
870878 else {
871- let $t03844538829 = internalClosePosition(toString(i.caller))
872- let x1 = $t03844538829._1
873- let positionBadDebt = $t03844538829._2
874- let realizedPnl = $t03844538829._3
875- let marginToVault = $t03844538829._4
876- let quoteAssetReserveAfter = $t03844538829._5
877- let baseAssetReserveAfter = $t03844538829._6
878- let totalPositionSizeAfter = $t03844538829._7
879- let cumulativeNotionalAfter = $t03844538829._8
880- let openInterestNotionalAfter = $t03844538829._9
881- let x2 = $t03844538829._10
882- let totalLongAfter = $t03844538829._11
883- let totalShortAfter = $t03844538829._12
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
884892 if ((positionBadDebt > 0))
885893 then throw("Unable to close position with bad debt")
886894 else {
887895 let withdrawAmount = abs(marginToVault)
888896 let ammBalance = (cbalance() - withdrawAmount)
889- let $t03903839180 = if ((0 > ammBalance))
897+ let $t03955439696 = if ((0 > ammBalance))
890898 then $Tuple2(0, abs(ammBalance))
891899 else $Tuple2(ammBalance, 0)
892- let ammNewBalance = $t03903839180._1
893- let getFromInsurance = $t03903839180._2
900+ let ammNewBalance = $t03955439696._1
901+ let getFromInsurance = $t03955439696._2
894902 let x = if ((getFromInsurance > 0))
895903 then {
896904 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [getFromInsurance], nil)
897905 if ((withdrawInsurance == withdrawInsurance))
898906 then nil
899907 else throw("Strict value is not equal to itself.")
900908 }
901909 else nil
902910 if ((x == x))
903911 then {
904912 let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [(withdrawAmount - getFromInsurance), toBase58String(quoteAsset())], nil)
905913 if ((unstake == unstake))
906914 then (((deletePosition(toString(i.caller)) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter)) ++ withdraw(i.caller, withdrawAmount)) ++ updateBalance(ammNewBalance))
907915 else throw("Strict value is not equal to itself.")
908916 }
909917 else throw("Strict value is not equal to itself.")
910918 }
911919 }
912920
913921
914922
915923 @Callable(i)
916924 func liquidate (_trader) = {
917925 let marginRatio = if (isOverFluctuationLimit())
918926 then getMarginRatioByOption(_trader, PNL_OPTION_ORACLE)
919927 else getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
920928 if (if (if (if (!(requireMoreMarginRatio(marginRatio, maintenanceMarginRatio(), false)))
921929 then true
922930 else !(requireOpenPosition(_trader)))
923931 then true
924932 else !(initialized()))
925933 then true
926934 else paused())
927935 then throw("Unable to liquidate")
928936 else {
929- let $t04061941046 = internalClosePosition(_trader)
930- let x1 = $t04061941046._1
931- let badDebt = $t04061941046._2
932- let x2 = $t04061941046._3
933- let marginToVault = $t04061941046._4
934- let quoteAssetReserveAfter = $t04061941046._5
935- let baseAssetReserveAfter = $t04061941046._6
936- let totalPositionSizeAfter = $t04061941046._7
937- let cumulativeNotionalAfter = $t04061941046._8
938- let openInterestNotionalAfter = $t04061941046._9
939- let exchangedQuoteAssetAmount = $t04061941046._10
940- let totalLongAfter = $t04061941046._11
941- let totalShortAfter = $t04061941046._12
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
942950 let liquidationPenalty = muld(exchangedQuoteAssetAmount, liquidationFeeRatio())
943951 let feeToLiquidator = (liquidationPenalty / 2)
944952 let feeToInsurance = (liquidationPenalty - feeToLiquidator)
945953 let ammBalance = (cbalance() - liquidationPenalty)
946- let $t04144441579 = if ((0 > ammBalance))
954+ let $t04196042095 = if ((0 > ammBalance))
947955 then $Tuple2(0, abs(ammBalance))
948956 else $Tuple2(ammBalance, 0)
949- let newAmmBalance = $t04144441579._1
950- let takeFromInsurance = $t04144441579._2
957+ let newAmmBalance = $t04196042095._1
958+ let takeFromInsurance = $t04196042095._2
951959 let x = if ((takeFromInsurance > 0))
952960 then {
953961 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [takeFromInsurance], nil)
954962 if ((withdrawInsurance == withdrawInsurance))
955963 then nil
956964 else throw("Strict value is not equal to itself.")
957965 }
958966 else nil
959967 if ((x == x))
960968 then {
961969 let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [(liquidationPenalty - takeFromInsurance), toBase58String(quoteAsset())], nil)
962970 if ((unstake == unstake))
963971 then {
964972 let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
965973 if ((depositInsurance == depositInsurance))
966974 then (((deletePosition(_trader) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter)) ++ withdraw(i.caller, feeToLiquidator)) ++ updateBalance(newAmmBalance))
967975 else throw("Strict value is not equal to itself.")
968976 }
969977 else throw("Strict value is not equal to itself.")
970978 }
971979 else throw("Strict value is not equal to itself.")
972980 }
973981 }
974982
975983
976984
977985 @Callable(i)
978986 func payFunding () = {
979987 let fundingBlockTimestamp = nextFundingBlockTimestamp()
980988 if (if (if ((fundingBlockTimestamp > lastBlock.timestamp))
981989 then true
982990 else !(initialized()))
983991 then true
984992 else paused())
985993 then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString(fundingBlockTimestamp)))
986994 else {
987995 let underlyingPrice = getOracleTwapPrice()
988996 let spotTwapPrice = getTwapSpotPrice()
989997 let premium = (spotTwapPrice - underlyingPrice)
990- let $t04295544290 = if (if ((totalShortPositionSize() == 0))
998+ let $t04347144806 = if (if ((totalShortPositionSize() == 0))
991999 then true
9921000 else (totalLongPositionSize() == 0))
9931001 then $Tuple2(0, 0)
9941002 else if ((0 > premium))
9951003 then {
9961004 let shortPremiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY)
9971005 let longPremiumFraction = divd(muld(shortPremiumFraction, totalShortPositionSize()), totalLongPositionSize())
9981006 $Tuple2(shortPremiumFraction, longPremiumFraction)
9991007 }
10001008 else {
10011009 let longPremiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY)
10021010 let shortPremiumFraction = divd(muld(longPremiumFraction, totalLongPositionSize()), totalShortPositionSize())
10031011 $Tuple2(shortPremiumFraction, longPremiumFraction)
10041012 }
1005- let shortPremiumFraction = $t04295544290._1
1006- let longPremiumFraction = $t04295544290._2
1013+ let shortPremiumFraction = $t04347144806._1
1014+ let longPremiumFraction = $t04347144806._2
10071015 updateFunding((fundingBlockTimestamp + fundingPeriodSeconds()), (latestLongCumulativePremiumFraction() + longPremiumFraction), (latestShortCumulativePremiumFraction() + shortPremiumFraction), divd(longPremiumFraction, underlyingPrice), divd(shortPremiumFraction, underlyingPrice))
10081016 }
10091017 }
10101018
10111019
10121020
10131021 @Callable(i)
10141022 func v_get (_trader) = {
1015- let $t04466544718 = internalClosePosition(_trader)
1016- let x1 = $t04466544718._1
1017- let x2 = $t04466544718._2
1018- let x3 = $t04466544718._3
1019- let x4 = $t04466544718._4
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
10201028 throw((((s(x2) + s(x3)) + s(x4)) + s(getMarginRatio(_trader))))
10211029 }
10221030
10231031
10241032
10251033 @Callable(i)
10261034 func view_calcRemainMarginWithFundingPayment (_trader) = {
1027- let $t04486544976 = getPosition(_trader)
1028- let positionSize = $t04486544976._1
1029- let positionMargin = $t04486544976._2
1030- let pon = $t04486544976._3
1031- let positionLstUpdCPF = $t04486544976._4
1032- let $t04498145082 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
1033- let positionNotional = $t04498145082._1
1034- let unrealizedPnl = $t04498145082._2
1035- let $t04508745269 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
1036- let remainMargin = $t04508745269._1
1037- let badDebt = $t04508745269._2
1038- let fundingPayment = $t04508745269._3
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
10391047 throw(((s(remainMargin) + s(fundingPayment)) + s(getMarginRatio(_trader))))
10401048 }
10411049
10421050
10431051 @Verifier(tx)
10441052 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], adminPublicKey())
10451053

github/deemru/w8io/169f3d6 
178.44 ms