tx · CsdNHX3TSeknZw1d5tLqDxWpchp3zxt1so6tf4BfNTFd 3N7PpjUKbQppPtukpzUWEgZtwiNhdf4WF4G: -0.03600000 Waves 2022.06.06 23:07 [2084952] smart account 3N7PpjUKbQppPtukpzUWEgZtwiNhdf4WF4G > SELF 0.00000000 Waves
{ "type": 13, "id": "CsdNHX3TSeknZw1d5tLqDxWpchp3zxt1so6tf4BfNTFd", "fee": 3600000, "feeAssetId": null, "timestamp": 1654546089754, "version": 2, "chainId": 84, "sender": "3N7PpjUKbQppPtukpzUWEgZtwiNhdf4WF4G", "senderPublicKey": "HJQqnvf9QfT5pdhFmz1CcPTVNZXuAjpCiW7TGx5ULJ8U", "proofs": [ "5KZ93oAnupvwjjeUqThjNJQ1VktPYJLBtCu2RnrmjN6s8xABLXFaCM3RKRrtNpENtGjKsZgoNx1CbJKJHCbNPJLS" ], "script": "base64:AAIFAAAAAAAAADMIAhILCgkBAQEBAQEBCAgSBgoEAQEBARIFCgMBAQESABIDCgEBEgASAwoBCBIAEgMKAQgAAABOAAAAAAlrX29yYV9rZXkCAAAACWtfb3JhX2tleQAAAAAFa19vcmECAAAABWtfb3JhAAAAAAlrX2JhbGFuY2UCAAAACWtfYmFsYW5jZQAAAAAOa19wb3NpdGlvblNpemUCAAAADmtfcG9zaXRpb25TaXplAAAAABBrX3Bvc2l0aW9uTWFyZ2luAgAAABBrX3Bvc2l0aW9uTWFyZ2luAAAAAAVrX3BvbgIAAAAWa19wb3NpdGlvbk9wZW5Ob3Rpb25hbAAAAAATa19wb3NpdGlvbkxzdFVwZENQRgIAAAASa19wb3NpdGlvbkZyYWN0aW9uAAAAAA1rX2luaXRpYWxpemVkAgAAAA1rX2luaXRpYWxpemVkAAAAAAVrX2ZlZQIAAAAFa19mZWUAAAAAD2tfZnVuZGluZ1BlcmlvZAIAAAAPa19mdW5kaW5nUGVyaW9kAAAAABFrX2luaXRNYXJnaW5SYXRpbwIAAAARa19pbml0TWFyZ2luUmF0aW8AAAAABWtfb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SR0MDI4MjE0MjgyOTIAAAACXzkEAAAAA3gxMAgFAAAADSR0MDI4MjE0MjgyOTIAAAADXzEwCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQEAAAABcwAAAAEFAAAAAngyCQEAAAABcwAAAAEFAAAAAngzCQEAAAABcwAAAAEFAAAAAng0AAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAEEFETUlOX1BVQkxJQ19LRVkvMN0w", "height": 2084952, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Cqrw878bgtgXFdcjgo6ukvwHRMhm8axqJmudCuEjFbVw Next: F2va7ksXSQXh3GAVAzj3zaHKb9fGwpdWGGwDyZtw1mwj Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let k_ora_key = "k_ora_key" | |
5 | 5 | ||
6 | 6 | let k_ora = "k_ora" | |
7 | 7 | ||
8 | 8 | let k_balance = "k_balance" | |
9 | 9 | ||
10 | 10 | let k_positionSize = "k_positionSize" | |
11 | 11 | ||
12 | 12 | let k_positionMargin = "k_positionMargin" | |
13 | 13 | ||
14 | 14 | let k_pon = "k_positionOpenNotional" | |
15 | 15 | ||
16 | 16 | let k_positionLstUpdCPF = "k_positionFraction" | |
17 | 17 | ||
18 | 18 | let k_initialized = "k_initialized" | |
19 | 19 | ||
20 | 20 | let k_fee = "k_fee" | |
21 | 21 | ||
22 | 22 | let k_fundingPeriod = "k_fundingPeriod" | |
23 | 23 | ||
24 | 24 | let k_initMarginRatio = "k_initMarginRatio" | |
25 | 25 | ||
26 | 26 | let k_mmr = "k_mmr" | |
27 | 27 | ||
28 | 28 | let k_liquidationFeeRatio = "k_liquidationFeeRatio" | |
29 | 29 | ||
30 | 30 | let k_latestCPF = "k_latestPremiumFraction" | |
31 | 31 | ||
32 | 32 | let k_nextFundingBlock = "k_nextFundingBlockMinTimestamp" | |
33 | 33 | ||
34 | 34 | let k_fundingRate = "k_fundingRate" | |
35 | 35 | ||
36 | 36 | let k_qtAstR = "k_qtAstR" | |
37 | 37 | ||
38 | 38 | let k_bsAstR = "k_bsAstR" | |
39 | 39 | ||
40 | 40 | let k_baseAsstFndDelt = "k_baseAssetDelta" | |
41 | 41 | ||
42 | 42 | let k_totalPositionSize = "k_totalPositionSize" | |
43 | 43 | ||
44 | 44 | let k_cumulativeNotional = "k_cumulativeNotional" | |
45 | 45 | ||
46 | 46 | let k_openInteresetNotional = "k_openInteresetNotional" | |
47 | 47 | ||
48 | 48 | let ADMIN_ADDRESS = Address(base58'3Mz1td457M34EA7wU1swt2DBQDZEDpsMtgE') | |
49 | 49 | ||
50 | 50 | let ADMIN_PUBLIC_KEY = base58'DKoVYQRirYnan4ojiUkT12oE6XmpyNoht3ZcecUpgLsf' | |
51 | 51 | ||
52 | 52 | let USDN = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ' | |
53 | 53 | ||
54 | 54 | let USDN_STAKING = Address(base58'3N9LkJahTMx41wGhSxLS42prCZtRCp4dhTs') | |
55 | 55 | ||
56 | 56 | let FEES_ACCOUNT = Address(base58'3MseEJNEHkYhvcHre6Mann1F8e27S1qptdg') | |
57 | 57 | ||
58 | 58 | let INSURANCE_ADDRESS = Address(base58'3N3iAA2bkdjAiEhMKGnSGThfmaY18B1jvXD') | |
59 | 59 | ||
60 | 60 | let DIR_LONG = 1 | |
61 | 61 | ||
62 | 62 | let DIR_SHORT = 2 | |
63 | 63 | ||
64 | 64 | let FUNDING_BLOCK_INTERVAL = 60 | |
65 | 65 | ||
66 | 66 | let SECONDS = 1000 | |
67 | 67 | ||
68 | 68 | let DECIMAL_UNIT = (1 * (((((10 * 10) * 10) * 10) * 10) * 10)) | |
69 | 69 | ||
70 | 70 | let ONE_DAY = (86400 * DECIMAL_UNIT) | |
71 | 71 | ||
72 | 72 | func s (_x) = (toString(_x) + ",") | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func divd (_x,_y) = fraction(_x, DECIMAL_UNIT, _y, HALFEVEN) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func muld (_x,_y) = fraction(_x, _y, DECIMAL_UNIT, HALFEVEN) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func abs (_x) = if ((_x > 0)) | |
82 | 82 | then _x | |
83 | 83 | else -(_x) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func toCompositeKey (_key,_address) = ((_key + "_") + _address) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func requireMoreMarginRatio (_marginRatio,_baseMarginRatio,_largerThanOrEqualTo) = { | |
90 | 90 | let remainingMarginRatio = (_marginRatio - _baseMarginRatio) | |
91 | 91 | if (if (_largerThanOrEqualTo) | |
92 | 92 | then (0 > remainingMarginRatio) | |
93 | 93 | else false) | |
94 | 94 | then throw("Invalid margin") | |
95 | 95 | else if (if (!(_largerThanOrEqualTo)) | |
96 | 96 | then (remainingMarginRatio >= 0) | |
97 | 97 | else false) | |
98 | 98 | then throw("Invalid margin") | |
99 | 99 | else true | |
100 | 100 | } | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func int (k) = valueOrErrorMessage(getInteger(this, k), ("no value for " + k)) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func cbalance () = int(k_balance) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func fee () = int(k_fee) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func initMarginRatio () = int(k_initMarginRatio) | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func qtAstR () = int(k_qtAstR) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func bsAstR () = int(k_bsAstR) | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func baseAsstFndDelt () = int(k_baseAsstFndDelt) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func totalPositionSize () = int(k_totalPositionSize) | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func cumulativeNotional () = int(k_cumulativeNotional) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func latestCPF () = int(k_latestCPF) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func openInteresetNotional () = int(k_openInteresetNotional) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func nextFundingBlockTimestamp () = int(k_nextFundingBlock) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func fundingPeriodRaw () = int(k_fundingPeriod) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func fundingPeriodDecimal () = (fundingPeriodRaw() * DECIMAL_UNIT) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func fundingPeriodSeconds () = (fundingPeriodRaw() * SECONDS) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func mmr () = int(k_mmr) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func liquidationFeeRatio () = int(k_liquidationFeeRatio) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func getPosition (invesor) = { | |
155 | 155 | let positionSizeOpt = getInteger(this, toCompositeKey(k_positionSize, invesor)) | |
156 | 156 | match positionSizeOpt { | |
157 | 157 | case positionSize: Int => | |
158 | 158 | $Tuple4(positionSize, getIntegerValue(this, toCompositeKey(k_positionMargin, invesor)), getIntegerValue(this, toCompositeKey(k_pon, invesor)), getIntegerValue(this, toCompositeKey(k_positionLstUpdCPF, invesor))) | |
159 | 159 | case _ => | |
160 | 160 | $Tuple4(0, 0, 0, 0) | |
161 | 161 | } | |
162 | 162 | } | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func requireOpenPosition (_trader) = { | |
166 | 166 | let $t039534064 = getPosition(_trader) | |
167 | 167 | let positionSize = $t039534064._1 | |
168 | 168 | let positionMargin = $t039534064._2 | |
169 | 169 | let pon = $t039534064._3 | |
170 | 170 | let positionLstUpdCPF = $t039534064._4 | |
171 | 171 | if ((positionSize == 0)) | |
172 | 172 | then throw("No open position") | |
173 | 173 | else true | |
174 | 174 | } | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func initialized () = valueOrElse(getBoolean(this, k_initialized), false) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func updateReserve (_isAdd,_quoteAssetAmount,_baseAssetAmount) = if (_isAdd) | |
181 | 181 | then $Tuple5((qtAstR() + _quoteAssetAmount), (bsAstR() - _baseAssetAmount), (baseAsstFndDelt() - _baseAssetAmount), (totalPositionSize() + _baseAssetAmount), (cumulativeNotional() + _quoteAssetAmount)) | |
182 | 182 | else $Tuple5((qtAstR() - _quoteAssetAmount), (bsAstR() + _baseAssetAmount), (baseAsstFndDelt() + _baseAssetAmount), (totalPositionSize() - _baseAssetAmount), (cumulativeNotional() - _quoteAssetAmount)) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func swapInput (_isAdd,_quoteAssetAmoun) = { | |
186 | 186 | let _qtAstR = qtAstR() | |
187 | 187 | let _bsAstR = bsAstR() | |
188 | 188 | let k = muld(_qtAstR, _bsAstR) | |
189 | 189 | let qtAstRAfter = if (_isAdd) | |
190 | 190 | then (_qtAstR + _quoteAssetAmoun) | |
191 | 191 | else (_qtAstR - _quoteAssetAmoun) | |
192 | 192 | let bsAstRAfter = divd(k, qtAstRAfter) | |
193 | 193 | let amountBaseAssetBoughtAbs = abs((bsAstRAfter - _bsAstR)) | |
194 | 194 | let amountBaseAssetBought = if (_isAdd) | |
195 | 195 | then amountBaseAssetBoughtAbs | |
196 | 196 | else -(amountBaseAssetBoughtAbs) | |
197 | 197 | let $t053205518 = updateReserve(_isAdd, _quoteAssetAmoun, amountBaseAssetBoughtAbs) | |
198 | 198 | let qtAstRAfter1 = $t053205518._1 | |
199 | 199 | let bsAstRAfter1 = $t053205518._2 | |
200 | 200 | let baseAsstFndDeltAfter1 = $t053205518._3 | |
201 | 201 | let totalPositionSizeAfter1 = $t053205518._4 | |
202 | 202 | let cumulativeNotionalAfter1 = $t053205518._5 | |
203 | 203 | $Tuple6(amountBaseAssetBought, qtAstRAfter1, bsAstRAfter1, baseAsstFndDeltAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1) | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func calcRemainMarginWithFundingPayment (_oldPositionSize,_oldPositionMargin,_oldPositionLstUpdCPF,_marginDelta) = { | |
208 | 208 | let _latestCPF = latestCPF() | |
209 | 209 | let fundingPayment = if ((_oldPositionSize != 0)) | |
210 | 210 | then muld((_latestCPF - _oldPositionLstUpdCPF), _oldPositionSize) | |
211 | 211 | else 0 | |
212 | 212 | let signedMargin = ((_marginDelta - fundingPayment) + _oldPositionMargin) | |
213 | 213 | let $t060926219 = if ((0 > signedMargin)) | |
214 | 214 | then $Tuple2(0, abs(signedMargin)) | |
215 | 215 | else $Tuple2(abs(signedMargin), 0) | |
216 | 216 | let remainMargin = $t060926219._1 | |
217 | 217 | let badDebt = $t060926219._2 | |
218 | 218 | $Tuple4(remainMargin, badDebt, fundingPayment, _latestCPF) | |
219 | 219 | } | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func getOutputPriceWithReserves (_add,_baseAssetAmount,_quoteAssetPoolAmount,_baseAssetPoolAmount) = if ((_baseAssetAmount == 0)) | |
223 | 223 | then throw("Invalid base asset amount") | |
224 | 224 | else { | |
225 | 225 | let k = muld(_quoteAssetPoolAmount, _baseAssetPoolAmount) | |
226 | 226 | let baseAssetPoolAmountAfter = if (_add) | |
227 | 227 | then (_baseAssetPoolAmount + _baseAssetAmount) | |
228 | 228 | else (_baseAssetPoolAmount - _baseAssetAmount) | |
229 | 229 | let quoteAssetAfter = divd(k, baseAssetPoolAmountAfter) | |
230 | 230 | let quoteAssetSold = abs((quoteAssetAfter - _quoteAssetPoolAmount)) | |
231 | 231 | let $t068687067 = updateReserve(!(_add), quoteAssetSold, _baseAssetAmount) | |
232 | 232 | let qtAstRAfter1 = $t068687067._1 | |
233 | 233 | let bsAstRAfter1 = $t068687067._2 | |
234 | 234 | let baseAsstFndDeltAfter1 = $t068687067._3 | |
235 | 235 | let totalPositionSizeAfter1 = $t068687067._4 | |
236 | 236 | let cumulativeNotionalAfter1 = $t068687067._5 | |
237 | 237 | $Tuple6(quoteAssetSold, qtAstRAfter1, bsAstRAfter1, baseAsstFndDeltAfter1, totalPositionSizeAfter1, cumulativeNotionalAfter1) | |
238 | 238 | } | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func getPositionNotionalAndUnrealizedPnl (_trader) = { | |
242 | 242 | let $t073057416 = getPosition(_trader) | |
243 | 243 | let positionSize = $t073057416._1 | |
244 | 244 | let positionMargin = $t073057416._2 | |
245 | 245 | let pon = $t073057416._3 | |
246 | 246 | let positionLstUpdCPF = $t073057416._4 | |
247 | 247 | let positionSizeAbs = abs(positionSize) | |
248 | 248 | if ((positionSizeAbs == 0)) | |
249 | 249 | then throw("Invalid position size") | |
250 | 250 | else { | |
251 | 251 | let isShort = (0 > positionSize) | |
252 | 252 | let $t075937743 = getOutputPriceWithReserves(!(isShort), positionSizeAbs, qtAstR(), bsAstR()) | |
253 | 253 | let positionNotional = $t075937743._1 | |
254 | 254 | let x1 = $t075937743._2 | |
255 | 255 | let x2 = $t075937743._3 | |
256 | 256 | let x3 = $t075937743._4 | |
257 | 257 | let unrealizedPnl = if (isShort) | |
258 | 258 | then (pon - positionNotional) | |
259 | 259 | else (positionNotional - pon) | |
260 | 260 | $Tuple2(positionNotional, unrealizedPnl) | |
261 | 261 | } | |
262 | 262 | } | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func getOracleTwapPrice () = { | |
266 | 266 | let oracle = valueOrErrorMessage(addressFromString(getStringValue(this, k_ora)), "") | |
267 | 267 | let priceKey = getStringValue(this, k_ora_key) | |
268 | 268 | getIntegerValue(oracle, priceKey) | |
269 | 269 | } | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func getTwapSpotPrice () = divd(qtAstR(), bsAstR()) | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func getMarginRatio (_trader) = { | |
276 | 276 | let $t082538364 = getPosition(_trader) | |
277 | 277 | let positionSize = $t082538364._1 | |
278 | 278 | let positionMargin = $t082538364._2 | |
279 | 279 | let pon = $t082538364._3 | |
280 | 280 | let positionLstUpdCPF = $t082538364._4 | |
281 | 281 | let $t083708454 = getPositionNotionalAndUnrealizedPnl(_trader) | |
282 | 282 | let positionNotional = $t083708454._1 | |
283 | 283 | let unrealizedPnl = $t083708454._2 | |
284 | 284 | let $t084598625 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl) | |
285 | 285 | let remainMargin = $t084598625._1 | |
286 | 286 | let badDebt = $t084598625._2 | |
287 | 287 | divd((remainMargin - badDebt), positionNotional) | |
288 | 288 | } | |
289 | 289 | ||
290 | 290 | ||
291 | 291 | func internalClosePosition (_trader) = { | |
292 | 292 | let $t087328843 = getPosition(_trader) | |
293 | 293 | let positionSize = $t087328843._1 | |
294 | 294 | let positionMargin = $t087328843._2 | |
295 | 295 | let pon = $t087328843._3 | |
296 | 296 | let positionLstUpdCPF = $t087328843._4 | |
297 | 297 | let $t088498919 = getPositionNotionalAndUnrealizedPnl(_trader) | |
298 | 298 | let x1 = $t088498919._1 | |
299 | 299 | let unrealizedPnl = $t088498919._2 | |
300 | 300 | let $t089249096 = calcRemainMarginWithFundingPayment(positionSize, positionMargin, positionLstUpdCPF, unrealizedPnl) | |
301 | 301 | let remainMargin = $t089249096._1 | |
302 | 302 | let badDebt = $t089249096._2 | |
303 | 303 | let x2 = $t089249096._3 | |
304 | 304 | let exchangedPositionSize = -(positionSize) | |
305 | 305 | let realizedPnl = unrealizedPnl | |
306 | 306 | let marginToVault = -(remainMargin) | |
307 | 307 | let $t092239530 = getOutputPriceWithReserves((positionSize > 0), abs(positionSize), qtAstR(), bsAstR()) | |
308 | 308 | let exchangedQuoteAssetAmount = $t092239530._1 | |
309 | 309 | let quoteAssetReserveAfter = $t092239530._2 | |
310 | 310 | let bsAstRAfter = $t092239530._3 | |
311 | 311 | let baseAsstFndDeltAfter = $t092239530._4 | |
312 | 312 | let totalPositionSizeAfter = $t092239530._5 | |
313 | 313 | let cumulativeNotionalAfter = $t092239530._6 | |
314 | 314 | let openInteresetNotionalAfter = (openInteresetNotional() - pon) | |
315 | 315 | $Tuple11(exchangedPositionSize, badDebt, realizedPnl, marginToVault, quoteAssetReserveAfter, bsAstRAfter, baseAsstFndDeltAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInteresetNotionalAfter, exchangedQuoteAssetAmount) | |
316 | 316 | } | |
317 | 317 | ||
318 | 318 | ||
319 | 319 | func updateSettings (_initMarginRatio,_mmr,_liquidationFeeRatio,_fundingPeriod,_fee) = [IntegerEntry(k_initMarginRatio, _initMarginRatio), IntegerEntry(k_mmr, _mmr), IntegerEntry(k_liquidationFeeRatio, _liquidationFeeRatio), IntegerEntry(k_fundingPeriod, _fundingPeriod), IntegerEntry(k_fee, _fee)] | |
320 | 320 | ||
321 | 321 | ||
322 | 322 | func updateFunding (_baseADTFP,_nextFundingBlock,_latestCPF,_fundingRate) = [IntegerEntry(k_baseAsstFndDelt, _baseADTFP), IntegerEntry(k_nextFundingBlock, _nextFundingBlock), IntegerEntry(k_latestCPF, _latestCPF), IntegerEntry(k_fundingRate, _fundingRate)] | |
323 | 323 | ||
324 | 324 | ||
325 | 325 | func updatePosition (_address,_size,_margin,_openNotinal,_LstUpdCPF) = [IntegerEntry(toCompositeKey(k_positionSize, _address), _size), IntegerEntry(toCompositeKey(k_positionMargin, _address), _margin), IntegerEntry(toCompositeKey(k_pon, _address), _openNotinal), IntegerEntry(toCompositeKey(k_positionLstUpdCPF, _address), _LstUpdCPF)] | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | func updateAmm (_qtAstR,_bsAstR,_baseAsstFndDeltAfter,_totalPositionSizeAfter,_cumulativeNotionalAfter,_openInteresetNotional) = [IntegerEntry(k_qtAstR, _qtAstR), IntegerEntry(k_bsAstR, _bsAstR), IntegerEntry(k_baseAsstFndDelt, _baseAsstFndDeltAfter), IntegerEntry(k_totalPositionSize, _totalPositionSizeAfter), IntegerEntry(k_cumulativeNotional, _cumulativeNotionalAfter), IntegerEntry(k_openInteresetNotional, _openInteresetNotional)] | |
329 | 329 | ||
330 | 330 | ||
331 | 331 | func deletePosition (_address) = [DeleteEntry(toCompositeKey(k_positionSize, _address)), DeleteEntry(toCompositeKey(k_positionMargin, _address)), DeleteEntry(toCompositeKey(k_pon, _address)), DeleteEntry(toCompositeKey(k_positionLstUpdCPF, _address))] | |
332 | 332 | ||
333 | 333 | ||
334 | 334 | func withdraw (_address,_amount) = { | |
335 | 335 | let balance = assetBalance(this, USDN) | |
336 | 336 | if ((_amount > balance)) | |
337 | 337 | then throw(((("Unable to withdraw " + toString(_amount)) + " from contract balance ") + toString(balance))) | |
338 | 338 | else [ScriptTransfer(_address, _amount, USDN)] | |
339 | 339 | } | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | func writeConstants () = [StringEntry("ADMIN_ADDRESS", toString(ADMIN_ADDRESS)), StringEntry("USDN", toBase58String(USDN)), StringEntry("USDN_STAKING", toString(USDN_STAKING))] | |
343 | 343 | ||
344 | 344 | ||
345 | 345 | func upblc (i) = if ((0 > i)) | |
346 | 346 | then throw("Balance") | |
347 | 347 | else [IntegerEntry(k_balance, i)] | |
348 | 348 | ||
349 | 349 | ||
350 | 350 | func transferFee (i) = [ScriptTransfer(FEES_ACCOUNT, i, USDN)] | |
351 | 351 | ||
352 | 352 | ||
353 | 353 | @Callable(i) | |
354 | 354 | func initialize (_qtAstR,_bsAstR,_fundingPeriod,_initMarginRatio,_mmr,_liquidationFeeRatio,_fee,_oracle,_oracleKey) = if (if (if (if (if (if (if (if ((0 >= _qtAstR)) | |
355 | 355 | then true | |
356 | 356 | else (0 >= _bsAstR)) | |
357 | 357 | then true | |
358 | 358 | else (0 >= _fundingPeriod)) | |
359 | 359 | then true | |
360 | 360 | else (0 >= _initMarginRatio)) | |
361 | 361 | then true | |
362 | 362 | else (0 >= _mmr)) | |
363 | 363 | then true | |
364 | 364 | else (0 >= _liquidationFeeRatio)) | |
365 | 365 | then true | |
366 | 366 | else (i.caller != ADMIN_ADDRESS)) | |
367 | 367 | then true | |
368 | 368 | else initialized()) | |
369 | 369 | then throw("Invalid initialize parameters") | |
370 | 370 | else (((((updateAmm(_qtAstR, _bsAstR, 0, 0, 0, 0) ++ updateSettings(_initMarginRatio, _mmr, _liquidationFeeRatio, _fundingPeriod, _fee)) ++ updateFunding(0, (lastBlock.timestamp + _fundingPeriod), 0, 0)) ++ upblc(0)) ++ writeConstants()) ++ [BooleanEntry(k_initialized, true), StringEntry(k_ora, _oracle), StringEntry(k_ora_key, _oracleKey)]) | |
371 | 371 | ||
372 | 372 | ||
373 | 373 | ||
374 | 374 | @Callable(i) | |
375 | 375 | func decreasePosition (_direction,_amount,_leverage,_minBaseAssetAmount) = if (if (if (if (if (if ((_direction != DIR_LONG)) | |
376 | 376 | then (_direction != DIR_SHORT) | |
377 | 377 | else false) | |
378 | 378 | then true | |
379 | 379 | else (0 >= _amount)) | |
380 | 380 | then true | |
381 | 381 | else if (((1 * DECIMAL_UNIT) > _leverage)) | |
382 | 382 | then true | |
383 | 383 | else (_leverage > (3 * DECIMAL_UNIT))) | |
384 | 384 | then true | |
385 | 385 | else !(initialized())) | |
386 | 386 | then true | |
387 | 387 | else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true))) | |
388 | 388 | then throw("Invalid decreasePosition parameters") | |
389 | 389 | else { | |
390 | 390 | let $t01392314075 = getPosition(toString(i.caller)) | |
391 | 391 | let oldPositionSize = $t01392314075._1 | |
392 | 392 | let oldPositionMargin = $t01392314075._2 | |
393 | 393 | let oldPositionOpenNotional = $t01392314075._3 | |
394 | 394 | let oldPositionLstUpdCPF = $t01392314075._4 | |
395 | 395 | let isNewPosition = (oldPositionSize == 0) | |
396 | 396 | let isSameDirection = if ((oldPositionSize > 0)) | |
397 | 397 | then (_direction == DIR_LONG) | |
398 | 398 | else (_direction == DIR_SHORT) | |
399 | 399 | let expandExisting = if (!(isNewPosition)) | |
400 | 400 | then isSameDirection | |
401 | 401 | else false | |
402 | 402 | let isAdd = (_direction == DIR_LONG) | |
403 | 403 | let $t01436417097 = if (if (isNewPosition) | |
404 | 404 | then true | |
405 | 405 | else expandExisting) | |
406 | 406 | then throw("Use increasePosition to open new or increase position") | |
407 | 407 | else { | |
408 | 408 | let openNotional = muld(_amount, _leverage) | |
409 | 409 | let $t01483214931 = getPositionNotionalAndUnrealizedPnl(toString(i.caller)) | |
410 | 410 | let oldPositionNotional = $t01483214931._1 | |
411 | 411 | let unrealizedPnl = $t01483214931._2 | |
412 | 412 | if ((oldPositionNotional > openNotional)) | |
413 | 413 | then { | |
414 | 414 | let $t01499315236 = swapInput(isAdd, openNotional) | |
415 | 415 | let exchangedPositionSize = $t01499315236._1 | |
416 | 416 | let qtAstRAfter = $t01499315236._2 | |
417 | 417 | let bsAstRAfter = $t01499315236._3 | |
418 | 418 | let baseAsstFndDeltAfter = $t01499315236._4 | |
419 | 419 | let totalPositionSizeAfter = $t01499315236._5 | |
420 | 420 | let cumulativeNotionalAfter = $t01499315236._6 | |
421 | 421 | let exchangedPositionSizeAbs = abs(exchangedPositionSize) | |
422 | 422 | if (if ((_minBaseAssetAmount != 0)) | |
423 | 423 | then (_minBaseAssetAmount > exchangedPositionSizeAbs) | |
424 | 424 | else false) | |
425 | 425 | then throw(((("Too little basse asset exchanged, got " + toString(exchangedPositionSizeAbs)) + " expected ") + toString(_minBaseAssetAmount))) | |
426 | 426 | else { | |
427 | 427 | let realizedPnl = if ((oldPositionSize != 0)) | |
428 | 428 | then divd(muld(unrealizedPnl, exchangedPositionSizeAbs), oldPositionSize) | |
429 | 429 | else 0 | |
430 | 430 | let $t01577716048 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, realizedPnl) | |
431 | 431 | let remainMargin = $t01577716048._1 | |
432 | 432 | let badDebt = $t01577716048._2 | |
433 | 433 | let fundingPayment = $t01577716048._3 | |
434 | 434 | let oldLatestCPF = $t01577716048._4 | |
435 | 435 | let exchangedQuoteAssetAmount = openNotional | |
436 | 436 | let unrealizedPnlAfter = (unrealizedPnl - realizedPnl) | |
437 | 437 | let remainOpenNotional = if ((oldPositionSize > 0)) | |
438 | 438 | then ((oldPositionNotional - exchangedQuoteAssetAmount) - unrealizedPnlAfter) | |
439 | 439 | else ((unrealizedPnlAfter + oldPositionNotional) - exchangedQuoteAssetAmount) | |
440 | 440 | $Tuple10((oldPositionSize + exchangedPositionSize), remainMargin, abs(remainOpenNotional), oldLatestCPF, bsAstRAfter, qtAstRAfter, baseAsstFndDeltAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInteresetNotional() - openNotional)) | |
441 | 441 | } | |
442 | 442 | } | |
443 | 443 | else throw("Close position first") | |
444 | 444 | } | |
445 | 445 | let newPositionSize = $t01436417097._1 | |
446 | 446 | let newPositionRemainMargin = $t01436417097._2 | |
447 | 447 | let newPosiionOpenNotional = $t01436417097._3 | |
448 | 448 | let newPositionLatestCPF = $t01436417097._4 | |
449 | 449 | let bsAstRAfter = $t01436417097._5 | |
450 | 450 | let qtAstRAfter = $t01436417097._6 | |
451 | 451 | let baseAsstFndDeltAfter = $t01436417097._7 | |
452 | 452 | let totalPositionSizeAfter = $t01436417097._8 | |
453 | 453 | let cumulativeNotionalAfter = $t01436417097._9 | |
454 | 454 | let openInteresetNotionalAfter = $t01436417097._10 | |
455 | 455 | (updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPosiionOpenNotional, newPositionLatestCPF) ++ updateAmm(qtAstRAfter, bsAstRAfter, baseAsstFndDeltAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInteresetNotionalAfter)) | |
456 | 456 | } | |
457 | 457 | ||
458 | 458 | ||
459 | 459 | ||
460 | 460 | @Callable(i) | |
461 | 461 | func increasePosition (_direction,_leverage,_minBaseAssetAmount) = { | |
462 | 462 | let _rawAmount = i.payments[0].amount | |
463 | 463 | if (if (if (if (if (if (if ((_direction != DIR_LONG)) | |
464 | 464 | then (_direction != DIR_SHORT) | |
465 | 465 | else false) | |
466 | 466 | then true | |
467 | 467 | else (0 >= _rawAmount)) | |
468 | 468 | then true | |
469 | 469 | else if (((1 * DECIMAL_UNIT) > _leverage)) | |
470 | 470 | then true | |
471 | 471 | else (_leverage > (3 * DECIMAL_UNIT))) | |
472 | 472 | then true | |
473 | 473 | else !(initialized())) | |
474 | 474 | then true | |
475 | 475 | else (i.payments[0].assetId != USDN)) | |
476 | 476 | then true | |
477 | 477 | else !(requireMoreMarginRatio(divd(DECIMAL_UNIT, _leverage), initMarginRatio(), true))) | |
478 | 478 | then throw("Invalid increasePosition parameters") | |
479 | 479 | else { | |
480 | 480 | let feeAmount = muld(_rawAmount, fee()) | |
481 | 481 | let _amount = (_rawAmount - feeAmount) | |
482 | 482 | let $t01807118223 = getPosition(toString(i.caller)) | |
483 | 483 | let oldPositionSize = $t01807118223._1 | |
484 | 484 | let oldPositionMargin = $t01807118223._2 | |
485 | 485 | let oldPositionOpenNotional = $t01807118223._3 | |
486 | 486 | let oldPositionLstUpdCPF = $t01807118223._4 | |
487 | 487 | let isNewPosition = (oldPositionSize == 0) | |
488 | 488 | let isSameDirection = if ((oldPositionSize > 0)) | |
489 | 489 | then (_direction == DIR_LONG) | |
490 | 490 | else (_direction == DIR_SHORT) | |
491 | 491 | let expandExisting = if (!(isNewPosition)) | |
492 | 492 | then isSameDirection | |
493 | 493 | else false | |
494 | 494 | let isAdd = (_direction == DIR_LONG) | |
495 | 495 | let $t01851220636 = if (if (isNewPosition) | |
496 | 496 | then true | |
497 | 497 | else expandExisting) | |
498 | 498 | then { | |
499 | 499 | let openNotional = muld(_amount, _leverage) | |
500 | 500 | let $t01889819113 = swapInput(isAdd, openNotional) | |
501 | 501 | let amountBaseAssetBought = $t01889819113._1 | |
502 | 502 | let qtAstRAfter = $t01889819113._2 | |
503 | 503 | let bsAstRAfter = $t01889819113._3 | |
504 | 504 | let baseAsstFndDeltAfter = $t01889819113._4 | |
505 | 505 | let totalPositionSizeAfter = $t01889819113._5 | |
506 | 506 | let cumulativeNotionalAfter = $t01889819113._6 | |
507 | 507 | if (if ((_minBaseAssetAmount != 0)) | |
508 | 508 | then (_minBaseAssetAmount > abs(amountBaseAssetBought)) | |
509 | 509 | else false) | |
510 | 510 | then throw(((("Limit error: " + toString(abs(amountBaseAssetBought))) + " < ") + toString(_minBaseAssetAmount))) | |
511 | 511 | else { | |
512 | 512 | let newPositionSize = (oldPositionSize + amountBaseAssetBought) | |
513 | 513 | let increaseMarginRequirement = divd(openNotional, _leverage) | |
514 | 514 | let $t01949419747 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, increaseMarginRequirement) | |
515 | 515 | let remainMargin = $t01949419747._1 | |
516 | 516 | let x1 = $t01949419747._2 | |
517 | 517 | let x2 = $t01949419747._3 | |
518 | 518 | let oldLatestCPF = $t01949419747._4 | |
519 | 519 | $Tuple10(newPositionSize, remainMargin, (oldPositionOpenNotional + openNotional), oldLatestCPF, bsAstRAfter, qtAstRAfter, baseAsstFndDeltAfter, totalPositionSizeAfter, cumulativeNotionalAfter, (openInteresetNotional() + openNotional)) | |
520 | 520 | } | |
521 | 521 | } | |
522 | 522 | else { | |
523 | 523 | let openNotional = muld(_amount, _leverage) | |
524 | 524 | let $t02034620445 = getPositionNotionalAndUnrealizedPnl(toString(i.caller)) | |
525 | 525 | let oldPositionNotional = $t02034620445._1 | |
526 | 526 | let unrealizedPnl = $t02034620445._2 | |
527 | 527 | if ((oldPositionNotional > openNotional)) | |
528 | 528 | then throw("Use decreasePosition to decrease position size") | |
529 | 529 | else throw("Close position first") | |
530 | 530 | } | |
531 | 531 | let newPositionSize = $t01851220636._1 | |
532 | 532 | let newPositionRemainMargin = $t01851220636._2 | |
533 | 533 | let newPosiionOpenNotional = $t01851220636._3 | |
534 | 534 | let newPositionLatestCPF = $t01851220636._4 | |
535 | 535 | let bsAstRAfter = $t01851220636._5 | |
536 | 536 | let qtAstRAfter = $t01851220636._6 | |
537 | 537 | let baseAsstFndDeltAfter = $t01851220636._7 | |
538 | 538 | let totalPositionSizeAfter = $t01851220636._8 | |
539 | 539 | let cumulativeNotionalAfter = $t01851220636._9 | |
540 | 540 | let openInteresetNotionalAfter = $t01851220636._10 | |
541 | 541 | let stake = invoke(USDN_STAKING, "lockNeutrino", nil, [AttachedPayment(USDN, _amount)]) | |
542 | 542 | if ((stake == stake)) | |
543 | 543 | then (((updatePosition(toString(i.caller), newPositionSize, newPositionRemainMargin, newPosiionOpenNotional, newPositionLatestCPF) ++ updateAmm(qtAstRAfter, bsAstRAfter, baseAsstFndDeltAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInteresetNotionalAfter)) ++ transferFee(feeAmount)) ++ upblc((cbalance() + _amount))) | |
544 | 544 | else throw("Strict value is not equal to itself.") | |
545 | 545 | } | |
546 | 546 | } | |
547 | 547 | ||
548 | 548 | ||
549 | 549 | ||
550 | 550 | @Callable(i) | |
551 | 551 | func addMargin () = { | |
552 | 552 | let _rawAmount = i.payments[0].amount | |
553 | 553 | if (if ((i.payments[0].assetId != USDN)) | |
554 | 554 | then true | |
555 | 555 | else !(requireOpenPosition(toString(i.caller)))) | |
556 | 556 | then throw("Invalid addMargin parameters") | |
557 | 557 | else { | |
558 | 558 | let feeAmount = muld(_rawAmount, fee()) | |
559 | 559 | let _amount = (_rawAmount - feeAmount) | |
560 | 560 | let $t02152221674 = getPosition(toString(i.caller)) | |
561 | 561 | let oldPositionSize = $t02152221674._1 | |
562 | 562 | let oldPositionMargin = $t02152221674._2 | |
563 | 563 | let oldPositionOpenNotional = $t02152221674._3 | |
564 | 564 | let oldPositionLstUpdCPF = $t02152221674._4 | |
565 | 565 | let stake = invoke(USDN_STAKING, "lockNeutrino", nil, [AttachedPayment(USDN, _amount)]) | |
566 | 566 | if ((stake == stake)) | |
567 | 567 | then ((updatePosition(toString(i.caller), oldPositionSize, (oldPositionMargin + i.payments[0].amount), oldPositionOpenNotional, oldPositionLstUpdCPF) ++ transferFee(feeAmount)) ++ upblc((cbalance() + _amount))) | |
568 | 568 | else throw("Strict value is not equal to itself.") | |
569 | 569 | } | |
570 | 570 | } | |
571 | 571 | ||
572 | 572 | ||
573 | 573 | ||
574 | 574 | @Callable(i) | |
575 | 575 | func removeMargin (_amount) = if (if ((0 >= _amount)) | |
576 | 576 | then true | |
577 | 577 | else !(requireOpenPosition(toString(i.caller)))) | |
578 | 578 | then throw("Invalid removeMargin parameters") | |
579 | 579 | else { | |
580 | 580 | let $t02226022412 = getPosition(toString(i.caller)) | |
581 | 581 | let oldPositionSize = $t02226022412._1 | |
582 | 582 | let oldPositionMargin = $t02226022412._2 | |
583 | 583 | let oldPositionOpenNotional = $t02226022412._3 | |
584 | 584 | let oldPositionLstUpdCPF = $t02226022412._4 | |
585 | 585 | let marginDelta = -(_amount) | |
586 | 586 | let $t02244922644 = calcRemainMarginWithFundingPayment(oldPositionSize, oldPositionMargin, oldPositionLstUpdCPF, marginDelta) | |
587 | 587 | let remainMargin = $t02244922644._1 | |
588 | 588 | let badDebt = $t02244922644._2 | |
589 | 589 | let x1 = $t02244922644._3 | |
590 | 590 | let latestCPF1 = $t02244922644._4 | |
591 | 591 | if ((badDebt != 0)) | |
592 | 592 | then throw("Invalid added margin amount") | |
593 | 593 | else { | |
594 | 594 | let unstake = invoke(USDN_STAKING, "unlockNeutrino", [_amount, toBase58String(USDN)], nil) | |
595 | 595 | if ((unstake == unstake)) | |
596 | 596 | then ((updatePosition(toString(i.caller), oldPositionSize, remainMargin, oldPositionOpenNotional, latestCPF1) ++ withdraw(i.caller, _amount)) ++ upblc((cbalance() - _amount))) | |
597 | 597 | else throw("Strict value is not equal to itself.") | |
598 | 598 | } | |
599 | 599 | } | |
600 | 600 | ||
601 | 601 | ||
602 | 602 | ||
603 | 603 | @Callable(i) | |
604 | 604 | func closePosition () = if (!(requireOpenPosition(toString(i.caller)))) | |
605 | 605 | then throw("Invalid closePosition parameters") | |
606 | 606 | else { | |
607 | 607 | let $t02329423626 = internalClosePosition(toString(i.caller)) | |
608 | 608 | let x1 = $t02329423626._1 | |
609 | 609 | let badDebt = $t02329423626._2 | |
610 | 610 | let realizedPnl = $t02329423626._3 | |
611 | 611 | let marginToVault = $t02329423626._4 | |
612 | 612 | let quoteAssetReserveAfter = $t02329423626._5 | |
613 | 613 | let bsAstRAfter = $t02329423626._6 | |
614 | 614 | let baseAsstFndDeltAfter = $t02329423626._7 | |
615 | 615 | let totalPositionSizeAfter = $t02329423626._8 | |
616 | 616 | let cumulativeNotionalAfter = $t02329423626._9 | |
617 | 617 | let openInteresetNotionalAfter = $t02329423626._10 | |
618 | 618 | if ((badDebt > 0)) | |
619 | 619 | then throw("Unable to close position with bad debt") | |
620 | 620 | else { | |
621 | 621 | let withdrawAmount = abs(marginToVault) | |
622 | 622 | let bd = (cbalance() - withdrawAmount) | |
623 | 623 | let $t02381923915 = if ((0 > bd)) | |
624 | 624 | then $Tuple2(0, abs(bd)) | |
625 | 625 | else $Tuple2(bd, 0) | |
626 | 626 | let nb = $t02381923915._1 | |
627 | 627 | let fromi = $t02381923915._2 | |
628 | 628 | let x = if ((fromi > 0)) | |
629 | 629 | then { | |
630 | 630 | let withdrawInsurance = invoke(INSURANCE_ADDRESS, "withdraw", [fromi], nil) | |
631 | 631 | if ((withdrawInsurance == withdrawInsurance)) | |
632 | 632 | then nil | |
633 | 633 | else throw("Strict value is not equal to itself.") | |
634 | 634 | } | |
635 | 635 | else nil | |
636 | 636 | if ((x == x)) | |
637 | 637 | then { | |
638 | 638 | let unstake = invoke(USDN_STAKING, "unlockNeutrino", [(withdrawAmount - fromi), toBase58String(USDN)], nil) | |
639 | 639 | if ((unstake == unstake)) | |
640 | 640 | then (((deletePosition(toString(i.caller)) ++ updateAmm(quoteAssetReserveAfter, bsAstRAfter, baseAsstFndDeltAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInteresetNotionalAfter)) ++ withdraw(i.caller, withdrawAmount)) ++ upblc(nb)) | |
641 | 641 | else throw("Strict value is not equal to itself.") | |
642 | 642 | } | |
643 | 643 | else throw("Strict value is not equal to itself.") | |
644 | 644 | } | |
645 | 645 | } | |
646 | 646 | ||
647 | 647 | ||
648 | 648 | ||
649 | 649 | @Callable(i) | |
650 | 650 | func liquidate (_trader) = if (if (!(requireMoreMarginRatio(getMarginRatio(_trader), mmr(), false))) | |
651 | 651 | then true | |
652 | 652 | else !(initialized())) | |
653 | 653 | then throw("Unable to liquidate") | |
654 | 654 | else { | |
655 | 655 | let $t02485325157 = internalClosePosition(_trader) | |
656 | 656 | let x1 = $t02485325157._1 | |
657 | 657 | let badDebt = $t02485325157._2 | |
658 | 658 | let x2 = $t02485325157._3 | |
659 | 659 | let marginToVault = $t02485325157._4 | |
660 | 660 | let quoteAssetReserveAfter = $t02485325157._5 | |
661 | 661 | let bsAstRAfter = $t02485325157._6 | |
662 | 662 | let baseAsstFndDeltAfter = $t02485325157._7 | |
663 | 663 | let totalPositionSizeAfter = $t02485325157._8 | |
664 | 664 | let cumulativeNotionalAfter = $t02485325157._9 | |
665 | 665 | let openInteresetNotionalAfter = $t02485325157._10 | |
666 | 666 | let exchangedQuoteAssetAmount = $t02485325157._11 | |
667 | 667 | let feeToLiquidator = (muld(exchangedQuoteAssetAmount, liquidationFeeRatio()) / 2) | |
668 | 668 | let $t02524725651 = if ((feeToLiquidator > marginToVault)) | |
669 | 669 | then $Tuple3((feeToLiquidator - marginToVault), marginToVault, ((badDebt + feeToLiquidator) - marginToVault)) | |
670 | 670 | else $Tuple3(0, (marginToVault - feeToLiquidator), badDebt) | |
671 | 671 | let liquidationBadDebt = $t02524725651._1 | |
672 | 672 | let remainMargin = $t02524725651._2 | |
673 | 673 | let totalBadDebt = $t02524725651._3 | |
674 | 674 | let bd = (cbalance() - feeToLiquidator) | |
675 | 675 | let $t02569925787 = if ((0 > bd)) | |
676 | 676 | then $Tuple2(0, abs(bd)) | |
677 | 677 | else $Tuple2(bd, 0) | |
678 | 678 | let nb = $t02569925787._1 | |
679 | 679 | let fromi = $t02569925787._2 | |
680 | 680 | let x = if ((fromi > 0)) | |
681 | 681 | then { | |
682 | 682 | let withdrawInsurance = invoke(INSURANCE_ADDRESS, "withdraw", [fromi], nil) | |
683 | 683 | if ((withdrawInsurance == withdrawInsurance)) | |
684 | 684 | then nil | |
685 | 685 | else throw("Strict value is not equal to itself.") | |
686 | 686 | } | |
687 | 687 | else nil | |
688 | 688 | if ((x == x)) | |
689 | 689 | then { | |
690 | 690 | let unstake = invoke(USDN_STAKING, "unlockNeutrino", [(feeToLiquidator - fromi), toBase58String(USDN)], nil) | |
691 | 691 | if ((unstake == unstake)) | |
692 | 692 | then (((deletePosition(_trader) ++ updateAmm(quoteAssetReserveAfter, bsAstRAfter, baseAsstFndDeltAfter, totalPositionSizeAfter, cumulativeNotionalAfter, openInteresetNotionalAfter)) ++ withdraw(i.caller, feeToLiquidator)) ++ upblc(nb)) | |
693 | 693 | else throw("Strict value is not equal to itself.") | |
694 | 694 | } | |
695 | 695 | else throw("Strict value is not equal to itself.") | |
696 | 696 | } | |
697 | 697 | ||
698 | 698 | ||
699 | 699 | ||
700 | 700 | @Callable(i) | |
701 | 701 | func payFunding () = { | |
702 | 702 | let fundingBlockTimestamp = nextFundingBlockTimestamp() | |
703 | 703 | if (if ((fundingBlockTimestamp > lastBlock.timestamp)) | |
704 | 704 | then true | |
705 | 705 | else !(initialized())) | |
706 | 706 | then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString(fundingBlockTimestamp))) | |
707 | 707 | else { | |
708 | 708 | let underlyingPrice = getOracleTwapPrice() | |
709 | 709 | let spotTwapPrice = getTwapSpotPrice() | |
710 | 710 | let premium = (spotTwapPrice - underlyingPrice) | |
711 | 711 | let premiumFraction = divd(muld(premium, fundingPeriodDecimal()), ONE_DAY) | |
712 | 712 | let totalTraderPositionSize = totalPositionSize() | |
713 | 713 | let ammFundingPaymentProfit = muld(premiumFraction, totalTraderPositionSize) | |
714 | 714 | let fundingAmount = abs(ammFundingPaymentProfit) | |
715 | 715 | if ((0 > ammFundingPaymentProfit)) | |
716 | 716 | then { | |
717 | 717 | let withdrawInsurance = invoke(INSURANCE_ADDRESS, "withdraw", [fundingAmount], nil) | |
718 | 718 | if ((withdrawInsurance == withdrawInsurance)) | |
719 | 719 | then { | |
720 | 720 | let stake = invoke(USDN_STAKING, "lockNeutrino", nil, [AttachedPayment(USDN, fundingAmount)]) | |
721 | 721 | if ((stake == stake)) | |
722 | 722 | then upblc((cbalance() + fundingAmount)) | |
723 | 723 | else throw("Strict value is not equal to itself.") | |
724 | 724 | } | |
725 | 725 | else throw("Strict value is not equal to itself.") | |
726 | 726 | } | |
727 | 727 | else ({ | |
728 | 728 | let unstake = invoke(USDN_STAKING, "unlockNeutrino", [fundingAmount, toBase58String(USDN)], nil) | |
729 | 729 | if ((unstake == unstake)) | |
730 | 730 | then { | |
731 | 731 | let depositInsurance = invoke(INSURANCE_ADDRESS, "deposit", nil, [AttachedPayment(USDN, fundingAmount)]) | |
732 | 732 | if ((depositInsurance == depositInsurance)) | |
733 | 733 | then upblc((cbalance() - fundingAmount)) | |
734 | 734 | else throw("Strict value is not equal to itself.") | |
735 | 735 | } | |
736 | 736 | else throw("Strict value is not equal to itself.") | |
737 | 737 | } ++ updateFunding(0, (fundingBlockTimestamp + fundingPeriodSeconds()), (latestCPF() + premiumFraction), divd(premiumFraction, underlyingPrice))) | |
738 | 738 | } | |
739 | 739 | } | |
740 | 740 | ||
741 | 741 | ||
742 | 742 | ||
743 | 743 | @Callable(i) | |
744 | 744 | func v_close (_trader) = { | |
745 | 745 | let $t02821428292 = internalClosePosition(_trader) | |
746 | 746 | let x1 = $t02821428292._1 | |
747 | 747 | let x2 = $t02821428292._2 | |
748 | 748 | let x3 = $t02821428292._3 | |
749 | 749 | let x4 = $t02821428292._4 | |
750 | 750 | let x5 = $t02821428292._5 | |
751 | 751 | let x6 = $t02821428292._6 | |
752 | 752 | let x7 = $t02821428292._7 | |
753 | 753 | let x8 = $t02821428292._8 | |
754 | 754 | let x9 = $t02821428292._9 | |
755 | 755 | let x10 = $t02821428292._10 | |
756 | 756 | throw(((s(x2) + s(x3)) + s(x4))) | |
757 | 757 | } | |
758 | 758 | ||
759 | 759 | ||
760 | 760 | @Verifier(tx) | |
761 | 761 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], ADMIN_PUBLIC_KEY) | |
762 | 762 |
github/deemru/w8io/026f985 73.70 ms ◑