tx · FcLwNePbozB24xgNfDQk9aT57i1ao82nqXT1yUSSfQ9r

3Mp66Sufwhc33Wg9L4fWvD2GR729YxSQPCh:  -0.07500000 Waves

2023.06.06 19:32 [2611053] smart account 3Mp66Sufwhc33Wg9L4fWvD2GR729YxSQPCh > SELF 0.00000000 Waves

{ "type": 13, "id": "FcLwNePbozB24xgNfDQk9aT57i1ao82nqXT1yUSSfQ9r", "fee": 7500000, "feeAssetId": null, "timestamp": 1686069138095, "version": 2, "chainId": 84, "sender": "3Mp66Sufwhc33Wg9L4fWvD2GR729YxSQPCh", "senderPublicKey": "42U12q4TTBTVkhjqmAhNWDrxkFhHrg9yFuNjqqg5mF8G", "proofs": [ "2XtLsKaF6seELZCwRAj8v2S6FAaxzK3aSHAuMcfqQvQn1u8J1kSrxRGPGw3W8WtZ6n2e9T9uuhCU8vwf5vveEua3" ], "script": "base64:BgKOAQgCEgASABIAEgASAwoBARIRCg8BAQEBAQEBAQEBAQEBAQESFgoUAQEBAQEBAQgICAEBAQEBAQEBAQESBwoFAQEBCAgSBAoCAQgSBQoDAQEIEgcKBQEBAQQIEgUKAwgBCBIDCgEIEgMKAQgSABIAEgMKAQgSBQoDCAEIEgMKAQESABIDCgEIEgASBAoCCAi2AQAMa19iYXNlT3JhY2xlAgxrX2Jhc2VPcmFjbGUADWtfcXVvdGVPcmFjbGUCDWtfcXVvdGVPcmFjbGUACWtfYmFsYW5jZQIJa19iYWxhbmNlAAprX3NlcXVlbmNlAgprX3NlcXVlbmNlAA5rX3Bvc2l0aW9uU2l6ZQIOa19wb3NpdGlvblNpemUAEGtfcG9zaXRpb25NYXJnaW4CEGtfcG9zaXRpb25NYXJnaW4AFmtfcG9zaXRpb25PcGVuTm90aW9uYWwCFmtfcG9zaXRpb25PcGVuTm90aW9uYWwALmtfcG9zaXRpb25MYXN0VXBkYXRlZEN1bXVsYXRpdmVQcmVtaXVtRnJhY3Rpb24CEmtfcG9zaXRpb25GcmFjdGlvbgASa19wb3NpdGlvblNlc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3JUcmFkZXJXaXRoQXJ0aWZhY3QCB190cmFkZXILX2FydGlmYWN0SWQEBnJlc3VsdAkBGGdldEZvclRyYWRlcldpdGhBcnRpZmFjdAIFB190cmFkZXIFC19hcnRpZmFjdElkCQCUCgIFA25pbAUGcmVzdWx0AQJ0eAEGdmVyaWZ5AAQOY29vcmRpbmF0b3JTdHIJAJ0IAgUEdGhpcwUUa19jb29yZGluYXRvckFkZHJlc3MDCQEJaXNEZWZpbmVkAQUOY29vcmRpbmF0b3JTdHIEBWFkbWluCQCdCAIJARFAZXh0ck5hdGl2ZSgxMDYyKQEJAQV2YWx1ZQEFDmNvb3JkaW5hdG9yU3RyBQ9rX2FkbWluX2FkZHJlc3MDCQEJaXNEZWZpbmVkAQUFYWRtaW4JAQt2YWx1ZU9yRWxzZQIJAJsIAgkBEUBleHRyTmF0aXZlKDEwNjIpAQkBBXZhbHVlAQUFYWRtaW4JAKwCAgkArAICCQCsAgICB3N0YXR1c18JAKUIAQUEdGhpcwIBXwkA2AQBCAUCdHgCaWQHCQACAQIudW5hYmxlIHRvIHZlcmlmeTogYWRtaW4gbm90IHNldCBpbiBjb29yZGluYXRvcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleYs4L3Y=", "height": 2611053, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7KQw4kh2beZiNBzh6oaNLRYC1knFuaJ59iyMs67ue238 Next: BvYw8xmpLP8fKhebHb1R1QFNqwQDdkaLzEUNVwiBSVc2 Diff:
OldNewDifferences
217217 func aU () = aN(c)
218218
219219
220-func aV () = aN(o)
220+func aV () = aP(c, 0)
221221
222222
223-func aW () = aN(p)
223+func aW () = aN(o)
224224
225225
226-func aX () = aN(r)
226+func aX () = aN(p)
227227
228228
229-func aY () = aN(I)
229+func aY () = aN(r)
230230
231231
232-func aZ () = aN(J)
232+func aZ () = aN(I)
233233
234234
235-func ba () = aP(K, av)
235+func ba () = aP(I, 0)
236236
237237
238-func bb () = aP(L, av)
238+func bb () = aN(J)
239239
240240
241-func bc () = aN(M)
241+func bc () = aP(J, 0)
242242
243243
244-func bd () = aN(P)
244+func bd () = aP(K, av)
245245
246246
247-func be () = aN(Q)
247+func be () = aP(L, av)
248248
249249
250-func bf () = aN(R)
250+func bf () = aN(M)
251251
252252
253-func bg () = aN(F)
253+func bg () = aN(P)
254254
255255
256-func bh () = aN(q)
256+func bh () = aN(Q)
257257
258258
259-func bi () = (bh() * av)
259+func bi () = aN(R)
260260
261261
262-func bj () = (bh() * at)
262+func bj () = aN(F)
263263
264264
265-func bk () = aN(s)
265+func bk () = aN(q)
266266
267267
268-func bl () = aN(t)
268+func bl () = (bk() * av)
269269
270270
271-func bm () = aN(u)
271+func bm () = (bk() * at)
272272
273273
274-func bn () = aN(v)
274+func bn () = aN(s)
275275
276276
277-func bo () = aN(w)
277+func bo () = aN(t)
278278
279279
280-func bp () = aN(x)
280+func bp () = aN(u)
281281
282282
283-func bq () = aN(y)
283+func bq () = aN(v)
284284
285285
286-func br () = aN(D)
286+func br () = aN(w)
287287
288288
289-func bs () = aN(E)
289+func bs () = aN(x)
290290
291291
292-func bt () = aN(O)
292+func bt () = aN(y)
293293
294294
295-func bu () = aN(N)
295+func bu () = aN(D)
296296
297297
298-func bv () = aP(d, 0)
298+func bv () = aN(E)
299299
300300
301-func bw () = aN(z)
301+func bw () = aN(O)
302302
303303
304-func bx () = aN(A)
304+func bx () = aN(N)
305305
306306
307-func by () = aP(B, aA)
307+func by () = aP(d, 0)
308308
309309
310-func bz () = aP(C, aC)
310+func bz () = aN(z)
311311
312312
313-func bA () = lastBlock.timestamp
313+func bA () = aN(A)
314314
315315
316-func bB (bC) = valueOrElse(getString(al(), "k_sender"), toString(bC.caller))
316+func bB () = aP(B, aA)
317317
318318
319-func bD (bE,bF,bG) = {
320- let bH = (bE - bF)
321- if (if (bG)
322- then (0 > bH)
319+func bC () = aP(C, aC)
320+
321+
322+func bD () = lastBlock.timestamp
323+
324+
325+func bE (bF) = valueOrElse(getString(al(), "k_sender"), toString(bF.caller))
326+
327+
328+func bG (bH,bI,bJ) = {
329+ let bK = (bH - bI)
330+ if (if (bJ)
331+ then (0 > bK)
323332 else false)
324- then throw(((("Invalid margin: " + toString(bE)) + " < ") + toString(bF)))
325- else if (if (!(bG))
326- then (bH >= 0)
333+ then throw(((("Invalid margin: " + toString(bH)) + " < ") + toString(bI)))
334+ else if (if (!(bJ))
335+ then (bK >= 0)
327336 else false)
328- then throw(((("Invalid margin: " + toString(bE)) + " > ") + toString(bF)))
337+ then throw(((("Invalid margin: " + toString(bH)) + " > ") + toString(bI)))
329338 else true
330339 }
331340
332341
333-func bI (bJ) = if ((bJ == 0))
342+func bL (bM) = if ((bM == 0))
334343 then throw("Should not be called with _positionSize == 0")
335- else if ((bJ > 0))
336- then br()
337- else bs()
344+ else if ((bM > 0))
345+ then bu()
346+ else bv()
338347
339348
340-func bK (bL,bM) = {
341- let bN = ((bL + "_") + toString(bM))
342- let bO = getInteger(this, ac(e, bN))
343- let bP = bO
344- if ($isInstanceOf(bP, "Int"))
349+func bN (bO,bP) = {
350+ let bQ = ((bO + "_") + toString(bP))
351+ let bR = getInteger(this, ac(e, bQ))
352+ let bS = bR
353+ if ($isInstanceOf(bS, "Int"))
345354 then {
346- let bQ = bP
347- $Tuple5(bQ, getIntegerValue(this, ac(f, bN)), getIntegerValue(this, ac(g, bN)), getIntegerValue(this, ac(h, bN)), getIntegerValue(this, ac(k, bN)))
355+ let bT = bS
356+ $Tuple5(bT, getIntegerValue(this, ac(f, bQ)), getIntegerValue(this, ac(g, bQ)), getIntegerValue(this, ac(h, bQ)), getIntegerValue(this, ac(k, bQ)))
348357 }
349358 else $Tuple5(0, 0, 0, 0, 0)
350359 }
351360
352361
353-func bR (bJ) = if ((0 > bJ))
362+func bU (bM) = if ((0 > bM))
354363 then as
355364 else ar
356365
357366
358-func bS (bL,bM) = {
359- let bN = ((bL + "_") + toString(bM))
360- let bT = getInteger(this, ac(j, bN))
361- let bP = bT
362- if ($isInstanceOf(bP, "Int"))
367+func bV (bO,bP) = {
368+ let bQ = ((bO + "_") + toString(bP))
369+ let bW = getInteger(this, ac(j, bQ))
370+ let bS = bW
371+ if ($isInstanceOf(bS, "Int"))
363372 then {
364- let bU = bP
365- bU
373+ let bX = bS
374+ bX
366375 }
367- else aV()
376+ else aW()
368377 }
369378
370379
371-func bV (bL,bM) = if ((bK(bL, bM)._1 == 0))
380+func bY (bO,bP) = if ((bN(bO, bP)._1 == 0))
372381 then throw("No open position")
373382 else true
374383
375384
376-func bW (bX) = {
377- let bY = getString(this, bX)
378- if (if (isDefined(bY))
379- then (value(bY) != "")
385+func bZ (ca) = {
386+ let cb = getString(this, ca)
387+ if (if (isDefined(cb))
388+ then (value(cb) != "")
380389 else false)
381390 then {
382- let bZ = split(value(bY), ",")
383- let ca = valueOrErrorMessage(addressFromString(bZ[0]), ("Invalid oracle address in: " + value(bY)))
384- let cb = bZ[1]
385- let cc = bZ[2]
386- let cd = bZ[3]
387- $Tuple4(ca, cb, cc, cd)
391+ let cc = split(value(cb), ",")
392+ let cd = valueOrErrorMessage(addressFromString(cc[0]), ("Invalid oracle address in: " + value(cb)))
393+ let ce = cc[1]
394+ let cf = cc[2]
395+ let cg = cc[3]
396+ $Tuple4(cd, ce, cf, cg)
388397 }
389398 else unit
390399 }
391400
392401
393-func ce () = valueOrElse(getBoolean(this, l), false)
402+func ch () = valueOrElse(getBoolean(this, l), false)
394403
395404
396-func cf () = valueOrElse(getBoolean(this, m), false)
405+func ci () = valueOrElse(getBoolean(this, m), false)
397406
398407
399-func cg () = valueOrElse(getBoolean(this, n), false)
408+func cj () = valueOrElse(getBoolean(this, n), false)
400409
401410
402-func ch (ci,cj,ck) = if (ci)
411+func ck (cl,cm,cn) = if (cl)
403412 then {
404- let cl = (aZ() - ck)
405- if ((0 >= cl))
413+ let co = (bb() - cn)
414+ if ((0 >= co))
406415 then throw("Tx lead to base asset reserve <= 0, revert")
407- else $Tuple3((aY() + cj), cl, (bc() + ck))
416+ else $Tuple3((aZ() + cm), co, (bf() + cn))
408417 }
409418 else {
410- let cm = (aY() - cj)
411- if ((0 >= cm))
419+ let cp = (aZ() - cm)
420+ if ((0 >= cp))
412421 then throw("Tx lead to base quote reserve <= 0, revert")
413- else $Tuple3(cm, (aZ() + ck), (bc() - ck))
422+ else $Tuple3(cp, (bb() + cn), (bf() - cn))
414423 }
415424
416425
417-func cn (co,cp) = {
418- let cq = toBigInt(co)
419- let cr = toBigInt(cp)
420- aK(cq, cr)
426+func cq (cr,cs) = {
427+ let ct = toBigInt(cr)
428+ let cu = toBigInt(cs)
429+ aK(ct, cu)
421430 }
422431
423432
424-func cs (ci,cj) = {
425- let co = aY()
426- let cp = aZ()
427- let ct = ba()
428- let cu = bb()
429- let cv = aG(cj, ct)
430- let aO = cn(co, cp)
431- let cw = if (ci)
432- then (co + cv)
433- else (co - cv)
434- let cx = toInt(aJ(aO, toBigInt(cw)))
435- let cy = aL((cx - cp))
436- let cz = if (ci)
437- then cy
438- else -(cy)
439- let cA = ch(ci, cv, cy)
440- let cB = cA._1
441- let cC = cA._2
442- let cD = cA._3
443- let cE = aG(aI(co, ct), aI(cp, cu))
444- let cF = aG(cj, cy)
445- let cG = aL((cE - cF))
446- let cH = (av - aG(cE, (cE + cG)))
447- let cI = bo()
448- if ((cH > cI))
449- then throw(((((((((((((("Price impact " + toString(cH)) + " > max price impact ") + toString(cI)) + " before quote asset: ") + toString(co)) + " before base asset: ") + toString(cp)) + " quote asset amount to exchange: ") + toString(cj)) + " price before: ") + toString(cE)) + " marketPrice: ") + toString(cF)))
450- else $Tuple4(cz, cB, cC, cD)
433+func cv (cl,cm) = {
434+ let cr = aZ()
435+ let cs = bb()
436+ let cw = bd()
437+ let cx = be()
438+ let cy = aG(cm, cw)
439+ let aO = cq(cr, cs)
440+ let cz = if (cl)
441+ then (cr + cy)
442+ else (cr - cy)
443+ let cA = toInt(aJ(aO, toBigInt(cz)))
444+ let cB = aL((cA - cs))
445+ let cC = if (cl)
446+ then cB
447+ else -(cB)
448+ let cD = ck(cl, cy, cB)
449+ let cE = cD._1
450+ let cF = cD._2
451+ let cG = cD._3
452+ let cH = aG(aI(cr, cw), aI(cs, cx))
453+ let cI = aG(cm, cB)
454+ let cJ = aL((cH - cI))
455+ let cK = (av - aG(cH, (cH + cJ)))
456+ let cL = br()
457+ if ((cK > cL))
458+ then throw(((((((((((((("Price impact " + toString(cK)) + " > max price impact ") + toString(cL)) + " before quote asset: ") + toString(cr)) + " before base asset: ") + toString(cs)) + " quote asset amount to exchange: ") + toString(cm)) + " price before: ") + toString(cH)) + " marketPrice: ") + toString(cI)))
459+ else $Tuple4(cC, cE, cF, cG)
451460 }
452461
453462
454-func cJ (cK,cL) = {
455- let cM = ((((bA() - cL) / 1000) / 60) * av)
456- let cN = aG(aI(aI(cK, cM), aW()), aw)
457- cN
463+func cM (cN,cO) = {
464+ let cP = ((((bD() - cO) / 1000) / 60) * av)
465+ let cQ = aG(aI(aI(cN, cP), aX()), aw)
466+ cQ
458467 }
459468
460469
461-func cO (cP,cK,cQ,cL,cR) = {
462- let cS = if ((cP != 0))
470+func cR (cS,cN,cT,cO,cU) = {
471+ let cV = if ((cS != 0))
463472 then {
464- let cT = bI(cP)
465- aI((cT - cQ), cP)
473+ let cW = bL(cS)
474+ aI((cW - cT), cS)
466475 }
467476 else 0
468- let cN = cJ(cK, cL)
469- let cU = (((cR - cN) - cS) + cK)
470- let cV = if ((0 > cU))
471- then $Tuple2(0, aL(cU))
472- else $Tuple2(aL(cU), 0)
473- let cW = cV._1
474- let cX = cV._2
475- $Tuple4(cW, cX, cS, cN)
477+ let cQ = cM(cN, cO)
478+ let cX = (((cU - cQ) - cV) + cN)
479+ let cY = if ((0 > cX))
480+ then $Tuple2(0, aL(cX))
481+ else $Tuple2(aL(cX), 0)
482+ let cZ = cY._1
483+ let da = cY._2
484+ $Tuple4(cZ, da, cV, cQ)
476485 }
477486
478487
479-func cY (ci,ck,cZ,da,db,dc,dd) = {
480- let cE = aG(aI(da, db), aI(dc, dd))
481- if ((ck == 0))
488+func db (cl,cn,dc,dd,de,df,dg) = {
489+ let cH = aG(aI(dd, de), aI(df, dg))
490+ if ((cn == 0))
482491 then throw("Invalid base asset amount")
483492 else {
484- let aO = cn(da, dc)
485- let de = if (ci)
486- then (dc + ck)
487- else (dc - ck)
488- let df = toInt(aJ(aO, toBigInt(de)))
489- let dg = aL((df - da))
490- let dh = aI(dg, db)
491- let cI = bo()
492- let di = ch(!(ci), dg, ck)
493- let cB = di._1
494- let cC = di._2
495- let cD = di._3
496- let cF = aG(dh, ck)
497- let cG = aL((cE - cF))
498- let cH = (av - aG(cE, (cE + cG)))
499- if (if ((cH > cI))
500- then cZ
493+ let aO = cq(dd, df)
494+ let dh = if (cl)
495+ then (df + cn)
496+ else (df - cn)
497+ let di = toInt(aJ(aO, toBigInt(dh)))
498+ let dj = aL((di - dd))
499+ let dk = aI(dj, de)
500+ let cL = br()
501+ let dl = ck(!(cl), dj, cn)
502+ let cE = dl._1
503+ let cF = dl._2
504+ let cG = dl._3
505+ let cI = aG(dk, cn)
506+ let cJ = aL((cH - cI))
507+ let cK = (av - aG(cH, (cH + cJ)))
508+ if (if ((cK > cL))
509+ then dc
501510 else false)
502- then throw(((((((((((((("Price impact " + toString(cH)) + " > max price impact ") + toString(cI)) + " before quote asset: ") + toString(da)) + " before base asset: ") + toString(dc)) + " base asset amount to exchange: ") + toString(ck)) + " price before: ") + toString(cE)) + " market price: ") + toString(cF)))
503- else $Tuple7(dh, cB, cC, cD, (bu() - (if (ci)
504- then aL(ck)
505- else 0)), (bt() - (if (!(ci))
506- then aL(ck)
507- else 0)), cH)
511+ then throw(((((((((((((("Price impact " + toString(cK)) + " > max price impact ") + toString(cL)) + " before quote asset: ") + toString(dd)) + " before base asset: ") + toString(df)) + " base asset amount to exchange: ") + toString(cn)) + " price before: ") + toString(cH)) + " market price: ") + toString(cI)))
512+ else $Tuple7(dk, cE, cF, cG, (bx() - (if (cl)
513+ then aL(cn)
514+ else 0)), (bw() - (if (!(cl))
515+ then aL(cn)
516+ else 0)), cK)
508517 }
509518 }
510519
511520
512-func dj (ci,ck,cZ) = cY(ci, ck, cZ, aY(), ba(), aZ(), bb())
521+func dm (cl,cn,dc) = db(cl, cn, dc, aZ(), bd(), bb(), be())
513522
514523
515-func dk (dl,cb,cc) = {
516- let dm = valueOrErrorMessage(getInteger(dl, cb), ((("Can not get oracle price. Oracle: " + toString(dl)) + " key: ") + cb))
517- if ((cc != ""))
524+func dn (do,ce,cf) = {
525+ let dp = valueOrErrorMessage(getInteger(do, ce), ((("Can not get oracle price. Oracle: " + toString(do)) + " key: ") + ce))
526+ if ((cf != ""))
518527 then {
519- let dn = height
520- let do = valueOrErrorMessage(getInteger(dl, cc), ((("Can not get oracle block. Oracle: " + toString(dl)) + " key: ") + cc))
521- if (((dn - do) > bx()))
522- then throw(((("Oracle stale data. Last oracle block: " + toString(do)) + " current block: ") + toString(dn)))
523- else dm
528+ let dq = height
529+ let dr = valueOrErrorMessage(getInteger(do, cf), ((("Can not get oracle block. Oracle: " + toString(do)) + " key: ") + cf))
530+ if (((dq - dr) > bA()))
531+ then throw(((("Oracle stale data. Last oracle block: " + toString(dr)) + " current block: ") + toString(dq)))
532+ else dp
524533 }
525- else dm
534+ else dp
526535 }
527536
528537
529-func dp () = {
530- let dq = valueOrErrorMessage(bW(a), "No base asset oracle data")
531- let dr = dk(dq._1, dq._2, dq._3)
532- let ds = bW(b)
533- let dt = if (isDefined(ds))
538+func ds () = {
539+ let dt = valueOrErrorMessage(bZ(a), "No base asset oracle data")
540+ let du = dn(dt._1, dt._2, dt._3)
541+ let dv = bZ(b)
542+ let dw = if (isDefined(dv))
534543 then {
535- let du = value(ds)
536- dk(du._1, du._2, du._3)
544+ let dx = value(dv)
545+ dn(dx._1, dx._2, dx._3)
537546 }
538547 else av
539- aG(dr, dt)
548+ aG(du, dw)
540549 }
541550
542551
543-func dv () = {
544- let dq = valueOrErrorMessage(bW(a), "No base asset oracle data")
545- let dl = dq._1
546- let cd = dq._4
547- if ((cd != ""))
552+func dy () = {
553+ let dt = valueOrErrorMessage(bZ(a), "No base asset oracle data")
554+ let do = dt._1
555+ let cg = dt._4
556+ if ((cg != ""))
548557 then {
549- let dw = valueOrErrorMessage(getBoolean(dl, cd), ((("Can not get oracle is open/closed. Oracle: " + toString(dl)) + " key: ") + cd))
550- !(dw)
558+ let dz = valueOrErrorMessage(getBoolean(do, cg), ((("Can not get oracle is open/closed. Oracle: " + toString(do)) + " key: ") + cg))
559+ !(dz)
551560 }
552561 else false
553562 }
554563
555564
556-func dx (dy,da,dc,ct,cu) = {
557- let dz = aG(aI(da, ct), aI(dc, cu))
558- let dA = aG((dy + dz), (2 * av))
559- let dx = aG(aL((dy - dz)), dA)
560- dx
565+func dA (dB,dd,df,cw,cx) = {
566+ let dC = aG(aI(dd, cw), aI(df, cx))
567+ let dD = aG((dB + dC), (2 * av))
568+ let dA = aG(aL((dB - dC)), dD)
569+ dA
561570 }
562571
563572
564-func dB (da,dc) = {
565- let dC = dp()
566- let ct = ba()
567- let cu = bb()
568- let dD = dx(dC, aY(), aZ(), ct, cu)
569- let dE = dx(dC, da, dc, ct, cu)
570- if (if ((dE > bp()))
571- then (dE > dD)
573+func dE (dd,df) = {
574+ let dF = ds()
575+ let cw = bd()
576+ let cx = be()
577+ let dG = dA(dF, aZ(), bb(), cw, cx)
578+ let dH = dA(dF, dd, df, cw, cx)
579+ if (if ((dH > bs()))
580+ then (dH > dG)
572581 else false)
573- then throw(((("Price spread " + toString(dE)) + " > max price spread ") + toString(bp())))
582+ then throw(((("Price spread " + toString(dH)) + " > max price spread ") + toString(bs())))
574583 else true
575584 }
576585
577586
578-func dF (dG,dH) = {
579- let dI = bq()
580- if ((dG > dI))
581- then throw(((("Long open notional " + toString(dG)) + " > max open notional ") + toString(dI)))
582- else if ((dH > dI))
583- then throw(((("Short open notional " + toString(dH)) + " > max open notional ") + toString(dI)))
587+func dI (dJ,dK) = {
588+ let dL = bt()
589+ if ((dJ > dL))
590+ then throw(((("Long open notional " + toString(dJ)) + " > max open notional ") + toString(dL)))
591+ else if ((dK > dL))
592+ then throw(((("Short open notional " + toString(dK)) + " > max open notional ") + toString(dL)))
584593 else true
585594 }
586595
587596
588-func dJ () = {
589- let da = aY()
590- let dc = aZ()
591- let ct = ba()
592- let cu = bb()
593- aG(aI(da, ct), aI(dc, cu))
597+func dM () = {
598+ let dd = aZ()
599+ let df = bb()
600+ let cw = bd()
601+ let cx = be()
602+ aG(aI(dd, cw), aI(df, cx))
594603 }
595604
596605
597-func dK () = {
598- let dC = dp()
599- let dL = dJ()
600- (aG(aL((dC - dL)), dC) > bn())
606+func dN () = {
607+ let dF = ds()
608+ let dO = dM()
609+ (aG(aL((dF - dO)), dF) > bq())
601610 }
602611
603612
604-func dM (bJ,dN,da,db,dc,dd) = {
605- let dO = aL(bJ)
606- let dP = (0 > bJ)
607- let dQ = if ((dN == ay))
613+func dP (bM,dQ,dd,de,df,dg) = {
614+ let dR = aL(bM)
615+ let dS = (0 > bM)
616+ let dT = if ((dQ == ay))
608617 then {
609- let dR = cY(!(dP), dO, false, da, db, dc, dd)._1
610- dR
618+ let dU = db(!(dS), dR, false, dd, de, df, dg)._1
619+ dU
611620 }
612- else aI(dO, dp())
613- dQ
621+ else aI(dR, ds())
622+ dT
614623 }
615624
616625
617-func dS (bJ,dT,da,db,dc,dd,dN) = if ((bJ == 0))
626+func dV (bM,dW,dd,de,df,dg,dQ) = if ((bM == 0))
618627 then throw("Invalid position size")
619628 else {
620- let dP = (0 > bJ)
621- let dQ = dM(bJ, dN, da, db, dc, dd)
622- let dU = if (dP)
623- then (dT - dQ)
624- else (dQ - dT)
625- $Tuple2(dQ, dU)
629+ let dS = (0 > bM)
630+ let dT = dP(bM, dQ, dd, de, df, dg)
631+ let dX = if (dS)
632+ then (dW - dT)
633+ else (dT - dW)
634+ $Tuple2(dT, dX)
626635 }
627636
628637
629-func dV (bL,bM,dN) = {
630- let dW = bK(bL, bM)
631- let bQ = dW._1
632- let dX = dW._2
633- let dY = dW._3
634- let dZ = dW._4
635- dS(bQ, dY, aY(), ba(), aZ(), bb(), dN)
638+func dY (bO,bP,dQ) = {
639+ let dZ = bN(bO, bP)
640+ let bT = dZ._1
641+ let ea = dZ._2
642+ let eb = dZ._3
643+ let ec = dZ._4
644+ dV(bT, eb, aZ(), bd(), bb(), be(), dQ)
636645 }
637646
638647
639-func ea (eb,ec,ed) = aG((eb - ec), ed)
648+func ed (ee,ef,eg) = aG((ee - ef), eg)
640649
641650
642-func ee (bL,bM,dN) = {
643- let ef = bK(bL, bM)
644- let bQ = ef._1
645- let dX = ef._2
646- let eg = ef._3
647- let eh = ef._4
648- let ei = ef._5
649- let ej = dV(bL, bM, dN)
650- let dQ = ej._1
651- let dU = ej._2
652- let ek = cO(bQ, dX, eh, ei, dU)
653- let cW = ek._1
654- let cX = ek._2
655- ea(cW, cX, dQ)
651+func eh (bO,bP,dQ) = {
652+ let ei = bN(bO, bP)
653+ let bT = ei._1
654+ let ea = ei._2
655+ let ej = ei._3
656+ let ek = ei._4
657+ let el = ei._5
658+ let em = dY(bO, bP, dQ)
659+ let dT = em._1
660+ let dX = em._2
661+ let en = cR(bT, ea, ek, el, dX)
662+ let cZ = en._1
663+ let da = en._2
664+ ed(cZ, da, dT)
656665 }
657666
658667
659-func el (bL,bM) = ee(bL, bM, ay)
668+func eo (bO,bP) = eh(bO, bP, ay)
660669
661670
662-func em (bL,bJ) = {
663- let en = aM(bm(), (av - aG(el(bL, bR(bJ)), bk())))
664- let eo = aI(aL(bJ), en)
665- let ep = dj((bJ > 0), eo, false)
666- let eq = ep._1
667- let cH = ep._7
668- if ((bo() > cH))
669- then eo
670- else aI(aL(bJ), bm())
671+func ep (bO,bM) = {
672+ let eq = aM(bp(), (av - aG(eo(bO, bU(bM)), bn())))
673+ let er = aI(aL(bM), eq)
674+ let es = dm((bM > 0), er, false)
675+ let et = es._1
676+ let cK = es._7
677+ if ((br() > cK))
678+ then er
679+ else aI(aL(bM), bp())
671680 }
672681
673682
674-func er (bL,bM,es,et,eu,ev,cZ,ew) = {
675- let ex = bK(bL, bM)
676- let ey = ex._1
677- let ez = ex._2
678- let eA = ex._3
679- let eB = ex._4
680- let eC = ex._5
681- let eD = (ey > 0)
682- let eE = aL(ey)
683- if (if ((eE >= es))
684- then (es > 0)
683+func eu (bO,bP,ev,ew,ex,ey,dc,ez) = {
684+ let eA = bN(bO, bP)
685+ let eB = eA._1
686+ let eC = eA._2
687+ let eD = eA._3
688+ let eE = eA._4
689+ let eF = eA._5
690+ let eG = (eB > 0)
691+ let eH = aL(eB)
692+ if (if ((eH >= ev))
693+ then (ev > 0)
685694 else false)
686695 then {
687- let eF = (eE > es)
688- let eG = dj((ey > 0), es, cZ)
689- let eH = eG._1
690- let cw = eG._2
691- let cx = eG._3
692- let eI = eG._4
693- let eJ = if ((ey > 0))
694- then -(es)
695- else es
696- let eK = dV(bL, bM, ay)
697- let eL = eK._1
698- let dU = eK._2
699- let eM = aG(aL(eJ), eE)
700- let eN = aI(dU, eM)
701- let eO = cO(ey, ez, eB, eC, dU)
702- let eP = eO._1
703- let eQ = eO._2
704- let eR = eO._3
705- let cN = eO._4
706- let eS = cO(ey, ez, eB, eC, eN)._2
707- let eT = aI(aI(eL, eM), et)
708- let eU = (dU - eN)
709- let eV = if ((ey > 0))
710- then ((eL - eH) - eU)
711- else ((eU + eL) - eH)
712- let eW = (ey + eJ)
713- let eX = if ((eW == 0))
696+ let eI = (eH > ev)
697+ let eJ = dm((eB > 0), ev, dc)
698+ let eK = eJ._1
699+ let cz = eJ._2
700+ let cA = eJ._3
701+ let eL = eJ._4
702+ let eM = if ((eB > 0))
703+ then -(ev)
704+ else ev
705+ let eN = dY(bO, bP, ay)
706+ let eO = eN._1
707+ let dX = eN._2
708+ let eP = aG(aL(eM), eH)
709+ let eQ = aI(dX, eP)
710+ let eR = cR(eB, eC, eE, eF, dX)
711+ let eS = eR._1
712+ let eT = eR._2
713+ let eU = eR._3
714+ let cQ = eR._4
715+ let eV = cR(eB, eC, eE, eF, eQ)._2
716+ let eW = aI(aI(eO, eP), ew)
717+ let eX = (dX - eQ)
718+ let eY = if ((eB > 0))
719+ then ((eO - eK) - eX)
720+ else ((eX + eO) - eK)
721+ let eZ = (eB + eM)
722+ let fa = if ((eZ == 0))
714723 then $Tuple2(0, 0)
715- else $Tuple2(aL(eV), bI(eW))
716- let eY = eX._1
717- let eZ = eX._2
718- let fa = (eA - eY)
719- let fb = ee(bL, bM, ay)
720- let fc = if ((ey > 0))
721- then (aI((eY + eU), fb) - eU)
722- else (aI((eY - eU), fb) - eU)
723- let fd = ((eP - (fc + eU)) - eT)
724- let fe = if ((0 > fd))
725- then if (ew)
724+ else $Tuple2(aL(eY), bL(eZ))
725+ let fb = fa._1
726+ let fc = fa._2
727+ let fd = (eD - fb)
728+ let fe = eh(bO, bP, ay)
729+ let ff = if ((eB > 0))
730+ then (aI((fb + eX), fe) - eX)
731+ else (aI((fb - eX), fe) - eX)
732+ let fg = ((eS - (ff + eX)) - eW)
733+ let fh = if ((0 > fg))
734+ then if (ez)
726735 then 0
727736 else throw("Invalid internalClosePosition params: unable to pay fee")
728- else fd
729- let ff = if (ev)
730- then (fc + fe)
731- else fc
732- if (if ((eu != 0))
733- then (eu > eH)
737+ else fg
738+ let fi = if (ey)
739+ then (ff + fh)
740+ else ff
741+ if (if ((ex != 0))
742+ then (ex > eK)
734743 else false)
735- then throw(((("Limit error: " + toString(eH)) + " < ") + toString(eu)))
736- else $Tuple17(eW, ff, eY, eZ, eS, eN, if (if (ev)
737- then eF
744+ then throw(((("Limit error: " + toString(eK)) + " < ") + toString(ex)))
745+ else $Tuple17(eZ, fi, fb, fc, eV, eQ, if (if (ey)
746+ then eI
738747 else false)
739748 then 0
740- else fe, cw, cx, eI, (bd() - fa), (bu() - (if (eD)
741- then aL(eJ)
742- else 0)), (bt() - (if (!(eD))
743- then aL(eJ)
744- else 0)), (bf() - (if (eD)
745- then fa
746- else 0)), (be() - (if (!(eD))
747- then fa
748- else 0)), (eT + cN), eH)
749+ else fh, cz, cA, eL, (bg() - fd), (bx() - (if (eG)
750+ then aL(eM)
751+ else 0)), (bw() - (if (!(eG))
752+ then aL(eM)
753+ else 0)), (bi() - (if (eG)
754+ then fd
755+ else 0)), (bh() - (if (!(eG))
756+ then fd
757+ else 0)), (eW + cQ), eK)
749758 }
750- else throw(((("Invalid internalClosePosition params: invalid position size: " + toString(es)) + " max: ") + toString(eE)))
759+ else throw(((("Invalid internalClosePosition params: invalid position size: " + toString(ev)) + " max: ") + toString(eH)))
751760 }
752761
753762
754-func fg () = {
755- let bJ = bc()
756- if ((bJ == 0))
757- then $Tuple2(aY(), aZ())
763+func fj () = {
764+ let bM = bf()
765+ if ((bM == 0))
766+ then $Tuple2(aZ(), bb())
758767 else {
759- let fh = (bJ > 0)
760- let fi = dj(fh, aL(bJ), false)
761- let fj = fi._1
762- let fk = fi._2
763- let fl = fi._3
764- $Tuple2(fk, fl)
768+ let fk = (bM > 0)
769+ let fl = dm(fk, aL(bM), false)
770+ let fm = fl._1
771+ let fn = fl._2
772+ let fo = fl._3
773+ $Tuple2(fn, fo)
765774 }
766775 }
767776
768777
769-func fm (fn,bc,fo,fp) = {
770- let fq = toBigInt(fn)
771- let fr = toBigInt(bc)
772- let fs = toBigInt(fo)
773- let ft = toBigInt(fp)
774- let aO = aK(fs, fq)
775- let fu = (fq + fr)
776- let fv = aJ(aO, fu)
777- let fw = aJ(fv, fu)
778- let fx = aJ(ft, fw)
779- toInt(fx)
778+func fp (fq,bf,fr,fs) = {
779+ let ft = toBigInt(fq)
780+ let fu = toBigInt(bf)
781+ let fv = toBigInt(fr)
782+ let fw = toBigInt(fs)
783+ let aO = aK(fv, ft)
784+ let fx = (ft + fu)
785+ let fy = aJ(aO, fx)
786+ let fz = aJ(fy, fx)
787+ let fA = aJ(fw, fz)
788+ toInt(fA)
780789 }
781790
782791
783-func fy (fz,co,cp) = {
784- let bJ = bc()
785- if ((bJ == 0))
792+func fB (fC,cr,cs) = {
793+ let bM = bf()
794+ if ((bM == 0))
786795 then {
787- let fA = aG(aI(fz, cp), co)
788- $Tuple3(fA, av, 0)
796+ let fD = aG(aI(fC, cs), cr)
797+ $Tuple3(fD, av, 0)
789798 }
790799 else {
791- let fh = (bJ > 0)
792- let fj = dj(fh, aL(bJ), false)._1
793- let fA = fm(cp, bJ, co, fz)
794- let fB = av
795- let fC = dS(bJ, fj, co, fA, cp, fB, ay)._2
796- $Tuple3(fA, fB, fC)
800+ let fk = (bM > 0)
801+ let fm = dm(fk, aL(bM), false)._1
802+ let fD = fp(cs, bM, cr, fC)
803+ let fE = av
804+ let fF = dV(bM, fm, cr, fD, cs, fE, ay)._2
805+ $Tuple3(fD, fE, fF)
797806 }
798807 }
799808
800809
801-func fD () = {
802- let fE = dp()
803- let fF = dJ()
804- let fG = (fF - fE)
805- if (if (dv())
810+func fG () = {
811+ let fH = ds()
812+ let fI = dM()
813+ let fJ = (fI - fH)
814+ if (if (dy())
806815 then true
807- else if ((by() == aA))
808- then if ((bt() == 0))
816+ else if ((bB() == aA))
817+ then if ((bw() == 0))
809818 then true
810- else (bu() == 0)
819+ else (bx() == 0)
811820 else false)
812821 then $Tuple3(0, 0, 0)
813- else if ((0 > fG))
822+ else if ((0 > fJ))
814823 then {
815- let fH = aG(aI(fG, bi()), ax)
816- if ((by() == aA))
824+ let fK = aG(aI(fJ, bl()), ax)
825+ if ((bB() == aA))
817826 then {
818- let fI = aG(aI(fH, bt()), bu())
819- $Tuple3(fH, fI, 0)
827+ let fL = aG(aI(fK, bw()), bx())
828+ $Tuple3(fK, fL, 0)
820829 }
821830 else {
822- let fJ = aL(aI(fH, bt()))
823- let fK = aL(aI(fH, bu()))
824- let fL = (fJ - fK)
825- $Tuple3(fH, fH, fL)
831+ let fM = aL(aI(fK, bw()))
832+ let fN = aL(aI(fK, bx()))
833+ let fO = (fM - fN)
834+ $Tuple3(fK, fK, fO)
826835 }
827836 }
828837 else {
829- let fI = aG(aI(fG, bi()), ax)
830- if ((by() == aA))
838+ let fL = aG(aI(fJ, bl()), ax)
839+ if ((bB() == aA))
831840 then {
832- let fH = aG(aI(fI, bu()), bt())
833- $Tuple3(fH, fI, 0)
841+ let fK = aG(aI(fL, bx()), bw())
842+ $Tuple3(fK, fL, 0)
834843 }
835844 else {
836- let fK = aL(aI(fI, bu()))
837- let fJ = aL(aI(fI, bt()))
838- let fL = (fK - fJ)
839- $Tuple3(fI, fI, fL)
845+ let fN = aL(aI(fL, bx()))
846+ let fM = aL(aI(fL, bw()))
847+ let fO = (fN - fM)
848+ $Tuple3(fL, fL, fO)
840849 }
841850 }
842851 }
843852
844853
845-func fM (fN,fO) = {
846- let fP = aV()
847- let fQ = aI(fP, fO)
848- let fR = if ((fN != ""))
854+func fP (fQ,fR) = {
855+ let fS = aW()
856+ let fT = aI(fS, fR)
857+ let fU = if ((fQ != ""))
849858 then {
850- let fS = aR(an(), ac(ap, fN))
851- if ((fS == aq))
859+ let fV = aR(an(), ac(ap, fQ))
860+ if ((fV == aq))
852861 then {
853- let fT = aT(an(), ac(ao, fN))
854- let fU = aI(fQ, fT)
855- $Tuple2(fU, true)
862+ let fW = aT(an(), ac(ao, fQ))
863+ let fX = aI(fT, fW)
864+ $Tuple2(fX, true)
856865 }
857866 else throw("Invalid attached artifact")
858867 }
859- else $Tuple2(fQ, false)
860- let fU = fR._1
861- let fV = fR._2
862- $Tuple2(fU, fV)
868+ else $Tuple2(fT, false)
869+ let fX = fU._1
870+ let fY = fU._2
871+ $Tuple2(fX, fY)
863872 }
864873
865874
866-func fW (bL,fN) = {
867- let fX = invoke(ak(), "computeFeeDiscount", [bL], nil)
868- if ((fX == fX))
875+func fZ (bO,fQ) = {
876+ let ga = invoke(ak(), "computeFeeDiscount", [bO], nil)
877+ if ((ga == ga))
869878 then {
870- let fY = {
871- let bP = fX
872- if ($isInstanceOf(bP, "Int"))
879+ let gb = {
880+ let bS = ga
881+ if ($isInstanceOf(bS, "Int"))
873882 then {
874- let fZ = bP
875- fZ
883+ let gc = bS
884+ gc
876885 }
877886 else throw("Invalid computeFeeDiscount result")
878887 }
879- let ga = fM(fN, fY)
880- let fU = ga._1
881- let fV = ga._2
882- $Tuple2(fU, fV)
888+ let gd = fP(fQ, gb)
889+ let fX = gd._1
890+ let fY = gd._2
891+ $Tuple2(fX, fY)
883892 }
884893 else throw("Strict value is not equal to itself.")
885894 }
886895
887896
888-func gb (bC) = {
889- let gc = if ((size(bC.payments) > 1))
890- then toBase58String(valueOrErrorMessage(bC.payments[1].assetId, "Invalid artifactId"))
897+func ge (bF) = {
898+ let gf = if ((size(bF.payments) > 1))
899+ then toBase58String(valueOrErrorMessage(bF.payments[1].assetId, "Invalid artifactId"))
891900 else ""
892- gc
901+ gf
893902 }
894903
895904
896-func gd (ge) = {
897- let gf = aI(ge, bw())
898- let gg = (ge - gf)
899- $Tuple2(gf, gg)
905+func gg (gh) = {
906+ let gi = aI(gh, bz())
907+ let gj = (gh - gi)
908+ $Tuple2(gi, gj)
900909 }
901910
902911
903-func gh (gi,gj,gk,gl,et,gm,gn,go,gp,dI,gq,gr,gs,gt,gu) = [IntegerEntry(r, gi), IntegerEntry(s, gj), IntegerEntry(t, gk), IntegerEntry(q, gl), IntegerEntry(o, et), IntegerEntry(v, gm), IntegerEntry(w, gn), IntegerEntry(u, go), IntegerEntry(x, gp), IntegerEntry(y, dI), IntegerEntry(z, gq), IntegerEntry(A, gr), IntegerEntry(p, gs), IntegerEntry(B, gt), IntegerEntry(C, gu)]
912+func gk (gl,gm,gn,go,ew,gp,gq,gr,gs,dL,gt,gu,gv,gw,gx) = [IntegerEntry(r, gl), IntegerEntry(s, gm), IntegerEntry(t, gn), IntegerEntry(q, go), IntegerEntry(o, ew), IntegerEntry(v, gp), IntegerEntry(w, gq), IntegerEntry(u, gr), IntegerEntry(x, gs), IntegerEntry(y, dL), IntegerEntry(z, gt), IntegerEntry(A, gu), IntegerEntry(p, gv), IntegerEntry(B, gw), IntegerEntry(C, gx)]
904913
905914
906-func gv (gw,gx,gy,gz,gA) = [IntegerEntry(F, gw), IntegerEntry(D, gx), IntegerEntry(E, gy), IntegerEntry(G, gz), IntegerEntry(H, gA)]
915+func gy (gz,gA,gB,gC,gD) = [IntegerEntry(F, gz), IntegerEntry(D, gA), IntegerEntry(E, gB), IntegerEntry(G, gC), IntegerEntry(H, gD)]
907916
908917
909-func gB (gC,bL,bM) = {
910- let bN = ((bL + "_") + toString(bM))
911- if (gC)
918+func gE (gF,bO,bP) = {
919+ let bQ = ((bO + "_") + toString(bP))
920+ if (gF)
912921 then {
913- let gD = bv()
914-[IntegerEntry(ac(i, bN), (gD + 1)), IntegerEntry(d, (gD + 1))]
922+ let gG = by()
923+[IntegerEntry(ac(i, bQ), (gG + 1)), IntegerEntry(d, (gG + 1))]
915924 }
916925 else nil
917926 }
918927
919928
920-func gE (gC,bL,bM,et) = {
921- let bN = ((bL + "_") + toString(bM))
922- if (gC)
923- then [IntegerEntry(ac(j, bN), et)]
929+func gH (gF,bO,bP,ew) = {
930+ let bQ = ((bO + "_") + toString(bP))
931+ if (gF)
932+ then [IntegerEntry(ac(j, bQ), ew)]
924933 else nil
925934 }
926935
927936
928-func gF (bL,es,gG,gH,cT,gI) = {
929- let fh = bR(es)
930- let bN = ((bL + "_") + toString(fh))
931-[IntegerEntry(ac(e, bN), es), IntegerEntry(ac(f, bN), gG), IntegerEntry(ac(g, bN), gH), IntegerEntry(ac(h, bN), cT), IntegerEntry(ac(k, bN), gI)]
937+func gI (bO,ev,gJ,gK,cW,gL) = {
938+ let fk = bU(ev)
939+ let bQ = ((bO + "_") + toString(fk))
940+[IntegerEntry(ac(e, bQ), ev), IntegerEntry(ac(f, bQ), gJ), IntegerEntry(ac(g, bQ), gK), IntegerEntry(ac(h, bQ), cW), IntegerEntry(ac(k, bQ), gL)]
932941 }
933942
934943
935-func gJ (co,cp) = if (if ((0 > co))
944+func gM (cr,cs) = if (if ((0 > cr))
936945 then true
937- else (0 > cp))
946+ else (0 > cs))
938947 then throw("Invalid amount to update reserves")
939- else [IntegerEntry(I, co), IntegerEntry(J, cp)]
948+ else if (if ((cr != ba()))
949+ then true
950+ else (cs != bc()))
951+ then [IntegerEntry(I, cr), IntegerEntry(J, cs)]
952+ else nil
940953
941954
942-func gK (ct,cu) = [IntegerEntry(K, ct), IntegerEntry(L, cu)]
955+func gN (cw,cx) = if (if ((cw != bd()))
956+ then true
957+ else (cx != be()))
958+ then [IntegerEntry(K, cw), IntegerEntry(L, cx)]
959+ else nil
943960
944961
945-func gL (co,cp,gM,gN,gO,gP,gQ,gR) = {
946- let ct = ba()
947- let cu = bb()
948- if (((gO - gP) != gM))
949- then throw(((((("Invalid AMM state data: " + toString(gO)) + " + ") + toString(gP)) + " != ") + toString(gM)))
950- else (gJ(co, cp) ++ [IntegerEntry(M, gM), IntegerEntry(P, gN), IntegerEntry(N, gO), IntegerEntry(O, gP), IntegerEntry(R, gQ), IntegerEntry(Q, gR)])
962+func gO (cr,cs,gP,gQ,gR,gS,gT,gU) = {
963+ let cw = bd()
964+ let cx = be()
965+ if (((gR - gS) != gP))
966+ then throw(((((("Invalid AMM state data: " + toString(gR)) + " + ") + toString(gS)) + " != ") + toString(gP)))
967+ else (gM(cr, cs) ++ [IntegerEntry(M, gP), IntegerEntry(P, gQ), IntegerEntry(N, gR), IntegerEntry(O, gS), IntegerEntry(R, gT), IntegerEntry(Q, gU)])
951968 }
952969
953970
954-func gS (bL,bM) = {
955- let bN = ((bL + "_") + toString(bM))
956-[DeleteEntry(ac(e, bN)), DeleteEntry(ac(f, bN)), DeleteEntry(ac(g, bN)), DeleteEntry(ac(h, bN)), DeleteEntry(ac(j, bN)), DeleteEntry(ac(k, bN))]
971+func gV (bO,bP) = {
972+ let bQ = ((bO + "_") + toString(bP))
973+[DeleteEntry(ac(e, bQ)), DeleteEntry(ac(f, bQ)), DeleteEntry(ac(g, bQ)), DeleteEntry(ac(h, bQ)), DeleteEntry(ac(j, bQ)), DeleteEntry(ac(k, bQ))]
957974 }
958975
959976
960-func gT (ae,gU) = {
961- let gV = assetBalance(this, ah())
962- if ((gU > gV))
963- then throw(((("Unable to withdraw " + toString(gU)) + " from contract balance ") + toString(gV)))
964- else [ScriptTransfer(ae, gU, ah())]
977+func gW (ae,gX) = {
978+ let gY = assetBalance(this, ah())
979+ if ((gX > gY))
980+ then throw(((("Unable to withdraw " + toString(gX)) + " from contract balance ") + toString(gY)))
981+ else [ScriptTransfer(ae, gX, ah())]
965982 }
966983
967984
968-func gW (bC) = if ((0 > bC))
985+func gZ (ha) = if ((0 > ha))
969986 then throw("Balance")
970- else [IntegerEntry(c, bC)]
987+ else if (if ((aV() == 0))
988+ then true
989+ else (aV() != ha))
990+ then [IntegerEntry(c, ha)]
991+ else nil
971992
972993
973-func gX (bC) = [ScriptTransfer(ai(), bC, ah())]
994+func hb (bF) = [ScriptTransfer(ai(), bF, ah())]
974995
975996
976-func gY (gZ,bC) = if (gZ)
977- then [Burn(valueOrErrorMessage(bC.payments[1].assetId, "Invalid artifact"), 1)]
997+func hc (hd,bF) = if (hd)
998+ then [Burn(valueOrErrorMessage(bF.payments[1].assetId, "Invalid artifact"), 1)]
978999 else nil
9791000
9801001
981-@Callable(bC)
982-func pause () = if ((bC.caller != ag()))
1002+@Callable(bF)
1003+func pause () = if ((bF.caller != ag()))
9831004 then throw("Invalid pause params")
9841005 else [BooleanEntry(m, true)]
9851006
9861007
9871008
988-@Callable(bC)
989-func unpause () = if ((bC.caller != ag()))
1009+@Callable(bF)
1010+func unpause () = if ((bF.caller != ag()))
9901011 then throw("Invalid unpause params")
9911012 else [BooleanEntry(m, false)]
9921013
9931014
9941015
995-@Callable(bC)
996-func setCloseOnly () = if ((bC.caller != ag()))
1016+@Callable(bF)
1017+func setCloseOnly () = if ((bF.caller != ag()))
9971018 then throw("Invalid setCloseOnly params")
9981019 else [BooleanEntry(n, true)]
9991020
10001021
10011022
1002-@Callable(bC)
1003-func unsetCloseOnly () = if ((bC.caller != ag()))
1023+@Callable(bF)
1024+func unsetCloseOnly () = if ((bF.caller != ag()))
10041025 then throw("Invalid unsetCloseOnly params")
10051026 else [BooleanEntry(n, false)]
10061027
10071028
10081029
1009-@Callable(bC)
1010-func changeLiquidity (cj) = if (if ((bC.caller != ag()))
1030+@Callable(bF)
1031+func changeLiquidity (cm) = if (if ((bF.caller != ag()))
10111032 then true
1012- else (cj == 0))
1033+ else (cm == 0))
10131034 then throw("Invalid changeLiquidity params")
10141035 else {
1015- let co = aY()
1016- let cp = aZ()
1017- let ct = ba()
1018- let cu = bb()
1019- let ha = aG(aI(co, ct), aI(cp, cu))
1020- let hb = (co + cj)
1021- let hc = (aG(aI(hb, ct), ha) - cp)
1022- let hd = (cp + hc)
1023- let he = fy(dp(), hb, hd)
1024- let hf = he._1
1025- let hg = he._2
1026- let fC = he._3
1027- let hh = if ((fC != 0))
1036+ let cr = aZ()
1037+ let cs = bb()
1038+ let cw = bd()
1039+ let cx = be()
1040+ let he = aG(aI(cr, cw), aI(cs, cx))
1041+ let hf = (cr + cm)
1042+ let hg = (aG(aI(hf, cw), he) - cs)
1043+ let hh = (cs + hg)
1044+ let hi = fB(ds(), hf, hh)
1045+ let hj = hi._1
1046+ let hk = hi._2
1047+ let fF = hi._3
1048+ let hl = if ((fF != 0))
10281049 then {
1029- let hh = invoke(aj(), "exchangeFreeAndLocked", [fC], nil)
1030- if ((hh == hh))
1050+ let hl = invoke(aj(), "exchangeFreeAndLocked", [fF], nil)
1051+ if ((hl == hl))
10311052 then nil
10321053 else throw("Strict value is not equal to itself.")
10331054 }
10341055 else nil
1035- if ((hh == hh))
1036- then (gJ(hb, hd) ++ gK(hf, hg))
1056+ if ((hl == hl))
1057+ then (gM(hf, hh) ++ gN(hj, hk))
10371058 else throw("Strict value is not equal to itself.")
10381059 }
10391060
10401061
10411062
1042-@Callable(bC)
1043-func changeSettings (gi,gj,gk,gl,et,gm,gn,go,gp,dI,gq,gr,gs,gt,gu) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= gl))
1063+@Callable(bF)
1064+func changeSettings (gl,gm,gn,go,ew,gp,gq,gr,gs,dL,gt,gu,gv,gw,gx) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= go))
10441065 then true
1045- else (0 >= gi))
1046- then true
1047- else (0 >= gj))
1048- then true
1049- else (0 >= gk))
1050- then true
1051- else (0 >= et))
1066+ else (0 >= gl))
10521067 then true
10531068 else (0 >= gm))
10541069 then true
10551070 else (0 >= gn))
10561071 then true
1057- else (0 >= go))
1072+ else (0 >= ew))
10581073 then true
10591074 else (0 >= gp))
10601075 then true
1061- else (0 >= dI))
1062- then true
10631076 else (0 >= gq))
1064- then true
1065- else (gq > av))
10661077 then true
10671078 else (0 >= gr))
10681079 then true
10691080 else (0 >= gs))
10701081 then true
1071- else if ((gt != aB))
1072- then (gt != aA)
1082+ else (0 >= dL))
1083+ then true
1084+ else (0 >= gt))
1085+ then true
1086+ else (gt > av))
1087+ then true
1088+ else (0 >= gu))
1089+ then true
1090+ else (0 >= gv))
1091+ then true
1092+ else if ((gw != aB))
1093+ then (gw != aA)
10731094 else false)
10741095 then true
1075- else if ((gu != aC))
1076- then (gu != aD)
1096+ else if ((gx != aC))
1097+ then (gx != aD)
10771098 else false)
10781099 then true
1079- else !(ce()))
1100+ else !(ch()))
10801101 then true
1081- else (bC.caller != ag()))
1102+ else (bF.caller != ag()))
10821103 then throw("Invalid changeSettings params")
1083- else gh(gi, gj, gk, gl, et, gm, gn, go, gp, dI, gq, gr, gs, gt, gu)
1104+ else gk(gl, gm, gn, go, ew, gp, gq, gr, gs, dL, gt, gu, gv, gw, gx)
10841105
10851106
10861107
1087-@Callable(bC)
1088-func initialize (co,cp,gl,gi,gj,gk,et,hi,hj,hk,gm,gn,go,gp,dI,gq,gr,gs,gt,gu) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= co))
1108+@Callable(bF)
1109+func initialize (cr,cs,go,gl,gm,gn,ew,hm,hn,ho,gp,gq,gr,gs,dL,gt,gu,gv,gw,gx) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= cr))
10891110 then true
1090- else (0 >= cp))
1111+ else (0 >= cs))
1112+ then true
1113+ else (0 >= go))
10911114 then true
10921115 else (0 >= gl))
1093- then true
1094- else (0 >= gi))
1095- then true
1096- else (0 >= gj))
1097- then true
1098- else (0 >= gk))
1099- then true
1100- else (0 >= et))
11011116 then true
11021117 else (0 >= gm))
11031118 then true
11041119 else (0 >= gn))
11051120 then true
1106- else (0 >= go))
1121+ else (0 >= ew))
11071122 then true
11081123 else (0 >= gp))
11091124 then true
1110- else (0 >= dI))
1111- then true
11121125 else (0 >= gq))
11131126 then true
1114- else (gq > av))
1115- then true
1116- else (0 > gr))
1127+ else (0 >= gr))
11171128 then true
11181129 else (0 >= gs))
11191130 then true
1120- else if ((gt != aB))
1121- then (gt != aA)
1131+ else (0 >= dL))
1132+ then true
1133+ else (0 >= gt))
1134+ then true
1135+ else (gt > av))
1136+ then true
1137+ else (0 > gu))
1138+ then true
1139+ else (0 >= gv))
1140+ then true
1141+ else if ((gw != aB))
1142+ then (gw != aA)
11221143 else false)
11231144 then true
1124- else if ((gu != aC))
1125- then (gu != aD)
1145+ else if ((gx != aC))
1146+ then (gx != aD)
11261147 else false)
11271148 then true
1128- else ce())
1149+ else ch())
11291150 then true
1130- else (bC.caller != this))
1151+ else (bF.caller != this))
11311152 then throw("Invalid initialize parameters")
1132- else ((((gL(co, cp, 0, 0, 0, 0, 0, 0) ++ gh(gi, gj, gk, gl, et, gm, gn, go, gp, dI, gq, gr, gs, gt, gu)) ++ gv((bA() + gl), 0, 0, 0, 0)) ++ gW(0)) ++ [BooleanEntry(l, true), StringEntry(a, hi), StringEntry(b, hj), StringEntry(T, toString(addressFromStringValue(hk)))])
1153+ else ((((gO(cr, cs, 0, 0, 0, 0, 0, 0) ++ gk(gl, gm, gn, go, ew, gp, gq, gr, gs, dL, gt, gu, gv, gw, gx)) ++ gy((bD() + go), 0, 0, 0, 0)) ++ gZ(0)) ++ [BooleanEntry(l, true), StringEntry(a, hm), StringEntry(b, hn), StringEntry(T, toString(addressFromStringValue(ho)))])
11331154
11341155
11351156
1136-@Callable(bC)
1137-func increasePosition (bM,hl,hm,hn,ho) = {
1138- let hp = invoke(this, "updateOracle", [ho], nil)
1139- if ((hp == hp))
1157+@Callable(bF)
1158+func increasePosition (bP,hp,hq,hr,hs) = {
1159+ let ht = invoke(this, "updateOracle", [hs], nil)
1160+ if ((ht == ht))
11401161 then {
1141- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1142- if ((hq == hq))
1162+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1163+ if ((hu == hu))
11431164 then {
1144- let hr = invoke(this, "ensureCalledOnce", nil, nil)
1145- if ((hr == hr))
1165+ let hv = invoke(this, "ensureCalledOnce", nil, nil)
1166+ if ((hv == hv))
11461167 then {
1147- let bL = bB(bC)
1148- let hs = bC.payments[0].amount
1149- let ht = bC.payments[0].assetId
1150- let hu = toBase58String(value(ht))
1151- let hv = (ht == ah())
1152- if (if (if (if (if (if (if (if (if ((bM != ar))
1153- then (bM != as)
1168+ let bO = bE(bF)
1169+ let hw = bF.payments[0].amount
1170+ let hx = bF.payments[0].assetId
1171+ let hy = toBase58String(value(hx))
1172+ let hz = (hx == ah())
1173+ if (if (if (if (if (if (if (if (if ((bP != ar))
1174+ then (bP != as)
11541175 else false)
11551176 then true
1156- else (0 >= hs))
1177+ else (0 >= hw))
11571178 then true
1158- else !(ce()))
1179+ else !(ch()))
11591180 then true
1160- else !(hv))
1181+ else !(hz))
11611182 then true
1162- else !(bD(aG(av, hl), aX(), true)))
1183+ else !(bG(aG(av, hp), aY(), true)))
11631184 then true
1164- else cf())
1185+ else ci())
11651186 then true
1166- else cg())
1187+ else cj())
11671188 then true
1168- else dv())
1189+ else dy())
11691190 then throw("Invalid increasePosition parameters")
11701191 else {
1171- let hw = fW(bL, gb(bC))
1172- let fU = hw._1
1173- let fV = hw._2
1174- let gU = aG(hs, (aI(fU, hl) + av))
1175- let hx = (hs - gU)
1176- let hy = invoke(am(), "acceptPaymentWithLink", [bL, hn], [AttachedPayment(ah(), hx)])
1177- if ((hy == hy))
1192+ let hA = fZ(bO, ge(bF))
1193+ let fX = hA._1
1194+ let fY = hA._2
1195+ let gX = aG(hw, (aI(fX, hp) + av))
1196+ let hB = (hw - gX)
1197+ let hC = invoke(am(), "acceptPaymentWithLink", [bO, hr], [AttachedPayment(ah(), hB)])
1198+ if ((hC == hC))
11781199 then {
1179- let hz = {
1180- let bP = hy
1181- if ($isInstanceOf(bP, "Int"))
1200+ let hD = {
1201+ let bS = hC
1202+ if ($isInstanceOf(bS, "Int"))
11821203 then {
1183- let fZ = bP
1184- fZ
1204+ let gc = bS
1205+ gc
11851206 }
11861207 else throw("Invalid referrerFee")
11871208 }
1188- let hA = (hx - hz)
1189- let hB = bK(bL, bM)
1190- let ey = hB._1
1191- let ez = hB._2
1192- let eA = hB._3
1193- let eB = hB._4
1194- let eC = hB._5
1195- let hC = (ey == 0)
1196- let hD = if ((ey > 0))
1197- then (bM == ar)
1198- else (bM == as)
1199- let hE = if (!(hC))
1200- then hD
1209+ let hE = (hB - hD)
1210+ let hF = bN(bO, bP)
1211+ let eB = hF._1
1212+ let eC = hF._2
1213+ let eD = hF._3
1214+ let eE = hF._4
1215+ let eF = hF._5
1216+ let hG = (eB == 0)
1217+ let hH = if ((eB > 0))
1218+ then (bP == ar)
1219+ else (bP == as)
1220+ let hI = if (!(hG))
1221+ then hH
12011222 else false
1202- let hF = (bM == ar)
1203- let hG = if (if (hC)
1223+ let hJ = (bP == ar)
1224+ let hK = if (if (hG)
12041225 then true
1205- else hE)
1226+ else hI)
12061227 then {
1207- let hH = aI(gU, hl)
1208- let hI = cs(hF, hH)
1209- let cz = hI._1
1210- let cw = hI._2
1211- let cx = hI._3
1212- let eI = hI._4
1213- if (if ((hm != 0))
1214- then (hm > aL(cz))
1228+ let hL = aI(gX, hp)
1229+ let hM = cv(hJ, hL)
1230+ let cC = hM._1
1231+ let cz = hM._2
1232+ let cA = hM._3
1233+ let eL = hM._4
1234+ if (if ((hq != 0))
1235+ then (hq > aL(cC))
12151236 else false)
1216- then throw(((("Limit error: " + toString(aL(cz))) + " < ") + toString(hm)))
1237+ then throw(((("Limit error: " + toString(aL(cC))) + " < ") + toString(hq)))
12171238 else {
1218- let eW = (ey + cz)
1219- let hJ = (bf() + (if ((eW > 0))
1220- then hH
1239+ let eZ = (eB + cC)
1240+ let hN = (bi() + (if ((eZ > 0))
1241+ then hL
12211242 else 0))
1222- let hK = (be() + (if ((0 > eW))
1223- then hH
1243+ let hO = (bh() + (if ((0 > eZ))
1244+ then hL
12241245 else 0))
1225- let hL = cO(ey, ez, eB, eC, gU)
1226- let cW = hL._1
1227- let eQ = hL._2
1228- let eR = hL._3
1229- let cN = hL._4
1230- if (!(dB(cw, cx)))
1246+ let hP = cR(eB, eC, eE, eF, gX)
1247+ let cZ = hP._1
1248+ let eT = hP._2
1249+ let eU = hP._3
1250+ let cQ = hP._4
1251+ if (!(dE(cz, cA)))
12311252 then throw("Over max spread limit")
1232- else if (!(dF(hJ, hK)))
1253+ else if (!(dI(hN, hO)))
12331254 then throw("Over max open notional")
1234- else $Tuple14(eW, cW, (eA + hH), bI(eW), bA(), cx, cw, eI, (bd() + hH), (bu() + (if ((eW > 0))
1235- then aL(cz)
1236- else 0)), (bt() + (if ((0 > eW))
1237- then aL(cz)
1238- else 0)), hJ, hK, cN)
1255+ else $Tuple14(eZ, cZ, (eD + hL), bL(eZ), bD(), cA, cz, eL, (bg() + hL), (bx() + (if ((eZ > 0))
1256+ then aL(cC)
1257+ else 0)), (bw() + (if ((0 > eZ))
1258+ then aL(cC)
1259+ else 0)), hN, hO, cQ)
12391260 }
12401261 }
12411262 else {
1242- let hH = aI(gU, hl)
1243- let hM = dV(toString(bC.caller), bM, ay)
1244- let eL = hM._1
1245- let dU = hM._2
1246- if ((eL > hH))
1263+ let hL = aI(gX, hp)
1264+ let hQ = dY(toString(bF.caller), bP, ay)
1265+ let eO = hQ._1
1266+ let dX = hQ._2
1267+ if ((eO > hL))
12471268 then throw("Use decreasePosition to decrease position size")
12481269 else throw("Close position first")
12491270 }
1250- let eW = hG._1
1251- let hN = hG._2
1252- let eY = hG._3
1253- let hO = hG._4
1254- let hP = hG._5
1255- let cx = hG._6
1256- let cw = hG._7
1257- let eI = hG._8
1258- let hQ = hG._9
1259- let hR = hG._10
1260- let hS = hG._11
1261- let hJ = hG._12
1262- let hK = hG._13
1263- let cN = hG._14
1264- let hT = gd((hA + cN))
1265- let gf = hT._1
1266- let gg = hT._2
1267- let hU = if ((gU >= cN))
1268- then invoke(aj(), "addLocked", nil, [AttachedPayment(ah(), (gU - cN))])
1269- else invoke(aj(), "withdrawLocked", [(cN - gU)], nil)
1270- if ((hU == hU))
1271+ let eZ = hK._1
1272+ let hR = hK._2
1273+ let fb = hK._3
1274+ let hS = hK._4
1275+ let hT = hK._5
1276+ let cA = hK._6
1277+ let cz = hK._7
1278+ let eL = hK._8
1279+ let hU = hK._9
1280+ let hV = hK._10
1281+ let hW = hK._11
1282+ let hN = hK._12
1283+ let hO = hK._13
1284+ let cQ = hK._14
1285+ let hX = gg((hE + cQ))
1286+ let gi = hX._1
1287+ let gj = hX._2
1288+ let hY = if ((gX >= cQ))
1289+ then invoke(aj(), "addLocked", nil, [AttachedPayment(ah(), (gX - cQ))])
1290+ else invoke(aj(), "withdrawLocked", [(cQ - gX)], nil)
1291+ if ((hY == hY))
12711292 then {
1272- let hV = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gg)])
1273- if ((hV == hV))
1293+ let hZ = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gj)])
1294+ if ((hZ == hZ))
12741295 then {
1275- let hW = invoke(ak(), "notifyFees", [bL, hA], nil)
1276- if ((hW == hW))
1296+ let ia = invoke(ak(), "notifyFees", [bO, hE], nil)
1297+ if ((ia == ia))
12771298 then {
1278- let hX = invoke(ak(), "notifyNotional", [bL, eY], nil)
1279- if ((hX == hX))
1280- then ((((((gF(bL, eW, hN, eY, hO, hP) ++ gB(hC, bL, bM)) ++ gE(hC, bL, bM, fU)) ++ gL(cw, cx, eI, hQ, hR, hS, hJ, hK)) ++ gX(gf)) ++ gW(((aU() + gU) - cN))) ++ gY(fV, bC))
1299+ let ib = invoke(ak(), "notifyNotional", [bO, fb], nil)
1300+ if ((ib == ib))
1301+ then ((((((gI(bO, eZ, hR, fb, hS, hT) ++ gE(hG, bO, bP)) ++ gH(hG, bO, bP, fX)) ++ gO(cz, cA, eL, hU, hV, hW, hN, hO)) ++ hb(gi)) ++ gZ(((aU() + gX) - cQ))) ++ hc(fY, bF))
12811302 else throw("Strict value is not equal to itself.")
12821303 }
12831304 else throw("Strict value is not equal to itself.")
12981319
12991320
13001321
1301-@Callable(bC)
1302-func addMargin (bM,ho) = {
1303- let hp = invoke(this, "updateOracle", [ho], nil)
1304- if ((hp == hp))
1322+@Callable(bF)
1323+func addMargin (bP,hs) = {
1324+ let ht = invoke(this, "updateOracle", [hs], nil)
1325+ if ((ht == ht))
13051326 then {
1306- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1307- if ((hq == hq))
1327+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1328+ if ((hu == hu))
13081329 then {
1309- let hr = invoke(this, "ensureCalledOnce", nil, nil)
1310- if ((hr == hr))
1330+ let hv = invoke(this, "ensureCalledOnce", nil, nil)
1331+ if ((hv == hv))
13111332 then {
1312- let bL = toString(bC.caller)
1313- let gU = bC.payments[0].amount
1314- let ht = bC.payments[0].assetId
1315- let hu = toBase58String(value(ht))
1316- let hv = (ht == ah())
1317- if (if (if (if (if (!(hv))
1333+ let bO = toString(bF.caller)
1334+ let gX = bF.payments[0].amount
1335+ let hx = bF.payments[0].assetId
1336+ let hy = toBase58String(value(hx))
1337+ let hz = (hx == ah())
1338+ if (if (if (if (if (!(hz))
13181339 then true
1319- else !(bV(toString(bC.caller), bM)))
1340+ else !(bY(toString(bF.caller), bP)))
13201341 then true
1321- else !(ce()))
1342+ else !(ch()))
13221343 then true
1323- else cf())
1344+ else ci())
13241345 then true
1325- else dv())
1346+ else dy())
13261347 then throw("Invalid addMargin parameters")
13271348 else {
1328- let hY = bK(bL, bM)
1329- let ey = hY._1
1330- let ez = hY._2
1331- let eA = hY._3
1332- let eB = hY._4
1333- let eC = hY._5
1334- let hU = invoke(aj(), "addLocked", nil, [AttachedPayment(ah(), gU)])
1335- if ((hU == hU))
1349+ let ic = bN(bO, bP)
1350+ let eB = ic._1
1351+ let eC = ic._2
1352+ let eD = ic._3
1353+ let eE = ic._4
1354+ let eF = ic._5
1355+ let hY = invoke(aj(), "addLocked", nil, [AttachedPayment(ah(), gX)])
1356+ if ((hY == hY))
13361357 then {
1337- let cN = cJ(ez, eC)
1338- let hZ = if ((cN > 0))
1358+ let cQ = cM(eC, eF)
1359+ let id = if ((cQ > 0))
13391360 then {
1340- let ia = gd(cN)
1341- let gf = ia._1
1342- let gg = ia._2
1343- let ib = invoke(aj(), "withdrawLocked", [gf], nil)
1344- if ((ib == ib))
1361+ let ie = gg(cQ)
1362+ let gi = ie._1
1363+ let gj = ie._2
1364+ let if = invoke(aj(), "withdrawLocked", [gi], nil)
1365+ if ((if == if))
13451366 then {
1346- let ic = invoke(aj(), "exchangeFreeAndLocked", [-(gg)], nil)
1347- if ((ic == ic))
1348- then gX(gf)
1367+ let ig = invoke(aj(), "exchangeFreeAndLocked", [-(gj)], nil)
1368+ if ((ig == ig))
1369+ then hb(gi)
13491370 else throw("Strict value is not equal to itself.")
13501371 }
13511372 else throw("Strict value is not equal to itself.")
13521373 }
13531374 else nil
1354- if ((hZ == hZ))
1355- then ((gF(bL, ey, ((ez - cN) + gU), eA, eB, bA()) ++ gW(((aU() + gU) - cN))) ++ hZ)
1375+ if ((id == id))
1376+ then ((gI(bO, eB, ((eC - cQ) + gX), eD, eE, bD()) ++ gZ(((aU() + gX) - cQ))) ++ id)
13561377 else throw("Strict value is not equal to itself.")
13571378 }
13581379 else throw("Strict value is not equal to itself.")
13671388
13681389
13691390
1370-@Callable(bC)
1371-func removeMargin (gU,bM,ho) = {
1372- let hp = invoke(this, "updateOracle", [ho], nil)
1373- if ((hp == hp))
1391+@Callable(bF)
1392+func removeMargin (gX,bP,hs) = {
1393+ let ht = invoke(this, "updateOracle", [hs], nil)
1394+ if ((ht == ht))
13741395 then {
1375- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1376- if ((hq == hq))
1396+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1397+ if ((hu == hu))
13771398 then {
1378- let hr = invoke(this, "ensureCalledOnce", nil, nil)
1379- if ((hr == hr))
1399+ let hv = invoke(this, "ensureCalledOnce", nil, nil)
1400+ if ((hv == hv))
13801401 then {
1381- let bL = toString(bC.caller)
1382- if (if (if (if (if ((0 >= gU))
1402+ let bO = toString(bF.caller)
1403+ if (if (if (if (if ((0 >= gX))
13831404 then true
1384- else !(bV(bL, bM)))
1405+ else !(bY(bO, bP)))
13851406 then true
1386- else !(ce()))
1407+ else !(ch()))
13871408 then true
1388- else cf())
1409+ else ci())
13891410 then true
1390- else dv())
1411+ else dy())
13911412 then throw("Invalid removeMargin parameters")
13921413 else {
1393- let id = bK(bL, bM)
1394- let ey = id._1
1395- let ez = id._2
1396- let eA = id._3
1397- let eB = id._4
1398- let eC = id._5
1399- let ie = cO(ey, ez, eB, eC, -(gU))
1400- let cW = ie._1
1401- let cX = ie._2
1402- let cS = ie._3
1403- let cN = ie._4
1404- if ((cX != 0))
1414+ let ih = bN(bO, bP)
1415+ let eB = ih._1
1416+ let eC = ih._2
1417+ let eD = ih._3
1418+ let eE = ih._4
1419+ let eF = ih._5
1420+ let ii = cR(eB, eC, eE, eF, -(gX))
1421+ let cZ = ii._1
1422+ let da = ii._2
1423+ let cV = ii._3
1424+ let cQ = ii._4
1425+ if ((da != 0))
14051426 then throw("Invalid removed margin amount")
14061427 else {
1407- let fb = ea(cW, cX, eA)
1408- if (!(bD(fb, aX(), true)))
1409- then throw(((("Too much margin removed: " + toString(fb)) + " < ") + toString(aX())))
1428+ let fe = ed(cZ, da, eD)
1429+ if (!(bG(fe, aY(), true)))
1430+ then throw(((("Too much margin removed: " + toString(fe)) + " < ") + toString(aY())))
14101431 else {
1411- let if = gd(cN)
1412- let gf = if._1
1413- let gg = if._2
1414- let hZ = if ((cN > 0))
1432+ let ij = gg(cQ)
1433+ let gi = ij._1
1434+ let gj = ij._2
1435+ let id = if ((cQ > 0))
14151436 then {
1416- let ic = invoke(aj(), "exchangeFreeAndLocked", [-(gg)], nil)
1417- if ((ic == ic))
1418- then gX(gf)
1437+ let ig = invoke(aj(), "exchangeFreeAndLocked", [-(gj)], nil)
1438+ if ((ig == ig))
1439+ then hb(gi)
14191440 else throw("Strict value is not equal to itself.")
14201441 }
14211442 else nil
1422- if ((hZ == hZ))
1443+ if ((id == id))
14231444 then {
1424- let ib = invoke(aj(), "withdrawLocked", [(gU + gf)], nil)
1425- if ((ib == ib))
1426- then (((gF(bL, ey, cW, eA, bI(ey), bA()) ++ gT(bC.caller, gU)) ++ gW(((aU() - gU) - cN))) ++ hZ)
1445+ let if = invoke(aj(), "withdrawLocked", [(gX + gi)], nil)
1446+ if ((if == if))
1447+ then (((gI(bO, eB, cZ, eD, bL(eB), bD()) ++ gW(bF.caller, gX)) ++ gZ(((aU() - gX) - cQ))) ++ id)
14271448 else throw("Strict value is not equal to itself.")
14281449 }
14291450 else throw("Strict value is not equal to itself.")
14401461
14411462
14421463
1443-@Callable(bC)
1444-func closePosition (es,bM,eu,ev,ho) = {
1445- let hp = invoke(this, "updateOracle", [ho], nil)
1446- if ((hp == hp))
1464+@Callable(bF)
1465+func closePosition (ev,bP,ex,ey,hs) = {
1466+ let ht = invoke(this, "updateOracle", [hs], nil)
1467+ if ((ht == ht))
14471468 then {
1448- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1449- if ((hq == hq))
1469+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1470+ if ((hu == hu))
14501471 then {
1451- let hr = invoke(this, "ensureCalledOnce", nil, nil)
1452- if ((hr == hr))
1472+ let hv = invoke(this, "ensureCalledOnce", nil, nil)
1473+ if ((hv == hv))
14531474 then {
1454- let bL = bB(bC)
1455- let ig = valueOrErrorMessage(addressFromString(bL), "Invalid caller")
1456- let bU = bS(bL, bM)
1457- if (if (if (if (if (if (!(bV(bL, bM)))
1475+ let bO = bE(bF)
1476+ let ik = valueOrErrorMessage(addressFromString(bO), "Invalid caller")
1477+ let bX = bV(bO, bP)
1478+ if (if (if (if (if (if (!(bY(bO, bP)))
14581479 then true
1459- else !(ce()))
1480+ else !(ch()))
14601481 then true
1461- else cf())
1482+ else ci())
14621483 then true
1463- else (0 >= es))
1484+ else (0 >= ev))
14641485 then true
1465- else (0 > eu))
1486+ else (0 > ex))
14661487 then true
1467- else dv())
1488+ else dy())
14681489 then throw("Invalid closePosition parameters")
14691490 else {
1470- let eC = bK(bL, bM)._5
1471- let ih = er(bL, bM, es, bU, eu, ev, true, true)
1472- let eW = ih._1
1473- let ff = ih._2
1474- let eY = ih._3
1475- let eZ = ih._4
1476- let eS = ih._5
1477- let eN = ih._6
1478- let fe = ih._7
1479- let cw = ih._8
1480- let cx = ih._9
1481- let eI = ih._10
1482- let hQ = ih._11
1483- let hR = ih._12
1484- let hS = ih._13
1485- let hJ = ih._14
1486- let hK = ih._15
1487- let ii = ih._16
1488- if ((eS > 0))
1491+ let eF = bN(bO, bP)._5
1492+ let il = eu(bO, bP, ev, bX, ex, ey, true, true)
1493+ let eZ = il._1
1494+ let fi = il._2
1495+ let fb = il._3
1496+ let fc = il._4
1497+ let eV = il._5
1498+ let eQ = il._6
1499+ let fh = il._7
1500+ let cz = il._8
1501+ let cA = il._9
1502+ let eL = il._10
1503+ let hU = il._11
1504+ let hV = il._12
1505+ let hW = il._13
1506+ let hN = il._14
1507+ let hO = il._15
1508+ let im = il._16
1509+ if ((eV > 0))
14891510 then throw("Invalid closePosition parameters: bad debt")
1490- else if ((eC >= bA()))
1511+ else if ((eF >= bD()))
14911512 then throw("Invalid closePosition parameters: wait at least 1 block before closing the position")
14921513 else {
1493- let eF = (eW != 0)
1494- let ij = (fe + ii)
1495- let ik = (aU() - ij)
1496- let il = if ((0 > ik))
1514+ let eI = (eZ != 0)
1515+ let in = (fh + im)
1516+ let io = (aU() - in)
1517+ let ip = if ((0 > io))
14971518 then 0
1498- else ik
1499- let ib = invoke(aj(), "withdrawLocked", [ij], nil)
1500- if ((ib == ib))
1519+ else io
1520+ let if = invoke(aj(), "withdrawLocked", [in], nil)
1521+ if ((if == if))
15011522 then {
1502- let hy = invoke(am(), "acceptPayment", [bL], [AttachedPayment(ah(), ii)])
1503- if ((hy == hy))
1523+ let hC = invoke(am(), "acceptPayment", [bO], [AttachedPayment(ah(), im)])
1524+ if ((hC == hC))
15041525 then {
1505- let hz = {
1506- let bP = hy
1507- if ($isInstanceOf(bP, "Int"))
1526+ let hD = {
1527+ let bS = hC
1528+ if ($isInstanceOf(bS, "Int"))
15081529 then {
1509- let fZ = bP
1510- fZ
1530+ let gc = bS
1531+ gc
15111532 }
15121533 else throw("Invalid referrerFee")
15131534 }
1514- let im = gd((ii - hz))
1515- let gf = im._1
1516- let gg = im._2
1517- let hV = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gg)])
1518- if ((hV == hV))
1535+ let iq = gg((im - hD))
1536+ let gi = iq._1
1537+ let gj = iq._2
1538+ let hZ = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gj)])
1539+ if ((hZ == hZ))
15191540 then {
1520- let hW = invoke(ak(), "notifyFees", [bL, ii], nil)
1521- if ((hW == hW))
1541+ let ia = invoke(ak(), "notifyFees", [bO, im], nil)
1542+ if ((ia == ia))
15221543 then {
1523- let hX = invoke(ak(), "notifyNotional", [bL, eY], nil)
1524- if ((hX == hX))
1525- then (((((if (eF)
1526- then gF(bL, eW, ff, eY, eZ, bA())
1527- else gS(bL, bM)) ++ gL(cw, cx, eI, hQ, hR, hS, hJ, hK)) ++ (if ((fe > 0))
1528- then gT(ig, fe)
1529- else nil)) ++ gW(il)) ++ gX(gf))
1544+ let ib = invoke(ak(), "notifyNotional", [bO, fb], nil)
1545+ if ((ib == ib))
1546+ then (((((if (eI)
1547+ then gI(bO, eZ, fi, fb, fc, bD())
1548+ else gV(bO, bP)) ++ gO(cz, cA, eL, hU, hV, hW, hN, hO)) ++ (if ((fh > 0))
1549+ then gW(ik, fh)
1550+ else nil)) ++ gZ(ip)) ++ hb(gi))
15301551 else throw("Strict value is not equal to itself.")
15311552 }
15321553 else throw("Strict value is not equal to itself.")
15481569
15491570
15501571
1551-@Callable(bC)
1552-func liquidate (bL,bM,ho) = {
1553- let hp = invoke(this, "updateOracle", [ho], nil)
1554- if ((hp == hp))
1572+@Callable(bF)
1573+func liquidate (bO,bP,hs) = {
1574+ let ht = invoke(this, "updateOracle", [hs], nil)
1575+ if ((ht == ht))
15551576 then {
1556- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1557- if ((hq == hq))
1577+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1578+ if ((hu == hu))
15581579 then {
1559- let in = ee(bL, bM, ay)
1560- let io = if (dK())
1580+ let ir = eh(bO, bP, ay)
1581+ let is = if (dN())
15611582 then {
1562- let ip = ee(bL, bM, az)
1563- aM(in, ip)
1583+ let it = eh(bO, bP, az)
1584+ aM(ir, it)
15641585 }
1565- else in
1566- if (if (if (if (if (!(bD(io, bk(), false)))
1586+ else ir
1587+ if (if (if (if (if (!(bG(is, bn(), false)))
15671588 then true
1568- else !(bV(bL, bM)))
1589+ else !(bY(bO, bP)))
15691590 then true
1570- else !(ce()))
1591+ else !(ch()))
15711592 then true
1572- else cf())
1593+ else ci())
15731594 then true
1574- else dv())
1595+ else dy())
15751596 then throw("Unable to liquidate")
15761597 else {
1577- let iq = if (if ((in > bl()))
1578- then (bm() > 0)
1598+ let iu = if (if ((ir > bo()))
1599+ then (bp() > 0)
15791600 else false)
1580- then (av > bm())
1601+ then (av > bp())
15811602 else false
1582- let ey = bK(bL, bM)._1
1583- let dO = aL(ey)
1584- let ir = if (iq)
1603+ let eB = bN(bO, bP)._1
1604+ let dR = aL(eB)
1605+ let iv = if (iu)
15851606 then {
1586- let is = em(bL, ey)
1587- let it = aG(aL(is), dO)
1588- $Tuple2(it, aL(is))
1607+ let iw = ep(bO, eB)
1608+ let ix = aG(aL(iw), dR)
1609+ $Tuple2(ix, aL(iw))
15891610 }
1590- else $Tuple2(0, dO)
1591- let it = ir._1
1592- let is = ir._2
1593- let iu = er(bL, bM, if (iq)
1594- then is
1595- else dO, bl(), 0, true, false, true)
1596- let eW = iu._1
1597- let ff = iu._2
1598- let eY = iu._3
1599- let eZ = iu._4
1600- let eS = iu._5
1601- let eN = iu._6
1602- let fe = iu._7
1603- let cw = iu._8
1604- let cx = iu._9
1605- let eI = iu._10
1606- let hQ = iu._11
1607- let hR = iu._12
1608- let hS = iu._13
1609- let hJ = iu._14
1610- let hK = iu._15
1611- let iv = iu._16
1612- let iw = (iv / 2)
1613- let gg = (iv - iw)
1614- let ik = (aU() - iv)
1615- let ix = if ((0 > ik))
1611+ else $Tuple2(0, dR)
1612+ let ix = iv._1
1613+ let iw = iv._2
1614+ let iy = eu(bO, bP, if (iu)
1615+ then iw
1616+ else dR, bo(), 0, true, false, true)
1617+ let eZ = iy._1
1618+ let fi = iy._2
1619+ let fb = iy._3
1620+ let fc = iy._4
1621+ let eV = iy._5
1622+ let eQ = iy._6
1623+ let fh = iy._7
1624+ let cz = iy._8
1625+ let cA = iy._9
1626+ let eL = iy._10
1627+ let hU = iy._11
1628+ let hV = iy._12
1629+ let hW = iy._13
1630+ let hN = iy._14
1631+ let hO = iy._15
1632+ let iz = iy._16
1633+ let iA = (iz / 2)
1634+ let gj = (iz - iA)
1635+ let io = (aU() - iz)
1636+ let iB = if ((0 > io))
16161637 then 0
1617- else ik
1618- let ic = if ((eS > 0))
1638+ else io
1639+ let ig = if ((eV > 0))
16191640 then {
1620- let ic = invoke(aj(), "exchangeFreeAndLocked", [(eS + iv)], nil)
1621- if ((ic == ic))
1641+ let ig = invoke(aj(), "exchangeFreeAndLocked", [(eV + iz)], nil)
1642+ if ((ig == ig))
16221643 then nil
16231644 else throw("Strict value is not equal to itself.")
16241645 }
16251646 else nil
1626- if ((ic == ic))
1647+ if ((ig == ig))
16271648 then {
1628- let ib = invoke(aj(), "withdrawLocked", [iv], nil)
1629- if ((ib == ib))
1649+ let if = invoke(aj(), "withdrawLocked", [iz], nil)
1650+ if ((if == if))
16301651 then {
1631- let iy = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gg)])
1632- if ((iy == iy))
1652+ let iC = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gj)])
1653+ if ((iC == iC))
16331654 then {
1634- let hX = invoke(ak(), "notifyNotional", [bL, eY], nil)
1635- if ((hX == hX))
1636- then ((((if (iq)
1637- then gF(bL, eW, ff, eY, eZ, bA())
1638- else gS(bL, bM)) ++ gL(cw, cx, eI, hQ, hR, hS, hJ, hK)) ++ gT(bC.caller, iw)) ++ gW(ix))
1655+ let ib = invoke(ak(), "notifyNotional", [bO, fb], nil)
1656+ if ((ib == ib))
1657+ then ((((if (iu)
1658+ then gI(bO, eZ, fi, fb, fc, bD())
1659+ else gV(bO, bP)) ++ gO(cz, cA, eL, hU, hV, hW, hN, hO)) ++ gW(bF.caller, iA)) ++ gZ(iB))
16391660 else throw("Strict value is not equal to itself.")
16401661 }
16411662 else throw("Strict value is not equal to itself.")
16521673
16531674
16541675
1655-@Callable(bC)
1656-func payFunding (ho) = {
1657- let hp = invoke(this, "updateOracle", [ho], nil)
1658- if ((hp == hp))
1676+@Callable(bF)
1677+func payFunding (hs) = {
1678+ let ht = invoke(this, "updateOracle", [hs], nil)
1679+ if ((ht == ht))
16591680 then {
1660- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1661- if ((hq == hq))
1681+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1682+ if ((hu == hu))
16621683 then {
1663- let iz = bg()
1664- if (if (if ((iz > bA()))
1684+ let iD = bj()
1685+ if (if (if ((iD > bD()))
16651686 then true
1666- else !(ce()))
1687+ else !(ch()))
16671688 then true
1668- else cf())
1669- then throw(((("Invalid funding block timestamp: " + toString(bA())) + " < ") + toString(iz)))
1689+ else ci())
1690+ then throw(((("Invalid funding block timestamp: " + toString(bD())) + " < ") + toString(iD)))
16701691 else {
1671- let fE = dp()
1672- let iA = fD()
1673- let fH = iA._1
1674- let fI = iA._2
1675- let fL = iA._3
1676- let iB = if ((fL > 0))
1692+ let fH = ds()
1693+ let iE = fG()
1694+ let fK = iE._1
1695+ let fL = iE._2
1696+ let fO = iE._3
1697+ let iF = if ((fO > 0))
16771698 then {
1678- let iB = invoke(aj(), "exchangeFreeAndLocked", [-(fL)], nil)
1679- if ((iB == iB))
1699+ let iF = invoke(aj(), "exchangeFreeAndLocked", [-(fO)], nil)
1700+ if ((iF == iF))
16801701 then nil
16811702 else throw("Strict value is not equal to itself.")
16821703 }
16831704 else nil
1684- if ((iB == iB))
1685- then gv((iz + bj()), (br() + fI), (bs() + fH), aG(fI, fE), aG(fH, fE))
1705+ if ((iF == iF))
1706+ then gy((iD + bm()), (bu() + fL), (bv() + fK), aG(fL, fH), aG(fK, fH))
16861707 else throw("Strict value is not equal to itself.")
16871708 }
16881709 }
16931714
16941715
16951716
1696-@Callable(bC)
1697-func updateOracle (ho) = if ((bz() == aC))
1717+@Callable(bF)
1718+func updateOracle (hs) = if ((bC() == aC))
16981719 then nil
16991720 else {
1700- let iC = split_4C(ho, "::")
1701- let dq = valueOrErrorMessage(bW(a), "No base asset oracle data")
1702- let iD = dq._1
1703- let iE = invoke(iD, "updateData", [iC[0]], nil)
1704- if ((iE == iE))
1721+ let iG = split_4C(hs, "::")
1722+ let dt = valueOrErrorMessage(bZ(a), "No base asset oracle data")
1723+ let iH = dt._1
1724+ let iI = invoke(iH, "updateData", [iG[0]], nil)
1725+ if ((iI == iI))
17051726 then {
1706- let ds = bW(b)
1707- let iF = if (isDefined(ds))
1727+ let dv = bZ(b)
1728+ let iJ = if (isDefined(dv))
17081729 then {
1709- let du = value(ds)
1710- let iG = du._1
1711- let iF = invoke(iG, "updateData", [iC[1]], nil)
1712- if ((iF == iF))
1730+ let dx = value(dv)
1731+ let iK = dx._1
1732+ let iJ = invoke(iK, "updateData", [iG[1]], nil)
1733+ if ((iJ == iJ))
17131734 then nil
17141735 else throw("Strict value is not equal to itself.")
17151736 }
17161737 else nil
1717- if ((iF == iF))
1738+ if ((iJ == iJ))
17181739 then nil
17191740 else throw("Strict value is not equal to itself.")
17201741 }
17231744
17241745
17251746
1726-@Callable(bC)
1747+@Callable(bF)
17271748 func syncTerminalPriceToOracle () = {
1728- let co = aY()
1729- let cp = aZ()
1730- let iH = fy(dp(), co, cp)
1731- let hf = iH._1
1732- let hg = iH._2
1733- let fC = iH._3
1734- let iI = if (if ((0 > fC))
1735- then (aL(fC) > aU())
1749+ let cr = aZ()
1750+ let cs = bb()
1751+ let iL = fB(ds(), cr, cs)
1752+ let hj = iL._1
1753+ let hk = iL._2
1754+ let fF = iL._3
1755+ let iM = if (if ((0 > fF))
1756+ then (aL(fF) > aU())
17361757 else false)
17371758 then -(aU())
1738- else fC
1739- let hh = if ((iI != 0))
1759+ else fF
1760+ let hl = if ((iM != 0))
17401761 then {
1741- let hh = invoke(aj(), "exchangeFreeAndLocked", [iI], nil)
1742- if ((hh == hh))
1762+ let hl = invoke(aj(), "exchangeFreeAndLocked", [iM], nil)
1763+ if ((hl == hl))
17431764 then nil
17441765 else throw("Strict value is not equal to itself.")
17451766 }
17461767 else nil
1747- if ((hh == hh))
1748- then (gW((aU() + iI)) ++ gK(hf, hg))
1768+ if ((hl == hl))
1769+ then (gZ((aU() + iM)) ++ gN(hj, hk))
17491770 else throw("Strict value is not equal to itself.")
17501771 }
17511772
17521773
17531774
1754-@Callable(bC)
1755-func ensureCalledOnce () = if ((bC.caller != this))
1775+@Callable(bF)
1776+func ensureCalledOnce () = if ((bF.caller != this))
17561777 then throw("Invalid saveCurrentTxId parameters")
17571778 else {
1758- let iJ = toBase58String(bC.transactionId)
1759- let iK = valueOrElse(getString(this, S), "")
1760- if ((iK != iJ))
1761- then [StringEntry(S, iJ)]
1779+ let iN = toBase58String(bF.transactionId)
1780+ let iO = valueOrElse(getString(this, S), "")
1781+ if ((iO != iN))
1782+ then [StringEntry(S, iN)]
17621783 else throw("Can not call vAMM methods twice in one tx")
17631784 }
17641785
17651786
17661787
1767-@Callable(bC)
1768-func migratePosition (bL) = {
1769- let bO = getInteger(this, ac(e, bL))
1770- if (if (isDefined(bO))
1771- then isDefined(addressFromString(bL))
1788+@Callable(bF)
1789+func migratePosition (bO) = {
1790+ let bR = getInteger(this, ac(e, bO))
1791+ if (if (isDefined(bR))
1792+ then isDefined(addressFromString(bO))
17721793 else false)
17731794 then {
1774- let iL = getIntegerValue(this, ac(e, bL))
1775- let iM = getIntegerValue(this, ac(f, bL))
1776- let iN = getIntegerValue(this, ac(g, bL))
1777- let iO = getIntegerValue(this, ac(h, bL))
1778- let iP = valueOrElse(getInteger(this, ac(k, bL)), lastBlock.timestamp)
1779- let iQ = valueOrElse(getInteger(this, ac(j, bL)), aV())
1780- let iR = getIntegerValue(this, ac(i, bL))
1781- let iS = bR(iL)
1782- let bN = ((bL + "_") + toString(iS))
1783-[DeleteEntry(ac(e, bL)), DeleteEntry(ac(f, bL)), DeleteEntry(ac(g, bL)), DeleteEntry(ac(h, bL)), DeleteEntry(ac(k, bL)), DeleteEntry(ac(j, bL)), DeleteEntry(ac(i, bL)), IntegerEntry(ac(e, bN), iL), IntegerEntry(ac(f, bN), iM), IntegerEntry(ac(g, bN), iN), IntegerEntry(ac(h, bN), iO), IntegerEntry(ac(k, bN), iP), IntegerEntry(ac(j, bN), iQ), IntegerEntry(ac(i, bN), iR)]
1795+ let iP = getIntegerValue(this, ac(e, bO))
1796+ let iQ = getIntegerValue(this, ac(f, bO))
1797+ let iR = getIntegerValue(this, ac(g, bO))
1798+ let iS = getIntegerValue(this, ac(h, bO))
1799+ let iT = valueOrElse(getInteger(this, ac(k, bO)), lastBlock.timestamp)
1800+ let iU = valueOrElse(getInteger(this, ac(j, bO)), aW())
1801+ let iV = getIntegerValue(this, ac(i, bO))
1802+ let iW = bU(iP)
1803+ let bQ = ((bO + "_") + toString(iW))
1804+[DeleteEntry(ac(e, bO)), DeleteEntry(ac(f, bO)), DeleteEntry(ac(g, bO)), DeleteEntry(ac(h, bO)), DeleteEntry(ac(k, bO)), DeleteEntry(ac(j, bO)), DeleteEntry(ac(i, bO)), IntegerEntry(ac(e, bQ), iP), IntegerEntry(ac(f, bQ), iQ), IntegerEntry(ac(g, bQ), iR), IntegerEntry(ac(h, bQ), iS), IntegerEntry(ac(k, bQ), iT), IntegerEntry(ac(j, bQ), iU), IntegerEntry(ac(i, bQ), iV)]
17841805 }
1785- else throw(("Nothing to migrate for " + bL))
1806+ else throw(("Nothing to migrate for " + bO))
17861807 }
17871808
17881809
17891810
1790-@Callable(bC)
1791-func view_calcRemainMarginWithFundingPayment (bL,bM,ho) = {
1792- let hp = invoke(this, "updateOracle", [ho], nil)
1793- if ((hp == hp))
1811+@Callable(bF)
1812+func view_calcRemainMarginWithFundingPayment (bO,bP,hs) = {
1813+ let ht = invoke(this, "updateOracle", [hs], nil)
1814+ if ((ht == ht))
17941815 then {
1795- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1796- if ((hq == hq))
1816+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1817+ if ((hu == hu))
17971818 then {
1798- let iT = bK(bL, bM)
1799- let bQ = iT._1
1800- let dX = iT._2
1801- let eg = iT._3
1802- let dZ = iT._4
1803- let ei = iT._5
1804- let iU = dV(bL, bM, ay)
1805- let dQ = iU._1
1806- let dU = iU._2
1807- let iV = cO(bQ, dX, dZ, ei, dU)
1808- let cW = iV._1
1809- let cX = iV._2
1810- let cS = iV._3
1811- let cN = iV._4
1812- throw(((((((aE(cW) + aE(cS)) + aE(el(bL, bM))) + aE(dU)) + aE(cX)) + aE(dQ)) + aE(cN)))
1819+ let iX = bN(bO, bP)
1820+ let bT = iX._1
1821+ let ea = iX._2
1822+ let ej = iX._3
1823+ let ec = iX._4
1824+ let el = iX._5
1825+ let iY = dY(bO, bP, ay)
1826+ let dT = iY._1
1827+ let dX = iY._2
1828+ let iZ = cR(bT, ea, ec, el, dX)
1829+ let cZ = iZ._1
1830+ let da = iZ._2
1831+ let cV = iZ._3
1832+ let cQ = iZ._4
1833+ throw(((((((aE(cZ) + aE(cV)) + aE(eo(bO, bP))) + aE(dX)) + aE(da)) + aE(dT)) + aE(cQ)))
18131834 }
18141835 else throw("Strict value is not equal to itself.")
18151836 }
18181839
18191840
18201841
1821-@Callable(bC)
1822-func view_getPegAdjustCost (iW) = {
1823- let co = aY()
1824- let cp = aZ()
1825- let fx = fy(iW, co, cp)
1826- throw(toString(fx._3))
1842+@Callable(bF)
1843+func view_getPegAdjustCost (ja) = {
1844+ let cr = aZ()
1845+ let cs = bb()
1846+ let fA = fB(ja, cr, cs)
1847+ throw(toString(fA._3))
18271848 }
18281849
18291850
18301851
1831-@Callable(bC)
1852+@Callable(bF)
18321853 func view_getTerminalAmmPrice () = {
1833- let iX = fg()
1834- let fk = iX._1
1835- let fl = iX._2
1836- let ha = aG(aI(fk, ba()), aI(fl, bb()))
1837- throw(toString(ha))
1854+ let jb = fj()
1855+ let fn = jb._1
1856+ let fo = jb._2
1857+ let he = aG(aI(fn, bd()), aI(fo, be()))
1858+ throw(toString(he))
18381859 }
18391860
18401861
18411862
1842-@Callable(bC)
1843-func view_getFunding (ho) = {
1844- let hp = invoke(this, "updateOracle", [ho], nil)
1845- if ((hp == hp))
1863+@Callable(bF)
1864+func view_getFunding (hs) = {
1865+ let ht = invoke(this, "updateOracle", [hs], nil)
1866+ if ((ht == ht))
18461867 then {
1847- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1848- if ((hq == hq))
1868+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1869+ if ((hu == hu))
18491870 then {
1850- let fE = dp()
1851- let iY = fD()
1852- let fH = iY._1
1853- let fI = iY._2
1854- let fL = iY._3
1855- let iZ = aG(fI, fE)
1856- let ja = aG(fH, fE)
1857- throw(((((aE(iZ) + aE(ja)) + aE(dJ())) + aE(dp())) + aE(fL)))
1871+ let fH = ds()
1872+ let jc = fG()
1873+ let fK = jc._1
1874+ let fL = jc._2
1875+ let fO = jc._3
1876+ let jd = aG(fL, fH)
1877+ let je = aG(fK, fH)
1878+ throw(((((aE(jd) + aE(je)) + aE(dM())) + aE(ds())) + aE(fO)))
18581879 }
18591880 else throw("Strict value is not equal to itself.")
18601881 }
18631884
18641885
18651886
1866-@Callable(bC)
1887+@Callable(bF)
18671888 func computeSpotPrice () = {
1868- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1869- if ((hq == hq))
1889+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1890+ if ((hu == hu))
18701891 then {
1871- let fx = dJ()
1872- $Tuple2(nil, fx)
1892+ let fA = dM()
1893+ $Tuple2(nil, fA)
18731894 }
18741895 else throw("Strict value is not equal to itself.")
18751896 }
18761897
18771898
18781899
1879-@Callable(bC)
1880-func computeFeeForTraderWithArtifact (bL,fN) = {
1881- let fx = fW(bL, fN)
1882- $Tuple2(nil, fx)
1900+@Callable(bF)
1901+func computeFeeForTraderWithArtifact (bO,fQ) = {
1902+ let fA = fZ(bO, fQ)
1903+ $Tuple2(nil, fA)
18831904 }
18841905
18851906
1886-@Verifier(jb)
1887-func jc () = {
1888- let jd = getString(this, T)
1889- if (isDefined(jd))
1907+@Verifier(jf)
1908+func jg () = {
1909+ let jh = getString(this, T)
1910+ if (isDefined(jh))
18901911 then {
1891- let je = getString(addressFromStringValue(value(jd)), V)
1892- if (isDefined(je))
1893- then valueOrElse(getBoolean(addressFromStringValue(value(je)), ((("status_" + toString(this)) + "_") + toBase58String(jb.id))), false)
1912+ let ji = getString(addressFromStringValue(value(jh)), V)
1913+ if (isDefined(ji))
1914+ then valueOrElse(getBoolean(addressFromStringValue(value(ji)), ((("status_" + toString(this)) + "_") + toBase58String(jf.id))), false)
18941915 else throw("unable to verify: admin not set in coordinator")
18951916 }
1896- else sigVerify(jb.bodyBytes, jb.proofs[0], jb.senderPublicKey)
1917+ else sigVerify(jf.bodyBytes, jf.proofs[0], jf.senderPublicKey)
18971918 }
18981919
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "k_baseOracle"
55
66 let b = "k_quoteOracle"
77
88 let c = "k_balance"
99
1010 let d = "k_sequence"
1111
1212 let e = "k_positionSize"
1313
1414 let f = "k_positionMargin"
1515
1616 let g = "k_positionOpenNotional"
1717
1818 let h = "k_positionFraction"
1919
2020 let i = "k_positionSequence"
2121
2222 let j = "k_positionFee"
2323
2424 let k = "k_positionTimestamp"
2525
2626 let l = "k_initialized"
2727
2828 let m = "k_paused"
2929
3030 let n = "k_closeOnly"
3131
3232 let o = "k_fee"
3333
3434 let p = "k_rollover_fee"
3535
3636 let q = "k_fundingPeriod"
3737
3838 let r = "k_initMarginRatio"
3939
4040 let s = "k_mmr"
4141
4242 let t = "k_liquidationFeeRatio"
4343
4444 let u = "k_partLiquidationRatio"
4545
4646 let v = "k_spreadLimit"
4747
4848 let w = "k_maxPriceImpact"
4949
5050 let x = "k_maxPriceSpread"
5151
5252 let y = "k_maxOpenNotional"
5353
5454 let z = "k_feeToStakersPercent"
5555
5656 let A = "k_maxOracleDelay"
5757
5858 let B = "k_fundingMode"
5959
6060 let C = "k_oracleMode"
6161
6262 let D = "k_latestLongPremiumFraction"
6363
6464 let E = "k_latestShortPremiumFraction"
6565
6666 let F = "k_nextFundingBlockMinTimestamp"
6767
6868 let G = "k_longFundingRate"
6969
7070 let H = "k_shortFundingRate"
7171
7272 let I = "k_qtAstR"
7373
7474 let J = "k_bsAstR"
7575
7676 let K = "k_qtAstW"
7777
7878 let L = "k_bsAstW"
7979
8080 let M = "k_totalPositionSize"
8181
8282 let N = "k_totalLongPositionSize"
8383
8484 let O = "k_totalShortPositionSize"
8585
8686 let P = "k_openInterestNotional"
8787
8888 let Q = "k_openInterestShort"
8989
9090 let R = "k_openInterestLong"
9191
9292 let S = "k_lastTx"
9393
9494 let T = "k_coordinatorAddress"
9595
9696 let U = "k_vault_address"
9797
9898 let V = "k_admin_address"
9999
100100 let W = "k_quote_asset"
101101
102102 let X = "k_staking_address"
103103
104104 let Y = "k_miner_address"
105105
106106 let Z = "k_orders_address"
107107
108108 let aa = "k_referral_address"
109109
110110 let ab = "k_nft_manager_address"
111111
112112 func ac (ad,ae) = ((ad + "_") + ae)
113113
114114
115115 func af () = valueOrErrorMessage(addressFromString(getStringValue(this, T)), "Coordinator not set")
116116
117117
118118 func ag () = addressFromString(getStringValue(af(), V))
119119
120120
121121 func ah () = fromBase58String(getStringValue(af(), W))
122122
123123
124124 func ai () = valueOrErrorMessage(addressFromString(getStringValue(af(), X)), "Staking not set")
125125
126126
127127 func aj () = valueOrErrorMessage(addressFromString(getStringValue(af(), U)), "Vault not set")
128128
129129
130130 func ak () = valueOrErrorMessage(addressFromString(getStringValue(af(), Y)), "Miner not set")
131131
132132
133133 func al () = valueOrErrorMessage(addressFromString(getStringValue(af(), Z)), "Orders not set")
134134
135135
136136 func am () = valueOrErrorMessage(addressFromString(getStringValue(af(), aa)), "Referral not set")
137137
138138
139139 func an () = valueOrErrorMessage(addressFromString(getStringValue(af(), ab)), "NFT Manager not set")
140140
141141
142142 let ao = "k_token_param"
143143
144144 let ap = "k_token_type"
145145
146146 let aq = "fee_reduction"
147147
148148 let ar = 1
149149
150150 let as = 2
151151
152152 let at = 1000
153153
154154 let au = 6
155155
156156 let av = (1 * (((((10 * 10) * 10) * 10) * 10) * 10))
157157
158158 let aw = (525600 * av)
159159
160160 let ax = (86400 * av)
161161
162162 let ay = 1
163163
164164 let az = 2
165165
166166 let aA = 1
167167
168168 let aB = 2
169169
170170 let aC = 1
171171
172172 let aD = 2
173173
174174 func aE (aF) = (toString(aF) + ",")
175175
176176
177177 func aG (aF,aH) = fraction(aF, av, aH, HALFEVEN)
178178
179179
180180 func aI (aF,aH) = fraction(aF, aH, av, HALFEVEN)
181181
182182
183183 func aJ (aF,aH) = fraction(aF, toBigInt(av), aH, HALFEVEN)
184184
185185
186186 func aK (aF,aH) = fraction(aF, aH, toBigInt(av), HALFEVEN)
187187
188188
189189 func aL (aF) = if ((aF > 0))
190190 then aF
191191 else -(aF)
192192
193193
194194 func aM (aF,aH) = if ((aF >= aH))
195195 then aF
196196 else aH
197197
198198
199199 func aN (aO) = valueOrErrorMessage(getInteger(this, aO), ("no value for " + aO))
200200
201201
202202 func aP (aO,aQ) = valueOrElse(getInteger(this, aO), aQ)
203203
204204
205205 func aR (ae,ad) = {
206206 let aS = valueOrErrorMessage(getString(ae, ad), ("No value for key " + ad))
207207 aS
208208 }
209209
210210
211211 func aT (ae,ad) = {
212212 let aS = valueOrErrorMessage(getInteger(ae, ad), ("No value for key " + ad))
213213 aS
214214 }
215215
216216
217217 func aU () = aN(c)
218218
219219
220-func aV () = aN(o)
220+func aV () = aP(c, 0)
221221
222222
223-func aW () = aN(p)
223+func aW () = aN(o)
224224
225225
226-func aX () = aN(r)
226+func aX () = aN(p)
227227
228228
229-func aY () = aN(I)
229+func aY () = aN(r)
230230
231231
232-func aZ () = aN(J)
232+func aZ () = aN(I)
233233
234234
235-func ba () = aP(K, av)
235+func ba () = aP(I, 0)
236236
237237
238-func bb () = aP(L, av)
238+func bb () = aN(J)
239239
240240
241-func bc () = aN(M)
241+func bc () = aP(J, 0)
242242
243243
244-func bd () = aN(P)
244+func bd () = aP(K, av)
245245
246246
247-func be () = aN(Q)
247+func be () = aP(L, av)
248248
249249
250-func bf () = aN(R)
250+func bf () = aN(M)
251251
252252
253-func bg () = aN(F)
253+func bg () = aN(P)
254254
255255
256-func bh () = aN(q)
256+func bh () = aN(Q)
257257
258258
259-func bi () = (bh() * av)
259+func bi () = aN(R)
260260
261261
262-func bj () = (bh() * at)
262+func bj () = aN(F)
263263
264264
265-func bk () = aN(s)
265+func bk () = aN(q)
266266
267267
268-func bl () = aN(t)
268+func bl () = (bk() * av)
269269
270270
271-func bm () = aN(u)
271+func bm () = (bk() * at)
272272
273273
274-func bn () = aN(v)
274+func bn () = aN(s)
275275
276276
277-func bo () = aN(w)
277+func bo () = aN(t)
278278
279279
280-func bp () = aN(x)
280+func bp () = aN(u)
281281
282282
283-func bq () = aN(y)
283+func bq () = aN(v)
284284
285285
286-func br () = aN(D)
286+func br () = aN(w)
287287
288288
289-func bs () = aN(E)
289+func bs () = aN(x)
290290
291291
292-func bt () = aN(O)
292+func bt () = aN(y)
293293
294294
295-func bu () = aN(N)
295+func bu () = aN(D)
296296
297297
298-func bv () = aP(d, 0)
298+func bv () = aN(E)
299299
300300
301-func bw () = aN(z)
301+func bw () = aN(O)
302302
303303
304-func bx () = aN(A)
304+func bx () = aN(N)
305305
306306
307-func by () = aP(B, aA)
307+func by () = aP(d, 0)
308308
309309
310-func bz () = aP(C, aC)
310+func bz () = aN(z)
311311
312312
313-func bA () = lastBlock.timestamp
313+func bA () = aN(A)
314314
315315
316-func bB (bC) = valueOrElse(getString(al(), "k_sender"), toString(bC.caller))
316+func bB () = aP(B, aA)
317317
318318
319-func bD (bE,bF,bG) = {
320- let bH = (bE - bF)
321- if (if (bG)
322- then (0 > bH)
319+func bC () = aP(C, aC)
320+
321+
322+func bD () = lastBlock.timestamp
323+
324+
325+func bE (bF) = valueOrElse(getString(al(), "k_sender"), toString(bF.caller))
326+
327+
328+func bG (bH,bI,bJ) = {
329+ let bK = (bH - bI)
330+ if (if (bJ)
331+ then (0 > bK)
323332 else false)
324- then throw(((("Invalid margin: " + toString(bE)) + " < ") + toString(bF)))
325- else if (if (!(bG))
326- then (bH >= 0)
333+ then throw(((("Invalid margin: " + toString(bH)) + " < ") + toString(bI)))
334+ else if (if (!(bJ))
335+ then (bK >= 0)
327336 else false)
328- then throw(((("Invalid margin: " + toString(bE)) + " > ") + toString(bF)))
337+ then throw(((("Invalid margin: " + toString(bH)) + " > ") + toString(bI)))
329338 else true
330339 }
331340
332341
333-func bI (bJ) = if ((bJ == 0))
342+func bL (bM) = if ((bM == 0))
334343 then throw("Should not be called with _positionSize == 0")
335- else if ((bJ > 0))
336- then br()
337- else bs()
344+ else if ((bM > 0))
345+ then bu()
346+ else bv()
338347
339348
340-func bK (bL,bM) = {
341- let bN = ((bL + "_") + toString(bM))
342- let bO = getInteger(this, ac(e, bN))
343- let bP = bO
344- if ($isInstanceOf(bP, "Int"))
349+func bN (bO,bP) = {
350+ let bQ = ((bO + "_") + toString(bP))
351+ let bR = getInteger(this, ac(e, bQ))
352+ let bS = bR
353+ if ($isInstanceOf(bS, "Int"))
345354 then {
346- let bQ = bP
347- $Tuple5(bQ, getIntegerValue(this, ac(f, bN)), getIntegerValue(this, ac(g, bN)), getIntegerValue(this, ac(h, bN)), getIntegerValue(this, ac(k, bN)))
355+ let bT = bS
356+ $Tuple5(bT, getIntegerValue(this, ac(f, bQ)), getIntegerValue(this, ac(g, bQ)), getIntegerValue(this, ac(h, bQ)), getIntegerValue(this, ac(k, bQ)))
348357 }
349358 else $Tuple5(0, 0, 0, 0, 0)
350359 }
351360
352361
353-func bR (bJ) = if ((0 > bJ))
362+func bU (bM) = if ((0 > bM))
354363 then as
355364 else ar
356365
357366
358-func bS (bL,bM) = {
359- let bN = ((bL + "_") + toString(bM))
360- let bT = getInteger(this, ac(j, bN))
361- let bP = bT
362- if ($isInstanceOf(bP, "Int"))
367+func bV (bO,bP) = {
368+ let bQ = ((bO + "_") + toString(bP))
369+ let bW = getInteger(this, ac(j, bQ))
370+ let bS = bW
371+ if ($isInstanceOf(bS, "Int"))
363372 then {
364- let bU = bP
365- bU
373+ let bX = bS
374+ bX
366375 }
367- else aV()
376+ else aW()
368377 }
369378
370379
371-func bV (bL,bM) = if ((bK(bL, bM)._1 == 0))
380+func bY (bO,bP) = if ((bN(bO, bP)._1 == 0))
372381 then throw("No open position")
373382 else true
374383
375384
376-func bW (bX) = {
377- let bY = getString(this, bX)
378- if (if (isDefined(bY))
379- then (value(bY) != "")
385+func bZ (ca) = {
386+ let cb = getString(this, ca)
387+ if (if (isDefined(cb))
388+ then (value(cb) != "")
380389 else false)
381390 then {
382- let bZ = split(value(bY), ",")
383- let ca = valueOrErrorMessage(addressFromString(bZ[0]), ("Invalid oracle address in: " + value(bY)))
384- let cb = bZ[1]
385- let cc = bZ[2]
386- let cd = bZ[3]
387- $Tuple4(ca, cb, cc, cd)
391+ let cc = split(value(cb), ",")
392+ let cd = valueOrErrorMessage(addressFromString(cc[0]), ("Invalid oracle address in: " + value(cb)))
393+ let ce = cc[1]
394+ let cf = cc[2]
395+ let cg = cc[3]
396+ $Tuple4(cd, ce, cf, cg)
388397 }
389398 else unit
390399 }
391400
392401
393-func ce () = valueOrElse(getBoolean(this, l), false)
402+func ch () = valueOrElse(getBoolean(this, l), false)
394403
395404
396-func cf () = valueOrElse(getBoolean(this, m), false)
405+func ci () = valueOrElse(getBoolean(this, m), false)
397406
398407
399-func cg () = valueOrElse(getBoolean(this, n), false)
408+func cj () = valueOrElse(getBoolean(this, n), false)
400409
401410
402-func ch (ci,cj,ck) = if (ci)
411+func ck (cl,cm,cn) = if (cl)
403412 then {
404- let cl = (aZ() - ck)
405- if ((0 >= cl))
413+ let co = (bb() - cn)
414+ if ((0 >= co))
406415 then throw("Tx lead to base asset reserve <= 0, revert")
407- else $Tuple3((aY() + cj), cl, (bc() + ck))
416+ else $Tuple3((aZ() + cm), co, (bf() + cn))
408417 }
409418 else {
410- let cm = (aY() - cj)
411- if ((0 >= cm))
419+ let cp = (aZ() - cm)
420+ if ((0 >= cp))
412421 then throw("Tx lead to base quote reserve <= 0, revert")
413- else $Tuple3(cm, (aZ() + ck), (bc() - ck))
422+ else $Tuple3(cp, (bb() + cn), (bf() - cn))
414423 }
415424
416425
417-func cn (co,cp) = {
418- let cq = toBigInt(co)
419- let cr = toBigInt(cp)
420- aK(cq, cr)
426+func cq (cr,cs) = {
427+ let ct = toBigInt(cr)
428+ let cu = toBigInt(cs)
429+ aK(ct, cu)
421430 }
422431
423432
424-func cs (ci,cj) = {
425- let co = aY()
426- let cp = aZ()
427- let ct = ba()
428- let cu = bb()
429- let cv = aG(cj, ct)
430- let aO = cn(co, cp)
431- let cw = if (ci)
432- then (co + cv)
433- else (co - cv)
434- let cx = toInt(aJ(aO, toBigInt(cw)))
435- let cy = aL((cx - cp))
436- let cz = if (ci)
437- then cy
438- else -(cy)
439- let cA = ch(ci, cv, cy)
440- let cB = cA._1
441- let cC = cA._2
442- let cD = cA._3
443- let cE = aG(aI(co, ct), aI(cp, cu))
444- let cF = aG(cj, cy)
445- let cG = aL((cE - cF))
446- let cH = (av - aG(cE, (cE + cG)))
447- let cI = bo()
448- if ((cH > cI))
449- then throw(((((((((((((("Price impact " + toString(cH)) + " > max price impact ") + toString(cI)) + " before quote asset: ") + toString(co)) + " before base asset: ") + toString(cp)) + " quote asset amount to exchange: ") + toString(cj)) + " price before: ") + toString(cE)) + " marketPrice: ") + toString(cF)))
450- else $Tuple4(cz, cB, cC, cD)
433+func cv (cl,cm) = {
434+ let cr = aZ()
435+ let cs = bb()
436+ let cw = bd()
437+ let cx = be()
438+ let cy = aG(cm, cw)
439+ let aO = cq(cr, cs)
440+ let cz = if (cl)
441+ then (cr + cy)
442+ else (cr - cy)
443+ let cA = toInt(aJ(aO, toBigInt(cz)))
444+ let cB = aL((cA - cs))
445+ let cC = if (cl)
446+ then cB
447+ else -(cB)
448+ let cD = ck(cl, cy, cB)
449+ let cE = cD._1
450+ let cF = cD._2
451+ let cG = cD._3
452+ let cH = aG(aI(cr, cw), aI(cs, cx))
453+ let cI = aG(cm, cB)
454+ let cJ = aL((cH - cI))
455+ let cK = (av - aG(cH, (cH + cJ)))
456+ let cL = br()
457+ if ((cK > cL))
458+ then throw(((((((((((((("Price impact " + toString(cK)) + " > max price impact ") + toString(cL)) + " before quote asset: ") + toString(cr)) + " before base asset: ") + toString(cs)) + " quote asset amount to exchange: ") + toString(cm)) + " price before: ") + toString(cH)) + " marketPrice: ") + toString(cI)))
459+ else $Tuple4(cC, cE, cF, cG)
451460 }
452461
453462
454-func cJ (cK,cL) = {
455- let cM = ((((bA() - cL) / 1000) / 60) * av)
456- let cN = aG(aI(aI(cK, cM), aW()), aw)
457- cN
463+func cM (cN,cO) = {
464+ let cP = ((((bD() - cO) / 1000) / 60) * av)
465+ let cQ = aG(aI(aI(cN, cP), aX()), aw)
466+ cQ
458467 }
459468
460469
461-func cO (cP,cK,cQ,cL,cR) = {
462- let cS = if ((cP != 0))
470+func cR (cS,cN,cT,cO,cU) = {
471+ let cV = if ((cS != 0))
463472 then {
464- let cT = bI(cP)
465- aI((cT - cQ), cP)
473+ let cW = bL(cS)
474+ aI((cW - cT), cS)
466475 }
467476 else 0
468- let cN = cJ(cK, cL)
469- let cU = (((cR - cN) - cS) + cK)
470- let cV = if ((0 > cU))
471- then $Tuple2(0, aL(cU))
472- else $Tuple2(aL(cU), 0)
473- let cW = cV._1
474- let cX = cV._2
475- $Tuple4(cW, cX, cS, cN)
477+ let cQ = cM(cN, cO)
478+ let cX = (((cU - cQ) - cV) + cN)
479+ let cY = if ((0 > cX))
480+ then $Tuple2(0, aL(cX))
481+ else $Tuple2(aL(cX), 0)
482+ let cZ = cY._1
483+ let da = cY._2
484+ $Tuple4(cZ, da, cV, cQ)
476485 }
477486
478487
479-func cY (ci,ck,cZ,da,db,dc,dd) = {
480- let cE = aG(aI(da, db), aI(dc, dd))
481- if ((ck == 0))
488+func db (cl,cn,dc,dd,de,df,dg) = {
489+ let cH = aG(aI(dd, de), aI(df, dg))
490+ if ((cn == 0))
482491 then throw("Invalid base asset amount")
483492 else {
484- let aO = cn(da, dc)
485- let de = if (ci)
486- then (dc + ck)
487- else (dc - ck)
488- let df = toInt(aJ(aO, toBigInt(de)))
489- let dg = aL((df - da))
490- let dh = aI(dg, db)
491- let cI = bo()
492- let di = ch(!(ci), dg, ck)
493- let cB = di._1
494- let cC = di._2
495- let cD = di._3
496- let cF = aG(dh, ck)
497- let cG = aL((cE - cF))
498- let cH = (av - aG(cE, (cE + cG)))
499- if (if ((cH > cI))
500- then cZ
493+ let aO = cq(dd, df)
494+ let dh = if (cl)
495+ then (df + cn)
496+ else (df - cn)
497+ let di = toInt(aJ(aO, toBigInt(dh)))
498+ let dj = aL((di - dd))
499+ let dk = aI(dj, de)
500+ let cL = br()
501+ let dl = ck(!(cl), dj, cn)
502+ let cE = dl._1
503+ let cF = dl._2
504+ let cG = dl._3
505+ let cI = aG(dk, cn)
506+ let cJ = aL((cH - cI))
507+ let cK = (av - aG(cH, (cH + cJ)))
508+ if (if ((cK > cL))
509+ then dc
501510 else false)
502- then throw(((((((((((((("Price impact " + toString(cH)) + " > max price impact ") + toString(cI)) + " before quote asset: ") + toString(da)) + " before base asset: ") + toString(dc)) + " base asset amount to exchange: ") + toString(ck)) + " price before: ") + toString(cE)) + " market price: ") + toString(cF)))
503- else $Tuple7(dh, cB, cC, cD, (bu() - (if (ci)
504- then aL(ck)
505- else 0)), (bt() - (if (!(ci))
506- then aL(ck)
507- else 0)), cH)
511+ then throw(((((((((((((("Price impact " + toString(cK)) + " > max price impact ") + toString(cL)) + " before quote asset: ") + toString(dd)) + " before base asset: ") + toString(df)) + " base asset amount to exchange: ") + toString(cn)) + " price before: ") + toString(cH)) + " market price: ") + toString(cI)))
512+ else $Tuple7(dk, cE, cF, cG, (bx() - (if (cl)
513+ then aL(cn)
514+ else 0)), (bw() - (if (!(cl))
515+ then aL(cn)
516+ else 0)), cK)
508517 }
509518 }
510519
511520
512-func dj (ci,ck,cZ) = cY(ci, ck, cZ, aY(), ba(), aZ(), bb())
521+func dm (cl,cn,dc) = db(cl, cn, dc, aZ(), bd(), bb(), be())
513522
514523
515-func dk (dl,cb,cc) = {
516- let dm = valueOrErrorMessage(getInteger(dl, cb), ((("Can not get oracle price. Oracle: " + toString(dl)) + " key: ") + cb))
517- if ((cc != ""))
524+func dn (do,ce,cf) = {
525+ let dp = valueOrErrorMessage(getInteger(do, ce), ((("Can not get oracle price. Oracle: " + toString(do)) + " key: ") + ce))
526+ if ((cf != ""))
518527 then {
519- let dn = height
520- let do = valueOrErrorMessage(getInteger(dl, cc), ((("Can not get oracle block. Oracle: " + toString(dl)) + " key: ") + cc))
521- if (((dn - do) > bx()))
522- then throw(((("Oracle stale data. Last oracle block: " + toString(do)) + " current block: ") + toString(dn)))
523- else dm
528+ let dq = height
529+ let dr = valueOrErrorMessage(getInteger(do, cf), ((("Can not get oracle block. Oracle: " + toString(do)) + " key: ") + cf))
530+ if (((dq - dr) > bA()))
531+ then throw(((("Oracle stale data. Last oracle block: " + toString(dr)) + " current block: ") + toString(dq)))
532+ else dp
524533 }
525- else dm
534+ else dp
526535 }
527536
528537
529-func dp () = {
530- let dq = valueOrErrorMessage(bW(a), "No base asset oracle data")
531- let dr = dk(dq._1, dq._2, dq._3)
532- let ds = bW(b)
533- let dt = if (isDefined(ds))
538+func ds () = {
539+ let dt = valueOrErrorMessage(bZ(a), "No base asset oracle data")
540+ let du = dn(dt._1, dt._2, dt._3)
541+ let dv = bZ(b)
542+ let dw = if (isDefined(dv))
534543 then {
535- let du = value(ds)
536- dk(du._1, du._2, du._3)
544+ let dx = value(dv)
545+ dn(dx._1, dx._2, dx._3)
537546 }
538547 else av
539- aG(dr, dt)
548+ aG(du, dw)
540549 }
541550
542551
543-func dv () = {
544- let dq = valueOrErrorMessage(bW(a), "No base asset oracle data")
545- let dl = dq._1
546- let cd = dq._4
547- if ((cd != ""))
552+func dy () = {
553+ let dt = valueOrErrorMessage(bZ(a), "No base asset oracle data")
554+ let do = dt._1
555+ let cg = dt._4
556+ if ((cg != ""))
548557 then {
549- let dw = valueOrErrorMessage(getBoolean(dl, cd), ((("Can not get oracle is open/closed. Oracle: " + toString(dl)) + " key: ") + cd))
550- !(dw)
558+ let dz = valueOrErrorMessage(getBoolean(do, cg), ((("Can not get oracle is open/closed. Oracle: " + toString(do)) + " key: ") + cg))
559+ !(dz)
551560 }
552561 else false
553562 }
554563
555564
556-func dx (dy,da,dc,ct,cu) = {
557- let dz = aG(aI(da, ct), aI(dc, cu))
558- let dA = aG((dy + dz), (2 * av))
559- let dx = aG(aL((dy - dz)), dA)
560- dx
565+func dA (dB,dd,df,cw,cx) = {
566+ let dC = aG(aI(dd, cw), aI(df, cx))
567+ let dD = aG((dB + dC), (2 * av))
568+ let dA = aG(aL((dB - dC)), dD)
569+ dA
561570 }
562571
563572
564-func dB (da,dc) = {
565- let dC = dp()
566- let ct = ba()
567- let cu = bb()
568- let dD = dx(dC, aY(), aZ(), ct, cu)
569- let dE = dx(dC, da, dc, ct, cu)
570- if (if ((dE > bp()))
571- then (dE > dD)
573+func dE (dd,df) = {
574+ let dF = ds()
575+ let cw = bd()
576+ let cx = be()
577+ let dG = dA(dF, aZ(), bb(), cw, cx)
578+ let dH = dA(dF, dd, df, cw, cx)
579+ if (if ((dH > bs()))
580+ then (dH > dG)
572581 else false)
573- then throw(((("Price spread " + toString(dE)) + " > max price spread ") + toString(bp())))
582+ then throw(((("Price spread " + toString(dH)) + " > max price spread ") + toString(bs())))
574583 else true
575584 }
576585
577586
578-func dF (dG,dH) = {
579- let dI = bq()
580- if ((dG > dI))
581- then throw(((("Long open notional " + toString(dG)) + " > max open notional ") + toString(dI)))
582- else if ((dH > dI))
583- then throw(((("Short open notional " + toString(dH)) + " > max open notional ") + toString(dI)))
587+func dI (dJ,dK) = {
588+ let dL = bt()
589+ if ((dJ > dL))
590+ then throw(((("Long open notional " + toString(dJ)) + " > max open notional ") + toString(dL)))
591+ else if ((dK > dL))
592+ then throw(((("Short open notional " + toString(dK)) + " > max open notional ") + toString(dL)))
584593 else true
585594 }
586595
587596
588-func dJ () = {
589- let da = aY()
590- let dc = aZ()
591- let ct = ba()
592- let cu = bb()
593- aG(aI(da, ct), aI(dc, cu))
597+func dM () = {
598+ let dd = aZ()
599+ let df = bb()
600+ let cw = bd()
601+ let cx = be()
602+ aG(aI(dd, cw), aI(df, cx))
594603 }
595604
596605
597-func dK () = {
598- let dC = dp()
599- let dL = dJ()
600- (aG(aL((dC - dL)), dC) > bn())
606+func dN () = {
607+ let dF = ds()
608+ let dO = dM()
609+ (aG(aL((dF - dO)), dF) > bq())
601610 }
602611
603612
604-func dM (bJ,dN,da,db,dc,dd) = {
605- let dO = aL(bJ)
606- let dP = (0 > bJ)
607- let dQ = if ((dN == ay))
613+func dP (bM,dQ,dd,de,df,dg) = {
614+ let dR = aL(bM)
615+ let dS = (0 > bM)
616+ let dT = if ((dQ == ay))
608617 then {
609- let dR = cY(!(dP), dO, false, da, db, dc, dd)._1
610- dR
618+ let dU = db(!(dS), dR, false, dd, de, df, dg)._1
619+ dU
611620 }
612- else aI(dO, dp())
613- dQ
621+ else aI(dR, ds())
622+ dT
614623 }
615624
616625
617-func dS (bJ,dT,da,db,dc,dd,dN) = if ((bJ == 0))
626+func dV (bM,dW,dd,de,df,dg,dQ) = if ((bM == 0))
618627 then throw("Invalid position size")
619628 else {
620- let dP = (0 > bJ)
621- let dQ = dM(bJ, dN, da, db, dc, dd)
622- let dU = if (dP)
623- then (dT - dQ)
624- else (dQ - dT)
625- $Tuple2(dQ, dU)
629+ let dS = (0 > bM)
630+ let dT = dP(bM, dQ, dd, de, df, dg)
631+ let dX = if (dS)
632+ then (dW - dT)
633+ else (dT - dW)
634+ $Tuple2(dT, dX)
626635 }
627636
628637
629-func dV (bL,bM,dN) = {
630- let dW = bK(bL, bM)
631- let bQ = dW._1
632- let dX = dW._2
633- let dY = dW._3
634- let dZ = dW._4
635- dS(bQ, dY, aY(), ba(), aZ(), bb(), dN)
638+func dY (bO,bP,dQ) = {
639+ let dZ = bN(bO, bP)
640+ let bT = dZ._1
641+ let ea = dZ._2
642+ let eb = dZ._3
643+ let ec = dZ._4
644+ dV(bT, eb, aZ(), bd(), bb(), be(), dQ)
636645 }
637646
638647
639-func ea (eb,ec,ed) = aG((eb - ec), ed)
648+func ed (ee,ef,eg) = aG((ee - ef), eg)
640649
641650
642-func ee (bL,bM,dN) = {
643- let ef = bK(bL, bM)
644- let bQ = ef._1
645- let dX = ef._2
646- let eg = ef._3
647- let eh = ef._4
648- let ei = ef._5
649- let ej = dV(bL, bM, dN)
650- let dQ = ej._1
651- let dU = ej._2
652- let ek = cO(bQ, dX, eh, ei, dU)
653- let cW = ek._1
654- let cX = ek._2
655- ea(cW, cX, dQ)
651+func eh (bO,bP,dQ) = {
652+ let ei = bN(bO, bP)
653+ let bT = ei._1
654+ let ea = ei._2
655+ let ej = ei._3
656+ let ek = ei._4
657+ let el = ei._5
658+ let em = dY(bO, bP, dQ)
659+ let dT = em._1
660+ let dX = em._2
661+ let en = cR(bT, ea, ek, el, dX)
662+ let cZ = en._1
663+ let da = en._2
664+ ed(cZ, da, dT)
656665 }
657666
658667
659-func el (bL,bM) = ee(bL, bM, ay)
668+func eo (bO,bP) = eh(bO, bP, ay)
660669
661670
662-func em (bL,bJ) = {
663- let en = aM(bm(), (av - aG(el(bL, bR(bJ)), bk())))
664- let eo = aI(aL(bJ), en)
665- let ep = dj((bJ > 0), eo, false)
666- let eq = ep._1
667- let cH = ep._7
668- if ((bo() > cH))
669- then eo
670- else aI(aL(bJ), bm())
671+func ep (bO,bM) = {
672+ let eq = aM(bp(), (av - aG(eo(bO, bU(bM)), bn())))
673+ let er = aI(aL(bM), eq)
674+ let es = dm((bM > 0), er, false)
675+ let et = es._1
676+ let cK = es._7
677+ if ((br() > cK))
678+ then er
679+ else aI(aL(bM), bp())
671680 }
672681
673682
674-func er (bL,bM,es,et,eu,ev,cZ,ew) = {
675- let ex = bK(bL, bM)
676- let ey = ex._1
677- let ez = ex._2
678- let eA = ex._3
679- let eB = ex._4
680- let eC = ex._5
681- let eD = (ey > 0)
682- let eE = aL(ey)
683- if (if ((eE >= es))
684- then (es > 0)
683+func eu (bO,bP,ev,ew,ex,ey,dc,ez) = {
684+ let eA = bN(bO, bP)
685+ let eB = eA._1
686+ let eC = eA._2
687+ let eD = eA._3
688+ let eE = eA._4
689+ let eF = eA._5
690+ let eG = (eB > 0)
691+ let eH = aL(eB)
692+ if (if ((eH >= ev))
693+ then (ev > 0)
685694 else false)
686695 then {
687- let eF = (eE > es)
688- let eG = dj((ey > 0), es, cZ)
689- let eH = eG._1
690- let cw = eG._2
691- let cx = eG._3
692- let eI = eG._4
693- let eJ = if ((ey > 0))
694- then -(es)
695- else es
696- let eK = dV(bL, bM, ay)
697- let eL = eK._1
698- let dU = eK._2
699- let eM = aG(aL(eJ), eE)
700- let eN = aI(dU, eM)
701- let eO = cO(ey, ez, eB, eC, dU)
702- let eP = eO._1
703- let eQ = eO._2
704- let eR = eO._3
705- let cN = eO._4
706- let eS = cO(ey, ez, eB, eC, eN)._2
707- let eT = aI(aI(eL, eM), et)
708- let eU = (dU - eN)
709- let eV = if ((ey > 0))
710- then ((eL - eH) - eU)
711- else ((eU + eL) - eH)
712- let eW = (ey + eJ)
713- let eX = if ((eW == 0))
696+ let eI = (eH > ev)
697+ let eJ = dm((eB > 0), ev, dc)
698+ let eK = eJ._1
699+ let cz = eJ._2
700+ let cA = eJ._3
701+ let eL = eJ._4
702+ let eM = if ((eB > 0))
703+ then -(ev)
704+ else ev
705+ let eN = dY(bO, bP, ay)
706+ let eO = eN._1
707+ let dX = eN._2
708+ let eP = aG(aL(eM), eH)
709+ let eQ = aI(dX, eP)
710+ let eR = cR(eB, eC, eE, eF, dX)
711+ let eS = eR._1
712+ let eT = eR._2
713+ let eU = eR._3
714+ let cQ = eR._4
715+ let eV = cR(eB, eC, eE, eF, eQ)._2
716+ let eW = aI(aI(eO, eP), ew)
717+ let eX = (dX - eQ)
718+ let eY = if ((eB > 0))
719+ then ((eO - eK) - eX)
720+ else ((eX + eO) - eK)
721+ let eZ = (eB + eM)
722+ let fa = if ((eZ == 0))
714723 then $Tuple2(0, 0)
715- else $Tuple2(aL(eV), bI(eW))
716- let eY = eX._1
717- let eZ = eX._2
718- let fa = (eA - eY)
719- let fb = ee(bL, bM, ay)
720- let fc = if ((ey > 0))
721- then (aI((eY + eU), fb) - eU)
722- else (aI((eY - eU), fb) - eU)
723- let fd = ((eP - (fc + eU)) - eT)
724- let fe = if ((0 > fd))
725- then if (ew)
724+ else $Tuple2(aL(eY), bL(eZ))
725+ let fb = fa._1
726+ let fc = fa._2
727+ let fd = (eD - fb)
728+ let fe = eh(bO, bP, ay)
729+ let ff = if ((eB > 0))
730+ then (aI((fb + eX), fe) - eX)
731+ else (aI((fb - eX), fe) - eX)
732+ let fg = ((eS - (ff + eX)) - eW)
733+ let fh = if ((0 > fg))
734+ then if (ez)
726735 then 0
727736 else throw("Invalid internalClosePosition params: unable to pay fee")
728- else fd
729- let ff = if (ev)
730- then (fc + fe)
731- else fc
732- if (if ((eu != 0))
733- then (eu > eH)
737+ else fg
738+ let fi = if (ey)
739+ then (ff + fh)
740+ else ff
741+ if (if ((ex != 0))
742+ then (ex > eK)
734743 else false)
735- then throw(((("Limit error: " + toString(eH)) + " < ") + toString(eu)))
736- else $Tuple17(eW, ff, eY, eZ, eS, eN, if (if (ev)
737- then eF
744+ then throw(((("Limit error: " + toString(eK)) + " < ") + toString(ex)))
745+ else $Tuple17(eZ, fi, fb, fc, eV, eQ, if (if (ey)
746+ then eI
738747 else false)
739748 then 0
740- else fe, cw, cx, eI, (bd() - fa), (bu() - (if (eD)
741- then aL(eJ)
742- else 0)), (bt() - (if (!(eD))
743- then aL(eJ)
744- else 0)), (bf() - (if (eD)
745- then fa
746- else 0)), (be() - (if (!(eD))
747- then fa
748- else 0)), (eT + cN), eH)
749+ else fh, cz, cA, eL, (bg() - fd), (bx() - (if (eG)
750+ then aL(eM)
751+ else 0)), (bw() - (if (!(eG))
752+ then aL(eM)
753+ else 0)), (bi() - (if (eG)
754+ then fd
755+ else 0)), (bh() - (if (!(eG))
756+ then fd
757+ else 0)), (eW + cQ), eK)
749758 }
750- else throw(((("Invalid internalClosePosition params: invalid position size: " + toString(es)) + " max: ") + toString(eE)))
759+ else throw(((("Invalid internalClosePosition params: invalid position size: " + toString(ev)) + " max: ") + toString(eH)))
751760 }
752761
753762
754-func fg () = {
755- let bJ = bc()
756- if ((bJ == 0))
757- then $Tuple2(aY(), aZ())
763+func fj () = {
764+ let bM = bf()
765+ if ((bM == 0))
766+ then $Tuple2(aZ(), bb())
758767 else {
759- let fh = (bJ > 0)
760- let fi = dj(fh, aL(bJ), false)
761- let fj = fi._1
762- let fk = fi._2
763- let fl = fi._3
764- $Tuple2(fk, fl)
768+ let fk = (bM > 0)
769+ let fl = dm(fk, aL(bM), false)
770+ let fm = fl._1
771+ let fn = fl._2
772+ let fo = fl._3
773+ $Tuple2(fn, fo)
765774 }
766775 }
767776
768777
769-func fm (fn,bc,fo,fp) = {
770- let fq = toBigInt(fn)
771- let fr = toBigInt(bc)
772- let fs = toBigInt(fo)
773- let ft = toBigInt(fp)
774- let aO = aK(fs, fq)
775- let fu = (fq + fr)
776- let fv = aJ(aO, fu)
777- let fw = aJ(fv, fu)
778- let fx = aJ(ft, fw)
779- toInt(fx)
778+func fp (fq,bf,fr,fs) = {
779+ let ft = toBigInt(fq)
780+ let fu = toBigInt(bf)
781+ let fv = toBigInt(fr)
782+ let fw = toBigInt(fs)
783+ let aO = aK(fv, ft)
784+ let fx = (ft + fu)
785+ let fy = aJ(aO, fx)
786+ let fz = aJ(fy, fx)
787+ let fA = aJ(fw, fz)
788+ toInt(fA)
780789 }
781790
782791
783-func fy (fz,co,cp) = {
784- let bJ = bc()
785- if ((bJ == 0))
792+func fB (fC,cr,cs) = {
793+ let bM = bf()
794+ if ((bM == 0))
786795 then {
787- let fA = aG(aI(fz, cp), co)
788- $Tuple3(fA, av, 0)
796+ let fD = aG(aI(fC, cs), cr)
797+ $Tuple3(fD, av, 0)
789798 }
790799 else {
791- let fh = (bJ > 0)
792- let fj = dj(fh, aL(bJ), false)._1
793- let fA = fm(cp, bJ, co, fz)
794- let fB = av
795- let fC = dS(bJ, fj, co, fA, cp, fB, ay)._2
796- $Tuple3(fA, fB, fC)
800+ let fk = (bM > 0)
801+ let fm = dm(fk, aL(bM), false)._1
802+ let fD = fp(cs, bM, cr, fC)
803+ let fE = av
804+ let fF = dV(bM, fm, cr, fD, cs, fE, ay)._2
805+ $Tuple3(fD, fE, fF)
797806 }
798807 }
799808
800809
801-func fD () = {
802- let fE = dp()
803- let fF = dJ()
804- let fG = (fF - fE)
805- if (if (dv())
810+func fG () = {
811+ let fH = ds()
812+ let fI = dM()
813+ let fJ = (fI - fH)
814+ if (if (dy())
806815 then true
807- else if ((by() == aA))
808- then if ((bt() == 0))
816+ else if ((bB() == aA))
817+ then if ((bw() == 0))
809818 then true
810- else (bu() == 0)
819+ else (bx() == 0)
811820 else false)
812821 then $Tuple3(0, 0, 0)
813- else if ((0 > fG))
822+ else if ((0 > fJ))
814823 then {
815- let fH = aG(aI(fG, bi()), ax)
816- if ((by() == aA))
824+ let fK = aG(aI(fJ, bl()), ax)
825+ if ((bB() == aA))
817826 then {
818- let fI = aG(aI(fH, bt()), bu())
819- $Tuple3(fH, fI, 0)
827+ let fL = aG(aI(fK, bw()), bx())
828+ $Tuple3(fK, fL, 0)
820829 }
821830 else {
822- let fJ = aL(aI(fH, bt()))
823- let fK = aL(aI(fH, bu()))
824- let fL = (fJ - fK)
825- $Tuple3(fH, fH, fL)
831+ let fM = aL(aI(fK, bw()))
832+ let fN = aL(aI(fK, bx()))
833+ let fO = (fM - fN)
834+ $Tuple3(fK, fK, fO)
826835 }
827836 }
828837 else {
829- let fI = aG(aI(fG, bi()), ax)
830- if ((by() == aA))
838+ let fL = aG(aI(fJ, bl()), ax)
839+ if ((bB() == aA))
831840 then {
832- let fH = aG(aI(fI, bu()), bt())
833- $Tuple3(fH, fI, 0)
841+ let fK = aG(aI(fL, bx()), bw())
842+ $Tuple3(fK, fL, 0)
834843 }
835844 else {
836- let fK = aL(aI(fI, bu()))
837- let fJ = aL(aI(fI, bt()))
838- let fL = (fK - fJ)
839- $Tuple3(fI, fI, fL)
845+ let fN = aL(aI(fL, bx()))
846+ let fM = aL(aI(fL, bw()))
847+ let fO = (fN - fM)
848+ $Tuple3(fL, fL, fO)
840849 }
841850 }
842851 }
843852
844853
845-func fM (fN,fO) = {
846- let fP = aV()
847- let fQ = aI(fP, fO)
848- let fR = if ((fN != ""))
854+func fP (fQ,fR) = {
855+ let fS = aW()
856+ let fT = aI(fS, fR)
857+ let fU = if ((fQ != ""))
849858 then {
850- let fS = aR(an(), ac(ap, fN))
851- if ((fS == aq))
859+ let fV = aR(an(), ac(ap, fQ))
860+ if ((fV == aq))
852861 then {
853- let fT = aT(an(), ac(ao, fN))
854- let fU = aI(fQ, fT)
855- $Tuple2(fU, true)
862+ let fW = aT(an(), ac(ao, fQ))
863+ let fX = aI(fT, fW)
864+ $Tuple2(fX, true)
856865 }
857866 else throw("Invalid attached artifact")
858867 }
859- else $Tuple2(fQ, false)
860- let fU = fR._1
861- let fV = fR._2
862- $Tuple2(fU, fV)
868+ else $Tuple2(fT, false)
869+ let fX = fU._1
870+ let fY = fU._2
871+ $Tuple2(fX, fY)
863872 }
864873
865874
866-func fW (bL,fN) = {
867- let fX = invoke(ak(), "computeFeeDiscount", [bL], nil)
868- if ((fX == fX))
875+func fZ (bO,fQ) = {
876+ let ga = invoke(ak(), "computeFeeDiscount", [bO], nil)
877+ if ((ga == ga))
869878 then {
870- let fY = {
871- let bP = fX
872- if ($isInstanceOf(bP, "Int"))
879+ let gb = {
880+ let bS = ga
881+ if ($isInstanceOf(bS, "Int"))
873882 then {
874- let fZ = bP
875- fZ
883+ let gc = bS
884+ gc
876885 }
877886 else throw("Invalid computeFeeDiscount result")
878887 }
879- let ga = fM(fN, fY)
880- let fU = ga._1
881- let fV = ga._2
882- $Tuple2(fU, fV)
888+ let gd = fP(fQ, gb)
889+ let fX = gd._1
890+ let fY = gd._2
891+ $Tuple2(fX, fY)
883892 }
884893 else throw("Strict value is not equal to itself.")
885894 }
886895
887896
888-func gb (bC) = {
889- let gc = if ((size(bC.payments) > 1))
890- then toBase58String(valueOrErrorMessage(bC.payments[1].assetId, "Invalid artifactId"))
897+func ge (bF) = {
898+ let gf = if ((size(bF.payments) > 1))
899+ then toBase58String(valueOrErrorMessage(bF.payments[1].assetId, "Invalid artifactId"))
891900 else ""
892- gc
901+ gf
893902 }
894903
895904
896-func gd (ge) = {
897- let gf = aI(ge, bw())
898- let gg = (ge - gf)
899- $Tuple2(gf, gg)
905+func gg (gh) = {
906+ let gi = aI(gh, bz())
907+ let gj = (gh - gi)
908+ $Tuple2(gi, gj)
900909 }
901910
902911
903-func gh (gi,gj,gk,gl,et,gm,gn,go,gp,dI,gq,gr,gs,gt,gu) = [IntegerEntry(r, gi), IntegerEntry(s, gj), IntegerEntry(t, gk), IntegerEntry(q, gl), IntegerEntry(o, et), IntegerEntry(v, gm), IntegerEntry(w, gn), IntegerEntry(u, go), IntegerEntry(x, gp), IntegerEntry(y, dI), IntegerEntry(z, gq), IntegerEntry(A, gr), IntegerEntry(p, gs), IntegerEntry(B, gt), IntegerEntry(C, gu)]
912+func gk (gl,gm,gn,go,ew,gp,gq,gr,gs,dL,gt,gu,gv,gw,gx) = [IntegerEntry(r, gl), IntegerEntry(s, gm), IntegerEntry(t, gn), IntegerEntry(q, go), IntegerEntry(o, ew), IntegerEntry(v, gp), IntegerEntry(w, gq), IntegerEntry(u, gr), IntegerEntry(x, gs), IntegerEntry(y, dL), IntegerEntry(z, gt), IntegerEntry(A, gu), IntegerEntry(p, gv), IntegerEntry(B, gw), IntegerEntry(C, gx)]
904913
905914
906-func gv (gw,gx,gy,gz,gA) = [IntegerEntry(F, gw), IntegerEntry(D, gx), IntegerEntry(E, gy), IntegerEntry(G, gz), IntegerEntry(H, gA)]
915+func gy (gz,gA,gB,gC,gD) = [IntegerEntry(F, gz), IntegerEntry(D, gA), IntegerEntry(E, gB), IntegerEntry(G, gC), IntegerEntry(H, gD)]
907916
908917
909-func gB (gC,bL,bM) = {
910- let bN = ((bL + "_") + toString(bM))
911- if (gC)
918+func gE (gF,bO,bP) = {
919+ let bQ = ((bO + "_") + toString(bP))
920+ if (gF)
912921 then {
913- let gD = bv()
914-[IntegerEntry(ac(i, bN), (gD + 1)), IntegerEntry(d, (gD + 1))]
922+ let gG = by()
923+[IntegerEntry(ac(i, bQ), (gG + 1)), IntegerEntry(d, (gG + 1))]
915924 }
916925 else nil
917926 }
918927
919928
920-func gE (gC,bL,bM,et) = {
921- let bN = ((bL + "_") + toString(bM))
922- if (gC)
923- then [IntegerEntry(ac(j, bN), et)]
929+func gH (gF,bO,bP,ew) = {
930+ let bQ = ((bO + "_") + toString(bP))
931+ if (gF)
932+ then [IntegerEntry(ac(j, bQ), ew)]
924933 else nil
925934 }
926935
927936
928-func gF (bL,es,gG,gH,cT,gI) = {
929- let fh = bR(es)
930- let bN = ((bL + "_") + toString(fh))
931-[IntegerEntry(ac(e, bN), es), IntegerEntry(ac(f, bN), gG), IntegerEntry(ac(g, bN), gH), IntegerEntry(ac(h, bN), cT), IntegerEntry(ac(k, bN), gI)]
937+func gI (bO,ev,gJ,gK,cW,gL) = {
938+ let fk = bU(ev)
939+ let bQ = ((bO + "_") + toString(fk))
940+[IntegerEntry(ac(e, bQ), ev), IntegerEntry(ac(f, bQ), gJ), IntegerEntry(ac(g, bQ), gK), IntegerEntry(ac(h, bQ), cW), IntegerEntry(ac(k, bQ), gL)]
932941 }
933942
934943
935-func gJ (co,cp) = if (if ((0 > co))
944+func gM (cr,cs) = if (if ((0 > cr))
936945 then true
937- else (0 > cp))
946+ else (0 > cs))
938947 then throw("Invalid amount to update reserves")
939- else [IntegerEntry(I, co), IntegerEntry(J, cp)]
948+ else if (if ((cr != ba()))
949+ then true
950+ else (cs != bc()))
951+ then [IntegerEntry(I, cr), IntegerEntry(J, cs)]
952+ else nil
940953
941954
942-func gK (ct,cu) = [IntegerEntry(K, ct), IntegerEntry(L, cu)]
955+func gN (cw,cx) = if (if ((cw != bd()))
956+ then true
957+ else (cx != be()))
958+ then [IntegerEntry(K, cw), IntegerEntry(L, cx)]
959+ else nil
943960
944961
945-func gL (co,cp,gM,gN,gO,gP,gQ,gR) = {
946- let ct = ba()
947- let cu = bb()
948- if (((gO - gP) != gM))
949- then throw(((((("Invalid AMM state data: " + toString(gO)) + " + ") + toString(gP)) + " != ") + toString(gM)))
950- else (gJ(co, cp) ++ [IntegerEntry(M, gM), IntegerEntry(P, gN), IntegerEntry(N, gO), IntegerEntry(O, gP), IntegerEntry(R, gQ), IntegerEntry(Q, gR)])
962+func gO (cr,cs,gP,gQ,gR,gS,gT,gU) = {
963+ let cw = bd()
964+ let cx = be()
965+ if (((gR - gS) != gP))
966+ then throw(((((("Invalid AMM state data: " + toString(gR)) + " + ") + toString(gS)) + " != ") + toString(gP)))
967+ else (gM(cr, cs) ++ [IntegerEntry(M, gP), IntegerEntry(P, gQ), IntegerEntry(N, gR), IntegerEntry(O, gS), IntegerEntry(R, gT), IntegerEntry(Q, gU)])
951968 }
952969
953970
954-func gS (bL,bM) = {
955- let bN = ((bL + "_") + toString(bM))
956-[DeleteEntry(ac(e, bN)), DeleteEntry(ac(f, bN)), DeleteEntry(ac(g, bN)), DeleteEntry(ac(h, bN)), DeleteEntry(ac(j, bN)), DeleteEntry(ac(k, bN))]
971+func gV (bO,bP) = {
972+ let bQ = ((bO + "_") + toString(bP))
973+[DeleteEntry(ac(e, bQ)), DeleteEntry(ac(f, bQ)), DeleteEntry(ac(g, bQ)), DeleteEntry(ac(h, bQ)), DeleteEntry(ac(j, bQ)), DeleteEntry(ac(k, bQ))]
957974 }
958975
959976
960-func gT (ae,gU) = {
961- let gV = assetBalance(this, ah())
962- if ((gU > gV))
963- then throw(((("Unable to withdraw " + toString(gU)) + " from contract balance ") + toString(gV)))
964- else [ScriptTransfer(ae, gU, ah())]
977+func gW (ae,gX) = {
978+ let gY = assetBalance(this, ah())
979+ if ((gX > gY))
980+ then throw(((("Unable to withdraw " + toString(gX)) + " from contract balance ") + toString(gY)))
981+ else [ScriptTransfer(ae, gX, ah())]
965982 }
966983
967984
968-func gW (bC) = if ((0 > bC))
985+func gZ (ha) = if ((0 > ha))
969986 then throw("Balance")
970- else [IntegerEntry(c, bC)]
987+ else if (if ((aV() == 0))
988+ then true
989+ else (aV() != ha))
990+ then [IntegerEntry(c, ha)]
991+ else nil
971992
972993
973-func gX (bC) = [ScriptTransfer(ai(), bC, ah())]
994+func hb (bF) = [ScriptTransfer(ai(), bF, ah())]
974995
975996
976-func gY (gZ,bC) = if (gZ)
977- then [Burn(valueOrErrorMessage(bC.payments[1].assetId, "Invalid artifact"), 1)]
997+func hc (hd,bF) = if (hd)
998+ then [Burn(valueOrErrorMessage(bF.payments[1].assetId, "Invalid artifact"), 1)]
978999 else nil
9791000
9801001
981-@Callable(bC)
982-func pause () = if ((bC.caller != ag()))
1002+@Callable(bF)
1003+func pause () = if ((bF.caller != ag()))
9831004 then throw("Invalid pause params")
9841005 else [BooleanEntry(m, true)]
9851006
9861007
9871008
988-@Callable(bC)
989-func unpause () = if ((bC.caller != ag()))
1009+@Callable(bF)
1010+func unpause () = if ((bF.caller != ag()))
9901011 then throw("Invalid unpause params")
9911012 else [BooleanEntry(m, false)]
9921013
9931014
9941015
995-@Callable(bC)
996-func setCloseOnly () = if ((bC.caller != ag()))
1016+@Callable(bF)
1017+func setCloseOnly () = if ((bF.caller != ag()))
9971018 then throw("Invalid setCloseOnly params")
9981019 else [BooleanEntry(n, true)]
9991020
10001021
10011022
1002-@Callable(bC)
1003-func unsetCloseOnly () = if ((bC.caller != ag()))
1023+@Callable(bF)
1024+func unsetCloseOnly () = if ((bF.caller != ag()))
10041025 then throw("Invalid unsetCloseOnly params")
10051026 else [BooleanEntry(n, false)]
10061027
10071028
10081029
1009-@Callable(bC)
1010-func changeLiquidity (cj) = if (if ((bC.caller != ag()))
1030+@Callable(bF)
1031+func changeLiquidity (cm) = if (if ((bF.caller != ag()))
10111032 then true
1012- else (cj == 0))
1033+ else (cm == 0))
10131034 then throw("Invalid changeLiquidity params")
10141035 else {
1015- let co = aY()
1016- let cp = aZ()
1017- let ct = ba()
1018- let cu = bb()
1019- let ha = aG(aI(co, ct), aI(cp, cu))
1020- let hb = (co + cj)
1021- let hc = (aG(aI(hb, ct), ha) - cp)
1022- let hd = (cp + hc)
1023- let he = fy(dp(), hb, hd)
1024- let hf = he._1
1025- let hg = he._2
1026- let fC = he._3
1027- let hh = if ((fC != 0))
1036+ let cr = aZ()
1037+ let cs = bb()
1038+ let cw = bd()
1039+ let cx = be()
1040+ let he = aG(aI(cr, cw), aI(cs, cx))
1041+ let hf = (cr + cm)
1042+ let hg = (aG(aI(hf, cw), he) - cs)
1043+ let hh = (cs + hg)
1044+ let hi = fB(ds(), hf, hh)
1045+ let hj = hi._1
1046+ let hk = hi._2
1047+ let fF = hi._3
1048+ let hl = if ((fF != 0))
10281049 then {
1029- let hh = invoke(aj(), "exchangeFreeAndLocked", [fC], nil)
1030- if ((hh == hh))
1050+ let hl = invoke(aj(), "exchangeFreeAndLocked", [fF], nil)
1051+ if ((hl == hl))
10311052 then nil
10321053 else throw("Strict value is not equal to itself.")
10331054 }
10341055 else nil
1035- if ((hh == hh))
1036- then (gJ(hb, hd) ++ gK(hf, hg))
1056+ if ((hl == hl))
1057+ then (gM(hf, hh) ++ gN(hj, hk))
10371058 else throw("Strict value is not equal to itself.")
10381059 }
10391060
10401061
10411062
1042-@Callable(bC)
1043-func changeSettings (gi,gj,gk,gl,et,gm,gn,go,gp,dI,gq,gr,gs,gt,gu) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= gl))
1063+@Callable(bF)
1064+func changeSettings (gl,gm,gn,go,ew,gp,gq,gr,gs,dL,gt,gu,gv,gw,gx) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= go))
10441065 then true
1045- else (0 >= gi))
1046- then true
1047- else (0 >= gj))
1048- then true
1049- else (0 >= gk))
1050- then true
1051- else (0 >= et))
1066+ else (0 >= gl))
10521067 then true
10531068 else (0 >= gm))
10541069 then true
10551070 else (0 >= gn))
10561071 then true
1057- else (0 >= go))
1072+ else (0 >= ew))
10581073 then true
10591074 else (0 >= gp))
10601075 then true
1061- else (0 >= dI))
1062- then true
10631076 else (0 >= gq))
1064- then true
1065- else (gq > av))
10661077 then true
10671078 else (0 >= gr))
10681079 then true
10691080 else (0 >= gs))
10701081 then true
1071- else if ((gt != aB))
1072- then (gt != aA)
1082+ else (0 >= dL))
1083+ then true
1084+ else (0 >= gt))
1085+ then true
1086+ else (gt > av))
1087+ then true
1088+ else (0 >= gu))
1089+ then true
1090+ else (0 >= gv))
1091+ then true
1092+ else if ((gw != aB))
1093+ then (gw != aA)
10731094 else false)
10741095 then true
1075- else if ((gu != aC))
1076- then (gu != aD)
1096+ else if ((gx != aC))
1097+ then (gx != aD)
10771098 else false)
10781099 then true
1079- else !(ce()))
1100+ else !(ch()))
10801101 then true
1081- else (bC.caller != ag()))
1102+ else (bF.caller != ag()))
10821103 then throw("Invalid changeSettings params")
1083- else gh(gi, gj, gk, gl, et, gm, gn, go, gp, dI, gq, gr, gs, gt, gu)
1104+ else gk(gl, gm, gn, go, ew, gp, gq, gr, gs, dL, gt, gu, gv, gw, gx)
10841105
10851106
10861107
1087-@Callable(bC)
1088-func initialize (co,cp,gl,gi,gj,gk,et,hi,hj,hk,gm,gn,go,gp,dI,gq,gr,gs,gt,gu) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= co))
1108+@Callable(bF)
1109+func initialize (cr,cs,go,gl,gm,gn,ew,hm,hn,ho,gp,gq,gr,gs,dL,gt,gu,gv,gw,gx) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= cr))
10891110 then true
1090- else (0 >= cp))
1111+ else (0 >= cs))
1112+ then true
1113+ else (0 >= go))
10911114 then true
10921115 else (0 >= gl))
1093- then true
1094- else (0 >= gi))
1095- then true
1096- else (0 >= gj))
1097- then true
1098- else (0 >= gk))
1099- then true
1100- else (0 >= et))
11011116 then true
11021117 else (0 >= gm))
11031118 then true
11041119 else (0 >= gn))
11051120 then true
1106- else (0 >= go))
1121+ else (0 >= ew))
11071122 then true
11081123 else (0 >= gp))
11091124 then true
1110- else (0 >= dI))
1111- then true
11121125 else (0 >= gq))
11131126 then true
1114- else (gq > av))
1115- then true
1116- else (0 > gr))
1127+ else (0 >= gr))
11171128 then true
11181129 else (0 >= gs))
11191130 then true
1120- else if ((gt != aB))
1121- then (gt != aA)
1131+ else (0 >= dL))
1132+ then true
1133+ else (0 >= gt))
1134+ then true
1135+ else (gt > av))
1136+ then true
1137+ else (0 > gu))
1138+ then true
1139+ else (0 >= gv))
1140+ then true
1141+ else if ((gw != aB))
1142+ then (gw != aA)
11221143 else false)
11231144 then true
1124- else if ((gu != aC))
1125- then (gu != aD)
1145+ else if ((gx != aC))
1146+ then (gx != aD)
11261147 else false)
11271148 then true
1128- else ce())
1149+ else ch())
11291150 then true
1130- else (bC.caller != this))
1151+ else (bF.caller != this))
11311152 then throw("Invalid initialize parameters")
1132- else ((((gL(co, cp, 0, 0, 0, 0, 0, 0) ++ gh(gi, gj, gk, gl, et, gm, gn, go, gp, dI, gq, gr, gs, gt, gu)) ++ gv((bA() + gl), 0, 0, 0, 0)) ++ gW(0)) ++ [BooleanEntry(l, true), StringEntry(a, hi), StringEntry(b, hj), StringEntry(T, toString(addressFromStringValue(hk)))])
1153+ else ((((gO(cr, cs, 0, 0, 0, 0, 0, 0) ++ gk(gl, gm, gn, go, ew, gp, gq, gr, gs, dL, gt, gu, gv, gw, gx)) ++ gy((bD() + go), 0, 0, 0, 0)) ++ gZ(0)) ++ [BooleanEntry(l, true), StringEntry(a, hm), StringEntry(b, hn), StringEntry(T, toString(addressFromStringValue(ho)))])
11331154
11341155
11351156
1136-@Callable(bC)
1137-func increasePosition (bM,hl,hm,hn,ho) = {
1138- let hp = invoke(this, "updateOracle", [ho], nil)
1139- if ((hp == hp))
1157+@Callable(bF)
1158+func increasePosition (bP,hp,hq,hr,hs) = {
1159+ let ht = invoke(this, "updateOracle", [hs], nil)
1160+ if ((ht == ht))
11401161 then {
1141- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1142- if ((hq == hq))
1162+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1163+ if ((hu == hu))
11431164 then {
1144- let hr = invoke(this, "ensureCalledOnce", nil, nil)
1145- if ((hr == hr))
1165+ let hv = invoke(this, "ensureCalledOnce", nil, nil)
1166+ if ((hv == hv))
11461167 then {
1147- let bL = bB(bC)
1148- let hs = bC.payments[0].amount
1149- let ht = bC.payments[0].assetId
1150- let hu = toBase58String(value(ht))
1151- let hv = (ht == ah())
1152- if (if (if (if (if (if (if (if (if ((bM != ar))
1153- then (bM != as)
1168+ let bO = bE(bF)
1169+ let hw = bF.payments[0].amount
1170+ let hx = bF.payments[0].assetId
1171+ let hy = toBase58String(value(hx))
1172+ let hz = (hx == ah())
1173+ if (if (if (if (if (if (if (if (if ((bP != ar))
1174+ then (bP != as)
11541175 else false)
11551176 then true
1156- else (0 >= hs))
1177+ else (0 >= hw))
11571178 then true
1158- else !(ce()))
1179+ else !(ch()))
11591180 then true
1160- else !(hv))
1181+ else !(hz))
11611182 then true
1162- else !(bD(aG(av, hl), aX(), true)))
1183+ else !(bG(aG(av, hp), aY(), true)))
11631184 then true
1164- else cf())
1185+ else ci())
11651186 then true
1166- else cg())
1187+ else cj())
11671188 then true
1168- else dv())
1189+ else dy())
11691190 then throw("Invalid increasePosition parameters")
11701191 else {
1171- let hw = fW(bL, gb(bC))
1172- let fU = hw._1
1173- let fV = hw._2
1174- let gU = aG(hs, (aI(fU, hl) + av))
1175- let hx = (hs - gU)
1176- let hy = invoke(am(), "acceptPaymentWithLink", [bL, hn], [AttachedPayment(ah(), hx)])
1177- if ((hy == hy))
1192+ let hA = fZ(bO, ge(bF))
1193+ let fX = hA._1
1194+ let fY = hA._2
1195+ let gX = aG(hw, (aI(fX, hp) + av))
1196+ let hB = (hw - gX)
1197+ let hC = invoke(am(), "acceptPaymentWithLink", [bO, hr], [AttachedPayment(ah(), hB)])
1198+ if ((hC == hC))
11781199 then {
1179- let hz = {
1180- let bP = hy
1181- if ($isInstanceOf(bP, "Int"))
1200+ let hD = {
1201+ let bS = hC
1202+ if ($isInstanceOf(bS, "Int"))
11821203 then {
1183- let fZ = bP
1184- fZ
1204+ let gc = bS
1205+ gc
11851206 }
11861207 else throw("Invalid referrerFee")
11871208 }
1188- let hA = (hx - hz)
1189- let hB = bK(bL, bM)
1190- let ey = hB._1
1191- let ez = hB._2
1192- let eA = hB._3
1193- let eB = hB._4
1194- let eC = hB._5
1195- let hC = (ey == 0)
1196- let hD = if ((ey > 0))
1197- then (bM == ar)
1198- else (bM == as)
1199- let hE = if (!(hC))
1200- then hD
1209+ let hE = (hB - hD)
1210+ let hF = bN(bO, bP)
1211+ let eB = hF._1
1212+ let eC = hF._2
1213+ let eD = hF._3
1214+ let eE = hF._4
1215+ let eF = hF._5
1216+ let hG = (eB == 0)
1217+ let hH = if ((eB > 0))
1218+ then (bP == ar)
1219+ else (bP == as)
1220+ let hI = if (!(hG))
1221+ then hH
12011222 else false
1202- let hF = (bM == ar)
1203- let hG = if (if (hC)
1223+ let hJ = (bP == ar)
1224+ let hK = if (if (hG)
12041225 then true
1205- else hE)
1226+ else hI)
12061227 then {
1207- let hH = aI(gU, hl)
1208- let hI = cs(hF, hH)
1209- let cz = hI._1
1210- let cw = hI._2
1211- let cx = hI._3
1212- let eI = hI._4
1213- if (if ((hm != 0))
1214- then (hm > aL(cz))
1228+ let hL = aI(gX, hp)
1229+ let hM = cv(hJ, hL)
1230+ let cC = hM._1
1231+ let cz = hM._2
1232+ let cA = hM._3
1233+ let eL = hM._4
1234+ if (if ((hq != 0))
1235+ then (hq > aL(cC))
12151236 else false)
1216- then throw(((("Limit error: " + toString(aL(cz))) + " < ") + toString(hm)))
1237+ then throw(((("Limit error: " + toString(aL(cC))) + " < ") + toString(hq)))
12171238 else {
1218- let eW = (ey + cz)
1219- let hJ = (bf() + (if ((eW > 0))
1220- then hH
1239+ let eZ = (eB + cC)
1240+ let hN = (bi() + (if ((eZ > 0))
1241+ then hL
12211242 else 0))
1222- let hK = (be() + (if ((0 > eW))
1223- then hH
1243+ let hO = (bh() + (if ((0 > eZ))
1244+ then hL
12241245 else 0))
1225- let hL = cO(ey, ez, eB, eC, gU)
1226- let cW = hL._1
1227- let eQ = hL._2
1228- let eR = hL._3
1229- let cN = hL._4
1230- if (!(dB(cw, cx)))
1246+ let hP = cR(eB, eC, eE, eF, gX)
1247+ let cZ = hP._1
1248+ let eT = hP._2
1249+ let eU = hP._3
1250+ let cQ = hP._4
1251+ if (!(dE(cz, cA)))
12311252 then throw("Over max spread limit")
1232- else if (!(dF(hJ, hK)))
1253+ else if (!(dI(hN, hO)))
12331254 then throw("Over max open notional")
1234- else $Tuple14(eW, cW, (eA + hH), bI(eW), bA(), cx, cw, eI, (bd() + hH), (bu() + (if ((eW > 0))
1235- then aL(cz)
1236- else 0)), (bt() + (if ((0 > eW))
1237- then aL(cz)
1238- else 0)), hJ, hK, cN)
1255+ else $Tuple14(eZ, cZ, (eD + hL), bL(eZ), bD(), cA, cz, eL, (bg() + hL), (bx() + (if ((eZ > 0))
1256+ then aL(cC)
1257+ else 0)), (bw() + (if ((0 > eZ))
1258+ then aL(cC)
1259+ else 0)), hN, hO, cQ)
12391260 }
12401261 }
12411262 else {
1242- let hH = aI(gU, hl)
1243- let hM = dV(toString(bC.caller), bM, ay)
1244- let eL = hM._1
1245- let dU = hM._2
1246- if ((eL > hH))
1263+ let hL = aI(gX, hp)
1264+ let hQ = dY(toString(bF.caller), bP, ay)
1265+ let eO = hQ._1
1266+ let dX = hQ._2
1267+ if ((eO > hL))
12471268 then throw("Use decreasePosition to decrease position size")
12481269 else throw("Close position first")
12491270 }
1250- let eW = hG._1
1251- let hN = hG._2
1252- let eY = hG._3
1253- let hO = hG._4
1254- let hP = hG._5
1255- let cx = hG._6
1256- let cw = hG._7
1257- let eI = hG._8
1258- let hQ = hG._9
1259- let hR = hG._10
1260- let hS = hG._11
1261- let hJ = hG._12
1262- let hK = hG._13
1263- let cN = hG._14
1264- let hT = gd((hA + cN))
1265- let gf = hT._1
1266- let gg = hT._2
1267- let hU = if ((gU >= cN))
1268- then invoke(aj(), "addLocked", nil, [AttachedPayment(ah(), (gU - cN))])
1269- else invoke(aj(), "withdrawLocked", [(cN - gU)], nil)
1270- if ((hU == hU))
1271+ let eZ = hK._1
1272+ let hR = hK._2
1273+ let fb = hK._3
1274+ let hS = hK._4
1275+ let hT = hK._5
1276+ let cA = hK._6
1277+ let cz = hK._7
1278+ let eL = hK._8
1279+ let hU = hK._9
1280+ let hV = hK._10
1281+ let hW = hK._11
1282+ let hN = hK._12
1283+ let hO = hK._13
1284+ let cQ = hK._14
1285+ let hX = gg((hE + cQ))
1286+ let gi = hX._1
1287+ let gj = hX._2
1288+ let hY = if ((gX >= cQ))
1289+ then invoke(aj(), "addLocked", nil, [AttachedPayment(ah(), (gX - cQ))])
1290+ else invoke(aj(), "withdrawLocked", [(cQ - gX)], nil)
1291+ if ((hY == hY))
12711292 then {
1272- let hV = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gg)])
1273- if ((hV == hV))
1293+ let hZ = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gj)])
1294+ if ((hZ == hZ))
12741295 then {
1275- let hW = invoke(ak(), "notifyFees", [bL, hA], nil)
1276- if ((hW == hW))
1296+ let ia = invoke(ak(), "notifyFees", [bO, hE], nil)
1297+ if ((ia == ia))
12771298 then {
1278- let hX = invoke(ak(), "notifyNotional", [bL, eY], nil)
1279- if ((hX == hX))
1280- then ((((((gF(bL, eW, hN, eY, hO, hP) ++ gB(hC, bL, bM)) ++ gE(hC, bL, bM, fU)) ++ gL(cw, cx, eI, hQ, hR, hS, hJ, hK)) ++ gX(gf)) ++ gW(((aU() + gU) - cN))) ++ gY(fV, bC))
1299+ let ib = invoke(ak(), "notifyNotional", [bO, fb], nil)
1300+ if ((ib == ib))
1301+ then ((((((gI(bO, eZ, hR, fb, hS, hT) ++ gE(hG, bO, bP)) ++ gH(hG, bO, bP, fX)) ++ gO(cz, cA, eL, hU, hV, hW, hN, hO)) ++ hb(gi)) ++ gZ(((aU() + gX) - cQ))) ++ hc(fY, bF))
12811302 else throw("Strict value is not equal to itself.")
12821303 }
12831304 else throw("Strict value is not equal to itself.")
12841305 }
12851306 else throw("Strict value is not equal to itself.")
12861307 }
12871308 else throw("Strict value is not equal to itself.")
12881309 }
12891310 else throw("Strict value is not equal to itself.")
12901311 }
12911312 }
12921313 else throw("Strict value is not equal to itself.")
12931314 }
12941315 else throw("Strict value is not equal to itself.")
12951316 }
12961317 else throw("Strict value is not equal to itself.")
12971318 }
12981319
12991320
13001321
1301-@Callable(bC)
1302-func addMargin (bM,ho) = {
1303- let hp = invoke(this, "updateOracle", [ho], nil)
1304- if ((hp == hp))
1322+@Callable(bF)
1323+func addMargin (bP,hs) = {
1324+ let ht = invoke(this, "updateOracle", [hs], nil)
1325+ if ((ht == ht))
13051326 then {
1306- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1307- if ((hq == hq))
1327+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1328+ if ((hu == hu))
13081329 then {
1309- let hr = invoke(this, "ensureCalledOnce", nil, nil)
1310- if ((hr == hr))
1330+ let hv = invoke(this, "ensureCalledOnce", nil, nil)
1331+ if ((hv == hv))
13111332 then {
1312- let bL = toString(bC.caller)
1313- let gU = bC.payments[0].amount
1314- let ht = bC.payments[0].assetId
1315- let hu = toBase58String(value(ht))
1316- let hv = (ht == ah())
1317- if (if (if (if (if (!(hv))
1333+ let bO = toString(bF.caller)
1334+ let gX = bF.payments[0].amount
1335+ let hx = bF.payments[0].assetId
1336+ let hy = toBase58String(value(hx))
1337+ let hz = (hx == ah())
1338+ if (if (if (if (if (!(hz))
13181339 then true
1319- else !(bV(toString(bC.caller), bM)))
1340+ else !(bY(toString(bF.caller), bP)))
13201341 then true
1321- else !(ce()))
1342+ else !(ch()))
13221343 then true
1323- else cf())
1344+ else ci())
13241345 then true
1325- else dv())
1346+ else dy())
13261347 then throw("Invalid addMargin parameters")
13271348 else {
1328- let hY = bK(bL, bM)
1329- let ey = hY._1
1330- let ez = hY._2
1331- let eA = hY._3
1332- let eB = hY._4
1333- let eC = hY._5
1334- let hU = invoke(aj(), "addLocked", nil, [AttachedPayment(ah(), gU)])
1335- if ((hU == hU))
1349+ let ic = bN(bO, bP)
1350+ let eB = ic._1
1351+ let eC = ic._2
1352+ let eD = ic._3
1353+ let eE = ic._4
1354+ let eF = ic._5
1355+ let hY = invoke(aj(), "addLocked", nil, [AttachedPayment(ah(), gX)])
1356+ if ((hY == hY))
13361357 then {
1337- let cN = cJ(ez, eC)
1338- let hZ = if ((cN > 0))
1358+ let cQ = cM(eC, eF)
1359+ let id = if ((cQ > 0))
13391360 then {
1340- let ia = gd(cN)
1341- let gf = ia._1
1342- let gg = ia._2
1343- let ib = invoke(aj(), "withdrawLocked", [gf], nil)
1344- if ((ib == ib))
1361+ let ie = gg(cQ)
1362+ let gi = ie._1
1363+ let gj = ie._2
1364+ let if = invoke(aj(), "withdrawLocked", [gi], nil)
1365+ if ((if == if))
13451366 then {
1346- let ic = invoke(aj(), "exchangeFreeAndLocked", [-(gg)], nil)
1347- if ((ic == ic))
1348- then gX(gf)
1367+ let ig = invoke(aj(), "exchangeFreeAndLocked", [-(gj)], nil)
1368+ if ((ig == ig))
1369+ then hb(gi)
13491370 else throw("Strict value is not equal to itself.")
13501371 }
13511372 else throw("Strict value is not equal to itself.")
13521373 }
13531374 else nil
1354- if ((hZ == hZ))
1355- then ((gF(bL, ey, ((ez - cN) + gU), eA, eB, bA()) ++ gW(((aU() + gU) - cN))) ++ hZ)
1375+ if ((id == id))
1376+ then ((gI(bO, eB, ((eC - cQ) + gX), eD, eE, bD()) ++ gZ(((aU() + gX) - cQ))) ++ id)
13561377 else throw("Strict value is not equal to itself.")
13571378 }
13581379 else throw("Strict value is not equal to itself.")
13591380 }
13601381 }
13611382 else throw("Strict value is not equal to itself.")
13621383 }
13631384 else throw("Strict value is not equal to itself.")
13641385 }
13651386 else throw("Strict value is not equal to itself.")
13661387 }
13671388
13681389
13691390
1370-@Callable(bC)
1371-func removeMargin (gU,bM,ho) = {
1372- let hp = invoke(this, "updateOracle", [ho], nil)
1373- if ((hp == hp))
1391+@Callable(bF)
1392+func removeMargin (gX,bP,hs) = {
1393+ let ht = invoke(this, "updateOracle", [hs], nil)
1394+ if ((ht == ht))
13741395 then {
1375- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1376- if ((hq == hq))
1396+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1397+ if ((hu == hu))
13771398 then {
1378- let hr = invoke(this, "ensureCalledOnce", nil, nil)
1379- if ((hr == hr))
1399+ let hv = invoke(this, "ensureCalledOnce", nil, nil)
1400+ if ((hv == hv))
13801401 then {
1381- let bL = toString(bC.caller)
1382- if (if (if (if (if ((0 >= gU))
1402+ let bO = toString(bF.caller)
1403+ if (if (if (if (if ((0 >= gX))
13831404 then true
1384- else !(bV(bL, bM)))
1405+ else !(bY(bO, bP)))
13851406 then true
1386- else !(ce()))
1407+ else !(ch()))
13871408 then true
1388- else cf())
1409+ else ci())
13891410 then true
1390- else dv())
1411+ else dy())
13911412 then throw("Invalid removeMargin parameters")
13921413 else {
1393- let id = bK(bL, bM)
1394- let ey = id._1
1395- let ez = id._2
1396- let eA = id._3
1397- let eB = id._4
1398- let eC = id._5
1399- let ie = cO(ey, ez, eB, eC, -(gU))
1400- let cW = ie._1
1401- let cX = ie._2
1402- let cS = ie._3
1403- let cN = ie._4
1404- if ((cX != 0))
1414+ let ih = bN(bO, bP)
1415+ let eB = ih._1
1416+ let eC = ih._2
1417+ let eD = ih._3
1418+ let eE = ih._4
1419+ let eF = ih._5
1420+ let ii = cR(eB, eC, eE, eF, -(gX))
1421+ let cZ = ii._1
1422+ let da = ii._2
1423+ let cV = ii._3
1424+ let cQ = ii._4
1425+ if ((da != 0))
14051426 then throw("Invalid removed margin amount")
14061427 else {
1407- let fb = ea(cW, cX, eA)
1408- if (!(bD(fb, aX(), true)))
1409- then throw(((("Too much margin removed: " + toString(fb)) + " < ") + toString(aX())))
1428+ let fe = ed(cZ, da, eD)
1429+ if (!(bG(fe, aY(), true)))
1430+ then throw(((("Too much margin removed: " + toString(fe)) + " < ") + toString(aY())))
14101431 else {
1411- let if = gd(cN)
1412- let gf = if._1
1413- let gg = if._2
1414- let hZ = if ((cN > 0))
1432+ let ij = gg(cQ)
1433+ let gi = ij._1
1434+ let gj = ij._2
1435+ let id = if ((cQ > 0))
14151436 then {
1416- let ic = invoke(aj(), "exchangeFreeAndLocked", [-(gg)], nil)
1417- if ((ic == ic))
1418- then gX(gf)
1437+ let ig = invoke(aj(), "exchangeFreeAndLocked", [-(gj)], nil)
1438+ if ((ig == ig))
1439+ then hb(gi)
14191440 else throw("Strict value is not equal to itself.")
14201441 }
14211442 else nil
1422- if ((hZ == hZ))
1443+ if ((id == id))
14231444 then {
1424- let ib = invoke(aj(), "withdrawLocked", [(gU + gf)], nil)
1425- if ((ib == ib))
1426- then (((gF(bL, ey, cW, eA, bI(ey), bA()) ++ gT(bC.caller, gU)) ++ gW(((aU() - gU) - cN))) ++ hZ)
1445+ let if = invoke(aj(), "withdrawLocked", [(gX + gi)], nil)
1446+ if ((if == if))
1447+ then (((gI(bO, eB, cZ, eD, bL(eB), bD()) ++ gW(bF.caller, gX)) ++ gZ(((aU() - gX) - cQ))) ++ id)
14271448 else throw("Strict value is not equal to itself.")
14281449 }
14291450 else throw("Strict value is not equal to itself.")
14301451 }
14311452 }
14321453 }
14331454 }
14341455 else throw("Strict value is not equal to itself.")
14351456 }
14361457 else throw("Strict value is not equal to itself.")
14371458 }
14381459 else throw("Strict value is not equal to itself.")
14391460 }
14401461
14411462
14421463
1443-@Callable(bC)
1444-func closePosition (es,bM,eu,ev,ho) = {
1445- let hp = invoke(this, "updateOracle", [ho], nil)
1446- if ((hp == hp))
1464+@Callable(bF)
1465+func closePosition (ev,bP,ex,ey,hs) = {
1466+ let ht = invoke(this, "updateOracle", [hs], nil)
1467+ if ((ht == ht))
14471468 then {
1448- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1449- if ((hq == hq))
1469+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1470+ if ((hu == hu))
14501471 then {
1451- let hr = invoke(this, "ensureCalledOnce", nil, nil)
1452- if ((hr == hr))
1472+ let hv = invoke(this, "ensureCalledOnce", nil, nil)
1473+ if ((hv == hv))
14531474 then {
1454- let bL = bB(bC)
1455- let ig = valueOrErrorMessage(addressFromString(bL), "Invalid caller")
1456- let bU = bS(bL, bM)
1457- if (if (if (if (if (if (!(bV(bL, bM)))
1475+ let bO = bE(bF)
1476+ let ik = valueOrErrorMessage(addressFromString(bO), "Invalid caller")
1477+ let bX = bV(bO, bP)
1478+ if (if (if (if (if (if (!(bY(bO, bP)))
14581479 then true
1459- else !(ce()))
1480+ else !(ch()))
14601481 then true
1461- else cf())
1482+ else ci())
14621483 then true
1463- else (0 >= es))
1484+ else (0 >= ev))
14641485 then true
1465- else (0 > eu))
1486+ else (0 > ex))
14661487 then true
1467- else dv())
1488+ else dy())
14681489 then throw("Invalid closePosition parameters")
14691490 else {
1470- let eC = bK(bL, bM)._5
1471- let ih = er(bL, bM, es, bU, eu, ev, true, true)
1472- let eW = ih._1
1473- let ff = ih._2
1474- let eY = ih._3
1475- let eZ = ih._4
1476- let eS = ih._5
1477- let eN = ih._6
1478- let fe = ih._7
1479- let cw = ih._8
1480- let cx = ih._9
1481- let eI = ih._10
1482- let hQ = ih._11
1483- let hR = ih._12
1484- let hS = ih._13
1485- let hJ = ih._14
1486- let hK = ih._15
1487- let ii = ih._16
1488- if ((eS > 0))
1491+ let eF = bN(bO, bP)._5
1492+ let il = eu(bO, bP, ev, bX, ex, ey, true, true)
1493+ let eZ = il._1
1494+ let fi = il._2
1495+ let fb = il._3
1496+ let fc = il._4
1497+ let eV = il._5
1498+ let eQ = il._6
1499+ let fh = il._7
1500+ let cz = il._8
1501+ let cA = il._9
1502+ let eL = il._10
1503+ let hU = il._11
1504+ let hV = il._12
1505+ let hW = il._13
1506+ let hN = il._14
1507+ let hO = il._15
1508+ let im = il._16
1509+ if ((eV > 0))
14891510 then throw("Invalid closePosition parameters: bad debt")
1490- else if ((eC >= bA()))
1511+ else if ((eF >= bD()))
14911512 then throw("Invalid closePosition parameters: wait at least 1 block before closing the position")
14921513 else {
1493- let eF = (eW != 0)
1494- let ij = (fe + ii)
1495- let ik = (aU() - ij)
1496- let il = if ((0 > ik))
1514+ let eI = (eZ != 0)
1515+ let in = (fh + im)
1516+ let io = (aU() - in)
1517+ let ip = if ((0 > io))
14971518 then 0
1498- else ik
1499- let ib = invoke(aj(), "withdrawLocked", [ij], nil)
1500- if ((ib == ib))
1519+ else io
1520+ let if = invoke(aj(), "withdrawLocked", [in], nil)
1521+ if ((if == if))
15011522 then {
1502- let hy = invoke(am(), "acceptPayment", [bL], [AttachedPayment(ah(), ii)])
1503- if ((hy == hy))
1523+ let hC = invoke(am(), "acceptPayment", [bO], [AttachedPayment(ah(), im)])
1524+ if ((hC == hC))
15041525 then {
1505- let hz = {
1506- let bP = hy
1507- if ($isInstanceOf(bP, "Int"))
1526+ let hD = {
1527+ let bS = hC
1528+ if ($isInstanceOf(bS, "Int"))
15081529 then {
1509- let fZ = bP
1510- fZ
1530+ let gc = bS
1531+ gc
15111532 }
15121533 else throw("Invalid referrerFee")
15131534 }
1514- let im = gd((ii - hz))
1515- let gf = im._1
1516- let gg = im._2
1517- let hV = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gg)])
1518- if ((hV == hV))
1535+ let iq = gg((im - hD))
1536+ let gi = iq._1
1537+ let gj = iq._2
1538+ let hZ = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gj)])
1539+ if ((hZ == hZ))
15191540 then {
1520- let hW = invoke(ak(), "notifyFees", [bL, ii], nil)
1521- if ((hW == hW))
1541+ let ia = invoke(ak(), "notifyFees", [bO, im], nil)
1542+ if ((ia == ia))
15221543 then {
1523- let hX = invoke(ak(), "notifyNotional", [bL, eY], nil)
1524- if ((hX == hX))
1525- then (((((if (eF)
1526- then gF(bL, eW, ff, eY, eZ, bA())
1527- else gS(bL, bM)) ++ gL(cw, cx, eI, hQ, hR, hS, hJ, hK)) ++ (if ((fe > 0))
1528- then gT(ig, fe)
1529- else nil)) ++ gW(il)) ++ gX(gf))
1544+ let ib = invoke(ak(), "notifyNotional", [bO, fb], nil)
1545+ if ((ib == ib))
1546+ then (((((if (eI)
1547+ then gI(bO, eZ, fi, fb, fc, bD())
1548+ else gV(bO, bP)) ++ gO(cz, cA, eL, hU, hV, hW, hN, hO)) ++ (if ((fh > 0))
1549+ then gW(ik, fh)
1550+ else nil)) ++ gZ(ip)) ++ hb(gi))
15301551 else throw("Strict value is not equal to itself.")
15311552 }
15321553 else throw("Strict value is not equal to itself.")
15331554 }
15341555 else throw("Strict value is not equal to itself.")
15351556 }
15361557 else throw("Strict value is not equal to itself.")
15371558 }
15381559 else throw("Strict value is not equal to itself.")
15391560 }
15401561 }
15411562 }
15421563 else throw("Strict value is not equal to itself.")
15431564 }
15441565 else throw("Strict value is not equal to itself.")
15451566 }
15461567 else throw("Strict value is not equal to itself.")
15471568 }
15481569
15491570
15501571
1551-@Callable(bC)
1552-func liquidate (bL,bM,ho) = {
1553- let hp = invoke(this, "updateOracle", [ho], nil)
1554- if ((hp == hp))
1572+@Callable(bF)
1573+func liquidate (bO,bP,hs) = {
1574+ let ht = invoke(this, "updateOracle", [hs], nil)
1575+ if ((ht == ht))
15551576 then {
1556- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1557- if ((hq == hq))
1577+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1578+ if ((hu == hu))
15581579 then {
1559- let in = ee(bL, bM, ay)
1560- let io = if (dK())
1580+ let ir = eh(bO, bP, ay)
1581+ let is = if (dN())
15611582 then {
1562- let ip = ee(bL, bM, az)
1563- aM(in, ip)
1583+ let it = eh(bO, bP, az)
1584+ aM(ir, it)
15641585 }
1565- else in
1566- if (if (if (if (if (!(bD(io, bk(), false)))
1586+ else ir
1587+ if (if (if (if (if (!(bG(is, bn(), false)))
15671588 then true
1568- else !(bV(bL, bM)))
1589+ else !(bY(bO, bP)))
15691590 then true
1570- else !(ce()))
1591+ else !(ch()))
15711592 then true
1572- else cf())
1593+ else ci())
15731594 then true
1574- else dv())
1595+ else dy())
15751596 then throw("Unable to liquidate")
15761597 else {
1577- let iq = if (if ((in > bl()))
1578- then (bm() > 0)
1598+ let iu = if (if ((ir > bo()))
1599+ then (bp() > 0)
15791600 else false)
1580- then (av > bm())
1601+ then (av > bp())
15811602 else false
1582- let ey = bK(bL, bM)._1
1583- let dO = aL(ey)
1584- let ir = if (iq)
1603+ let eB = bN(bO, bP)._1
1604+ let dR = aL(eB)
1605+ let iv = if (iu)
15851606 then {
1586- let is = em(bL, ey)
1587- let it = aG(aL(is), dO)
1588- $Tuple2(it, aL(is))
1607+ let iw = ep(bO, eB)
1608+ let ix = aG(aL(iw), dR)
1609+ $Tuple2(ix, aL(iw))
15891610 }
1590- else $Tuple2(0, dO)
1591- let it = ir._1
1592- let is = ir._2
1593- let iu = er(bL, bM, if (iq)
1594- then is
1595- else dO, bl(), 0, true, false, true)
1596- let eW = iu._1
1597- let ff = iu._2
1598- let eY = iu._3
1599- let eZ = iu._4
1600- let eS = iu._5
1601- let eN = iu._6
1602- let fe = iu._7
1603- let cw = iu._8
1604- let cx = iu._9
1605- let eI = iu._10
1606- let hQ = iu._11
1607- let hR = iu._12
1608- let hS = iu._13
1609- let hJ = iu._14
1610- let hK = iu._15
1611- let iv = iu._16
1612- let iw = (iv / 2)
1613- let gg = (iv - iw)
1614- let ik = (aU() - iv)
1615- let ix = if ((0 > ik))
1611+ else $Tuple2(0, dR)
1612+ let ix = iv._1
1613+ let iw = iv._2
1614+ let iy = eu(bO, bP, if (iu)
1615+ then iw
1616+ else dR, bo(), 0, true, false, true)
1617+ let eZ = iy._1
1618+ let fi = iy._2
1619+ let fb = iy._3
1620+ let fc = iy._4
1621+ let eV = iy._5
1622+ let eQ = iy._6
1623+ let fh = iy._7
1624+ let cz = iy._8
1625+ let cA = iy._9
1626+ let eL = iy._10
1627+ let hU = iy._11
1628+ let hV = iy._12
1629+ let hW = iy._13
1630+ let hN = iy._14
1631+ let hO = iy._15
1632+ let iz = iy._16
1633+ let iA = (iz / 2)
1634+ let gj = (iz - iA)
1635+ let io = (aU() - iz)
1636+ let iB = if ((0 > io))
16161637 then 0
1617- else ik
1618- let ic = if ((eS > 0))
1638+ else io
1639+ let ig = if ((eV > 0))
16191640 then {
1620- let ic = invoke(aj(), "exchangeFreeAndLocked", [(eS + iv)], nil)
1621- if ((ic == ic))
1641+ let ig = invoke(aj(), "exchangeFreeAndLocked", [(eV + iz)], nil)
1642+ if ((ig == ig))
16221643 then nil
16231644 else throw("Strict value is not equal to itself.")
16241645 }
16251646 else nil
1626- if ((ic == ic))
1647+ if ((ig == ig))
16271648 then {
1628- let ib = invoke(aj(), "withdrawLocked", [iv], nil)
1629- if ((ib == ib))
1649+ let if = invoke(aj(), "withdrawLocked", [iz], nil)
1650+ if ((if == if))
16301651 then {
1631- let iy = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gg)])
1632- if ((iy == iy))
1652+ let iC = invoke(aj(), "addFree", nil, [AttachedPayment(ah(), gj)])
1653+ if ((iC == iC))
16331654 then {
1634- let hX = invoke(ak(), "notifyNotional", [bL, eY], nil)
1635- if ((hX == hX))
1636- then ((((if (iq)
1637- then gF(bL, eW, ff, eY, eZ, bA())
1638- else gS(bL, bM)) ++ gL(cw, cx, eI, hQ, hR, hS, hJ, hK)) ++ gT(bC.caller, iw)) ++ gW(ix))
1655+ let ib = invoke(ak(), "notifyNotional", [bO, fb], nil)
1656+ if ((ib == ib))
1657+ then ((((if (iu)
1658+ then gI(bO, eZ, fi, fb, fc, bD())
1659+ else gV(bO, bP)) ++ gO(cz, cA, eL, hU, hV, hW, hN, hO)) ++ gW(bF.caller, iA)) ++ gZ(iB))
16391660 else throw("Strict value is not equal to itself.")
16401661 }
16411662 else throw("Strict value is not equal to itself.")
16421663 }
16431664 else throw("Strict value is not equal to itself.")
16441665 }
16451666 else throw("Strict value is not equal to itself.")
16461667 }
16471668 }
16481669 else throw("Strict value is not equal to itself.")
16491670 }
16501671 else throw("Strict value is not equal to itself.")
16511672 }
16521673
16531674
16541675
1655-@Callable(bC)
1656-func payFunding (ho) = {
1657- let hp = invoke(this, "updateOracle", [ho], nil)
1658- if ((hp == hp))
1676+@Callable(bF)
1677+func payFunding (hs) = {
1678+ let ht = invoke(this, "updateOracle", [hs], nil)
1679+ if ((ht == ht))
16591680 then {
1660- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1661- if ((hq == hq))
1681+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1682+ if ((hu == hu))
16621683 then {
1663- let iz = bg()
1664- if (if (if ((iz > bA()))
1684+ let iD = bj()
1685+ if (if (if ((iD > bD()))
16651686 then true
1666- else !(ce()))
1687+ else !(ch()))
16671688 then true
1668- else cf())
1669- then throw(((("Invalid funding block timestamp: " + toString(bA())) + " < ") + toString(iz)))
1689+ else ci())
1690+ then throw(((("Invalid funding block timestamp: " + toString(bD())) + " < ") + toString(iD)))
16701691 else {
1671- let fE = dp()
1672- let iA = fD()
1673- let fH = iA._1
1674- let fI = iA._2
1675- let fL = iA._3
1676- let iB = if ((fL > 0))
1692+ let fH = ds()
1693+ let iE = fG()
1694+ let fK = iE._1
1695+ let fL = iE._2
1696+ let fO = iE._3
1697+ let iF = if ((fO > 0))
16771698 then {
1678- let iB = invoke(aj(), "exchangeFreeAndLocked", [-(fL)], nil)
1679- if ((iB == iB))
1699+ let iF = invoke(aj(), "exchangeFreeAndLocked", [-(fO)], nil)
1700+ if ((iF == iF))
16801701 then nil
16811702 else throw("Strict value is not equal to itself.")
16821703 }
16831704 else nil
1684- if ((iB == iB))
1685- then gv((iz + bj()), (br() + fI), (bs() + fH), aG(fI, fE), aG(fH, fE))
1705+ if ((iF == iF))
1706+ then gy((iD + bm()), (bu() + fL), (bv() + fK), aG(fL, fH), aG(fK, fH))
16861707 else throw("Strict value is not equal to itself.")
16871708 }
16881709 }
16891710 else throw("Strict value is not equal to itself.")
16901711 }
16911712 else throw("Strict value is not equal to itself.")
16921713 }
16931714
16941715
16951716
1696-@Callable(bC)
1697-func updateOracle (ho) = if ((bz() == aC))
1717+@Callable(bF)
1718+func updateOracle (hs) = if ((bC() == aC))
16981719 then nil
16991720 else {
1700- let iC = split_4C(ho, "::")
1701- let dq = valueOrErrorMessage(bW(a), "No base asset oracle data")
1702- let iD = dq._1
1703- let iE = invoke(iD, "updateData", [iC[0]], nil)
1704- if ((iE == iE))
1721+ let iG = split_4C(hs, "::")
1722+ let dt = valueOrErrorMessage(bZ(a), "No base asset oracle data")
1723+ let iH = dt._1
1724+ let iI = invoke(iH, "updateData", [iG[0]], nil)
1725+ if ((iI == iI))
17051726 then {
1706- let ds = bW(b)
1707- let iF = if (isDefined(ds))
1727+ let dv = bZ(b)
1728+ let iJ = if (isDefined(dv))
17081729 then {
1709- let du = value(ds)
1710- let iG = du._1
1711- let iF = invoke(iG, "updateData", [iC[1]], nil)
1712- if ((iF == iF))
1730+ let dx = value(dv)
1731+ let iK = dx._1
1732+ let iJ = invoke(iK, "updateData", [iG[1]], nil)
1733+ if ((iJ == iJ))
17131734 then nil
17141735 else throw("Strict value is not equal to itself.")
17151736 }
17161737 else nil
1717- if ((iF == iF))
1738+ if ((iJ == iJ))
17181739 then nil
17191740 else throw("Strict value is not equal to itself.")
17201741 }
17211742 else throw("Strict value is not equal to itself.")
17221743 }
17231744
17241745
17251746
1726-@Callable(bC)
1747+@Callable(bF)
17271748 func syncTerminalPriceToOracle () = {
1728- let co = aY()
1729- let cp = aZ()
1730- let iH = fy(dp(), co, cp)
1731- let hf = iH._1
1732- let hg = iH._2
1733- let fC = iH._3
1734- let iI = if (if ((0 > fC))
1735- then (aL(fC) > aU())
1749+ let cr = aZ()
1750+ let cs = bb()
1751+ let iL = fB(ds(), cr, cs)
1752+ let hj = iL._1
1753+ let hk = iL._2
1754+ let fF = iL._3
1755+ let iM = if (if ((0 > fF))
1756+ then (aL(fF) > aU())
17361757 else false)
17371758 then -(aU())
1738- else fC
1739- let hh = if ((iI != 0))
1759+ else fF
1760+ let hl = if ((iM != 0))
17401761 then {
1741- let hh = invoke(aj(), "exchangeFreeAndLocked", [iI], nil)
1742- if ((hh == hh))
1762+ let hl = invoke(aj(), "exchangeFreeAndLocked", [iM], nil)
1763+ if ((hl == hl))
17431764 then nil
17441765 else throw("Strict value is not equal to itself.")
17451766 }
17461767 else nil
1747- if ((hh == hh))
1748- then (gW((aU() + iI)) ++ gK(hf, hg))
1768+ if ((hl == hl))
1769+ then (gZ((aU() + iM)) ++ gN(hj, hk))
17491770 else throw("Strict value is not equal to itself.")
17501771 }
17511772
17521773
17531774
1754-@Callable(bC)
1755-func ensureCalledOnce () = if ((bC.caller != this))
1775+@Callable(bF)
1776+func ensureCalledOnce () = if ((bF.caller != this))
17561777 then throw("Invalid saveCurrentTxId parameters")
17571778 else {
1758- let iJ = toBase58String(bC.transactionId)
1759- let iK = valueOrElse(getString(this, S), "")
1760- if ((iK != iJ))
1761- then [StringEntry(S, iJ)]
1779+ let iN = toBase58String(bF.transactionId)
1780+ let iO = valueOrElse(getString(this, S), "")
1781+ if ((iO != iN))
1782+ then [StringEntry(S, iN)]
17621783 else throw("Can not call vAMM methods twice in one tx")
17631784 }
17641785
17651786
17661787
1767-@Callable(bC)
1768-func migratePosition (bL) = {
1769- let bO = getInteger(this, ac(e, bL))
1770- if (if (isDefined(bO))
1771- then isDefined(addressFromString(bL))
1788+@Callable(bF)
1789+func migratePosition (bO) = {
1790+ let bR = getInteger(this, ac(e, bO))
1791+ if (if (isDefined(bR))
1792+ then isDefined(addressFromString(bO))
17721793 else false)
17731794 then {
1774- let iL = getIntegerValue(this, ac(e, bL))
1775- let iM = getIntegerValue(this, ac(f, bL))
1776- let iN = getIntegerValue(this, ac(g, bL))
1777- let iO = getIntegerValue(this, ac(h, bL))
1778- let iP = valueOrElse(getInteger(this, ac(k, bL)), lastBlock.timestamp)
1779- let iQ = valueOrElse(getInteger(this, ac(j, bL)), aV())
1780- let iR = getIntegerValue(this, ac(i, bL))
1781- let iS = bR(iL)
1782- let bN = ((bL + "_") + toString(iS))
1783-[DeleteEntry(ac(e, bL)), DeleteEntry(ac(f, bL)), DeleteEntry(ac(g, bL)), DeleteEntry(ac(h, bL)), DeleteEntry(ac(k, bL)), DeleteEntry(ac(j, bL)), DeleteEntry(ac(i, bL)), IntegerEntry(ac(e, bN), iL), IntegerEntry(ac(f, bN), iM), IntegerEntry(ac(g, bN), iN), IntegerEntry(ac(h, bN), iO), IntegerEntry(ac(k, bN), iP), IntegerEntry(ac(j, bN), iQ), IntegerEntry(ac(i, bN), iR)]
1795+ let iP = getIntegerValue(this, ac(e, bO))
1796+ let iQ = getIntegerValue(this, ac(f, bO))
1797+ let iR = getIntegerValue(this, ac(g, bO))
1798+ let iS = getIntegerValue(this, ac(h, bO))
1799+ let iT = valueOrElse(getInteger(this, ac(k, bO)), lastBlock.timestamp)
1800+ let iU = valueOrElse(getInteger(this, ac(j, bO)), aW())
1801+ let iV = getIntegerValue(this, ac(i, bO))
1802+ let iW = bU(iP)
1803+ let bQ = ((bO + "_") + toString(iW))
1804+[DeleteEntry(ac(e, bO)), DeleteEntry(ac(f, bO)), DeleteEntry(ac(g, bO)), DeleteEntry(ac(h, bO)), DeleteEntry(ac(k, bO)), DeleteEntry(ac(j, bO)), DeleteEntry(ac(i, bO)), IntegerEntry(ac(e, bQ), iP), IntegerEntry(ac(f, bQ), iQ), IntegerEntry(ac(g, bQ), iR), IntegerEntry(ac(h, bQ), iS), IntegerEntry(ac(k, bQ), iT), IntegerEntry(ac(j, bQ), iU), IntegerEntry(ac(i, bQ), iV)]
17841805 }
1785- else throw(("Nothing to migrate for " + bL))
1806+ else throw(("Nothing to migrate for " + bO))
17861807 }
17871808
17881809
17891810
1790-@Callable(bC)
1791-func view_calcRemainMarginWithFundingPayment (bL,bM,ho) = {
1792- let hp = invoke(this, "updateOracle", [ho], nil)
1793- if ((hp == hp))
1811+@Callable(bF)
1812+func view_calcRemainMarginWithFundingPayment (bO,bP,hs) = {
1813+ let ht = invoke(this, "updateOracle", [hs], nil)
1814+ if ((ht == ht))
17941815 then {
1795- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1796- if ((hq == hq))
1816+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1817+ if ((hu == hu))
17971818 then {
1798- let iT = bK(bL, bM)
1799- let bQ = iT._1
1800- let dX = iT._2
1801- let eg = iT._3
1802- let dZ = iT._4
1803- let ei = iT._5
1804- let iU = dV(bL, bM, ay)
1805- let dQ = iU._1
1806- let dU = iU._2
1807- let iV = cO(bQ, dX, dZ, ei, dU)
1808- let cW = iV._1
1809- let cX = iV._2
1810- let cS = iV._3
1811- let cN = iV._4
1812- throw(((((((aE(cW) + aE(cS)) + aE(el(bL, bM))) + aE(dU)) + aE(cX)) + aE(dQ)) + aE(cN)))
1819+ let iX = bN(bO, bP)
1820+ let bT = iX._1
1821+ let ea = iX._2
1822+ let ej = iX._3
1823+ let ec = iX._4
1824+ let el = iX._5
1825+ let iY = dY(bO, bP, ay)
1826+ let dT = iY._1
1827+ let dX = iY._2
1828+ let iZ = cR(bT, ea, ec, el, dX)
1829+ let cZ = iZ._1
1830+ let da = iZ._2
1831+ let cV = iZ._3
1832+ let cQ = iZ._4
1833+ throw(((((((aE(cZ) + aE(cV)) + aE(eo(bO, bP))) + aE(dX)) + aE(da)) + aE(dT)) + aE(cQ)))
18131834 }
18141835 else throw("Strict value is not equal to itself.")
18151836 }
18161837 else throw("Strict value is not equal to itself.")
18171838 }
18181839
18191840
18201841
1821-@Callable(bC)
1822-func view_getPegAdjustCost (iW) = {
1823- let co = aY()
1824- let cp = aZ()
1825- let fx = fy(iW, co, cp)
1826- throw(toString(fx._3))
1842+@Callable(bF)
1843+func view_getPegAdjustCost (ja) = {
1844+ let cr = aZ()
1845+ let cs = bb()
1846+ let fA = fB(ja, cr, cs)
1847+ throw(toString(fA._3))
18271848 }
18281849
18291850
18301851
1831-@Callable(bC)
1852+@Callable(bF)
18321853 func view_getTerminalAmmPrice () = {
1833- let iX = fg()
1834- let fk = iX._1
1835- let fl = iX._2
1836- let ha = aG(aI(fk, ba()), aI(fl, bb()))
1837- throw(toString(ha))
1854+ let jb = fj()
1855+ let fn = jb._1
1856+ let fo = jb._2
1857+ let he = aG(aI(fn, bd()), aI(fo, be()))
1858+ throw(toString(he))
18381859 }
18391860
18401861
18411862
1842-@Callable(bC)
1843-func view_getFunding (ho) = {
1844- let hp = invoke(this, "updateOracle", [ho], nil)
1845- if ((hp == hp))
1863+@Callable(bF)
1864+func view_getFunding (hs) = {
1865+ let ht = invoke(this, "updateOracle", [hs], nil)
1866+ if ((ht == ht))
18461867 then {
1847- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1848- if ((hq == hq))
1868+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1869+ if ((hu == hu))
18491870 then {
1850- let fE = dp()
1851- let iY = fD()
1852- let fH = iY._1
1853- let fI = iY._2
1854- let fL = iY._3
1855- let iZ = aG(fI, fE)
1856- let ja = aG(fH, fE)
1857- throw(((((aE(iZ) + aE(ja)) + aE(dJ())) + aE(dp())) + aE(fL)))
1871+ let fH = ds()
1872+ let jc = fG()
1873+ let fK = jc._1
1874+ let fL = jc._2
1875+ let fO = jc._3
1876+ let jd = aG(fL, fH)
1877+ let je = aG(fK, fH)
1878+ throw(((((aE(jd) + aE(je)) + aE(dM())) + aE(ds())) + aE(fO)))
18581879 }
18591880 else throw("Strict value is not equal to itself.")
18601881 }
18611882 else throw("Strict value is not equal to itself.")
18621883 }
18631884
18641885
18651886
1866-@Callable(bC)
1887+@Callable(bF)
18671888 func computeSpotPrice () = {
1868- let hq = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1869- if ((hq == hq))
1889+ let hu = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1890+ if ((hu == hu))
18701891 then {
1871- let fx = dJ()
1872- $Tuple2(nil, fx)
1892+ let fA = dM()
1893+ $Tuple2(nil, fA)
18731894 }
18741895 else throw("Strict value is not equal to itself.")
18751896 }
18761897
18771898
18781899
1879-@Callable(bC)
1880-func computeFeeForTraderWithArtifact (bL,fN) = {
1881- let fx = fW(bL, fN)
1882- $Tuple2(nil, fx)
1900+@Callable(bF)
1901+func computeFeeForTraderWithArtifact (bO,fQ) = {
1902+ let fA = fZ(bO, fQ)
1903+ $Tuple2(nil, fA)
18831904 }
18841905
18851906
1886-@Verifier(jb)
1887-func jc () = {
1888- let jd = getString(this, T)
1889- if (isDefined(jd))
1907+@Verifier(jf)
1908+func jg () = {
1909+ let jh = getString(this, T)
1910+ if (isDefined(jh))
18901911 then {
1891- let je = getString(addressFromStringValue(value(jd)), V)
1892- if (isDefined(je))
1893- then valueOrElse(getBoolean(addressFromStringValue(value(je)), ((("status_" + toString(this)) + "_") + toBase58String(jb.id))), false)
1912+ let ji = getString(addressFromStringValue(value(jh)), V)
1913+ if (isDefined(ji))
1914+ then valueOrElse(getBoolean(addressFromStringValue(value(ji)), ((("status_" + toString(this)) + "_") + toBase58String(jf.id))), false)
18941915 else throw("unable to verify: admin not set in coordinator")
18951916 }
1896- else sigVerify(jb.bodyBytes, jb.proofs[0], jb.senderPublicKey)
1917+ else sigVerify(jf.bodyBytes, jf.proofs[0], jf.senderPublicKey)
18971918 }
18981919

github/deemru/w8io/026f985 
782.85 ms