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