tx · CJfPP9nTcmQhWTV9H5z8nbRrrhfbbzXGenHpoukSBZWk 3MxqS3CD3DRbyvyMLCLq3JoiSSi5qTuRMFd: -0.04600000 Waves 2022.06.28 13:03 [2116141] smart account 3MxqS3CD3DRbyvyMLCLq3JoiSSi5qTuRMFd > SELF 0.00000000 Waves
{ "type": 13, "id": "CJfPP9nTcmQhWTV9H5z8nbRrrhfbbzXGenHpoukSBZWk", "fee": 4600000, "feeAssetId": null, "timestamp": 1656410676560, "version": 2, "chainId": 84, "sender": "3MxqS3CD3DRbyvyMLCLq3JoiSSi5qTuRMFd", "senderPublicKey": "3JKx86V3GnbRtGTLNKaRKFkhb7v1aMTLpKMz28o43DE6", "proofs": [ "H7pJPv1LPvWdNzfmAbMBFBxRWDuG9GCbyD4KJqfnGmRuk7BGrjrMbyppTxxu1KcFNnp25YAaPEGdEJgmtnQR6tt" ], "script": "base64:AAIFAAAAAAAAAEUIAhIAEgASCQoHAQEBAQEBARIOCgwBAQEBAQEBCAgIAQESBgoEAQEBARIFCgMBAQESABIDCgEBEgASAwoBCBIAEgMKAQgAAABpAAAAAAlrX29yYV9rZXkCAAAACWtfb3JhX2tleQAAAAAFa19vcmECAAAABWtfb3JhAAAAAAlrX2JhbGFuY2UCAAAACWtfYmFsYW5jZQAAAAAOa19wb3NpdGlvblNpemUCAAAADmtfcG9zaXRpb25TaXplAAAAABBrX3Bvc2l0aW9uTWFyZ2luAgAAABBrX3Bvc2l0aW9uTWFyZ2luAAAAABZrX3Bvc2l0aW9uT3Blbk5vdGlvbmFsAgAAABZrX3Bvc2l0aW9uT3Blbk5vdGlvbmFsAAAAAC5rX3Bvc2l0aW9uTGFzdFVwZGF0ZWRDdW11bGF0aXZlUHJlbWl1bUZyYWN0aW9uAgAAABJrX3Bvc2l0aW9uRnJhY3Rpb24AAAAADWtfaW5pdGlhbGl6ZWQCAAAADWtfaW5pdGlhbGl6ZWQAAAAACGtfcGF1c2VkAgAAAAhrX3BhdXNlZAAAAAAFa19mZW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AAABcwAAAAEFAAAAAng0CQEAAAABcwAAAAEJAQAAAA5nZXRNYXJnaW5SYXRpbwAAAAEFAAAAB190cmFkZXIAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAkBAAAADmFkbWluUHVibGljS2V5AAAAAI/h53Q=", "height": 2116141, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6k3u1m9eQ9qmhJqpkwfX6KXEsDnZLfBztF2Rvw238Ht8 Next: 8wPJuhUvPX4ievTjioZtpy9cWoNCoquJADKrfpRjydjp Diff:
Old | New | Differences | |
---|---|---|---|
43 | 43 | ||
44 | 44 | let u = "k_twap" | |
45 | 45 | ||
46 | - | let v = "k_ | |
46 | + | let v = "k_baseAssetDelta" | |
47 | 47 | ||
48 | - | let w = "k_ | |
48 | + | let w = "k_latestPremiumFraction" | |
49 | 49 | ||
50 | - | let x = "k_ | |
50 | + | let x = "k_nextFundingBlockMinTimestamp" | |
51 | 51 | ||
52 | - | let y = "k_ | |
52 | + | let y = "k_fundingRate" | |
53 | 53 | ||
54 | - | let z = "k_ | |
54 | + | let z = "k_qtAstR" | |
55 | 55 | ||
56 | - | let A = "k_ | |
56 | + | let A = "k_bsAstR" | |
57 | 57 | ||
58 | - | let B = "k_ | |
58 | + | let B = "k_baseAssetDelta" | |
59 | 59 | ||
60 | - | let C = "k_ | |
60 | + | let C = "k_totalPositionSize" | |
61 | 61 | ||
62 | - | let D = "k_ | |
62 | + | let D = "k_cumulativeNotional" | |
63 | 63 | ||
64 | - | let E = "k_ | |
64 | + | let E = "k_openInteresetNotional" | |
65 | 65 | ||
66 | - | let F = "k_ | |
66 | + | let F = "k_coordinatorAddress" | |
67 | 67 | ||
68 | - | let G = "k_ | |
68 | + | let G = "k_insurance_address" | |
69 | 69 | ||
70 | - | let H = "k_admin_ | |
70 | + | let H = "k_admin_address" | |
71 | 71 | ||
72 | - | let I = "k_ | |
72 | + | let I = "k_admin_public_key" | |
73 | 73 | ||
74 | - | let J = "k_quote_ | |
74 | + | let J = "k_quote_asset" | |
75 | 75 | ||
76 | - | let K = "k_staking | |
76 | + | let K = "k_quote_staking" | |
77 | 77 | ||
78 | - | func L () = valueOrErrorMessage(addressFromString(getStringValue(this, E)), "Coordinator not set") | |
78 | + | let L = "k_staking_address" | |
79 | + | ||
80 | + | func M () = valueOrErrorMessage(addressFromString(getStringValue(this, F)), "Coordinator not set") | |
79 | 81 | ||
80 | 82 | ||
81 | - | func | |
83 | + | func N () = addressFromString(getStringValue(M(), H)) | |
82 | 84 | ||
83 | 85 | ||
84 | - | func | |
86 | + | func O () = fromBase58String(getStringValue(M(), I)) | |
85 | 87 | ||
86 | 88 | ||
87 | - | func | |
89 | + | func P () = fromBase58String(getStringValue(M(), J)) | |
88 | 90 | ||
89 | 91 | ||
90 | - | func | |
92 | + | func Q () = valueOrErrorMessage(addressFromString(getStringValue(M(), K)), "Quote assete staking not set") | |
91 | 93 | ||
92 | 94 | ||
93 | - | func | |
95 | + | func R () = valueOrErrorMessage(addressFromString(getStringValue(M(), L)), "Insurance not set") | |
94 | 96 | ||
95 | 97 | ||
96 | - | func | |
98 | + | func S () = valueOrErrorMessage(addressFromString(getStringValue(M(), G)), "Insurance not set") | |
97 | 99 | ||
98 | 100 | ||
99 | - | let | |
101 | + | let T = 1 | |
100 | 102 | ||
101 | - | let | |
103 | + | let U = 2 | |
102 | 104 | ||
103 | - | let | |
105 | + | let V = 60 | |
104 | 106 | ||
105 | - | let | |
107 | + | let W = 15 | |
106 | 108 | ||
107 | - | let | |
109 | + | let X = 1000 | |
108 | 110 | ||
109 | - | let | |
111 | + | let Y = (1 * (((((10 * 10) * 10) * 10) * 10) * 10)) | |
110 | 112 | ||
111 | - | let | |
113 | + | let Z = (86400 * Y) | |
112 | 114 | ||
113 | - | let | |
115 | + | let aa = 100 | |
114 | 116 | ||
115 | - | let | |
117 | + | let ab = 1 | |
116 | 118 | ||
117 | - | let | |
119 | + | let ac = 2 | |
118 | 120 | ||
119 | - | func | |
121 | + | func ad (ae) = (toString(ae) + ",") | |
120 | 122 | ||
121 | 123 | ||
122 | - | func | |
124 | + | func af (ae,ag) = fraction(ae, Y, ag, HALFEVEN) | |
123 | 125 | ||
124 | 126 | ||
125 | - | func | |
127 | + | func ah (ae,ag) = fraction(ae, ag, Y, HALFEVEN) | |
126 | 128 | ||
127 | 129 | ||
128 | - | func | |
129 | - | then | |
130 | - | else -( | |
130 | + | func ai (ae) = if ((ae > 0)) | |
131 | + | then ae | |
132 | + | else -(ae) | |
131 | 133 | ||
132 | 134 | ||
133 | - | func | |
135 | + | func aj (ak,al) = ((ak + "_") + al) | |
134 | 136 | ||
135 | 137 | ||
136 | - | func | |
137 | - | let | |
138 | - | if (if ( | |
139 | - | then (0 > | |
138 | + | func am (an,ao,ap) = { | |
139 | + | let aq = (an - ao) | |
140 | + | if (if (ap) | |
141 | + | then (0 > aq) | |
140 | 142 | else false) | |
141 | 143 | then throw("Invalid margin") | |
142 | - | else if (if (!( | |
143 | - | then ( | |
144 | + | else if (if (!(ap)) | |
145 | + | then (aq >= 0) | |
144 | 146 | else false) | |
145 | 147 | then throw("Invalid margin") | |
146 | 148 | else true | |
147 | 149 | } | |
148 | 150 | ||
149 | 151 | ||
150 | - | func | |
152 | + | func ar (as) = valueOrErrorMessage(getInteger(this, as), ("no value for " + as)) | |
151 | 153 | ||
152 | 154 | ||
153 | - | func | |
155 | + | func at () = ar(c) | |
154 | 156 | ||
155 | 157 | ||
156 | - | func | |
158 | + | func au () = ar(j) | |
157 | 159 | ||
158 | 160 | ||
159 | - | func | |
161 | + | func av () = ar(l) | |
160 | 162 | ||
161 | 163 | ||
162 | - | func | |
164 | + | func aw () = ar(z) | |
163 | 165 | ||
164 | 166 | ||
165 | - | func | |
167 | + | func ax () = ar(A) | |
166 | 168 | ||
167 | 169 | ||
168 | - | func | |
170 | + | func ay () = ar(v) | |
169 | 171 | ||
170 | 172 | ||
171 | - | func | |
173 | + | func az () = ar(C) | |
172 | 174 | ||
173 | 175 | ||
174 | - | func | |
176 | + | func aA () = ar(D) | |
175 | 177 | ||
176 | 178 | ||
177 | - | func | |
179 | + | func aB () = ar(w) | |
178 | 180 | ||
179 | 181 | ||
180 | - | func | |
182 | + | func aC () = ar(E) | |
181 | 183 | ||
182 | 184 | ||
183 | - | func | |
185 | + | func aD () = ar(x) | |
184 | 186 | ||
185 | 187 | ||
186 | - | func | |
188 | + | func aE () = ar(k) | |
187 | 189 | ||
188 | 190 | ||
189 | - | func | |
191 | + | func aF () = (aE() * Y) | |
190 | 192 | ||
191 | 193 | ||
192 | - | func | |
194 | + | func aG () = (aE() * X) | |
193 | 195 | ||
194 | 196 | ||
195 | - | func | |
197 | + | func aH () = ar(m) | |
196 | 198 | ||
197 | 199 | ||
198 | - | func | |
200 | + | func aI () = ar(n) | |
199 | 201 | ||
200 | 202 | ||
201 | - | func | |
203 | + | func aJ () = ar(o) | |
202 | 204 | ||
203 | 205 | ||
204 | - | func | |
206 | + | func aK () = ar(p) | |
205 | 207 | ||
206 | 208 | ||
207 | - | func | |
208 | - | let | |
209 | - | let | |
210 | - | if ($isInstanceOf( | |
209 | + | func aL (aM) = { | |
210 | + | let aN = getInteger(this, aj(d, aM)) | |
211 | + | let aO = aN | |
212 | + | if ($isInstanceOf(aO, "Int")) | |
211 | 213 | then { | |
212 | - | let | |
213 | - | $Tuple4( | |
214 | + | let aP = aO | |
215 | + | $Tuple4(aP, getIntegerValue(this, aj(e, aM)), getIntegerValue(this, aj(f, aM)), getIntegerValue(this, aj(g, aM))) | |
214 | 216 | } | |
215 | 217 | else $Tuple4(0, 0, 0, 0) | |
216 | 218 | } | |
217 | 219 | ||
218 | 220 | ||
219 | - | func | |
221 | + | func aQ (aR) = if ((aL(aR)._1 == 0)) | |
220 | 222 | then throw("No open position") | |
221 | 223 | else true | |
222 | 224 | ||
223 | 225 | ||
224 | - | func | |
226 | + | func aS () = valueOrElse(getBoolean(this, h), false) | |
225 | 227 | ||
226 | 228 | ||
227 | - | func | |
229 | + | func aT () = valueOrElse(getBoolean(this, i), false) | |
228 | 230 | ||
229 | 231 | ||
230 | - | func | |
232 | + | func aU (aV,aW,aX) = if (aV) | |
231 | 233 | then { | |
232 | - | let | |
233 | - | if ((0 >= | |
234 | + | let aY = (ax() - aX) | |
235 | + | if ((0 >= aY)) | |
234 | 236 | then throw("Tx lead to base asset reserve <= 0, revert") | |
235 | - | else $Tuple5(( | |
237 | + | else $Tuple5((aw() + aW), aY, (ay() - aX), (az() + aX), (aA() + aW)) | |
236 | 238 | } | |
237 | 239 | else { | |
238 | - | let | |
239 | - | if ((0 >= | |
240 | + | let aZ = (aw() - aW) | |
241 | + | if ((0 >= aZ)) | |
240 | 242 | then throw("Tx lead to base quote reserve <= 0, revert") | |
241 | - | else $Tuple5( | |
243 | + | else $Tuple5(aZ, (ax() + aX), (ay() + aX), (az() - aX), (aA() - aW)) | |
242 | 244 | } | |
243 | 245 | ||
244 | 246 | ||
245 | - | func aZ (aU,aV) = { | |
246 | - | let ba = av() | |
247 | + | func ba (aV,aW) = { | |
247 | 248 | let bb = aw() | |
248 | - | let bc = ae(ba, bb) | |
249 | - | let bd = ag(aV, bc) | |
250 | - | let ar = ag(ba, bb) | |
251 | - | let be = if (aU) | |
252 | - | then (ba + aV) | |
253 | - | else (ba - aV) | |
254 | - | let bf = ae(ar, be) | |
255 | - | let bg = ah((bf - bb)) | |
256 | - | let bh = if (aU) | |
257 | - | then bg | |
258 | - | else -(bg) | |
259 | - | let bi = ((bd - bg) / bd) | |
260 | - | let bj = aJ() | |
261 | - | if ((bi > bj)) | |
262 | - | then throw(((("Price impact " + toString(bi)) + " > max price impact ") + toString(bj))) | |
249 | + | let bc = ax() | |
250 | + | let bd = af(bb, bc) | |
251 | + | let be = ah(aW, bd) | |
252 | + | let as = ah(bb, bc) | |
253 | + | let bf = if (aV) | |
254 | + | then (bb + aW) | |
255 | + | else (bb - aW) | |
256 | + | let bg = af(as, bf) | |
257 | + | let bh = ai((bg - bc)) | |
258 | + | let bi = if (aV) | |
259 | + | then bh | |
260 | + | else -(bh) | |
261 | + | let bj = ((be - bh) / be) | |
262 | + | let bk = aK() | |
263 | + | if ((bj > bk)) | |
264 | + | then throw(((("Price impact " + toString(bj)) + " > max price impact ") + toString(bk))) | |
263 | 265 | else { | |
264 | - | let | |
265 | - | let | |
266 | - | let | |
267 | - | let | |
268 | - | let | |
269 | - | let | |
270 | - | $Tuple6( | |
266 | + | let bl = aU(aV, aW, bh) | |
267 | + | let bm = bl._1 | |
268 | + | let bn = bl._2 | |
269 | + | let bo = bl._3 | |
270 | + | let bp = bl._4 | |
271 | + | let bq = bl._5 | |
272 | + | $Tuple6(bi, bm, bn, bo, bp, bq) | |
271 | 273 | } | |
272 | 274 | } | |
273 | 275 | ||
274 | 276 | ||
275 | - | func | |
276 | - | let | |
277 | - | let | |
278 | - | then | |
277 | + | func br (bs,bt,bu,bv) = { | |
278 | + | let bw = aB() | |
279 | + | let bx = if ((bs != 0)) | |
280 | + | then ah((bw - bu), bs) | |
279 | 281 | else 0 | |
280 | - | let | |
281 | - | let | |
282 | - | then $Tuple2(0, | |
283 | - | else $Tuple2( | |
284 | - | let | |
285 | - | let | |
286 | - | $Tuple4( | |
282 | + | let by = ((bv - bx) + bt) | |
283 | + | let bz = if ((0 > by)) | |
284 | + | then $Tuple2(0, ai(by)) | |
285 | + | else $Tuple2(ai(by), 0) | |
286 | + | let bA = bz._1 | |
287 | + | let bB = bz._2 | |
288 | + | $Tuple4(bA, bB, bx, bw) | |
287 | 289 | } | |
288 | 290 | ||
289 | 291 | ||
290 | - | func | |
292 | + | func bC (bD,aX,bE,bF) = if ((aX == 0)) | |
291 | 293 | then throw("Invalid base asset amount") | |
292 | 294 | else { | |
293 | - | let | |
294 | - | let | |
295 | - | then ( | |
296 | - | else ( | |
297 | - | let | |
298 | - | let | |
299 | - | let | |
300 | - | let | |
301 | - | let | |
302 | - | let | |
303 | - | let | |
304 | - | let | |
305 | - | $Tuple6( | |
295 | + | let as = ah(bE, bF) | |
296 | + | let bG = if (bD) | |
297 | + | then (bF + aX) | |
298 | + | else (bF - aX) | |
299 | + | let bH = af(as, bG) | |
300 | + | let bI = ai((bH - bE)) | |
301 | + | let bJ = aU(!(bD), bI, aX) | |
302 | + | let bm = bJ._1 | |
303 | + | let bn = bJ._2 | |
304 | + | let bo = bJ._3 | |
305 | + | let bp = bJ._4 | |
306 | + | let bq = bJ._5 | |
307 | + | $Tuple6(bI, bm, bn, bo, bp, bq) | |
306 | 308 | } | |
307 | 309 | ||
308 | 310 | ||
309 | - | func bJ () = { | |
310 | - | let bK = valueOrErrorMessage(addressFromString(getStringValue(this, b)), "") | |
311 | - | let bL = getStringValue(this, a) | |
312 | - | getIntegerValue(bK, bL) | |
313 | - | } | |
314 | - | ||
315 | - | ||
316 | - | func bM () = { | |
317 | - | let ba = av() | |
318 | - | let bb = aw() | |
319 | - | ae(ba, bb) | |
311 | + | func bK () = { | |
312 | + | let bL = valueOrErrorMessage(addressFromString(getStringValue(this, b)), "") | |
313 | + | let bM = getStringValue(this, a) | |
314 | + | getIntegerValue(bL, bM) | |
320 | 315 | } | |
321 | 316 | ||
322 | 317 | ||
323 | 318 | func bN () = { | |
324 | - | let | |
325 | - | let | |
326 | - | ( | |
319 | + | let bb = aw() | |
320 | + | let bc = ax() | |
321 | + | af(bb, bc) | |
327 | 322 | } | |
328 | 323 | ||
329 | 324 | ||
330 | - | func bQ (aQ,bR) = { | |
331 | - | let bS = aK(aQ) | |
332 | - | let aO = bS._1 | |
333 | - | let bT = bS._2 | |
334 | - | let bU = bS._3 | |
335 | - | let bV = bS._4 | |
336 | - | let bW = ah(aO) | |
337 | - | if ((bW == 0)) | |
325 | + | func bO () = { | |
326 | + | let bP = bK() | |
327 | + | let bQ = bN() | |
328 | + | (af(ai((bP - bQ)), bP) > aJ()) | |
329 | + | } | |
330 | + | ||
331 | + | ||
332 | + | func bR (aR,bS) = { | |
333 | + | let bT = aL(aR) | |
334 | + | let aP = bT._1 | |
335 | + | let bU = bT._2 | |
336 | + | let bV = bT._3 | |
337 | + | let bW = bT._4 | |
338 | + | let bX = ai(aP) | |
339 | + | if ((bX == 0)) | |
338 | 340 | then throw("Invalid position size") | |
339 | 341 | else { | |
340 | - | let | |
341 | - | let | |
342 | + | let bY = (0 > aP) | |
343 | + | let bZ = if ((bS == ab)) | |
342 | 344 | then { | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | | |
345 | + | let ca = bC(!(bY), bX, aw(), ax()) | |
346 | + | let cb = ca._1 | |
347 | + | let cc = ca._2 | |
348 | + | let cd = ca._3 | |
349 | + | let ce = ca._4 | |
350 | + | cb | |
349 | 351 | } | |
350 | - | else ( | |
351 | - | let | |
352 | - | then ( | |
353 | - | else ( | |
354 | - | $Tuple2( | |
352 | + | else (bX * bK()) | |
353 | + | let cf = if (bY) | |
354 | + | then (bV - bZ) | |
355 | + | else (bZ - bV) | |
356 | + | $Tuple2(bZ, cf) | |
355 | 357 | } | |
356 | 358 | } | |
357 | 359 | ||
358 | 360 | ||
359 | - | func | |
360 | - | func | |
361 | + | func cg (aR,bS) = { | |
362 | + | func ch () = 0 | |
361 | 363 | ||
362 | - | let | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | let | |
367 | - | let | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | | |
364 | + | let ci = aL(aR) | |
365 | + | let aP = ci._1 | |
366 | + | let bU = ci._2 | |
367 | + | let cj = ci._3 | |
368 | + | let bW = ci._4 | |
369 | + | let ck = bR(aR, bS) | |
370 | + | let bZ = ck._1 | |
371 | + | let cf = ck._2 | |
372 | + | let cl = br(aP, bU, bW, cf) | |
373 | + | let bA = cl._1 | |
374 | + | let bB = cl._2 | |
375 | + | af((bA - bB), bZ) | |
374 | 376 | } | |
375 | 377 | ||
376 | 378 | ||
377 | - | func | |
379 | + | func cm (aR) = cg(aR, ab) | |
378 | 380 | ||
379 | 381 | ||
380 | - | func | |
381 | - | let | |
382 | - | let | |
383 | - | let | |
384 | - | let | |
385 | - | let | |
386 | - | let | |
387 | - | let | |
388 | - | let | |
389 | - | let | |
390 | - | let | |
391 | - | let | |
392 | - | let | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
396 | - | let | |
397 | - | let | |
398 | - | let | |
399 | - | let | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | $Tuple11( | |
382 | + | func cn (aR) = { | |
383 | + | let co = aL(aR) | |
384 | + | let aP = co._1 | |
385 | + | let bU = co._2 | |
386 | + | let cj = co._3 | |
387 | + | let bW = co._4 | |
388 | + | let cp = bR(aR, ab) | |
389 | + | let cc = cp._1 | |
390 | + | let cf = cp._2 | |
391 | + | let cq = br(aP, bU, bW, cf) | |
392 | + | let bA = cq._1 | |
393 | + | let bB = cq._2 | |
394 | + | let cd = cq._3 | |
395 | + | let cr = -(aP) | |
396 | + | let cs = cf | |
397 | + | let ct = -(bA) | |
398 | + | let cu = bC((aP > 0), ai(aP), aw(), ax()) | |
399 | + | let cv = cu._1 | |
400 | + | let bf = cu._2 | |
401 | + | let bg = cu._3 | |
402 | + | let cw = cu._4 | |
403 | + | let cx = cu._5 | |
404 | + | let cy = cu._6 | |
405 | + | let cz = (aC() - cj) | |
406 | + | $Tuple11(cr, bB, cs, ct, bf, bg, cw, cx, cy, cz, cv) | |
405 | 407 | } | |
406 | 408 | ||
407 | 409 | ||
408 | - | func | |
409 | - | let | |
410 | - | let | |
411 | - | let | |
412 | - | let | |
413 | - | func | |
414 | - | then ( | |
415 | - | else | |
410 | + | func cA () = { | |
411 | + | let cB = ((lastBlock.timestamp / 1000) / 60) | |
412 | + | let cC = (cB - W) | |
413 | + | let cD = valueOrElse(getString(this, q), "") | |
414 | + | let cE = split(cD, ",") | |
415 | + | func cF (cG,cH) = if ((cC >= parseIntValue(cH))) | |
416 | + | then (cG :+ parseIntValue(cH)) | |
417 | + | else cG | |
416 | 418 | ||
417 | - | let | |
418 | - | let | |
419 | - | let | |
420 | - | let | |
421 | - | func | |
422 | - | then | |
423 | - | else | |
419 | + | let cI = { | |
420 | + | let cJ = cE | |
421 | + | let cK = size(cJ) | |
422 | + | let cL = nil | |
423 | + | func cM (cN,cO) = if ((cO >= cK)) | |
424 | + | then cN | |
425 | + | else cF(cN, cJ[cO]) | |
424 | 426 | ||
425 | - | func | |
426 | - | then | |
427 | - | else throw("List size exceeds | |
427 | + | func cP (cN,cO) = if ((cO >= cK)) | |
428 | + | then cN | |
429 | + | else throw("List size exceeds 20") | |
428 | 430 | ||
429 | - | | |
431 | + | cP(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cL, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
430 | 432 | } | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
434 | - | let | |
435 | - | let | |
436 | - | let | |
437 | - | let | |
438 | - | let | |
439 | - | (( | |
433 | + | let cQ = max(cI) | |
434 | + | let cR = valueOrElse(getInteger(this, r), 0) | |
435 | + | let cS = valueOrElse(getInteger(this, ((s + "_") + toString(cR))), 0) | |
436 | + | let cT = valueOrElse(getInteger(this, ((t + "_") + toString(cR))), 0) | |
437 | + | let cU = (cS + ((cB - cR) * cT)) | |
438 | + | let cV = valueOrElse(getInteger(this, ((s + "_") + toString(cQ))), 0) | |
439 | + | let cW = valueOrElse(getInteger(this, ((t + "_") + toString(cQ))), 0) | |
440 | + | let cX = (cV + ((cC - cQ) * cW)) | |
441 | + | ((cU - cX) / W) | |
440 | 442 | } | |
441 | 443 | ||
442 | 444 | ||
443 | - | func | |
445 | + | func cY (cZ,da,db,dc,dd,de,df) = [IntegerEntry(l, cZ), IntegerEntry(m, da), IntegerEntry(n, db), IntegerEntry(k, dc), IntegerEntry(j, dd), IntegerEntry(o, de), IntegerEntry(p, df)] | |
444 | 446 | ||
445 | 447 | ||
446 | - | func | |
448 | + | func dg (dh,di,bw,dj) = [IntegerEntry(v, dh), IntegerEntry(x, di), IntegerEntry(w, bw), IntegerEntry(y, dj)] | |
447 | 449 | ||
448 | 450 | ||
449 | - | func | |
451 | + | func dk (al,dl,dm,dn,do) = [IntegerEntry(aj(d, al), dl), IntegerEntry(aj(e, al), dm), IntegerEntry(aj(f, al), dn), IntegerEntry(aj(g, al), do)] | |
450 | 452 | ||
451 | 453 | ||
452 | - | func | |
453 | - | let | |
454 | - | let | |
455 | - | if (( | |
454 | + | func dp (dq) = { | |
455 | + | let cB = ((lastBlock.timestamp / 1000) / 60) | |
456 | + | let dr = valueOrElse(getInteger(this, r), 0) | |
457 | + | if ((dr > cB)) | |
456 | 458 | then throw("TWAP out-of-order") | |
457 | 459 | else { | |
458 | - | let | |
459 | - | then | |
460 | - | else | |
461 | - | let | |
462 | - | let | |
463 | - | let | |
464 | - | then (removeByIndex( | |
465 | - | else ( | |
466 | - | let | |
467 | - | let | |
468 | - | let | |
469 | - | func | |
460 | + | let cR = if ((dr == 0)) | |
461 | + | then cB | |
462 | + | else dr | |
463 | + | let cD = valueOrElse(getString(this, q), "") | |
464 | + | let ds = split(cD, ",") | |
465 | + | let cE = if ((size(ds) > W)) | |
466 | + | then (removeByIndex(ds, 0) :+ toString(cB)) | |
467 | + | else (ds :+ toString(cB)) | |
468 | + | let dt = valueOrElse(getInteger(this, ((s + "_") + toString(dr))), 0) | |
469 | + | let du = valueOrElse(getInteger(this, ((t + "_") + toString(dr))), dq) | |
470 | + | let dv = (dt + ((cB - cR) * du)) | |
471 | + | func dw (cG,dx) = ((cG + dx) + ",") | |
470 | 472 | ||
471 | - | let | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
475 | - | func | |
476 | - | then | |
477 | - | else | |
473 | + | let dy = { | |
474 | + | let cJ = cE | |
475 | + | let cK = size(cJ) | |
476 | + | let cL = "" | |
477 | + | func cM (cN,cO) = if ((cO >= cK)) | |
478 | + | then cN | |
479 | + | else dw(cN, cJ[cO]) | |
478 | 480 | ||
479 | - | func | |
480 | - | then | |
481 | - | else throw("List size exceeds | |
481 | + | func cP (cN,cO) = if ((cO >= cK)) | |
482 | + | then cN | |
483 | + | else throw("List size exceeds 20") | |
482 | 484 | ||
483 | - | | |
485 | + | cP(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cL, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
484 | 486 | } | |
485 | - | let | |
486 | - | let | |
487 | - | then drop( | |
488 | - | else | |
489 | - | [IntegerEntry(((s + "_") + toString( | |
487 | + | let dz = dropRight(dy, 1) | |
488 | + | let dA = if ((take(dz, 1) == ",")) | |
489 | + | then drop(dz, 1) | |
490 | + | else dz | |
491 | + | [IntegerEntry(((s + "_") + toString(cB)), dv), IntegerEntry(((t + "_") + toString(cB)), dq), IntegerEntry(r, cB), StringEntry(q, dA)] | |
490 | 492 | } | |
491 | 493 | } | |
492 | 494 | ||
493 | 495 | ||
494 | - | func | |
496 | + | func dB (bb,bc,dC,dD,dE,dF) = ([IntegerEntry(z, bb), IntegerEntry(A, bc), IntegerEntry(v, dC), IntegerEntry(C, dD), IntegerEntry(D, dE), IntegerEntry(E, dF)] ++ dp(af(bb, bc))) | |
495 | 497 | ||
496 | 498 | ||
497 | - | func | |
499 | + | func dG (al) = [DeleteEntry(aj(d, al)), DeleteEntry(aj(e, al)), DeleteEntry(aj(f, al)), DeleteEntry(aj(g, al))] | |
498 | 500 | ||
499 | 501 | ||
500 | - | func | |
501 | - | let | |
502 | - | if (( | |
503 | - | then throw(((("Unable to withdraw " + toString( | |
504 | - | else [ScriptTransfer( | |
502 | + | func dH (al,dI) = { | |
503 | + | let dJ = assetBalance(this, P()) | |
504 | + | if ((dI > dJ)) | |
505 | + | then throw(((("Unable to withdraw " + toString(dI)) + " from contract balance ") + toString(dJ))) | |
506 | + | else [ScriptTransfer(al, dI, P())] | |
505 | 507 | } | |
506 | 508 | ||
507 | 509 | ||
508 | - | func | |
510 | + | func dK (dL) = if ((0 > dL)) | |
509 | 511 | then throw("Balance") | |
510 | - | else [IntegerEntry(c, | |
512 | + | else [IntegerEntry(c, dL)] | |
511 | 513 | ||
512 | 514 | ||
513 | - | func | |
515 | + | func dM (dL) = [ScriptTransfer(R(), dL, P())] | |
514 | 516 | ||
515 | 517 | ||
516 | - | @Callable( | |
517 | - | func pause () = if (( | |
518 | + | @Callable(dL) | |
519 | + | func pause () = if ((dL.caller != N())) | |
518 | 520 | then throw("Invalid togglePause params") | |
519 | 521 | else [BooleanEntry(i, true)] | |
520 | 522 | ||
521 | 523 | ||
522 | 524 | ||
523 | - | @Callable( | |
524 | - | func unpause () = if (( | |
525 | + | @Callable(dL) | |
526 | + | func unpause () = if ((dL.caller != N())) | |
525 | 527 | then throw("Invalid togglePause params") | |
526 | 528 | else [BooleanEntry(i, false)] | |
527 | 529 | ||
528 | 530 | ||
529 | 531 | ||
530 | - | @Callable( | |
531 | - | func changeSettings ( | |
532 | + | @Callable(dL) | |
533 | + | func changeSettings (cZ,da,db,dc,dd,de,df) = if ((dL.caller != N())) | |
532 | 534 | then throw("Invalid changeSettings params") | |
533 | - | else | |
535 | + | else cY(cZ, da, db, dc, dd, de, df) | |
534 | 536 | ||
535 | 537 | ||
536 | 538 | ||
537 | - | @Callable( | |
538 | - | func initialize ( | |
539 | + | @Callable(dL) | |
540 | + | func initialize (bb,bc,dc,cZ,da,db,dd,dN,dO,dP,de,df) = if (if (if (if (if (if (if (if (if (if ((0 >= bb)) | |
539 | 541 | then true | |
540 | - | else (0 >= bb)) | |
542 | + | else (0 >= bc)) | |
543 | + | then true | |
544 | + | else (0 >= dc)) | |
545 | + | then true | |
546 | + | else (0 >= cZ)) | |
541 | 547 | then true | |
542 | 548 | else (0 >= da)) | |
543 | 549 | then true | |
544 | - | else (0 >= cX)) | |
545 | - | then true | |
546 | - | else (0 >= cY)) | |
547 | - | then true | |
548 | - | else (0 >= cZ)) | |
549 | - | then true | |
550 | 550 | else (0 >= db)) | |
551 | - | then true | |
552 | - | else (0 >= dc)) | |
553 | 551 | then true | |
554 | 552 | else (0 >= dd)) | |
555 | 553 | then true | |
556 | - | else aR()) | |
554 | + | else (0 >= de)) | |
555 | + | then true | |
556 | + | else (0 >= df)) | |
557 | + | then true | |
558 | + | else aS()) | |
557 | 559 | then throw("Invalid initialize parameters") | |
558 | - | else (((( | |
560 | + | else ((((dB(bb, bc, 0, 0, 0, 0) ++ cY(cZ, da, db, dc, dd, de, df)) ++ dg(0, (lastBlock.timestamp + dc), 0, 0)) ++ dK(0)) ++ [BooleanEntry(h, true), StringEntry(b, dN), StringEntry(a, dO), StringEntry(F, dP)]) | |
559 | 561 | ||
560 | 562 | ||
561 | 563 | ||
562 | - | @Callable( | |
563 | - | func decreasePosition ( | |
564 | - | then ( | |
564 | + | @Callable(dL) | |
565 | + | func decreasePosition (dQ,dI,dR,dS) = if (if (if (if (if (if (if ((dQ != T)) | |
566 | + | then (dQ != U) | |
565 | 567 | else false) | |
566 | 568 | then true | |
567 | - | else (0 >= | |
569 | + | else (0 >= dI)) | |
568 | 570 | then true | |
569 | - | else if (((1 * | |
571 | + | else if (((1 * Y) > dR)) | |
570 | 572 | then true | |
571 | - | else ( | |
573 | + | else (dR > (3 * Y))) | |
572 | 574 | then true | |
573 | - | else !( | |
575 | + | else !(aS())) | |
574 | 576 | then true | |
575 | - | else !( | |
577 | + | else !(am(af(Y, dR), av(), true))) | |
576 | 578 | then true | |
577 | - | else | |
579 | + | else aT()) | |
578 | 580 | then throw("Invalid decreasePosition parameters") | |
579 | 581 | else { | |
580 | - | let | |
581 | - | let | |
582 | - | let | |
583 | - | let | |
584 | - | let | |
585 | - | let | |
586 | - | let | |
587 | - | then ( | |
588 | - | else ( | |
589 | - | let | |
590 | - | then | |
582 | + | let dT = aL(toString(dL.caller)) | |
583 | + | let dU = dT._1 | |
584 | + | let dV = dT._2 | |
585 | + | let dW = dT._3 | |
586 | + | let dX = dT._4 | |
587 | + | let dY = (dU == 0) | |
588 | + | let dZ = if ((dU > 0)) | |
589 | + | then (dQ == T) | |
590 | + | else (dQ == U) | |
591 | + | let ea = if (!(dY)) | |
592 | + | then dZ | |
591 | 593 | else false | |
592 | - | let | |
593 | - | let | |
594 | + | let eb = (dQ == T) | |
595 | + | let ec = if (if (dY) | |
594 | 596 | then true | |
595 | - | else | |
597 | + | else ea) | |
596 | 598 | then throw("Use increasePosition to open new or increase position") | |
597 | 599 | else { | |
598 | - | let | |
599 | - | let | |
600 | - | let | |
601 | - | let | |
602 | - | if (( | |
600 | + | let ed = ah(dI, dR) | |
601 | + | let ee = bR(toString(dL.caller), ab) | |
602 | + | let ef = ee._1 | |
603 | + | let cf = ee._2 | |
604 | + | if ((ef > ed)) | |
603 | 605 | then { | |
604 | - | let | |
605 | - | let | |
606 | - | let | |
607 | - | let | |
608 | - | let | |
609 | - | let | |
610 | - | let | |
611 | - | let | |
612 | - | if (if (( | |
613 | - | then ( | |
606 | + | let eg = ba(eb, ed) | |
607 | + | let cr = eg._1 | |
608 | + | let bf = eg._2 | |
609 | + | let bg = eg._3 | |
610 | + | let cw = eg._4 | |
611 | + | let cx = eg._5 | |
612 | + | let cy = eg._6 | |
613 | + | let eh = ai(cr) | |
614 | + | if (if ((dS != 0)) | |
615 | + | then (dS > eh) | |
614 | 616 | else false) | |
615 | - | then throw(((("Too little basse asset exchanged, got " + toString( | |
617 | + | then throw(((("Too little basse asset exchanged, got " + toString(eh)) + " expected ") + toString(dS))) | |
616 | 618 | else { | |
617 | - | let | |
618 | - | then | |
619 | + | let cs = if ((dU != 0)) | |
620 | + | then af(ah(cf, eh), dU) | |
619 | 621 | else 0 | |
620 | - | let | |
621 | - | let | |
622 | - | let | |
623 | - | let | |
624 | - | let | |
625 | - | let | |
626 | - | let | |
627 | - | let | |
628 | - | then (( | |
629 | - | else (( | |
630 | - | $Tuple10(( | |
622 | + | let ei = br(dU, dV, dX, cs) | |
623 | + | let bA = ei._1 | |
624 | + | let bB = ei._2 | |
625 | + | let bx = ei._3 | |
626 | + | let ej = ei._4 | |
627 | + | let cv = ed | |
628 | + | let ek = (cf - cs) | |
629 | + | let el = if ((dU > 0)) | |
630 | + | then ((ef - cv) - ek) | |
631 | + | else ((ek + ef) - cv) | |
632 | + | $Tuple10((dU + cr), bA, ai(el), ej, bg, bf, cw, cx, cy, (aC() - ed)) | |
631 | 633 | } | |
632 | 634 | } | |
633 | 635 | else throw("Close position first") | |
634 | 636 | } | |
635 | - | let | |
636 | - | let | |
637 | - | let | |
638 | - | let | |
639 | - | let | |
640 | - | let | |
641 | - | let | |
642 | - | let | |
643 | - | let | |
644 | - | let | |
645 | - | ( | |
637 | + | let em = ec._1 | |
638 | + | let en = ec._2 | |
639 | + | let eo = ec._3 | |
640 | + | let ep = ec._4 | |
641 | + | let bg = ec._5 | |
642 | + | let bf = ec._6 | |
643 | + | let cw = ec._7 | |
644 | + | let cx = ec._8 | |
645 | + | let cy = ec._9 | |
646 | + | let cz = ec._10 | |
647 | + | (dk(toString(dL.caller), em, en, eo, ep) ++ dB(bf, bg, cw, cx, cy, cz)) | |
646 | 648 | } | |
647 | 649 | ||
648 | 650 | ||
649 | 651 | ||
650 | - | @Callable( | |
651 | - | func increasePosition ( | |
652 | - | let | |
653 | - | if (if (if (if (if (if (if (if (( | |
654 | - | then ( | |
652 | + | @Callable(dL) | |
653 | + | func increasePosition (dQ,dR,dS) = { | |
654 | + | let eq = dL.payments[0].amount | |
655 | + | if (if (if (if (if (if (if (if ((dQ != T)) | |
656 | + | then (dQ != U) | |
655 | 657 | else false) | |
656 | 658 | then true | |
657 | - | else (0 >= | |
659 | + | else (0 >= eq)) | |
658 | 660 | then true | |
659 | - | else if (((1 * | |
661 | + | else if (((1 * Y) > dR)) | |
660 | 662 | then true | |
661 | - | else ( | |
663 | + | else (dR > (3 * Y))) | |
662 | 664 | then true | |
663 | - | else !( | |
665 | + | else !(aS())) | |
664 | 666 | then true | |
665 | - | else ( | |
667 | + | else (dL.payments[0].assetId != P())) | |
666 | 668 | then true | |
667 | - | else !( | |
669 | + | else !(am(af(Y, dR), av(), true))) | |
668 | 670 | then true | |
669 | - | else | |
671 | + | else aT()) | |
670 | 672 | then throw("Invalid increasePosition parameters") | |
671 | 673 | else { | |
672 | - | let | |
673 | - | let | |
674 | - | let | |
675 | - | let | |
676 | - | let | |
677 | - | let | |
678 | - | let | |
679 | - | let | |
680 | - | let | |
681 | - | then ( | |
682 | - | else ( | |
683 | - | let | |
684 | - | then | |
674 | + | let er = ah(eq, au()) | |
675 | + | let dI = (eq - er) | |
676 | + | let es = aL(toString(dL.caller)) | |
677 | + | let dU = es._1 | |
678 | + | let dV = es._2 | |
679 | + | let dW = es._3 | |
680 | + | let dX = es._4 | |
681 | + | let dY = (dU == 0) | |
682 | + | let dZ = if ((dU > 0)) | |
683 | + | then (dQ == T) | |
684 | + | else (dQ == U) | |
685 | + | let ea = if (!(dY)) | |
686 | + | then dZ | |
685 | 687 | else false | |
686 | - | let | |
687 | - | let | |
688 | + | let eb = (dQ == T) | |
689 | + | let et = if (if (dY) | |
688 | 690 | then true | |
689 | - | else | |
691 | + | else ea) | |
690 | 692 | then { | |
691 | - | let | |
692 | - | let | |
693 | - | let | |
694 | - | let | |
695 | - | let | |
696 | - | let | |
697 | - | let | |
698 | - | let | |
699 | - | if (if (( | |
700 | - | then ( | |
693 | + | let ed = ah(dI, dR) | |
694 | + | let eu = ba(eb, ed) | |
695 | + | let bi = eu._1 | |
696 | + | let bf = eu._2 | |
697 | + | let bg = eu._3 | |
698 | + | let cw = eu._4 | |
699 | + | let cx = eu._5 | |
700 | + | let cy = eu._6 | |
701 | + | if (if ((dS != 0)) | |
702 | + | then (dS > ai(bi)) | |
701 | 703 | else false) | |
702 | - | then throw(((("Limit error: " + toString( | |
704 | + | then throw(((("Limit error: " + toString(ai(bi))) + " < ") + toString(dS))) | |
703 | 705 | else { | |
704 | - | let | |
705 | - | let | |
706 | - | let | |
707 | - | let | |
708 | - | let | |
709 | - | let | |
710 | - | let | |
711 | - | $Tuple10( | |
706 | + | let em = (dU + bi) | |
707 | + | let ev = af(ed, dR) | |
708 | + | let ew = br(dU, dV, dX, ev) | |
709 | + | let bA = ew._1 | |
710 | + | let cc = ew._2 | |
711 | + | let cd = ew._3 | |
712 | + | let ej = ew._4 | |
713 | + | $Tuple10(em, bA, (dW + ed), ej, bg, bf, cw, cx, cy, (aC() + ed)) | |
712 | 714 | } | |
713 | 715 | } | |
714 | 716 | else { | |
715 | - | let | |
716 | - | let | |
717 | - | let | |
718 | - | let | |
719 | - | if (( | |
717 | + | let ed = ah(dI, dR) | |
718 | + | let ex = bR(toString(dL.caller), ab) | |
719 | + | let ef = ex._1 | |
720 | + | let cf = ex._2 | |
721 | + | if ((ef > ed)) | |
720 | 722 | then throw("Use decreasePosition to decrease position size") | |
721 | 723 | else throw("Close position first") | |
722 | 724 | } | |
723 | - | let | |
724 | - | let | |
725 | - | let | |
726 | - | let | |
727 | - | let | |
728 | - | let | |
729 | - | let | |
730 | - | let | |
731 | - | let | |
732 | - | let | |
733 | - | let | |
734 | - | let | |
735 | - | let | |
736 | - | if (( | |
725 | + | let em = et._1 | |
726 | + | let en = et._2 | |
727 | + | let eo = et._3 | |
728 | + | let ep = et._4 | |
729 | + | let bg = et._5 | |
730 | + | let bf = et._6 | |
731 | + | let cw = et._7 | |
732 | + | let cx = et._8 | |
733 | + | let cy = et._9 | |
734 | + | let cz = et._10 | |
735 | + | let ey = (er / 2) | |
736 | + | let ez = (er - ey) | |
737 | + | let eA = invoke(Q(), "lockNeutrinoSP", [toString(R()), aa], [AttachedPayment(P(), dI)]) | |
738 | + | if ((eA == eA)) | |
737 | 739 | then { | |
738 | - | let | |
739 | - | if (( | |
740 | - | then ((( | |
740 | + | let eB = invoke(S(), "deposit", nil, [AttachedPayment(P(), ez)]) | |
741 | + | if ((eB == eB)) | |
742 | + | then (((dk(toString(dL.caller), em, en, eo, ep) ++ dB(bf, bg, cw, cx, cy, cz)) ++ dM(ey)) ++ dK((at() + dI))) | |
741 | 743 | else throw("Strict value is not equal to itself.") | |
742 | 744 | } | |
743 | 745 | else throw("Strict value is not equal to itself.") | |
746 | 748 | ||
747 | 749 | ||
748 | 750 | ||
749 | - | @Callable( | |
751 | + | @Callable(dL) | |
750 | 752 | func addMargin () = { | |
751 | - | let | |
752 | - | if (if (if (if (( | |
753 | + | let eq = dL.payments[0].amount | |
754 | + | if (if (if (if ((dL.payments[0].assetId != P())) | |
753 | 755 | then true | |
754 | - | else !( | |
756 | + | else !(aQ(toString(dL.caller)))) | |
755 | 757 | then true | |
756 | - | else !( | |
758 | + | else !(aS())) | |
757 | 759 | then true | |
758 | - | else | |
760 | + | else aT()) | |
759 | 761 | then throw("Invalid addMargin parameters") | |
760 | 762 | else { | |
761 | - | let | |
762 | - | let | |
763 | - | let | |
764 | - | let | |
765 | - | let | |
766 | - | let | |
767 | - | let | |
768 | - | let | |
769 | - | let | |
770 | - | let | |
771 | - | if (( | |
763 | + | let er = ah(eq, au()) | |
764 | + | let dI = (eq - er) | |
765 | + | let eC = aL(toString(dL.caller)) | |
766 | + | let dU = eC._1 | |
767 | + | let dV = eC._2 | |
768 | + | let dW = eC._3 | |
769 | + | let dX = eC._4 | |
770 | + | let ey = (er / 2) | |
771 | + | let ez = (er - ey) | |
772 | + | let eA = invoke(Q(), "lockNeutrinoSP", [toString(R()), aa], [AttachedPayment(P(), dI)]) | |
773 | + | if ((eA == eA)) | |
772 | 774 | then { | |
773 | - | let | |
774 | - | if (( | |
775 | - | then (( | |
775 | + | let eB = invoke(S(), "deposit", nil, [AttachedPayment(P(), ez)]) | |
776 | + | if ((eB == eB)) | |
777 | + | then ((dk(toString(dL.caller), dU, (dV + dL.payments[0].amount), dW, dX) ++ dM(ey)) ++ dK((at() + dI))) | |
776 | 778 | else throw("Strict value is not equal to itself.") | |
777 | 779 | } | |
778 | 780 | else throw("Strict value is not equal to itself.") | |
781 | 783 | ||
782 | 784 | ||
783 | 785 | ||
784 | - | @Callable( | |
785 | - | func removeMargin ( | |
786 | + | @Callable(dL) | |
787 | + | func removeMargin (dI) = if (if (if (if ((0 >= dI)) | |
786 | 788 | then true | |
787 | - | else !( | |
789 | + | else !(aQ(toString(dL.caller)))) | |
788 | 790 | then true | |
789 | - | else !( | |
791 | + | else !(aS())) | |
790 | 792 | then true | |
791 | - | else | |
793 | + | else aT()) | |
792 | 794 | then throw("Invalid removeMargin parameters") | |
793 | 795 | else { | |
794 | - | let | |
795 | - | let | |
796 | - | let | |
797 | - | let | |
798 | - | let | |
799 | - | let | |
800 | - | let | |
801 | - | let | |
802 | - | let | |
803 | - | let | |
804 | - | let | |
805 | - | if (( | |
796 | + | let eD = aL(toString(dL.caller)) | |
797 | + | let dU = eD._1 | |
798 | + | let dV = eD._2 | |
799 | + | let dW = eD._3 | |
800 | + | let dX = eD._4 | |
801 | + | let eE = -(dI) | |
802 | + | let eF = br(dU, dV, dX, eE) | |
803 | + | let bA = eF._1 | |
804 | + | let bB = eF._2 | |
805 | + | let cc = eF._3 | |
806 | + | let eG = eF._4 | |
807 | + | if ((bB != 0)) | |
806 | 808 | then throw("Invalid added margin amount") | |
807 | 809 | else { | |
808 | - | let | |
809 | - | if (( | |
810 | - | then (( | |
810 | + | let eH = invoke(Q(), "unlockNeutrino", [dI, toBase58String(P())], nil) | |
811 | + | if ((eH == eH)) | |
812 | + | then ((dk(toString(dL.caller), dU, bA, dW, eG) ++ dH(dL.caller, dI)) ++ dK((at() - dI))) | |
811 | 813 | else throw("Strict value is not equal to itself.") | |
812 | 814 | } | |
813 | 815 | } | |
814 | 816 | ||
815 | 817 | ||
816 | 818 | ||
817 | - | @Callable( | |
818 | - | func closePosition () = if (if (if (!( | |
819 | + | @Callable(dL) | |
820 | + | func closePosition () = if (if (if (!(aQ(toString(dL.caller)))) | |
819 | 821 | then true | |
820 | - | else !( | |
822 | + | else !(aS())) | |
821 | 823 | then true | |
822 | - | else | |
824 | + | else aT()) | |
823 | 825 | then throw("Invalid closePosition parameters") | |
824 | 826 | else { | |
825 | - | let | |
826 | - | let | |
827 | - | let | |
828 | - | let | |
829 | - | let | |
830 | - | let | |
831 | - | let | |
832 | - | let | |
833 | - | let | |
834 | - | let | |
835 | - | let | |
836 | - | if (( | |
827 | + | let eI = cn(toString(dL.caller)) | |
828 | + | let cc = eI._1 | |
829 | + | let bB = eI._2 | |
830 | + | let cs = eI._3 | |
831 | + | let ct = eI._4 | |
832 | + | let bf = eI._5 | |
833 | + | let bg = eI._6 | |
834 | + | let cw = eI._7 | |
835 | + | let cx = eI._8 | |
836 | + | let cy = eI._9 | |
837 | + | let cz = eI._10 | |
838 | + | if ((bB > 0)) | |
837 | 839 | then throw("Unable to close position with bad debt") | |
838 | 840 | else { | |
839 | - | let | |
840 | - | let | |
841 | - | let | |
842 | - | then $Tuple2(0, | |
843 | - | else $Tuple2( | |
844 | - | let | |
845 | - | let | |
846 | - | let | |
841 | + | let eJ = ai(ct) | |
842 | + | let eK = (at() - eJ) | |
843 | + | let eL = if ((0 > eK)) | |
844 | + | then $Tuple2(0, ai(eK)) | |
845 | + | else $Tuple2(eK, 0) | |
846 | + | let eM = eL._1 | |
847 | + | let eN = eL._2 | |
848 | + | let ch = if ((eN > 0)) | |
847 | 849 | then { | |
848 | - | let | |
849 | - | if (( | |
850 | + | let eO = invoke(S(), "withdraw", [eN], nil) | |
851 | + | if ((eO == eO)) | |
850 | 852 | then nil | |
851 | 853 | else throw("Strict value is not equal to itself.") | |
852 | 854 | } | |
853 | 855 | else nil | |
854 | - | if (( | |
856 | + | if ((ch == ch)) | |
855 | 857 | then { | |
856 | - | let | |
857 | - | if (( | |
858 | - | then ((( | |
858 | + | let eH = invoke(Q(), "unlockNeutrino", [(eJ - eN), toBase58String(P())], nil) | |
859 | + | if ((eH == eH)) | |
860 | + | then (((dG(toString(dL.caller)) ++ dB(bf, bg, cw, cx, cy, cz)) ++ dH(dL.caller, eJ)) ++ dK(eM)) | |
859 | 861 | else throw("Strict value is not equal to itself.") | |
860 | 862 | } | |
861 | 863 | else throw("Strict value is not equal to itself.") | |
864 | 866 | ||
865 | 867 | ||
866 | 868 | ||
867 | - | @Callable( | |
868 | - | func liquidate ( | |
869 | - | let | |
870 | - | then | |
871 | - | else | |
872 | - | if (if (if (!( | |
869 | + | @Callable(dL) | |
870 | + | func liquidate (aR) = { | |
871 | + | let eP = if (bO()) | |
872 | + | then cg(aR, ac) | |
873 | + | else cg(aR, ab) | |
874 | + | if (if (if (!(am(eP, aH(), false))) | |
873 | 875 | then true | |
874 | - | else !( | |
876 | + | else !(aS())) | |
875 | 877 | then true | |
876 | - | else | |
878 | + | else aT()) | |
877 | 879 | then throw("Unable to liquidate") | |
878 | 880 | else { | |
879 | - | let | |
880 | - | let | |
881 | - | let | |
882 | - | let | |
883 | - | let | |
884 | - | let | |
885 | - | let | |
886 | - | let | |
887 | - | let | |
888 | - | let | |
889 | - | let | |
890 | - | let | |
891 | - | let | |
892 | - | let | |
893 | - | then $Tuple3(( | |
894 | - | else $Tuple3(0, ( | |
895 | - | let | |
896 | - | let | |
897 | - | let | |
898 | - | let | |
899 | - | let | |
900 | - | then $Tuple2(0, | |
901 | - | else $Tuple2( | |
902 | - | let | |
903 | - | let | |
904 | - | let | |
881 | + | let eQ = cn(aR) | |
882 | + | let cc = eQ._1 | |
883 | + | let bB = eQ._2 | |
884 | + | let cd = eQ._3 | |
885 | + | let ct = eQ._4 | |
886 | + | let bf = eQ._5 | |
887 | + | let bg = eQ._6 | |
888 | + | let cw = eQ._7 | |
889 | + | let cx = eQ._8 | |
890 | + | let cy = eQ._9 | |
891 | + | let cz = eQ._10 | |
892 | + | let cv = eQ._11 | |
893 | + | let eR = (ah(cv, aI()) / 2) | |
894 | + | let eS = if ((eR > ct)) | |
895 | + | then $Tuple3((eR - ct), ct, ((bB + eR) - ct)) | |
896 | + | else $Tuple3(0, (ct - eR), bB) | |
897 | + | let eT = eS._1 | |
898 | + | let bA = eS._2 | |
899 | + | let eU = eS._3 | |
900 | + | let eK = (at() - eR) | |
901 | + | let eV = if ((0 > eK)) | |
902 | + | then $Tuple2(0, ai(eK)) | |
903 | + | else $Tuple2(eK, 0) | |
904 | + | let eM = eV._1 | |
905 | + | let eN = eV._2 | |
906 | + | let ch = if ((eN > 0)) | |
905 | 907 | then { | |
906 | - | let | |
907 | - | if (( | |
908 | + | let eO = invoke(S(), "withdraw", [eN], nil) | |
909 | + | if ((eO == eO)) | |
908 | 910 | then nil | |
909 | 911 | else throw("Strict value is not equal to itself.") | |
910 | 912 | } | |
911 | 913 | else nil | |
912 | - | if (( | |
914 | + | if ((ch == ch)) | |
913 | 915 | then { | |
914 | - | let | |
915 | - | if (( | |
916 | - | then ((( | |
916 | + | let eH = invoke(Q(), "unlockNeutrino", [(eR - eN), toBase58String(P())], nil) | |
917 | + | if ((eH == eH)) | |
918 | + | then (((dG(aR) ++ dB(bf, bg, cw, cx, cy, cz)) ++ dH(dL.caller, eR)) ++ dK(eM)) | |
917 | 919 | else throw("Strict value is not equal to itself.") | |
918 | 920 | } | |
919 | 921 | else throw("Strict value is not equal to itself.") | |
922 | 924 | ||
923 | 925 | ||
924 | 926 | ||
925 | - | @Callable( | |
927 | + | @Callable(dL) | |
926 | 928 | func payFunding () = { | |
927 | - | let | |
928 | - | if (if (if (( | |
929 | + | let eW = aD() | |
930 | + | if (if (if ((eW > lastBlock.timestamp)) | |
929 | 931 | then true | |
930 | - | else !( | |
932 | + | else !(aS())) | |
931 | 933 | then true | |
932 | - | else | |
933 | - | then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString( | |
934 | + | else aT()) | |
935 | + | then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString(eW))) | |
934 | 936 | else { | |
935 | - | let | |
936 | - | let | |
937 | - | let | |
938 | - | let | |
939 | - | | |
937 | + | let eX = bK() | |
938 | + | let eY = cA() | |
939 | + | let eZ = (eY - eX) | |
940 | + | let fa = af(ah(eZ, aF()), Z) | |
941 | + | dg(0, (eW + aG()), (aB() + fa), af(fa, eX)) | |
940 | 942 | } | |
941 | 943 | } | |
942 | 944 | ||
943 | 945 | ||
944 | 946 | ||
945 | - | @Callable( | |
946 | - | func v_get ( | |
947 | - | let | |
948 | - | let | |
949 | - | let | |
950 | - | let | |
951 | - | let | |
952 | - | throw(((( | |
947 | + | @Callable(dL) | |
948 | + | func v_get (aR) = { | |
949 | + | let fb = cn(aR) | |
950 | + | let cc = fb._1 | |
951 | + | let cd = fb._2 | |
952 | + | let ce = fb._3 | |
953 | + | let fc = fb._4 | |
954 | + | throw((((ad(cd) + ad(ce)) + ad(fc)) + ad(cm(aR)))) | |
953 | 955 | } | |
954 | 956 | ||
955 | 957 | ||
956 | - | @Verifier( | |
957 | - | func | |
958 | + | @Verifier(fd) | |
959 | + | func fe () = sigVerify(fd.bodyBytes, fd.proofs[0], O()) | |
958 | 960 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "k_ora_key" | |
5 | 5 | ||
6 | 6 | let b = "k_ora" | |
7 | 7 | ||
8 | 8 | let c = "k_balance" | |
9 | 9 | ||
10 | 10 | let d = "k_positionSize" | |
11 | 11 | ||
12 | 12 | let e = "k_positionMargin" | |
13 | 13 | ||
14 | 14 | let f = "k_positionOpenNotional" | |
15 | 15 | ||
16 | 16 | let g = "k_positionFraction" | |
17 | 17 | ||
18 | 18 | let h = "k_initialized" | |
19 | 19 | ||
20 | 20 | let i = "k_paused" | |
21 | 21 | ||
22 | 22 | let j = "k_fee" | |
23 | 23 | ||
24 | 24 | let k = "k_fundingPeriod" | |
25 | 25 | ||
26 | 26 | let l = "k_initMarginRatio" | |
27 | 27 | ||
28 | 28 | let m = "k_mmr" | |
29 | 29 | ||
30 | 30 | let n = "k_liquidationFeeRatio" | |
31 | 31 | ||
32 | 32 | let o = "k_spreadLimit" | |
33 | 33 | ||
34 | 34 | let p = "k_maxPriceImpact" | |
35 | 35 | ||
36 | 36 | let q = "k_lastDataStr" | |
37 | 37 | ||
38 | 38 | let r = "k_lastMinuteId" | |
39 | 39 | ||
40 | 40 | let s = "k_twapDataLastCumulativePrice" | |
41 | 41 | ||
42 | 42 | let t = "k_twapDataLastPrice" | |
43 | 43 | ||
44 | 44 | let u = "k_twap" | |
45 | 45 | ||
46 | - | let v = "k_ | |
46 | + | let v = "k_baseAssetDelta" | |
47 | 47 | ||
48 | - | let w = "k_ | |
48 | + | let w = "k_latestPremiumFraction" | |
49 | 49 | ||
50 | - | let x = "k_ | |
50 | + | let x = "k_nextFundingBlockMinTimestamp" | |
51 | 51 | ||
52 | - | let y = "k_ | |
52 | + | let y = "k_fundingRate" | |
53 | 53 | ||
54 | - | let z = "k_ | |
54 | + | let z = "k_qtAstR" | |
55 | 55 | ||
56 | - | let A = "k_ | |
56 | + | let A = "k_bsAstR" | |
57 | 57 | ||
58 | - | let B = "k_ | |
58 | + | let B = "k_baseAssetDelta" | |
59 | 59 | ||
60 | - | let C = "k_ | |
60 | + | let C = "k_totalPositionSize" | |
61 | 61 | ||
62 | - | let D = "k_ | |
62 | + | let D = "k_cumulativeNotional" | |
63 | 63 | ||
64 | - | let E = "k_ | |
64 | + | let E = "k_openInteresetNotional" | |
65 | 65 | ||
66 | - | let F = "k_ | |
66 | + | let F = "k_coordinatorAddress" | |
67 | 67 | ||
68 | - | let G = "k_ | |
68 | + | let G = "k_insurance_address" | |
69 | 69 | ||
70 | - | let H = "k_admin_ | |
70 | + | let H = "k_admin_address" | |
71 | 71 | ||
72 | - | let I = "k_ | |
72 | + | let I = "k_admin_public_key" | |
73 | 73 | ||
74 | - | let J = "k_quote_ | |
74 | + | let J = "k_quote_asset" | |
75 | 75 | ||
76 | - | let K = "k_staking | |
76 | + | let K = "k_quote_staking" | |
77 | 77 | ||
78 | - | func L () = valueOrErrorMessage(addressFromString(getStringValue(this, E)), "Coordinator not set") | |
78 | + | let L = "k_staking_address" | |
79 | + | ||
80 | + | func M () = valueOrErrorMessage(addressFromString(getStringValue(this, F)), "Coordinator not set") | |
79 | 81 | ||
80 | 82 | ||
81 | - | func | |
83 | + | func N () = addressFromString(getStringValue(M(), H)) | |
82 | 84 | ||
83 | 85 | ||
84 | - | func | |
86 | + | func O () = fromBase58String(getStringValue(M(), I)) | |
85 | 87 | ||
86 | 88 | ||
87 | - | func | |
89 | + | func P () = fromBase58String(getStringValue(M(), J)) | |
88 | 90 | ||
89 | 91 | ||
90 | - | func | |
92 | + | func Q () = valueOrErrorMessage(addressFromString(getStringValue(M(), K)), "Quote assete staking not set") | |
91 | 93 | ||
92 | 94 | ||
93 | - | func | |
95 | + | func R () = valueOrErrorMessage(addressFromString(getStringValue(M(), L)), "Insurance not set") | |
94 | 96 | ||
95 | 97 | ||
96 | - | func | |
98 | + | func S () = valueOrErrorMessage(addressFromString(getStringValue(M(), G)), "Insurance not set") | |
97 | 99 | ||
98 | 100 | ||
99 | - | let | |
101 | + | let T = 1 | |
100 | 102 | ||
101 | - | let | |
103 | + | let U = 2 | |
102 | 104 | ||
103 | - | let | |
105 | + | let V = 60 | |
104 | 106 | ||
105 | - | let | |
107 | + | let W = 15 | |
106 | 108 | ||
107 | - | let | |
109 | + | let X = 1000 | |
108 | 110 | ||
109 | - | let | |
111 | + | let Y = (1 * (((((10 * 10) * 10) * 10) * 10) * 10)) | |
110 | 112 | ||
111 | - | let | |
113 | + | let Z = (86400 * Y) | |
112 | 114 | ||
113 | - | let | |
115 | + | let aa = 100 | |
114 | 116 | ||
115 | - | let | |
117 | + | let ab = 1 | |
116 | 118 | ||
117 | - | let | |
119 | + | let ac = 2 | |
118 | 120 | ||
119 | - | func | |
121 | + | func ad (ae) = (toString(ae) + ",") | |
120 | 122 | ||
121 | 123 | ||
122 | - | func | |
124 | + | func af (ae,ag) = fraction(ae, Y, ag, HALFEVEN) | |
123 | 125 | ||
124 | 126 | ||
125 | - | func | |
127 | + | func ah (ae,ag) = fraction(ae, ag, Y, HALFEVEN) | |
126 | 128 | ||
127 | 129 | ||
128 | - | func | |
129 | - | then | |
130 | - | else -( | |
130 | + | func ai (ae) = if ((ae > 0)) | |
131 | + | then ae | |
132 | + | else -(ae) | |
131 | 133 | ||
132 | 134 | ||
133 | - | func | |
135 | + | func aj (ak,al) = ((ak + "_") + al) | |
134 | 136 | ||
135 | 137 | ||
136 | - | func | |
137 | - | let | |
138 | - | if (if ( | |
139 | - | then (0 > | |
138 | + | func am (an,ao,ap) = { | |
139 | + | let aq = (an - ao) | |
140 | + | if (if (ap) | |
141 | + | then (0 > aq) | |
140 | 142 | else false) | |
141 | 143 | then throw("Invalid margin") | |
142 | - | else if (if (!( | |
143 | - | then ( | |
144 | + | else if (if (!(ap)) | |
145 | + | then (aq >= 0) | |
144 | 146 | else false) | |
145 | 147 | then throw("Invalid margin") | |
146 | 148 | else true | |
147 | 149 | } | |
148 | 150 | ||
149 | 151 | ||
150 | - | func | |
152 | + | func ar (as) = valueOrErrorMessage(getInteger(this, as), ("no value for " + as)) | |
151 | 153 | ||
152 | 154 | ||
153 | - | func | |
155 | + | func at () = ar(c) | |
154 | 156 | ||
155 | 157 | ||
156 | - | func | |
158 | + | func au () = ar(j) | |
157 | 159 | ||
158 | 160 | ||
159 | - | func | |
161 | + | func av () = ar(l) | |
160 | 162 | ||
161 | 163 | ||
162 | - | func | |
164 | + | func aw () = ar(z) | |
163 | 165 | ||
164 | 166 | ||
165 | - | func | |
167 | + | func ax () = ar(A) | |
166 | 168 | ||
167 | 169 | ||
168 | - | func | |
170 | + | func ay () = ar(v) | |
169 | 171 | ||
170 | 172 | ||
171 | - | func | |
173 | + | func az () = ar(C) | |
172 | 174 | ||
173 | 175 | ||
174 | - | func | |
176 | + | func aA () = ar(D) | |
175 | 177 | ||
176 | 178 | ||
177 | - | func | |
179 | + | func aB () = ar(w) | |
178 | 180 | ||
179 | 181 | ||
180 | - | func | |
182 | + | func aC () = ar(E) | |
181 | 183 | ||
182 | 184 | ||
183 | - | func | |
185 | + | func aD () = ar(x) | |
184 | 186 | ||
185 | 187 | ||
186 | - | func | |
188 | + | func aE () = ar(k) | |
187 | 189 | ||
188 | 190 | ||
189 | - | func | |
191 | + | func aF () = (aE() * Y) | |
190 | 192 | ||
191 | 193 | ||
192 | - | func | |
194 | + | func aG () = (aE() * X) | |
193 | 195 | ||
194 | 196 | ||
195 | - | func | |
197 | + | func aH () = ar(m) | |
196 | 198 | ||
197 | 199 | ||
198 | - | func | |
200 | + | func aI () = ar(n) | |
199 | 201 | ||
200 | 202 | ||
201 | - | func | |
203 | + | func aJ () = ar(o) | |
202 | 204 | ||
203 | 205 | ||
204 | - | func | |
206 | + | func aK () = ar(p) | |
205 | 207 | ||
206 | 208 | ||
207 | - | func | |
208 | - | let | |
209 | - | let | |
210 | - | if ($isInstanceOf( | |
209 | + | func aL (aM) = { | |
210 | + | let aN = getInteger(this, aj(d, aM)) | |
211 | + | let aO = aN | |
212 | + | if ($isInstanceOf(aO, "Int")) | |
211 | 213 | then { | |
212 | - | let | |
213 | - | $Tuple4( | |
214 | + | let aP = aO | |
215 | + | $Tuple4(aP, getIntegerValue(this, aj(e, aM)), getIntegerValue(this, aj(f, aM)), getIntegerValue(this, aj(g, aM))) | |
214 | 216 | } | |
215 | 217 | else $Tuple4(0, 0, 0, 0) | |
216 | 218 | } | |
217 | 219 | ||
218 | 220 | ||
219 | - | func | |
221 | + | func aQ (aR) = if ((aL(aR)._1 == 0)) | |
220 | 222 | then throw("No open position") | |
221 | 223 | else true | |
222 | 224 | ||
223 | 225 | ||
224 | - | func | |
226 | + | func aS () = valueOrElse(getBoolean(this, h), false) | |
225 | 227 | ||
226 | 228 | ||
227 | - | func | |
229 | + | func aT () = valueOrElse(getBoolean(this, i), false) | |
228 | 230 | ||
229 | 231 | ||
230 | - | func | |
232 | + | func aU (aV,aW,aX) = if (aV) | |
231 | 233 | then { | |
232 | - | let | |
233 | - | if ((0 >= | |
234 | + | let aY = (ax() - aX) | |
235 | + | if ((0 >= aY)) | |
234 | 236 | then throw("Tx lead to base asset reserve <= 0, revert") | |
235 | - | else $Tuple5(( | |
237 | + | else $Tuple5((aw() + aW), aY, (ay() - aX), (az() + aX), (aA() + aW)) | |
236 | 238 | } | |
237 | 239 | else { | |
238 | - | let | |
239 | - | if ((0 >= | |
240 | + | let aZ = (aw() - aW) | |
241 | + | if ((0 >= aZ)) | |
240 | 242 | then throw("Tx lead to base quote reserve <= 0, revert") | |
241 | - | else $Tuple5( | |
243 | + | else $Tuple5(aZ, (ax() + aX), (ay() + aX), (az() - aX), (aA() - aW)) | |
242 | 244 | } | |
243 | 245 | ||
244 | 246 | ||
245 | - | func aZ (aU,aV) = { | |
246 | - | let ba = av() | |
247 | + | func ba (aV,aW) = { | |
247 | 248 | let bb = aw() | |
248 | - | let bc = ae(ba, bb) | |
249 | - | let bd = ag(aV, bc) | |
250 | - | let ar = ag(ba, bb) | |
251 | - | let be = if (aU) | |
252 | - | then (ba + aV) | |
253 | - | else (ba - aV) | |
254 | - | let bf = ae(ar, be) | |
255 | - | let bg = ah((bf - bb)) | |
256 | - | let bh = if (aU) | |
257 | - | then bg | |
258 | - | else -(bg) | |
259 | - | let bi = ((bd - bg) / bd) | |
260 | - | let bj = aJ() | |
261 | - | if ((bi > bj)) | |
262 | - | then throw(((("Price impact " + toString(bi)) + " > max price impact ") + toString(bj))) | |
249 | + | let bc = ax() | |
250 | + | let bd = af(bb, bc) | |
251 | + | let be = ah(aW, bd) | |
252 | + | let as = ah(bb, bc) | |
253 | + | let bf = if (aV) | |
254 | + | then (bb + aW) | |
255 | + | else (bb - aW) | |
256 | + | let bg = af(as, bf) | |
257 | + | let bh = ai((bg - bc)) | |
258 | + | let bi = if (aV) | |
259 | + | then bh | |
260 | + | else -(bh) | |
261 | + | let bj = ((be - bh) / be) | |
262 | + | let bk = aK() | |
263 | + | if ((bj > bk)) | |
264 | + | then throw(((("Price impact " + toString(bj)) + " > max price impact ") + toString(bk))) | |
263 | 265 | else { | |
264 | - | let | |
265 | - | let | |
266 | - | let | |
267 | - | let | |
268 | - | let | |
269 | - | let | |
270 | - | $Tuple6( | |
266 | + | let bl = aU(aV, aW, bh) | |
267 | + | let bm = bl._1 | |
268 | + | let bn = bl._2 | |
269 | + | let bo = bl._3 | |
270 | + | let bp = bl._4 | |
271 | + | let bq = bl._5 | |
272 | + | $Tuple6(bi, bm, bn, bo, bp, bq) | |
271 | 273 | } | |
272 | 274 | } | |
273 | 275 | ||
274 | 276 | ||
275 | - | func | |
276 | - | let | |
277 | - | let | |
278 | - | then | |
277 | + | func br (bs,bt,bu,bv) = { | |
278 | + | let bw = aB() | |
279 | + | let bx = if ((bs != 0)) | |
280 | + | then ah((bw - bu), bs) | |
279 | 281 | else 0 | |
280 | - | let | |
281 | - | let | |
282 | - | then $Tuple2(0, | |
283 | - | else $Tuple2( | |
284 | - | let | |
285 | - | let | |
286 | - | $Tuple4( | |
282 | + | let by = ((bv - bx) + bt) | |
283 | + | let bz = if ((0 > by)) | |
284 | + | then $Tuple2(0, ai(by)) | |
285 | + | else $Tuple2(ai(by), 0) | |
286 | + | let bA = bz._1 | |
287 | + | let bB = bz._2 | |
288 | + | $Tuple4(bA, bB, bx, bw) | |
287 | 289 | } | |
288 | 290 | ||
289 | 291 | ||
290 | - | func | |
292 | + | func bC (bD,aX,bE,bF) = if ((aX == 0)) | |
291 | 293 | then throw("Invalid base asset amount") | |
292 | 294 | else { | |
293 | - | let | |
294 | - | let | |
295 | - | then ( | |
296 | - | else ( | |
297 | - | let | |
298 | - | let | |
299 | - | let | |
300 | - | let | |
301 | - | let | |
302 | - | let | |
303 | - | let | |
304 | - | let | |
305 | - | $Tuple6( | |
295 | + | let as = ah(bE, bF) | |
296 | + | let bG = if (bD) | |
297 | + | then (bF + aX) | |
298 | + | else (bF - aX) | |
299 | + | let bH = af(as, bG) | |
300 | + | let bI = ai((bH - bE)) | |
301 | + | let bJ = aU(!(bD), bI, aX) | |
302 | + | let bm = bJ._1 | |
303 | + | let bn = bJ._2 | |
304 | + | let bo = bJ._3 | |
305 | + | let bp = bJ._4 | |
306 | + | let bq = bJ._5 | |
307 | + | $Tuple6(bI, bm, bn, bo, bp, bq) | |
306 | 308 | } | |
307 | 309 | ||
308 | 310 | ||
309 | - | func bJ () = { | |
310 | - | let bK = valueOrErrorMessage(addressFromString(getStringValue(this, b)), "") | |
311 | - | let bL = getStringValue(this, a) | |
312 | - | getIntegerValue(bK, bL) | |
313 | - | } | |
314 | - | ||
315 | - | ||
316 | - | func bM () = { | |
317 | - | let ba = av() | |
318 | - | let bb = aw() | |
319 | - | ae(ba, bb) | |
311 | + | func bK () = { | |
312 | + | let bL = valueOrErrorMessage(addressFromString(getStringValue(this, b)), "") | |
313 | + | let bM = getStringValue(this, a) | |
314 | + | getIntegerValue(bL, bM) | |
320 | 315 | } | |
321 | 316 | ||
322 | 317 | ||
323 | 318 | func bN () = { | |
324 | - | let | |
325 | - | let | |
326 | - | ( | |
319 | + | let bb = aw() | |
320 | + | let bc = ax() | |
321 | + | af(bb, bc) | |
327 | 322 | } | |
328 | 323 | ||
329 | 324 | ||
330 | - | func bQ (aQ,bR) = { | |
331 | - | let bS = aK(aQ) | |
332 | - | let aO = bS._1 | |
333 | - | let bT = bS._2 | |
334 | - | let bU = bS._3 | |
335 | - | let bV = bS._4 | |
336 | - | let bW = ah(aO) | |
337 | - | if ((bW == 0)) | |
325 | + | func bO () = { | |
326 | + | let bP = bK() | |
327 | + | let bQ = bN() | |
328 | + | (af(ai((bP - bQ)), bP) > aJ()) | |
329 | + | } | |
330 | + | ||
331 | + | ||
332 | + | func bR (aR,bS) = { | |
333 | + | let bT = aL(aR) | |
334 | + | let aP = bT._1 | |
335 | + | let bU = bT._2 | |
336 | + | let bV = bT._3 | |
337 | + | let bW = bT._4 | |
338 | + | let bX = ai(aP) | |
339 | + | if ((bX == 0)) | |
338 | 340 | then throw("Invalid position size") | |
339 | 341 | else { | |
340 | - | let | |
341 | - | let | |
342 | + | let bY = (0 > aP) | |
343 | + | let bZ = if ((bS == ab)) | |
342 | 344 | then { | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | | |
345 | + | let ca = bC(!(bY), bX, aw(), ax()) | |
346 | + | let cb = ca._1 | |
347 | + | let cc = ca._2 | |
348 | + | let cd = ca._3 | |
349 | + | let ce = ca._4 | |
350 | + | cb | |
349 | 351 | } | |
350 | - | else ( | |
351 | - | let | |
352 | - | then ( | |
353 | - | else ( | |
354 | - | $Tuple2( | |
352 | + | else (bX * bK()) | |
353 | + | let cf = if (bY) | |
354 | + | then (bV - bZ) | |
355 | + | else (bZ - bV) | |
356 | + | $Tuple2(bZ, cf) | |
355 | 357 | } | |
356 | 358 | } | |
357 | 359 | ||
358 | 360 | ||
359 | - | func | |
360 | - | func | |
361 | + | func cg (aR,bS) = { | |
362 | + | func ch () = 0 | |
361 | 363 | ||
362 | - | let | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | let | |
367 | - | let | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let | |
373 | - | | |
364 | + | let ci = aL(aR) | |
365 | + | let aP = ci._1 | |
366 | + | let bU = ci._2 | |
367 | + | let cj = ci._3 | |
368 | + | let bW = ci._4 | |
369 | + | let ck = bR(aR, bS) | |
370 | + | let bZ = ck._1 | |
371 | + | let cf = ck._2 | |
372 | + | let cl = br(aP, bU, bW, cf) | |
373 | + | let bA = cl._1 | |
374 | + | let bB = cl._2 | |
375 | + | af((bA - bB), bZ) | |
374 | 376 | } | |
375 | 377 | ||
376 | 378 | ||
377 | - | func | |
379 | + | func cm (aR) = cg(aR, ab) | |
378 | 380 | ||
379 | 381 | ||
380 | - | func | |
381 | - | let | |
382 | - | let | |
383 | - | let | |
384 | - | let | |
385 | - | let | |
386 | - | let | |
387 | - | let | |
388 | - | let | |
389 | - | let | |
390 | - | let | |
391 | - | let | |
392 | - | let | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
396 | - | let | |
397 | - | let | |
398 | - | let | |
399 | - | let | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | $Tuple11( | |
382 | + | func cn (aR) = { | |
383 | + | let co = aL(aR) | |
384 | + | let aP = co._1 | |
385 | + | let bU = co._2 | |
386 | + | let cj = co._3 | |
387 | + | let bW = co._4 | |
388 | + | let cp = bR(aR, ab) | |
389 | + | let cc = cp._1 | |
390 | + | let cf = cp._2 | |
391 | + | let cq = br(aP, bU, bW, cf) | |
392 | + | let bA = cq._1 | |
393 | + | let bB = cq._2 | |
394 | + | let cd = cq._3 | |
395 | + | let cr = -(aP) | |
396 | + | let cs = cf | |
397 | + | let ct = -(bA) | |
398 | + | let cu = bC((aP > 0), ai(aP), aw(), ax()) | |
399 | + | let cv = cu._1 | |
400 | + | let bf = cu._2 | |
401 | + | let bg = cu._3 | |
402 | + | let cw = cu._4 | |
403 | + | let cx = cu._5 | |
404 | + | let cy = cu._6 | |
405 | + | let cz = (aC() - cj) | |
406 | + | $Tuple11(cr, bB, cs, ct, bf, bg, cw, cx, cy, cz, cv) | |
405 | 407 | } | |
406 | 408 | ||
407 | 409 | ||
408 | - | func | |
409 | - | let | |
410 | - | let | |
411 | - | let | |
412 | - | let | |
413 | - | func | |
414 | - | then ( | |
415 | - | else | |
410 | + | func cA () = { | |
411 | + | let cB = ((lastBlock.timestamp / 1000) / 60) | |
412 | + | let cC = (cB - W) | |
413 | + | let cD = valueOrElse(getString(this, q), "") | |
414 | + | let cE = split(cD, ",") | |
415 | + | func cF (cG,cH) = if ((cC >= parseIntValue(cH))) | |
416 | + | then (cG :+ parseIntValue(cH)) | |
417 | + | else cG | |
416 | 418 | ||
417 | - | let | |
418 | - | let | |
419 | - | let | |
420 | - | let | |
421 | - | func | |
422 | - | then | |
423 | - | else | |
419 | + | let cI = { | |
420 | + | let cJ = cE | |
421 | + | let cK = size(cJ) | |
422 | + | let cL = nil | |
423 | + | func cM (cN,cO) = if ((cO >= cK)) | |
424 | + | then cN | |
425 | + | else cF(cN, cJ[cO]) | |
424 | 426 | ||
425 | - | func | |
426 | - | then | |
427 | - | else throw("List size exceeds | |
427 | + | func cP (cN,cO) = if ((cO >= cK)) | |
428 | + | then cN | |
429 | + | else throw("List size exceeds 20") | |
428 | 430 | ||
429 | - | | |
431 | + | cP(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cL, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
430 | 432 | } | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
434 | - | let | |
435 | - | let | |
436 | - | let | |
437 | - | let | |
438 | - | let | |
439 | - | (( | |
433 | + | let cQ = max(cI) | |
434 | + | let cR = valueOrElse(getInteger(this, r), 0) | |
435 | + | let cS = valueOrElse(getInteger(this, ((s + "_") + toString(cR))), 0) | |
436 | + | let cT = valueOrElse(getInteger(this, ((t + "_") + toString(cR))), 0) | |
437 | + | let cU = (cS + ((cB - cR) * cT)) | |
438 | + | let cV = valueOrElse(getInteger(this, ((s + "_") + toString(cQ))), 0) | |
439 | + | let cW = valueOrElse(getInteger(this, ((t + "_") + toString(cQ))), 0) | |
440 | + | let cX = (cV + ((cC - cQ) * cW)) | |
441 | + | ((cU - cX) / W) | |
440 | 442 | } | |
441 | 443 | ||
442 | 444 | ||
443 | - | func | |
445 | + | func cY (cZ,da,db,dc,dd,de,df) = [IntegerEntry(l, cZ), IntegerEntry(m, da), IntegerEntry(n, db), IntegerEntry(k, dc), IntegerEntry(j, dd), IntegerEntry(o, de), IntegerEntry(p, df)] | |
444 | 446 | ||
445 | 447 | ||
446 | - | func | |
448 | + | func dg (dh,di,bw,dj) = [IntegerEntry(v, dh), IntegerEntry(x, di), IntegerEntry(w, bw), IntegerEntry(y, dj)] | |
447 | 449 | ||
448 | 450 | ||
449 | - | func | |
451 | + | func dk (al,dl,dm,dn,do) = [IntegerEntry(aj(d, al), dl), IntegerEntry(aj(e, al), dm), IntegerEntry(aj(f, al), dn), IntegerEntry(aj(g, al), do)] | |
450 | 452 | ||
451 | 453 | ||
452 | - | func | |
453 | - | let | |
454 | - | let | |
455 | - | if (( | |
454 | + | func dp (dq) = { | |
455 | + | let cB = ((lastBlock.timestamp / 1000) / 60) | |
456 | + | let dr = valueOrElse(getInteger(this, r), 0) | |
457 | + | if ((dr > cB)) | |
456 | 458 | then throw("TWAP out-of-order") | |
457 | 459 | else { | |
458 | - | let | |
459 | - | then | |
460 | - | else | |
461 | - | let | |
462 | - | let | |
463 | - | let | |
464 | - | then (removeByIndex( | |
465 | - | else ( | |
466 | - | let | |
467 | - | let | |
468 | - | let | |
469 | - | func | |
460 | + | let cR = if ((dr == 0)) | |
461 | + | then cB | |
462 | + | else dr | |
463 | + | let cD = valueOrElse(getString(this, q), "") | |
464 | + | let ds = split(cD, ",") | |
465 | + | let cE = if ((size(ds) > W)) | |
466 | + | then (removeByIndex(ds, 0) :+ toString(cB)) | |
467 | + | else (ds :+ toString(cB)) | |
468 | + | let dt = valueOrElse(getInteger(this, ((s + "_") + toString(dr))), 0) | |
469 | + | let du = valueOrElse(getInteger(this, ((t + "_") + toString(dr))), dq) | |
470 | + | let dv = (dt + ((cB - cR) * du)) | |
471 | + | func dw (cG,dx) = ((cG + dx) + ",") | |
470 | 472 | ||
471 | - | let | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
475 | - | func | |
476 | - | then | |
477 | - | else | |
473 | + | let dy = { | |
474 | + | let cJ = cE | |
475 | + | let cK = size(cJ) | |
476 | + | let cL = "" | |
477 | + | func cM (cN,cO) = if ((cO >= cK)) | |
478 | + | then cN | |
479 | + | else dw(cN, cJ[cO]) | |
478 | 480 | ||
479 | - | func | |
480 | - | then | |
481 | - | else throw("List size exceeds | |
481 | + | func cP (cN,cO) = if ((cO >= cK)) | |
482 | + | then cN | |
483 | + | else throw("List size exceeds 20") | |
482 | 484 | ||
483 | - | | |
485 | + | cP(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cM(cL, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
484 | 486 | } | |
485 | - | let | |
486 | - | let | |
487 | - | then drop( | |
488 | - | else | |
489 | - | [IntegerEntry(((s + "_") + toString( | |
487 | + | let dz = dropRight(dy, 1) | |
488 | + | let dA = if ((take(dz, 1) == ",")) | |
489 | + | then drop(dz, 1) | |
490 | + | else dz | |
491 | + | [IntegerEntry(((s + "_") + toString(cB)), dv), IntegerEntry(((t + "_") + toString(cB)), dq), IntegerEntry(r, cB), StringEntry(q, dA)] | |
490 | 492 | } | |
491 | 493 | } | |
492 | 494 | ||
493 | 495 | ||
494 | - | func | |
496 | + | func dB (bb,bc,dC,dD,dE,dF) = ([IntegerEntry(z, bb), IntegerEntry(A, bc), IntegerEntry(v, dC), IntegerEntry(C, dD), IntegerEntry(D, dE), IntegerEntry(E, dF)] ++ dp(af(bb, bc))) | |
495 | 497 | ||
496 | 498 | ||
497 | - | func | |
499 | + | func dG (al) = [DeleteEntry(aj(d, al)), DeleteEntry(aj(e, al)), DeleteEntry(aj(f, al)), DeleteEntry(aj(g, al))] | |
498 | 500 | ||
499 | 501 | ||
500 | - | func | |
501 | - | let | |
502 | - | if (( | |
503 | - | then throw(((("Unable to withdraw " + toString( | |
504 | - | else [ScriptTransfer( | |
502 | + | func dH (al,dI) = { | |
503 | + | let dJ = assetBalance(this, P()) | |
504 | + | if ((dI > dJ)) | |
505 | + | then throw(((("Unable to withdraw " + toString(dI)) + " from contract balance ") + toString(dJ))) | |
506 | + | else [ScriptTransfer(al, dI, P())] | |
505 | 507 | } | |
506 | 508 | ||
507 | 509 | ||
508 | - | func | |
510 | + | func dK (dL) = if ((0 > dL)) | |
509 | 511 | then throw("Balance") | |
510 | - | else [IntegerEntry(c, | |
512 | + | else [IntegerEntry(c, dL)] | |
511 | 513 | ||
512 | 514 | ||
513 | - | func | |
515 | + | func dM (dL) = [ScriptTransfer(R(), dL, P())] | |
514 | 516 | ||
515 | 517 | ||
516 | - | @Callable( | |
517 | - | func pause () = if (( | |
518 | + | @Callable(dL) | |
519 | + | func pause () = if ((dL.caller != N())) | |
518 | 520 | then throw("Invalid togglePause params") | |
519 | 521 | else [BooleanEntry(i, true)] | |
520 | 522 | ||
521 | 523 | ||
522 | 524 | ||
523 | - | @Callable( | |
524 | - | func unpause () = if (( | |
525 | + | @Callable(dL) | |
526 | + | func unpause () = if ((dL.caller != N())) | |
525 | 527 | then throw("Invalid togglePause params") | |
526 | 528 | else [BooleanEntry(i, false)] | |
527 | 529 | ||
528 | 530 | ||
529 | 531 | ||
530 | - | @Callable( | |
531 | - | func changeSettings ( | |
532 | + | @Callable(dL) | |
533 | + | func changeSettings (cZ,da,db,dc,dd,de,df) = if ((dL.caller != N())) | |
532 | 534 | then throw("Invalid changeSettings params") | |
533 | - | else | |
535 | + | else cY(cZ, da, db, dc, dd, de, df) | |
534 | 536 | ||
535 | 537 | ||
536 | 538 | ||
537 | - | @Callable( | |
538 | - | func initialize ( | |
539 | + | @Callable(dL) | |
540 | + | func initialize (bb,bc,dc,cZ,da,db,dd,dN,dO,dP,de,df) = if (if (if (if (if (if (if (if (if (if ((0 >= bb)) | |
539 | 541 | then true | |
540 | - | else (0 >= bb)) | |
542 | + | else (0 >= bc)) | |
543 | + | then true | |
544 | + | else (0 >= dc)) | |
545 | + | then true | |
546 | + | else (0 >= cZ)) | |
541 | 547 | then true | |
542 | 548 | else (0 >= da)) | |
543 | 549 | then true | |
544 | - | else (0 >= cX)) | |
545 | - | then true | |
546 | - | else (0 >= cY)) | |
547 | - | then true | |
548 | - | else (0 >= cZ)) | |
549 | - | then true | |
550 | 550 | else (0 >= db)) | |
551 | - | then true | |
552 | - | else (0 >= dc)) | |
553 | 551 | then true | |
554 | 552 | else (0 >= dd)) | |
555 | 553 | then true | |
556 | - | else aR()) | |
554 | + | else (0 >= de)) | |
555 | + | then true | |
556 | + | else (0 >= df)) | |
557 | + | then true | |
558 | + | else aS()) | |
557 | 559 | then throw("Invalid initialize parameters") | |
558 | - | else (((( | |
560 | + | else ((((dB(bb, bc, 0, 0, 0, 0) ++ cY(cZ, da, db, dc, dd, de, df)) ++ dg(0, (lastBlock.timestamp + dc), 0, 0)) ++ dK(0)) ++ [BooleanEntry(h, true), StringEntry(b, dN), StringEntry(a, dO), StringEntry(F, dP)]) | |
559 | 561 | ||
560 | 562 | ||
561 | 563 | ||
562 | - | @Callable( | |
563 | - | func decreasePosition ( | |
564 | - | then ( | |
564 | + | @Callable(dL) | |
565 | + | func decreasePosition (dQ,dI,dR,dS) = if (if (if (if (if (if (if ((dQ != T)) | |
566 | + | then (dQ != U) | |
565 | 567 | else false) | |
566 | 568 | then true | |
567 | - | else (0 >= | |
569 | + | else (0 >= dI)) | |
568 | 570 | then true | |
569 | - | else if (((1 * | |
571 | + | else if (((1 * Y) > dR)) | |
570 | 572 | then true | |
571 | - | else ( | |
573 | + | else (dR > (3 * Y))) | |
572 | 574 | then true | |
573 | - | else !( | |
575 | + | else !(aS())) | |
574 | 576 | then true | |
575 | - | else !( | |
577 | + | else !(am(af(Y, dR), av(), true))) | |
576 | 578 | then true | |
577 | - | else | |
579 | + | else aT()) | |
578 | 580 | then throw("Invalid decreasePosition parameters") | |
579 | 581 | else { | |
580 | - | let | |
581 | - | let | |
582 | - | let | |
583 | - | let | |
584 | - | let | |
585 | - | let | |
586 | - | let | |
587 | - | then ( | |
588 | - | else ( | |
589 | - | let | |
590 | - | then | |
582 | + | let dT = aL(toString(dL.caller)) | |
583 | + | let dU = dT._1 | |
584 | + | let dV = dT._2 | |
585 | + | let dW = dT._3 | |
586 | + | let dX = dT._4 | |
587 | + | let dY = (dU == 0) | |
588 | + | let dZ = if ((dU > 0)) | |
589 | + | then (dQ == T) | |
590 | + | else (dQ == U) | |
591 | + | let ea = if (!(dY)) | |
592 | + | then dZ | |
591 | 593 | else false | |
592 | - | let | |
593 | - | let | |
594 | + | let eb = (dQ == T) | |
595 | + | let ec = if (if (dY) | |
594 | 596 | then true | |
595 | - | else | |
597 | + | else ea) | |
596 | 598 | then throw("Use increasePosition to open new or increase position") | |
597 | 599 | else { | |
598 | - | let | |
599 | - | let | |
600 | - | let | |
601 | - | let | |
602 | - | if (( | |
600 | + | let ed = ah(dI, dR) | |
601 | + | let ee = bR(toString(dL.caller), ab) | |
602 | + | let ef = ee._1 | |
603 | + | let cf = ee._2 | |
604 | + | if ((ef > ed)) | |
603 | 605 | then { | |
604 | - | let | |
605 | - | let | |
606 | - | let | |
607 | - | let | |
608 | - | let | |
609 | - | let | |
610 | - | let | |
611 | - | let | |
612 | - | if (if (( | |
613 | - | then ( | |
606 | + | let eg = ba(eb, ed) | |
607 | + | let cr = eg._1 | |
608 | + | let bf = eg._2 | |
609 | + | let bg = eg._3 | |
610 | + | let cw = eg._4 | |
611 | + | let cx = eg._5 | |
612 | + | let cy = eg._6 | |
613 | + | let eh = ai(cr) | |
614 | + | if (if ((dS != 0)) | |
615 | + | then (dS > eh) | |
614 | 616 | else false) | |
615 | - | then throw(((("Too little basse asset exchanged, got " + toString( | |
617 | + | then throw(((("Too little basse asset exchanged, got " + toString(eh)) + " expected ") + toString(dS))) | |
616 | 618 | else { | |
617 | - | let | |
618 | - | then | |
619 | + | let cs = if ((dU != 0)) | |
620 | + | then af(ah(cf, eh), dU) | |
619 | 621 | else 0 | |
620 | - | let | |
621 | - | let | |
622 | - | let | |
623 | - | let | |
624 | - | let | |
625 | - | let | |
626 | - | let | |
627 | - | let | |
628 | - | then (( | |
629 | - | else (( | |
630 | - | $Tuple10(( | |
622 | + | let ei = br(dU, dV, dX, cs) | |
623 | + | let bA = ei._1 | |
624 | + | let bB = ei._2 | |
625 | + | let bx = ei._3 | |
626 | + | let ej = ei._4 | |
627 | + | let cv = ed | |
628 | + | let ek = (cf - cs) | |
629 | + | let el = if ((dU > 0)) | |
630 | + | then ((ef - cv) - ek) | |
631 | + | else ((ek + ef) - cv) | |
632 | + | $Tuple10((dU + cr), bA, ai(el), ej, bg, bf, cw, cx, cy, (aC() - ed)) | |
631 | 633 | } | |
632 | 634 | } | |
633 | 635 | else throw("Close position first") | |
634 | 636 | } | |
635 | - | let | |
636 | - | let | |
637 | - | let | |
638 | - | let | |
639 | - | let | |
640 | - | let | |
641 | - | let | |
642 | - | let | |
643 | - | let | |
644 | - | let | |
645 | - | ( | |
637 | + | let em = ec._1 | |
638 | + | let en = ec._2 | |
639 | + | let eo = ec._3 | |
640 | + | let ep = ec._4 | |
641 | + | let bg = ec._5 | |
642 | + | let bf = ec._6 | |
643 | + | let cw = ec._7 | |
644 | + | let cx = ec._8 | |
645 | + | let cy = ec._9 | |
646 | + | let cz = ec._10 | |
647 | + | (dk(toString(dL.caller), em, en, eo, ep) ++ dB(bf, bg, cw, cx, cy, cz)) | |
646 | 648 | } | |
647 | 649 | ||
648 | 650 | ||
649 | 651 | ||
650 | - | @Callable( | |
651 | - | func increasePosition ( | |
652 | - | let | |
653 | - | if (if (if (if (if (if (if (if (( | |
654 | - | then ( | |
652 | + | @Callable(dL) | |
653 | + | func increasePosition (dQ,dR,dS) = { | |
654 | + | let eq = dL.payments[0].amount | |
655 | + | if (if (if (if (if (if (if (if ((dQ != T)) | |
656 | + | then (dQ != U) | |
655 | 657 | else false) | |
656 | 658 | then true | |
657 | - | else (0 >= | |
659 | + | else (0 >= eq)) | |
658 | 660 | then true | |
659 | - | else if (((1 * | |
661 | + | else if (((1 * Y) > dR)) | |
660 | 662 | then true | |
661 | - | else ( | |
663 | + | else (dR > (3 * Y))) | |
662 | 664 | then true | |
663 | - | else !( | |
665 | + | else !(aS())) | |
664 | 666 | then true | |
665 | - | else ( | |
667 | + | else (dL.payments[0].assetId != P())) | |
666 | 668 | then true | |
667 | - | else !( | |
669 | + | else !(am(af(Y, dR), av(), true))) | |
668 | 670 | then true | |
669 | - | else | |
671 | + | else aT()) | |
670 | 672 | then throw("Invalid increasePosition parameters") | |
671 | 673 | else { | |
672 | - | let | |
673 | - | let | |
674 | - | let | |
675 | - | let | |
676 | - | let | |
677 | - | let | |
678 | - | let | |
679 | - | let | |
680 | - | let | |
681 | - | then ( | |
682 | - | else ( | |
683 | - | let | |
684 | - | then | |
674 | + | let er = ah(eq, au()) | |
675 | + | let dI = (eq - er) | |
676 | + | let es = aL(toString(dL.caller)) | |
677 | + | let dU = es._1 | |
678 | + | let dV = es._2 | |
679 | + | let dW = es._3 | |
680 | + | let dX = es._4 | |
681 | + | let dY = (dU == 0) | |
682 | + | let dZ = if ((dU > 0)) | |
683 | + | then (dQ == T) | |
684 | + | else (dQ == U) | |
685 | + | let ea = if (!(dY)) | |
686 | + | then dZ | |
685 | 687 | else false | |
686 | - | let | |
687 | - | let | |
688 | + | let eb = (dQ == T) | |
689 | + | let et = if (if (dY) | |
688 | 690 | then true | |
689 | - | else | |
691 | + | else ea) | |
690 | 692 | then { | |
691 | - | let | |
692 | - | let | |
693 | - | let | |
694 | - | let | |
695 | - | let | |
696 | - | let | |
697 | - | let | |
698 | - | let | |
699 | - | if (if (( | |
700 | - | then ( | |
693 | + | let ed = ah(dI, dR) | |
694 | + | let eu = ba(eb, ed) | |
695 | + | let bi = eu._1 | |
696 | + | let bf = eu._2 | |
697 | + | let bg = eu._3 | |
698 | + | let cw = eu._4 | |
699 | + | let cx = eu._5 | |
700 | + | let cy = eu._6 | |
701 | + | if (if ((dS != 0)) | |
702 | + | then (dS > ai(bi)) | |
701 | 703 | else false) | |
702 | - | then throw(((("Limit error: " + toString( | |
704 | + | then throw(((("Limit error: " + toString(ai(bi))) + " < ") + toString(dS))) | |
703 | 705 | else { | |
704 | - | let | |
705 | - | let | |
706 | - | let | |
707 | - | let | |
708 | - | let | |
709 | - | let | |
710 | - | let | |
711 | - | $Tuple10( | |
706 | + | let em = (dU + bi) | |
707 | + | let ev = af(ed, dR) | |
708 | + | let ew = br(dU, dV, dX, ev) | |
709 | + | let bA = ew._1 | |
710 | + | let cc = ew._2 | |
711 | + | let cd = ew._3 | |
712 | + | let ej = ew._4 | |
713 | + | $Tuple10(em, bA, (dW + ed), ej, bg, bf, cw, cx, cy, (aC() + ed)) | |
712 | 714 | } | |
713 | 715 | } | |
714 | 716 | else { | |
715 | - | let | |
716 | - | let | |
717 | - | let | |
718 | - | let | |
719 | - | if (( | |
717 | + | let ed = ah(dI, dR) | |
718 | + | let ex = bR(toString(dL.caller), ab) | |
719 | + | let ef = ex._1 | |
720 | + | let cf = ex._2 | |
721 | + | if ((ef > ed)) | |
720 | 722 | then throw("Use decreasePosition to decrease position size") | |
721 | 723 | else throw("Close position first") | |
722 | 724 | } | |
723 | - | let | |
724 | - | let | |
725 | - | let | |
726 | - | let | |
727 | - | let | |
728 | - | let | |
729 | - | let | |
730 | - | let | |
731 | - | let | |
732 | - | let | |
733 | - | let | |
734 | - | let | |
735 | - | let | |
736 | - | if (( | |
725 | + | let em = et._1 | |
726 | + | let en = et._2 | |
727 | + | let eo = et._3 | |
728 | + | let ep = et._4 | |
729 | + | let bg = et._5 | |
730 | + | let bf = et._6 | |
731 | + | let cw = et._7 | |
732 | + | let cx = et._8 | |
733 | + | let cy = et._9 | |
734 | + | let cz = et._10 | |
735 | + | let ey = (er / 2) | |
736 | + | let ez = (er - ey) | |
737 | + | let eA = invoke(Q(), "lockNeutrinoSP", [toString(R()), aa], [AttachedPayment(P(), dI)]) | |
738 | + | if ((eA == eA)) | |
737 | 739 | then { | |
738 | - | let | |
739 | - | if (( | |
740 | - | then ((( | |
740 | + | let eB = invoke(S(), "deposit", nil, [AttachedPayment(P(), ez)]) | |
741 | + | if ((eB == eB)) | |
742 | + | then (((dk(toString(dL.caller), em, en, eo, ep) ++ dB(bf, bg, cw, cx, cy, cz)) ++ dM(ey)) ++ dK((at() + dI))) | |
741 | 743 | else throw("Strict value is not equal to itself.") | |
742 | 744 | } | |
743 | 745 | else throw("Strict value is not equal to itself.") | |
744 | 746 | } | |
745 | 747 | } | |
746 | 748 | ||
747 | 749 | ||
748 | 750 | ||
749 | - | @Callable( | |
751 | + | @Callable(dL) | |
750 | 752 | func addMargin () = { | |
751 | - | let | |
752 | - | if (if (if (if (( | |
753 | + | let eq = dL.payments[0].amount | |
754 | + | if (if (if (if ((dL.payments[0].assetId != P())) | |
753 | 755 | then true | |
754 | - | else !( | |
756 | + | else !(aQ(toString(dL.caller)))) | |
755 | 757 | then true | |
756 | - | else !( | |
758 | + | else !(aS())) | |
757 | 759 | then true | |
758 | - | else | |
760 | + | else aT()) | |
759 | 761 | then throw("Invalid addMargin parameters") | |
760 | 762 | else { | |
761 | - | let | |
762 | - | let | |
763 | - | let | |
764 | - | let | |
765 | - | let | |
766 | - | let | |
767 | - | let | |
768 | - | let | |
769 | - | let | |
770 | - | let | |
771 | - | if (( | |
763 | + | let er = ah(eq, au()) | |
764 | + | let dI = (eq - er) | |
765 | + | let eC = aL(toString(dL.caller)) | |
766 | + | let dU = eC._1 | |
767 | + | let dV = eC._2 | |
768 | + | let dW = eC._3 | |
769 | + | let dX = eC._4 | |
770 | + | let ey = (er / 2) | |
771 | + | let ez = (er - ey) | |
772 | + | let eA = invoke(Q(), "lockNeutrinoSP", [toString(R()), aa], [AttachedPayment(P(), dI)]) | |
773 | + | if ((eA == eA)) | |
772 | 774 | then { | |
773 | - | let | |
774 | - | if (( | |
775 | - | then (( | |
775 | + | let eB = invoke(S(), "deposit", nil, [AttachedPayment(P(), ez)]) | |
776 | + | if ((eB == eB)) | |
777 | + | then ((dk(toString(dL.caller), dU, (dV + dL.payments[0].amount), dW, dX) ++ dM(ey)) ++ dK((at() + dI))) | |
776 | 778 | else throw("Strict value is not equal to itself.") | |
777 | 779 | } | |
778 | 780 | else throw("Strict value is not equal to itself.") | |
779 | 781 | } | |
780 | 782 | } | |
781 | 783 | ||
782 | 784 | ||
783 | 785 | ||
784 | - | @Callable( | |
785 | - | func removeMargin ( | |
786 | + | @Callable(dL) | |
787 | + | func removeMargin (dI) = if (if (if (if ((0 >= dI)) | |
786 | 788 | then true | |
787 | - | else !( | |
789 | + | else !(aQ(toString(dL.caller)))) | |
788 | 790 | then true | |
789 | - | else !( | |
791 | + | else !(aS())) | |
790 | 792 | then true | |
791 | - | else | |
793 | + | else aT()) | |
792 | 794 | then throw("Invalid removeMargin parameters") | |
793 | 795 | else { | |
794 | - | let | |
795 | - | let | |
796 | - | let | |
797 | - | let | |
798 | - | let | |
799 | - | let | |
800 | - | let | |
801 | - | let | |
802 | - | let | |
803 | - | let | |
804 | - | let | |
805 | - | if (( | |
796 | + | let eD = aL(toString(dL.caller)) | |
797 | + | let dU = eD._1 | |
798 | + | let dV = eD._2 | |
799 | + | let dW = eD._3 | |
800 | + | let dX = eD._4 | |
801 | + | let eE = -(dI) | |
802 | + | let eF = br(dU, dV, dX, eE) | |
803 | + | let bA = eF._1 | |
804 | + | let bB = eF._2 | |
805 | + | let cc = eF._3 | |
806 | + | let eG = eF._4 | |
807 | + | if ((bB != 0)) | |
806 | 808 | then throw("Invalid added margin amount") | |
807 | 809 | else { | |
808 | - | let | |
809 | - | if (( | |
810 | - | then (( | |
810 | + | let eH = invoke(Q(), "unlockNeutrino", [dI, toBase58String(P())], nil) | |
811 | + | if ((eH == eH)) | |
812 | + | then ((dk(toString(dL.caller), dU, bA, dW, eG) ++ dH(dL.caller, dI)) ++ dK((at() - dI))) | |
811 | 813 | else throw("Strict value is not equal to itself.") | |
812 | 814 | } | |
813 | 815 | } | |
814 | 816 | ||
815 | 817 | ||
816 | 818 | ||
817 | - | @Callable( | |
818 | - | func closePosition () = if (if (if (!( | |
819 | + | @Callable(dL) | |
820 | + | func closePosition () = if (if (if (!(aQ(toString(dL.caller)))) | |
819 | 821 | then true | |
820 | - | else !( | |
822 | + | else !(aS())) | |
821 | 823 | then true | |
822 | - | else | |
824 | + | else aT()) | |
823 | 825 | then throw("Invalid closePosition parameters") | |
824 | 826 | else { | |
825 | - | let | |
826 | - | let | |
827 | - | let | |
828 | - | let | |
829 | - | let | |
830 | - | let | |
831 | - | let | |
832 | - | let | |
833 | - | let | |
834 | - | let | |
835 | - | let | |
836 | - | if (( | |
827 | + | let eI = cn(toString(dL.caller)) | |
828 | + | let cc = eI._1 | |
829 | + | let bB = eI._2 | |
830 | + | let cs = eI._3 | |
831 | + | let ct = eI._4 | |
832 | + | let bf = eI._5 | |
833 | + | let bg = eI._6 | |
834 | + | let cw = eI._7 | |
835 | + | let cx = eI._8 | |
836 | + | let cy = eI._9 | |
837 | + | let cz = eI._10 | |
838 | + | if ((bB > 0)) | |
837 | 839 | then throw("Unable to close position with bad debt") | |
838 | 840 | else { | |
839 | - | let | |
840 | - | let | |
841 | - | let | |
842 | - | then $Tuple2(0, | |
843 | - | else $Tuple2( | |
844 | - | let | |
845 | - | let | |
846 | - | let | |
841 | + | let eJ = ai(ct) | |
842 | + | let eK = (at() - eJ) | |
843 | + | let eL = if ((0 > eK)) | |
844 | + | then $Tuple2(0, ai(eK)) | |
845 | + | else $Tuple2(eK, 0) | |
846 | + | let eM = eL._1 | |
847 | + | let eN = eL._2 | |
848 | + | let ch = if ((eN > 0)) | |
847 | 849 | then { | |
848 | - | let | |
849 | - | if (( | |
850 | + | let eO = invoke(S(), "withdraw", [eN], nil) | |
851 | + | if ((eO == eO)) | |
850 | 852 | then nil | |
851 | 853 | else throw("Strict value is not equal to itself.") | |
852 | 854 | } | |
853 | 855 | else nil | |
854 | - | if (( | |
856 | + | if ((ch == ch)) | |
855 | 857 | then { | |
856 | - | let | |
857 | - | if (( | |
858 | - | then ((( | |
858 | + | let eH = invoke(Q(), "unlockNeutrino", [(eJ - eN), toBase58String(P())], nil) | |
859 | + | if ((eH == eH)) | |
860 | + | then (((dG(toString(dL.caller)) ++ dB(bf, bg, cw, cx, cy, cz)) ++ dH(dL.caller, eJ)) ++ dK(eM)) | |
859 | 861 | else throw("Strict value is not equal to itself.") | |
860 | 862 | } | |
861 | 863 | else throw("Strict value is not equal to itself.") | |
862 | 864 | } | |
863 | 865 | } | |
864 | 866 | ||
865 | 867 | ||
866 | 868 | ||
867 | - | @Callable( | |
868 | - | func liquidate ( | |
869 | - | let | |
870 | - | then | |
871 | - | else | |
872 | - | if (if (if (!( | |
869 | + | @Callable(dL) | |
870 | + | func liquidate (aR) = { | |
871 | + | let eP = if (bO()) | |
872 | + | then cg(aR, ac) | |
873 | + | else cg(aR, ab) | |
874 | + | if (if (if (!(am(eP, aH(), false))) | |
873 | 875 | then true | |
874 | - | else !( | |
876 | + | else !(aS())) | |
875 | 877 | then true | |
876 | - | else | |
878 | + | else aT()) | |
877 | 879 | then throw("Unable to liquidate") | |
878 | 880 | else { | |
879 | - | let | |
880 | - | let | |
881 | - | let | |
882 | - | let | |
883 | - | let | |
884 | - | let | |
885 | - | let | |
886 | - | let | |
887 | - | let | |
888 | - | let | |
889 | - | let | |
890 | - | let | |
891 | - | let | |
892 | - | let | |
893 | - | then $Tuple3(( | |
894 | - | else $Tuple3(0, ( | |
895 | - | let | |
896 | - | let | |
897 | - | let | |
898 | - | let | |
899 | - | let | |
900 | - | then $Tuple2(0, | |
901 | - | else $Tuple2( | |
902 | - | let | |
903 | - | let | |
904 | - | let | |
881 | + | let eQ = cn(aR) | |
882 | + | let cc = eQ._1 | |
883 | + | let bB = eQ._2 | |
884 | + | let cd = eQ._3 | |
885 | + | let ct = eQ._4 | |
886 | + | let bf = eQ._5 | |
887 | + | let bg = eQ._6 | |
888 | + | let cw = eQ._7 | |
889 | + | let cx = eQ._8 | |
890 | + | let cy = eQ._9 | |
891 | + | let cz = eQ._10 | |
892 | + | let cv = eQ._11 | |
893 | + | let eR = (ah(cv, aI()) / 2) | |
894 | + | let eS = if ((eR > ct)) | |
895 | + | then $Tuple3((eR - ct), ct, ((bB + eR) - ct)) | |
896 | + | else $Tuple3(0, (ct - eR), bB) | |
897 | + | let eT = eS._1 | |
898 | + | let bA = eS._2 | |
899 | + | let eU = eS._3 | |
900 | + | let eK = (at() - eR) | |
901 | + | let eV = if ((0 > eK)) | |
902 | + | then $Tuple2(0, ai(eK)) | |
903 | + | else $Tuple2(eK, 0) | |
904 | + | let eM = eV._1 | |
905 | + | let eN = eV._2 | |
906 | + | let ch = if ((eN > 0)) | |
905 | 907 | then { | |
906 | - | let | |
907 | - | if (( | |
908 | + | let eO = invoke(S(), "withdraw", [eN], nil) | |
909 | + | if ((eO == eO)) | |
908 | 910 | then nil | |
909 | 911 | else throw("Strict value is not equal to itself.") | |
910 | 912 | } | |
911 | 913 | else nil | |
912 | - | if (( | |
914 | + | if ((ch == ch)) | |
913 | 915 | then { | |
914 | - | let | |
915 | - | if (( | |
916 | - | then ((( | |
916 | + | let eH = invoke(Q(), "unlockNeutrino", [(eR - eN), toBase58String(P())], nil) | |
917 | + | if ((eH == eH)) | |
918 | + | then (((dG(aR) ++ dB(bf, bg, cw, cx, cy, cz)) ++ dH(dL.caller, eR)) ++ dK(eM)) | |
917 | 919 | else throw("Strict value is not equal to itself.") | |
918 | 920 | } | |
919 | 921 | else throw("Strict value is not equal to itself.") | |
920 | 922 | } | |
921 | 923 | } | |
922 | 924 | ||
923 | 925 | ||
924 | 926 | ||
925 | - | @Callable( | |
927 | + | @Callable(dL) | |
926 | 928 | func payFunding () = { | |
927 | - | let | |
928 | - | if (if (if (( | |
929 | + | let eW = aD() | |
930 | + | if (if (if ((eW > lastBlock.timestamp)) | |
929 | 931 | then true | |
930 | - | else !( | |
932 | + | else !(aS())) | |
931 | 933 | then true | |
932 | - | else | |
933 | - | then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString( | |
934 | + | else aT()) | |
935 | + | then throw(((("Invalid funding block timestamp: " + toString(lastBlock.timestamp)) + " < ") + toString(eW))) | |
934 | 936 | else { | |
935 | - | let | |
936 | - | let | |
937 | - | let | |
938 | - | let | |
939 | - | | |
937 | + | let eX = bK() | |
938 | + | let eY = cA() | |
939 | + | let eZ = (eY - eX) | |
940 | + | let fa = af(ah(eZ, aF()), Z) | |
941 | + | dg(0, (eW + aG()), (aB() + fa), af(fa, eX)) | |
940 | 942 | } | |
941 | 943 | } | |
942 | 944 | ||
943 | 945 | ||
944 | 946 | ||
945 | - | @Callable( | |
946 | - | func v_get ( | |
947 | - | let | |
948 | - | let | |
949 | - | let | |
950 | - | let | |
951 | - | let | |
952 | - | throw(((( | |
947 | + | @Callable(dL) | |
948 | + | func v_get (aR) = { | |
949 | + | let fb = cn(aR) | |
950 | + | let cc = fb._1 | |
951 | + | let cd = fb._2 | |
952 | + | let ce = fb._3 | |
953 | + | let fc = fb._4 | |
954 | + | throw((((ad(cd) + ad(ce)) + ad(fc)) + ad(cm(aR)))) | |
953 | 955 | } | |
954 | 956 | ||
955 | 957 | ||
956 | - | @Verifier( | |
957 | - | func | |
958 | + | @Verifier(fd) | |
959 | + | func fe () = sigVerify(fd.bodyBytes, fd.proofs[0], O()) | |
958 | 960 |
github/deemru/w8io/169f3d6 409.06 ms ◑