tx · 43L9HTeKEFXa93JuamVfcZYSeM12amPuGzfZHJfAk5L1

3MuCofTkjmv397dEuRXE3pZxTb4zDWa96uo:  -0.04900000 Waves

2022.08.29 19:24 [2205976] smart account 3MuCofTkjmv397dEuRXE3pZxTb4zDWa96uo > SELF 0.00000000 Waves

{ "type": 13, "id": "43L9HTeKEFXa93JuamVfcZYSeM12amPuGzfZHJfAk5L1", "fee": 4900000, "feeAssetId": null, "timestamp": 1661790282238, "version": 2, "chainId": 84, "sender": "3MuCofTkjmv397dEuRXE3pZxTb4zDWa96uo", "senderPublicKey": "HGKkqEdKKPVXHMq25FyB6nm1kyvrixu1a8Av6wc9t5CG", "proofs": [ "4J4r44PWDyNQxFaTZNQrFeT9QEJSCaipcjq7uMEqACFhrR5GidVfMqiLAxmAHEbSynAJV3uteiytYZhhQXsfxvJ9" ], "script": "base64:BgJiCAISABIAEgMKAQESAwoBARILCgkBAQEBAQEBAQESEAoOAQEBAQEBAQgICAEBAQESAwoBARIFCgMBAQESBQoDAQEBEgASAwoBARIAEgMKAQgSABIDCgEIEgMKAQgSBAoCCAF/AAlrX29yYV9rZXkCCWtfb3JhX2tleQAPa19vcmFfYmxvY2tfa2V5Ag9rX29yYV9ibG9ja19rZXkABWtfb3JhAgVrX29yYQAJa19iYWxhbmNlAglrX2JhbGFuY2UADmtfcG9zaXRpb25TaXplAg5rX3Bvc2l0aW9uU2l6ZQAQa19wb3NpdGlvbk1hcmdpbgIQa19wb3NpdGlvbk1hcmdpbgAWa19wb3NpdGlvbk9wZW5Ob3Rpb25hbAIWa19wb3NpdGlvbk9wZW5Ob3Rpb25hbAAua19wb3NpdGlvbkxhc3RVcGRhdGVkQ3VtdWxhdGl2ZVByZW1pdW1GcmFjdGlvbgISa19wb3NpdGlvbkZyYWN0aW9uAA1rX2luaXRpYWxpemVkAg1rX2luaXRpYWxpemVkAAhrX3BhdXNlZAIIa19wYXVzZWQABWtfZmVlAgVrX2ZlZQAPa19mdW5kaW5nUGVyaW9kAg9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1b3RlQXNzZXRTdGFraW5nAAIOdW5sb2NrTmV1dHJpbm8JAMwIAgUHX2Ftb3VudAkAzAgCCQDYBAEJAQpxdW90ZUFzc2V0AAUDbmlsBQNuaWwDCQAAAgUHdW5zdGFrZQUHdW5zdGFrZQkAzggCCQEId2l0aGRyYXcCCQERQGV4dHJOYXRpdmUoMTA2MikBBQdfdHJhZGVyBQdfYW1vdW50CQENdXBkYXRlQmFsYW5jZQEJAGUCCQEIY2JhbGFuY2UABQdfYW1vdW50CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAkBDmFkbWluUHVibGljS2V5AMe2r1k=", "height": 2205976, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Z6mfLFV5HQ9dKDmvyxc2WL3ppfkYgezdAfphdGj6DDH Next: 21UMoVUCE3U541UEQEHihdncexHpLMgWZK8No4hJZJMk Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
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_partialLiquidationRatio = "k_partLiquidationRatio"
3535
3636 let k_spreadLimit = "k_spreadLimit"
3737
3838 let k_maxPriceImpact = "k_maxPriceImpact"
3939
4040 let k_maxPriceSpread = "k_maxPriceSpread"
4141
4242 let k_lastDataStr = "k_lastDataStr"
4343
4444 let k_lastMinuteId = "k_lastMinuteId"
4545
4646 let k_twapDataLastCumulativePrice = "k_twapDataLastCumulativePrice"
4747
4848 let k_twapDataLastPrice = "k_twapDataLastPrice"
4949
5050 let k_twapDataPreviousMinuteId = "k_twapDataPreviousMinuteId"
5151
5252 let k_latestLongCumulativePremiumFraction = "k_latestLongPremiumFraction"
5353
5454 let k_latestShortCumulativePremiumFraction = "k_latestShortPremiumFraction"
5555
5656 let k_nextFundingBlock = "k_nextFundingBlockMinTimestamp"
5757
5858 let k_longFundingRate = "k_longFundingRate"
5959
6060 let k_shortFundingRate = "k_shortFundingRate"
6161
6262 let k_quoteAssetReserve = "k_qtAstR"
6363
6464 let k_baseAssetReserve = "k_bsAstR"
6565
6666 let k_totalPositionSize = "k_totalPositionSize"
6767
6868 let k_totalLongPositionSize = "k_totalLongPositionSize"
6969
7070 let k_totalShortPositionSize = "k_totalShortPositionSize"
7171
7272 let k_cumulativeNotional = "k_cumulativeNotional"
7373
7474 let k_openInterestNotional = "k_openInterestNotional"
7575
7676 let k_coordinatorAddress = "k_coordinatorAddress"
7777
7878 let k_insurance_address = "k_insurance_address"
7979
8080 let k_admin_address = "k_admin_address"
8181
8282 let k_admin_public_key = "k_admin_public_key"
8383
8484 let k_quote_asset = "k_quote_asset"
8585
8686 let k_quote_staking = "k_quote_staking"
8787
8888 let k_staking_address = "k_staking_address"
8989
9090 let k_miner_address = "k_miner_address"
9191
9292 func coordinator () = valueOrErrorMessage(addressFromString(getStringValue(this, k_coordinatorAddress)), "Coordinator not set")
9393
9494
9595 func adminAddress () = addressFromString(getStringValue(coordinator(), k_admin_address))
9696
9797
9898 func adminPublicKey () = fromBase58String(getStringValue(coordinator(), k_admin_public_key))
9999
100100
101101 func quoteAsset () = fromBase58String(getStringValue(coordinator(), k_quote_asset))
102102
103103
104104 func quoteAssetStaking () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_quote_staking)), "Quote asset staking not set")
105105
106106
107107 func stakingAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_staking_address)), "Insurance not set")
108108
109109
110110 func insuranceAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_insurance_address)), "Insurance not set")
111111
112112
113113 func minerAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_miner_address)), "Insurance not set")
114114
115115
116116 let DIR_LONG = 1
117117
118118 let DIR_SHORT = 2
119119
120120 let TWAP_INTERVAL = 15
121121
122122 let ORACLE_INTERVAL = 15
123123
124124 let SECONDS = 1000
125125
126126 let DECIMAL_UNIT = (1 * (((((10 * 10) * 10) * 10) * 10) * 10))
127127
128128 let ONE_DAY = (86400 * DECIMAL_UNIT)
129129
130130 let ALL_FEES = 100
131131
132132 let PNL_OPTION_SPOT = 1
133133
134134 let PNL_OPTION_ORACLE = 2
135135
136136 func s (_x) = (toString(_x) + ",")
137137
138138
139139 func divd (_x,_y) = fraction(_x, DECIMAL_UNIT, _y, HALFEVEN)
140140
141141
142142 func muld (_x,_y) = fraction(_x, _y, DECIMAL_UNIT, HALFEVEN)
143143
144144
145145 func abs (_x) = if ((_x > 0))
146146 then _x
147147 else -(_x)
148148
149149
150150 func vmax (_x,_y) = if ((_x >= _y))
151151 then _x
152152 else _y
153153
154154
155155 func toCompositeKey (_key,_address) = ((_key + "_") + _address)
156156
157157
158158 func listToStr (_list) = {
159159 func _join (accumulator,val) = ((accumulator + val) + ",")
160160
161161 let newListStr = {
162162 let $l = _list
163163 let $s = size($l)
164164 let $acc0 = ""
165165 func $f0_1 ($a,$i) = if (($i >= $s))
166166 then $a
167167 else _join($a, $l[$i])
168168
169169 func $f0_2 ($a,$i) = if (($i >= $s))
170170 then $a
171171 else throw("List size exceeds 20")
172172
173173 $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)
174174 }
175175 let newListStrU = dropRight(newListStr, 1)
176176 let newListStrR = if ((take(newListStrU, 1) == ","))
177177 then drop(newListStrU, 1)
178178 else newListStrU
179179 newListStrR
180180 }
181181
182182
183183 func strToList (_str) = split(_str, ",")
184184
185185
186186 func pushToQueue (_list,_maxSize,_value) = if ((size(_list) > _maxSize))
187187 then (removeByIndex(_list, 0) :+ _value)
188188 else (_list :+ _value)
189189
190190
191191 func int (k) = valueOrErrorMessage(getInteger(this, k), ("no value for " + k))
192192
193193
194194 func cbalance () = int(k_balance)
195195
196196
197197 func fee () = int(k_fee)
198198
199199
200200 func initMarginRatio () = int(k_initMarginRatio)
201201
202202
203203 func qtAstR () = int(k_quoteAssetReserve)
204204
205205
206206 func bsAstR () = int(k_baseAssetReserve)
207207
208208
209209 func totalPositionSize () = int(k_totalPositionSize)
210210
211211
212212 func cumulativeNotional () = int(k_cumulativeNotional)
213213
214214
215215 func openInterestNotional () = int(k_openInterestNotional)
216216
217217
218218 func nextFundingBlockTimestamp () = int(k_nextFundingBlock)
219219
220220
221221 func fundingPeriodRaw () = int(k_fundingPeriod)
222222
223223
224224 func fundingPeriodDecimal () = (fundingPeriodRaw() * DECIMAL_UNIT)
225225
226226
227227 func fundingPeriodSeconds () = (fundingPeriodRaw() * SECONDS)
228228
229229
230230 func maintenanceMarginRatio () = int(k_maintenanceMarginRatio)
231231
232232
233233 func liquidationFeeRatio () = int(k_liquidationFeeRatio)
234234
235235
236236 func partialLiquidationRatio () = int(k_partialLiquidationRatio)
237237
238238
239239 func spreadLimit () = int(k_spreadLimit)
240240
241241
242242 func maxPriceImpact () = int(k_maxPriceImpact)
243243
244244
245245 func maxPriceSpread () = int(k_maxPriceSpread)
246246
247247
248248 func latestLongCumulativePremiumFraction () = int(k_latestLongCumulativePremiumFraction)
249249
250250
251251 func latestShortCumulativePremiumFraction () = int(k_latestShortCumulativePremiumFraction)
252252
253253
254254 func totalShortPositionSize () = int(k_totalShortPositionSize)
255255
256256
257257 func totalLongPositionSize () = int(k_totalLongPositionSize)
258258
259259
260260 func requireMoreMarginRatio (_marginRatio,_baseMarginRatio,_largerThanOrEqualTo) = {
261261 let remainingMarginRatio = (_marginRatio - _baseMarginRatio)
262262 if (if (_largerThanOrEqualTo)
263263 then (0 > remainingMarginRatio)
264264 else false)
265265 then throw("Invalid margin")
266266 else if (if (!(_largerThanOrEqualTo))
267267 then (remainingMarginRatio >= 0)
268268 else false)
269269 then throw("Invalid margin")
270270 else true
271271 }
272272
273273
274274 func latestCumulativePremiumFraction (_positionSize) = if ((_positionSize == 0))
275275 then throw("Should not be called with _positionSize == 0")
276276 else if ((_positionSize > 0))
277277 then latestLongCumulativePremiumFraction()
278278 else latestShortCumulativePremiumFraction()
279279
280280
281281 func getPosition (_trader) = {
282282 let positionSizeOpt = getInteger(this, toCompositeKey(k_positionSize, _trader))
283283 match positionSizeOpt {
284284 case positionSize: Int =>
285285 $Tuple4(positionSize, getIntegerValue(this, toCompositeKey(k_positionMargin, _trader)), getIntegerValue(this, toCompositeKey(k_positionOpenNotional, _trader)), getIntegerValue(this, toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _trader)))
286286 case _ =>
287287 $Tuple4(0, 0, 0, 0)
288288 }
289289 }
290290
291291
292292 func requireOpenPosition (_trader) = if ((getPosition(_trader)._1 == 0))
293293 then throw("No open position")
294294 else true
295295
296296
297297 func initialized () = valueOrElse(getBoolean(this, k_initialized), false)
298298
299299
300300 func paused () = valueOrElse(getBoolean(this, k_paused), false)
301301
302302
303303 func updateReserve (_isAdd,_quoteAssetAmount,_baseAssetAmount) = if (_isAdd)
304304 then {
305305 let newBase = (bsAstR() - _baseAssetAmount)
306306 if ((0 >= newBase))
307307 then throw("Tx lead to base asset reserve <= 0, revert")
308308 else $Tuple4((qtAstR() + _quoteAssetAmount), newBase, (totalPositionSize() + _baseAssetAmount), (cumulativeNotional() + _quoteAssetAmount))
309309 }
310310 else {
311311 let newQuote = (qtAstR() - _quoteAssetAmount)
312312 if ((0 >= newQuote))
313313 then throw("Tx lead to base quote reserve <= 0, revert")
314314 else $Tuple4(newQuote, (bsAstR() + _baseAssetAmount), (totalPositionSize() - _baseAssetAmount), (cumulativeNotional() - _quoteAssetAmount))
315315 }
316316
317317
318318 func swapInput (_isAdd,_quoteAssetAmount) = {
319319 let _qtAstR = qtAstR()
320320 let _bsAstR = bsAstR()
321321 let k = muld(_qtAstR, _bsAstR)
322322 let quoteAssetReserveAfter = if (_isAdd)
323323 then (_qtAstR + _quoteAssetAmount)
324324 else (_qtAstR - _quoteAssetAmount)
325325 let baseAssetReserveAfter = divd(k, quoteAssetReserveAfter)
326326 let amountBaseAssetBoughtAbs = abs((baseAssetReserveAfter - _bsAstR))
327327 let amountBaseAssetBought = if (_isAdd)
328328 then amountBaseAssetBoughtAbs
329329 else -(amountBaseAssetBoughtAbs)
330330 let $t01217712370 = updateReserve(_isAdd, _quoteAssetAmount, amountBaseAssetBoughtAbs)
331331 let quoteAssetReserveAfter1 = $t01217712370._1
332332 let baseAssetReserveAfter1 = $t01217712370._2
333333 let totalPositionSizeAfter1 = $t01217712370._3
334334 let cumulativeNotionalAfter1 = $t01217712370._4
335335 let priceBefore = divd(_qtAstR, _bsAstR)
336336 let marketPrice = divd(_quoteAssetAmount, amountBaseAssetBoughtAbs)
337337 let priceDiff = abs((priceBefore - marketPrice))
338338 let priceImpact = (DECIMAL_UNIT - divd(priceBefore, (priceBefore + priceDiff)))
339339 let maxPriceImpactValue = maxPriceImpact()
340340 if ((priceImpact > maxPriceImpactValue))
341341 then throw(((((((((((((("Price impact " + toString(priceImpact)) + " > max price impact ") + toString(maxPriceImpactValue)) + " before quote asset: ") + toString(_qtAstR)) + " before base asset: ") + toString(_bsAstR)) + " quote asset amount to exchange: ") + toString(_quoteAssetAmount)) + " price before: ") + toString(priceBefore)) + " marketPrice: ") + toString(marketPrice)))
342342 else $Tuple5(amountBaseAssetBought, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1)
343343 }
344344
345345
346346 func calcRemainMarginWithFundingPayment (_oldPositionSize,_oldPositionMargin,_oldPositionCumulativePremiumFraction,_marginDelta) = {
347347 let fundingPayment = if ((_oldPositionSize != 0))
348348 then {
349349 let _latestCumulativePremiumFraction = latestCumulativePremiumFraction(_oldPositionSize)
350350 muld((_latestCumulativePremiumFraction - _oldPositionCumulativePremiumFraction), _oldPositionSize)
351351 }
352352 else 0
353353 let signedMargin = ((_marginDelta - fundingPayment) + _oldPositionMargin)
354354 let $t01386113988 = if ((0 > signedMargin))
355355 then $Tuple2(0, abs(signedMargin))
356356 else $Tuple2(abs(signedMargin), 0)
357357 let remainMargin = $t01386113988._1
358358 let badDebt = $t01386113988._2
359359 $Tuple3(remainMargin, badDebt, fundingPayment)
360360 }
361361
362362
363363 func swapOutputWithReserves (_isAdd,_baseAssetAmount,_checkMaxPriceImpact,_quoteAssetReserve,_baseAssetReserve) = {
364364 let priceBefore = divd(_quoteAssetReserve, _baseAssetReserve)
365365 if ((_baseAssetAmount == 0))
366366 then throw("Invalid base asset amount")
367367 else {
368368 let k = muld(_quoteAssetReserve, _baseAssetReserve)
369369 let baseAssetPoolAmountAfter = if (_isAdd)
370370 then (_baseAssetReserve + _baseAssetAmount)
371371 else (_baseAssetReserve - _baseAssetAmount)
372372 let quoteAssetAfter = divd(k, baseAssetPoolAmountAfter)
373373 let quoteAssetSold = abs((quoteAssetAfter - _quoteAssetReserve))
374374 let maxPriceImpactValue = maxPriceImpact()
375375 let $t01496515158 = updateReserve(!(_isAdd), quoteAssetSold, _baseAssetAmount)
376376 let quoteAssetReserveAfter1 = $t01496515158._1
377377 let baseAssetReserveAfter1 = $t01496515158._2
378378 let totalPositionSizeAfter1 = $t01496515158._3
379379 let cumulativeNotionalAfter1 = $t01496515158._4
380380 let marketPrice = divd(quoteAssetSold, _baseAssetAmount)
381381 let priceDiff = abs((priceBefore - marketPrice))
382382 let priceImpact = (DECIMAL_UNIT - divd(priceBefore, (priceBefore + priceDiff)))
383383 if (if ((priceImpact > maxPriceImpactValue))
384384 then _checkMaxPriceImpact
385385 else false)
386386 then throw(((((((((((((("Price impact " + toString(priceImpact)) + " > max price impact ") + toString(maxPriceImpactValue)) + " before quote asset: ") + toString(_quoteAssetReserve)) + " before base asset: ") + toString(_baseAssetReserve)) + " base asset amount to exchange: ") + toString(_baseAssetAmount)) + " price before: ") + toString(priceBefore)) + " market price: ") + toString(marketPrice)))
387387 else $Tuple8(quoteAssetSold, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1, (totalLongPositionSize() - (if (_isAdd)
388388 then abs(_baseAssetAmount)
389389 else 0)), (totalShortPositionSize() - (if (!(_isAdd))
390390 then abs(_baseAssetAmount)
391391 else 0)), priceImpact)
392392 }
393393 }
394394
395395
396396 func swapOutput (_isAdd,_baseAssetAmount,_checkMaxPriceImpact) = swapOutputWithReserves(_isAdd, _baseAssetAmount, _checkMaxPriceImpact, qtAstR(), bsAstR())
397397
398398
399399 func getOracleTwapPrice () = {
400400 let oracle = valueOrErrorMessage(addressFromString(getStringValue(this, k_ora)), "")
401401 let priceKey = getStringValue(this, k_ora_key)
402402 let blockKey = getStringValue(this, k_ora_block_key)
403403 let lastValue = valueOrErrorMessage(getInteger(oracle, priceKey), ((("Can not get oracle price. Oracle: " + toString(oracle)) + " key: ") + priceKey))
404404 lastValue
405405 }
406406
407407
408408 func requireNotOverSpreadLimit (_quoteAssetReserve,_baseAssetReserve) = {
409409 let oraclePrice = getOracleTwapPrice()
410410 let priceAfter = divd(_quoteAssetReserve, _baseAssetReserve)
411411 let averagePrice = divd((oraclePrice + priceAfter), (2 * DECIMAL_UNIT))
412412 let absPriceDiff = divd(abs((oraclePrice - priceAfter)), averagePrice)
413413 if ((absPriceDiff > maxPriceSpread()))
414414 then throw(((("Price spread " + toString(absPriceDiff)) + " > max price spread ") + toString(maxPriceSpread())))
415415 else true
416416 }
417417
418418
419419 func getSpotPrice () = {
420420 let _quoteAssetReserve = qtAstR()
421421 let _baseAssetReserve = bsAstR()
422422 divd(_quoteAssetReserve, _baseAssetReserve)
423423 }
424424
425425
426426 func isOverFluctuationLimit () = {
427427 let oraclePrice = getOracleTwapPrice()
428428 let currentPrice = getSpotPrice()
429429 (divd(abs((oraclePrice - currentPrice)), oraclePrice) > spreadLimit())
430430 }
431431
432432
433433 func getPositionAdjustedOpenNotional (_positionSize,_option,_quoteAssetReserve,_baseAssetReserve) = {
434434 let positionSizeAbs = abs(_positionSize)
435435 let isShort = (0 > _positionSize)
436436 let positionNotional = if ((_option == PNL_OPTION_SPOT))
437437 then {
438438 let $t01837618547 = swapOutputWithReserves(!(isShort), positionSizeAbs, false, _quoteAssetReserve, _baseAssetReserve)
439439 let outPositionNotional = $t01837618547._1
440440 let x1 = $t01837618547._2
441441 let x2 = $t01837618547._3
442442 let x3 = $t01837618547._4
443443 outPositionNotional
444444 }
445445 else muld(positionSizeAbs, getOracleTwapPrice())
446446 positionNotional
447447 }
448448
449449
450450 func getPositionNotionalAndUnrealizedPnl (_trader,_option) = {
451451 let $t01894119069 = getPosition(_trader)
452452 let positionSize = $t01894119069._1
453453 let positionMargin = $t01894119069._2
454454 let positionOpenNotional = $t01894119069._3
455455 let positionLstUpdCPF = $t01894119069._4
456456 if ((positionSize == 0))
457457 then throw("Invalid position size")
458458 else {
459459 let isShort = (0 > positionSize)
460460 let positionNotional = getPositionAdjustedOpenNotional(positionSize, _option, qtAstR(), bsAstR())
461461 let unrealizedPnl = if (isShort)
462462 then (positionOpenNotional - positionNotional)
463463 else (positionNotional - positionOpenNotional)
464464 $Tuple2(positionNotional, unrealizedPnl)
465465 }
466466 }
467467
468468
469469 func calcMarginRatio (_remainMargin,_badDebt,_positionNotional) = divd((_remainMargin - _badDebt), _positionNotional)
470470
471471
472472 func getMarginRatioByOption (_trader,_option) = {
473473 let $t01990220013 = getPosition(_trader)
474474 let positionSize = $t01990220013._1
475475 let positionMargin = $t01990220013._2
476476 let pon = $t01990220013._3
477477 let positionLstUpdCPF = $t01990220013._4
478478 let $t02001920112 = getPositionNotionalAndUnrealizedPnl(_trader, _option)
479479 let positionNotional = $t02001920112._1
480480 let unrealizedPnl = $t02001920112._2
481481 let $t02011720283 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
482482 let remainMargin = $t02011720283._1
483483 let badDebt = $t02011720283._2
484484 calcMarginRatio(remainMargin, badDebt, positionNotional)
485485 }
486486
487487
488488 func getMarginRatio (_trader) = getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
489489
490490
491491 func getPartialLiquidationAmount (_trader,_positionSize) = {
492492 let maximumRatio = vmax(partialLiquidationRatio(), (DECIMAL_UNIT - divd(getMarginRatio(_trader), maintenanceMarginRatio())))
493493 let maxExchangedPositionSize = muld(abs(_positionSize), maximumRatio)
494494 let swapResult = swapOutput((_positionSize > 0), maxExchangedPositionSize, false)
495495 let maxExchangedQuoteAssetAmount = swapResult._1
496496 let priceImpact = swapResult._8
497497 if ((maxPriceImpact() > priceImpact))
498498 then maxExchangedQuoteAssetAmount
499499 else {
500500 let exchangedPositionSize = muld(abs(_positionSize), partialLiquidationRatio())
501501 let exchangedQuoteAssetAmount = swapOutput((_positionSize > 0), exchangedPositionSize, false)._1
502502 exchangedQuoteAssetAmount
503503 }
504504 }
505505
506506
507507 func internalClosePosition (_trader,_checkMaxPriceImpact) = {
508508 let $t02146521593 = getPosition(_trader)
509509 let positionSize = $t02146521593._1
510510 let positionMargin = $t02146521593._2
511511 let positionOpenNotional = $t02146521593._3
512512 let positionLstUpdCPF = $t02146521593._4
513513 let unrealizedPnl = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)._2
514514 let $t02168821856 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
515515 let remainMargin = $t02168821856._1
516516 let badDebt = $t02168821856._2
517517 let exchangedPositionSize = -(positionSize)
518518 let realizedPnl = unrealizedPnl
519519 let marginToVault = -(remainMargin)
520520 let $t02198322294 = swapOutput((positionSize > 0), abs(positionSize), _checkMaxPriceImpact)
521521 let exchangedQuoteAssetAmount = $t02198322294._1
522522 let quoteAssetReserveAfter = $t02198322294._2
523523 let baseAssetReserveAfter = $t02198322294._3
524524 let totalPositionSizeAfter = $t02198322294._4
525525 let cumulativeNotionalAfter = $t02198322294._5
526526 let totalLongAfter = $t02198322294._6
527527 let totalShortAfter = $t02198322294._7
528528 let openInterestNotionalAfter = (openInterestNotional() - positionOpenNotional)
529529 $Tuple12(exchangedPositionSize, badDebt, realizedPnl, marginToVault, quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, exchangedQuoteAssetAmount, totalLongAfter, totalShortAfter)
530530 }
531531
532532
533533 func getTwapSpotPrice () = {
534534 let minuteId = ((lastBlock.timestamp / 1000) / 60)
535535 let startMinuteId = (minuteId - TWAP_INTERVAL)
536536 let listStr = valueOrElse(getString(this, k_lastDataStr), "")
537537 let list = split(listStr, ",")
538538 func filterFn (accumulator,next) = if ((startMinuteId >= parseIntValue(next)))
539539 then (accumulator :+ parseIntValue(next))
540540 else accumulator
541541
542542 let listF = {
543543 let $l = list
544544 let $s = size($l)
545545 let $acc0 = nil
546546 func $f0_1 ($a,$i) = if (($i >= $s))
547547 then $a
548548 else filterFn($a, $l[$i])
549549
550550 func $f0_2 ($a,$i) = if (($i >= $s))
551551 then $a
552552 else throw("List size exceeds 20")
553553
554554 $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)
555555 }
556556 let maxIndex = if ((size(listF) > 0))
557557 then max(listF)
558558 else parseIntValue(list[0])
559559 let lastMinuteId = valueOrElse(getInteger(this, k_lastMinuteId), 0)
560560 let endLastCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(lastMinuteId))), 0)
561561 let endLastPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(lastMinuteId))), 0)
562562 let nowCumulativePrice = (endLastCumulativePrice + ((minuteId - lastMinuteId) * endLastPrice))
563563 let startLastCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(maxIndex))), 0)
564564 let startLastPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(maxIndex))), 0)
565565 let startCumulativePrice = (startLastCumulativePrice + ((startMinuteId - maxIndex) * startLastPrice))
566566 ((nowCumulativePrice - startCumulativePrice) / TWAP_INTERVAL)
567567 }
568568
569569
570570 func updateSettings (_initMarginRatio,_mmr,_liquidationFeeRatio,_fundingPeriod,_fee,_spreadLimit,_maxPriceImpact,_partialLiquidationRatio,_maxPriceSpread) = [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), IntegerEntry(k_partialLiquidationRatio, _partialLiquidationRatio), IntegerEntry(k_maxPriceSpread, _maxPriceSpread)]
571571
572572
573573 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)]
574574
575575
576576 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)]
577577
578578
579579 func appendTwap (price) = {
580580 let minuteId = ((lastBlock.timestamp / 1000) / 60)
581581 let previousMinuteId = valueOrElse(getInteger(this, k_lastMinuteId), 0)
582582 if ((previousMinuteId > minuteId))
583583 then throw("TWAP out-of-order")
584584 else {
585585 let lastMinuteId = if ((previousMinuteId == 0))
586586 then minuteId
587587 else previousMinuteId
588588 if ((minuteId > previousMinuteId))
589589 then {
590590 let prevCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(previousMinuteId))), 0)
591591 let prevPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(previousMinuteId))), price)
592592 let lastCumulativePrice = (prevCumulativePrice + ((minuteId - lastMinuteId) * prevPrice))
593593 let list = pushToQueue(strToList(valueOrElse(getString(this, k_lastDataStr), "")), TWAP_INTERVAL, toString(minuteId))
594594 [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))]
595595 }
596596 else {
597597 let twapDataPreviousMinuteId = valueOrElse(getInteger(this, toCompositeKey(k_twapDataPreviousMinuteId, toString(minuteId))), 0)
598598 let prevCumulativePrice = valueOrElse(getInteger(this, toCompositeKey(k_twapDataLastCumulativePrice, toString(twapDataPreviousMinuteId))), 0)
599599 let prevPrice = valueOrElse(getInteger(this, toCompositeKey(k_twapDataLastPrice, toString(twapDataPreviousMinuteId))), price)
600600 let lastCumulativePrice = (prevCumulativePrice + ((minuteId - twapDataPreviousMinuteId) * prevPrice))
601601 [IntegerEntry(toCompositeKey(k_twapDataLastCumulativePrice, toString(minuteId)), lastCumulativePrice), IntegerEntry(toCompositeKey(k_twapDataLastPrice, toString(minuteId)), price)]
602602 }
603603 }
604604 }
605605
606606
607607 func updateAmmReserves (_qtAstR,_bsAstR) = [IntegerEntry(k_quoteAssetReserve, _qtAstR), IntegerEntry(k_baseAssetReserve, _bsAstR)]
608608
609609
610610 func updateAmm (_qtAstR,_bsAstR,_totalPositionSizeAfter,_cumulativeNotionalAfter,_openInterestNotional,_totalLongPositionSize,_totalShortPositionSize) = if (((_totalLongPositionSize - _totalShortPositionSize) != _totalPositionSizeAfter))
611611 then throw(((((("Invalid AMM state data: " + toString(_totalLongPositionSize)) + " + ") + toString(_totalShortPositionSize)) + " != ") + toString(_totalPositionSizeAfter)))
612612 else ((updateAmmReserves(_qtAstR, _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)))
613613
614614
615615 func deletePosition (_address) = [DeleteEntry(toCompositeKey(k_positionSize, _address)), DeleteEntry(toCompositeKey(k_positionMargin, _address)), DeleteEntry(toCompositeKey(k_positionOpenNotional, _address)), DeleteEntry(toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _address))]
616616
617617
618618 func withdraw (_address,_amount) = {
619619 let balance = assetBalance(this, quoteAsset())
620620 if ((_amount > balance))
621621 then throw(((("Unable to withdraw " + toString(_amount)) + " from contract balance ") + toString(balance)))
622622 else [ScriptTransfer(_address, _amount, quoteAsset())]
623623 }
624624
625625
626626 func updateBalance (i) = if ((0 > i))
627627 then throw("Balance")
628628 else [IntegerEntry(k_balance, i)]
629629
630630
631631 func transferFee (i) = [ScriptTransfer(stakingAddress(), i, quoteAsset())]
632632
633633
634634 @Callable(i)
635635 func pause () = if ((i.caller != adminAddress()))
636636 then throw("Invalid togglePause params")
637637 else [BooleanEntry(k_paused, true)]
638638
639639
640640
641641 @Callable(i)
642642 func unpause () = if ((i.caller != adminAddress()))
643643 then throw("Invalid togglePause params")
644644 else [BooleanEntry(k_paused, false)]
645645
646646
647647
648648 @Callable(i)
649649 func addLiquidity (_quoteAssetAmount) = if (if ((i.caller != adminAddress()))
650650 then true
651651 else (0 >= _quoteAssetAmount))
652652 then throw("Invalid addLiquidity params")
653653 else {
654654 let _qtAstR = qtAstR()
655655 let _bsAstR = bsAstR()
656656 let price = divd(_qtAstR, _bsAstR)
657657 let baseAssetAmountToAdd = divd(_quoteAssetAmount, price)
658658 let qtAstRAfter = (_qtAstR + _quoteAssetAmount)
659659 let bsAstRAfter = (_bsAstR + baseAssetAmountToAdd)
660660 updateAmmReserves(qtAstRAfter, bsAstRAfter)
661661 }
662662
663663
664664
665665 @Callable(i)
666666 func removeLiquidity (_quoteAssetAmount) = if (if ((i.caller != adminAddress()))
667667 then true
668668 else (0 >= _quoteAssetAmount))
669669 then throw("Invalid removeLiquidity params")
670670 else {
671671 let _qtAstR = qtAstR()
672672 let _bsAstR = bsAstR()
673673 let price = divd(_qtAstR, _bsAstR)
674674 let baseAssetAmountToRemove = divd(_quoteAssetAmount, price)
675675 let qtAstRAfter = (_qtAstR - _quoteAssetAmount)
676676 let bsAstRAfter = (_bsAstR - baseAssetAmountToRemove)
677677 updateAmmReserves(qtAstRAfter, bsAstRAfter)
678678 }
679679
680680
681681
682682 @Callable(i)
683683 func changeSettings (_initMarginRatio,_mmr,_liquidationFeeRatio,_fundingPeriod,_fee,_spreadLimit,_maxPriceImpact,_partialLiquidationRatio,_maxPriceSpread) = if ((i.caller != adminAddress()))
684684 then throw("Invalid changeSettings params")
685685 else updateSettings(_initMarginRatio, _mmr, _liquidationFeeRatio, _fundingPeriod, _fee, _spreadLimit, _maxPriceImpact, _partialLiquidationRatio, _maxPriceSpread)
686686
687687
688688
689689 @Callable(i)
690690 func initialize (_qtAstR,_bsAstR,_fundingPeriod,_initMarginRatio,_mmr,_liquidationFeeRatio,_fee,_oracle,_oracleKey,_coordinator,_spreadLimit,_maxPriceImpact,_partialLiquidationRatio,_maxPriceSpread) = if (if (if (if (if (if (if (if (if (if (if (if ((0 >= _qtAstR))
691691 then true
692692 else (0 >= _bsAstR))
693693 then true
694694 else (0 >= _fundingPeriod))
695695 then true
696696 else (0 >= _initMarginRatio))
697697 then true
698698 else (0 >= _mmr))
699699 then true
700700 else (0 >= _liquidationFeeRatio))
701701 then true
702702 else (0 >= _fee))
703703 then true
704704 else (0 >= _spreadLimit))
705705 then true
706706 else (0 >= _maxPriceImpact))
707707 then true
708708 else (0 >= _partialLiquidationRatio))
709709 then true
710710 else (0 >= _maxPriceSpread))
711711 then true
712712 else initialized())
713713 then throw("Invalid initialize parameters")
714714 else ((((updateAmm(_qtAstR, _bsAstR, 0, 0, 0, 0, 0) ++ updateSettings(_initMarginRatio, _mmr, _liquidationFeeRatio, _fundingPeriod, _fee, _spreadLimit, _maxPriceImpact, _partialLiquidationRatio, _maxPriceSpread)) ++ 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)])
715715
716716
717717
718718 @Callable(i)
719719 func setInitMarginRatio (_initMarginRatio) = if (if ((0 >= _initMarginRatio))
720720 then true
721721 else !(initialized()))
722722 then throw("Invalid setInitMarginRatio parameters")
723723 else updateSettings(_initMarginRatio, maintenanceMarginRatio(), liquidationFeeRatio(), fundingPeriodRaw(), fee(), spreadLimit(), maxPriceImpact(), partialLiquidationRatio(), maxPriceSpread())
724724
725725
726726
727727 @Callable(i)
728728 func decreasePosition (_amount,_leverage,_minBaseAssetAmount) = if (if (if (if (if ((0 >= _amount))
729729 then true
730730 else !(initialized()))
731731 then true
732732 else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true)))
733733 then true
734734 else !(requireOpenPosition(toString(i.caller))))
735735 then true
736736 else paused())
737737 then throw("Invalid decreasePosition parameters")
738738 else {
739739 let $t03418734339 = getPosition(toString(i.caller))
740740 let oldPositionSize = $t03418734339._1
741741 let oldPositionMargin = $t03418734339._2
742742 let oldPositionOpenNotional = $t03418734339._3
743743 let oldPositionLstUpdCPF = $t03418734339._4
744744 let _direction = if ((oldPositionSize > 0))
745745 then DIR_SHORT
746746 else DIR_LONG
747747 let isAdd = (_direction == DIR_LONG)
748748 let openNotional = muld(_amount, _leverage)
749749 let $t03451234628 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
750750 let oldPositionNotional = $t03451234628._1
751751 let unrealizedPnl = $t03451234628._2
752752 let $t03463437183 = if ((oldPositionNotional > openNotional))
753753 then {
754754 let $t03501135230 = swapInput(isAdd, openNotional)
755755 let exchangedPositionSize = $t03501135230._1
756756 let quoteAssetReserveAfter = $t03501135230._2
757757 let baseAssetReserveAfter = $t03501135230._3
758758 let totalPositionSizeAfter = $t03501135230._4
759759 let cumulativeNotionalAfter = $t03501135230._5
760760 let exchangedPositionSizeAbs = abs(exchangedPositionSize)
761761 if (if ((_minBaseAssetAmount != 0))
762762 then (_minBaseAssetAmount > exchangedPositionSizeAbs)
763763 else false)
764764 then throw(((("Too little base asset exchanged, got " + toString(exchangedPositionSizeAbs)) + " expected ") + toString(_minBaseAssetAmount)))
765765 else {
766766 let realizedPnl = divd(muld(unrealizedPnl, exchangedPositionSizeAbs), abs(oldPositionSize))
767767 let $t03566735912 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
768768 let remainMargin = $t03566735912._1
769769 let badDebt = $t03566735912._2
770770 let fundingPayment = $t03566735912._3
771771 let exchangedQuoteAssetAmount = openNotional
772772 let unrealizedPnlAfter = (unrealizedPnl - realizedPnl)
773773 let remainOpenNotional = if ((oldPositionSize > 0))
774774 then ((oldPositionNotional - exchangedQuoteAssetAmount) - unrealizedPnlAfter)
775775 else ((unrealizedPnlAfter + oldPositionNotional) - exchangedQuoteAssetAmount)
776776 let newPositionSize = (oldPositionSize + exchangedPositionSize)
777777 $Tuple11(newPositionSize, remainMargin, abs(remainOpenNotional), latestCumulativePremiumFraction(newPositionSize), baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInterestNotional() - openNotional), (totalLongPositionSize() - (if ((newPositionSize > 0))
778778 then abs(exchangedPositionSize)
779779 else 0)), (totalShortPositionSize() - (if ((0 > newPositionSize))
780780 then abs(exchangedPositionSize)
781781 else 0)))
782782 }
783783 }
784784 else throw("Close position first")
785785 let newPositionSize = $t03463437183._1
786786 let newPositionRemainMargin = $t03463437183._2
787787 let newPositionOpenNotional = $t03463437183._3
788788 let newPositionLatestCPF = $t03463437183._4
789789 let baseAssetReserveAfter = $t03463437183._5
790790 let quoteAssetReserveAfter = $t03463437183._6
791791 let totalPositionSizeAfter = $t03463437183._7
792792 let cumulativeNotionalAfter = $t03463437183._8
793793 let openInterestNotionalAfter = $t03463437183._9
794794 let totalLongAfter = $t03463437183._10
795795 let totalShortAfter = $t03463437183._11
796796 let notifyNotional = invoke(minerAddress(), "notifyNotional", [toString(i.caller), newPositionOpenNotional], nil)
797797 if ((notifyNotional == notifyNotional))
798798 then (updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPositionOpenNotional, newPositionLatestCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter))
799799 else throw("Strict value is not equal to itself.")
800800 }
801801
802802
803803
804804 @Callable(i)
805805 func increasePosition (_direction,_leverage,_minBaseAssetAmount) = {
806806 let _rawAmount = i.payments[0].amount
807807 if (if (if (if (if (if (if ((_direction != DIR_LONG))
808808 then (_direction != DIR_SHORT)
809809 else false)
810810 then true
811811 else (0 >= _rawAmount))
812812 then true
813813 else !(initialized()))
814814 then true
815815 else (i.payments[0].assetId != quoteAsset()))
816816 then true
817817 else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true)))
818818 then true
819819 else paused())
820820 then throw("Invalid increasePosition parameters")
821821 else {
822822 let feeAmount = muld(_rawAmount, fee())
823823 let _amount = (_rawAmount - feeAmount)
824824 let $t03830138453 = getPosition(toString(i.caller))
825825 let oldPositionSize = $t03830138453._1
826826 let oldPositionMargin = $t03830138453._2
827827 let oldPositionOpenNotional = $t03830138453._3
828828 let oldPositionLstUpdCPF = $t03830138453._4
829829 let isNewPosition = (oldPositionSize == 0)
830830 let isSameDirection = if ((oldPositionSize > 0))
831831 then (_direction == DIR_LONG)
832832 else (_direction == DIR_SHORT)
833833 let expandExisting = if (!(isNewPosition))
834834 then isSameDirection
835835 else false
836836 let isAdd = (_direction == DIR_LONG)
837837 let $t03874241310 = if (if (isNewPosition)
838838 then true
839839 else expandExisting)
840840 then {
841841 let openNotional = muld(_amount, _leverage)
842842 let $t03916639372 = swapInput(isAdd, openNotional)
843843 let amountBaseAssetBought = $t03916639372._1
844844 let quoteAssetReserveAfter = $t03916639372._2
845845 let baseAssetReserveAfter = $t03916639372._3
846846 let totalPositionSizeAfter = $t03916639372._4
847847 let cumulativeNotionalAfter = $t03916639372._5
848848 if (if ((_minBaseAssetAmount != 0))
849849 then (_minBaseAssetAmount > abs(amountBaseAssetBought))
850850 else false)
851851 then throw(((("Limit error: " + toString(abs(amountBaseAssetBought))) + " < ") + toString(_minBaseAssetAmount)))
852852 else {
853853 let newPositionSize = (oldPositionSize + amountBaseAssetBought)
854854 let increaseMarginRequirement = divd(openNotional, _leverage)
855855 let $t03975339992 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement)
856856 let remainMargin = $t03975339992._1
857857 let x1 = $t03975339992._2
858858 let x2 = $t03975339992._3
859859 if (!(requireNotOverSpreadLimit(quoteAssetReserveAfter, baseAssetReserveAfter)))
860860 then throw("Over max spread limit")
861861 else $Tuple11(newPositionSize, remainMargin, (oldPositionOpenNotional + openNotional), latestCumulativePremiumFraction(newPositionSize), baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInterestNotional() + openNotional), (totalLongPositionSize() + (if ((newPositionSize > 0))
862862 then abs(amountBaseAssetBought)
863863 else 0)), (totalShortPositionSize() + (if ((0 > newPositionSize))
864864 then abs(amountBaseAssetBought)
865865 else 0)))
866866 }
867867 }
868868 else {
869869 let openNotional = muld(_amount, _leverage)
870870 let $t04100341119 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
871871 let oldPositionNotional = $t04100341119._1
872872 let unrealizedPnl = $t04100341119._2
873873 if ((oldPositionNotional > openNotional))
874874 then throw("Use decreasePosition to decrease position size")
875875 else throw("Close position first")
876876 }
877877 let newPositionSize = $t03874241310._1
878878 let newPositionRemainMargin = $t03874241310._2
879879 let newPositionOpenNotional = $t03874241310._3
880880 let newPositionLatestCPF = $t03874241310._4
881881 let baseAssetReserveAfter = $t03874241310._5
882882 let quoteAssetReserveAfter = $t03874241310._6
883883 let totalPositionSizeAfter = $t03874241310._7
884884 let cumulativeNotionalAfter = $t03874241310._8
885885 let openInterestNotionalAfter = $t03874241310._9
886886 let totalLongAfter = $t03874241310._10
887887 let totalShortAfter = $t03874241310._11
888888 let feeToStakers = (feeAmount / 2)
889889 let feeToInsurance = (feeAmount - feeToStakers)
890890 let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
891891 if ((stake == stake))
892892 then {
893893 let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
894894 if ((depositInsurance == depositInsurance))
895895 then {
896896 let notifyFee = invoke(minerAddress(), "notifyFees", [toString(i.caller), feeAmount], nil)
897897 if ((notifyFee == notifyFee))
898898 then {
899899 let notifyNotional = invoke(minerAddress(), "notifyNotional", [toString(i.caller), newPositionOpenNotional], nil)
900900 if ((notifyNotional == notifyNotional))
901901 then (((updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPositionOpenNotional, newPositionLatestCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter)) ++ transferFee(feeToStakers)) ++ updateBalance((cbalance() + _amount)))
902902 else throw("Strict value is not equal to itself.")
903903 }
904904 else throw("Strict value is not equal to itself.")
905905 }
906906 else throw("Strict value is not equal to itself.")
907907 }
908908 else throw("Strict value is not equal to itself.")
909909 }
910910 }
911911
912912
913913
914914 @Callable(i)
915915 func addMargin () = {
916916 let _rawAmount = i.payments[0].amount
917917 if (if (if (if ((i.payments[0].assetId != quoteAsset()))
918918 then true
919919 else !(requireOpenPosition(toString(i.caller))))
920920 then true
921921 else !(initialized()))
922922 then true
923923 else paused())
924924 then throw("Invalid addMargin parameters")
925925 else {
926926 let feeAmount = muld(_rawAmount, fee())
927927 let _amount = (_rawAmount - feeAmount)
928928 let $t04286643018 = getPosition(toString(i.caller))
929929 let oldPositionSize = $t04286643018._1
930930 let oldPositionMargin = $t04286643018._2
931931 let oldPositionOpenNotional = $t04286643018._3
932932 let oldPositionLstUpdCPF = $t04286643018._4
933933 let feeToStakers = (feeAmount / 2)
934934 let feeToInsurance = (feeAmount - feeToStakers)
935935 let stake = invoke(quoteAssetStaking(), "lockNeutrinoSP", [toString(stakingAddress()), ALL_FEES], [AttachedPayment(quoteAsset(), _amount)])
936936 if ((stake == stake))
937937 then {
938938 let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
939939 if ((depositInsurance == depositInsurance))
940940 then {
941941 let notifyFee = invoke(minerAddress(), "notifyFees", [toString(i.caller), feeAmount], nil)
942942 if ((notifyFee == notifyFee))
943943 then ((updatePosition(toString(i.caller), oldPositionSize, (oldPositionMargin + _amount), oldPositionOpenNotional, oldPositionLstUpdCPF) ++ transferFee(feeToStakers)) ++ updateBalance((cbalance() + _amount)))
944944 else throw("Strict value is not equal to itself.")
945945 }
946946 else throw("Strict value is not equal to itself.")
947947 }
948948 else throw("Strict value is not equal to itself.")
949949 }
950950 }
951951
952952
953953
954954 @Callable(i)
955955 func removeMargin (_amount) = if (if (if (if ((0 >= _amount))
956956 then true
957957 else !(requireOpenPosition(toString(i.caller))))
958958 then true
959959 else !(initialized()))
960960 then true
961961 else paused())
962962 then throw("Invalid removeMargin parameters")
963963 else {
964964 let $t04406744219 = getPosition(toString(i.caller))
965965 let oldPositionSize = $t04406744219._1
966966 let oldPositionMargin = $t04406744219._2
967967 let oldPositionOpenNotional = $t04406744219._3
968968 let oldPositionLstUpdCPF = $t04406744219._4
969969 let marginDelta = -(_amount)
970970 let $t04425644435 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta)
971971 let remainMargin = $t04425644435._1
972972 let badDebt = $t04425644435._2
973973 if ((badDebt != 0))
974974 then throw("Invalid removed margin amount")
975975 else {
976976 let marginRatio = calcMarginRatio(remainMargin, badDebt, oldPositionOpenNotional)
977977 if (!(requireMoreMarginRatio(marginRatio, initMarginRatio(), true)))
978978 then throw(((("Too much margin removed: " + toString(marginRatio)) + " < ") + toString(initMarginRatio())))
979979 else {
980980 let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [_amount, toBase58String(quoteAsset())], nil)
981981 if ((unstake == unstake))
982982 then ((updatePosition(toString(i.caller), oldPositionSize, remainMargin, oldPositionOpenNotional, latestCumulativePremiumFraction(oldPositionSize)) ++ withdraw(i.caller, _amount)) ++ updateBalance((cbalance() - _amount)))
983983 else throw("Strict value is not equal to itself.")
984984 }
985985 }
986986 }
987987
988988
989989
990990 @Callable(i)
991991 func closePosition () = if (if (if (!(requireOpenPosition(toString(i.caller))))
992992 then true
993993 else !(initialized()))
994994 then true
995995 else paused())
996996 then throw("Invalid closePosition parameters")
997997 else {
998998 let $t04553145921 = internalClosePosition(toString(i.caller), true)
999999 let x1 = $t04553145921._1
10001000 let positionBadDebt = $t04553145921._2
10011001 let realizedPnl = $t04553145921._3
10021002 let marginToVault = $t04553145921._4
10031003 let quoteAssetReserveAfter = $t04553145921._5
10041004 let baseAssetReserveAfter = $t04553145921._6
10051005 let totalPositionSizeAfter = $t04553145921._7
10061006 let cumulativeNotionalAfter = $t04553145921._8
10071007 let openInterestNotionalAfter = $t04553145921._9
10081008 let x2 = $t04553145921._10
10091009 let totalLongAfter = $t04553145921._11
10101010 let totalShortAfter = $t04553145921._12
10111011 if ((positionBadDebt > 0))
10121012 then throw("Unable to close position with bad debt")
10131013 else {
10141014 let withdrawAmount = abs(marginToVault)
10151015 let ammBalance = (cbalance() - withdrawAmount)
10161016 let $t04613046272 = if ((0 > ammBalance))
10171017 then $Tuple2(0, abs(ammBalance))
10181018 else $Tuple2(ammBalance, 0)
10191019 let ammNewBalance = $t04613046272._1
10201020 let getFromInsurance = $t04613046272._2
10211021 let x = if ((getFromInsurance > 0))
10221022 then {
10231023 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [getFromInsurance], nil)
10241024 if ((withdrawInsurance == withdrawInsurance))
10251025 then nil
10261026 else throw("Strict value is not equal to itself.")
10271027 }
10281028 else nil
10291029 if ((x == x))
10301030 then {
10311031 let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [(withdrawAmount - getFromInsurance), toBase58String(quoteAsset())], nil)
10321032 if ((unstake == unstake))
10331033 then {
10341034 let notifyNotional = invoke(minerAddress(), "notifyNotional", [toString(i.caller), 0], nil)
10351035 if ((notifyNotional == notifyNotional))
10361036 then (((deletePosition(toString(i.caller)) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter)) ++ withdraw(i.caller, withdrawAmount)) ++ updateBalance(ammNewBalance))
10371037 else throw("Strict value is not equal to itself.")
10381038 }
10391039 else throw("Strict value is not equal to itself.")
10401040 }
10411041 else throw("Strict value is not equal to itself.")
10421042 }
10431043 }
10441044
10451045
10461046
10471047 @Callable(i)
10481048 func liquidate (_trader) = {
10491049 let spotMarginRatio = getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
10501050 let marginRatio = if (isOverFluctuationLimit())
10511051 then {
10521052 let oracleMarginRatio = getMarginRatioByOption(_trader, PNL_OPTION_ORACLE)
10531053 vmax(spotMarginRatio, oracleMarginRatio)
10541054 }
10551055 else spotMarginRatio
10561056 if (if (if (if (!(requireMoreMarginRatio(marginRatio, maintenanceMarginRatio(), false)))
10571057 then true
10581058 else !(requireOpenPosition(_trader)))
10591059 then true
10601060 else !(initialized()))
10611061 then true
10621062 else paused())
10631063 then throw("Unable to liquidate")
10641064 else if (if (if ((spotMarginRatio > liquidationFeeRatio()))
10651065 then (partialLiquidationRatio() > 0)
10661066 else false)
10671067 then (DECIMAL_UNIT > partialLiquidationRatio())
10681068 else false)
10691069 then {
10701070 let $t04837348523 = getPosition(_trader)
10711071 let oldPositionSize = $t04837348523._1
10721072 let oldPositionMargin = $t04837348523._2
10731073 let oldPositionOpenNotional = $t04837348523._3
10741074 let oldPositionLstUpdCPF = $t04837348523._4
10751075 let _direction = if ((oldPositionSize > 0))
10761076 then DIR_SHORT
10771077 else DIR_LONG
10781078 let isAdd = (_direction == DIR_LONG)
10791079 let exchangedQuoteAssetAmount = getPartialLiquidationAmount(_trader, oldPositionSize)
10801080 let $t04874848852 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
10811081 let oldPositionNotional = $t04874848852._1
10821082 let unrealizedPnl = $t04874848852._2
10831083 let $t04886049150 = swapInput(isAdd, exchangedQuoteAssetAmount)
10841084 let exchangedPositionSize = $t04886049150._1
10851085 let quoteAssetReserveAfter = $t04886049150._2
10861086 let baseAssetReserveAfter = $t04886049150._3
10871087 let totalPositionSizeAfter = $t04886049150._4
10881088 let cumulativeNotionalAfter = $t04886049150._5
10891089 let realizedPnl = divd(muld(unrealizedPnl, abs(exchangedPositionSize)), abs(oldPositionSize))
10901090 let $t04925749490 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl)
10911091 let remainMargin = $t04925749490._1
10921092 let badDebt = $t04925749490._2
10931093 let fundingPayment = $t04925749490._3
10941094 let unrealizedPnlAfter = (unrealizedPnl - realizedPnl)
10951095 let remainOpenNotional = if ((oldPositionSize > 0))
10961096 then ((oldPositionNotional - exchangedQuoteAssetAmount) - unrealizedPnlAfter)
10971097 else ((unrealizedPnlAfter + oldPositionNotional) - exchangedQuoteAssetAmount)
10981098 let liquidationPenalty = muld(exchangedQuoteAssetAmount, liquidationFeeRatio())
10991099 let feeToLiquidator = (liquidationPenalty / 2)
11001100 let feeToInsurance = (liquidationPenalty - feeToLiquidator)
11011101 let newPositionMargin = (remainMargin - liquidationPenalty)
11021102 let newPositionSize = (oldPositionSize + exchangedPositionSize)
11031103 let newPositionOpenNotional = abs(remainOpenNotional)
11041104 let newPositionLstUpdCPF = latestCumulativePremiumFraction(newPositionSize)
11051105 let openInterestNotionalAfter = (openInterestNotional() - exchangedQuoteAssetAmount)
11061106 let ammBalance = (cbalance() - liquidationPenalty)
11071107 let $t05066350806 = if ((0 > ammBalance))
11081108 then $Tuple2(0, abs(ammBalance))
11091109 else $Tuple2(ammBalance, 0)
11101110 let newAmmBalance = $t05066350806._1
11111111 let takeFromInsurance = $t05066350806._2
11121112 let x = if ((takeFromInsurance > 0))
11131113 then {
11141114 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [takeFromInsurance], nil)
11151115 if ((withdrawInsurance == withdrawInsurance))
11161116 then nil
11171117 else throw("Strict value is not equal to itself.")
11181118 }
11191119 else nil
11201120 if ((x == x))
11211121 then {
11221122 let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [(liquidationPenalty - takeFromInsurance), toBase58String(quoteAsset())], nil)
11231123 if ((unstake == unstake))
11241124 then {
11251125 let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
11261126 if ((depositInsurance == depositInsurance))
11271127 then {
11281128 let notifyNotional = invoke(minerAddress(), "notifyNotional", [_trader, newPositionOpenNotional], nil)
11291129 if ((notifyNotional == notifyNotional))
11301130 then (((updatePosition(_trader, newPositionSize, newPositionMargin, newPositionOpenNotional, newPositionLstUpdCPF) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, (totalLongPositionSize() - (if ((newPositionSize > 0))
11311131 then abs(exchangedPositionSize)
11321132 else 0)), (totalShortPositionSize() - (if ((0 > newPositionSize))
11331133 then abs(exchangedPositionSize)
11341134 else 0)))) ++ withdraw(i.caller, feeToLiquidator)) ++ updateBalance(newAmmBalance))
11351135 else throw("Strict value is not equal to itself.")
11361136 }
11371137 else throw("Strict value is not equal to itself.")
11381138 }
11391139 else throw("Strict value is not equal to itself.")
11401140 }
11411141 else throw("Strict value is not equal to itself.")
11421142 }
11431143 else {
11441144 let $t05226252717 = internalClosePosition(_trader, false)
11451145 let x1 = $t05226252717._1
11461146 let badDebt = $t05226252717._2
11471147 let x2 = $t05226252717._3
11481148 let x3 = $t05226252717._4
11491149 let quoteAssetReserveAfter = $t05226252717._5
11501150 let baseAssetReserveAfter = $t05226252717._6
11511151 let totalPositionSizeAfter = $t05226252717._7
11521152 let cumulativeNotionalAfter = $t05226252717._8
11531153 let openInterestNotionalAfter = $t05226252717._9
11541154 let exchangedQuoteAssetAmount = $t05226252717._10
11551155 let totalLongAfter = $t05226252717._11
11561156 let totalShortAfter = $t05226252717._12
11571157 let liquidationPenalty = muld(exchangedQuoteAssetAmount, liquidationFeeRatio())
11581158 let feeToLiquidator = (liquidationPenalty / 2)
11591159 let feeToInsurance = (liquidationPenalty - feeToLiquidator)
11601160 let ammBalance = (cbalance() - liquidationPenalty)
11611161 let $t05312953272 = if ((0 > ammBalance))
11621162 then $Tuple2(0, abs(ammBalance))
11631163 else $Tuple2(ammBalance, 0)
11641164 let newAmmBalance = $t05312953272._1
11651165 let takeFromInsurance = $t05312953272._2
11661166 let x = if ((takeFromInsurance > 0))
11671167 then {
11681168 let withdrawInsurance = invoke(insuranceAddress(), "withdraw", [takeFromInsurance], nil)
11691169 if ((withdrawInsurance == withdrawInsurance))
11701170 then nil
11711171 else throw("Strict value is not equal to itself.")
11721172 }
11731173 else nil
11741174 if ((x == x))
11751175 then {
11761176 let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [(liquidationPenalty - takeFromInsurance), toBase58String(quoteAsset())], nil)
11771177 if ((unstake == unstake))
11781178 then {
11791179 let depositInsurance = invoke(insuranceAddress(), "deposit", nil, [AttachedPayment(quoteAsset(), feeToInsurance)])
11801180 if ((depositInsurance == depositInsurance))
11811181 then {
11821182 let notifyNotional = invoke(minerAddress(), "notifyNotional", [_trader, 0], nil)
11831183 if ((notifyNotional == notifyNotional))
11841184 then (((deletePosition(_trader) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter)) ++ withdraw(i.caller, feeToLiquidator)) ++ updateBalance(newAmmBalance))
11851185 else throw("Strict value is not equal to itself.")
11861186 }
11871187 else throw("Strict value is not equal to itself.")
11881188 }
11891189 else throw("Strict value is not equal to itself.")
11901190 }
11911191 else throw("Strict value is not equal to itself.")
11921192 }
11931193 }
11941194
11951195
11961196
11971197 @Callable(i)
11981198 func payFunding () = {
11991199 let fundingBlockTimestamp = nextFundingBlockTimestamp()
12001200 if (if (if ((fundingBlockTimestamp > lastBlock.timestamp))
12011201 then true
12021202 else !(initialized()))
12031203 then true
12041204 else paused())
12051205 then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString(fundingBlockTimestamp)))
12061206 else {
12071207 let underlyingPrice = getOracleTwapPrice()
12081208 let spotTwapPrice = getTwapSpotPrice()
12091209 let premium = (spotTwapPrice - underlyingPrice)
12101210 let $t05486056195 = if (if ((totalShortPositionSize() == 0))
12111211 then true
12121212 else (totalLongPositionSize() == 0))
12131213 then $Tuple2(0, 0)
12141214 else if ((0 > premium))
12151215 then {
12161216 let shortPremiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY)
12171217 let longPremiumFraction = divd(muld(shortPremiumFraction, totalShortPositionSize()), totalLongPositionSize())
12181218 $Tuple2(shortPremiumFraction, longPremiumFraction)
12191219 }
12201220 else {
12211221 let longPremiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY)
12221222 let shortPremiumFraction = divd(muld(longPremiumFraction, totalLongPositionSize()), totalShortPositionSize())
12231223 $Tuple2(shortPremiumFraction, longPremiumFraction)
12241224 }
12251225 let shortPremiumFraction = $t05486056195._1
12261226 let longPremiumFraction = $t05486056195._2
12271227 updateFunding((fundingBlockTimestamp + fundingPeriodSeconds()), (latestLongCumulativePremiumFraction() + longPremiumFraction), (latestShortCumulativePremiumFraction() + shortPremiumFraction), divd(longPremiumFraction, underlyingPrice), divd(shortPremiumFraction, underlyingPrice))
12281228 }
12291229 }
12301230
12311231
12321232
12331233 @Callable(i)
12341234 func v_get (_trader) = {
12351235 let $t05657056630 = internalClosePosition(_trader, false)
12361236 let x1 = $t05657056630._1
12371237 let x2 = $t05657056630._2
12381238 let x3 = $t05657056630._3
12391239 let x4 = $t05657056630._4
12401240 throw((((s(x2) + s(x3)) + s(x4)) + s(getMarginRatio(_trader))))
12411241 }
12421242
12431243
12441244
12451245 @Callable(i)
12461246 func view_calcRemainMarginWithFundingPayment (_trader) = {
12471247 let $t05677756888 = getPosition(_trader)
12481248 let positionSize = $t05677756888._1
12491249 let positionMargin = $t05677756888._2
12501250 let pon = $t05677756888._3
12511251 let positionLstUpdCPF = $t05677756888._4
12521252 let $t05689356994 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
12531253 let positionNotional = $t05689356994._1
12541254 let unrealizedPnl = $t05689356994._2
12551255 let $t05699957181 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl)
12561256 let remainMargin = $t05699957181._1
12571257 let badDebt = $t05699957181._2
12581258 let fundingPayment = $t05699957181._3
12591259 throw((((((s(remainMargin) + s(fundingPayment)) + s(getMarginRatio(_trader))) + s(unrealizedPnl)) + s(badDebt)) + s(positionNotional)))
12601260 }
12611261
12621262
12631263
12641264 @Callable(i)
12651265 func forceMoveAsset (_trader,_amount) = if (if ((addressFromPublicKey(adminPublicKey()) != i.caller))
12661266 then true
12671267 else (0 > _amount))
12681268 then throw("Invalid forceMoveAsset parameters")
12691269 else {
12701270 let unstake = invoke(quoteAssetStaking(), "unlockNeutrino", [_amount, toBase58String(quoteAsset())], nil)
12711271 if ((unstake == unstake))
12721272 then (withdraw(addressFromStringValue(_trader), _amount) ++ updateBalance((cbalance() - _amount)))
12731273 else throw("Strict value is not equal to itself.")
12741274 }
12751275
12761276
12771277 @Verifier(tx)
12781278 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], adminPublicKey())
12791279

github/deemru/w8io/169f3d6 
121.98 ms