tx · 4se6WXZSdsLTigqVz7pDUzpQnSKtan8rVToNyj6KC5LQ

3MsVYTmsag7KHjcoAfLkWAhFTHsoEYJR9jg:  -0.04400000 Waves

2022.06.29 20:06 [2118010] smart account 3MsVYTmsag7KHjcoAfLkWAhFTHsoEYJR9jg > SELF 0.00000000 Waves

{ "type": 13, "id": "4se6WXZSdsLTigqVz7pDUzpQnSKtan8rVToNyj6KC5LQ", "fee": 4400000, "feeAssetId": null, "timestamp": 1656522452229, "version": 2, "chainId": 84, "sender": "3MsVYTmsag7KHjcoAfLkWAhFTHsoEYJR9jg", "senderPublicKey": "A182ePQygXsBeRL37T45ej9JcbPCpWkh6JJFDCpsjr7C", "proofs": [ "7MGJK5GnbGn5AprEM4NcsRYwZ4mB6xhmMGXxnjG2rBMhAgWiKk8eqJ5vA2yt8qriFzdZ16ozfBhjYeFshvVUb8B" ], "script": "base64:AAIFAAAAAAAAAEUIAhIAEgASCQoHAQEBAQEBARIOCgwBAQEBAQEBCAgIAQESBgoEAQEBARIFCgMBAQESABIDCgEBEgASAwoBCBIAEgMKAQgAAABuAAAAAAlrX29yYV9rZXkCAAAACWtfb3JhX2tleQAAAAAFa19vcmECAAAABWtfb3JhAAAAAAlrX2JhbGFuY2UCAAAACWtfYmFsYW5jZQAAAAAOa19wb3NpdGlvblNpemUCAAAADmtfcG9zaXRpb25TaXplAAAAABBrX3Bvc2l0aW9uTWFyZ2luAgAAABBrX3Bvc2l0aW9uTWFyZ2luAAAAABZrX3Bvc2l0aW9uT3Blbk5vdGlvbmFsAgAAABZrX3Bvc2l0aW9uT3Blbk5vdGlvbmFsAAAAAC5rX3Bvc2l0aW9uTGFzdFVwZGF0ZWRDdW11bGF0aXZlUHJlbWl1bUZyYWN0aW9uAgAAABJrX3Bvc2l0aW9uRnJhY3Rpb24AAAAADWtfaW5pdGlhbGl6ZWQCAAAADWtfaW5pdGlhbGl6ZWQAAAAACGtfcGF1c2VkAgAAAAhrX3BhdXNlZAAAAAAFa19mZWUCAA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AADSR0MDQxMDgwNDExMzMAAAACXzQJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkBAAAAAXMAAAABBQAAAAJ4MgkBAAAAAXMAAAABBQAAAAJ4MwkBAAAAAXMAAAABBQAAAAJ4NAkBAAAAAXMAAAABCQEAAAAOZ2V0TWFyZ2luUmF0aW8AAAABBQAAAAdfdHJhZGVyAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAJAQAAAA5hZG1pblB1YmxpY0tleQAAAAC6JhLC", "height": 2118010, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let k_ora_key = "k_ora_key"
5+
6+let k_ora = "k_ora"
7+
8+let k_balance = "k_balance"
9+
10+let k_positionSize = "k_positionSize"
11+
12+let k_positionMargin = "k_positionMargin"
13+
14+let k_positionOpenNotional = "k_positionOpenNotional"
15+
16+let k_positionLastUpdatedCumulativePremiumFraction = "k_positionFraction"
17+
18+let k_initialized = "k_initialized"
19+
20+let k_paused = "k_paused"
21+
22+let k_fee = "k_fee"
23+
24+let k_fundingPeriod = "k_fundingPeriod"
25+
26+let k_initMarginRatio = "k_initMarginRatio"
27+
28+let k_maintenanceMarginRatio = "k_mmr"
29+
30+let k_liquidationFeeRatio = "k_liquidationFeeRatio"
31+
32+let k_spreadLimit = "k_spreadLimit"
33+
34+let k_maxPriceImpact = "k_maxPriceImpact"
35+
36+let k_lastDataStr = "k_lastDataStr"
37+
38+let k_lastMinuteId = "k_lastMinuteId"
39+
40+let k_twapDataLastCumulativePrice = "k_twapDataLastCumulativePrice"
41+
42+let k_twapDataLastPrice = "k_twapDataLastPrice"
43+
44+let k_twap = "k_twap"
45+
46+let k_latestLongCumulativePremiumFraction = "k_latestLongPremiumFraction"
47+
48+let k_latestShortCumulativePremiumFraction = "k_latestShortPremiumFraction"
49+
50+let k_nextFundingBlock = "k_nextFundingBlockMinTimestamp"
51+
52+let k_longFundingRate = "k_longFundingRate"
53+
54+let k_shortFundingRate = "k_shortFundingRate"
55+
56+let k_quoteAssetReserve = "k_qtAstR"
57+
58+let k_baseAssetReserve = "k_bsAstR"
59+
60+let k_totalPositionSize = "k_totalPositionSize"
61+
62+let k_totalLongPositionSize = "k_totalLongPositionSize"
63+
64+let k_totalShortPositionSize = "k_totalShortPositionSize"
65+
66+let k_cumulativeNotional = "k_cumulativeNotional"
67+
68+let k_openInteresetNotional = "k_openInteresetNotional"
69+
70+let k_coordinatorAddress = "k_coordinatorAddress"
71+
72+let k_insurance_address = "k_insurance_address"
73+
74+let k_admin_address = "k_admin_address"
75+
76+let k_admin_public_key = "k_admin_public_key"
77+
78+let k_quote_asset = "k_quote_asset"
79+
80+let k_quote_staking = "k_quote_staking"
81+
82+let k_staking_address = "k_staking_address"
83+
84+func coordinator () = valueOrErrorMessage(addressFromString(getStringValue(this, k_coordinatorAddress)), "Coordinator not set")
85+
86+
87+func adminAddress () = addressFromString(getStringValue(coordinator(), k_admin_address))
88+
89+
90+func adminPublicKey () = fromBase58String(getStringValue(coordinator(), k_admin_public_key))
91+
92+
93+func quoteAsset () = fromBase58String(getStringValue(coordinator(), k_quote_asset))
94+
95+
96+func quoteAssetStaking () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_quote_staking)), "Quote assete staking not set")
97+
98+
99+func stakingAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_staking_address)), "Insurance not set")
100+
101+
102+func insuranceAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_insurance_address)), "Insurance not set")
103+
104+
105+let DIR_LONG = 1
106+
107+let DIR_SHORT = 2
108+
109+let FUNDING_BLOCK_INTERVAL = 60
110+
111+let TWAP_INTERVAL = 15
112+
113+let SECONDS = 1000
114+
115+let DECIMAL_UNIT = (1 * (((((10 * 10) * 10) * 10) * 10) * 10))
116+
117+let ONE_DAY = (86400 * DECIMAL_UNIT)
118+
119+let ALL_FEES = 100
120+
121+let PNL_OPTION_SPOT = 1
122+
123+let PNL_OPTION_ORACLE = 2
124+
125+func s (_x) = (toString(_x) + ",")
126+
127+
128+func divd (_x,_y) = fraction(_x, DECIMAL_UNIT, _y, HALFEVEN)
129+
130+
131+func muld (_x,_y) = fraction(_x, _y, DECIMAL_UNIT, HALFEVEN)
132+
133+
134+func abs (_x) = if ((_x > 0))
135+ then _x
136+ else -(_x)
137+
138+
139+func toCompositeKey (_key,_address) = ((_key + "_") + _address)
140+
141+
142+func requireMoreMarginRatio (_marginRatio,_baseMarginRatio,_largerThanOrEqualTo) = {
143+ let remainingMarginRatio = (_marginRatio - _baseMarginRatio)
144+ if (if (_largerThanOrEqualTo)
145+ then (0 > remainingMarginRatio)
146+ else false)
147+ then throw("Invalid margin")
148+ else if (if (!(_largerThanOrEqualTo))
149+ then (remainingMarginRatio >= 0)
150+ else false)
151+ then throw("Invalid margin")
152+ else true
153+ }
154+
155+
156+func int (k) = valueOrErrorMessage(getInteger(this, k), ("no value for " + k))
157+
158+
159+func cbalance () = int(k_balance)
160+
161+
162+func fee () = int(k_fee)
163+
164+
165+func initMarginRatio () = int(k_initMarginRatio)
166+
167+
168+func qtAstR () = int(k_quoteAssetReserve)
169+
170+
171+func bsAstR () = int(k_baseAssetReserve)
172+
173+
174+func totalPositionSize () = int(k_totalPositionSize)
175+
176+
177+func cumulativeNotional () = int(k_cumulativeNotional)
178+
179+
180+func openInteresetNotional () = int(k_openInteresetNotional)
181+
182+
183+func nextFundingBlockTimestamp () = int(k_nextFundingBlock)
184+
185+
186+func fundingPeriodRaw () = int(k_fundingPeriod)
187+
188+
189+func fundingPeriodDecimal () = (fundingPeriodRaw() * DECIMAL_UNIT)
190+
191+
192+func fundingPeriodSeconds () = (fundingPeriodRaw() * SECONDS)
193+
194+
195+func mmr () = int(k_maintenanceMarginRatio)
196+
197+
198+func liquidationFeeRatio () = int(k_liquidationFeeRatio)
199+
200+
201+func spreadLimit () = int(k_spreadLimit)
202+
203+
204+func maxPriceImpact () = int(k_maxPriceImpact)
205+
206+
207+func latestLongCumulativePremiumFraction () = int(k_latestLongCumulativePremiumFraction)
208+
209+
210+func latestShortCumulativePremiumFraction () = int(k_latestShortCumulativePremiumFraction)
211+
212+
213+func totalShortPositionSize () = int(k_totalShortPositionSize)
214+
215+
216+func totalLongPositionSize () = int(k_totalLongPositionSize)
217+
218+
219+func latestCPF (_positionSize) = if ((_positionSize > 0))
220+ then latestLongCumulativePremiumFraction()
221+ else latestShortCumulativePremiumFraction()
222+
223+
224+func getPosition (invesor) = {
225+ let positionSizeOpt = getInteger(this, toCompositeKey(k_positionSize, invesor))
226+ match positionSizeOpt {
227+ case positionSize: Int =>
228+ $Tuple4(positionSize, getIntegerValue(this, toCompositeKey(k_positionMargin, invesor)), getIntegerValue(this, toCompositeKey(k_positionOpenNotional, invesor)), getIntegerValue(this, toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, invesor)))
229+ case _ =>
230+ $Tuple4(0, 0, 0, 0)
231+ }
232+ }
233+
234+
235+func requireOpenPosition (_trader) = if ((getPosition(_trader)._1 == 0))
236+ then throw("No open position")
237+ else true
238+
239+
240+func initialized () = valueOrElse(getBoolean(this, k_initialized), false)
241+
242+
243+func paused () = valueOrElse(getBoolean(this, k_paused), false)
244+
245+
246+func updateReserve (_isAdd,_quoteAssetAmount,_baseAssetAmount) = if (_isAdd)
247+ then {
248+ let newBase = (bsAstR() - _baseAssetAmount)
249+ if ((0 >= newBase))
250+ then throw("Tx lead to base asset reserve <= 0, revert")
251+ else $Tuple4((qtAstR() + _quoteAssetAmount), newBase, (totalPositionSize() + _baseAssetAmount), (cumulativeNotional() + _quoteAssetAmount))
252+ }
253+ else {
254+ let newQuote = (qtAstR() - _quoteAssetAmount)
255+ if ((0 >= newQuote))
256+ then throw("Tx lead to base quote reserve <= 0, revert")
257+ else $Tuple4(newQuote, (bsAstR() + _baseAssetAmount), (totalPositionSize() - _baseAssetAmount), (cumulativeNotional() - _quoteAssetAmount))
258+ }
259+
260+
261+func swapInput (_isAdd,_quoteAssetAmount) = {
262+ let _qtAstR = qtAstR()
263+ let _bsAstR = bsAstR()
264+ let priceBefore = divd(_qtAstR, _bsAstR)
265+ let amountBaseAssetBoughtWithoutPriceImpact = muld(_quoteAssetAmount, priceBefore)
266+ let k = muld(_qtAstR, _bsAstR)
267+ let quoteAssetReserveAfter = if (_isAdd)
268+ then (_qtAstR + _quoteAssetAmount)
269+ else (_qtAstR - _quoteAssetAmount)
270+ let baseAssetReserveAfter = divd(k, quoteAssetReserveAfter)
271+ let amountBaseAssetBoughtAbs = abs((baseAssetReserveAfter - _bsAstR))
272+ let amountBaseAssetBought = if (_isAdd)
273+ then amountBaseAssetBoughtAbs
274+ else -(amountBaseAssetBoughtAbs)
275+ let priceImpact = ((amountBaseAssetBoughtWithoutPriceImpact - amountBaseAssetBoughtAbs) / amountBaseAssetBoughtWithoutPriceImpact)
276+ let maxPriceImpactValue = maxPriceImpact()
277+ if ((priceImpact > maxPriceImpactValue))
278+ then throw(((("Price impact " + toString(priceImpact)) + " > max price impact ") + toString(maxPriceImpactValue)))
279+ else {
280+ let $t01037810581 = updateReserve(_isAdd, _quoteAssetAmount, amountBaseAssetBoughtAbs)
281+ let quoteAssetReserveAfter1 = $t01037810581._1
282+ let baseAssetReserveAfter1 = $t01037810581._2
283+ let totalPositionSizeAfter1 = $t01037810581._3
284+ let cumulativeNotionalAfter1 = $t01037810581._4
285+ $Tuple5(amountBaseAssetBought, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1)
286+ }
287+ }
288+
289+
290+func calcRemainMarginWithFundingPayment (_oldPositionSize,_oldPositionMargin,_oldPositionLstUpdCPF,_marginDelta) = {
291+ let _latestCPF = latestCPF(_oldPositionSize)
292+ let fundingPayment = if ((_oldPositionSize != 0))
293+ then muld((_latestCPF - _oldPositionLstUpdCPF), _oldPositionSize)
294+ else 0
295+ let signedMargin = ((_marginDelta - fundingPayment) + _oldPositionMargin)
296+ let $t01117011297 = if ((0 > signedMargin))
297+ then $Tuple2(0, abs(signedMargin))
298+ else $Tuple2(abs(signedMargin), 0)
299+ let remainMargin = $t01117011297._1
300+ let badDebt = $t01117011297._2
301+ $Tuple4(remainMargin, badDebt, fundingPayment, _latestCPF)
302+ }
303+
304+
305+func swapOutput (_isAdd,_baseAssetAmount,_quoteAssetPoolAmount,_baseAssetPoolAmount) = if ((_baseAssetAmount == 0))
306+ then throw("Invalid base asset amount")
307+ else {
308+ let k = muld(_quoteAssetPoolAmount, _baseAssetPoolAmount)
309+ let baseAssetPoolAmountAfter = if (_isAdd)
310+ then (_baseAssetPoolAmount + _baseAssetAmount)
311+ else (_baseAssetPoolAmount - _baseAssetAmount)
312+ let quoteAssetAfter = divd(k, baseAssetPoolAmountAfter)
313+ let quoteAssetSold = abs((quoteAssetAfter - _quoteAssetPoolAmount))
314+ let $t01193412127 = updateReserve(!(_isAdd), quoteAssetSold, _baseAssetAmount)
315+ let quoteAssetReserveAfter1 = $t01193412127._1
316+ let baseAssetReserveAfter1 = $t01193412127._2
317+ let totalPositionSizeAfter1 = $t01193412127._3
318+ let cumulativeNotionalAfter1 = $t01193412127._4
319+ $Tuple7(quoteAssetSold, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1, (totalLongPositionSize() - (if (_isAdd)
320+ then abs(_baseAssetAmount)
321+ else 0)), (totalShortPositionSize() - (if (!(_isAdd))
322+ then abs(_baseAssetAmount)
323+ else 0)))
324+ }
325+
326+
327+func getOracleTwapPrice () = {
328+ let oracle = valueOrErrorMessage(addressFromString(getStringValue(this, k_ora)), "")
329+ let priceKey = getStringValue(this, k_ora_key)
330+ getIntegerValue(oracle, priceKey)
331+ }
332+
333+
334+func getSpotPrice () = {
335+ let _qtAstR = qtAstR()
336+ let _bsAstR = bsAstR()
337+ divd(_qtAstR, _bsAstR)
338+ }
339+
340+
341+func isOverFluctuationLimit () = {
342+ let oraclePrice = getOracleTwapPrice()
343+ let currentPrice = getSpotPrice()
344+ (divd(abs((oraclePrice - currentPrice)), oraclePrice) > spreadLimit())
345+ }
346+
347+
348+func getPositionNotionalAndUnrealizedPnl (_trader,_option) = {
349+ let $t01301913147 = getPosition(_trader)
350+ let positionSize = $t01301913147._1
351+ let positionMargin = $t01301913147._2
352+ let positionOpenNotional = $t01301913147._3
353+ let positionLstUpdCPF = $t01301913147._4
354+ let positionSizeAbs = abs(positionSize)
355+ if ((positionSizeAbs == 0))
356+ then throw("Invalid position size")
357+ else {
358+ let isShort = (0 > positionSize)
359+ let positionNotional = if ((_option == PNL_OPTION_SPOT))
360+ then {
361+ let $t01339413541 = swapOutput(!(isShort), positionSizeAbs, qtAstR(), bsAstR())
362+ let outPositionNotional = $t01339413541._1
363+ let x1 = $t01339413541._2
364+ let x2 = $t01339413541._3
365+ let x3 = $t01339413541._4
366+ outPositionNotional
367+ }
368+ else (positionSizeAbs * getOracleTwapPrice())
369+ let unrealizedPnl = if (isShort)
370+ then (positionOpenNotional - positionNotional)
371+ else (positionNotional - positionOpenNotional)
372+ $Tuple2(positionNotional, unrealizedPnl)
373+ }
374+ }
375+
376+
377+func getMarginRatioByOption (_trader,_option) = {
378+ func x () = 0
379+
380+ let $t01396514076 = getPosition(_trader)
381+ let positionSize = $t01396514076._1
382+ let positionMargin = $t01396514076._2
383+ let pon = $t01396514076._3
384+ let positionLstUpdCPF = $t01396514076._4
385+ let $t01408214175 = getPositionNotionalAndUnrealizedPnl(_trader, _option)
386+ let positionNotional = $t01408214175._1
387+ let unrealizedPnl = $t01408214175._2
388+ let $t01418014346 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
389+ let remainMargin = $t01418014346._1
390+ let badDebt = $t01418014346._2
391+ divd((remainMargin - badDebt), positionNotional)
392+ }
393+
394+
395+func getMarginRatio (_trader) = getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
396+
397+
398+func internalClosePosition (_trader) = {
399+ let $t01454214653 = getPosition(_trader)
400+ let positionSize = $t01454214653._1
401+ let positionMargin = $t01454214653._2
402+ let pon = $t01454214653._3
403+ let positionLstUpdCPF = $t01454214653._4
404+ let $t01465914746 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
405+ let x1 = $t01465914746._1
406+ let unrealizedPnl = $t01465914746._2
407+ let $t01475114923 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
408+ let remainMargin = $t01475114923._1
409+ let badDebt = $t01475114923._2
410+ let x2 = $t01475114923._3
411+ let exchangedPositionSize = -(positionSize)
412+ let realizedPnl = unrealizedPnl
413+ let marginToVault = -(remainMargin)
414+ let $t01505015367 = swapOutput((positionSize > 0), abs(positionSize), qtAstR(), bsAstR())
415+ let exchangedQuoteAssetAmount = $t01505015367._1
416+ let quoteAssetReserveAfter = $t01505015367._2
417+ let baseAssetReserveAfter = $t01505015367._3
418+ let totalPositionSizeAfter = $t01505015367._4
419+ let cumulativeNotionalAfter = $t01505015367._5
420+ let totalLongAfter = $t01505015367._6
421+ let totalShortAfter = $t01505015367._7
422+ let openInteresetNotionalAfter = (openInteresetNotional() - pon)
423+ $Tuple12(exchangedPositionSize, badDebt, realizedPnl, marginToVault, quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInteresetNotionalAfter, exchangedQuoteAssetAmount, totalLongAfter, totalShortAfter)
424+ }
425+
426+
427+func getTwapSpotPrice () = {
428+ let minuteId = ((lastBlock.timestamp / 1000) / 60)
429+ let startMinuteId = (minuteId - TWAP_INTERVAL)
430+ let listStr = valueOrElse(getString(this, k_lastDataStr), "")
431+ let list = split(listStr, ",")
432+ func filterFn (accum,next) = if ((startMinuteId >= parseIntValue(next)))
433+ then (accum :+ parseIntValue(next))
434+ else accum
435+
436+ let listF = {
437+ let $l = list
438+ let $s = size($l)
439+ let $acc0 = nil
440+ func $f0_1 ($a,$i) = if (($i >= $s))
441+ then $a
442+ else filterFn($a, $l[$i])
443+
444+ func $f0_2 ($a,$i) = if (($i >= $s))
445+ then $a
446+ else throw("List size exceeds 20")
447+
448+ $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)
449+ }
450+ let maxIndex = if ((size(listF) > 0))
451+ then max(listF)
452+ else parseIntValue(list[0])
453+ let lastMinuteId = valueOrElse(getInteger(this, k_lastMinuteId), 0)
454+ let endLastCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(lastMinuteId))), 0)
455+ let endLastPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(lastMinuteId))), 0)
456+ let nowCummulativePrice = (endLastCumulativePrice + ((minuteId - lastMinuteId) * endLastPrice))
457+ let startLastCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(maxIndex))), 0)
458+ let startLastPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(maxIndex))), 0)
459+ let startCummulativePrice = (startLastCumulativePrice + ((startMinuteId - maxIndex) * startLastPrice))
460+ ((nowCummulativePrice - startCummulativePrice) / TWAP_INTERVAL)
461+ }
462+
463+
464+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)]
465+
466+
467+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)]
468+
469+
470+func updatePosition (_address,_size,_margin,_openNotinal,_LstUpdCPF) = [IntegerEntry(toCompositeKey(k_positionSize, _address), _size), IntegerEntry(toCompositeKey(k_positionMargin, _address), _margin), IntegerEntry(toCompositeKey(k_positionOpenNotional, _address), _openNotinal), IntegerEntry(toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _address), _LstUpdCPF)]
471+
472+
473+func appendTwap (price) = {
474+ let minuteId = ((lastBlock.timestamp / 1000) / 60)
475+ let previousMinuteId = valueOrElse(getInteger(this, k_lastMinuteId), 0)
476+ if ((previousMinuteId > minuteId))
477+ then throw("TWAP out-of-order")
478+ else {
479+ let lastMinuteId = if ((previousMinuteId == 0))
480+ then minuteId
481+ else previousMinuteId
482+ let listStr = valueOrElse(getString(this, k_lastDataStr), "")
483+ let oldList = split(listStr, ",")
484+ let list = if ((size(oldList) > TWAP_INTERVAL))
485+ then (removeByIndex(oldList, 0) :+ toString(minuteId))
486+ else (oldList :+ toString(minuteId))
487+ let prevCummulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(previousMinuteId))), 0)
488+ let prevPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(previousMinuteId))), price)
489+ let lastCummulativePrice = (prevCummulativePrice + ((minuteId - lastMinuteId) * prevPrice))
490+ func join (accum,val) = ((accum + val) + ",")
491+
492+ let newListStr = {
493+ let $l = list
494+ let $s = size($l)
495+ let $acc0 = ""
496+ func $f0_1 ($a,$i) = if (($i >= $s))
497+ then $a
498+ else join($a, $l[$i])
499+
500+ func $f0_2 ($a,$i) = if (($i >= $s))
501+ then $a
502+ else throw("List size exceeds 20")
503+
504+ $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)
505+ }
506+ let newListStrU = dropRight(newListStr, 1)
507+ let newListStrR = if ((take(newListStrU, 1) == ","))
508+ then drop(newListStrU, 1)
509+ else newListStrU
510+[IntegerEntry(((k_twapDataLastCumulativePrice + "_") + toString(minuteId)), lastCummulativePrice), IntegerEntry(((k_twapDataLastPrice + "_") + toString(minuteId)), price), IntegerEntry(k_lastMinuteId, minuteId), StringEntry(k_lastDataStr, newListStrR)]
511+ }
512+ }
513+
514+
515+func updateAmm (_qtAstR,_bsAstR,_totalPositionSizeAfter,_cumulativeNotionalAfter,_openInteresetNotional,_totalLongPositionSize,_totalShortPositionSize) = if (((_totalLongPositionSize - _totalShortPositionSize) != _totalPositionSizeAfter))
516+ then throw(((((("Invalid AMM state data: " + toString(_totalLongPositionSize)) + " + ") + toString(_totalShortPositionSize)) + " != ") + toString(_totalPositionSizeAfter)))
517+ else ([IntegerEntry(k_quoteAssetReserve, _qtAstR), IntegerEntry(k_baseAssetReserve, _bsAstR), IntegerEntry(k_totalPositionSize, _totalPositionSizeAfter), IntegerEntry(k_cumulativeNotional, _cumulativeNotionalAfter), IntegerEntry(k_openInteresetNotional, _openInteresetNotional), IntegerEntry(k_totalLongPositionSize, _totalLongPositionSize), IntegerEntry(k_totalShortPositionSize, _totalShortPositionSize)] ++ appendTwap(divd(_qtAstR, _bsAstR)))
518+
519+
520+func deletePosition (_address) = [DeleteEntry(toCompositeKey(k_positionSize, _address)), DeleteEntry(toCompositeKey(k_positionMargin, _address)), DeleteEntry(toCompositeKey(k_positionOpenNotional, _address)), DeleteEntry(toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _address))]
521+
522+
523+func withdraw (_address,_amount) = {
524+ let balance = assetBalance(this, quoteAsset())
525+ if ((_amount > balance))
526+ then throw(((("Unable to withdraw " + toString(_amount)) + " from contract balance ") + toString(balance)))
527+ else [ScriptTransfer(_address, _amount, quoteAsset())]
528+ }
529+
530+
531+func updateBalance (i) = if ((0 > i))
532+ then throw("Balance")
533+ else [IntegerEntry(k_balance, i)]
534+
535+
536+func transferFee (i) = [ScriptTransfer(stakingAddress(), i, quoteAsset())]
537+
538+
539+@Callable(i)
540+func pause () = if ((i.caller != adminAddress()))
541+ then throw("Invalid togglePause params")
542+ else [BooleanEntry(k_paused, true)]
543+
544+
545+
546+@Callable(i)
547+func unpause () = if ((i.caller != adminAddress()))
548+ then throw("Invalid togglePause params")
549+ else [BooleanEntry(k_paused, false)]
550+
551+
552+
553+@Callable(i)
554+func changeSettings (_initMarginRatio,_mmr,_liquidationFeeRatio,_fundingPeriod,_fee,_spreadLimit,_maxPriceImpact) = if ((i.caller != adminAddress()))
555+ then throw("Invalid changeSettings params")
556+ else updateSettings(_initMarginRatio, _mmr, _liquidationFeeRatio, _fundingPeriod, _fee, _spreadLimit, _maxPriceImpact)
557+
558+
559+
560+@Callable(i)
561+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))
562+ then true
563+ else (0 >= _bsAstR))
564+ then true
565+ else (0 >= _fundingPeriod))
566+ then true
567+ else (0 >= _initMarginRatio))
568+ then true
569+ else (0 >= _mmr))
570+ then true
571+ else (0 >= _liquidationFeeRatio))
572+ then true
573+ else (0 >= _fee))
574+ then true
575+ else (0 >= _spreadLimit))
576+ then true
577+ else (0 >= _maxPriceImpact))
578+ then true
579+ else initialized())
580+ then throw("Invalid initialize parameters")
581+ 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)])
582+
583+
584+
585+@Callable(i)
586+func decreasePosition (_direction,_amount,_leverage,_minBaseAssetAmount) = if (if (if (if (if (if (if ((_direction != DIR_LONG))
587+ then (_direction != DIR_SHORT)
588+ else false)
589+ then true
590+ else (0 >= _amount))
591+ then true
592+ else if (((1 * DECIMAL_UNIT) > _leverage))
593+ then true
594+ else (_leverage > (3 * DECIMAL_UNIT)))
595+ then true
596+ else !(initialized()))
597+ then true
598+ else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true)))
599+ then true
600+ else paused())
601+ then throw("Invalid decreasePosition parameters")
602+ else {
603+ let $t02461824770 = getPosition(toString(i.caller))
604+ let oldPositionSize = $t02461824770._1
605+ let oldPositionMargin = $t02461824770._2
606+ let oldPositionOpenNotional = $t02461824770._3
607+ let oldPositionLstUpdCPF = $t02461824770._4
608+ let isNewPosition = (oldPositionSize == 0)
609+ let isSameDirection = if ((oldPositionSize > 0))
610+ then (_direction == DIR_LONG)
611+ else (_direction == DIR_SHORT)
612+ let expandExisting = if (!(isNewPosition))
613+ then isSameDirection
614+ else false
615+ let isAdd = (_direction == DIR_LONG)
616+ let $t02505928078 = if (if (isNewPosition)
617+ then true
618+ else expandExisting)
619+ then throw("Use increasePosition to open new or increase position")
620+ else {
621+ let openNotional = muld(_amount, _leverage)
622+ let $t02556525681 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
623+ let oldPositionNotional = $t02556525681._1
624+ let unrealizedPnl = $t02556525681._2
625+ if ((oldPositionNotional > openNotional))
626+ then {
627+ let $t02574325973 = swapInput(isAdd, openNotional)
628+ let exchangedPositionSize = $t02574325973._1
629+ let quoteAssetReserveAfter = $t02574325973._2
630+ let baseAssetReserveAfter = $t02574325973._3
631+ let totalPositionSizeAfter = $t02574325973._4
632+ let cumulativeNotionalAfter = $t02574325973._5
633+ let exchangedPositionSizeAbs = abs(exchangedPositionSize)
634+ if (if ((_minBaseAssetAmount != 0))
635+ then (_minBaseAssetAmount > exchangedPositionSizeAbs)
636+ else false)
637+ then throw(((("Too little basse asset exchanged, got " + toString(exchangedPositionSizeAbs)) + " expected ") + toString(_minBaseAssetAmount)))
638+ else {
639+ let realizedPnl = if ((oldPositionSize != 0))
640+ then divd(muld(unrealizedPnl, exchangedPositionSizeAbs), oldPositionSize)
641+ else 0
642+ let $t02651426785 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
643+ let remainMargin = $t02651426785._1
644+ let badDebt = $t02651426785._2
645+ let fundingPayment = $t02651426785._3
646+ let oldLatestCPF = $t02651426785._4
647+ let exchangedQuoteAssetAmount = openNotional
648+ let unrealizedPnlAfter = (unrealizedPnl - realizedPnl)
649+ let remainOpenNotional = if ((oldPositionSize > 0))
650+ then ((oldPositionNotional - exchangedQuoteAssetAmount) - unrealizedPnlAfter)
651+ else ((unrealizedPnlAfter + oldPositionNotional) - exchangedQuoteAssetAmount)
652+ let newPositionSize = (oldPositionSize + exchangedPositionSize)
653+ $Tuple11(newPositionSize, remainMargin, abs(remainOpenNotional), oldLatestCPF, baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInteresetNotional() - openNotional), (totalLongPositionSize() - (if ((newPositionSize > 0))
654+ then abs(exchangedPositionSize)
655+ else 0)), (totalShortPositionSize() - (if ((0 > newPositionSize))
656+ then abs(exchangedPositionSize)
657+ else 0)))
658+ }
659+ }
660+ else throw("Close position first")
661+ }
662+ let newPositionSize = $t02505928078._1
663+ let newPositionRemainMargin = $t02505928078._2
664+ let newPosiionOpenNotional = $t02505928078._3
665+ let newPositionLatestCPF = $t02505928078._4
666+ let baseAssetReserveAfter = $t02505928078._5
667+ let quoteAssetReserveAfter = $t02505928078._6
668+ let totalPositionSizeAfter = $t02505928078._7
669+ let cumulativeNotionalAfter = $t02505928078._8
670+ let openInteresetNotionalAfter = $t02505928078._9
671+ let totalLongAfter = $t02505928078._10
672+ let totalShortAfter = $t02505928078._11
673+ (updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPosiionOpenNotional, newPositionLatestCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInteresetNotionalAfter, totalLongAfter, totalShortAfter))
674+ }
675+
676+
677+
678+@Callable(i)
679+func increasePosition (_direction,_leverage,_minBaseAssetAmount) = {
680+ let _rawAmount = i.payments[0].amount
681+ if (if (if (if (if (if (if (if ((_direction != DIR_LONG))
682+ then (_direction != DIR_SHORT)
683+ else false)
684+ then true
685+ else (0 >= _rawAmount))
686+ then true
687+ else if (((1 * DECIMAL_UNIT) > _leverage))
688+ then true
689+ else (_leverage > (3 * DECIMAL_UNIT)))
690+ then true
691+ else !(initialized()))
692+ then true
693+ else (i.payments[0].assetId != quoteAsset()))
694+ then true
695+ else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true)))
696+ then true
697+ else paused())
698+ then throw("Invalid increasePosition parameters")
699+ else {
700+ let feeAmount = muld(_rawAmount, fee())
701+ let _amount = (_rawAmount - feeAmount)
702+ let $t02911429266 = getPosition(toString(i.caller))
703+ let oldPositionSize = $t02911429266._1
704+ let oldPositionMargin = $t02911429266._2
705+ let oldPositionOpenNotional = $t02911429266._3
706+ let oldPositionLstUpdCPF = $t02911429266._4
707+ let isNewPosition = (oldPositionSize == 0)
708+ let isSameDirection = if ((oldPositionSize > 0))
709+ then (_direction == DIR_LONG)
710+ else (_direction == DIR_SHORT)
711+ let expandExisting = if (!(isNewPosition))
712+ then isSameDirection
713+ else false
714+ let isAdd = (_direction == DIR_LONG)
715+ let $t02955531924 = if (if (isNewPosition)
716+ then true
717+ else expandExisting)
718+ then {
719+ let openNotional = muld(_amount, _leverage)
720+ let $t02997930185 = swapInput(isAdd, openNotional)
721+ let amountBaseAssetBought = $t02997930185._1
722+ let quoteAssetReserveAfter = $t02997930185._2
723+ let baseAssetReserveAfter = $t02997930185._3
724+ let totalPositionSizeAfter = $t02997930185._4
725+ let cumulativeNotionalAfter = $t02997930185._5
726+ if (if ((_minBaseAssetAmount != 0))
727+ then (_minBaseAssetAmount > abs(amountBaseAssetBought))
728+ else false)
729+ then throw(((("Limit error: " + toString(abs(amountBaseAssetBought))) + " < ") + toString(_minBaseAssetAmount)))
730+ else {
731+ let newPositionSize = (oldPositionSize + amountBaseAssetBought)
732+ let increaseMarginRequirement = divd(openNotional, _leverage)
733+ let $t03056630819 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement)
734+ let remainMargin = $t03056630819._1
735+ let x1 = $t03056630819._2
736+ let x2 = $t03056630819._3
737+ let oldLatestCPF = $t03056630819._4
738+ $Tuple11(newPositionSize, remainMargin, (oldPositionOpenNotional + openNotional), oldLatestCPF, baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInteresetNotional() + openNotional), (totalLongPositionSize() + (if ((newPositionSize > 0))
739+ then abs(amountBaseAssetBought)
740+ else 0)), (totalShortPositionSize() + (if ((0 > newPositionSize))
741+ then abs(amountBaseAssetBought)
742+ else 0)))
743+ }
744+ }
745+ else {
746+ let openNotional = muld(_amount, _leverage)
747+ let $t03161731733 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
748+ let oldPositionNotional = $t03161731733._1
749+ let unrealizedPnl = $t03161731733._2
750+ if ((oldPositionNotional > openNotional))
751+ then throw("Use decreasePosition to decrease position size")
752+ else throw("Close position first")
753+ }
754+ let newPositionSize = $t02955531924._1
755+ let newPositionRemainMargin = $t02955531924._2
756+ let newPosiionOpenNotional = $t02955531924._3
757+ let newPositionLatestCPF = $t02955531924._4
758+ let baseAssetReserveAfter = $t02955531924._5
759+ let quoteAssetReserveAfter = $t02955531924._6
760+ let totalPositionSizeAfter = $t02955531924._7
761+ let cumulativeNotionalAfter = $t02955531924._8
762+ let openInteresetNotionalAfter = $t02955531924._9
763+ let totalLongAfter = $t02955531924._10
764+ let totalShortAfter = $t02955531924._11
765+ let feeToStakers = (feeAmount / 2)
766+ let feeToInsurance = (feeAmount - feeToStakers)
767+ let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
768+ if ((stake == stake))
769+ then {
770+ let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
771+ if ((depositInsurance == depositInsurance))
772+ then (((updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPosiionOpenNotional, newPositionLatestCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInteresetNotionalAfter, totalLongAfter, totalShortAfter)) ++ transferFee(feeToStakers)) ++ updateBalance((cbalance() + _amount)))
773+ else throw("Strict value is not equal to itself.")
774+ }
775+ else throw("Strict value is not equal to itself.")
776+ }
777+ }
778+
779+
780+
781+@Callable(i)
782+func addMargin () = {
783+ let _rawAmount = i.payments[0].amount
784+ if (if (if (if ((i.payments[0].assetId != quoteAsset()))
785+ then true
786+ else !(requireOpenPosition(toString(i.caller))))
787+ then true
788+ else !(initialized()))
789+ then true
790+ else paused())
791+ then throw("Invalid addMargin parameters")
792+ else {
793+ let feeAmount = muld(_rawAmount, fee())
794+ let _amount = (_rawAmount - feeAmount)
795+ let $t03320033352 = getPosition(toString(i.caller))
796+ let oldPositionSize = $t03320033352._1
797+ let oldPositionMargin = $t03320033352._2
798+ let oldPositionOpenNotional = $t03320033352._3
799+ let oldPositionLstUpdCPF = $t03320033352._4
800+ let feeToStakers = (feeAmount / 2)
801+ let feeToInsurance = (feeAmount - feeToStakers)
802+ let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
803+ if ((stake == stake))
804+ then {
805+ let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
806+ if ((depositInsurance == depositInsurance))
807+ then ((updatePosition(toString(i.caller), oldPositionSize, (oldPositionMargin + i.payments[0].amount), oldPositionOpenNotional, oldPositionLstUpdCPF) ++ transferFee(feeToStakers)) ++ updateBalance((cbalance() + _amount)))
808+ else throw("Strict value is not equal to itself.")
809+ }
810+ else throw("Strict value is not equal to itself.")
811+ }
812+ }
813+
814+
815+
816+@Callable(i)
817+func removeMargin (_amount) = if (if (if (if ((0 >= _amount))
818+ then true
819+ else !(requireOpenPosition(toString(i.caller))))
820+ then true
821+ else !(initialized()))
822+ then true
823+ else paused())
824+ then throw("Invalid removeMargin parameters")
825+ else {
826+ let $t03428534437 = getPosition(toString(i.caller))
827+ let oldPositionSize = $t03428534437._1
828+ let oldPositionMargin = $t03428534437._2
829+ let oldPositionOpenNotional = $t03428534437._3
830+ let oldPositionLstUpdCPF = $t03428534437._4
831+ let marginDelta = -(_amount)
832+ let $t03447434669 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta)
833+ let remainMargin = $t03447434669._1
834+ let badDebt = $t03447434669._2
835+ let x1 = $t03447434669._3
836+ let latestCPF1 = $t03447434669._4
837+ if ((badDebt != 0))
838+ then throw("Invalid added margin amount")
839+ else {
840+ let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [_amount, toBase58String(quoteAsset())], nil)
841+ if ((unstake == unstake))
842+ then ((updatePosition(toString(i.caller), oldPositionSize, remainMargin, oldPositionOpenNotional, latestCPF1) ++ withdraw(i.caller, _amount)) ++ updateBalance((cbalance() - _amount)))
843+ else throw("Strict value is not equal to itself.")
844+ }
845+ }
846+
847+
848+
849+@Callable(i)
850+func closePosition () = if (if (if (!(requireOpenPosition(toString(i.caller))))
851+ then true
852+ else !(initialized()))
853+ then true
854+ else paused())
855+ then throw("Invalid closePosition parameters")
856+ else {
857+ let $t03539135768 = internalClosePosition(toString(i.caller))
858+ let x1 = $t03539135768._1
859+ let badDebt = $t03539135768._2
860+ let realizedPnl = $t03539135768._3
861+ let marginToVault = $t03539135768._4
862+ let quoteAssetReserveAfter = $t03539135768._5
863+ let baseAssetReserveAfter = $t03539135768._6
864+ let totalPositionSizeAfter = $t03539135768._7
865+ let cumulativeNotionalAfter = $t03539135768._8
866+ let openInteresetNotionalAfter = $t03539135768._9
867+ let x2 = $t03539135768._10
868+ let totalLongAfter = $t03539135768._11
869+ let totalShortAfter = $t03539135768._12
870+ if ((badDebt > 0))
871+ then throw("Unable to close position with bad debt")
872+ else {
873+ let withdrawAmount = abs(marginToVault)
874+ let bd = (cbalance() - withdrawAmount)
875+ let $t03596136057 = if ((0 > bd))
876+ then $Tuple2(0, abs(bd))
877+ else $Tuple2(bd, 0)
878+ let nb = $t03596136057._1
879+ let fromi = $t03596136057._2
880+ let x = if ((fromi > 0))
881+ then {
882+ let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [fromi], nil)
883+ if ((withdrawInsurance == withdrawInsurance))
884+ then nil
885+ else throw("Strict value is not equal to itself.")
886+ }
887+ else nil
888+ if ((x == x))
889+ then {
890+ let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [(withdrawAmount - fromi), toBase58String(quoteAsset())], nil)
891+ if ((unstake == unstake))
892+ then (((deletePosition(toString(i.caller)) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInteresetNotionalAfter, totalLongAfter, totalShortAfter)) ++ withdraw(i.caller, withdrawAmount)) ++ updateBalance(nb))
893+ else throw("Strict value is not equal to itself.")
894+ }
895+ else throw("Strict value is not equal to itself.")
896+ }
897+ }
898+
899+
900+
901+@Callable(i)
902+func liquidate (_trader) = {
903+ let marginRatio = if (isOverFluctuationLimit())
904+ then getMarginRatioByOption(_trader, PNL_OPTION_ORACLE)
905+ else getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
906+ if (if (if (!(requireMoreMarginRatio(marginRatio, mmr(), false)))
907+ then true
908+ else !(initialized()))
909+ then true
910+ else paused())
911+ then throw("Unable to liquidate")
912+ else {
913+ let $t03723237563 = internalClosePosition(_trader)
914+ let x1 = $t03723237563._1
915+ let badDebt = $t03723237563._2
916+ let x2 = $t03723237563._3
917+ let marginToVault = $t03723237563._4
918+ let quoteAssetReserveAfter = $t03723237563._5
919+ let baseAssetReserveAfter = $t03723237563._6
920+ let totalPositionSizeAfter = $t03723237563._7
921+ let cumulativeNotionalAfter = $t03723237563._8
922+ let openInteresetNotionalAfter = $t03723237563._9
923+ let exchangedQuoteAssetAmount = $t03723237563._10
924+ let totalLongAfter = $t03723237563._11
925+ let totalShortAfter = $t03723237563._12
926+ let feeToLiquidator = (muld(exchangedQuoteAssetAmount, liquidationFeeRatio()) / 2)
927+ let $t03765338057 = if ((feeToLiquidator > marginToVault))
928+ then $Tuple3((feeToLiquidator - marginToVault), marginToVault, ((badDebt + feeToLiquidator) - marginToVault))
929+ else $Tuple3(0, (marginToVault - feeToLiquidator), badDebt)
930+ let liquidationBadDebt = $t03765338057._1
931+ let remainMargin = $t03765338057._2
932+ let totalBadDebt = $t03765338057._3
933+ let bd = (cbalance() - feeToLiquidator)
934+ let $t03810538193 = if ((0 > bd))
935+ then $Tuple2(0, abs(bd))
936+ else $Tuple2(bd, 0)
937+ let nb = $t03810538193._1
938+ let fromi = $t03810538193._2
939+ let x = if ((fromi > 0))
940+ then {
941+ let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [fromi], nil)
942+ if ((withdrawInsurance == withdrawInsurance))
943+ then nil
944+ else throw("Strict value is not equal to itself.")
945+ }
946+ else nil
947+ if ((x == x))
948+ then {
949+ let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [(feeToLiquidator - fromi), toBase58String(quoteAsset())], nil)
950+ if ((unstake == unstake))
951+ then (((deletePosition(_trader) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInteresetNotionalAfter, totalLongAfter, totalShortAfter)) ++ withdraw(i.caller, feeToLiquidator)) ++ updateBalance(nb))
952+ else throw("Strict value is not equal to itself.")
953+ }
954+ else throw("Strict value is not equal to itself.")
955+ }
956+ }
957+
958+
959+
960+@Callable(i)
961+func payFunding () = {
962+ let fundingBlockTimestamp = nextFundingBlockTimestamp()
963+ if (if (if ((fundingBlockTimestamp > lastBlock.timestamp))
964+ then true
965+ else !(initialized()))
966+ then true
967+ else paused())
968+ then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString(fundingBlockTimestamp)))
969+ else {
970+ let underlyingPrice = getOracleTwapPrice()
971+ let spotTwapPrice = getTwapSpotPrice()
972+ let premium = (spotTwapPrice - underlyingPrice)
973+ let $t03936840705 = if (if ((totalShortPositionSize() == 0))
974+ then true
975+ else (totalLongPositionSize() == 0))
976+ then $Tuple2(0, 0)
977+ else if ((0 > premium))
978+ then {
979+ let shortPremiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY)
980+ let longPremiumFraction = divd(muld(shortPremiumFraction, totalShortPositionSize()), totalLongPositionSize())
981+ $Tuple2(shortPremiumFraction, longPremiumFraction)
982+ }
983+ else {
984+ let longPremiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY)
985+ let shortPremiumFraction = divd(muld(longPremiumFraction, totalLongPositionSize()), totalShortPositionSize())
986+ $Tuple2(shortPremiumFraction, longPremiumFraction)
987+ }
988+ let shortPremiumFraction = $t03936840705._1
989+ let longPremiumFraction = $t03936840705._2
990+ updateFunding((fundingBlockTimestamp + fundingPeriodSeconds()), (latestLongCumulativePremiumFraction() + longPremiumFraction), (latestShortCumulativePremiumFraction() + shortPremiumFraction), divd(longPremiumFraction, underlyingPrice), divd(shortPremiumFraction, underlyingPrice))
991+ }
992+ }
993+
994+
995+
996+@Callable(i)
997+func v_get (_trader) = {
998+ let $t04108041133 = internalClosePosition(_trader)
999+ let x1 = $t04108041133._1
1000+ let x2 = $t04108041133._2
1001+ let x3 = $t04108041133._3
1002+ let x4 = $t04108041133._4
1003+ throw((((s(x2) + s(x3)) + s(x4)) + s(getMarginRatio(_trader))))
1004+ }
1005+
1006+
1007+@Verifier(tx)
1008+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], adminPublicKey())
1009+

github/deemru/w8io/026f985 
62.20 ms