tx · 7Tjvbt87ykHo23dftAhxcg4FXUe6qSNPUTgpgNXnHDhQ

3Mp66Sufwhc33Wg9L4fWvD2GR729YxSQPCh:  -0.08000000 Waves

2023.02.06 18:24 [2437938] smart account 3Mp66Sufwhc33Wg9L4fWvD2GR729YxSQPCh > SELF 0.00000000 Waves

{ "type": 13, "id": "7Tjvbt87ykHo23dftAhxcg4FXUe6qSNPUTgpgNXnHDhQ", "fee": 8000000, "feeAssetId": null, "timestamp": 1675697092459, "version": 2, "chainId": 84, "sender": "3Mp66Sufwhc33Wg9L4fWvD2GR729YxSQPCh", "senderPublicKey": "42U12q4TTBTVkhjqmAhNWDrxkFhHrg9yFuNjqqg5mF8G", "proofs": [ "SqmtPhRtKEW5zcRyJ4NaPqDBSpuEg4T6CcGKZLTZtUMEVWPKWkJsuWFbCJiYZMZYGmTe3wJKYagA8BcfqybpQkP" ], "script": "base64:BgJyCAISABIAEgASABIDCgEBEgMKAQESDwoNAQEBAQEBAQEBAQEBARIUChIBAQEBAQEBCAgIAQEBAQEBAQESBgoEAQEBCBIAEgMKAQESBQoDAQEEEgMKAQgSABIAEgASAwoBCBIDCgEBEgASABIAEgQKAggIvAEADGtfYmFzZU9yYWNsZQIMa19iYXNlT3JhY2xlAA1rX3F1b3RlT3JhY2xlAg1rX3F1b3RlT3JhY2xlAAlrX2JhbGFuY2UCCWtfYmFsYW5jZQAKa19zZXF1ZW5jZQIKa19zZXF1ZW5jZQAOa19wb3NpdGlvblNpemUCDmtfcG9zaXRpb25TaXplABBrX3Bvc2l0aW9uTWFyZ2luAhBrX3Bvc2l0aW9uTWFyZ2luABZrX3Bvc2l0aW9uT3Blbk5vdGlvbmFsAhZrX3Bvc2l0aW9uT3Blbk5vdGlvbmFsAC5rX3Bvc2l0aW9uTGFzdFVwZGF0ZWRDdW11bGF0aXZlUHJlbWl1bUZyYWN0aW9uAhJrX3Bvc2l0aW9uRnJhY3Rpb24AEmtfcG9zaXRpb25TZXF1ZW5jZQISa19wb3NpdGl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GcmVzdWx0AQJ0eAEGdmVyaWZ5AAQOY29vcmRpbmF0b3JTdHIJAJ0IAgUEdGhpcwUUa19jb29yZGluYXRvckFkZHJlc3MDCQEJaXNEZWZpbmVkAQUOY29vcmRpbmF0b3JTdHIEBWFkbWluCQCdCAIJARFAZXh0ck5hdGl2ZSgxMDYyKQEJAQV2YWx1ZQEFDmNvb3JkaW5hdG9yU3RyBQ9rX2FkbWluX2FkZHJlc3MDCQEJaXNEZWZpbmVkAQUFYWRtaW4JAQt2YWx1ZU9yRWxzZQIJAJsIAgkBEUBleHRyTmF0aXZlKDEwNjIpAQkBBXZhbHVlAQUFYWRtaW4JAKwCAgkArAICCQCsAgICB3N0YXR1c18JAKUIAQUEdGhpcwIBXwkA2AQBCAUCdHgCaWQHCQACAQIudW5hYmxlIHRvIHZlcmlmeTogYWRtaW4gbm90IHNldCBpbiBjb29yZGluYXRvcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tlecpxFRg=", "height": 2437938, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 8BWWDctgxN1GepmYGpEWd9H6k7KBrvp5WtsSusYqdAAD Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let k_baseOracle = "k_baseOracle"
5+
6+let k_quoteOracle = "k_quoteOracle"
7+
8+let k_balance = "k_balance"
9+
10+let k_sequence = "k_sequence"
11+
12+let k_positionSize = "k_positionSize"
13+
14+let k_positionMargin = "k_positionMargin"
15+
16+let k_positionOpenNotional = "k_positionOpenNotional"
17+
18+let k_positionLastUpdatedCumulativePremiumFraction = "k_positionFraction"
19+
20+let k_positionSequence = "k_positionSequence"
21+
22+let k_positionAsset = "k_positionAsset"
23+
24+let k_positionFee = "k_positionFee"
25+
26+let k_positionLastUpdatedTimestamp = "k_positionTimestamp"
27+
28+let k_initialized = "k_initialized"
29+
30+let k_paused = "k_paused"
31+
32+let k_closeOnly = "k_closeOnly"
33+
34+let k_fee = "k_fee"
35+
36+let k_rolloverFee = "k_rollover_fee"
37+
38+let k_fundingPeriod = "k_fundingPeriod"
39+
40+let k_initMarginRatio = "k_initMarginRatio"
41+
42+let k_maintenanceMarginRatio = "k_mmr"
43+
44+let k_liquidationFeeRatio = "k_liquidationFeeRatio"
45+
46+let k_partialLiquidationRatio = "k_partLiquidationRatio"
47+
48+let k_spreadLimit = "k_spreadLimit"
49+
50+let k_maxPriceImpact = "k_maxPriceImpact"
51+
52+let k_maxPriceSpread = "k_maxPriceSpread"
53+
54+let k_maxOpenNotional = "k_maxOpenNotional"
55+
56+let k_feeToStakersPercent = "k_feeToStakersPercent"
57+
58+let k_maxOracleDelay = "k_maxOracleDelay"
59+
60+let k_lastDataStr = "k_lastDataStr"
61+
62+let k_lastMinuteId = "k_lastMinuteId"
63+
64+let k_twapDataLastCumulativePrice = "k_twapDataLastCumulativePrice"
65+
66+let k_twapDataLastPrice = "k_twapDataLastPrice"
67+
68+let k_twapDataPreviousMinuteId = "k_twapDataPreviousMinuteId"
69+
70+let k_latestLongCumulativePremiumFraction = "k_latestLongPremiumFraction"
71+
72+let k_latestShortCumulativePremiumFraction = "k_latestShortPremiumFraction"
73+
74+let k_nextFundingBlock = "k_nextFundingBlockMinTimestamp"
75+
76+let k_longFundingRate = "k_longFundingRate"
77+
78+let k_shortFundingRate = "k_shortFundingRate"
79+
80+let k_quoteAssetReserve = "k_qtAstR"
81+
82+let k_baseAssetReserve = "k_bsAstR"
83+
84+let k_quoteAssetWeight = "k_qtAstW"
85+
86+let k_baseAssetWeight = "k_bsAstW"
87+
88+let k_totalPositionSize = "k_totalPositionSize"
89+
90+let k_totalLongPositionSize = "k_totalLongPositionSize"
91+
92+let k_totalShortPositionSize = "k_totalShortPositionSize"
93+
94+let k_openInterestNotional = "k_openInterestNotional"
95+
96+let k_openInterestShort = "k_openInterestShort"
97+
98+let k_openInterestLong = "k_openInterestLong"
99+
100+let k_lastTx = "k_lastTx"
101+
102+let k_coordinatorAddress = "k_coordinatorAddress"
103+
104+let k_vault_address = "k_vault_address"
105+
106+let k_admin_address = "k_admin_address"
107+
108+let k_quote_asset = "k_quote_asset"
109+
110+let k_quote_staking = "k_quote_staking"
111+
112+let k_staking_address = "k_staking_address"
113+
114+let k_miner_address = "k_miner_address"
115+
116+let k_orders_address = "k_orders_address"
117+
118+let k_referral_address = "k_referral_address"
119+
120+let k_exchange_address = "k_exchange_address"
121+
122+let k_nft_manager_address = "k_nft_manager_address"
123+
124+func toCompositeKey (_key,_address) = ((_key + "_") + _address)
125+
126+
127+func coordinator () = valueOrErrorMessage(addressFromString(getStringValue(this, k_coordinatorAddress)), "Coordinator not set")
128+
129+
130+func adminAddress () = addressFromString(getStringValue(coordinator(), k_admin_address))
131+
132+
133+func quoteAsset () = fromBase58String(getStringValue(coordinator(), k_quote_asset))
134+
135+
136+func quoteAssetStaking () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_quote_staking)), "Quote asset staking not set")
137+
138+
139+func stakingAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_staking_address)), "Staking not set")
140+
141+
142+func vaultAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_vault_address)), "Vault not set")
143+
144+
145+func minerAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_miner_address)), "Miner not set")
146+
147+
148+func ordersAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_orders_address)), "Orders not set")
149+
150+
151+func referralAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_referral_address)), "Referral not set")
152+
153+
154+func nftManagerAddress () = valueOrErrorMessage(addressFromString(getStringValue(coordinator(), k_nft_manager_address)), "NFT Manager not set")
155+
156+
157+let k_token_param = "k_token_param"
158+
159+let k_token_type = "k_token_type"
160+
161+let FEE_REDUCTION_TOKEN_TYPE = "fee_reduction"
162+
163+let DIR_LONG = 1
164+
165+let DIR_SHORT = 2
166+
167+let TWAP_INTERVAL = 15
168+
169+let SECONDS = 1000
170+
171+let DECIMAL_NUMBERS = 6
172+
173+let DECIMAL_UNIT = (1 * (((((10 * 10) * 10) * 10) * 10) * 10))
174+
175+let MINUTES_IN_YEAR = (525600 * DECIMAL_UNIT)
176+
177+let ONE_DAY = (86400 * DECIMAL_UNIT)
178+
179+let PNL_OPTION_SPOT = 1
180+
181+let PNL_OPTION_ORACLE = 2
182+
183+func s (_x) = (toString(_x) + ",")
184+
185+
186+func divd (_x,_y) = fraction(_x, DECIMAL_UNIT, _y, HALFEVEN)
187+
188+
189+func muld (_x,_y) = fraction(_x, _y, DECIMAL_UNIT, HALFEVEN)
190+
191+
192+func bdivd (_x,_y) = fraction(_x, toBigInt(DECIMAL_UNIT), _y, HALFEVEN)
193+
194+
195+func bmuld (_x,_y) = fraction(_x, _y, toBigInt(DECIMAL_UNIT), HALFEVEN)
196+
197+
198+func abs (_x) = if ((_x > 0))
199+ then _x
200+ else -(_x)
201+
202+
203+func vmax (_x,_y) = if ((_x >= _y))
204+ then _x
205+ else _y
206+
207+
208+func listToStr (_list) = if ((size(_list) == 0))
209+ then ""
210+ else makeString(_list, ",")
211+
212+
213+func strToList (_str) = if ((_str == ""))
214+ then nil
215+ else split(_str, ",")
216+
217+
218+func pushToQueue (_list,_maxSize,_value) = if ((size(_list) > _maxSize))
219+ then (removeByIndex(_list, 0) :+ _value)
220+ else (_list :+ _value)
221+
222+
223+func int (k) = valueOrErrorMessage(getInteger(this, k), ("no value for " + k))
224+
225+
226+func intOr (k,def) = valueOrElse(getInteger(this, k), def)
227+
228+
229+func strA (_address,_key) = {
230+ let val = valueOrErrorMessage(getString(_address, _key), ("No value for key " + _key))
231+ val
232+ }
233+
234+
235+func intA (_address,_key) = {
236+ let val = valueOrErrorMessage(getInteger(_address, _key), ("No value for key " + _key))
237+ val
238+ }
239+
240+
241+func cbalance () = int(k_balance)
242+
243+
244+func fee () = int(k_fee)
245+
246+
247+func rolloverFeeRate () = int(k_rolloverFee)
248+
249+
250+func initMarginRatio () = int(k_initMarginRatio)
251+
252+
253+func qtAstR () = int(k_quoteAssetReserve)
254+
255+
256+func bsAstR () = int(k_baseAssetReserve)
257+
258+
259+func qtAstW () = intOr(k_quoteAssetWeight, DECIMAL_UNIT)
260+
261+
262+func bsAstW () = intOr(k_baseAssetWeight, DECIMAL_UNIT)
263+
264+
265+func totalPositionSize () = int(k_totalPositionSize)
266+
267+
268+func openInterestNotional () = int(k_openInterestNotional)
269+
270+
271+func openInterestShort () = int(k_openInterestShort)
272+
273+
274+func openInterestLong () = int(k_openInterestLong)
275+
276+
277+func nextFundingBlockTimestamp () = int(k_nextFundingBlock)
278+
279+
280+func fundingPeriodRaw () = int(k_fundingPeriod)
281+
282+
283+func fundingPeriodDecimal () = (fundingPeriodRaw() * DECIMAL_UNIT)
284+
285+
286+func fundingPeriodSeconds () = (fundingPeriodRaw() * SECONDS)
287+
288+
289+func maintenanceMarginRatio () = int(k_maintenanceMarginRatio)
290+
291+
292+func liquidationFeeRatio () = int(k_liquidationFeeRatio)
293+
294+
295+func partialLiquidationRatio () = int(k_partialLiquidationRatio)
296+
297+
298+func spreadLimit () = int(k_spreadLimit)
299+
300+
301+func maxPriceImpact () = int(k_maxPriceImpact)
302+
303+
304+func maxPriceSpread () = int(k_maxPriceSpread)
305+
306+
307+func maxOpenNotional () = int(k_maxOpenNotional)
308+
309+
310+func latestLongCumulativePremiumFraction () = int(k_latestLongCumulativePremiumFraction)
311+
312+
313+func latestShortCumulativePremiumFraction () = int(k_latestShortCumulativePremiumFraction)
314+
315+
316+func totalShortPositionSize () = int(k_totalShortPositionSize)
317+
318+
319+func totalLongPositionSize () = int(k_totalLongPositionSize)
320+
321+
322+func lastSequence () = intOr(k_sequence, 0)
323+
324+
325+func feeToStakersPercent () = int(k_feeToStakersPercent)
326+
327+
328+func maxOracleDelay () = int(k_maxOracleDelay)
329+
330+
331+func lastTimestamp () = lastBlock.timestamp
332+
333+
334+func getActualCaller (i) = valueOrElse(getString(ordersAddress(), "k_sender"), toString(i.caller))
335+
336+
337+func requireMoreMarginRatio (_marginRatio,_baseMarginRatio,_largerThanOrEqualTo) = {
338+ let remainingMarginRatio = (_marginRatio - _baseMarginRatio)
339+ if (if (_largerThanOrEqualTo)
340+ then (0 > remainingMarginRatio)
341+ else false)
342+ then throw(((("Invalid margin: " + toString(_marginRatio)) + " < ") + toString(_baseMarginRatio)))
343+ else if (if (!(_largerThanOrEqualTo))
344+ then (remainingMarginRatio >= 0)
345+ else false)
346+ then throw(((("Invalid margin: " + toString(_marginRatio)) + " > ") + toString(_baseMarginRatio)))
347+ else true
348+ }
349+
350+
351+func latestCumulativePremiumFraction (_positionSize) = if ((_positionSize == 0))
352+ then throw("Should not be called with _positionSize == 0")
353+ else if ((_positionSize > 0))
354+ then latestLongCumulativePremiumFraction()
355+ else latestShortCumulativePremiumFraction()
356+
357+
358+func getPosition (_trader) = {
359+ let positionSizeOpt = getInteger(this, toCompositeKey(k_positionSize, _trader))
360+ match positionSizeOpt {
361+ case positionSize: Int =>
362+ $Tuple5(positionSize, getIntegerValue(this, toCompositeKey(k_positionMargin, _trader)), getIntegerValue(this, toCompositeKey(k_positionOpenNotional, _trader)), getIntegerValue(this, toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _trader)), getIntegerValue(this, toCompositeKey(k_positionLastUpdatedTimestamp, _trader)))
363+ case _ =>
364+ $Tuple5(0, 0, 0, 0, 0)
365+ }
366+ }
367+
368+
369+func getPositionAsset (_trader) = {
370+ let positionAssetOpt = getString(this, toCompositeKey(k_positionAsset, _trader))
371+ match positionAssetOpt {
372+ case positionAsset: String =>
373+ positionAsset
374+ case _ =>
375+ toBase58String(quoteAsset())
376+ }
377+ }
378+
379+
380+func getPositionFee (_trader) = {
381+ let positionFeeOpt = getInteger(this, toCompositeKey(k_positionFee, _trader))
382+ match positionFeeOpt {
383+ case positionFee: Int =>
384+ positionFee
385+ case _ =>
386+ fee()
387+ }
388+ }
389+
390+
391+func requireOpenPosition (_trader) = if ((getPosition(_trader)._1 == 0))
392+ then throw("No open position")
393+ else true
394+
395+
396+func getOracleData (key) = {
397+ let oracleDataStr = getString(this, key)
398+ if (if (isDefined(oracleDataStr))
399+ then (value(oracleDataStr) != "")
400+ else false)
401+ then {
402+ let oracleData = split(value(oracleDataStr), ",")
403+ let oracleAddress = valueOrErrorMessage(addressFromString(oracleData[0]), ("Invalid oracle address in: " + value(oracleDataStr)))
404+ let priceKey = oracleData[1]
405+ let blockKey = oracleData[2]
406+ let openKey = oracleData[3]
407+ $Tuple4(oracleAddress, priceKey, blockKey, openKey)
408+ }
409+ else unit
410+ }
411+
412+
413+func initialized () = valueOrElse(getBoolean(this, k_initialized), false)
414+
415+
416+func paused () = valueOrElse(getBoolean(this, k_paused), false)
417+
418+
419+func closeOnly () = valueOrElse(getBoolean(this, k_closeOnly), false)
420+
421+
422+func updateReserve (_isAdd,_quoteAssetAmount,_baseAssetAmount) = if (_isAdd)
423+ then {
424+ let newBase = (bsAstR() - _baseAssetAmount)
425+ if ((0 >= newBase))
426+ then throw("Tx lead to base asset reserve <= 0, revert")
427+ else $Tuple3((qtAstR() + _quoteAssetAmount), newBase, (totalPositionSize() + _baseAssetAmount))
428+ }
429+ else {
430+ let newQuote = (qtAstR() - _quoteAssetAmount)
431+ if ((0 >= newQuote))
432+ then throw("Tx lead to base quote reserve <= 0, revert")
433+ else $Tuple3(newQuote, (bsAstR() + _baseAssetAmount), (totalPositionSize() - _baseAssetAmount))
434+ }
435+
436+
437+func calcInvariant (_qtAstR,_bsAstR) = {
438+ let bqtAstR = toBigInt(_qtAstR)
439+ let bbsAstR = toBigInt(_bsAstR)
440+ bmuld(bqtAstR, bbsAstR)
441+ }
442+
443+
444+func swapInput (_isAdd,_quoteAssetAmount) = {
445+ let _qtAstR = qtAstR()
446+ let _bsAstR = bsAstR()
447+ let _qtAstW = qtAstW()
448+ let _bsAstW = bsAstW()
449+ let quoteAssetAmountAdjusted = divd(_quoteAssetAmount, _qtAstW)
450+ let k = calcInvariant(_qtAstR, _bsAstR)
451+ let quoteAssetReserveAfter = if (_isAdd)
452+ then (_qtAstR + quoteAssetAmountAdjusted)
453+ else (_qtAstR - quoteAssetAmountAdjusted)
454+ let baseAssetReserveAfter = toInt(bdivd(k, toBigInt(quoteAssetReserveAfter)))
455+ let amountBaseAssetBoughtAbs = abs((baseAssetReserveAfter - _bsAstR))
456+ let amountBaseAssetBought = if (_isAdd)
457+ then amountBaseAssetBoughtAbs
458+ else -(amountBaseAssetBoughtAbs)
459+ let $t01672216892 = updateReserve(_isAdd, quoteAssetAmountAdjusted, amountBaseAssetBoughtAbs)
460+ let quoteAssetReserveAfter1 = $t01672216892._1
461+ let baseAssetReserveAfter1 = $t01672216892._2
462+ let totalPositionSizeAfter1 = $t01672216892._3
463+ let priceBefore = divd(muld(_qtAstR, _qtAstW), muld(_bsAstR, _bsAstW))
464+ let marketPrice = divd(_quoteAssetAmount, amountBaseAssetBoughtAbs)
465+ let priceDiff = abs((priceBefore - marketPrice))
466+ let priceImpact = (DECIMAL_UNIT - divd(priceBefore, (priceBefore + priceDiff)))
467+ let maxPriceImpactValue = maxPriceImpact()
468+ if ((priceImpact > maxPriceImpactValue))
469+ 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)))
470+ else $Tuple4(amountBaseAssetBought, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1)
471+ }
472+
473+
474+func calcRolloverFee (_oldPositionMargin,_oldPositionLastUpdatedTimestamp) = {
475+ let positionMinutes = ((((lastTimestamp() - _oldPositionLastUpdatedTimestamp) / 1000) / 60) * DECIMAL_UNIT)
476+ let rolloverFee = divd(muld(muld(_oldPositionMargin, positionMinutes), rolloverFeeRate()), MINUTES_IN_YEAR)
477+ rolloverFee
478+ }
479+
480+
481+func calcRemainMarginWithFundingPaymentAndRolloverFee (_oldPositionSize,_oldPositionMargin,_oldPositionCumulativePremiumFraction,_oldPositionLastUpdatedTimestamp,_marginDelta) = {
482+ let fundingPayment = if ((_oldPositionSize != 0))
483+ then {
484+ let _latestCumulativePremiumFraction = latestCumulativePremiumFraction(_oldPositionSize)
485+ muld((_latestCumulativePremiumFraction - _oldPositionCumulativePremiumFraction), _oldPositionSize)
486+ }
487+ else 0
488+ let rolloverFee = calcRolloverFee(_oldPositionMargin, _oldPositionLastUpdatedTimestamp)
489+ let signedMargin = (((_marginDelta - rolloverFee) - fundingPayment) + _oldPositionMargin)
490+ let $t01914719274 = if ((0 > signedMargin))
491+ then $Tuple2(0, abs(signedMargin))
492+ else $Tuple2(abs(signedMargin), 0)
493+ let remainMargin = $t01914719274._1
494+ let badDebt = $t01914719274._2
495+ $Tuple4(remainMargin, badDebt, fundingPayment, rolloverFee)
496+ }
497+
498+
499+func swapOutputWithReserves (_isAdd,_baseAssetAmount,_checkMaxPriceImpact,_quoteAssetReserve,_quoteAssetWeight,_baseAssetReserve,_baseAssetWeight) = {
500+ let priceBefore = divd(muld(_quoteAssetReserve, _quoteAssetWeight), muld(_baseAssetReserve, _baseAssetWeight))
501+ if ((_baseAssetAmount == 0))
502+ then throw("Invalid base asset amount")
503+ else {
504+ let k = calcInvariant(_quoteAssetReserve, _baseAssetReserve)
505+ let baseAssetPoolAmountAfter = if (_isAdd)
506+ then (_baseAssetReserve + _baseAssetAmount)
507+ else (_baseAssetReserve - _baseAssetAmount)
508+ let quoteAssetAfter = toInt(bdivd(k, toBigInt(baseAssetPoolAmountAfter)))
509+ let quoteAssetDelta = abs((quoteAssetAfter - _quoteAssetReserve))
510+ let quoteAssetSold = muld(quoteAssetDelta, _quoteAssetWeight)
511+ let maxPriceImpactValue = maxPriceImpact()
512+ let $t02053620698 = updateReserve(!(_isAdd), quoteAssetDelta, _baseAssetAmount)
513+ let quoteAssetReserveAfter1 = $t02053620698._1
514+ let baseAssetReserveAfter1 = $t02053620698._2
515+ let totalPositionSizeAfter1 = $t02053620698._3
516+ let marketPrice = divd(quoteAssetSold, _baseAssetAmount)
517+ let priceDiff = abs((priceBefore - marketPrice))
518+ let priceImpact = (DECIMAL_UNIT - divd(priceBefore, (priceBefore + priceDiff)))
519+ if (if ((priceImpact > maxPriceImpactValue))
520+ then _checkMaxPriceImpact
521+ else false)
522+ 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)))
523+ else $Tuple7(quoteAssetSold, quoteAssetReserveAfter1, baseAssetReserveAfter1, totalPositionSizeAfter1, (totalLongPositionSize() - (if (_isAdd)
524+ then abs(_baseAssetAmount)
525+ else 0)), (totalShortPositionSize() - (if (!(_isAdd))
526+ then abs(_baseAssetAmount)
527+ else 0)), priceImpact)
528+ }
529+ }
530+
531+
532+func swapOutput (_isAdd,_baseAssetAmount,_checkMaxPriceImpact) = swapOutputWithReserves(_isAdd, _baseAssetAmount, _checkMaxPriceImpact, qtAstR(), qtAstW(), bsAstR(), bsAstW())
533+
534+
535+func getOraclePriceValue (oracle,priceKey,blockKey) = {
536+ let lastValue = valueOrErrorMessage(getInteger(oracle, priceKey), ((("Can not get oracle price. Oracle: " + toString(oracle)) + " key: ") + priceKey))
537+ if ((blockKey != ""))
538+ then {
539+ let currentBlock = lastBlock.height
540+ let lastOracleBlock = valueOrErrorMessage(getInteger(oracle, blockKey), ((("Can not get oracle block. Oracle: " + toString(oracle)) + " key: ") + blockKey))
541+ if (((currentBlock - lastOracleBlock) > maxOracleDelay()))
542+ then throw(((("Oracle stale data. Last oracle block: " + toString(lastOracleBlock)) + " current block: ") + toString(currentBlock)))
543+ else lastValue
544+ }
545+ else lastValue
546+ }
547+
548+
549+func getOraclePrice () = {
550+ let baseOracle = valueOrErrorMessage(getOracleData(k_baseOracle), "No base asset oracle data")
551+ let baseOraclePrice = getOraclePriceValue(baseOracle._1, baseOracle._2, baseOracle._3)
552+ let quoteOracle = getOracleData(k_quoteOracle)
553+ let quoteOraclePrice = if (isDefined(quoteOracle))
554+ then {
555+ let quoteOracleV = value(quoteOracle)
556+ getOraclePriceValue(quoteOracleV._1, quoteOracleV._2, quoteOracleV._3)
557+ }
558+ else DECIMAL_UNIT
559+ divd(baseOraclePrice, quoteOraclePrice)
560+ }
561+
562+
563+func isMarketClosed () = {
564+ let baseOracle = valueOrErrorMessage(getOracleData(k_baseOracle), "No base asset oracle data")
565+ let oracle = baseOracle._1
566+ let openKey = baseOracle._4
567+ if ((openKey != ""))
568+ then {
569+ let isOpen = valueOrErrorMessage(getBoolean(oracle, openKey), ((("Can not get oracle is open/closed. Oracle: " + toString(oracle)) + " key: ") + openKey))
570+ !(isOpen)
571+ }
572+ else false
573+ }
574+
575+
576+func absPriceDiff (_oraclePrice,_quoteAssetReserve,_baseAssetReserve,_qtAstW,_bsAstW) = {
577+ let priceAfter = divd(muld(_quoteAssetReserve, _qtAstW), muld(_baseAssetReserve, _bsAstW))
578+ let averagePrice = divd((_oraclePrice + priceAfter), (2 * DECIMAL_UNIT))
579+ let absPriceDiff = divd(abs((_oraclePrice - priceAfter)), averagePrice)
580+ absPriceDiff
581+ }
582+
583+
584+func requireNotOverSpreadLimit (_quoteAssetReserve,_baseAssetReserve) = {
585+ let oraclePrice = getOraclePrice()
586+ let _qtAstW = qtAstW()
587+ let _bsAstW = bsAstW()
588+ let absPriceDiffBefore = absPriceDiff(oraclePrice, qtAstR(), bsAstR(), _qtAstW, _bsAstW)
589+ let absPriceDiffAfter = absPriceDiff(oraclePrice, _quoteAssetReserve, _baseAssetReserve, _qtAstW, _bsAstW)
590+ if (if ((absPriceDiffAfter > maxPriceSpread()))
591+ then (absPriceDiffAfter > absPriceDiffBefore)
592+ else false)
593+ then throw(((("Price spread " + toString(absPriceDiffAfter)) + " > max price spread ") + toString(maxPriceSpread())))
594+ else true
595+ }
596+
597+
598+func requireNotOverMaxOpenNotional (_longOpenNotional,_shortOpenNotional) = {
599+ let _maxOpenNotional = maxOpenNotional()
600+ if ((_longOpenNotional > _maxOpenNotional))
601+ then throw(((("Long open notional " + toString(_longOpenNotional)) + " > max open notional ") + toString(_maxOpenNotional)))
602+ else if ((_shortOpenNotional > _maxOpenNotional))
603+ then throw(((("Short open notional " + toString(_shortOpenNotional)) + " > max open notional ") + toString(_maxOpenNotional)))
604+ else true
605+ }
606+
607+
608+func getSpotPrice () = {
609+ let _quoteAssetReserve = qtAstR()
610+ let _baseAssetReserve = bsAstR()
611+ let _qtAstW = qtAstW()
612+ let _bsAstW = bsAstW()
613+ divd(muld(_quoteAssetReserve, _qtAstW), muld(_baseAssetReserve, _bsAstW))
614+ }
615+
616+
617+func isOverFluctuationLimit () = {
618+ let oraclePrice = getOraclePrice()
619+ let currentPrice = getSpotPrice()
620+ (divd(abs((oraclePrice - currentPrice)), oraclePrice) > spreadLimit())
621+ }
622+
623+
624+func getPositionAdjustedOpenNotional (_positionSize,_option,_quoteAssetReserve,_quoteAssetWeight,_baseAssetReserve,_baseAssetWeight) = {
625+ let positionSizeAbs = abs(_positionSize)
626+ let isShort = (0 > _positionSize)
627+ let positionNotional = if ((_option == PNL_OPTION_SPOT))
628+ then {
629+ let outPositionNotional = swapOutputWithReserves(!(isShort), positionSizeAbs, false, _quoteAssetReserve, _quoteAssetWeight, _baseAssetReserve, _baseAssetWeight)._1
630+ outPositionNotional
631+ }
632+ else muld(positionSizeAbs, getOraclePrice())
633+ positionNotional
634+ }
635+
636+
637+func getPositionNotionalAndUnrealizedPnlByValues (_positionSize,_positionOpenNotional,_quoteAssetReserve,_quoteAssetWeight,_baseAssetReserve,_baseAssetWeight,_option) = if ((_positionSize == 0))
638+ then throw("Invalid position size")
639+ else {
640+ let isShort = (0 > _positionSize)
641+ let positionNotional = getPositionAdjustedOpenNotional(_positionSize, _option, _quoteAssetReserve, _quoteAssetWeight, _baseAssetReserve, _baseAssetWeight)
642+ let unrealizedPnl = if (isShort)
643+ then (_positionOpenNotional - positionNotional)
644+ else (positionNotional - _positionOpenNotional)
645+ $Tuple2(positionNotional, unrealizedPnl)
646+ }
647+
648+
649+func getPositionNotionalAndUnrealizedPnl (_trader,_option) = {
650+ let $t02857628704 = getPosition(_trader)
651+ let positionSize = $t02857628704._1
652+ let positionMargin = $t02857628704._2
653+ let positionOpenNotional = $t02857628704._3
654+ let positionLstUpdCPF = $t02857628704._4
655+ getPositionNotionalAndUnrealizedPnlByValues(positionSize, positionOpenNotional, qtAstR(), qtAstW(), bsAstR(), bsAstW(), _option)
656+ }
657+
658+
659+func calcMarginRatio (_remainMargin,_badDebt,_positionNotional) = divd((_remainMargin - _badDebt), _positionNotional)
660+
661+
662+func getMarginRatioByOption (_trader,_option) = {
663+ let $t02921929360 = getPosition(_trader)
664+ let positionSize = $t02921929360._1
665+ let positionMargin = $t02921929360._2
666+ let pon = $t02921929360._3
667+ let positionLastUpdatedCPF = $t02921929360._4
668+ let positionTimestamp = $t02921929360._5
669+ let $t02936629459 = getPositionNotionalAndUnrealizedPnl(_trader, _option)
670+ let positionNotional = $t02936629459._1
671+ let unrealizedPnl = $t02936629459._2
672+ let $t02946429676 = calcRemainMarginWithFundingPaymentAndRolloverFee(positionSize, positionMargin, positionLastUpdatedCPF, positionTimestamp, unrealizedPnl)
673+ let remainMargin = $t02946429676._1
674+ let badDebt = $t02946429676._2
675+ calcMarginRatio(remainMargin, badDebt, positionNotional)
676+ }
677+
678+
679+func getMarginRatio (_trader) = getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
680+
681+
682+func getPartialLiquidationAmount (_trader,_positionSize) = {
683+ let maximumRatio = vmax(partialLiquidationRatio(), (DECIMAL_UNIT - divd(getMarginRatio(_trader), maintenanceMarginRatio())))
684+ let maxExchangedPositionSize = muld(abs(_positionSize), maximumRatio)
685+ let swapResult = swapOutput((_positionSize > 0), maxExchangedPositionSize, false)
686+ let maxExchangedQuoteAssetAmount = swapResult._1
687+ let priceImpact = swapResult._7
688+ if ((maxPriceImpact() > priceImpact))
689+ then maxExchangedPositionSize
690+ else muld(abs(_positionSize), partialLiquidationRatio())
691+ }
692+
693+
694+func internalClosePosition (_trader,_size,_fee,_minQuoteAssetAmount,_addToMargin,_checkMaxPriceImpact,_liquidate) = {
695+ let $t03074330899 = getPosition(_trader)
696+ let oldPositionSize = $t03074330899._1
697+ let oldPositionMargin = $t03074330899._2
698+ let oldPositionOpenNotional = $t03074330899._3
699+ let oldPositionLstUpdCPF = $t03074330899._4
700+ let oldPositionTimestamp = $t03074330899._5
701+ let isLongPosition = (oldPositionSize > 0)
702+ let absOldPositionSize = abs(oldPositionSize)
703+ if (if ((absOldPositionSize >= _size))
704+ then (_size > 0)
705+ else false)
706+ then {
707+ let isPartialClose = (absOldPositionSize > _size)
708+ let $t03119131642 = swapOutput((oldPositionSize > 0), _size, _checkMaxPriceImpact)
709+ let exchangedQuoteAssetAmount = $t03119131642._1
710+ let quoteAssetReserveAfter = $t03119131642._2
711+ let baseAssetReserveAfter = $t03119131642._3
712+ let totalPositionSizeAfter = $t03119131642._4
713+ let exchangedPositionSize = if ((oldPositionSize > 0))
714+ then -(_size)
715+ else _size
716+ let $t03185732064 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
717+ let oldPositionNotional = $t03185732064._1
718+ let unrealizedPnl = $t03185732064._2
719+ let realizedRatio = divd(abs(exchangedPositionSize), absOldPositionSize)
720+ let realizedPnl = muld(unrealizedPnl, realizedRatio)
721+ let $t03240532651 = calcRemainMarginWithFundingPaymentAndRolloverFee(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, oldPositionTimestamp, unrealizedPnl)
722+ let remainMarginBefore = $t03240532651._1
723+ let x1 = $t03240532651._2
724+ let x2 = $t03240532651._3
725+ let rolloverFee = $t03240532651._4
726+ let positionBadDebt = calcRemainMarginWithFundingPaymentAndRolloverFee(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, oldPositionTimestamp, realizedPnl)._2
727+ let realizedCloseFee = muld(muld(oldPositionNotional, realizedRatio), _fee)
728+ let unrealizedPnlAfter = (unrealizedPnl - realizedPnl)
729+ let remainOpenNotional = if ((oldPositionSize > 0))
730+ then ((oldPositionNotional - exchangedQuoteAssetAmount) - unrealizedPnlAfter)
731+ else ((unrealizedPnlAfter + oldPositionNotional) - exchangedQuoteAssetAmount)
732+ let newPositionSize = (oldPositionSize + exchangedPositionSize)
733+ let $t03405734443 = if ((newPositionSize == 0))
734+ then $Tuple2(0, 0)
735+ else $Tuple2(abs(remainOpenNotional), latestCumulativePremiumFraction(newPositionSize))
736+ let newPositionOpenNotional = $t03405734443._1
737+ let newPositionLstUpdCPF = $t03405734443._2
738+ let openNotionalDelta = (oldPositionOpenNotional - newPositionOpenNotional)
739+ let marginRatio = getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
740+ let newPositionMarginWithSameRatio = if ((oldPositionSize > 0))
741+ then (muld((newPositionOpenNotional + unrealizedPnlAfter), marginRatio) - unrealizedPnlAfter)
742+ else (muld((newPositionOpenNotional - unrealizedPnlAfter), marginRatio) - unrealizedPnlAfter)
743+ let marginToTraderRaw = ((remainMarginBefore - (newPositionMarginWithSameRatio + unrealizedPnlAfter)) - realizedCloseFee)
744+ let marginToTrader = if ((0 > marginToTraderRaw))
745+ then if (_liquidate)
746+ then 0
747+ else throw("Invalid internalClosePosition params: unable to pay fee")
748+ else marginToTraderRaw
749+ let newPositionMargin = if (_addToMargin)
750+ then (newPositionMarginWithSameRatio + marginToTrader)
751+ else newPositionMarginWithSameRatio
752+ if (if ((_minQuoteAssetAmount != 0))
753+ then (_minQuoteAssetAmount > exchangedQuoteAssetAmount)
754+ else false)
755+ then throw(((("Limit error: " + toString(exchangedQuoteAssetAmount)) + " < ") + toString(_minQuoteAssetAmount)))
756+ else $Tuple17(newPositionSize, newPositionMargin, newPositionOpenNotional, newPositionLstUpdCPF, positionBadDebt, realizedPnl, if (if (_addToMargin)
757+ then isPartialClose
758+ else false)
759+ then 0
760+ else marginToTrader, quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, (openInterestNotional() - openNotionalDelta), (totalLongPositionSize() - (if (isLongPosition)
761+ then abs(exchangedPositionSize)
762+ else 0)), (totalShortPositionSize() - (if (!(isLongPosition))
763+ then abs(exchangedPositionSize)
764+ else 0)), (openInterestLong() - (if (isLongPosition)
765+ then openNotionalDelta
766+ else 0)), (openInterestShort() - (if (!(isLongPosition))
767+ then openNotionalDelta
768+ else 0)), (realizedCloseFee + rolloverFee), exchangedQuoteAssetAmount)
769+ }
770+ else throw(((("Invalid internalClosePosition params: invalid position size: " + toString(_size)) + " max: ") + toString(absOldPositionSize)))
771+ }
772+
773+
774+func getTwapSpotPrice () = {
775+ let minuteId = ((lastTimestamp() / 1000) / 60)
776+ let startMinuteId = (minuteId - TWAP_INTERVAL)
777+ let listStr = valueOrElse(getString(this, k_lastDataStr), "")
778+ let list = split(listStr, ",")
779+ func filterFn (accumulator,next) = if ((startMinuteId >= valueOrErrorMessage(parseInt(next), ("getTwapSpotPrice: invalid int: " + listStr))))
780+ then (accumulator :+ parseIntValue(next))
781+ else accumulator
782+
783+ let listF = {
784+ let $l = list
785+ let $s = size($l)
786+ let $acc0 = nil
787+ func $f0_1 ($a,$i) = if (($i >= $s))
788+ then $a
789+ else filterFn($a, $l[$i])
790+
791+ func $f0_2 ($a,$i) = if (($i >= $s))
792+ then $a
793+ else throw("List size exceeds 20")
794+
795+ $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)
796+ }
797+ let maxIndex = if ((size(listF) > 0))
798+ then max(listF)
799+ else valueOrErrorMessage(parseInt(list[0]), ("getTwapSpotPrice: invalid int: " + listStr))
800+ let lastMinuteId = valueOrElse(getInteger(this, k_lastMinuteId), 0)
801+ let endLastCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(lastMinuteId))), 0)
802+ let endLastPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(lastMinuteId))), 0)
803+ let nowCumulativePrice = (endLastCumulativePrice + ((minuteId - lastMinuteId) * endLastPrice))
804+ let startLastCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(maxIndex))), 0)
805+ let startLastPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(maxIndex))), 0)
806+ let startCumulativePrice = (startLastCumulativePrice + ((startMinuteId - maxIndex) * startLastPrice))
807+ ((nowCumulativePrice - startCumulativePrice) / TWAP_INTERVAL)
808+ }
809+
810+
811+func getTerminalAmmState () = {
812+ let _positionSize = totalPositionSize()
813+ if ((_positionSize == 0))
814+ then $Tuple2(qtAstR(), bsAstR())
815+ else {
816+ let direction = (_positionSize > 0)
817+ let $t03918039359 = swapOutput(direction, abs(_positionSize), false)
818+ let currentNetMarketValue = $t03918039359._1
819+ let terminalQuoteAssetReserve = $t03918039359._2
820+ let terminalBaseAssetReserve = $t03918039359._3
821+ $Tuple2(terminalQuoteAssetReserve, terminalBaseAssetReserve)
822+ }
823+ }
824+
825+
826+func getQuoteAssetWeight (baseAssetReserve,totalPositionSize,quoteAssetReserve,targetPrice) = {
827+ let b = toBigInt(baseAssetReserve)
828+ let sz = toBigInt(totalPositionSize)
829+ let q = toBigInt(quoteAssetReserve)
830+ let p = toBigInt(targetPrice)
831+ let k = bmuld(q, b)
832+ let newB = (b + sz)
833+ let newQ = bdivd(k, newB)
834+ let z = bdivd(newQ, newB)
835+ let result = bdivd(p, z)
836+ toInt(result)
837+ }
838+
839+
840+func getSyncTerminalPrice (_terminalPrice,_qtAstR,_bsAstR) = {
841+ let _positionSize = totalPositionSize()
842+ if ((_positionSize == 0))
843+ then {
844+ let newQtAstW = divd(muld(_terminalPrice, _bsAstR), _qtAstR)
845+ $Tuple3(newQtAstW, DECIMAL_UNIT, 0)
846+ }
847+ else {
848+ let direction = (_positionSize > 0)
849+ let currentNetMarketValue = swapOutput(direction, abs(_positionSize), false)._1
850+ let newQtAstW = getQuoteAssetWeight(_bsAstR, _positionSize, _qtAstR, _terminalPrice)
851+ let newBsAstW = DECIMAL_UNIT
852+ let marginToVault = getPositionNotionalAndUnrealizedPnlByValues(_positionSize, currentNetMarketValue, _qtAstR, newQtAstW, _bsAstR, newBsAstW, PNL_OPTION_SPOT)._2
853+ $Tuple3(newQtAstW, newBsAstW, marginToVault)
854+ }
855+ }
856+
857+
858+func getFunding () = {
859+ let underlyingPrice = getOraclePrice()
860+ let spotTwapPrice = getTwapSpotPrice()
861+ let premium = (spotTwapPrice - underlyingPrice)
862+ if (if (if ((totalShortPositionSize() == 0))
863+ then true
864+ else (totalLongPositionSize() == 0))
865+ then true
866+ else isMarketClosed())
867+ then $Tuple2(0, 0)
868+ else if ((0 > premium))
869+ then {
870+ let shortPremiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY)
871+ let longPremiumFraction = divd(muld(shortPremiumFraction, totalShortPositionSize()), totalLongPositionSize())
872+ $Tuple2(shortPremiumFraction, longPremiumFraction)
873+ }
874+ else {
875+ let longPremiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY)
876+ let shortPremiumFraction = divd(muld(longPremiumFraction, totalLongPositionSize()), totalShortPositionSize())
877+ $Tuple2(shortPremiumFraction, longPremiumFraction)
878+ }
879+ }
880+
881+
882+func getAdjustedFee (_artifactId,_baseFeeDiscount) = {
883+ let baseFeeRaw = fee()
884+ let baseFee = muld(baseFeeRaw, _baseFeeDiscount)
885+ let $t04222042715 = if ((_artifactId != ""))
886+ then {
887+ let artifactKind = strA(nftManagerAddress(), toCompositeKey(k_token_type, _artifactId))
888+ if ((artifactKind == FEE_REDUCTION_TOKEN_TYPE))
889+ then {
890+ let reduction = intA(nftManagerAddress(), toCompositeKey(k_token_param, _artifactId))
891+ let adjustedFee = muld(baseFee, reduction)
892+ $Tuple2(adjustedFee, true)
893+ }
894+ else throw("Invalid attached artifact")
895+ }
896+ else $Tuple2(baseFee, false)
897+ let adjustedFee = $t04222042715._1
898+ let burnArtifact = $t04222042715._2
899+ $Tuple2(adjustedFee, burnArtifact)
900+ }
901+
902+
903+func isSameAssetOrNoPosition (_trader,_assetId) = {
904+ let oldPositionSize = getPosition(_trader)._1
905+ if ((oldPositionSize == 0))
906+ then true
907+ else (getPositionAsset(_trader) == _assetId)
908+ }
909+
910+
911+func isSameAsset (_trader,_assetId) = (getPositionAsset(_trader) == _assetId)
912+
913+
914+func getForTraderWithArtifact (_trader,_artifactId) = {
915+ let doGetFeeDiscount = invoke(minerAddress(), "computeFeeDiscount", [_trader], nil)
916+ if ((doGetFeeDiscount == doGetFeeDiscount))
917+ then {
918+ let feeDiscount = match doGetFeeDiscount {
919+ case x: Int =>
920+ x
921+ case _ =>
922+ throw("Invalid computeFeeDiscount result")
923+ }
924+ let $t04339543469 = getAdjustedFee(_artifactId, feeDiscount)
925+ let adjustedFee = $t04339543469._1
926+ let burnArtifact = $t04339543469._2
927+ $Tuple2(adjustedFee, burnArtifact)
928+ }
929+ else throw("Strict value is not equal to itself.")
930+ }
931+
932+
933+func getArtifactId (i) = {
934+ let artifactId = if ((size(i.payments) > 1))
935+ then toBase58String(valueOrErrorMessage(i.payments[1].assetId, "Invalid artifactId"))
936+ else ""
937+ artifactId
938+ }
939+
940+
941+func distributeFee (_feeAmount) = {
942+ let feeToStakers = muld(_feeAmount, feeToStakersPercent())
943+ let feeToVault = (_feeAmount - feeToStakers)
944+ $Tuple2(feeToStakers, feeToVault)
945+ }
946+
947+
948+func updateSettings (_initMarginRatio,_mmr,_liquidationFeeRatio,_fundingPeriod,_fee,_spreadLimit,_maxPriceImpact,_partialLiquidationRatio,_maxPriceSpread,_maxOpenNotional,_feeToStakersPercent,_maxOracleDelay,_rolloverFee) = [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), IntegerEntry(k_maxOpenNotional, _maxOpenNotional), IntegerEntry(k_feeToStakersPercent, _feeToStakersPercent), IntegerEntry(k_maxOracleDelay, _feeToStakersPercent), IntegerEntry(k_rolloverFee, _rolloverFee)]
949+
950+
951+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)]
952+
953+
954+func incrementPositionSequenceNumber (_isNewPosition,_address) = if (_isNewPosition)
955+ then {
956+ let currentSequence = lastSequence()
957+[IntegerEntry(toCompositeKey(k_positionSequence, _address), (currentSequence + 1)), IntegerEntry(k_sequence, (currentSequence + 1))]
958+ }
959+ else nil
960+
961+
962+func updatePositionFee (_isNewPosition,_address,_fee) = if (_isNewPosition)
963+ then [IntegerEntry(toCompositeKey(k_positionFee, _address), _fee)]
964+ else nil
965+
966+
967+func updatePosition (_address,_size,_margin,_openNotional,_latestCumulativePremiumFraction,_latestTimestamp) = [IntegerEntry(toCompositeKey(k_positionSize, _address), _size), IntegerEntry(toCompositeKey(k_positionMargin, _address), _margin), IntegerEntry(toCompositeKey(k_positionOpenNotional, _address), _openNotional), IntegerEntry(toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _address), _latestCumulativePremiumFraction), IntegerEntry(toCompositeKey(k_positionLastUpdatedTimestamp, _address), _latestTimestamp)]
968+
969+
970+func appendTwap (_price) = {
971+ let minuteId = ((lastTimestamp() / 1000) / 60)
972+ let previousMinuteId = valueOrElse(getInteger(this, k_lastMinuteId), 0)
973+ if ((previousMinuteId > minuteId))
974+ then throw("TWAP out-of-order")
975+ else {
976+ let lastMinuteId = if ((previousMinuteId == 0))
977+ then minuteId
978+ else previousMinuteId
979+ if ((minuteId > previousMinuteId))
980+ then {
981+ let prevCumulativePrice = valueOrElse(getInteger(this, ((k_twapDataLastCumulativePrice + "_") + toString(previousMinuteId))), 0)
982+ let prevPrice = valueOrElse(getInteger(this, ((k_twapDataLastPrice + "_") + toString(previousMinuteId))), _price)
983+ let lastCumulativePrice = (prevCumulativePrice + ((minuteId - lastMinuteId) * prevPrice))
984+ let list = pushToQueue(strToList(valueOrElse(getString(this, k_lastDataStr), "")), TWAP_INTERVAL, toString(minuteId))
985+[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))]
986+ }
987+ else {
988+ let twapDataPreviousMinuteId = valueOrElse(getInteger(this, toCompositeKey(k_twapDataPreviousMinuteId, toString(minuteId))), 0)
989+ let prevCumulativePrice = valueOrElse(getInteger(this, toCompositeKey(k_twapDataLastCumulativePrice, toString(twapDataPreviousMinuteId))), 0)
990+ let prevPrice = valueOrElse(getInteger(this, toCompositeKey(k_twapDataLastPrice, toString(twapDataPreviousMinuteId))), _price)
991+ let lastCumulativePrice = (prevCumulativePrice + ((minuteId - twapDataPreviousMinuteId) * prevPrice))
992+[IntegerEntry(toCompositeKey(k_twapDataLastCumulativePrice, toString(minuteId)), lastCumulativePrice), IntegerEntry(toCompositeKey(k_twapDataLastPrice, toString(minuteId)), _price)]
993+ }
994+ }
995+ }
996+
997+
998+func updateAmmReserves (_qtAstR,_bsAstR) = [IntegerEntry(k_quoteAssetReserve, _qtAstR), IntegerEntry(k_baseAssetReserve, _bsAstR)]
999+
1000+
1001+func updateAmmWeights (_qtAstW,_bsAstW) = [IntegerEntry(k_quoteAssetWeight, _qtAstW), IntegerEntry(k_baseAssetWeight, _bsAstW)]
1002+
1003+
1004+func updateAmm (_qtAstR,_bsAstR,_totalPositionSizeAfter,_openInterestNotional,_totalLongPositionSize,_totalShortPositionSize,_totalLongOpenNotional,_totalShortOpenNotional) = {
1005+ let _qtAstW = qtAstW()
1006+ let _bsAstW = bsAstW()
1007+ if (((_totalLongPositionSize - _totalShortPositionSize) != _totalPositionSizeAfter))
1008+ then throw(((((("Invalid AMM state data: " + toString(_totalLongPositionSize)) + " + ") + toString(_totalShortPositionSize)) + " != ") + toString(_totalPositionSizeAfter)))
1009+ else ((updateAmmReserves(_qtAstR, _bsAstR) ++ [IntegerEntry(k_totalPositionSize, _totalPositionSizeAfter), IntegerEntry(k_openInterestNotional, _openInterestNotional), IntegerEntry(k_totalLongPositionSize, _totalLongPositionSize), IntegerEntry(k_totalShortPositionSize, _totalShortPositionSize), IntegerEntry(k_openInterestLong, _totalLongOpenNotional), IntegerEntry(k_openInterestShort, _totalShortOpenNotional)]) ++ appendTwap(divd(muld(_qtAstR, _qtAstW), muld(_bsAstR, _bsAstW))))
1010+ }
1011+
1012+
1013+func deletePosition (_address) = [DeleteEntry(toCompositeKey(k_positionSize, _address)), DeleteEntry(toCompositeKey(k_positionMargin, _address)), DeleteEntry(toCompositeKey(k_positionOpenNotional, _address)), DeleteEntry(toCompositeKey(k_positionLastUpdatedCumulativePremiumFraction, _address)), DeleteEntry(toCompositeKey(k_positionAsset, _address)), DeleteEntry(toCompositeKey(k_positionFee, _address)), DeleteEntry(toCompositeKey(k_positionLastUpdatedTimestamp, _address))]
1014+
1015+
1016+func withdraw (_address,_amount) = {
1017+ let balance = assetBalance(this, quoteAsset())
1018+ if ((_amount > balance))
1019+ then throw(((("Unable to withdraw " + toString(_amount)) + " from contract balance ") + toString(balance)))
1020+ else [ScriptTransfer(_address, _amount, quoteAsset())]
1021+ }
1022+
1023+
1024+func updateBalance (i) = if ((0 > i))
1025+ then throw("Balance")
1026+ else [IntegerEntry(k_balance, i)]
1027+
1028+
1029+func transferFee (i) = [ScriptTransfer(stakingAddress(), i, quoteAsset())]
1030+
1031+
1032+func doBurnArtifact (_burnArtifact,i) = if (_burnArtifact)
1033+ then [Burn(valueOrErrorMessage(i.payments[1].assetId, "Invalid artifact"), 1)]
1034+ else nil
1035+
1036+
1037+@Callable(i)
1038+func pause () = if ((i.caller != adminAddress()))
1039+ then throw("Invalid pause params")
1040+ else [BooleanEntry(k_paused, true)]
1041+
1042+
1043+
1044+@Callable(i)
1045+func unpause () = if ((i.caller != adminAddress()))
1046+ then throw("Invalid unpause params")
1047+ else [BooleanEntry(k_paused, false)]
1048+
1049+
1050+
1051+@Callable(i)
1052+func setCloseOnly () = if ((i.caller != adminAddress()))
1053+ then throw("Invalid setCloseOnly params")
1054+ else [BooleanEntry(k_closeOnly, true)]
1055+
1056+
1057+
1058+@Callable(i)
1059+func unsetCloseOnly () = if ((i.caller != adminAddress()))
1060+ then throw("Invalid unsetCloseOnly params")
1061+ else [BooleanEntry(k_closeOnly, false)]
1062+
1063+
1064+
1065+@Callable(i)
1066+func addLiquidity (_quoteAssetAmount) = if (if ((i.caller != adminAddress()))
1067+ then true
1068+ else (0 >= _quoteAssetAmount))
1069+ then throw("Invalid addLiquidity params")
1070+ else {
1071+ let _qtAstR = qtAstR()
1072+ let _bsAstR = bsAstR()
1073+ let _qtAstW = qtAstW()
1074+ let _bsAstW = bsAstW()
1075+ let price = divd(muld(_qtAstR, _qtAstW), muld(_bsAstR, _bsAstW))
1076+ let qtAstRAfter = (_qtAstR + _quoteAssetAmount)
1077+ let baseAssetAmountToAdd = (divd(muld(qtAstRAfter, _qtAstW), price) - _bsAstR)
1078+ let bsAstRAfter = (_bsAstR + baseAssetAmountToAdd)
1079+ let $t05287653027 = getSyncTerminalPrice(getOraclePrice(), qtAstRAfter, bsAstRAfter)
1080+ let newQuoteAssetWeight = $t05287653027._1
1081+ let newBaseAssetWeight = $t05287653027._2
1082+ let marginToVault = $t05287653027._3
1083+ let doExchangePnL = if ((marginToVault != 0))
1084+ then {
1085+ let doExchangePnL = invoke(vaultAddress(), "exchangeFreeAndLocked", [marginToVault], nil)
1086+ if ((doExchangePnL == doExchangePnL))
1087+ then nil
1088+ else throw("Strict value is not equal to itself.")
1089+ }
1090+ else nil
1091+ if ((doExchangePnL == doExchangePnL))
1092+ then (updateAmmReserves(qtAstRAfter, bsAstRAfter) ++ updateAmmWeights(newQuoteAssetWeight, newBaseAssetWeight))
1093+ else throw("Strict value is not equal to itself.")
1094+ }
1095+
1096+
1097+
1098+@Callable(i)
1099+func removeLiquidity (_quoteAssetAmount) = if (if ((i.caller != adminAddress()))
1100+ then true
1101+ else (_quoteAssetAmount >= 0))
1102+ then throw("Invalid removeLiquidity params")
1103+ else {
1104+ let _qtAstR = qtAstR()
1105+ let _bsAstR = bsAstR()
1106+ let _qtAstW = qtAstW()
1107+ let _bsAstW = bsAstW()
1108+ let price = divd(muld(_qtAstR, _qtAstW), muld(_bsAstR, _bsAstW))
1109+ let qtAstRAfter = (_qtAstR - _quoteAssetAmount)
1110+ let baseAssetAmountToRemove = abs((divd(muld(qtAstRAfter, _qtAstW), price) - _bsAstR))
1111+ let bsAstRAfter = (_bsAstR - baseAssetAmountToRemove)
1112+ let $t05395954110 = getSyncTerminalPrice(getOraclePrice(), qtAstRAfter, bsAstRAfter)
1113+ let newQuoteAssetWeight = $t05395954110._1
1114+ let newBaseAssetWeight = $t05395954110._2
1115+ let marginToVault = $t05395954110._3
1116+ let doExchangePnL = if ((marginToVault != 0))
1117+ then {
1118+ let doExchangePnL = invoke(vaultAddress(), "exchangeFreeAndLocked", [marginToVault], nil)
1119+ if ((doExchangePnL == doExchangePnL))
1120+ then nil
1121+ else throw("Strict value is not equal to itself.")
1122+ }
1123+ else nil
1124+ if ((doExchangePnL == doExchangePnL))
1125+ then (updateAmmReserves(qtAstRAfter, bsAstRAfter) ++ updateAmmWeights(newQuoteAssetWeight, newBaseAssetWeight))
1126+ else throw("Strict value is not equal to itself.")
1127+ }
1128+
1129+
1130+
1131+@Callable(i)
1132+func changeSettings (_initMarginRatio,_mmr,_liquidationFeeRatio,_fundingPeriod,_fee,_spreadLimit,_maxPriceImpact,_partialLiquidationRatio,_maxPriceSpread,_maxOpenNotional,_feeToStakersPercent,_maxOracleDelay,_rolloverFee) = if ((i.caller != adminAddress()))
1133+ then throw("Invalid changeSettings params")
1134+ else updateSettings(_initMarginRatio, _mmr, _liquidationFeeRatio, _fundingPeriod, _fee, _spreadLimit, _maxPriceImpact, _partialLiquidationRatio, _maxPriceSpread, _maxOpenNotional, _feeToStakersPercent, _maxOracleDelay, _rolloverFee)
1135+
1136+
1137+
1138+@Callable(i)
1139+func initialize (_qtAstR,_bsAstR,_fundingPeriod,_initMarginRatio,_mmr,_liquidationFeeRatio,_fee,_baseOracleData,_quoteOracleData,_coordinator,_spreadLimit,_maxPriceImpact,_partialLiquidationRatio,_maxPriceSpread,_maxOpenNotional,_feeToStakersPercent,_maxOracleDelay,_rolloverFee) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= _qtAstR))
1140+ then true
1141+ else (0 >= _bsAstR))
1142+ then true
1143+ else (0 >= _fundingPeriod))
1144+ then true
1145+ else (0 >= _initMarginRatio))
1146+ then true
1147+ else (0 >= _mmr))
1148+ then true
1149+ else (0 >= _liquidationFeeRatio))
1150+ then true
1151+ else (0 >= _fee))
1152+ then true
1153+ else (0 >= _spreadLimit))
1154+ then true
1155+ else (0 >= _maxPriceImpact))
1156+ then true
1157+ else (0 >= _partialLiquidationRatio))
1158+ then true
1159+ else (0 >= _maxPriceSpread))
1160+ then true
1161+ else (0 >= _maxOpenNotional))
1162+ then true
1163+ else (0 >= _feeToStakersPercent))
1164+ then true
1165+ else (_feeToStakersPercent > DECIMAL_UNIT))
1166+ then true
1167+ else (0 >= _maxOracleDelay))
1168+ then true
1169+ else (0 >= _rolloverFee))
1170+ then true
1171+ else initialized())
1172+ then true
1173+ else (i.caller != this))
1174+ then throw("Invalid initialize parameters")
1175+ else ((((updateAmm(_qtAstR, _bsAstR, 0, 0, 0, 0, 0, 0) ++ updateSettings(_initMarginRatio, _mmr, _liquidationFeeRatio, _fundingPeriod, _fee, _spreadLimit, _maxPriceImpact, _partialLiquidationRatio, _maxPriceSpread, _maxOpenNotional, _feeToStakersPercent, _maxOracleDelay, _rolloverFee)) ++ updateFunding((lastTimestamp() + _fundingPeriod), 0, 0, 0, 0)) ++ updateBalance(0)) ++ [BooleanEntry(k_initialized, true), StringEntry(k_baseOracle, _baseOracleData), StringEntry(k_quoteOracle, _quoteOracleData), StringEntry(k_coordinatorAddress, toString(addressFromStringValue(_coordinator)))])
1176+
1177+
1178+
1179+@Callable(i)
1180+func increasePosition (_direction,_leverage,_minBaseAssetAmount,_refLink) = {
1181+ let sync = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1182+ if ((sync == sync))
1183+ then {
1184+ let ensureCalledOnce = invoke(this, "ensureCalledOnce", nil, nil)
1185+ if ((ensureCalledOnce == ensureCalledOnce))
1186+ then {
1187+ let _trader = getActualCaller(i)
1188+ let _rawAmount = i.payments[0].amount
1189+ let _assetId = i.payments[0].assetId
1190+ let _assetIdStr = toBase58String(value(_assetId))
1191+ let isQuoteAsset = (_assetId == quoteAsset())
1192+ if (if (if (if (if (if (if (if (if (if ((_direction != DIR_LONG))
1193+ then (_direction != DIR_SHORT)
1194+ else false)
1195+ then true
1196+ else (0 >= _rawAmount))
1197+ then true
1198+ else !(initialized()))
1199+ then true
1200+ else !(isQuoteAsset))
1201+ then true
1202+ else !(isSameAssetOrNoPosition(_trader, _assetIdStr)))
1203+ then true
1204+ else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true)))
1205+ then true
1206+ else paused())
1207+ then true
1208+ else closeOnly())
1209+ then true
1210+ else isMarketClosed())
1211+ then throw("Invalid increasePosition parameters")
1212+ else {
1213+ let $t05788858037 = getForTraderWithArtifact(_trader, getArtifactId(i))
1214+ let adjustedFee = $t05788858037._1
1215+ let burnArtifact = $t05788858037._2
1216+ let _amount = divd(_rawAmount, (muld(adjustedFee, _leverage) + DECIMAL_UNIT))
1217+ let distributeFeeAmount = (_rawAmount - _amount)
1218+ let referrerFeeAny = invoke(referralAddress(), "acceptPaymentWithLink", [_trader, _refLink], [AttachedPayment(quoteAsset(), distributeFeeAmount)])
1219+ if ((referrerFeeAny == referrerFeeAny))
1220+ then {
1221+ let referrerFee = match referrerFeeAny {
1222+ case x: Int =>
1223+ x
1224+ case _ =>
1225+ throw("Invalid referrerFee")
1226+ }
1227+ let feeAmount = (distributeFeeAmount - referrerFee)
1228+ let $t05853358701 = getPosition(_trader)
1229+ let oldPositionSize = $t05853358701._1
1230+ let oldPositionMargin = $t05853358701._2
1231+ let oldPositionOpenNotional = $t05853358701._3
1232+ let oldPositionLstUpdCPF = $t05853358701._4
1233+ let oldPositionTimestamp = $t05853358701._5
1234+ let isNewPosition = (oldPositionSize == 0)
1235+ let isSameDirection = if ((oldPositionSize > 0))
1236+ then (_direction == DIR_LONG)
1237+ else (_direction == DIR_SHORT)
1238+ let expandExisting = if (!(isNewPosition))
1239+ then isSameDirection
1240+ else false
1241+ let isAdd = (_direction == DIR_LONG)
1242+ let $t05899062111 = if (if (isNewPosition)
1243+ then true
1244+ else expandExisting)
1245+ then {
1246+ let openNotional = muld(_amount, _leverage)
1247+ let $t05949959672 = swapInput(isAdd, openNotional)
1248+ let amountBaseAssetBought = $t05949959672._1
1249+ let quoteAssetReserveAfter = $t05949959672._2
1250+ let baseAssetReserveAfter = $t05949959672._3
1251+ let totalPositionSizeAfter = $t05949959672._4
1252+ if (if ((_minBaseAssetAmount != 0))
1253+ then (_minBaseAssetAmount > abs(amountBaseAssetBought))
1254+ else false)
1255+ then throw(((("Limit error: " + toString(abs(amountBaseAssetBought))) + " < ") + toString(_minBaseAssetAmount)))
1256+ else {
1257+ let newPositionSize = (oldPositionSize + amountBaseAssetBought)
1258+ let totalLongOpenInterestAfter = (openInterestLong() + (if ((newPositionSize > 0))
1259+ then openNotional
1260+ else 0))
1261+ let totalShortOpenInterestAfter = (openInterestShort() + (if ((0 > newPositionSize))
1262+ then openNotional
1263+ else 0))
1264+ let $t06021860493 = calcRemainMarginWithFundingPaymentAndRolloverFee(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, oldPositionTimestamp, _amount)
1265+ let remainMargin = $t06021860493._1
1266+ let x1 = $t06021860493._2
1267+ let x2 = $t06021860493._3
1268+ let rolloverFee = $t06021860493._4
1269+ if (!(requireNotOverSpreadLimit(quoteAssetReserveAfter, baseAssetReserveAfter)))
1270+ then throw("Over max spread limit")
1271+ else if (!(requireNotOverMaxOpenNotional(totalLongOpenInterestAfter, totalShortOpenInterestAfter)))
1272+ then throw("Over max open notional")
1273+ else $Tuple14(newPositionSize, remainMargin, (oldPositionOpenNotional + openNotional), latestCumulativePremiumFraction(newPositionSize), lastTimestamp(), baseAssetReserveAfter, quoteAssetReserveAfter, totalPositionSizeAfter, (openInterestNotional() + openNotional), (totalLongPositionSize() + (if ((newPositionSize > 0))
1274+ then abs(amountBaseAssetBought)
1275+ else 0)), (totalShortPositionSize() + (if ((0 > newPositionSize))
1276+ then abs(amountBaseAssetBought)
1277+ else 0)), totalLongOpenInterestAfter, totalShortOpenInterestAfter, rolloverFee)
1278+ }
1279+ }
1280+ else {
1281+ let openNotional = muld(_amount, _leverage)
1282+ let $t06181161927 = getPositionNotionalAndUnrealizedPnl(toString(i.caller), PNL_OPTION_SPOT)
1283+ let oldPositionNotional = $t06181161927._1
1284+ let unrealizedPnl = $t06181161927._2
1285+ if ((oldPositionNotional > openNotional))
1286+ then throw("Use decreasePosition to decrease position size")
1287+ else throw("Close position first")
1288+ }
1289+ let newPositionSize = $t05899062111._1
1290+ let newPositionRemainMargin = $t05899062111._2
1291+ let newPositionOpenNotional = $t05899062111._3
1292+ let newPositionLatestCPF = $t05899062111._4
1293+ let newPositionTimestamp = $t05899062111._5
1294+ let baseAssetReserveAfter = $t05899062111._6
1295+ let quoteAssetReserveAfter = $t05899062111._7
1296+ let totalPositionSizeAfter = $t05899062111._8
1297+ let openInterestNotionalAfter = $t05899062111._9
1298+ let totalLongAfter = $t05899062111._10
1299+ let totalShortAfter = $t05899062111._11
1300+ let totalLongOpenInterestAfter = $t05899062111._12
1301+ let totalShortOpenInterestAfter = $t05899062111._13
1302+ let rolloverFee = $t05899062111._14
1303+ let $t06211762188 = distributeFee((feeAmount + rolloverFee))
1304+ let feeToStakers = $t06211762188._1
1305+ let feeToVault = $t06211762188._2
1306+ let stake = if ((_amount >= rolloverFee))
1307+ then invoke(vaultAddress(), "addLocked", nil, [AttachedPayment(quoteAsset(), (_amount - rolloverFee))])
1308+ else invoke(vaultAddress(), "withdrawLocked", [(rolloverFee - _amount)], nil)
1309+ if ((stake == stake))
1310+ then {
1311+ let depositVault = invoke(vaultAddress(), "addFree", nil, [AttachedPayment(quoteAsset(), feeToVault)])
1312+ if ((depositVault == depositVault))
1313+ then {
1314+ let notifyFee = invoke(minerAddress(), "notifyFees", [_trader, feeAmount], nil)
1315+ if ((notifyFee == notifyFee))
1316+ then {
1317+ let notifyNotional = invoke(minerAddress(), "notifyNotional", [_trader, newPositionOpenNotional], nil)
1318+ if ((notifyNotional == notifyNotional))
1319+ then ((((((updatePosition(_trader, newPositionSize, newPositionRemainMargin, newPositionOpenNotional, newPositionLatestCPF, newPositionTimestamp) ++ incrementPositionSequenceNumber(isNewPosition, _trader)) ++ updatePositionFee(isNewPosition, _trader, adjustedFee)) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter, totalLongOpenInterestAfter, totalShortOpenInterestAfter)) ++ transferFee(feeToStakers)) ++ updateBalance(((cbalance() + _amount) - rolloverFee))) ++ doBurnArtifact(burnArtifact, i))
1320+ else throw("Strict value is not equal to itself.")
1321+ }
1322+ else throw("Strict value is not equal to itself.")
1323+ }
1324+ else throw("Strict value is not equal to itself.")
1325+ }
1326+ else throw("Strict value is not equal to itself.")
1327+ }
1328+ else throw("Strict value is not equal to itself.")
1329+ }
1330+ }
1331+ else throw("Strict value is not equal to itself.")
1332+ }
1333+ else throw("Strict value is not equal to itself.")
1334+ }
1335+
1336+
1337+
1338+@Callable(i)
1339+func addMargin () = {
1340+ let sync = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1341+ if ((sync == sync))
1342+ then {
1343+ let ensureCalledOnce = invoke(this, "ensureCalledOnce", nil, nil)
1344+ if ((ensureCalledOnce == ensureCalledOnce))
1345+ then {
1346+ let _trader = toString(i.caller)
1347+ let _amount = i.payments[0].amount
1348+ let _assetId = i.payments[0].assetId
1349+ let _assetIdStr = toBase58String(value(_assetId))
1350+ let isQuoteAsset = (_assetId == quoteAsset())
1351+ if (if (if (if (if (if (if (!(isQuoteAsset))
1352+ then true
1353+ else !(requireOpenPosition(toString(i.caller))))
1354+ then true
1355+ else !(isSameAsset(_trader, _assetIdStr)))
1356+ then true
1357+ else !(initialized()))
1358+ then true
1359+ else paused())
1360+ then true
1361+ else closeOnly())
1362+ then true
1363+ else isMarketClosed())
1364+ then throw("Invalid addMargin parameters")
1365+ else {
1366+ let $t06429964467 = getPosition(_trader)
1367+ let oldPositionSize = $t06429964467._1
1368+ let oldPositionMargin = $t06429964467._2
1369+ let oldPositionOpenNotional = $t06429964467._3
1370+ let oldPositionLstUpdCPF = $t06429964467._4
1371+ let oldPositionTimestamp = $t06429964467._5
1372+ let stake = invoke(vaultAddress(), "addLocked", nil, [AttachedPayment(quoteAsset(), _amount)])
1373+ if ((stake == stake))
1374+ then {
1375+ let rolloverFee = calcRolloverFee(oldPositionMargin, oldPositionTimestamp)
1376+ let doTransferFeeToStakers = if ((rolloverFee > 0))
1377+ then {
1378+ let $t06475264811 = distributeFee(rolloverFee)
1379+ let feeToStakers = $t06475264811._1
1380+ let feeToVault = $t06475264811._2
1381+ let unstake = invoke(vaultAddress(), "withdrawLocked", [feeToStakers], nil)
1382+ if ((unstake == unstake))
1383+ then {
1384+ let lockBadDebt = invoke(vaultAddress(), "exchangeFreeAndLocked", [-(feeToVault)], nil)
1385+ if ((lockBadDebt == lockBadDebt))
1386+ then transferFee(feeToStakers)
1387+ else throw("Strict value is not equal to itself.")
1388+ }
1389+ else throw("Strict value is not equal to itself.")
1390+ }
1391+ else nil
1392+ if ((doTransferFeeToStakers == doTransferFeeToStakers))
1393+ then ((updatePosition(_trader, oldPositionSize, ((oldPositionMargin - rolloverFee) + _amount), oldPositionOpenNotional, oldPositionLstUpdCPF, lastTimestamp()) ++ updateBalance(((cbalance() + _amount) - rolloverFee))) ++ doTransferFeeToStakers)
1394+ else throw("Strict value is not equal to itself.")
1395+ }
1396+ else throw("Strict value is not equal to itself.")
1397+ }
1398+ }
1399+ else throw("Strict value is not equal to itself.")
1400+ }
1401+ else throw("Strict value is not equal to itself.")
1402+ }
1403+
1404+
1405+
1406+@Callable(i)
1407+func removeMargin (_amount) = {
1408+ let sync = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1409+ if ((sync == sync))
1410+ then {
1411+ let ensureCalledOnce = invoke(this, "ensureCalledOnce", nil, nil)
1412+ if ((ensureCalledOnce == ensureCalledOnce))
1413+ then {
1414+ let _trader = toString(i.caller)
1415+ if (if (if (if (if ((0 >= _amount))
1416+ then true
1417+ else !(requireOpenPosition(_trader)))
1418+ then true
1419+ else !(initialized()))
1420+ then true
1421+ else paused())
1422+ then true
1423+ else isMarketClosed())
1424+ then throw("Invalid removeMargin parameters")
1425+ else {
1426+ let $t06592366091 = getPosition(_trader)
1427+ let oldPositionSize = $t06592366091._1
1428+ let oldPositionMargin = $t06592366091._2
1429+ let oldPositionOpenNotional = $t06592366091._3
1430+ let oldPositionLstUpdCPF = $t06592366091._4
1431+ let oldPositionTimestamp = $t06592366091._5
1432+ let $t06609766346 = calcRemainMarginWithFundingPaymentAndRolloverFee(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, oldPositionTimestamp, -(_amount))
1433+ let remainMargin = $t06609766346._1
1434+ let badDebt = $t06609766346._2
1435+ let fundingPayment = $t06609766346._3
1436+ let rolloverFee = $t06609766346._4
1437+ if ((badDebt != 0))
1438+ then throw("Invalid removed margin amount")
1439+ else {
1440+ let marginRatio = calcMarginRatio(remainMargin, badDebt, oldPositionOpenNotional)
1441+ if (!(requireMoreMarginRatio(marginRatio, initMarginRatio(), true)))
1442+ then throw(((("Too much margin removed: " + toString(marginRatio)) + " < ") + toString(initMarginRatio())))
1443+ else {
1444+ let $t06673266791 = distributeFee(rolloverFee)
1445+ let feeToStakers = $t06673266791._1
1446+ let feeToVault = $t06673266791._2
1447+ let doTransferFeeToStakers = if ((rolloverFee > 0))
1448+ then {
1449+ let lockBadDebt = invoke(vaultAddress(), "exchangeFreeAndLocked", [-(feeToVault)], nil)
1450+ if ((lockBadDebt == lockBadDebt))
1451+ then transferFee(feeToStakers)
1452+ else throw("Strict value is not equal to itself.")
1453+ }
1454+ else nil
1455+ if ((doTransferFeeToStakers == doTransferFeeToStakers))
1456+ then {
1457+ let unstake = invoke(vaultAddress(), "withdrawLocked", [(_amount + feeToStakers)], nil)
1458+ if ((unstake == unstake))
1459+ then (((updatePosition(_trader, oldPositionSize, remainMargin, oldPositionOpenNotional, latestCumulativePremiumFraction(oldPositionSize), lastTimestamp()) ++ withdraw(i.caller, _amount)) ++ updateBalance(((cbalance() - _amount) - rolloverFee))) ++ doTransferFeeToStakers)
1460+ else throw("Strict value is not equal to itself.")
1461+ }
1462+ else throw("Strict value is not equal to itself.")
1463+ }
1464+ }
1465+ }
1466+ }
1467+ else throw("Strict value is not equal to itself.")
1468+ }
1469+ else throw("Strict value is not equal to itself.")
1470+ }
1471+
1472+
1473+
1474+@Callable(i)
1475+func closePosition (_size,_minQuoteAssetAmount,_addToMargin) = {
1476+ let sync = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1477+ if ((sync == sync))
1478+ then {
1479+ let ensureCalledOnce = invoke(this, "ensureCalledOnce", nil, nil)
1480+ if ((ensureCalledOnce == ensureCalledOnce))
1481+ then {
1482+ let _trader = getActualCaller(i)
1483+ let _traderAddress = valueOrErrorMessage(addressFromString(_trader), "Invalid caller")
1484+ let positionFee = getPositionFee(_trader)
1485+ if (if (if (if (if (if (!(requireOpenPosition(_trader)))
1486+ then true
1487+ else !(initialized()))
1488+ then true
1489+ else paused())
1490+ then true
1491+ else (0 >= _size))
1492+ then true
1493+ else (0 > _minQuoteAssetAmount))
1494+ then true
1495+ else isMarketClosed())
1496+ then throw("Invalid closePosition parameters")
1497+ else {
1498+ let oldPositionTimestamp = getPosition(_trader)._5
1499+ let $t06844869033 = internalClosePosition(_trader, _size, positionFee, _minQuoteAssetAmount, _addToMargin, true, true)
1500+ let newPositionSize = $t06844869033._1
1501+ let newPositionMargin = $t06844869033._2
1502+ let newPositionOpenNotional = $t06844869033._3
1503+ let newPositionLstUpdCPF = $t06844869033._4
1504+ let positionBadDebt = $t06844869033._5
1505+ let realizedPnl = $t06844869033._6
1506+ let marginToTrader = $t06844869033._7
1507+ let quoteAssetReserveAfter = $t06844869033._8
1508+ let baseAssetReserveAfter = $t06844869033._9
1509+ let totalPositionSizeAfter = $t06844869033._10
1510+ let openInterestNotionalAfter = $t06844869033._11
1511+ let totalLongAfter = $t06844869033._12
1512+ let totalShortAfter = $t06844869033._13
1513+ let totalLongOpenInterestAfter = $t06844869033._14
1514+ let totalShortOpenInterestAfter = $t06844869033._15
1515+ let realizedFee = $t06844869033._16
1516+ if ((positionBadDebt > 0))
1517+ then throw("Invalid closePosition parameters: bad debt")
1518+ else if ((oldPositionTimestamp >= lastTimestamp()))
1519+ then throw("Invalid closePosition parameters: wait at least 1 block before closing the position")
1520+ else {
1521+ let isPartialClose = (newPositionSize != 0)
1522+ let withdrawAmount = (marginToTrader + realizedFee)
1523+ let ammBalance = (cbalance() - withdrawAmount)
1524+ let ammNewBalance = if ((0 > ammBalance))
1525+ then 0
1526+ else ammBalance
1527+ let unstake = invoke(vaultAddress(), "withdrawLocked", [withdrawAmount], nil)
1528+ if ((unstake == unstake))
1529+ then {
1530+ let $t06970569764 = distributeFee(realizedFee)
1531+ let feeToStakers = $t06970569764._1
1532+ let feeToVault = $t06970569764._2
1533+ let depositVault = invoke(vaultAddress(), "addFree", nil, [AttachedPayment(quoteAsset(), feeToVault)])
1534+ if ((depositVault == depositVault))
1535+ then {
1536+ let notifyFee = invoke(minerAddress(), "notifyFees", [_trader, realizedFee], nil)
1537+ if ((notifyFee == notifyFee))
1538+ then {
1539+ let notifyNotional = invoke(minerAddress(), "notifyNotional", [_trader, newPositionOpenNotional], nil)
1540+ if ((notifyNotional == notifyNotional))
1541+ then (((((if (isPartialClose)
1542+ then updatePosition(_trader, newPositionSize, newPositionMargin, newPositionOpenNotional, newPositionLstUpdCPF, lastTimestamp())
1543+ else deletePosition(_trader)) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter, totalLongOpenInterestAfter, totalShortOpenInterestAfter)) ++ (if ((marginToTrader > 0))
1544+ then withdraw(_traderAddress, marginToTrader)
1545+ else nil)) ++ updateBalance(ammNewBalance)) ++ transferFee(feeToStakers))
1546+ else throw("Strict value is not equal to itself.")
1547+ }
1548+ else throw("Strict value is not equal to itself.")
1549+ }
1550+ else throw("Strict value is not equal to itself.")
1551+ }
1552+ else throw("Strict value is not equal to itself.")
1553+ }
1554+ }
1555+ }
1556+ else throw("Strict value is not equal to itself.")
1557+ }
1558+ else throw("Strict value is not equal to itself.")
1559+ }
1560+
1561+
1562+
1563+@Callable(i)
1564+func liquidate (_trader) = {
1565+ let sync = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1566+ if ((sync == sync))
1567+ then {
1568+ let spotMarginRatio = getMarginRatioByOption(_trader, PNL_OPTION_SPOT)
1569+ let liquidationMarginRatio = if (isOverFluctuationLimit())
1570+ then {
1571+ let oracleMarginRatio = getMarginRatioByOption(_trader, PNL_OPTION_ORACLE)
1572+ vmax(spotMarginRatio, oracleMarginRatio)
1573+ }
1574+ else spotMarginRatio
1575+ if (if (if (if (if (!(requireMoreMarginRatio(liquidationMarginRatio, maintenanceMarginRatio(), false)))
1576+ then true
1577+ else !(requireOpenPosition(_trader)))
1578+ then true
1579+ else !(initialized()))
1580+ then true
1581+ else paused())
1582+ then true
1583+ else isMarketClosed())
1584+ then throw("Unable to liquidate")
1585+ else {
1586+ let isPartialLiquidation = if (if ((spotMarginRatio > liquidationFeeRatio()))
1587+ then (partialLiquidationRatio() > 0)
1588+ else false)
1589+ then (DECIMAL_UNIT > partialLiquidationRatio())
1590+ else false
1591+ let oldPositionSize = getPosition(_trader)._1
1592+ let positionSizeAbs = abs(oldPositionSize)
1593+ let $t07207772400 = if (isPartialLiquidation)
1594+ then {
1595+ let liquidationSize = getPartialLiquidationAmount(_trader, oldPositionSize)
1596+ let liquidationRatio = divd(abs(liquidationSize), positionSizeAbs)
1597+ $Tuple2(liquidationRatio, abs(liquidationSize))
1598+ }
1599+ else $Tuple2(0, positionSizeAbs)
1600+ let liquidationRatio = $t07207772400._1
1601+ let liquidationSize = $t07207772400._2
1602+ let $t07240673044 = internalClosePosition(_trader, if (isPartialLiquidation)
1603+ then liquidationSize
1604+ else positionSizeAbs, liquidationFeeRatio(), 0, true, false, true)
1605+ let newPositionSize = $t07240673044._1
1606+ let newPositionMargin = $t07240673044._2
1607+ let newPositionOpenNotional = $t07240673044._3
1608+ let newPositionLstUpdCPF = $t07240673044._4
1609+ let positionBadDebt = $t07240673044._5
1610+ let realizedPnl = $t07240673044._6
1611+ let marginToTrader = $t07240673044._7
1612+ let quoteAssetReserveAfter = $t07240673044._8
1613+ let baseAssetReserveAfter = $t07240673044._9
1614+ let totalPositionSizeAfter = $t07240673044._10
1615+ let openInterestNotionalAfter = $t07240673044._11
1616+ let totalLongAfter = $t07240673044._12
1617+ let totalShortAfter = $t07240673044._13
1618+ let totalLongOpenInterestAfter = $t07240673044._14
1619+ let totalShortOpenInterestAfter = $t07240673044._15
1620+ let liquidationPenalty = $t07240673044._16
1621+ let feeToLiquidator = (liquidationPenalty / 2)
1622+ let feeToVault = (liquidationPenalty - feeToLiquidator)
1623+ let ammBalance = (cbalance() - liquidationPenalty)
1624+ let newAmmBalance = if ((0 > ammBalance))
1625+ then 0
1626+ else ammBalance
1627+ let lockBadDebt = if ((positionBadDebt > 0))
1628+ then {
1629+ let lockBadDebt = invoke(vaultAddress(), "exchangeFreeAndLocked", [(positionBadDebt + liquidationPenalty)], nil)
1630+ if ((lockBadDebt == lockBadDebt))
1631+ then nil
1632+ else throw("Strict value is not equal to itself.")
1633+ }
1634+ else nil
1635+ if ((lockBadDebt == lockBadDebt))
1636+ then {
1637+ let unstake = invoke(vaultAddress(), "withdrawLocked", [liquidationPenalty], nil)
1638+ if ((unstake == unstake))
1639+ then {
1640+ let depositInsurance = invoke(vaultAddress(), "addFree", nil, [AttachedPayment(quoteAsset(), feeToVault)])
1641+ if ((depositInsurance == depositInsurance))
1642+ then {
1643+ let notifyNotional = invoke(minerAddress(), "notifyNotional", [_trader, newPositionOpenNotional], nil)
1644+ if ((notifyNotional == notifyNotional))
1645+ then ((((if (isPartialLiquidation)
1646+ then updatePosition(_trader, newPositionSize, newPositionMargin, newPositionOpenNotional, newPositionLstUpdCPF, lastTimestamp())
1647+ else deletePosition(_trader)) ++ updateAmm(quoteAssetReserveAfter, baseAssetReserveAfter, totalPositionSizeAfter, openInterestNotionalAfter, totalLongAfter, totalShortAfter, totalLongOpenInterestAfter, totalShortOpenInterestAfter)) ++ withdraw(i.caller, feeToLiquidator)) ++ updateBalance(newAmmBalance))
1648+ else throw("Strict value is not equal to itself.")
1649+ }
1650+ else throw("Strict value is not equal to itself.")
1651+ }
1652+ else throw("Strict value is not equal to itself.")
1653+ }
1654+ else throw("Strict value is not equal to itself.")
1655+ }
1656+ }
1657+ else throw("Strict value is not equal to itself.")
1658+ }
1659+
1660+
1661+
1662+@Callable(i)
1663+func payFunding () = {
1664+ let sync = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1665+ if ((sync == sync))
1666+ then {
1667+ let fundingBlockTimestamp = nextFundingBlockTimestamp()
1668+ if (if (if ((fundingBlockTimestamp > lastTimestamp()))
1669+ then true
1670+ else !(initialized()))
1671+ then true
1672+ else paused())
1673+ then throw(((("Invalid funding block timestamp: " + toString(lastTimestamp())) + " < ") + toString(fundingBlockTimestamp)))
1674+ else {
1675+ let underlyingPrice = getOraclePrice()
1676+ let $t07503175093 = getFunding()
1677+ let shortPremiumFraction = $t07503175093._1
1678+ let longPremiumFraction = $t07503175093._2
1679+ updateFunding((fundingBlockTimestamp + fundingPeriodSeconds()), (latestLongCumulativePremiumFraction() + longPremiumFraction), (latestShortCumulativePremiumFraction() + shortPremiumFraction), divd(longPremiumFraction, underlyingPrice), divd(shortPremiumFraction, underlyingPrice))
1680+ }
1681+ }
1682+ else throw("Strict value is not equal to itself.")
1683+ }
1684+
1685+
1686+
1687+@Callable(i)
1688+func syncTerminalPriceToOracle () = {
1689+ let _qtAstR = qtAstR()
1690+ let _bsAstR = bsAstR()
1691+ let $t07552575891 = getSyncTerminalPrice(getOraclePrice(), _qtAstR, _bsAstR)
1692+ let newQuoteAssetWeight = $t07552575891._1
1693+ let newBaseAssetWeight = $t07552575891._2
1694+ let marginToVault = $t07552575891._3
1695+ let marginToVaultAdj = if (if ((0 > marginToVault))
1696+ then (abs(marginToVault) > cbalance())
1697+ else false)
1698+ then -(cbalance())
1699+ else marginToVault
1700+ let doExchangePnL = if ((marginToVaultAdj != 0))
1701+ then {
1702+ let doExchangePnL = invoke(vaultAddress(), "exchangeFreeAndLocked", [marginToVaultAdj], nil)
1703+ if ((doExchangePnL == doExchangePnL))
1704+ then nil
1705+ else throw("Strict value is not equal to itself.")
1706+ }
1707+ else nil
1708+ if ((doExchangePnL == doExchangePnL))
1709+ then ((updateBalance((cbalance() + marginToVaultAdj)) ++ updateAmmWeights(newQuoteAssetWeight, newBaseAssetWeight)) ++ appendTwap(divd(muld(_qtAstR, newQuoteAssetWeight), muld(_bsAstR, newBaseAssetWeight))))
1710+ else throw("Strict value is not equal to itself.")
1711+ }
1712+
1713+
1714+
1715+@Callable(i)
1716+func ensureCalledOnce () = if ((i.caller != this))
1717+ then throw("Invalid saveCurrentTxId parameters")
1718+ else {
1719+ let lastTx = valueOrElse(getString(this, k_lastTx), "")
1720+ if ((lastTx != toBase58String(i.transactionId)))
1721+ then [StringEntry(k_lastTx, lastTx)]
1722+ else throw("Can not call vAMM methods twice in one tx")
1723+ }
1724+
1725+
1726+
1727+@Callable(i)
1728+func view_calcRemainMarginWithFundingPayment (_trader) = {
1729+ let sync = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1730+ if ((sync == sync))
1731+ then {
1732+ let $t07705077174 = getPosition(_trader)
1733+ let positionSize = $t07705077174._1
1734+ let positionMargin = $t07705077174._2
1735+ let pon = $t07705077174._3
1736+ let positionLstUpdCPF = $t07705077174._4
1737+ let positionTimestamp = $t07705077174._5
1738+ let $t07717777278 = getPositionNotionalAndUnrealizedPnl(_trader, PNL_OPTION_SPOT)
1739+ let positionNotional = $t07717777278._1
1740+ let unrealizedPnl = $t07717777278._2
1741+ let $t07728177505 = calcRemainMarginWithFundingPaymentAndRolloverFee(positionSize, positionMargin, positionLstUpdCPF, positionTimestamp, unrealizedPnl)
1742+ let remainMargin = $t07728177505._1
1743+ let badDebt = $t07728177505._2
1744+ let fundingPayment = $t07728177505._3
1745+ let rolloverFee = $t07728177505._4
1746+ throw(((((((s(remainMargin) + s(fundingPayment)) + s(getMarginRatio(_trader))) + s(unrealizedPnl)) + s(badDebt)) + s(positionNotional)) + s(rolloverFee)))
1747+ }
1748+ else throw("Strict value is not equal to itself.")
1749+ }
1750+
1751+
1752+
1753+@Callable(i)
1754+func view_getPegAdjustCost (_price) = {
1755+ let _qtAstR = qtAstR()
1756+ let _bsAstR = bsAstR()
1757+ let result = getSyncTerminalPrice(_price, _qtAstR, _bsAstR)
1758+ throw(toString(result._3))
1759+ }
1760+
1761+
1762+
1763+@Callable(i)
1764+func view_getTerminalAmmPrice () = {
1765+ let $t07794178022 = getTerminalAmmState()
1766+ let terminalQuoteAssetReserve = $t07794178022._1
1767+ let terminalBaseAssetReserve = $t07794178022._2
1768+ let price = divd(muld(terminalQuoteAssetReserve, qtAstW()), muld(terminalBaseAssetReserve, bsAstW()))
1769+ throw(toString(price))
1770+ }
1771+
1772+
1773+
1774+@Callable(i)
1775+func view_getFunding () = {
1776+ let underlyingPrice = getOraclePrice()
1777+ let $t07823778299 = getFunding()
1778+ let shortPremiumFraction = $t07823778299._1
1779+ let longPremiumFraction = $t07823778299._2
1780+ let longFunding = divd(longPremiumFraction, underlyingPrice)
1781+ let shortFunding = divd(shortPremiumFraction, underlyingPrice)
1782+ throw((((s(longFunding) + s(shortFunding)) + s(getTwapSpotPrice())) + s(getOraclePrice())))
1783+ }
1784+
1785+
1786+
1787+@Callable(i)
1788+func computeSpotPrice () = {
1789+ let sync = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1790+ if ((sync == sync))
1791+ then {
1792+ let result = getSpotPrice()
1793+ $Tuple2(nil, result)
1794+ }
1795+ else throw("Strict value is not equal to itself.")
1796+ }
1797+
1798+
1799+
1800+@Callable(i)
1801+func computeFeeForTraderWithArtifact (_trader,_artifactId) = {
1802+ let result = getForTraderWithArtifact(_trader, _artifactId)
1803+ $Tuple2(nil, result)
1804+ }
1805+
1806+
1807+@Verifier(tx)
1808+func verify () = {
1809+ let coordinatorStr = getString(this, k_coordinatorAddress)
1810+ if (isDefined(coordinatorStr))
1811+ then {
1812+ let admin = getString(addressFromStringValue(value(coordinatorStr)), k_admin_address)
1813+ if (isDefined(admin))
1814+ then valueOrElse(getBoolean(addressFromStringValue(value(admin)), ((("status_" + toString(this)) + "_") + toBase58String(tx.id))), false)
1815+ else throw("unable to verify: admin not set in coordinator")
1816+ }
1817+ else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1818+ }
1819+

github/deemru/w8io/026f985 
75.22 ms