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