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