tx · BYfEFcA6FvxpCxfCsjmvuGwhKnHxhFXVw2QGz6yZdHdd

3Mp66Sufwhc33Wg9L4fWvD2GR729YxSQPCh:  -0.07500000 Waves

2023.07.11 14:46 [2661198] smart account 3Mp66Sufwhc33Wg9L4fWvD2GR729YxSQPCh > SELF 0.00000000 Waves

{ "type": 13, "id": "BYfEFcA6FvxpCxfCsjmvuGwhKnHxhFXVw2QGz6yZdHdd", "fee": 7500000, "feeAssetId": null, "timestamp": 1689075968753, "version": 2, "chainId": 84, "sender": "3Mp66Sufwhc33Wg9L4fWvD2GR729YxSQPCh", "senderPublicKey": "42U12q4TTBTVkhjqmAhNWDrxkFhHrg9yFuNjqqg5mF8G", "proofs": [ "2uVhshvnFZSHBCUKvnDsphaxJ3UzWXJqkDMTF3mKYE7DJpKVUL7xLs3aSDeWDaYDopQ3ZZBy1hXDbE7n1jrTtwPz" ], "script": "base64:BgKUAQgCEgASABIAEgASAwoBARIVChMBAQEBAQEBAQEBAQEBAQEICAEBEhgKFgEBAQEBAQEICAgBAQEBAQEBAQEBAQESBwoFAQEBCAgSBAoCAQgSBQoDAQEIEgcKBQEBAQQIEgUKAwgBCBIDCgEIEgMKAQgSABIAEgMKAQgSBQoDCAEIEgMKAQESABIDCgEIEgASBAoCCAi/AQAMa19iYXNlT3JhY2xlAgxrX2Jhc2VPcmFjbGUADWtfcXVvdGVPcmFjbGUCDWtfcXVvdGVPcmFjbGUACWtfYmFsYW5jZQIJa19iYWxhbmNlAAprX3NlcXVlbmNlAgprX3NlcXVlbmNlAA5rX3Bvc2l0aW9uU2l6ZQIOa19wb3NpdGlvblNpemUAEGtfcG9zaXRpb25NYXJnaW4CEGtfcG9zaXRpb25NYXJnaW4AFmtfcG9zaXRpb25PcGVuTm90aW9uYWwCFmtfcG9zaXRpb25PcGVuTm90aW9uYWwALmtfcG9zaXRpb25MYXN0VXBkYXRlZEN1bXVsYXRpdmVQcmVtaXVtRnJhY3Rpb24CEmtfcG9zaXRpb25GcmFjdGlv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ck5hdGl2ZSgxMDYyKQEJAQV2YWx1ZQEFDmNvb3JkaW5hdG9yU3RyBQ9rX2FkbWluX2FkZHJlc3MDCQEJaXNEZWZpbmVkAQUFYWRtaW4JAQt2YWx1ZU9yRWxzZQIJAJsIAgkBEUBleHRyTmF0aXZlKDEwNjIpAQkBBXZhbHVlAQUFYWRtaW4JAKwCAgkArAICCQCsAgICB3N0YXR1c18JAKUIAQUEdGhpcwIBXwkA2AQBCAUCdHgCaWQHCQACAQIudW5hYmxlIHRvIHZlcmlmeTogYWRtaW4gbm90IHNldCBpbiBjb29yZGluYXRvcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tledwKBzM=", "height": 2661198, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B1yFDyCcWyEWfAKkM918J9z73DHR28JX2zoeCpSP6ADM Next: none Diff:
OldNewDifferences
6363
6464 let E = "k_positionMode"
6565
66-let F = "k_latestLongPremiumFraction"
66+let F = "k_minLiquidationNotional"
6767
68-let G = "k_latestShortPremiumFraction"
68+let G = "k_latestLongPremiumFraction"
6969
70-let H = "k_nextFundingBlockMinTimestamp"
70+let H = "k_latestShortPremiumFraction"
7171
72-let I = "k_longFundingRate"
72+let I = "k_nextFundingBlockMinTimestamp"
7373
74-let J = "k_shortFundingRate"
74+let J = "k_longFundingRate"
7575
76-let K = "k_qtAstR"
76+let K = "k_shortFundingRate"
7777
78-let L = "k_bsAstR"
78+let L = "k_qtAstR"
7979
80-let M = "k_qtAstW"
80+let M = "k_bsAstR"
8181
82-let N = "k_bsAstW"
82+let N = "k_qtAstW"
8383
84-let O = "k_totalPositionSize"
84+let O = "k_bsAstW"
8585
86-let P = "k_totalLongPositionSize"
86+let P = "k_totalPositionSize"
8787
88-let Q = "k_totalShortPositionSize"
88+let Q = "k_totalLongPositionSize"
8989
90-let R = "k_openInterestNotional"
90+let R = "k_totalShortPositionSize"
9191
92-let S = "k_openInterestShort"
92+let S = "k_openInterestNotional"
9393
94-let T = "k_openInterestLong"
94+let T = "k_openInterestShort"
9595
96-let U = "k_lastTx"
96+let U = "k_openInterestLong"
9797
98-let V = "k_coordinatorAddress"
98+let V = "k_lastTx"
9999
100-let W = "k_vault_address"
100+let W = "k_coordinatorAddress"
101101
102-let X = "k_admin_address"
102+let X = "k_vault_address"
103103
104-let Y = "k_quote_asset"
104+let Y = "k_admin_address"
105105
106-let Z = "k_staking_address"
106+let Z = "k_quote_asset"
107107
108-let aa = "k_miner_address"
108+let aa = "k_staking_address"
109109
110-let ab = "k_orders_address"
110+let ab = "k_miner_address"
111111
112-let ac = "k_referral_address"
112+let ac = "k_orders_address"
113113
114-let ad = "k_nft_manager_address"
114+let ad = "k_referral_address"
115115
116-func ae (af,ag) = ((af + "_") + ag)
116+let ae = "k_nft_manager_address"
117+
118+func af (ag,ah) = ((ag + "_") + ah)
117119
118120
119-func ah () = valueOrErrorMessage(addressFromString(getStringValue(this, V)), "Coordinator not set")
121+func ai () = valueOrErrorMessage(addressFromString(getStringValue(this, W)), "Coordinator not set")
120122
121123
122-func ai () = addressFromString(getStringValue(ah(), X))
124+func aj () = addressFromString(getStringValue(ai(), Y))
123125
124126
125-func aj () = fromBase58String(getStringValue(ah(), Y))
127+func ak () = fromBase58String(getStringValue(ai(), Z))
126128
127129
128-func ak () = valueOrErrorMessage(addressFromString(getStringValue(ah(), Z)), "Staking not set")
130+func al () = valueOrErrorMessage(addressFromString(getStringValue(ai(), aa)), "Staking not set")
129131
130132
131-func al () = valueOrErrorMessage(addressFromString(getStringValue(ah(), W)), "Vault not set")
133+func am () = valueOrErrorMessage(addressFromString(getStringValue(ai(), X)), "Vault not set")
132134
133135
134-func am () = valueOrErrorMessage(addressFromString(getStringValue(ah(), aa)), "Miner not set")
136+func an () = valueOrErrorMessage(addressFromString(getStringValue(ai(), ab)), "Miner not set")
135137
136138
137-func an () = valueOrErrorMessage(addressFromString(getStringValue(ah(), ab)), "Orders not set")
139+func ao () = valueOrErrorMessage(addressFromString(getStringValue(ai(), ac)), "Orders not set")
138140
139141
140-func ao () = valueOrErrorMessage(addressFromString(getStringValue(ah(), ac)), "Referral not set")
142+func ap () = valueOrErrorMessage(addressFromString(getStringValue(ai(), ad)), "Referral not set")
141143
142144
143-func ap () = valueOrErrorMessage(addressFromString(getStringValue(ah(), ad)), "NFT Manager not set")
145+func aq () = valueOrErrorMessage(addressFromString(getStringValue(ai(), ae)), "NFT Manager not set")
144146
145147
146-let aq = "k_token_param"
148+let ar = "k_token_param"
147149
148-let ar = "k_token_type"
150+let as = "k_token_type"
149151
150-let as = "fee_reduction"
152+let at = "fee_reduction"
151153
152-let at = 1
154+let au = 1
153155
154-let au = 2
156+let av = 2
155157
156-let av = 1000
158+let aw = 1000
157159
158-let aw = 6
160+let ax = 6
159161
160-let ax = (1 * (((((10 * 10) * 10) * 10) * 10) * 10))
162+let ay = (1 * (((((10 * 10) * 10) * 10) * 10) * 10))
161163
162-let ay = (525600 * ax)
164+let az = (525600 * ay)
163165
164-let az = (86400 * ax)
166+let aA = (86400 * ay)
165167
166-let aA = 1
168+let aB = 1
167169
168-let aB = 2
170+let aC = 2
169171
170-let aC = 1
172+let aD = 1
171173
172-let aD = 2
174+let aE = 2
173175
174-let aE = 1
176+let aF = 1
175177
176-let aF = 2
178+let aG = 2
177179
178-let aG = 1
180+let aH = 1
179181
180-let aH = 2
182+let aI = 2
181183
182-func aI (aJ) = (toString(aJ) + ",")
184+func aJ (aK) = (toString(aK) + ",")
183185
184186
185-func aK (aJ,aL) = fraction(aJ, ax, aL, HALFEVEN)
187+func aL (aK,aM) = fraction(aK, ay, aM, HALFEVEN)
186188
187189
188-func aM (aJ,aL) = fraction(aJ, aL, ax, HALFEVEN)
190+func aN (aK,aM) = fraction(aK, aM, ay, HALFEVEN)
189191
190192
191-func aN (aJ,aL) = fraction(aJ, toBigInt(ax), aL, HALFEVEN)
193+func aO (aK,aM) = fraction(aK, toBigInt(ay), aM, HALFEVEN)
192194
193195
194-func aO (aJ,aL) = fraction(aJ, aL, toBigInt(ax), HALFEVEN)
196+func aP (aK,aM) = fraction(aK, aM, toBigInt(ay), HALFEVEN)
195197
196198
197-func aP (aJ) = if ((aJ > 0))
198- then aJ
199- else -(aJ)
199+func aQ (aK) = if ((aK > 0))
200+ then aK
201+ else -(aK)
200202
201203
202-func aQ (aJ,aL) = if ((aJ >= aL))
203- then aJ
204- else aL
204+func aR (aK,aM) = if ((aK >= aM))
205+ then aK
206+ else aM
205207
206208
207-func aR (aS) = valueOrErrorMessage(getInteger(this, aS), ("no value for " + aS))
209+func aS (aT) = valueOrErrorMessage(getInteger(this, aT), ("no value for " + aT))
208210
209211
210-func aT (aS,aU) = valueOrElse(getInteger(this, aS), aU)
212+func aU (aT,aV) = valueOrElse(getInteger(this, aT), aV)
211213
212214
213-func aV (ag,af) = {
214- let aW = valueOrErrorMessage(getString(ag, af), ("No value for key " + af))
215- aW
215+func aW (ah,ag) = {
216+ let aX = valueOrErrorMessage(getString(ah, ag), ("No value for key " + ag))
217+ aX
216218 }
217219
218220
219-func aX (ag,af) = {
220- let aW = valueOrErrorMessage(getInteger(ag, af), ("No value for key " + af))
221- aW
221+func aY (ah,ag) = {
222+ let aX = valueOrErrorMessage(getInteger(ah, ag), ("No value for key " + ag))
223+ aX
222224 }
223225
224226
225-func aY () = aR(c)
227+func aZ () = aS(c)
226228
227229
228-func aZ () = aT(c, 0)
230+func ba () = aU(c, 0)
229231
230232
231-func ba () = aR(o)
233+func bb () = aS(o)
232234
233235
234-func bb () = aR(p)
236+func bc () = aS(p)
235237
236238
237-func bc () = aR(r)
239+func bd () = aS(r)
238240
239241
240-func bd () = aT(s, ax)
242+func be () = aU(s, ay)
241243
242244
243-func be () = aR(K)
245+func bf () = aS(L)
244246
245247
246-func bf () = aT(K, 0)
248+func bg () = aU(L, 0)
247249
248250
249-func bg () = aR(L)
251+func bh () = aS(M)
250252
251253
252-func bh () = aT(L, 0)
254+func bi () = aU(M, 0)
253255
254256
255-func bi () = aT(M, ax)
257+func bj () = aU(N, ay)
256258
257259
258-func bj () = aT(N, ax)
260+func bk () = aU(O, ay)
259261
260262
261-func bk () = aR(O)
263+func bl () = aS(P)
262264
263265
264-func bl () = aR(R)
266+func bm () = aS(S)
265267
266268
267-func bm () = aR(S)
269+func bn () = aS(T)
268270
269271
270-func bn () = aR(T)
272+func bo () = aS(U)
271273
272274
273-func bo () = aR(H)
275+func bp () = aS(I)
274276
275277
276-func bp () = aR(q)
278+func bq () = aS(q)
277279
278280
279-func bq () = (bp() * ax)
281+func br () = (bq() * ay)
280282
281283
282-func br () = (bp() * av)
284+func bs () = (bq() * aw)
283285
284286
285-func bs () = aR(t)
287+func bt () = aS(t)
286288
287289
288-func bt () = aR(u)
290+func bu () = aS(u)
289291
290292
291-func bu () = aR(v)
293+func bv () = aS(v)
292294
293295
294-func bv () = aR(w)
296+func bw () = aS(w)
295297
296298
297-func bw () = aR(x)
299+func bx () = aS(x)
298300
299301
300-func bx () = aR(y)
302+func by () = aS(y)
301303
302304
303-func by () = aR(z)
305+func bz () = aS(z)
304306
305307
306-func bz () = aR(F)
308+func bA () = aS(G)
307309
308310
309-func bA () = aR(G)
311+func bB () = aS(H)
310312
311313
312-func bB () = aR(Q)
314+func bC () = aS(R)
313315
314316
315-func bC () = aR(P)
317+func bD () = aS(Q)
316318
317319
318-func bD () = aT(d, 0)
320+func bE () = aU(d, 0)
319321
320322
321-func bE () = aR(A)
323+func bF () = aS(A)
322324
323325
324-func bF () = aR(B)
326+func bG () = aS(B)
325327
326328
327-func bG () = aT(C, aC)
329+func bH () = aU(C, aD)
328330
329331
330-func bH () = aT(D, aE)
332+func bI () = aU(D, aF)
331333
332334
333-func bI () = aT(E, aG)
335+func bJ () = aU(E, aH)
334336
335337
336-func bJ () = lastBlock.timestamp
338+func bK () = aU(F, (10 * ay))
337339
338340
339-func bK (bL) = valueOrElse(getString(an(), "k_sender"), toString(bL.caller))
341+func bL () = lastBlock.timestamp
340342
341343
342-func bM (bN,bO,bP) = {
343- let bQ = (bN - bO)
344- if (if (bP)
345- then (0 > bQ)
344+func bM (bN) = valueOrElse(getString(ao(), "k_sender"), toString(bN.caller))
345+
346+
347+func bO (bP,bQ,bR) = {
348+ let bS = (bP - bQ)
349+ if (if (bR)
350+ then (0 > bS)
346351 else false)
347- then throw(((("Invalid margin: " + toString(bN)) + " < ") + toString(bO)))
348- else if (if (!(bP))
349- then (bQ >= 0)
352+ then throw(((("Invalid margin: " + toString(bP)) + " < ") + toString(bQ)))
353+ else if (if (!(bR))
354+ then (bS >= 0)
350355 else false)
351- then throw(((("Invalid margin: " + toString(bN)) + " > ") + toString(bO)))
356+ then throw(((("Invalid margin: " + toString(bP)) + " > ") + toString(bQ)))
352357 else true
353358 }
354359
355360
356-func bR (bS) = if ((bS == 0))
361+func bT (bU) = if ((bU == 0))
357362 then throw("Should not be called with _positionSize == 0")
358- else if ((bS > 0))
359- then bz()
360- else bA()
363+ else if ((bU > 0))
364+ then bA()
365+ else bB()
361366
362367
363-func bT (bU,bV) = {
364- let bW = ((bU + "_") + toString(bV))
365- let bX = getInteger(this, ae(e, bW))
366- let bY = bX
367- if ($isInstanceOf(bY, "Int"))
368+func bV (bW,bX) = {
369+ let bY = ((bW + "_") + toString(bX))
370+ let bZ = getInteger(this, af(e, bY))
371+ let ca = bZ
372+ if ($isInstanceOf(ca, "Int"))
368373 then {
369- let bZ = bY
370- $Tuple5(bZ, getIntegerValue(this, ae(f, bW)), getIntegerValue(this, ae(g, bW)), getIntegerValue(this, ae(h, bW)), getIntegerValue(this, ae(k, bW)))
374+ let cb = ca
375+ $Tuple5(cb, getIntegerValue(this, af(f, bY)), getIntegerValue(this, af(g, bY)), getIntegerValue(this, af(h, bY)), getIntegerValue(this, af(k, bY)))
371376 }
372377 else $Tuple5(0, 0, 0, 0, 0)
373378 }
374379
375380
376-func ca (bS) = if ((0 > bS))
377- then au
378- else at
381+func cc (bU) = if ((0 > bU))
382+ then av
383+ else au
379384
380385
381-func cb (bU,bV) = {
382- let bW = ((bU + "_") + toString(bV))
383- let cc = getInteger(this, ae(j, bW))
384- let bY = cc
385- if ($isInstanceOf(bY, "Int"))
386+func cd (bW,bX) = {
387+ let bY = ((bW + "_") + toString(bX))
388+ let ce = getInteger(this, af(j, bY))
389+ let ca = ce
390+ if ($isInstanceOf(ca, "Int"))
386391 then {
387- let cd = bY
388- cd
392+ let cf = ca
393+ cf
389394 }
390- else ba()
395+ else bb()
391396 }
392397
393398
394-func ce (bU,bV) = if ((bT(bU, bV)._1 == 0))
399+func cg (bW,bX) = if ((bV(bW, bX)._1 == 0))
395400 then throw("No open position")
396401 else true
397402
398403
399-func cf (cg) = {
400- let ch = getString(this, cg)
401- if (if (isDefined(ch))
402- then (value(ch) != "")
404+func ch (ci) = {
405+ let cj = getString(this, ci)
406+ if (if (isDefined(cj))
407+ then (value(cj) != "")
403408 else false)
404409 then {
405- let ci = split(value(ch), ",")
406- let cj = valueOrErrorMessage(addressFromString(ci[0]), ("Invalid oracle address in: " + value(ch)))
407- let ck = ci[1]
408- let cl = ci[2]
409- let cm = ci[3]
410- $Tuple4(cj, ck, cl, cm)
410+ let ck = split(value(cj), ",")
411+ let cl = valueOrErrorMessage(addressFromString(ck[0]), ("Invalid oracle address in: " + value(cj)))
412+ let cm = ck[1]
413+ let cn = ck[2]
414+ let co = ck[3]
415+ $Tuple4(cl, cm, cn, co)
411416 }
412417 else unit
413418 }
414419
415420
416-func cn () = valueOrElse(getBoolean(this, l), false)
421+func cp () = valueOrElse(getBoolean(this, l), false)
417422
418423
419-func co () = valueOrElse(getBoolean(this, m), false)
424+func cq () = valueOrElse(getBoolean(this, m), false)
420425
421426
422-func cp () = valueOrElse(getBoolean(this, n), false)
427+func cr () = valueOrElse(getBoolean(this, n), false)
423428
424429
425-func cq (cr,cs,ct) = if (cr)
430+func cs (ct,cu,cv) = if (ct)
426431 then {
427- let cu = (bg() - ct)
428- if ((0 >= cu))
432+ let cw = (bh() - cv)
433+ if ((0 >= cw))
429434 then throw("Tx lead to base asset reserve <= 0, revert")
430- else $Tuple3((be() + cs), cu, (bk() + ct))
435+ else $Tuple3((bf() + cu), cw, (bl() + cv))
431436 }
432437 else {
433- let cv = (be() - cs)
434- if ((0 >= cv))
438+ let cx = (bf() - cu)
439+ if ((0 >= cx))
435440 then throw("Tx lead to base quote reserve <= 0, revert")
436- else $Tuple3(cv, (bg() + ct), (bk() - ct))
441+ else $Tuple3(cx, (bh() + cv), (bl() - cv))
437442 }
438443
439444
440-func cw (cx,cy) = {
441- let cz = toBigInt(cx)
442- let cA = toBigInt(cy)
443- aO(cz, cA)
445+func cy (cz,cA) = {
446+ let cB = toBigInt(cz)
447+ let cC = toBigInt(cA)
448+ aP(cB, cC)
444449 }
445450
446451
447-func cB (cr,cs) = {
448- let cx = be()
449- let cy = bg()
450- let cC = bi()
451- let cD = bj()
452- let cE = aK(cs, cC)
453- let aS = cw(cx, cy)
454- let cF = if (cr)
455- then (cx + cE)
456- else (cx - cE)
457- let cG = toInt(aN(aS, toBigInt(cF)))
458- let cH = aP((cG - cy))
459- let cI = if (cr)
460- then cH
461- else -(cH)
462- let cJ = cq(cr, cE, cH)
463- let cK = cJ._1
464- let cL = cJ._2
465- let cM = cJ._3
466- let cN = aK(aM(cx, cC), aM(cy, cD))
467- let cO = aK(cs, cH)
468- let cP = aP((cN - cO))
469- let cQ = (ax - aK(cN, (cN + cP)))
470- let cR = bw()
471- if ((cQ > cR))
472- then throw(((((((((((((("Price impact " + toString(cQ)) + " > max price impact ") + toString(cR)) + " before quote asset: ") + toString(cx)) + " before base asset: ") + toString(cy)) + " quote asset amount to exchange: ") + toString(cs)) + " price before: ") + toString(cN)) + " marketPrice: ") + toString(cO)))
473- else $Tuple4(cI, cK, cL, cM)
452+func cD (ct,cu) = {
453+ let cz = bf()
454+ let cA = bh()
455+ let cE = bj()
456+ let cF = bk()
457+ let cG = aL(cu, cE)
458+ let aT = cy(cz, cA)
459+ let cH = if (ct)
460+ then (cz + cG)
461+ else (cz - cG)
462+ let cI = toInt(aO(aT, toBigInt(cH)))
463+ let cJ = aQ((cI - cA))
464+ let cK = if (ct)
465+ then cJ
466+ else -(cJ)
467+ let cL = cs(ct, cG, cJ)
468+ let cM = cL._1
469+ let cN = cL._2
470+ let cO = cL._3
471+ let cP = aL(aN(cz, cE), aN(cA, cF))
472+ let cQ = aL(cu, cJ)
473+ let cR = aQ((cP - cQ))
474+ let cS = (ay - aL(cP, (cP + cR)))
475+ let cT = bx()
476+ if ((cS > cT))
477+ then throw(((((((((((((("Price impact " + toString(cS)) + " > max price impact ") + toString(cT)) + " before quote asset: ") + toString(cz)) + " before base asset: ") + toString(cA)) + " quote asset amount to exchange: ") + toString(cu)) + " price before: ") + toString(cP)) + " marketPrice: ") + toString(cQ)))
478+ else $Tuple4(cK, cM, cN, cO)
474479 }
475480
476481
477-func cS (cT,cU) = {
478- let cV = ((((bJ() - cU) / 1000) / 60) * ax)
479- let cW = aK(aM(aM(cT, cV), bb()), ay)
480- cW
482+func cU (cV,cW) = {
483+ let cX = ((((bL() - cW) / 1000) / 60) * ay)
484+ let cY = aL(aN(aN(cV, cX), bc()), az)
485+ cY
481486 }
482487
483488
484-func cX (cY,cT,cZ,cU,da) = {
485- let db = if ((cY != 0))
489+func cZ (da,cV,db,cW,dc) = {
490+ let dd = if ((da != 0))
486491 then {
487- let dc = bR(cY)
488- aM((dc - cZ), cY)
492+ let de = bT(da)
493+ aN((de - db), da)
489494 }
490495 else 0
491- let cW = cS(cT, cU)
492- let dd = (((da - cW) - db) + cT)
493- let de = if ((0 > dd))
494- then $Tuple2(0, aP(dd))
495- else $Tuple2(aP(dd), 0)
496- let df = de._1
497- let dg = de._2
498- $Tuple4(df, dg, db, cW)
496+ let cY = cU(cV, cW)
497+ let df = (((dc - cY) - dd) + cV)
498+ let dg = if ((0 > df))
499+ then $Tuple2(0, aQ(df))
500+ else $Tuple2(aQ(df), 0)
501+ let dh = dg._1
502+ let di = dg._2
503+ $Tuple4(dh, di, dd, cY)
499504 }
500505
501506
502-func dh (cr,ct,di,dj,dk,dl,dm) = {
503- let cN = aK(aM(dj, dk), aM(dl, dm))
504- if ((ct == 0))
507+func dj (ct,cv,dk,dl,dm,dn,do) = {
508+ let cP = aL(aN(dl, dm), aN(dn, do))
509+ if ((cv == 0))
505510 then throw("Invalid base asset amount")
506511 else {
507- let aS = cw(dj, dl)
508- let dn = if (cr)
509- then (dl + ct)
510- else (dl - ct)
511- let do = toInt(aN(aS, toBigInt(dn)))
512- let dp = aP((do - dj))
513- let dq = aM(dp, dk)
514- let cR = bw()
515- let dr = cq(!(cr), dp, ct)
516- let cK = dr._1
517- let cL = dr._2
518- let cM = dr._3
519- let cO = aK(dq, ct)
520- let cP = aP((cN - cO))
521- let cQ = (ax - aK(cN, (cN + cP)))
522- if (if ((cQ > cR))
523- then di
512+ let aT = cy(dl, dn)
513+ let dp = if (ct)
514+ then (dn + cv)
515+ else (dn - cv)
516+ let dq = toInt(aO(aT, toBigInt(dp)))
517+ let dr = aQ((dq - dl))
518+ let ds = aN(dr, dm)
519+ let cT = bx()
520+ let dt = cs(!(ct), dr, cv)
521+ let cM = dt._1
522+ let cN = dt._2
523+ let cO = dt._3
524+ let cQ = aL(ds, cv)
525+ let cR = aQ((cP - cQ))
526+ let cS = (ay - aL(cP, (cP + cR)))
527+ if (if ((cS > cT))
528+ then dk
524529 else false)
525- then throw(((((((((((((("Price impact " + toString(cQ)) + " > max price impact ") + toString(cR)) + " before quote asset: ") + toString(dj)) + " before base asset: ") + toString(dl)) + " base asset amount to exchange: ") + toString(ct)) + " price before: ") + toString(cN)) + " market price: ") + toString(cO)))
526- else $Tuple7(dq, cK, cL, cM, (bC() - (if (cr)
527- then aP(ct)
528- else 0)), (bB() - (if (!(cr))
529- then aP(ct)
530- else 0)), cQ)
530+ then throw(((((((((((((("Price impact " + toString(cS)) + " > max price impact ") + toString(cT)) + " before quote asset: ") + toString(dl)) + " before base asset: ") + toString(dn)) + " base asset amount to exchange: ") + toString(cv)) + " price before: ") + toString(cP)) + " market price: ") + toString(cQ)))
531+ else $Tuple7(ds, cM, cN, cO, (bD() - (if (ct)
532+ then aQ(cv)
533+ else 0)), (bC() - (if (!(ct))
534+ then aQ(cv)
535+ else 0)), cS)
531536 }
532537 }
533538
534539
535-func ds (cr,ct,di) = dh(cr, ct, di, be(), bi(), bg(), bj())
540+func du (ct,cv,dk) = dj(ct, cv, dk, bf(), bj(), bh(), bk())
536541
537542
538-func dt (du,ck,cl) = {
539- let dv = valueOrErrorMessage(getInteger(du, ck), ((("Can not get oracle price. Oracle: " + toString(du)) + " key: ") + ck))
540- if ((cl != ""))
543+func dv (dw,cm,cn) = {
544+ let dx = valueOrErrorMessage(getInteger(dw, cm), ((("Can not get oracle price. Oracle: " + toString(dw)) + " key: ") + cm))
545+ if ((cn != ""))
541546 then {
542- let dw = height
543- let dx = valueOrErrorMessage(getInteger(du, cl), ((("Can not get oracle block. Oracle: " + toString(du)) + " key: ") + cl))
544- if (((dw - dx) > bF()))
545- then throw(((("Oracle stale data. Last oracle block: " + toString(dx)) + " current block: ") + toString(dw)))
546- else dv
547+ let dy = height
548+ let dz = valueOrErrorMessage(getInteger(dw, cn), ((("Can not get oracle block. Oracle: " + toString(dw)) + " key: ") + cn))
549+ if (((dy - dz) > bG()))
550+ then throw(((("Oracle stale data. Last oracle block: " + toString(dz)) + " current block: ") + toString(dy)))
551+ else dx
547552 }
548- else dv
553+ else dx
549554 }
550555
551556
552-func dy () = {
553- let dz = valueOrErrorMessage(cf(a), "No base asset oracle data")
554- let dA = dt(dz._1, dz._2, dz._3)
555- let dB = cf(b)
556- let dC = if (isDefined(dB))
557+func dA () = {
558+ let dB = valueOrErrorMessage(ch(a), "No base asset oracle data")
559+ let dC = dv(dB._1, dB._2, dB._3)
560+ let dD = ch(b)
561+ let dE = if (isDefined(dD))
557562 then {
558- let dD = value(dB)
559- dt(dD._1, dD._2, dD._3)
563+ let dF = value(dD)
564+ dv(dF._1, dF._2, dF._3)
560565 }
561- else ax
562- aK(dA, dC)
566+ else ay
567+ aL(dC, dE)
563568 }
564569
565570
566-func dE () = {
567- let dz = valueOrErrorMessage(cf(a), "No base asset oracle data")
568- let du = dz._1
569- let cm = dz._4
570- if ((cm != ""))
571+func dG () = {
572+ let dB = valueOrErrorMessage(ch(a), "No base asset oracle data")
573+ let dw = dB._1
574+ let co = dB._4
575+ if ((co != ""))
571576 then {
572- let dF = valueOrErrorMessage(getBoolean(du, cm), ((("Can not get oracle is open/closed. Oracle: " + toString(du)) + " key: ") + cm))
573- !(dF)
577+ let dH = valueOrErrorMessage(getBoolean(dw, co), ((("Can not get oracle is open/closed. Oracle: " + toString(dw)) + " key: ") + co))
578+ !(dH)
574579 }
575580 else false
576581 }
577582
578583
579-func dG (dH,dj,dl,cC,cD) = {
580- let dI = aK(aM(dj, cC), aM(dl, cD))
581- let dJ = aK((dH + dI), (2 * ax))
582- let dG = aK(aP((dH - dI)), dJ)
583- dG
584+func dI (dJ,dl,dn,cE,cF) = {
585+ let dK = aL(aN(dl, cE), aN(dn, cF))
586+ let dL = aL((dJ + dK), (2 * ay))
587+ let dI = aL(aQ((dJ - dK)), dL)
588+ dI
584589 }
585590
586591
587-func dK (dj,dl) = {
588- let dL = dy()
589- let cC = bi()
590- let cD = bj()
591- let dM = dG(dL, be(), bg(), cC, cD)
592- let dN = dG(dL, dj, dl, cC, cD)
593- if (if ((dN > bx()))
594- then (dN > dM)
592+func dM (dl,dn) = {
593+ let dN = dA()
594+ let cE = bj()
595+ let cF = bk()
596+ let dO = dI(dN, bf(), bh(), cE, cF)
597+ let dP = dI(dN, dl, dn, cE, cF)
598+ if (if ((dP > by()))
599+ then (dP > dO)
595600 else false)
596- then throw(((("Price spread " + toString(dN)) + " > max price spread ") + toString(bx())))
601+ then throw(((("Price spread " + toString(dP)) + " > max price spread ") + toString(by())))
597602 else true
598603 }
599604
600605
601-func dO (dP,dQ) = {
602- let dR = by()
603- if ((dP > dR))
604- then throw(((("Long open notional " + toString(dP)) + " > max open notional ") + toString(dR)))
605- else if ((dQ > dR))
606- then throw(((("Short open notional " + toString(dQ)) + " > max open notional ") + toString(dR)))
606+func dQ (dR,dS) = {
607+ let dT = bz()
608+ if ((dR > dT))
609+ then throw(((("Long open notional " + toString(dR)) + " > max open notional ") + toString(dT)))
610+ else if ((dS > dT))
611+ then throw(((("Short open notional " + toString(dS)) + " > max open notional ") + toString(dT)))
607612 else true
608613 }
609614
610615
611-func dS (dT) = if ((bI() == aH))
612- then (dT == an())
616+func dU (dV) = if ((bJ() == aI))
617+ then (dV == ao())
613618 else true
614619
615620
616-func dU () = {
617- let dj = be()
618- let dl = bg()
619- let cC = bi()
620- let cD = bj()
621- aK(aM(dj, cC), aM(dl, cD))
621+func dW () = {
622+ let dl = bf()
623+ let dn = bh()
624+ let cE = bj()
625+ let cF = bk()
626+ aL(aN(dl, cE), aN(dn, cF))
622627 }
623628
624629
625-func dV () = {
626- let dL = dy()
627- let dW = dU()
628- (aK(aP((dL - dW)), dL) > bv())
630+func dX () = {
631+ let dN = dA()
632+ let dY = dW()
633+ (aL(aQ((dN - dY)), dN) > bw())
629634 }
630635
631636
632-func dX (bS,dY,dj,dk,dl,dm) = {
633- let dZ = aP(bS)
634- let ea = (0 > bS)
635- let eb = if ((dY == aA))
637+func dZ (bU,ea,dl,dm,dn,do) = {
638+ let eb = aQ(bU)
639+ let ec = (0 > bU)
640+ let ed = if ((ea == aB))
636641 then {
637- let ec = dh(!(ea), dZ, false, dj, dk, dl, dm)._1
638- ec
642+ let ee = dj(!(ec), eb, false, dl, dm, dn, do)._1
643+ ee
639644 }
640- else aM(dZ, dy())
641- eb
645+ else aN(eb, dA())
646+ ed
642647 }
643648
644649
645-func ed (bS,ee,dj,dk,dl,dm,dY) = if ((bS == 0))
650+func ef (bU,eg,dl,dm,dn,do,ea) = if ((bU == 0))
646651 then throw("Invalid position size")
647652 else {
648- let ea = (0 > bS)
649- let eb = dX(bS, dY, dj, dk, dl, dm)
650- let ef = if (ea)
651- then (ee - eb)
652- else (eb - ee)
653- $Tuple2(eb, ef)
653+ let ec = (0 > bU)
654+ let ed = dZ(bU, ea, dl, dm, dn, do)
655+ let eh = if (ec)
656+ then (eg - ed)
657+ else (ed - eg)
658+ $Tuple2(ed, eh)
654659 }
655660
656661
657-func eg (bU,bV,dY) = {
658- let eh = bT(bU, bV)
659- let bZ = eh._1
660- let ei = eh._2
661- let ej = eh._3
662- let ek = eh._4
663- ed(bZ, ej, be(), bi(), bg(), bj(), dY)
662+func ei (bW,bX,ea) = {
663+ let ej = bV(bW, bX)
664+ let cb = ej._1
665+ let ek = ej._2
666+ let el = ej._3
667+ let em = ej._4
668+ ef(cb, el, bf(), bj(), bh(), bk(), ea)
664669 }
665670
666671
667-func el (em,en,eo) = aK((em - en), eo)
672+func en (eo,ep,eq) = aL((eo - ep), eq)
668673
669674
670-func ep (bU,bV,dY) = {
671- let eq = bT(bU, bV)
672- let bZ = eq._1
673- let ei = eq._2
674- let er = eq._3
675- let es = eq._4
676- let et = eq._5
677- let eu = eg(bU, bV, dY)
678- let eb = eu._1
679- let ef = eu._2
680- let ev = cX(bZ, ei, es, et, ef)
681- let df = ev._1
682- let dg = ev._2
683- el(df, dg, eb)
675+func er (bW,bX,ea) = {
676+ let es = bV(bW, bX)
677+ let cb = es._1
678+ let ek = es._2
679+ let et = es._3
680+ let eu = es._4
681+ let ev = es._5
682+ let ew = ei(bW, bX, ea)
683+ let ed = ew._1
684+ let eh = ew._2
685+ let ex = cZ(cb, ek, eu, ev, eh)
686+ let dh = ex._1
687+ let di = ex._2
688+ en(dh, di, ed)
684689 }
685690
686691
687-func ew (bU,bV) = ep(bU, bV, aA)
692+func ey (bW,bX) = er(bW, bX, aB)
688693
689694
690-func ex (bU,bS) = {
691- let ey = aQ(bu(), (ax - aK(ew(bU, ca(bS)), bs())))
692- let ez = aM(aP(bS), ey)
693- let eA = ds((bS > 0), ez, false)
694- let eB = eA._1
695- let cQ = eA._7
696- if ((bw() > cQ))
697- then ez
698- else aM(aP(bS), bu())
695+func ez (bW,bU) = {
696+ let eA = aR(bv(), (ay - aL(ey(bW, cc(bU)), bt())))
697+ let eB = aN(aQ(bU), eA)
698+ let eC = du((bU > 0), eB, false)
699+ let eD = eC._1
700+ let cS = eC._7
701+ if ((bx() > cS))
702+ then eB
703+ else aN(aQ(bU), bv())
699704 }
700705
701706
702-func eC (bU,bV,eD,eE,eF,eG,di,eH) = {
703- let eI = bT(bU, bV)
704- let eJ = eI._1
705- let eK = eI._2
706- let eL = eI._3
707- let eM = eI._4
708- let eN = eI._5
709- let eO = (eJ > 0)
710- let eP = aP(eJ)
711- if (if ((eP >= eD))
712- then (eD > 0)
707+func eE (bW,bX,eF,eG,eH,eI,dk,eJ) = {
708+ let eK = bV(bW, bX)
709+ let eL = eK._1
710+ let eM = eK._2
711+ let eN = eK._3
712+ let eO = eK._4
713+ let eP = eK._5
714+ let eQ = (eL > 0)
715+ let eR = aQ(eL)
716+ if (if ((eR >= eF))
717+ then (eF > 0)
713718 else false)
714719 then {
715- let eQ = (eP > eD)
716- let eR = ds((eJ > 0), eD, di)
717- let eS = eR._1
718- let cF = eR._2
719- let cG = eR._3
720- let eT = eR._4
721- let eU = if ((eJ > 0))
722- then -(eD)
723- else eD
724- let eV = eg(bU, bV, aA)
725- let eW = eV._1
726- let ef = eV._2
727- let eX = aK(aP(eU), eP)
728- let eY = aM(ef, eX)
729- let eZ = cX(eJ, eK, eM, eN, ef)
730- let fa = eZ._1
731- let fb = eZ._2
732- let fc = eZ._3
733- let cW = eZ._4
734- let fd = cX(eJ, eK, eM, eN, eY)._2
735- let fe = aM(aM(eW, eX), eE)
736- let ff = (ef - eY)
737- let fg = if ((eJ > 0))
738- then ((eW - eS) - ff)
739- else ((ff + eW) - eS)
740- let fh = (eJ + eU)
741- let fi = if ((fh == 0))
720+ let eS = (eR > eF)
721+ let eT = du((eL > 0), eF, dk)
722+ let eU = eT._1
723+ let cH = eT._2
724+ let cI = eT._3
725+ let eV = eT._4
726+ let eW = if ((eL > 0))
727+ then -(eF)
728+ else eF
729+ let eX = ei(bW, bX, aB)
730+ let eY = eX._1
731+ let eh = eX._2
732+ let eZ = aL(aQ(eW), eR)
733+ let fa = aN(eh, eZ)
734+ let fb = cZ(eL, eM, eO, eP, eh)
735+ let fc = fb._1
736+ let fd = fb._2
737+ let fe = fb._3
738+ let cY = fb._4
739+ let ff = cZ(eL, eM, eO, eP, fa)._2
740+ let fg = aN(aN(eY, eZ), eG)
741+ let fh = (eh - fa)
742+ let fi = if ((eL > 0))
743+ then ((eY - eU) - fh)
744+ else ((fh + eY) - eU)
745+ let fj = (eL + eW)
746+ let fk = if ((fj == 0))
742747 then $Tuple2(0, 0)
743- else $Tuple2(aP(fg), bR(fh))
744- let fj = fi._1
745- let fk = fi._2
746- let fl = (eL - fj)
747- let fm = ep(bU, bV, aA)
748- let fn = if ((eJ > 0))
749- then (aM((fj + ff), fm) - ff)
750- else (aM((fj - ff), fm) - ff)
751- let fo = ((fa - (fn + ff)) - fe)
752- let fp = if ((0 > fo))
753- then if (eH)
748+ else $Tuple2(aQ(fi), bT(fj))
749+ let fl = fk._1
750+ let fm = fk._2
751+ let fn = (eN - fl)
752+ let fo = er(bW, bX, aB)
753+ let fp = if ((eL > 0))
754+ then (aN((fl + fh), fo) - fh)
755+ else (aN((fl - fh), fo) - fh)
756+ let fq = ((fc - (fp + fh)) - fg)
757+ let fr = if ((0 > fq))
758+ then if (eJ)
754759 then 0
755760 else throw("Invalid internalClosePosition params: unable to pay fee")
756- else fo
757- let fq = if (eG)
758- then (fn + fp)
759- else fn
760- if (if ((eF != 0))
761- then (eF > eS)
761+ else fq
762+ let fs = if (eI)
763+ then (fp + fr)
764+ else fp
765+ if (if ((eH != 0))
766+ then (eH > eU)
762767 else false)
763- then throw(((("Limit error: " + toString(eS)) + " < ") + toString(eF)))
764- else $Tuple17(fh, fq, fj, fk, fd, eY, if (if (eG)
765- then eQ
768+ then throw(((("Limit error: " + toString(eU)) + " < ") + toString(eH)))
769+ else $Tuple17(fj, fs, fl, fm, ff, fa, if (if (eI)
770+ then eS
766771 else false)
767772 then 0
768- else fp, cF, cG, eT, (bl() - fl), (bC() - (if (eO)
769- then aP(eU)
770- else 0)), (bB() - (if (!(eO))
771- then aP(eU)
772- else 0)), (bn() - (if (eO)
773- then fl
774- else 0)), (bm() - (if (!(eO))
775- then fl
776- else 0)), (fe + cW), eS)
773+ else fr, cH, cI, eV, (bm() - fn), (bD() - (if (eQ)
774+ then aQ(eW)
775+ else 0)), (bC() - (if (!(eQ))
776+ then aQ(eW)
777+ else 0)), (bo() - (if (eQ)
778+ then fn
779+ else 0)), (bn() - (if (!(eQ))
780+ then fn
781+ else 0)), (fg + cY), eU)
777782 }
778- else throw(((("Invalid internalClosePosition params: invalid position size: " + toString(eD)) + " max: ") + toString(eP)))
783+ else throw(((("Invalid internalClosePosition params: invalid position size: " + toString(eF)) + " max: ") + toString(eR)))
779784 }
780785
781786
782-func fr () = {
783- let bS = bk()
784- if ((bS == 0))
785- then $Tuple2(be(), bg())
787+func ft () = {
788+ let bU = bl()
789+ if ((bU == 0))
790+ then $Tuple2(bf(), bh())
786791 else {
787- let fs = (bS > 0)
788- let ft = ds(fs, aP(bS), false)
789- let fu = ft._1
790- let fv = ft._2
791- let fw = ft._3
792- $Tuple2(fv, fw)
792+ let fu = (bU > 0)
793+ let fv = du(fu, aQ(bU), false)
794+ let fw = fv._1
795+ let fx = fv._2
796+ let fy = fv._3
797+ $Tuple2(fx, fy)
793798 }
794799 }
795800
796801
797-func fx (fy,bk,fz,fA) = {
798- let fB = toBigInt(fy)
799- let fC = toBigInt(bk)
800- let fD = toBigInt(fz)
801- let fE = toBigInt(fA)
802- let aS = aO(fD, fB)
803- let fF = (fB + fC)
804- let fG = aN(aS, fF)
805- let fH = aN(fG, fF)
806- let fI = aN(fE, fH)
807- toInt(fI)
802+func fz (fA,bl,fB,fC) = {
803+ let fD = toBigInt(fA)
804+ let fE = toBigInt(bl)
805+ let fF = toBigInt(fB)
806+ let fG = toBigInt(fC)
807+ let aT = aP(fF, fD)
808+ let fH = (fD + fE)
809+ let fI = aO(aT, fH)
810+ let fJ = aO(fI, fH)
811+ let fK = aO(fG, fJ)
812+ toInt(fK)
808813 }
809814
810815
811-func fJ (fK,cx,cy) = {
812- let bS = bk()
813- if ((bS == 0))
816+func fL (fM,cz,cA) = {
817+ let bU = bl()
818+ if ((bU == 0))
814819 then {
815- let fL = aK(aM(fK, cy), cx)
816- $Tuple3(fL, ax, 0)
820+ let fN = aL(aN(fM, cA), cz)
821+ $Tuple3(fN, ay, 0)
817822 }
818823 else {
819- let fs = (bS > 0)
820- let fu = ds(fs, aP(bS), false)._1
821- let fL = fx(cy, bS, cx, fK)
822- let fM = ax
823- let fN = ed(bS, fu, cx, fL, cy, fM, aA)._2
824- $Tuple3(fL, fM, fN)
824+ let fu = (bU > 0)
825+ let fw = du(fu, aQ(bU), false)._1
826+ let fN = fz(cA, bU, cz, fM)
827+ let fO = ay
828+ let fP = ef(bU, fw, cz, fN, cA, fO, aB)._2
829+ $Tuple3(fN, fO, fP)
825830 }
826831 }
827832
828833
829-func fO () = {
830- let fP = dy()
831- let fQ = dU()
832- let fR = (fQ - fP)
833- if (if (dE())
834+func fQ () = {
835+ let fR = dA()
836+ let fS = dW()
837+ let fT = (fS - fR)
838+ if (if (dG())
834839 then true
835- else if ((bG() == aC))
836- then if ((bB() == 0))
840+ else if ((bH() == aD))
841+ then if ((bC() == 0))
837842 then true
838- else (bC() == 0)
843+ else (bD() == 0)
839844 else false)
840845 then $Tuple3(0, 0, 0)
841- else if ((0 > fR))
846+ else if ((0 > fT))
842847 then {
843- let fS = aK(aM(fR, bq()), az)
844- if ((bG() == aC))
848+ let fU = aL(aN(fT, br()), aA)
849+ if ((bH() == aD))
845850 then {
846- let fT = aK(aM(fS, bB()), bC())
847- $Tuple3(fS, fT, 0)
851+ let fV = aL(aN(fU, bC()), bD())
852+ $Tuple3(fU, fV, 0)
848853 }
849854 else {
850- let fU = aP(aM(fS, bB()))
851- let fV = aP(aM(fS, bC()))
852- let fW = (fU - fV)
853- $Tuple3(fS, fS, fW)
855+ let fW = aQ(aN(fU, bC()))
856+ let fX = aQ(aN(fU, bD()))
857+ let fY = (fW - fX)
858+ $Tuple3(fU, fU, fY)
854859 }
855860 }
856861 else {
857- let fT = aK(aM(fR, bq()), az)
858- if ((bG() == aC))
862+ let fV = aL(aN(fT, br()), aA)
863+ if ((bH() == aD))
859864 then {
860- let fS = aK(aM(fT, bC()), bB())
861- $Tuple3(fS, fT, 0)
865+ let fU = aL(aN(fV, bD()), bC())
866+ $Tuple3(fU, fV, 0)
862867 }
863868 else {
864- let fV = aP(aM(fT, bC()))
865- let fU = aP(aM(fT, bB()))
866- let fW = (fV - fU)
867- $Tuple3(fT, fT, fW)
869+ let fX = aQ(aN(fV, bD()))
870+ let fW = aQ(aN(fV, bC()))
871+ let fY = (fX - fW)
872+ $Tuple3(fV, fV, fY)
868873 }
869874 }
870875 }
871876
872877
873-func fX (fY,fZ) = {
874- let ga = ba()
875- let gb = aM(ga, fZ)
876- let gc = if ((fY != ""))
878+func fZ (ga,gb) = {
879+ let gc = bb()
880+ let gd = aN(gc, gb)
881+ let ge = if ((ga != ""))
877882 then {
878- let gd = aV(ap(), ae(ar, fY))
879- if ((gd == as))
883+ let gf = aW(aq(), af(as, ga))
884+ if ((gf == at))
880885 then {
881- let ge = aX(ap(), ae(aq, fY))
882- let gf = aM(gb, ge)
883- $Tuple2(gf, true)
886+ let gg = aY(aq(), af(ar, ga))
887+ let gh = aN(gd, gg)
888+ $Tuple2(gh, true)
884889 }
885890 else throw("Invalid attached artifact")
886891 }
887- else $Tuple2(gb, false)
888- let gf = gc._1
889- let gg = gc._2
890- $Tuple2(gf, gg)
892+ else $Tuple2(gd, false)
893+ let gh = ge._1
894+ let gi = ge._2
895+ $Tuple2(gh, gi)
891896 }
892897
893898
894-func gh (bU,fY) = {
895- let gi = invoke(am(), "computeFeeDiscount", [bU], nil)
896- if ((gi == gi))
899+func gj (bW,ga) = {
900+ let gk = invoke(an(), "computeFeeDiscount", [bW], nil)
901+ if ((gk == gk))
897902 then {
898- let gj = {
899- let bY = gi
900- if ($isInstanceOf(bY, "Int"))
903+ let gl = {
904+ let ca = gk
905+ if ($isInstanceOf(ca, "Int"))
901906 then {
902- let gk = bY
903- gk
907+ let gm = ca
908+ gm
904909 }
905910 else throw("Invalid computeFeeDiscount result")
906911 }
907- let gl = fX(fY, gj)
908- let gf = gl._1
909- let gg = gl._2
910- $Tuple2(gf, gg)
912+ let gn = fZ(ga, gl)
913+ let gh = gn._1
914+ let gi = gn._2
915+ $Tuple2(gh, gi)
911916 }
912917 else throw("Strict value is not equal to itself.")
913918 }
914919
915920
916-func gm (bL) = {
917- let gn = if ((size(bL.payments) > 1))
918- then toBase58String(valueOrErrorMessage(bL.payments[1].assetId, "Invalid artifactId"))
921+func go (bN) = {
922+ let gp = if ((size(bN.payments) > 1))
923+ then toBase58String(valueOrErrorMessage(bN.payments[1].assetId, "Invalid artifactId"))
919924 else ""
920- gn
925+ gp
921926 }
922927
923928
924-func go (gp) = {
925- let gq = aM(gp, bE())
926- let gr = (gp - gq)
927- $Tuple2(gq, gr)
929+func gq (gr) = {
930+ let gs = aN(gr, bF())
931+ let gt = (gr - gs)
932+ $Tuple2(gs, gt)
928933 }
929934
930935
931-func gs (gt,gu,gv,gw,eE,gx,gy,gz,gA,dR,gB,gC,gD,gE,gF,gG,gH) = [IntegerEntry(r, gt), IntegerEntry(s, gG), IntegerEntry(t, gu), IntegerEntry(u, gv), IntegerEntry(q, gw), IntegerEntry(o, eE), IntegerEntry(w, gx), IntegerEntry(x, gy), IntegerEntry(v, gz), IntegerEntry(y, gA), IntegerEntry(z, dR), IntegerEntry(A, gB), IntegerEntry(B, gC), IntegerEntry(p, gD), IntegerEntry(C, gE), IntegerEntry(D, gF), IntegerEntry(E, gH)]
936+func gu (gv,gw,gx,gy,eG,gz,gA,gB,gC,dT,gD,gE,gF,gG,gH,gI,gJ) = [IntegerEntry(r, gv), IntegerEntry(s, gI), IntegerEntry(t, gw), IntegerEntry(u, gx), IntegerEntry(q, gy), IntegerEntry(o, eG), IntegerEntry(w, gz), IntegerEntry(x, gA), IntegerEntry(v, gB), IntegerEntry(y, gC), IntegerEntry(z, dT), IntegerEntry(A, gD), IntegerEntry(B, gE), IntegerEntry(p, gF), IntegerEntry(C, gG), IntegerEntry(D, gH), IntegerEntry(E, gJ)]
932937
933938
934-func gI (gJ,gK,gL,gM,gN) = [IntegerEntry(H, gJ), IntegerEntry(F, gK), IntegerEntry(G, gL), IntegerEntry(I, gM), IntegerEntry(J, gN)]
939+func gK (gL,gM,gN,gO,gP) = [IntegerEntry(I, gL), IntegerEntry(G, gM), IntegerEntry(H, gN), IntegerEntry(J, gO), IntegerEntry(K, gP)]
935940
936941
937-func gO (gP,bU,bV) = {
938- let bW = ((bU + "_") + toString(bV))
939- if (gP)
942+func gQ (gR,bW,bX) = {
943+ let bY = ((bW + "_") + toString(bX))
944+ if (gR)
940945 then {
941- let gQ = bD()
942-[IntegerEntry(ae(i, bW), (gQ + 1)), IntegerEntry(d, (gQ + 1))]
946+ let gS = bE()
947+[IntegerEntry(af(i, bY), (gS + 1)), IntegerEntry(d, (gS + 1))]
943948 }
944949 else nil
945950 }
946951
947952
948-func gR (gP,bU,bV,eE) = {
949- let bW = ((bU + "_") + toString(bV))
950- if (gP)
951- then [IntegerEntry(ae(j, bW), eE)]
953+func gT (gR,bW,bX,eG) = {
954+ let bY = ((bW + "_") + toString(bX))
955+ if (gR)
956+ then [IntegerEntry(af(j, bY), eG)]
952957 else nil
953958 }
954959
955960
956-func gS (bU,eD,gT,gU,dc,gV) = {
957- let fs = ca(eD)
958- let bW = ((bU + "_") + toString(fs))
959-[IntegerEntry(ae(e, bW), eD), IntegerEntry(ae(f, bW), gT), IntegerEntry(ae(g, bW), gU), IntegerEntry(ae(h, bW), dc), IntegerEntry(ae(k, bW), gV)]
961+func gU (bW,eF,gV,gW,de,gX) = {
962+ let fu = cc(eF)
963+ let bY = ((bW + "_") + toString(fu))
964+[IntegerEntry(af(e, bY), eF), IntegerEntry(af(f, bY), gV), IntegerEntry(af(g, bY), gW), IntegerEntry(af(h, bY), de), IntegerEntry(af(k, bY), gX)]
960965 }
961966
962967
963-func gW (cx,cy) = if (if ((0 > cx))
968+func gY (cz,cA) = if (if ((0 > cz))
964969 then true
965- else (0 > cy))
970+ else (0 > cA))
966971 then throw("Invalid amount to update reserves")
967- else if (if ((cx != bf()))
972+ else if (if ((cz != bg()))
968973 then true
969- else (cy != bh()))
970- then [IntegerEntry(K, cx), IntegerEntry(L, cy)]
974+ else (cA != bi()))
975+ then [IntegerEntry(L, cz), IntegerEntry(M, cA)]
971976 else nil
972977
973978
974-func gX (cC,cD) = if (if ((cC != bi()))
979+func gZ (cE,cF) = if (if ((cE != bj()))
975980 then true
976- else (cD != bj()))
977- then [IntegerEntry(M, cC), IntegerEntry(N, cD)]
981+ else (cF != bk()))
982+ then [IntegerEntry(N, cE), IntegerEntry(O, cF)]
978983 else nil
979984
980985
981-func gY (cx,cy,gZ,ha,hb,hc,hd,he) = {
982- let cC = bi()
983- let cD = bj()
984- if (((hb - hc) != gZ))
985- then throw(((((("Invalid AMM state data: " + toString(hb)) + " - ") + toString(hc)) + " != ") + toString(gZ)))
986- else (gW(cx, cy) ++ [IntegerEntry(O, gZ), IntegerEntry(R, ha), IntegerEntry(P, hb), IntegerEntry(Q, hc), IntegerEntry(T, hd), IntegerEntry(S, he)])
986+func ha (cz,cA,hb,hc,hd,he,hf,hg) = {
987+ let cE = bj()
988+ let cF = bk()
989+ if (((hd - he) != hb))
990+ then throw(((((("Invalid AMM state data: " + toString(hd)) + " - ") + toString(he)) + " != ") + toString(hb)))
991+ else (gY(cz, cA) ++ [IntegerEntry(P, hb), IntegerEntry(S, hc), IntegerEntry(Q, hd), IntegerEntry(R, he), IntegerEntry(U, hf), IntegerEntry(T, hg)])
987992 }
988993
989994
990-func hf (bU,bV) = {
991- let bW = ((bU + "_") + toString(bV))
992-[DeleteEntry(ae(e, bW)), DeleteEntry(ae(f, bW)), DeleteEntry(ae(g, bW)), DeleteEntry(ae(h, bW)), DeleteEntry(ae(j, bW)), DeleteEntry(ae(k, bW))]
995+func hh (bW,bX) = {
996+ let bY = ((bW + "_") + toString(bX))
997+[DeleteEntry(af(e, bY)), DeleteEntry(af(f, bY)), DeleteEntry(af(g, bY)), DeleteEntry(af(h, bY)), DeleteEntry(af(j, bY)), DeleteEntry(af(k, bY))]
993998 }
994999
9951000
996-func hg (ag,hh) = {
997- let hi = assetBalance(this, aj())
998- if ((hh > hi))
999- then throw(((("Unable to withdraw " + toString(hh)) + " from contract balance ") + toString(hi)))
1000- else [ScriptTransfer(ag, hh, aj())]
1001+func hi (ah,hj) = {
1002+ let hk = assetBalance(this, ak())
1003+ if ((hj > hk))
1004+ then throw(((("Unable to withdraw " + toString(hj)) + " from contract balance ") + toString(hk)))
1005+ else [ScriptTransfer(ah, hj, ak())]
10011006 }
10021007
10031008
1004-func hj (hk) = if ((0 > hk))
1009+func hl (hm) = if ((0 > hm))
10051010 then throw("Balance")
1006- else if (if ((aZ() == 0))
1011+ else if (if ((ba() == 0))
10071012 then true
1008- else (aZ() != hk))
1009- then [IntegerEntry(c, hk)]
1013+ else (ba() != hm))
1014+ then [IntegerEntry(c, hm)]
10101015 else nil
10111016
10121017
1013-func hl (bL) = [ScriptTransfer(ak(), bL, aj())]
1018+func hn (bN) = [ScriptTransfer(al(), bN, ak())]
10141019
10151020
1016-func hm (hn,bL) = if (hn)
1017- then [Burn(valueOrErrorMessage(bL.payments[1].assetId, "Invalid artifact"), 1)]
1021+func ho (hp,bN) = if (hp)
1022+ then [Burn(valueOrErrorMessage(bN.payments[1].assetId, "Invalid artifact"), 1)]
10181023 else nil
10191024
10201025
1021-@Callable(bL)
1022-func pause () = if ((bL.caller != ai()))
1026+@Callable(bN)
1027+func pause () = if ((bN.caller != aj()))
10231028 then throw("Invalid pause params")
10241029 else [BooleanEntry(m, true)]
10251030
10261031
10271032
1028-@Callable(bL)
1029-func unpause () = if ((bL.caller != ai()))
1033+@Callable(bN)
1034+func unpause () = if ((bN.caller != aj()))
10301035 then throw("Invalid unpause params")
10311036 else [BooleanEntry(m, false)]
10321037
10331038
10341039
1035-@Callable(bL)
1036-func setCloseOnly () = if ((bL.caller != ai()))
1040+@Callable(bN)
1041+func setCloseOnly () = if ((bN.caller != aj()))
10371042 then throw("Invalid setCloseOnly params")
10381043 else [BooleanEntry(n, true)]
10391044
10401045
10411046
1042-@Callable(bL)
1043-func unsetCloseOnly () = if ((bL.caller != ai()))
1047+@Callable(bN)
1048+func unsetCloseOnly () = if ((bN.caller != aj()))
10441049 then throw("Invalid unsetCloseOnly params")
10451050 else [BooleanEntry(n, false)]
10461051
10471052
10481053
1049-@Callable(bL)
1050-func changeLiquidity (cs) = if (if ((bL.caller != ai()))
1054+@Callable(bN)
1055+func changeLiquidity (cu) = if (if ((bN.caller != aj()))
10511056 then true
1052- else (cs == 0))
1057+ else (cu == 0))
10531058 then throw("Invalid changeLiquidity params")
10541059 else {
1055- let cx = be()
1056- let cy = bg()
1057- let cC = bi()
1058- let cD = bj()
1059- let ho = aK(aM(cx, cC), aM(cy, cD))
1060- let hp = (cx + cs)
1061- let hq = (aK(aM(hp, cC), ho) - cy)
1062- let hr = (cy + hq)
1063- let hs = fJ(dy(), hp, hr)
1064- let ht = hs._1
1065- let hu = hs._2
1066- let fN = hs._3
1067- let hv = if ((fN != 0))
1060+ let cz = bf()
1061+ let cA = bh()
1062+ let cE = bj()
1063+ let cF = bk()
1064+ let hq = aL(aN(cz, cE), aN(cA, cF))
1065+ let hr = (cz + cu)
1066+ let hs = (aL(aN(hr, cE), hq) - cA)
1067+ let ht = (cA + hs)
1068+ let hu = fL(dA(), hr, ht)
1069+ let hv = hu._1
1070+ let hw = hu._2
1071+ let fP = hu._3
1072+ let hx = if ((fP != 0))
10681073 then {
1069- let hv = invoke(al(), "exchangeFreeAndLocked", [fN], nil)
1070- if ((hv == hv))
1074+ let hx = invoke(am(), "exchangeFreeAndLocked", [fP], nil)
1075+ if ((hx == hx))
10711076 then nil
10721077 else throw("Strict value is not equal to itself.")
10731078 }
10741079 else nil
1075- if ((hv == hv))
1076- then (gW(hp, hr) ++ gX(ht, hu))
1080+ if ((hx == hx))
1081+ then (gY(hr, ht) ++ gZ(hv, hw))
10771082 else throw("Strict value is not equal to itself.")
10781083 }
10791084
10801085
10811086
1082-@Callable(bL)
1083-func changeSettings (gt,gu,gv,gw,eE,gx,gy,gz,gA,dR,gB,gC,gD,gE,gF,hw,hx,gG,gH) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= gw))
1084- then true
1085- else (0 >= gt))
1086- then true
1087- else (gt > ax))
1088- then true
1089- else (0 >= gG))
1090- then true
1091- else (gG > ax))
1092- then true
1093- else (gt > gG))
1094- then true
1095- else (0 >= gu))
1087+@Callable(bN)
1088+func changeSettings (gv,gw,gx,gy,eG,gz,gA,gB,gC,dT,gD,gE,gF,gG,gH,hy,hz,gI,gJ) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= gy))
10961089 then true
10971090 else (0 >= gv))
10981091 then true
1099- else (0 >= eE))
1092+ else (gv > ay))
1093+ then true
1094+ else (0 >= gI))
1095+ then true
1096+ else (gI > ay))
1097+ then true
1098+ else (gv > gI))
1099+ then true
1100+ else (0 >= gw))
11001101 then true
11011102 else (0 >= gx))
11021103 then true
1103- else (0 >= gy))
1104+ else (0 >= eG))
11041105 then true
11051106 else (0 >= gz))
11061107 then true
11071108 else (0 >= gA))
11081109 then true
1109- else (0 >= dR))
1110- then true
11111110 else (0 >= gB))
11121111 then true
1113- else (gB > ax))
1112+ else (0 >= gC))
11141113 then true
1115- else (0 > gC))
1114+ else (0 >= dT))
11161115 then true
11171116 else (0 >= gD))
11181117 then true
1119- else if ((gE != aD))
1120- then (gE != aC)
1118+ else (gD > ay))
1119+ then true
1120+ else (0 > gE))
1121+ then true
1122+ else (0 >= gF))
1123+ then true
1124+ else if ((gG != aE))
1125+ then (gG != aD)
11211126 else false)
11221127 then true
1123- else if ((gF != aE))
1124- then (gF != aF)
1128+ else if ((gH != aF))
1129+ then (gH != aG)
11251130 else false)
11261131 then true
1127- else if ((gH != aG))
1128- then (gH != aH)
1132+ else if ((gJ != aH))
1133+ then (gJ != aI)
11291134 else false)
11301135 then true
1131- else !(cn()))
1136+ else !(cp()))
11321137 then true
1133- else (bL.caller != ai()))
1138+ else (bN.caller != aj()))
11341139 then throw("Invalid changeSettings params")
1135- else (gs(gt, gu, gv, gw, eE, gx, gy, gz, gA, dR, gB, gC, gD, gE, gF, gG, gH) ++ [StringEntry(a, hw), StringEntry(b, hx)])
1140+ else (gu(gv, gw, gx, gy, eG, gz, gA, gB, gC, dT, gD, gE, gF, gG, gH, gI, gJ) ++ [StringEntry(a, hy), StringEntry(b, hz)])
11361141
11371142
11381143
1139-@Callable(bL)
1140-func initialize (cx,cy,gw,gt,gu,gv,eE,hw,hx,hy,gx,gy,gz,gA,dR,gB,gC,gD,gE,gF,gG,gH) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= cx))
1144+@Callable(bN)
1145+func initialize (cz,cA,gy,gv,gw,gx,eG,hy,hz,hA,gz,gA,gB,gC,dT,gD,gE,gF,gG,gH,gI,gJ) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= cz))
11411146 then true
1142- else (0 >= cy))
1147+ else (0 >= cA))
1148+ then true
1149+ else (0 >= gy))
1150+ then true
1151+ else (0 >= gv))
1152+ then true
1153+ else (gv > ay))
1154+ then true
1155+ else (0 >= gI))
1156+ then true
1157+ else (gI > ay))
1158+ then true
1159+ else (gv > gI))
11431160 then true
11441161 else (0 >= gw))
11451162 then true
1146- else (0 >= gt))
1147- then true
1148- else (gt > ax))
1149- then true
1150- else (0 >= gG))
1151- then true
1152- else (gG > ax))
1153- then true
1154- else (gt > gG))
1155- then true
1156- else (0 >= gu))
1157- then true
1158- else (0 >= gv))
1159- then true
1160- else (0 >= eE))
1161- then true
11621163 else (0 >= gx))
11631164 then true
1164- else (0 >= gy))
1165+ else (0 >= eG))
11651166 then true
11661167 else (0 >= gz))
11671168 then true
11681169 else (0 >= gA))
11691170 then true
1170- else (0 >= dR))
1171- then true
11721171 else (0 >= gB))
11731172 then true
1174- else (gB > ax))
1173+ else (0 >= gC))
11751174 then true
1176- else (0 > gC))
1175+ else (0 >= dT))
11771176 then true
11781177 else (0 >= gD))
11791178 then true
1180- else if ((gE != aD))
1181- then (gE != aC)
1179+ else (gD > ay))
1180+ then true
1181+ else (0 > gE))
1182+ then true
1183+ else (0 >= gF))
1184+ then true
1185+ else if ((gG != aE))
1186+ then (gG != aD)
11821187 else false)
11831188 then true
1184- else if ((gF != aE))
1185- then (gF != aF)
1189+ else if ((gH != aF))
1190+ then (gH != aG)
11861191 else false)
11871192 then true
1188- else if ((gH != aG))
1189- then (gH != aH)
1193+ else if ((gJ != aH))
1194+ then (gJ != aI)
11901195 else false)
11911196 then true
1192- else cn())
1197+ else cp())
11931198 then true
1194- else (bL.caller != this))
1199+ else (bN.caller != this))
11951200 then throw("Invalid initialize parameters")
1196- else ((((gY(cx, cy, 0, 0, 0, 0, 0, 0) ++ gs(gt, gu, gv, gw, eE, gx, gy, gz, gA, dR, gB, gC, gD, gE, gF, gG, gH)) ++ gI((bJ() + gw), 0, 0, 0, 0)) ++ hj(0)) ++ [BooleanEntry(l, true), StringEntry(a, hw), StringEntry(b, hx), StringEntry(V, toString(addressFromStringValue(hy)))])
1201+ else ((((ha(cz, cA, 0, 0, 0, 0, 0, 0) ++ gu(gv, gw, gx, gy, eG, gz, gA, gB, gC, dT, gD, gE, gF, gG, gH, gI, gJ)) ++ gK((bL() + gy), 0, 0, 0, 0)) ++ hl(0)) ++ [BooleanEntry(l, true), StringEntry(a, hy), StringEntry(b, hz), StringEntry(W, toString(addressFromStringValue(hA)))])
11971202
11981203
11991204
1200-@Callable(bL)
1201-func increasePosition (bV,hz,hA,hB,hC) = {
1202- let hD = invoke(this, "updateOracle", [hC], nil)
1203- if ((hD == hD))
1205+@Callable(bN)
1206+func increasePosition (bX,hB,hC,hD,hE) = {
1207+ let hF = invoke(this, "updateOracle", [hE], nil)
1208+ if ((hF == hF))
12041209 then {
1205- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1206- if ((hE == hE))
1210+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1211+ if ((hG == hG))
12071212 then {
1208- let hF = invoke(this, "ensureCalledOnce", nil, nil)
1209- if ((hF == hF))
1213+ let hH = invoke(this, "ensureCalledOnce", nil, nil)
1214+ if ((hH == hH))
12101215 then {
1211- let bU = bK(bL)
1212- let hG = bL.payments[0].amount
1213- let hH = bL.payments[0].assetId
1214- let hI = toBase58String(value(hH))
1215- let hJ = (hH == aj())
1216- if (if (if (if (if (if (if (if (if (if (if ((bV != at))
1217- then (bV != au)
1216+ let bW = bM(bN)
1217+ let hI = bN.payments[0].amount
1218+ let hJ = bN.payments[0].assetId
1219+ let hK = toBase58String(value(hJ))
1220+ let hL = (hJ == ak())
1221+ if (if (if (if (if (if (if (if (if (if (if ((bX != au))
1222+ then (bX != av)
12181223 else false)
12191224 then true
1220- else (0 >= hG))
1225+ else (0 >= hI))
12211226 then true
1222- else !(cn()))
1227+ else !(cp()))
12231228 then true
1224- else !(hJ))
1229+ else !(hL))
12251230 then true
1226- else !(bM(aK(ax, hz), bc(), true)))
1231+ else !(bO(aL(ay, hB), bd(), true)))
12271232 then true
1228- else !(bM(aK(ax, hz), bd(), false)))
1233+ else !(bO(aL(ay, hB), be(), false)))
12291234 then true
1230- else !(dS(bL.caller)))
1235+ else !(dU(bN.caller)))
12311236 then true
1232- else co())
1237+ else cq())
12331238 then true
1234- else cp())
1239+ else cr())
12351240 then true
1236- else dE())
1241+ else dG())
12371242 then throw("Invalid increasePosition parameters")
12381243 else {
1239- let hK = gh(bU, gm(bL))
1240- let gf = hK._1
1241- let gg = hK._2
1242- let hh = aK(hG, (aM(gf, hz) + ax))
1243- let hL = (hG - hh)
1244- let hM = invoke(ao(), "acceptPaymentWithLink", [bU, hB], [AttachedPayment(aj(), hL)])
1245- if ((hM == hM))
1244+ let hM = gj(bW, go(bN))
1245+ let gh = hM._1
1246+ let gi = hM._2
1247+ let hj = aL(hI, (aN(gh, hB) + ay))
1248+ let hN = (hI - hj)
1249+ let hO = invoke(ap(), "acceptPaymentWithLink", [bW, hD], [AttachedPayment(ak(), hN)])
1250+ if ((hO == hO))
12461251 then {
1247- let hN = {
1248- let bY = hM
1249- if ($isInstanceOf(bY, "Int"))
1252+ let hP = {
1253+ let ca = hO
1254+ if ($isInstanceOf(ca, "Int"))
12501255 then {
1251- let gk = bY
1252- gk
1256+ let gm = ca
1257+ gm
12531258 }
12541259 else throw("Invalid referrerFee")
12551260 }
1256- let hO = (hL - hN)
1257- let hP = bT(bU, bV)
1258- let eJ = hP._1
1259- let eK = hP._2
1260- let eL = hP._3
1261- let eM = hP._4
1262- let eN = hP._5
1263- let hQ = (eJ == 0)
1264- let hR = if ((eJ > 0))
1265- then (bV == at)
1266- else (bV == au)
1267- let hS = if (!(hQ))
1268- then hR
1261+ let hQ = (hN - hP)
1262+ let hR = bV(bW, bX)
1263+ let eL = hR._1
1264+ let eM = hR._2
1265+ let eN = hR._3
1266+ let eO = hR._4
1267+ let eP = hR._5
1268+ let hS = (eL == 0)
1269+ let hT = if ((eL > 0))
1270+ then (bX == au)
1271+ else (bX == av)
1272+ let hU = if (!(hS))
1273+ then hT
12691274 else false
1270- let hT = (bV == at)
1271- let hU = if (if (hQ)
1275+ let hV = (bX == au)
1276+ let hW = if (if (hS)
12721277 then true
1273- else hS)
1278+ else hU)
12741279 then {
1275- let hV = aM(hh, hz)
1276- let hW = cB(hT, hV)
1277- let cI = hW._1
1278- let cF = hW._2
1279- let cG = hW._3
1280- let eT = hW._4
1281- if (if ((hA != 0))
1282- then (hA > aP(cI))
1280+ let hX = aN(hj, hB)
1281+ let hY = cD(hV, hX)
1282+ let cK = hY._1
1283+ let cH = hY._2
1284+ let cI = hY._3
1285+ let eV = hY._4
1286+ if (if ((hC != 0))
1287+ then (hC > aQ(cK))
12831288 else false)
1284- then throw(((("Limit error: " + toString(aP(cI))) + " < ") + toString(hA)))
1289+ then throw(((("Limit error: " + toString(aQ(cK))) + " < ") + toString(hC)))
12851290 else {
1286- let fh = (eJ + cI)
1287- let hX = (bn() + (if ((fh > 0))
1288- then hV
1291+ let fj = (eL + cK)
1292+ let hZ = (bo() + (if ((fj > 0))
1293+ then hX
12891294 else 0))
1290- let hY = (bm() + (if ((0 > fh))
1291- then hV
1295+ let ia = (bn() + (if ((0 > fj))
1296+ then hX
12921297 else 0))
1293- let hZ = cX(eJ, eK, eM, eN, hh)
1294- let df = hZ._1
1295- let fb = hZ._2
1296- let fc = hZ._3
1297- let cW = hZ._4
1298- if (!(dK(cF, cG)))
1298+ let ib = cZ(eL, eM, eO, eP, hj)
1299+ let dh = ib._1
1300+ let fd = ib._2
1301+ let fe = ib._3
1302+ let cY = ib._4
1303+ if (!(dM(cH, cI)))
12991304 then throw("Over max spread limit")
1300- else if (!(dO(hX, hY)))
1305+ else if (!(dQ(hZ, ia)))
13011306 then throw("Over max open notional")
1302- else $Tuple14(fh, df, (eL + hV), bR(fh), bJ(), cG, cF, eT, (bl() + hV), (bC() + (if ((fh > 0))
1303- then aP(cI)
1304- else 0)), (bB() + (if ((0 > fh))
1305- then aP(cI)
1306- else 0)), hX, hY, cW)
1307+ else $Tuple14(fj, dh, (eN + hX), bT(fj), bL(), cI, cH, eV, (bm() + hX), (bD() + (if ((fj > 0))
1308+ then aQ(cK)
1309+ else 0)), (bC() + (if ((0 > fj))
1310+ then aQ(cK)
1311+ else 0)), hZ, ia, cY)
13071312 }
13081313 }
13091314 else {
1310- let hV = aM(hh, hz)
1311- let ia = eg(toString(bL.caller), bV, aA)
1312- let eW = ia._1
1313- let ef = ia._2
1314- if ((eW > hV))
1315+ let hX = aN(hj, hB)
1316+ let ic = ei(toString(bN.caller), bX, aB)
1317+ let eY = ic._1
1318+ let eh = ic._2
1319+ if ((eY > hX))
13151320 then throw("Use decreasePosition to decrease position size")
13161321 else throw("Close position first")
13171322 }
1318- let fh = hU._1
1319- let ib = hU._2
1320- let fj = hU._3
1321- let ic = hU._4
1322- let id = hU._5
1323- let cG = hU._6
1324- let cF = hU._7
1325- let eT = hU._8
1326- let ie = hU._9
1327- let if = hU._10
1328- let ig = hU._11
1329- let hX = hU._12
1330- let hY = hU._13
1331- let cW = hU._14
1332- let ih = go((hO + cW))
1333- let gq = ih._1
1334- let gr = ih._2
1335- let ii = if ((hh >= cW))
1336- then invoke(al(), "addLocked", nil, [AttachedPayment(aj(), (hh - cW))])
1337- else invoke(al(), "withdrawLocked", [(cW - hh)], nil)
1338- if ((ii == ii))
1323+ let fj = hW._1
1324+ let id = hW._2
1325+ let fl = hW._3
1326+ let ie = hW._4
1327+ let if = hW._5
1328+ let cI = hW._6
1329+ let cH = hW._7
1330+ let eV = hW._8
1331+ let ig = hW._9
1332+ let ih = hW._10
1333+ let ii = hW._11
1334+ let hZ = hW._12
1335+ let ia = hW._13
1336+ let cY = hW._14
1337+ let ij = gq((hQ + cY))
1338+ let gs = ij._1
1339+ let gt = ij._2
1340+ let ik = if ((hj >= cY))
1341+ then invoke(am(), "addLocked", nil, [AttachedPayment(ak(), (hj - cY))])
1342+ else invoke(am(), "withdrawLocked", [(cY - hj)], nil)
1343+ if ((ik == ik))
13391344 then {
1340- let ij = invoke(al(), "addFree", nil, [AttachedPayment(aj(), gr)])
1341- if ((ij == ij))
1345+ let il = invoke(am(), "addFree", nil, [AttachedPayment(ak(), gt)])
1346+ if ((il == il))
13421347 then {
1343- let ik = invoke(am(), "notifyFees", [bU, hO], nil)
1344- if ((ik == ik))
1348+ let im = invoke(an(), "notifyFees", [bW, hQ], nil)
1349+ if ((im == im))
13451350 then {
1346- let il = invoke(am(), "notifyNotional", [bU, fj], nil)
1347- if ((il == il))
1348- then ((((((gS(bU, fh, ib, fj, ic, id) ++ gO(hQ, bU, bV)) ++ gR(hQ, bU, bV, gf)) ++ gY(cF, cG, eT, ie, if, ig, hX, hY)) ++ hl(gq)) ++ hj(((aY() + hh) - cW))) ++ hm(gg, bL))
1351+ let in = invoke(an(), "notifyNotional", [bW, fl], nil)
1352+ if ((in == in))
1353+ then ((((((gU(bW, fj, id, fl, ie, if) ++ gQ(hS, bW, bX)) ++ gT(hS, bW, bX, gh)) ++ ha(cH, cI, eV, ig, ih, ii, hZ, ia)) ++ hn(gs)) ++ hl(((aZ() + hj) - cY))) ++ ho(gi, bN))
13491354 else throw("Strict value is not equal to itself.")
13501355 }
13511356 else throw("Strict value is not equal to itself.")
13661371
13671372
13681373
1369-@Callable(bL)
1370-func addMargin (bV,hC) = {
1371- let hD = invoke(this, "updateOracle", [hC], nil)
1372- if ((hD == hD))
1374+@Callable(bN)
1375+func addMargin (bX,hE) = {
1376+ let hF = invoke(this, "updateOracle", [hE], nil)
1377+ if ((hF == hF))
13731378 then {
1374- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1375- if ((hE == hE))
1379+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1380+ if ((hG == hG))
13761381 then {
1377- let hF = invoke(this, "ensureCalledOnce", nil, nil)
1378- if ((hF == hF))
1382+ let hH = invoke(this, "ensureCalledOnce", nil, nil)
1383+ if ((hH == hH))
13791384 then {
1380- let bU = toString(bL.caller)
1381- let hh = bL.payments[0].amount
1382- let hH = bL.payments[0].assetId
1383- let hI = toBase58String(value(hH))
1384- let hJ = (hH == aj())
1385- if (if (if (if (if (!(hJ))
1385+ let bW = toString(bN.caller)
1386+ let hj = bN.payments[0].amount
1387+ let hJ = bN.payments[0].assetId
1388+ let hK = toBase58String(value(hJ))
1389+ let hL = (hJ == ak())
1390+ if (if (if (if (if (!(hL))
13861391 then true
1387- else !(ce(toString(bL.caller), bV)))
1392+ else !(cg(toString(bN.caller), bX)))
13881393 then true
1389- else !(cn()))
1394+ else !(cp()))
13901395 then true
1391- else co())
1396+ else cq())
13921397 then true
1393- else dE())
1398+ else dG())
13941399 then throw("Invalid addMargin parameters")
13951400 else {
1396- let im = bT(bU, bV)
1397- let eJ = im._1
1398- let eK = im._2
1399- let eL = im._3
1400- let eM = im._4
1401- let eN = im._5
1402- let ii = invoke(al(), "addLocked", nil, [AttachedPayment(aj(), hh)])
1403- if ((ii == ii))
1401+ let io = bV(bW, bX)
1402+ let eL = io._1
1403+ let eM = io._2
1404+ let eN = io._3
1405+ let eO = io._4
1406+ let eP = io._5
1407+ let ik = invoke(am(), "addLocked", nil, [AttachedPayment(ak(), hj)])
1408+ if ((ik == ik))
14041409 then {
1405- let in = cX(eJ, eK, eM, eN, hh)
1406- let df = in._1
1407- let dg = in._2
1408- let cW = in._3
1409- let fm = el(df, dg, eL)
1410- let io = bM(fm, bd(), false)
1411- if ((io == io))
1410+ let ip = cZ(eL, eM, eO, eP, hj)
1411+ let dh = ip._1
1412+ let di = ip._2
1413+ let cY = ip._3
1414+ let fo = en(dh, di, eN)
1415+ let iq = bO(fo, be(), false)
1416+ if ((iq == iq))
14121417 then {
1413- let ip = if ((cW > 0))
1418+ let ir = if ((cY > 0))
14141419 then {
1415- let iq = go(cW)
1416- let gq = iq._1
1417- let gr = iq._2
1418- let ir = invoke(al(), "withdrawLocked", [gq], nil)
1419- if ((ir == ir))
1420+ let is = gq(cY)
1421+ let gs = is._1
1422+ let gt = is._2
1423+ let it = invoke(am(), "withdrawLocked", [gs], nil)
1424+ if ((it == it))
14201425 then {
1421- let is = invoke(al(), "exchangeFreeAndLocked", [-(gr)], nil)
1422- if ((is == is))
1423- then hl(gq)
1426+ let iu = invoke(am(), "exchangeFreeAndLocked", [-(gt)], nil)
1427+ if ((iu == iu))
1428+ then hn(gs)
14241429 else throw("Strict value is not equal to itself.")
14251430 }
14261431 else throw("Strict value is not equal to itself.")
14271432 }
14281433 else nil
1429- if ((ip == ip))
1430- then ((gS(bU, eJ, ((eK - cW) + hh), eL, eM, bJ()) ++ hj(((aY() + hh) - cW))) ++ ip)
1434+ if ((ir == ir))
1435+ then ((gU(bW, eL, ((eM - cY) + hj), eN, eO, bL()) ++ hl(((aZ() + hj) - cY))) ++ ir)
14311436 else throw("Strict value is not equal to itself.")
14321437 }
14331438 else throw("Strict value is not equal to itself.")
14441449
14451450
14461451
1447-@Callable(bL)
1448-func removeMargin (hh,bV,hC) = {
1449- let hD = invoke(this, "updateOracle", [hC], nil)
1450- if ((hD == hD))
1452+@Callable(bN)
1453+func removeMargin (hj,bX,hE) = {
1454+ let hF = invoke(this, "updateOracle", [hE], nil)
1455+ if ((hF == hF))
14511456 then {
1452- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1453- if ((hE == hE))
1457+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1458+ if ((hG == hG))
14541459 then {
1455- let hF = invoke(this, "ensureCalledOnce", nil, nil)
1456- if ((hF == hF))
1460+ let hH = invoke(this, "ensureCalledOnce", nil, nil)
1461+ if ((hH == hH))
14571462 then {
1458- let bU = toString(bL.caller)
1459- if (if (if (if (if ((0 >= hh))
1463+ let bW = toString(bN.caller)
1464+ if (if (if (if (if ((0 >= hj))
14601465 then true
1461- else !(ce(bU, bV)))
1466+ else !(cg(bW, bX)))
14621467 then true
1463- else !(cn()))
1468+ else !(cp()))
14641469 then true
1465- else co())
1470+ else cq())
14661471 then true
1467- else dE())
1472+ else dG())
14681473 then throw("Invalid removeMargin parameters")
14691474 else {
1470- let it = bT(bU, bV)
1471- let eJ = it._1
1472- let eK = it._2
1473- let eL = it._3
1474- let eM = it._4
1475- let eN = it._5
1476- let iu = cX(eJ, eK, eM, eN, -(hh))
1477- let df = iu._1
1478- let dg = iu._2
1479- let db = iu._3
1480- let cW = iu._4
1481- if ((dg != 0))
1475+ let iv = bV(bW, bX)
1476+ let eL = iv._1
1477+ let eM = iv._2
1478+ let eN = iv._3
1479+ let eO = iv._4
1480+ let eP = iv._5
1481+ let iw = cZ(eL, eM, eO, eP, -(hj))
1482+ let dh = iw._1
1483+ let di = iw._2
1484+ let dd = iw._3
1485+ let cY = iw._4
1486+ if ((di != 0))
14821487 then throw("Invalid removed margin amount")
14831488 else {
1484- let fm = el(df, dg, eL)
1485- if (!(bM(fm, bc(), true)))
1486- then throw(((("Too much margin removed: " + toString(fm)) + " < ") + toString(bc())))
1489+ let fo = en(dh, di, eN)
1490+ if (!(bO(fo, bd(), true)))
1491+ then throw(((("Too much margin removed: " + toString(fo)) + " < ") + toString(bd())))
14871492 else {
1488- let iv = go(cW)
1489- let gq = iv._1
1490- let gr = iv._2
1491- let ip = if ((cW > 0))
1493+ let ix = gq(cY)
1494+ let gs = ix._1
1495+ let gt = ix._2
1496+ let ir = if ((cY > 0))
14921497 then {
1493- let is = invoke(al(), "exchangeFreeAndLocked", [-(gr)], nil)
1494- if ((is == is))
1495- then hl(gq)
1498+ let iu = invoke(am(), "exchangeFreeAndLocked", [-(gt)], nil)
1499+ if ((iu == iu))
1500+ then hn(gs)
14961501 else throw("Strict value is not equal to itself.")
14971502 }
14981503 else nil
1499- if ((ip == ip))
1504+ if ((ir == ir))
15001505 then {
1501- let ir = invoke(al(), "withdrawLocked", [(hh + gq)], nil)
1502- if ((ir == ir))
1503- then (((gS(bU, eJ, df, eL, bR(eJ), bJ()) ++ hg(bL.caller, hh)) ++ hj(((aY() - hh) - cW))) ++ ip)
1506+ let it = invoke(am(), "withdrawLocked", [(hj + gs)], nil)
1507+ if ((it == it))
1508+ then (((gU(bW, eL, dh, eN, bT(eL), bL()) ++ hi(bN.caller, hj)) ++ hl(((aZ() - hj) - cY))) ++ ir)
15041509 else throw("Strict value is not equal to itself.")
15051510 }
15061511 else throw("Strict value is not equal to itself.")
15171522
15181523
15191524
1520-@Callable(bL)
1521-func closePosition (eD,bV,eF,eG,hC) = {
1522- let hD = invoke(this, "updateOracle", [hC], nil)
1523- if ((hD == hD))
1525+@Callable(bN)
1526+func closePosition (eF,bX,eH,eI,hE) = {
1527+ let hF = invoke(this, "updateOracle", [hE], nil)
1528+ if ((hF == hF))
15241529 then {
1525- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1526- if ((hE == hE))
1530+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1531+ if ((hG == hG))
15271532 then {
1528- let hF = invoke(this, "ensureCalledOnce", nil, nil)
1529- if ((hF == hF))
1533+ let hH = invoke(this, "ensureCalledOnce", nil, nil)
1534+ if ((hH == hH))
15301535 then {
1531- let bU = bK(bL)
1532- let iw = valueOrErrorMessage(addressFromString(bU), "Invalid caller")
1533- let cd = cb(bU, bV)
1534- if (if (if (if (if (if (!(ce(bU, bV)))
1536+ let bW = bM(bN)
1537+ let iy = valueOrErrorMessage(addressFromString(bW), "Invalid caller")
1538+ let cf = cd(bW, bX)
1539+ if (if (if (if (if (if (!(cg(bW, bX)))
15351540 then true
1536- else !(cn()))
1541+ else !(cp()))
15371542 then true
1538- else co())
1543+ else cq())
15391544 then true
1540- else (0 >= eD))
1545+ else (0 >= eF))
15411546 then true
1542- else (0 > eF))
1547+ else (0 > eH))
15431548 then true
1544- else dE())
1549+ else dG())
15451550 then throw("Invalid closePosition parameters")
15461551 else {
1547- let eN = bT(bU, bV)._5
1548- let ix = eC(bU, bV, eD, cd, eF, eG, true, true)
1549- let fh = ix._1
1550- let fq = ix._2
1551- let fj = ix._3
1552- let fk = ix._4
1553- let fd = ix._5
1554- let eY = ix._6
1555- let fp = ix._7
1556- let cF = ix._8
1557- let cG = ix._9
1558- let eT = ix._10
1559- let ie = ix._11
1560- let if = ix._12
1561- let ig = ix._13
1562- let hX = ix._14
1563- let hY = ix._15
1564- let iy = ix._16
1565- if ((fd > 0))
1552+ let eP = bV(bW, bX)._5
1553+ let iz = eE(bW, bX, eF, cf, eH, eI, true, true)
1554+ let fj = iz._1
1555+ let fs = iz._2
1556+ let fl = iz._3
1557+ let fm = iz._4
1558+ let ff = iz._5
1559+ let fa = iz._6
1560+ let fr = iz._7
1561+ let cH = iz._8
1562+ let cI = iz._9
1563+ let eV = iz._10
1564+ let ig = iz._11
1565+ let ih = iz._12
1566+ let ii = iz._13
1567+ let hZ = iz._14
1568+ let ia = iz._15
1569+ let iA = iz._16
1570+ if ((ff > 0))
15661571 then throw("Invalid closePosition parameters: bad debt")
1567- else if ((eN >= bJ()))
1572+ else if ((eP >= bL()))
15681573 then throw("Invalid closePosition parameters: wait at least 1 block before closing the position")
15691574 else {
1570- let eQ = (fh != 0)
1571- let iz = (fp + iy)
1572- let iA = (aY() - iz)
1573- let iB = if ((0 > iA))
1575+ let eS = (fj != 0)
1576+ let iB = (fr + iA)
1577+ let iC = (aZ() - iB)
1578+ let iD = if ((0 > iC))
15741579 then 0
1575- else iA
1576- let ir = invoke(al(), "withdrawLocked", [iz], nil)
1577- if ((ir == ir))
1580+ else iC
1581+ let it = invoke(am(), "withdrawLocked", [iB], nil)
1582+ if ((it == it))
15781583 then {
1579- let hM = invoke(ao(), "acceptPayment", [bU], [AttachedPayment(aj(), iy)])
1580- if ((hM == hM))
1584+ let hO = invoke(ap(), "acceptPayment", [bW], [AttachedPayment(ak(), iA)])
1585+ if ((hO == hO))
15811586 then {
1582- let hN = {
1583- let bY = hM
1584- if ($isInstanceOf(bY, "Int"))
1587+ let hP = {
1588+ let ca = hO
1589+ if ($isInstanceOf(ca, "Int"))
15851590 then {
1586- let gk = bY
1587- gk
1591+ let gm = ca
1592+ gm
15881593 }
15891594 else throw("Invalid referrerFee")
15901595 }
1591- let iC = go((iy - hN))
1592- let gq = iC._1
1593- let gr = iC._2
1594- let ij = invoke(al(), "addFree", nil, [AttachedPayment(aj(), gr)])
1595- if ((ij == ij))
1596+ let iE = gq((iA - hP))
1597+ let gs = iE._1
1598+ let gt = iE._2
1599+ let il = invoke(am(), "addFree", nil, [AttachedPayment(ak(), gt)])
1600+ if ((il == il))
15961601 then {
1597- let ik = invoke(am(), "notifyFees", [bU, iy], nil)
1598- if ((ik == ik))
1602+ let im = invoke(an(), "notifyFees", [bW, iA], nil)
1603+ if ((im == im))
15991604 then {
1600- let il = invoke(am(), "notifyNotional", [bU, fj], nil)
1601- if ((il == il))
1602- then (((((if (eQ)
1603- then gS(bU, fh, fq, fj, fk, bJ())
1604- else hf(bU, bV)) ++ gY(cF, cG, eT, ie, if, ig, hX, hY)) ++ (if ((fp > 0))
1605- then hg(iw, fp)
1606- else nil)) ++ hj(iB)) ++ hl(gq))
1605+ let in = invoke(an(), "notifyNotional", [bW, fl], nil)
1606+ if ((in == in))
1607+ then (((((if (eS)
1608+ then gU(bW, fj, fs, fl, fm, bL())
1609+ else hh(bW, bX)) ++ ha(cH, cI, eV, ig, ih, ii, hZ, ia)) ++ (if ((fr > 0))
1610+ then hi(iy, fr)
1611+ else nil)) ++ hl(iD)) ++ hn(gs))
16071612 else throw("Strict value is not equal to itself.")
16081613 }
16091614 else throw("Strict value is not equal to itself.")
16251630
16261631
16271632
1628-@Callable(bL)
1629-func liquidate (bU,bV,hC) = {
1630- let hD = invoke(this, "updateOracle", [hC], nil)
1631- if ((hD == hD))
1633+@Callable(bN)
1634+func liquidate (bW,bX,hE) = {
1635+ let hF = invoke(this, "updateOracle", [hE], nil)
1636+ if ((hF == hF))
16321637 then {
1633- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1634- if ((hE == hE))
1638+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1639+ if ((hG == hG))
16351640 then {
1636- let iD = ep(bU, bV, aA)
1637- let iE = if (dV())
1641+ let iF = er(bW, bX, aB)
1642+ let iG = if (dX())
16381643 then {
1639- let iF = ep(bU, bV, aB)
1640- aQ(iD, iF)
1644+ let iH = er(bW, bX, aC)
1645+ aR(iF, iH)
16411646 }
1642- else iD
1643- if (if (if (if (if (!(bM(iE, bs(), false)))
1647+ else iF
1648+ if (if (if (if (if (!(bO(iG, bt(), false)))
16441649 then true
1645- else !(ce(bU, bV)))
1650+ else !(cg(bW, bX)))
16461651 then true
1647- else !(cn()))
1652+ else !(cp()))
16481653 then true
1649- else co())
1654+ else cq())
16501655 then true
1651- else dE())
1656+ else dG())
16521657 then throw("Unable to liquidate")
16531658 else {
1654- let iG = if (if ((iD > bt()))
1655- then (bu() > 0)
1659+ let eL = bV(bW, bX)._1
1660+ let eb = aQ(eL)
1661+ let iI = if (if (if ((iF > bu()))
1662+ then (bv() > 0)
16561663 else false)
1657- then (ax > bu())
1664+ then (ay > bv())
1665+ else false)
1666+ then (aN(eb, dW()) > bK())
16581667 else false
1659- let eJ = bT(bU, bV)._1
1660- let dZ = aP(eJ)
1661- let iH = if (iG)
1668+ let iJ = if (iI)
16621669 then {
1663- let iI = ex(bU, eJ)
1664- let iJ = aK(aP(iI), dZ)
1665- $Tuple2(iJ, aP(iI))
1670+ let iK = aQ(ez(bW, eL))
1671+ let iL = aL(iK, eb)
1672+ let iM = aN(iK, dW())
1673+ $Tuple2(iL, iK)
16661674 }
1667- else $Tuple2(0, dZ)
1668- let iJ = iH._1
1669- let iI = iH._2
1670- let iK = eC(bU, bV, if (iG)
1671- then iI
1672- else dZ, bt(), 0, true, false, true)
1673- let fh = iK._1
1674- let fq = iK._2
1675- let fj = iK._3
1676- let fk = iK._4
1677- let fd = iK._5
1678- let eY = iK._6
1679- let fp = iK._7
1680- let cF = iK._8
1681- let cG = iK._9
1682- let eT = iK._10
1683- let ie = iK._11
1684- let if = iK._12
1685- let ig = iK._13
1686- let hX = iK._14
1687- let hY = iK._15
1688- let iL = iK._16
1689- let iM = (iL / 2)
1690- let gr = (iL - iM)
1691- let iA = (aY() - iL)
1692- let iN = if ((0 > iA))
1675+ else $Tuple2(0, eb)
1676+ let iL = iJ._1
1677+ let iK = iJ._2
1678+ let iN = eE(bW, bX, if (iI)
1679+ then iK
1680+ else eb, bu(), 0, true, false, true)
1681+ let fj = iN._1
1682+ let fs = iN._2
1683+ let fl = iN._3
1684+ let fm = iN._4
1685+ let ff = iN._5
1686+ let fa = iN._6
1687+ let fr = iN._7
1688+ let cH = iN._8
1689+ let cI = iN._9
1690+ let eV = iN._10
1691+ let ig = iN._11
1692+ let ih = iN._12
1693+ let ii = iN._13
1694+ let hZ = iN._14
1695+ let ia = iN._15
1696+ let iO = iN._16
1697+ let iP = (iO / 2)
1698+ let gt = (iO - iP)
1699+ let iC = (aZ() - iO)
1700+ let iQ = if ((0 > iC))
16931701 then 0
1694- else iA
1695- let is = if ((fd > 0))
1702+ else iC
1703+ let iu = if ((ff > 0))
16961704 then {
1697- let is = invoke(al(), "exchangeFreeAndLocked", [(fd + iL)], nil)
1698- if ((is == is))
1705+ let iu = invoke(am(), "exchangeFreeAndLocked", [(ff + iO)], nil)
1706+ if ((iu == iu))
16991707 then nil
17001708 else throw("Strict value is not equal to itself.")
17011709 }
17021710 else nil
1703- if ((is == is))
1711+ if ((iu == iu))
17041712 then {
1705- let ir = invoke(al(), "withdrawLocked", [iL], nil)
1706- if ((ir == ir))
1713+ let it = invoke(am(), "withdrawLocked", [iO], nil)
1714+ if ((it == it))
17071715 then {
1708- let iO = invoke(al(), "addFree", nil, [AttachedPayment(aj(), gr)])
1709- if ((iO == iO))
1716+ let iR = invoke(am(), "addFree", nil, [AttachedPayment(ak(), gt)])
1717+ if ((iR == iR))
17101718 then {
1711- let il = invoke(am(), "notifyNotional", [bU, fj], nil)
1712- if ((il == il))
1713- then ((((if (iG)
1714- then gS(bU, fh, fq, fj, fk, bJ())
1715- else hf(bU, bV)) ++ gY(cF, cG, eT, ie, if, ig, hX, hY)) ++ hg(bL.caller, iM)) ++ hj(iN))
1719+ let in = invoke(an(), "notifyNotional", [bW, fl], nil)
1720+ if ((in == in))
1721+ then ((((if (iI)
1722+ then gU(bW, fj, fs, fl, fm, bL())
1723+ else hh(bW, bX)) ++ ha(cH, cI, eV, ig, ih, ii, hZ, ia)) ++ hi(bN.caller, iP)) ++ hl(iQ))
17161724 else throw("Strict value is not equal to itself.")
17171725 }
17181726 else throw("Strict value is not equal to itself.")
17291737
17301738
17311739
1732-@Callable(bL)
1733-func payFunding (hC) = {
1734- let hD = invoke(this, "updateOracle", [hC], nil)
1735- if ((hD == hD))
1740+@Callable(bN)
1741+func payFunding (hE) = {
1742+ let hF = invoke(this, "updateOracle", [hE], nil)
1743+ if ((hF == hF))
17361744 then {
1737- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1738- if ((hE == hE))
1745+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1746+ if ((hG == hG))
17391747 then {
1740- let iP = bo()
1741- if (if (if ((iP > bJ()))
1748+ let iS = bp()
1749+ if (if (if ((iS > bL()))
17421750 then true
1743- else !(cn()))
1751+ else !(cp()))
17441752 then true
1745- else co())
1746- then throw(((("Invalid funding block timestamp: " + toString(bJ())) + " < ") + toString(iP)))
1753+ else cq())
1754+ then throw(((("Invalid funding block timestamp: " + toString(bL())) + " < ") + toString(iS)))
17471755 else {
1748- let fP = dy()
1749- let iQ = fO()
1750- let fS = iQ._1
1751- let fT = iQ._2
1752- let fW = iQ._3
1753- let iR = if ((fW > 0))
1756+ let fR = dA()
1757+ let iT = fQ()
1758+ let fU = iT._1
1759+ let fV = iT._2
1760+ let fY = iT._3
1761+ let iU = if ((fY > 0))
17541762 then {
1755- let iR = invoke(al(), "exchangeFreeAndLocked", [-(fW)], nil)
1756- if ((iR == iR))
1763+ let iU = invoke(am(), "exchangeFreeAndLocked", [-(fY)], nil)
1764+ if ((iU == iU))
17571765 then nil
17581766 else throw("Strict value is not equal to itself.")
17591767 }
17601768 else nil
1761- if ((iR == iR))
1762- then gI((iP + br()), (bz() + fT), (bA() + fS), aK(fT, fP), aK(fS, fP))
1769+ if ((iU == iU))
1770+ then gK((iS + bs()), (bA() + fV), (bB() + fU), aL(fV, fR), aL(fU, fR))
17631771 else throw("Strict value is not equal to itself.")
17641772 }
17651773 }
17701778
17711779
17721780
1773-@Callable(bL)
1774-func updateOracle (hC) = if ((bH() == aE))
1781+@Callable(bN)
1782+func updateOracle (hE) = if ((bI() == aF))
17751783 then nil
17761784 else {
1777- let iS = split_4C(hC, "::")
1778- let dz = valueOrErrorMessage(cf(a), "No base asset oracle data")
1779- let iT = dz._1
1780- let iU = invoke(iT, "updateData", [iS[0]], nil)
1781- if ((iU == iU))
1785+ let iV = split_4C(hE, "::")
1786+ let dB = valueOrErrorMessage(ch(a), "No base asset oracle data")
1787+ let iW = dB._1
1788+ let iX = invoke(iW, "updateData", [iV[0]], nil)
1789+ if ((iX == iX))
17821790 then {
1783- let dB = cf(b)
1784- let iV = if (isDefined(dB))
1791+ let dD = ch(b)
1792+ let iY = if (isDefined(dD))
17851793 then {
1786- let dD = value(dB)
1787- let iW = dD._1
1788- let iV = invoke(iW, "updateData", [iS[1]], nil)
1789- if ((iV == iV))
1794+ let dF = value(dD)
1795+ let iZ = dF._1
1796+ let iY = invoke(iZ, "updateData", [iV[1]], nil)
1797+ if ((iY == iY))
17901798 then nil
17911799 else throw("Strict value is not equal to itself.")
17921800 }
17931801 else nil
1794- if ((iV == iV))
1802+ if ((iY == iY))
17951803 then nil
17961804 else throw("Strict value is not equal to itself.")
17971805 }
18001808
18011809
18021810
1803-@Callable(bL)
1811+@Callable(bN)
18041812 func syncTerminalPriceToOracle () = {
1805- let cx = be()
1806- let cy = bg()
1807- let iX = fJ(dy(), cx, cy)
1808- let ht = iX._1
1809- let hu = iX._2
1810- let fN = iX._3
1811- let iY = if (if ((0 > fN))
1812- then (aP(fN) > aY())
1813+ let cz = bf()
1814+ let cA = bh()
1815+ let ja = fL(dA(), cz, cA)
1816+ let hv = ja._1
1817+ let hw = ja._2
1818+ let fP = ja._3
1819+ let jb = if (if ((0 > fP))
1820+ then (aQ(fP) > aZ())
18131821 else false)
1814- then -(aY())
1815- else fN
1816- let hv = if ((iY != 0))
1822+ then -(aZ())
1823+ else fP
1824+ let hx = if ((jb != 0))
18171825 then {
1818- let hv = invoke(al(), "exchangeFreeAndLocked", [iY], nil)
1819- if ((hv == hv))
1826+ let hx = invoke(am(), "exchangeFreeAndLocked", [jb], nil)
1827+ if ((hx == hx))
18201828 then nil
18211829 else throw("Strict value is not equal to itself.")
18221830 }
18231831 else nil
1824- if ((hv == hv))
1825- then (hj((aY() + iY)) ++ gX(ht, hu))
1832+ if ((hx == hx))
1833+ then (hl((aZ() + jb)) ++ gZ(hv, hw))
18261834 else throw("Strict value is not equal to itself.")
18271835 }
18281836
18291837
18301838
1831-@Callable(bL)
1832-func ensureCalledOnce () = if ((bL.caller != this))
1839+@Callable(bN)
1840+func ensureCalledOnce () = if ((bN.caller != this))
18331841 then throw("Invalid saveCurrentTxId parameters")
18341842 else {
1835- let iZ = toBase58String(bL.transactionId)
1836- let ja = valueOrElse(getString(this, U), "")
1837- if ((ja != iZ))
1838- then [StringEntry(U, iZ)]
1843+ let jc = toBase58String(bN.transactionId)
1844+ let jd = valueOrElse(getString(this, V), "")
1845+ if ((jd != jc))
1846+ then [StringEntry(V, jc)]
18391847 else throw("Can not call vAMM methods twice in one tx")
18401848 }
18411849
18421850
18431851
1844-@Callable(bL)
1845-func migratePosition (bU) = {
1846- let bX = getInteger(this, ae(e, bU))
1847- if (if (isDefined(bX))
1848- then isDefined(addressFromString(bU))
1852+@Callable(bN)
1853+func migratePosition (bW) = {
1854+ let bZ = getInteger(this, af(e, bW))
1855+ if (if (isDefined(bZ))
1856+ then isDefined(addressFromString(bW))
18491857 else false)
18501858 then {
1851- let jb = getIntegerValue(this, ae(e, bU))
1852- let jc = getIntegerValue(this, ae(f, bU))
1853- let jd = getIntegerValue(this, ae(g, bU))
1854- let je = getIntegerValue(this, ae(h, bU))
1855- let jf = valueOrElse(getInteger(this, ae(k, bU)), lastBlock.timestamp)
1856- let jg = valueOrElse(getInteger(this, ae(j, bU)), ba())
1857- let jh = getIntegerValue(this, ae(i, bU))
1858- let ji = ca(jb)
1859- let bW = ((bU + "_") + toString(ji))
1860-[DeleteEntry(ae(e, bU)), DeleteEntry(ae(f, bU)), DeleteEntry(ae(g, bU)), DeleteEntry(ae(h, bU)), DeleteEntry(ae(k, bU)), DeleteEntry(ae(j, bU)), DeleteEntry(ae(i, bU)), IntegerEntry(ae(e, bW), jb), IntegerEntry(ae(f, bW), jc), IntegerEntry(ae(g, bW), jd), IntegerEntry(ae(h, bW), je), IntegerEntry(ae(k, bW), jf), IntegerEntry(ae(j, bW), jg), IntegerEntry(ae(i, bW), jh)]
1859+ let je = getIntegerValue(this, af(e, bW))
1860+ let jf = getIntegerValue(this, af(f, bW))
1861+ let jg = getIntegerValue(this, af(g, bW))
1862+ let jh = getIntegerValue(this, af(h, bW))
1863+ let ji = valueOrElse(getInteger(this, af(k, bW)), lastBlock.timestamp)
1864+ let jj = valueOrElse(getInteger(this, af(j, bW)), bb())
1865+ let jk = getIntegerValue(this, af(i, bW))
1866+ let jl = cc(je)
1867+ let bY = ((bW + "_") + toString(jl))
1868+[DeleteEntry(af(e, bW)), DeleteEntry(af(f, bW)), DeleteEntry(af(g, bW)), DeleteEntry(af(h, bW)), DeleteEntry(af(k, bW)), DeleteEntry(af(j, bW)), DeleteEntry(af(i, bW)), IntegerEntry(af(e, bY), je), IntegerEntry(af(f, bY), jf), IntegerEntry(af(g, bY), jg), IntegerEntry(af(h, bY), jh), IntegerEntry(af(k, bY), ji), IntegerEntry(af(j, bY), jj), IntegerEntry(af(i, bY), jk)]
18611869 }
1862- else throw(("Nothing to migrate for " + bU))
1870+ else throw(("Nothing to migrate for " + bW))
18631871 }
18641872
18651873
18661874
1867-@Callable(bL)
1868-func view_calcRemainMarginWithFundingPayment (bU,bV,hC) = {
1869- let hD = invoke(this, "updateOracle", [hC], nil)
1870- if ((hD == hD))
1875+@Callable(bN)
1876+func view_calcRemainMarginWithFundingPayment (bW,bX,hE) = {
1877+ let hF = invoke(this, "updateOracle", [hE], nil)
1878+ if ((hF == hF))
18711879 then {
1872- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1873- if ((hE == hE))
1880+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1881+ if ((hG == hG))
18741882 then {
1875- let jj = bT(bU, bV)
1876- let bZ = jj._1
1877- let ei = jj._2
1878- let er = jj._3
1879- let ek = jj._4
1880- let et = jj._5
1881- let jk = eg(bU, bV, aA)
1882- let eb = jk._1
1883- let ef = jk._2
1884- let jl = cX(bZ, ei, ek, et, ef)
1885- let df = jl._1
1886- let dg = jl._2
1887- let db = jl._3
1888- let cW = jl._4
1889- throw(((((((aI(df) + aI(db)) + aI(ew(bU, bV))) + aI(ef)) + aI(dg)) + aI(eb)) + aI(cW)))
1883+ let jm = bV(bW, bX)
1884+ let cb = jm._1
1885+ let ek = jm._2
1886+ let et = jm._3
1887+ let em = jm._4
1888+ let ev = jm._5
1889+ let jn = ei(bW, bX, aB)
1890+ let ed = jn._1
1891+ let eh = jn._2
1892+ let jo = cZ(cb, ek, em, ev, eh)
1893+ let dh = jo._1
1894+ let di = jo._2
1895+ let dd = jo._3
1896+ let cY = jo._4
1897+ let fR = dA()
1898+ let fS = dW()
1899+ throw(((((((((aJ(dh) + aJ(dd)) + aJ(ey(bW, bX))) + aJ(eh)) + aJ(di)) + aJ(ed)) + aJ(cY)) + aJ(fR)) + aJ(fS)))
18901900 }
18911901 else throw("Strict value is not equal to itself.")
18921902 }
18951905
18961906
18971907
1898-@Callable(bL)
1899-func view_getPegAdjustCost (jm) = {
1900- let cx = be()
1901- let cy = bg()
1902- let fI = fJ(jm, cx, cy)
1903- throw(toString(fI._3))
1908+@Callable(bN)
1909+func view_getPegAdjustCost (jp) = {
1910+ let cz = bf()
1911+ let cA = bh()
1912+ let fK = fL(jp, cz, cA)
1913+ throw(toString(fK._3))
19041914 }
19051915
19061916
19071917
1908-@Callable(bL)
1918+@Callable(bN)
19091919 func view_getTerminalAmmPrice () = {
1910- let jn = fr()
1911- let fv = jn._1
1912- let fw = jn._2
1913- let ho = aK(aM(fv, bi()), aM(fw, bj()))
1914- throw(toString(ho))
1920+ let jq = ft()
1921+ let fx = jq._1
1922+ let fy = jq._2
1923+ let hq = aL(aN(fx, bj()), aN(fy, bk()))
1924+ throw(toString(hq))
19151925 }
19161926
19171927
19181928
1919-@Callable(bL)
1920-func view_getFunding (hC) = {
1921- let hD = invoke(this, "updateOracle", [hC], nil)
1922- if ((hD == hD))
1929+@Callable(bN)
1930+func view_getFunding (hE) = {
1931+ let hF = invoke(this, "updateOracle", [hE], nil)
1932+ if ((hF == hF))
19231933 then {
1924- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1925- if ((hE == hE))
1934+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1935+ if ((hG == hG))
19261936 then {
1927- let fP = dy()
1928- let jo = fO()
1929- let fS = jo._1
1930- let fT = jo._2
1931- let fW = jo._3
1932- let jp = aK(fT, fP)
1933- let jq = aK(fS, fP)
1934- throw(((((aI(jp) + aI(jq)) + aI(dU())) + aI(dy())) + aI(fW)))
1937+ let fR = dA()
1938+ let jr = fQ()
1939+ let fU = jr._1
1940+ let fV = jr._2
1941+ let fY = jr._3
1942+ let js = aL(fV, fR)
1943+ let jt = aL(fU, fR)
1944+ throw(((((aJ(js) + aJ(jt)) + aJ(dW())) + aJ(dA())) + aJ(fY)))
19351945 }
19361946 else throw("Strict value is not equal to itself.")
19371947 }
19401950
19411951
19421952
1943-@Callable(bL)
1953+@Callable(bN)
19441954 func computeSpotPrice () = {
1945- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1946- if ((hE == hE))
1955+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1956+ if ((hG == hG))
19471957 then {
1948- let fI = dU()
1949- $Tuple2(nil, fI)
1958+ let fK = dW()
1959+ $Tuple2(nil, fK)
19501960 }
19511961 else throw("Strict value is not equal to itself.")
19521962 }
19531963
19541964
19551965
1956-@Callable(bL)
1957-func computeFeeForTraderWithArtifact (bU,fY) = {
1958- let fI = gh(bU, fY)
1959- $Tuple2(nil, fI)
1966+@Callable(bN)
1967+func computeFeeForTraderWithArtifact (bW,ga) = {
1968+ let fK = gj(bW, ga)
1969+ $Tuple2(nil, fK)
19601970 }
19611971
19621972
1963-@Verifier(jr)
1964-func js () = {
1965- let jt = getString(this, V)
1966- if (isDefined(jt))
1973+@Verifier(ju)
1974+func jv () = {
1975+ let jw = getString(this, W)
1976+ if (isDefined(jw))
19671977 then {
1968- let ju = getString(addressFromStringValue(value(jt)), X)
1969- if (isDefined(ju))
1970- then valueOrElse(getBoolean(addressFromStringValue(value(ju)), ((("status_" + toString(this)) + "_") + toBase58String(jr.id))), false)
1978+ let jx = getString(addressFromStringValue(value(jw)), Y)
1979+ if (isDefined(jx))
1980+ then valueOrElse(getBoolean(addressFromStringValue(value(jx)), ((("status_" + toString(this)) + "_") + toBase58String(ju.id))), false)
19711981 else throw("unable to verify: admin not set in coordinator")
19721982 }
1973- else sigVerify(jr.bodyBytes, jr.proofs[0], jr.senderPublicKey)
1983+ else sigVerify(ju.bodyBytes, ju.proofs[0], ju.senderPublicKey)
19741984 }
19751985
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_minInitMarginRatio"
4141
4242 let t = "k_mmr"
4343
4444 let u = "k_liquidationFeeRatio"
4545
4646 let v = "k_partLiquidationRatio"
4747
4848 let w = "k_spreadLimit"
4949
5050 let x = "k_maxPriceImpact"
5151
5252 let y = "k_maxPriceSpread"
5353
5454 let z = "k_maxOpenNotional"
5555
5656 let A = "k_feeToStakersPercent"
5757
5858 let B = "k_maxOracleDelay"
5959
6060 let C = "k_fundingMode"
6161
6262 let D = "k_oracleMode"
6363
6464 let E = "k_positionMode"
6565
66-let F = "k_latestLongPremiumFraction"
66+let F = "k_minLiquidationNotional"
6767
68-let G = "k_latestShortPremiumFraction"
68+let G = "k_latestLongPremiumFraction"
6969
70-let H = "k_nextFundingBlockMinTimestamp"
70+let H = "k_latestShortPremiumFraction"
7171
72-let I = "k_longFundingRate"
72+let I = "k_nextFundingBlockMinTimestamp"
7373
74-let J = "k_shortFundingRate"
74+let J = "k_longFundingRate"
7575
76-let K = "k_qtAstR"
76+let K = "k_shortFundingRate"
7777
78-let L = "k_bsAstR"
78+let L = "k_qtAstR"
7979
80-let M = "k_qtAstW"
80+let M = "k_bsAstR"
8181
82-let N = "k_bsAstW"
82+let N = "k_qtAstW"
8383
84-let O = "k_totalPositionSize"
84+let O = "k_bsAstW"
8585
86-let P = "k_totalLongPositionSize"
86+let P = "k_totalPositionSize"
8787
88-let Q = "k_totalShortPositionSize"
88+let Q = "k_totalLongPositionSize"
8989
90-let R = "k_openInterestNotional"
90+let R = "k_totalShortPositionSize"
9191
92-let S = "k_openInterestShort"
92+let S = "k_openInterestNotional"
9393
94-let T = "k_openInterestLong"
94+let T = "k_openInterestShort"
9595
96-let U = "k_lastTx"
96+let U = "k_openInterestLong"
9797
98-let V = "k_coordinatorAddress"
98+let V = "k_lastTx"
9999
100-let W = "k_vault_address"
100+let W = "k_coordinatorAddress"
101101
102-let X = "k_admin_address"
102+let X = "k_vault_address"
103103
104-let Y = "k_quote_asset"
104+let Y = "k_admin_address"
105105
106-let Z = "k_staking_address"
106+let Z = "k_quote_asset"
107107
108-let aa = "k_miner_address"
108+let aa = "k_staking_address"
109109
110-let ab = "k_orders_address"
110+let ab = "k_miner_address"
111111
112-let ac = "k_referral_address"
112+let ac = "k_orders_address"
113113
114-let ad = "k_nft_manager_address"
114+let ad = "k_referral_address"
115115
116-func ae (af,ag) = ((af + "_") + ag)
116+let ae = "k_nft_manager_address"
117+
118+func af (ag,ah) = ((ag + "_") + ah)
117119
118120
119-func ah () = valueOrErrorMessage(addressFromString(getStringValue(this, V)), "Coordinator not set")
121+func ai () = valueOrErrorMessage(addressFromString(getStringValue(this, W)), "Coordinator not set")
120122
121123
122-func ai () = addressFromString(getStringValue(ah(), X))
124+func aj () = addressFromString(getStringValue(ai(), Y))
123125
124126
125-func aj () = fromBase58String(getStringValue(ah(), Y))
127+func ak () = fromBase58String(getStringValue(ai(), Z))
126128
127129
128-func ak () = valueOrErrorMessage(addressFromString(getStringValue(ah(), Z)), "Staking not set")
130+func al () = valueOrErrorMessage(addressFromString(getStringValue(ai(), aa)), "Staking not set")
129131
130132
131-func al () = valueOrErrorMessage(addressFromString(getStringValue(ah(), W)), "Vault not set")
133+func am () = valueOrErrorMessage(addressFromString(getStringValue(ai(), X)), "Vault not set")
132134
133135
134-func am () = valueOrErrorMessage(addressFromString(getStringValue(ah(), aa)), "Miner not set")
136+func an () = valueOrErrorMessage(addressFromString(getStringValue(ai(), ab)), "Miner not set")
135137
136138
137-func an () = valueOrErrorMessage(addressFromString(getStringValue(ah(), ab)), "Orders not set")
139+func ao () = valueOrErrorMessage(addressFromString(getStringValue(ai(), ac)), "Orders not set")
138140
139141
140-func ao () = valueOrErrorMessage(addressFromString(getStringValue(ah(), ac)), "Referral not set")
142+func ap () = valueOrErrorMessage(addressFromString(getStringValue(ai(), ad)), "Referral not set")
141143
142144
143-func ap () = valueOrErrorMessage(addressFromString(getStringValue(ah(), ad)), "NFT Manager not set")
145+func aq () = valueOrErrorMessage(addressFromString(getStringValue(ai(), ae)), "NFT Manager not set")
144146
145147
146-let aq = "k_token_param"
148+let ar = "k_token_param"
147149
148-let ar = "k_token_type"
150+let as = "k_token_type"
149151
150-let as = "fee_reduction"
152+let at = "fee_reduction"
151153
152-let at = 1
154+let au = 1
153155
154-let au = 2
156+let av = 2
155157
156-let av = 1000
158+let aw = 1000
157159
158-let aw = 6
160+let ax = 6
159161
160-let ax = (1 * (((((10 * 10) * 10) * 10) * 10) * 10))
162+let ay = (1 * (((((10 * 10) * 10) * 10) * 10) * 10))
161163
162-let ay = (525600 * ax)
164+let az = (525600 * ay)
163165
164-let az = (86400 * ax)
166+let aA = (86400 * ay)
165167
166-let aA = 1
168+let aB = 1
167169
168-let aB = 2
170+let aC = 2
169171
170-let aC = 1
172+let aD = 1
171173
172-let aD = 2
174+let aE = 2
173175
174-let aE = 1
176+let aF = 1
175177
176-let aF = 2
178+let aG = 2
177179
178-let aG = 1
180+let aH = 1
179181
180-let aH = 2
182+let aI = 2
181183
182-func aI (aJ) = (toString(aJ) + ",")
184+func aJ (aK) = (toString(aK) + ",")
183185
184186
185-func aK (aJ,aL) = fraction(aJ, ax, aL, HALFEVEN)
187+func aL (aK,aM) = fraction(aK, ay, aM, HALFEVEN)
186188
187189
188-func aM (aJ,aL) = fraction(aJ, aL, ax, HALFEVEN)
190+func aN (aK,aM) = fraction(aK, aM, ay, HALFEVEN)
189191
190192
191-func aN (aJ,aL) = fraction(aJ, toBigInt(ax), aL, HALFEVEN)
193+func aO (aK,aM) = fraction(aK, toBigInt(ay), aM, HALFEVEN)
192194
193195
194-func aO (aJ,aL) = fraction(aJ, aL, toBigInt(ax), HALFEVEN)
196+func aP (aK,aM) = fraction(aK, aM, toBigInt(ay), HALFEVEN)
195197
196198
197-func aP (aJ) = if ((aJ > 0))
198- then aJ
199- else -(aJ)
199+func aQ (aK) = if ((aK > 0))
200+ then aK
201+ else -(aK)
200202
201203
202-func aQ (aJ,aL) = if ((aJ >= aL))
203- then aJ
204- else aL
204+func aR (aK,aM) = if ((aK >= aM))
205+ then aK
206+ else aM
205207
206208
207-func aR (aS) = valueOrErrorMessage(getInteger(this, aS), ("no value for " + aS))
209+func aS (aT) = valueOrErrorMessage(getInteger(this, aT), ("no value for " + aT))
208210
209211
210-func aT (aS,aU) = valueOrElse(getInteger(this, aS), aU)
212+func aU (aT,aV) = valueOrElse(getInteger(this, aT), aV)
211213
212214
213-func aV (ag,af) = {
214- let aW = valueOrErrorMessage(getString(ag, af), ("No value for key " + af))
215- aW
215+func aW (ah,ag) = {
216+ let aX = valueOrErrorMessage(getString(ah, ag), ("No value for key " + ag))
217+ aX
216218 }
217219
218220
219-func aX (ag,af) = {
220- let aW = valueOrErrorMessage(getInteger(ag, af), ("No value for key " + af))
221- aW
221+func aY (ah,ag) = {
222+ let aX = valueOrErrorMessage(getInteger(ah, ag), ("No value for key " + ag))
223+ aX
222224 }
223225
224226
225-func aY () = aR(c)
227+func aZ () = aS(c)
226228
227229
228-func aZ () = aT(c, 0)
230+func ba () = aU(c, 0)
229231
230232
231-func ba () = aR(o)
233+func bb () = aS(o)
232234
233235
234-func bb () = aR(p)
236+func bc () = aS(p)
235237
236238
237-func bc () = aR(r)
239+func bd () = aS(r)
238240
239241
240-func bd () = aT(s, ax)
242+func be () = aU(s, ay)
241243
242244
243-func be () = aR(K)
245+func bf () = aS(L)
244246
245247
246-func bf () = aT(K, 0)
248+func bg () = aU(L, 0)
247249
248250
249-func bg () = aR(L)
251+func bh () = aS(M)
250252
251253
252-func bh () = aT(L, 0)
254+func bi () = aU(M, 0)
253255
254256
255-func bi () = aT(M, ax)
257+func bj () = aU(N, ay)
256258
257259
258-func bj () = aT(N, ax)
260+func bk () = aU(O, ay)
259261
260262
261-func bk () = aR(O)
263+func bl () = aS(P)
262264
263265
264-func bl () = aR(R)
266+func bm () = aS(S)
265267
266268
267-func bm () = aR(S)
269+func bn () = aS(T)
268270
269271
270-func bn () = aR(T)
272+func bo () = aS(U)
271273
272274
273-func bo () = aR(H)
275+func bp () = aS(I)
274276
275277
276-func bp () = aR(q)
278+func bq () = aS(q)
277279
278280
279-func bq () = (bp() * ax)
281+func br () = (bq() * ay)
280282
281283
282-func br () = (bp() * av)
284+func bs () = (bq() * aw)
283285
284286
285-func bs () = aR(t)
287+func bt () = aS(t)
286288
287289
288-func bt () = aR(u)
290+func bu () = aS(u)
289291
290292
291-func bu () = aR(v)
293+func bv () = aS(v)
292294
293295
294-func bv () = aR(w)
296+func bw () = aS(w)
295297
296298
297-func bw () = aR(x)
299+func bx () = aS(x)
298300
299301
300-func bx () = aR(y)
302+func by () = aS(y)
301303
302304
303-func by () = aR(z)
305+func bz () = aS(z)
304306
305307
306-func bz () = aR(F)
308+func bA () = aS(G)
307309
308310
309-func bA () = aR(G)
311+func bB () = aS(H)
310312
311313
312-func bB () = aR(Q)
314+func bC () = aS(R)
313315
314316
315-func bC () = aR(P)
317+func bD () = aS(Q)
316318
317319
318-func bD () = aT(d, 0)
320+func bE () = aU(d, 0)
319321
320322
321-func bE () = aR(A)
323+func bF () = aS(A)
322324
323325
324-func bF () = aR(B)
326+func bG () = aS(B)
325327
326328
327-func bG () = aT(C, aC)
329+func bH () = aU(C, aD)
328330
329331
330-func bH () = aT(D, aE)
332+func bI () = aU(D, aF)
331333
332334
333-func bI () = aT(E, aG)
335+func bJ () = aU(E, aH)
334336
335337
336-func bJ () = lastBlock.timestamp
338+func bK () = aU(F, (10 * ay))
337339
338340
339-func bK (bL) = valueOrElse(getString(an(), "k_sender"), toString(bL.caller))
341+func bL () = lastBlock.timestamp
340342
341343
342-func bM (bN,bO,bP) = {
343- let bQ = (bN - bO)
344- if (if (bP)
345- then (0 > bQ)
344+func bM (bN) = valueOrElse(getString(ao(), "k_sender"), toString(bN.caller))
345+
346+
347+func bO (bP,bQ,bR) = {
348+ let bS = (bP - bQ)
349+ if (if (bR)
350+ then (0 > bS)
346351 else false)
347- then throw(((("Invalid margin: " + toString(bN)) + " < ") + toString(bO)))
348- else if (if (!(bP))
349- then (bQ >= 0)
352+ then throw(((("Invalid margin: " + toString(bP)) + " < ") + toString(bQ)))
353+ else if (if (!(bR))
354+ then (bS >= 0)
350355 else false)
351- then throw(((("Invalid margin: " + toString(bN)) + " > ") + toString(bO)))
356+ then throw(((("Invalid margin: " + toString(bP)) + " > ") + toString(bQ)))
352357 else true
353358 }
354359
355360
356-func bR (bS) = if ((bS == 0))
361+func bT (bU) = if ((bU == 0))
357362 then throw("Should not be called with _positionSize == 0")
358- else if ((bS > 0))
359- then bz()
360- else bA()
363+ else if ((bU > 0))
364+ then bA()
365+ else bB()
361366
362367
363-func bT (bU,bV) = {
364- let bW = ((bU + "_") + toString(bV))
365- let bX = getInteger(this, ae(e, bW))
366- let bY = bX
367- if ($isInstanceOf(bY, "Int"))
368+func bV (bW,bX) = {
369+ let bY = ((bW + "_") + toString(bX))
370+ let bZ = getInteger(this, af(e, bY))
371+ let ca = bZ
372+ if ($isInstanceOf(ca, "Int"))
368373 then {
369- let bZ = bY
370- $Tuple5(bZ, getIntegerValue(this, ae(f, bW)), getIntegerValue(this, ae(g, bW)), getIntegerValue(this, ae(h, bW)), getIntegerValue(this, ae(k, bW)))
374+ let cb = ca
375+ $Tuple5(cb, getIntegerValue(this, af(f, bY)), getIntegerValue(this, af(g, bY)), getIntegerValue(this, af(h, bY)), getIntegerValue(this, af(k, bY)))
371376 }
372377 else $Tuple5(0, 0, 0, 0, 0)
373378 }
374379
375380
376-func ca (bS) = if ((0 > bS))
377- then au
378- else at
381+func cc (bU) = if ((0 > bU))
382+ then av
383+ else au
379384
380385
381-func cb (bU,bV) = {
382- let bW = ((bU + "_") + toString(bV))
383- let cc = getInteger(this, ae(j, bW))
384- let bY = cc
385- if ($isInstanceOf(bY, "Int"))
386+func cd (bW,bX) = {
387+ let bY = ((bW + "_") + toString(bX))
388+ let ce = getInteger(this, af(j, bY))
389+ let ca = ce
390+ if ($isInstanceOf(ca, "Int"))
386391 then {
387- let cd = bY
388- cd
392+ let cf = ca
393+ cf
389394 }
390- else ba()
395+ else bb()
391396 }
392397
393398
394-func ce (bU,bV) = if ((bT(bU, bV)._1 == 0))
399+func cg (bW,bX) = if ((bV(bW, bX)._1 == 0))
395400 then throw("No open position")
396401 else true
397402
398403
399-func cf (cg) = {
400- let ch = getString(this, cg)
401- if (if (isDefined(ch))
402- then (value(ch) != "")
404+func ch (ci) = {
405+ let cj = getString(this, ci)
406+ if (if (isDefined(cj))
407+ then (value(cj) != "")
403408 else false)
404409 then {
405- let ci = split(value(ch), ",")
406- let cj = valueOrErrorMessage(addressFromString(ci[0]), ("Invalid oracle address in: " + value(ch)))
407- let ck = ci[1]
408- let cl = ci[2]
409- let cm = ci[3]
410- $Tuple4(cj, ck, cl, cm)
410+ let ck = split(value(cj), ",")
411+ let cl = valueOrErrorMessage(addressFromString(ck[0]), ("Invalid oracle address in: " + value(cj)))
412+ let cm = ck[1]
413+ let cn = ck[2]
414+ let co = ck[3]
415+ $Tuple4(cl, cm, cn, co)
411416 }
412417 else unit
413418 }
414419
415420
416-func cn () = valueOrElse(getBoolean(this, l), false)
421+func cp () = valueOrElse(getBoolean(this, l), false)
417422
418423
419-func co () = valueOrElse(getBoolean(this, m), false)
424+func cq () = valueOrElse(getBoolean(this, m), false)
420425
421426
422-func cp () = valueOrElse(getBoolean(this, n), false)
427+func cr () = valueOrElse(getBoolean(this, n), false)
423428
424429
425-func cq (cr,cs,ct) = if (cr)
430+func cs (ct,cu,cv) = if (ct)
426431 then {
427- let cu = (bg() - ct)
428- if ((0 >= cu))
432+ let cw = (bh() - cv)
433+ if ((0 >= cw))
429434 then throw("Tx lead to base asset reserve <= 0, revert")
430- else $Tuple3((be() + cs), cu, (bk() + ct))
435+ else $Tuple3((bf() + cu), cw, (bl() + cv))
431436 }
432437 else {
433- let cv = (be() - cs)
434- if ((0 >= cv))
438+ let cx = (bf() - cu)
439+ if ((0 >= cx))
435440 then throw("Tx lead to base quote reserve <= 0, revert")
436- else $Tuple3(cv, (bg() + ct), (bk() - ct))
441+ else $Tuple3(cx, (bh() + cv), (bl() - cv))
437442 }
438443
439444
440-func cw (cx,cy) = {
441- let cz = toBigInt(cx)
442- let cA = toBigInt(cy)
443- aO(cz, cA)
445+func cy (cz,cA) = {
446+ let cB = toBigInt(cz)
447+ let cC = toBigInt(cA)
448+ aP(cB, cC)
444449 }
445450
446451
447-func cB (cr,cs) = {
448- let cx = be()
449- let cy = bg()
450- let cC = bi()
451- let cD = bj()
452- let cE = aK(cs, cC)
453- let aS = cw(cx, cy)
454- let cF = if (cr)
455- then (cx + cE)
456- else (cx - cE)
457- let cG = toInt(aN(aS, toBigInt(cF)))
458- let cH = aP((cG - cy))
459- let cI = if (cr)
460- then cH
461- else -(cH)
462- let cJ = cq(cr, cE, cH)
463- let cK = cJ._1
464- let cL = cJ._2
465- let cM = cJ._3
466- let cN = aK(aM(cx, cC), aM(cy, cD))
467- let cO = aK(cs, cH)
468- let cP = aP((cN - cO))
469- let cQ = (ax - aK(cN, (cN + cP)))
470- let cR = bw()
471- if ((cQ > cR))
472- then throw(((((((((((((("Price impact " + toString(cQ)) + " > max price impact ") + toString(cR)) + " before quote asset: ") + toString(cx)) + " before base asset: ") + toString(cy)) + " quote asset amount to exchange: ") + toString(cs)) + " price before: ") + toString(cN)) + " marketPrice: ") + toString(cO)))
473- else $Tuple4(cI, cK, cL, cM)
452+func cD (ct,cu) = {
453+ let cz = bf()
454+ let cA = bh()
455+ let cE = bj()
456+ let cF = bk()
457+ let cG = aL(cu, cE)
458+ let aT = cy(cz, cA)
459+ let cH = if (ct)
460+ then (cz + cG)
461+ else (cz - cG)
462+ let cI = toInt(aO(aT, toBigInt(cH)))
463+ let cJ = aQ((cI - cA))
464+ let cK = if (ct)
465+ then cJ
466+ else -(cJ)
467+ let cL = cs(ct, cG, cJ)
468+ let cM = cL._1
469+ let cN = cL._2
470+ let cO = cL._3
471+ let cP = aL(aN(cz, cE), aN(cA, cF))
472+ let cQ = aL(cu, cJ)
473+ let cR = aQ((cP - cQ))
474+ let cS = (ay - aL(cP, (cP + cR)))
475+ let cT = bx()
476+ if ((cS > cT))
477+ then throw(((((((((((((("Price impact " + toString(cS)) + " > max price impact ") + toString(cT)) + " before quote asset: ") + toString(cz)) + " before base asset: ") + toString(cA)) + " quote asset amount to exchange: ") + toString(cu)) + " price before: ") + toString(cP)) + " marketPrice: ") + toString(cQ)))
478+ else $Tuple4(cK, cM, cN, cO)
474479 }
475480
476481
477-func cS (cT,cU) = {
478- let cV = ((((bJ() - cU) / 1000) / 60) * ax)
479- let cW = aK(aM(aM(cT, cV), bb()), ay)
480- cW
482+func cU (cV,cW) = {
483+ let cX = ((((bL() - cW) / 1000) / 60) * ay)
484+ let cY = aL(aN(aN(cV, cX), bc()), az)
485+ cY
481486 }
482487
483488
484-func cX (cY,cT,cZ,cU,da) = {
485- let db = if ((cY != 0))
489+func cZ (da,cV,db,cW,dc) = {
490+ let dd = if ((da != 0))
486491 then {
487- let dc = bR(cY)
488- aM((dc - cZ), cY)
492+ let de = bT(da)
493+ aN((de - db), da)
489494 }
490495 else 0
491- let cW = cS(cT, cU)
492- let dd = (((da - cW) - db) + cT)
493- let de = if ((0 > dd))
494- then $Tuple2(0, aP(dd))
495- else $Tuple2(aP(dd), 0)
496- let df = de._1
497- let dg = de._2
498- $Tuple4(df, dg, db, cW)
496+ let cY = cU(cV, cW)
497+ let df = (((dc - cY) - dd) + cV)
498+ let dg = if ((0 > df))
499+ then $Tuple2(0, aQ(df))
500+ else $Tuple2(aQ(df), 0)
501+ let dh = dg._1
502+ let di = dg._2
503+ $Tuple4(dh, di, dd, cY)
499504 }
500505
501506
502-func dh (cr,ct,di,dj,dk,dl,dm) = {
503- let cN = aK(aM(dj, dk), aM(dl, dm))
504- if ((ct == 0))
507+func dj (ct,cv,dk,dl,dm,dn,do) = {
508+ let cP = aL(aN(dl, dm), aN(dn, do))
509+ if ((cv == 0))
505510 then throw("Invalid base asset amount")
506511 else {
507- let aS = cw(dj, dl)
508- let dn = if (cr)
509- then (dl + ct)
510- else (dl - ct)
511- let do = toInt(aN(aS, toBigInt(dn)))
512- let dp = aP((do - dj))
513- let dq = aM(dp, dk)
514- let cR = bw()
515- let dr = cq(!(cr), dp, ct)
516- let cK = dr._1
517- let cL = dr._2
518- let cM = dr._3
519- let cO = aK(dq, ct)
520- let cP = aP((cN - cO))
521- let cQ = (ax - aK(cN, (cN + cP)))
522- if (if ((cQ > cR))
523- then di
512+ let aT = cy(dl, dn)
513+ let dp = if (ct)
514+ then (dn + cv)
515+ else (dn - cv)
516+ let dq = toInt(aO(aT, toBigInt(dp)))
517+ let dr = aQ((dq - dl))
518+ let ds = aN(dr, dm)
519+ let cT = bx()
520+ let dt = cs(!(ct), dr, cv)
521+ let cM = dt._1
522+ let cN = dt._2
523+ let cO = dt._3
524+ let cQ = aL(ds, cv)
525+ let cR = aQ((cP - cQ))
526+ let cS = (ay - aL(cP, (cP + cR)))
527+ if (if ((cS > cT))
528+ then dk
524529 else false)
525- then throw(((((((((((((("Price impact " + toString(cQ)) + " > max price impact ") + toString(cR)) + " before quote asset: ") + toString(dj)) + " before base asset: ") + toString(dl)) + " base asset amount to exchange: ") + toString(ct)) + " price before: ") + toString(cN)) + " market price: ") + toString(cO)))
526- else $Tuple7(dq, cK, cL, cM, (bC() - (if (cr)
527- then aP(ct)
528- else 0)), (bB() - (if (!(cr))
529- then aP(ct)
530- else 0)), cQ)
530+ then throw(((((((((((((("Price impact " + toString(cS)) + " > max price impact ") + toString(cT)) + " before quote asset: ") + toString(dl)) + " before base asset: ") + toString(dn)) + " base asset amount to exchange: ") + toString(cv)) + " price before: ") + toString(cP)) + " market price: ") + toString(cQ)))
531+ else $Tuple7(ds, cM, cN, cO, (bD() - (if (ct)
532+ then aQ(cv)
533+ else 0)), (bC() - (if (!(ct))
534+ then aQ(cv)
535+ else 0)), cS)
531536 }
532537 }
533538
534539
535-func ds (cr,ct,di) = dh(cr, ct, di, be(), bi(), bg(), bj())
540+func du (ct,cv,dk) = dj(ct, cv, dk, bf(), bj(), bh(), bk())
536541
537542
538-func dt (du,ck,cl) = {
539- let dv = valueOrErrorMessage(getInteger(du, ck), ((("Can not get oracle price. Oracle: " + toString(du)) + " key: ") + ck))
540- if ((cl != ""))
543+func dv (dw,cm,cn) = {
544+ let dx = valueOrErrorMessage(getInteger(dw, cm), ((("Can not get oracle price. Oracle: " + toString(dw)) + " key: ") + cm))
545+ if ((cn != ""))
541546 then {
542- let dw = height
543- let dx = valueOrErrorMessage(getInteger(du, cl), ((("Can not get oracle block. Oracle: " + toString(du)) + " key: ") + cl))
544- if (((dw - dx) > bF()))
545- then throw(((("Oracle stale data. Last oracle block: " + toString(dx)) + " current block: ") + toString(dw)))
546- else dv
547+ let dy = height
548+ let dz = valueOrErrorMessage(getInteger(dw, cn), ((("Can not get oracle block. Oracle: " + toString(dw)) + " key: ") + cn))
549+ if (((dy - dz) > bG()))
550+ then throw(((("Oracle stale data. Last oracle block: " + toString(dz)) + " current block: ") + toString(dy)))
551+ else dx
547552 }
548- else dv
553+ else dx
549554 }
550555
551556
552-func dy () = {
553- let dz = valueOrErrorMessage(cf(a), "No base asset oracle data")
554- let dA = dt(dz._1, dz._2, dz._3)
555- let dB = cf(b)
556- let dC = if (isDefined(dB))
557+func dA () = {
558+ let dB = valueOrErrorMessage(ch(a), "No base asset oracle data")
559+ let dC = dv(dB._1, dB._2, dB._3)
560+ let dD = ch(b)
561+ let dE = if (isDefined(dD))
557562 then {
558- let dD = value(dB)
559- dt(dD._1, dD._2, dD._3)
563+ let dF = value(dD)
564+ dv(dF._1, dF._2, dF._3)
560565 }
561- else ax
562- aK(dA, dC)
566+ else ay
567+ aL(dC, dE)
563568 }
564569
565570
566-func dE () = {
567- let dz = valueOrErrorMessage(cf(a), "No base asset oracle data")
568- let du = dz._1
569- let cm = dz._4
570- if ((cm != ""))
571+func dG () = {
572+ let dB = valueOrErrorMessage(ch(a), "No base asset oracle data")
573+ let dw = dB._1
574+ let co = dB._4
575+ if ((co != ""))
571576 then {
572- let dF = valueOrErrorMessage(getBoolean(du, cm), ((("Can not get oracle is open/closed. Oracle: " + toString(du)) + " key: ") + cm))
573- !(dF)
577+ let dH = valueOrErrorMessage(getBoolean(dw, co), ((("Can not get oracle is open/closed. Oracle: " + toString(dw)) + " key: ") + co))
578+ !(dH)
574579 }
575580 else false
576581 }
577582
578583
579-func dG (dH,dj,dl,cC,cD) = {
580- let dI = aK(aM(dj, cC), aM(dl, cD))
581- let dJ = aK((dH + dI), (2 * ax))
582- let dG = aK(aP((dH - dI)), dJ)
583- dG
584+func dI (dJ,dl,dn,cE,cF) = {
585+ let dK = aL(aN(dl, cE), aN(dn, cF))
586+ let dL = aL((dJ + dK), (2 * ay))
587+ let dI = aL(aQ((dJ - dK)), dL)
588+ dI
584589 }
585590
586591
587-func dK (dj,dl) = {
588- let dL = dy()
589- let cC = bi()
590- let cD = bj()
591- let dM = dG(dL, be(), bg(), cC, cD)
592- let dN = dG(dL, dj, dl, cC, cD)
593- if (if ((dN > bx()))
594- then (dN > dM)
592+func dM (dl,dn) = {
593+ let dN = dA()
594+ let cE = bj()
595+ let cF = bk()
596+ let dO = dI(dN, bf(), bh(), cE, cF)
597+ let dP = dI(dN, dl, dn, cE, cF)
598+ if (if ((dP > by()))
599+ then (dP > dO)
595600 else false)
596- then throw(((("Price spread " + toString(dN)) + " > max price spread ") + toString(bx())))
601+ then throw(((("Price spread " + toString(dP)) + " > max price spread ") + toString(by())))
597602 else true
598603 }
599604
600605
601-func dO (dP,dQ) = {
602- let dR = by()
603- if ((dP > dR))
604- then throw(((("Long open notional " + toString(dP)) + " > max open notional ") + toString(dR)))
605- else if ((dQ > dR))
606- then throw(((("Short open notional " + toString(dQ)) + " > max open notional ") + toString(dR)))
606+func dQ (dR,dS) = {
607+ let dT = bz()
608+ if ((dR > dT))
609+ then throw(((("Long open notional " + toString(dR)) + " > max open notional ") + toString(dT)))
610+ else if ((dS > dT))
611+ then throw(((("Short open notional " + toString(dS)) + " > max open notional ") + toString(dT)))
607612 else true
608613 }
609614
610615
611-func dS (dT) = if ((bI() == aH))
612- then (dT == an())
616+func dU (dV) = if ((bJ() == aI))
617+ then (dV == ao())
613618 else true
614619
615620
616-func dU () = {
617- let dj = be()
618- let dl = bg()
619- let cC = bi()
620- let cD = bj()
621- aK(aM(dj, cC), aM(dl, cD))
621+func dW () = {
622+ let dl = bf()
623+ let dn = bh()
624+ let cE = bj()
625+ let cF = bk()
626+ aL(aN(dl, cE), aN(dn, cF))
622627 }
623628
624629
625-func dV () = {
626- let dL = dy()
627- let dW = dU()
628- (aK(aP((dL - dW)), dL) > bv())
630+func dX () = {
631+ let dN = dA()
632+ let dY = dW()
633+ (aL(aQ((dN - dY)), dN) > bw())
629634 }
630635
631636
632-func dX (bS,dY,dj,dk,dl,dm) = {
633- let dZ = aP(bS)
634- let ea = (0 > bS)
635- let eb = if ((dY == aA))
637+func dZ (bU,ea,dl,dm,dn,do) = {
638+ let eb = aQ(bU)
639+ let ec = (0 > bU)
640+ let ed = if ((ea == aB))
636641 then {
637- let ec = dh(!(ea), dZ, false, dj, dk, dl, dm)._1
638- ec
642+ let ee = dj(!(ec), eb, false, dl, dm, dn, do)._1
643+ ee
639644 }
640- else aM(dZ, dy())
641- eb
645+ else aN(eb, dA())
646+ ed
642647 }
643648
644649
645-func ed (bS,ee,dj,dk,dl,dm,dY) = if ((bS == 0))
650+func ef (bU,eg,dl,dm,dn,do,ea) = if ((bU == 0))
646651 then throw("Invalid position size")
647652 else {
648- let ea = (0 > bS)
649- let eb = dX(bS, dY, dj, dk, dl, dm)
650- let ef = if (ea)
651- then (ee - eb)
652- else (eb - ee)
653- $Tuple2(eb, ef)
653+ let ec = (0 > bU)
654+ let ed = dZ(bU, ea, dl, dm, dn, do)
655+ let eh = if (ec)
656+ then (eg - ed)
657+ else (ed - eg)
658+ $Tuple2(ed, eh)
654659 }
655660
656661
657-func eg (bU,bV,dY) = {
658- let eh = bT(bU, bV)
659- let bZ = eh._1
660- let ei = eh._2
661- let ej = eh._3
662- let ek = eh._4
663- ed(bZ, ej, be(), bi(), bg(), bj(), dY)
662+func ei (bW,bX,ea) = {
663+ let ej = bV(bW, bX)
664+ let cb = ej._1
665+ let ek = ej._2
666+ let el = ej._3
667+ let em = ej._4
668+ ef(cb, el, bf(), bj(), bh(), bk(), ea)
664669 }
665670
666671
667-func el (em,en,eo) = aK((em - en), eo)
672+func en (eo,ep,eq) = aL((eo - ep), eq)
668673
669674
670-func ep (bU,bV,dY) = {
671- let eq = bT(bU, bV)
672- let bZ = eq._1
673- let ei = eq._2
674- let er = eq._3
675- let es = eq._4
676- let et = eq._5
677- let eu = eg(bU, bV, dY)
678- let eb = eu._1
679- let ef = eu._2
680- let ev = cX(bZ, ei, es, et, ef)
681- let df = ev._1
682- let dg = ev._2
683- el(df, dg, eb)
675+func er (bW,bX,ea) = {
676+ let es = bV(bW, bX)
677+ let cb = es._1
678+ let ek = es._2
679+ let et = es._3
680+ let eu = es._4
681+ let ev = es._5
682+ let ew = ei(bW, bX, ea)
683+ let ed = ew._1
684+ let eh = ew._2
685+ let ex = cZ(cb, ek, eu, ev, eh)
686+ let dh = ex._1
687+ let di = ex._2
688+ en(dh, di, ed)
684689 }
685690
686691
687-func ew (bU,bV) = ep(bU, bV, aA)
692+func ey (bW,bX) = er(bW, bX, aB)
688693
689694
690-func ex (bU,bS) = {
691- let ey = aQ(bu(), (ax - aK(ew(bU, ca(bS)), bs())))
692- let ez = aM(aP(bS), ey)
693- let eA = ds((bS > 0), ez, false)
694- let eB = eA._1
695- let cQ = eA._7
696- if ((bw() > cQ))
697- then ez
698- else aM(aP(bS), bu())
695+func ez (bW,bU) = {
696+ let eA = aR(bv(), (ay - aL(ey(bW, cc(bU)), bt())))
697+ let eB = aN(aQ(bU), eA)
698+ let eC = du((bU > 0), eB, false)
699+ let eD = eC._1
700+ let cS = eC._7
701+ if ((bx() > cS))
702+ then eB
703+ else aN(aQ(bU), bv())
699704 }
700705
701706
702-func eC (bU,bV,eD,eE,eF,eG,di,eH) = {
703- let eI = bT(bU, bV)
704- let eJ = eI._1
705- let eK = eI._2
706- let eL = eI._3
707- let eM = eI._4
708- let eN = eI._5
709- let eO = (eJ > 0)
710- let eP = aP(eJ)
711- if (if ((eP >= eD))
712- then (eD > 0)
707+func eE (bW,bX,eF,eG,eH,eI,dk,eJ) = {
708+ let eK = bV(bW, bX)
709+ let eL = eK._1
710+ let eM = eK._2
711+ let eN = eK._3
712+ let eO = eK._4
713+ let eP = eK._5
714+ let eQ = (eL > 0)
715+ let eR = aQ(eL)
716+ if (if ((eR >= eF))
717+ then (eF > 0)
713718 else false)
714719 then {
715- let eQ = (eP > eD)
716- let eR = ds((eJ > 0), eD, di)
717- let eS = eR._1
718- let cF = eR._2
719- let cG = eR._3
720- let eT = eR._4
721- let eU = if ((eJ > 0))
722- then -(eD)
723- else eD
724- let eV = eg(bU, bV, aA)
725- let eW = eV._1
726- let ef = eV._2
727- let eX = aK(aP(eU), eP)
728- let eY = aM(ef, eX)
729- let eZ = cX(eJ, eK, eM, eN, ef)
730- let fa = eZ._1
731- let fb = eZ._2
732- let fc = eZ._3
733- let cW = eZ._4
734- let fd = cX(eJ, eK, eM, eN, eY)._2
735- let fe = aM(aM(eW, eX), eE)
736- let ff = (ef - eY)
737- let fg = if ((eJ > 0))
738- then ((eW - eS) - ff)
739- else ((ff + eW) - eS)
740- let fh = (eJ + eU)
741- let fi = if ((fh == 0))
720+ let eS = (eR > eF)
721+ let eT = du((eL > 0), eF, dk)
722+ let eU = eT._1
723+ let cH = eT._2
724+ let cI = eT._3
725+ let eV = eT._4
726+ let eW = if ((eL > 0))
727+ then -(eF)
728+ else eF
729+ let eX = ei(bW, bX, aB)
730+ let eY = eX._1
731+ let eh = eX._2
732+ let eZ = aL(aQ(eW), eR)
733+ let fa = aN(eh, eZ)
734+ let fb = cZ(eL, eM, eO, eP, eh)
735+ let fc = fb._1
736+ let fd = fb._2
737+ let fe = fb._3
738+ let cY = fb._4
739+ let ff = cZ(eL, eM, eO, eP, fa)._2
740+ let fg = aN(aN(eY, eZ), eG)
741+ let fh = (eh - fa)
742+ let fi = if ((eL > 0))
743+ then ((eY - eU) - fh)
744+ else ((fh + eY) - eU)
745+ let fj = (eL + eW)
746+ let fk = if ((fj == 0))
742747 then $Tuple2(0, 0)
743- else $Tuple2(aP(fg), bR(fh))
744- let fj = fi._1
745- let fk = fi._2
746- let fl = (eL - fj)
747- let fm = ep(bU, bV, aA)
748- let fn = if ((eJ > 0))
749- then (aM((fj + ff), fm) - ff)
750- else (aM((fj - ff), fm) - ff)
751- let fo = ((fa - (fn + ff)) - fe)
752- let fp = if ((0 > fo))
753- then if (eH)
748+ else $Tuple2(aQ(fi), bT(fj))
749+ let fl = fk._1
750+ let fm = fk._2
751+ let fn = (eN - fl)
752+ let fo = er(bW, bX, aB)
753+ let fp = if ((eL > 0))
754+ then (aN((fl + fh), fo) - fh)
755+ else (aN((fl - fh), fo) - fh)
756+ let fq = ((fc - (fp + fh)) - fg)
757+ let fr = if ((0 > fq))
758+ then if (eJ)
754759 then 0
755760 else throw("Invalid internalClosePosition params: unable to pay fee")
756- else fo
757- let fq = if (eG)
758- then (fn + fp)
759- else fn
760- if (if ((eF != 0))
761- then (eF > eS)
761+ else fq
762+ let fs = if (eI)
763+ then (fp + fr)
764+ else fp
765+ if (if ((eH != 0))
766+ then (eH > eU)
762767 else false)
763- then throw(((("Limit error: " + toString(eS)) + " < ") + toString(eF)))
764- else $Tuple17(fh, fq, fj, fk, fd, eY, if (if (eG)
765- then eQ
768+ then throw(((("Limit error: " + toString(eU)) + " < ") + toString(eH)))
769+ else $Tuple17(fj, fs, fl, fm, ff, fa, if (if (eI)
770+ then eS
766771 else false)
767772 then 0
768- else fp, cF, cG, eT, (bl() - fl), (bC() - (if (eO)
769- then aP(eU)
770- else 0)), (bB() - (if (!(eO))
771- then aP(eU)
772- else 0)), (bn() - (if (eO)
773- then fl
774- else 0)), (bm() - (if (!(eO))
775- then fl
776- else 0)), (fe + cW), eS)
773+ else fr, cH, cI, eV, (bm() - fn), (bD() - (if (eQ)
774+ then aQ(eW)
775+ else 0)), (bC() - (if (!(eQ))
776+ then aQ(eW)
777+ else 0)), (bo() - (if (eQ)
778+ then fn
779+ else 0)), (bn() - (if (!(eQ))
780+ then fn
781+ else 0)), (fg + cY), eU)
777782 }
778- else throw(((("Invalid internalClosePosition params: invalid position size: " + toString(eD)) + " max: ") + toString(eP)))
783+ else throw(((("Invalid internalClosePosition params: invalid position size: " + toString(eF)) + " max: ") + toString(eR)))
779784 }
780785
781786
782-func fr () = {
783- let bS = bk()
784- if ((bS == 0))
785- then $Tuple2(be(), bg())
787+func ft () = {
788+ let bU = bl()
789+ if ((bU == 0))
790+ then $Tuple2(bf(), bh())
786791 else {
787- let fs = (bS > 0)
788- let ft = ds(fs, aP(bS), false)
789- let fu = ft._1
790- let fv = ft._2
791- let fw = ft._3
792- $Tuple2(fv, fw)
792+ let fu = (bU > 0)
793+ let fv = du(fu, aQ(bU), false)
794+ let fw = fv._1
795+ let fx = fv._2
796+ let fy = fv._3
797+ $Tuple2(fx, fy)
793798 }
794799 }
795800
796801
797-func fx (fy,bk,fz,fA) = {
798- let fB = toBigInt(fy)
799- let fC = toBigInt(bk)
800- let fD = toBigInt(fz)
801- let fE = toBigInt(fA)
802- let aS = aO(fD, fB)
803- let fF = (fB + fC)
804- let fG = aN(aS, fF)
805- let fH = aN(fG, fF)
806- let fI = aN(fE, fH)
807- toInt(fI)
802+func fz (fA,bl,fB,fC) = {
803+ let fD = toBigInt(fA)
804+ let fE = toBigInt(bl)
805+ let fF = toBigInt(fB)
806+ let fG = toBigInt(fC)
807+ let aT = aP(fF, fD)
808+ let fH = (fD + fE)
809+ let fI = aO(aT, fH)
810+ let fJ = aO(fI, fH)
811+ let fK = aO(fG, fJ)
812+ toInt(fK)
808813 }
809814
810815
811-func fJ (fK,cx,cy) = {
812- let bS = bk()
813- if ((bS == 0))
816+func fL (fM,cz,cA) = {
817+ let bU = bl()
818+ if ((bU == 0))
814819 then {
815- let fL = aK(aM(fK, cy), cx)
816- $Tuple3(fL, ax, 0)
820+ let fN = aL(aN(fM, cA), cz)
821+ $Tuple3(fN, ay, 0)
817822 }
818823 else {
819- let fs = (bS > 0)
820- let fu = ds(fs, aP(bS), false)._1
821- let fL = fx(cy, bS, cx, fK)
822- let fM = ax
823- let fN = ed(bS, fu, cx, fL, cy, fM, aA)._2
824- $Tuple3(fL, fM, fN)
824+ let fu = (bU > 0)
825+ let fw = du(fu, aQ(bU), false)._1
826+ let fN = fz(cA, bU, cz, fM)
827+ let fO = ay
828+ let fP = ef(bU, fw, cz, fN, cA, fO, aB)._2
829+ $Tuple3(fN, fO, fP)
825830 }
826831 }
827832
828833
829-func fO () = {
830- let fP = dy()
831- let fQ = dU()
832- let fR = (fQ - fP)
833- if (if (dE())
834+func fQ () = {
835+ let fR = dA()
836+ let fS = dW()
837+ let fT = (fS - fR)
838+ if (if (dG())
834839 then true
835- else if ((bG() == aC))
836- then if ((bB() == 0))
840+ else if ((bH() == aD))
841+ then if ((bC() == 0))
837842 then true
838- else (bC() == 0)
843+ else (bD() == 0)
839844 else false)
840845 then $Tuple3(0, 0, 0)
841- else if ((0 > fR))
846+ else if ((0 > fT))
842847 then {
843- let fS = aK(aM(fR, bq()), az)
844- if ((bG() == aC))
848+ let fU = aL(aN(fT, br()), aA)
849+ if ((bH() == aD))
845850 then {
846- let fT = aK(aM(fS, bB()), bC())
847- $Tuple3(fS, fT, 0)
851+ let fV = aL(aN(fU, bC()), bD())
852+ $Tuple3(fU, fV, 0)
848853 }
849854 else {
850- let fU = aP(aM(fS, bB()))
851- let fV = aP(aM(fS, bC()))
852- let fW = (fU - fV)
853- $Tuple3(fS, fS, fW)
855+ let fW = aQ(aN(fU, bC()))
856+ let fX = aQ(aN(fU, bD()))
857+ let fY = (fW - fX)
858+ $Tuple3(fU, fU, fY)
854859 }
855860 }
856861 else {
857- let fT = aK(aM(fR, bq()), az)
858- if ((bG() == aC))
862+ let fV = aL(aN(fT, br()), aA)
863+ if ((bH() == aD))
859864 then {
860- let fS = aK(aM(fT, bC()), bB())
861- $Tuple3(fS, fT, 0)
865+ let fU = aL(aN(fV, bD()), bC())
866+ $Tuple3(fU, fV, 0)
862867 }
863868 else {
864- let fV = aP(aM(fT, bC()))
865- let fU = aP(aM(fT, bB()))
866- let fW = (fV - fU)
867- $Tuple3(fT, fT, fW)
869+ let fX = aQ(aN(fV, bD()))
870+ let fW = aQ(aN(fV, bC()))
871+ let fY = (fX - fW)
872+ $Tuple3(fV, fV, fY)
868873 }
869874 }
870875 }
871876
872877
873-func fX (fY,fZ) = {
874- let ga = ba()
875- let gb = aM(ga, fZ)
876- let gc = if ((fY != ""))
878+func fZ (ga,gb) = {
879+ let gc = bb()
880+ let gd = aN(gc, gb)
881+ let ge = if ((ga != ""))
877882 then {
878- let gd = aV(ap(), ae(ar, fY))
879- if ((gd == as))
883+ let gf = aW(aq(), af(as, ga))
884+ if ((gf == at))
880885 then {
881- let ge = aX(ap(), ae(aq, fY))
882- let gf = aM(gb, ge)
883- $Tuple2(gf, true)
886+ let gg = aY(aq(), af(ar, ga))
887+ let gh = aN(gd, gg)
888+ $Tuple2(gh, true)
884889 }
885890 else throw("Invalid attached artifact")
886891 }
887- else $Tuple2(gb, false)
888- let gf = gc._1
889- let gg = gc._2
890- $Tuple2(gf, gg)
892+ else $Tuple2(gd, false)
893+ let gh = ge._1
894+ let gi = ge._2
895+ $Tuple2(gh, gi)
891896 }
892897
893898
894-func gh (bU,fY) = {
895- let gi = invoke(am(), "computeFeeDiscount", [bU], nil)
896- if ((gi == gi))
899+func gj (bW,ga) = {
900+ let gk = invoke(an(), "computeFeeDiscount", [bW], nil)
901+ if ((gk == gk))
897902 then {
898- let gj = {
899- let bY = gi
900- if ($isInstanceOf(bY, "Int"))
903+ let gl = {
904+ let ca = gk
905+ if ($isInstanceOf(ca, "Int"))
901906 then {
902- let gk = bY
903- gk
907+ let gm = ca
908+ gm
904909 }
905910 else throw("Invalid computeFeeDiscount result")
906911 }
907- let gl = fX(fY, gj)
908- let gf = gl._1
909- let gg = gl._2
910- $Tuple2(gf, gg)
912+ let gn = fZ(ga, gl)
913+ let gh = gn._1
914+ let gi = gn._2
915+ $Tuple2(gh, gi)
911916 }
912917 else throw("Strict value is not equal to itself.")
913918 }
914919
915920
916-func gm (bL) = {
917- let gn = if ((size(bL.payments) > 1))
918- then toBase58String(valueOrErrorMessage(bL.payments[1].assetId, "Invalid artifactId"))
921+func go (bN) = {
922+ let gp = if ((size(bN.payments) > 1))
923+ then toBase58String(valueOrErrorMessage(bN.payments[1].assetId, "Invalid artifactId"))
919924 else ""
920- gn
925+ gp
921926 }
922927
923928
924-func go (gp) = {
925- let gq = aM(gp, bE())
926- let gr = (gp - gq)
927- $Tuple2(gq, gr)
929+func gq (gr) = {
930+ let gs = aN(gr, bF())
931+ let gt = (gr - gs)
932+ $Tuple2(gs, gt)
928933 }
929934
930935
931-func gs (gt,gu,gv,gw,eE,gx,gy,gz,gA,dR,gB,gC,gD,gE,gF,gG,gH) = [IntegerEntry(r, gt), IntegerEntry(s, gG), IntegerEntry(t, gu), IntegerEntry(u, gv), IntegerEntry(q, gw), IntegerEntry(o, eE), IntegerEntry(w, gx), IntegerEntry(x, gy), IntegerEntry(v, gz), IntegerEntry(y, gA), IntegerEntry(z, dR), IntegerEntry(A, gB), IntegerEntry(B, gC), IntegerEntry(p, gD), IntegerEntry(C, gE), IntegerEntry(D, gF), IntegerEntry(E, gH)]
936+func gu (gv,gw,gx,gy,eG,gz,gA,gB,gC,dT,gD,gE,gF,gG,gH,gI,gJ) = [IntegerEntry(r, gv), IntegerEntry(s, gI), IntegerEntry(t, gw), IntegerEntry(u, gx), IntegerEntry(q, gy), IntegerEntry(o, eG), IntegerEntry(w, gz), IntegerEntry(x, gA), IntegerEntry(v, gB), IntegerEntry(y, gC), IntegerEntry(z, dT), IntegerEntry(A, gD), IntegerEntry(B, gE), IntegerEntry(p, gF), IntegerEntry(C, gG), IntegerEntry(D, gH), IntegerEntry(E, gJ)]
932937
933938
934-func gI (gJ,gK,gL,gM,gN) = [IntegerEntry(H, gJ), IntegerEntry(F, gK), IntegerEntry(G, gL), IntegerEntry(I, gM), IntegerEntry(J, gN)]
939+func gK (gL,gM,gN,gO,gP) = [IntegerEntry(I, gL), IntegerEntry(G, gM), IntegerEntry(H, gN), IntegerEntry(J, gO), IntegerEntry(K, gP)]
935940
936941
937-func gO (gP,bU,bV) = {
938- let bW = ((bU + "_") + toString(bV))
939- if (gP)
942+func gQ (gR,bW,bX) = {
943+ let bY = ((bW + "_") + toString(bX))
944+ if (gR)
940945 then {
941- let gQ = bD()
942-[IntegerEntry(ae(i, bW), (gQ + 1)), IntegerEntry(d, (gQ + 1))]
946+ let gS = bE()
947+[IntegerEntry(af(i, bY), (gS + 1)), IntegerEntry(d, (gS + 1))]
943948 }
944949 else nil
945950 }
946951
947952
948-func gR (gP,bU,bV,eE) = {
949- let bW = ((bU + "_") + toString(bV))
950- if (gP)
951- then [IntegerEntry(ae(j, bW), eE)]
953+func gT (gR,bW,bX,eG) = {
954+ let bY = ((bW + "_") + toString(bX))
955+ if (gR)
956+ then [IntegerEntry(af(j, bY), eG)]
952957 else nil
953958 }
954959
955960
956-func gS (bU,eD,gT,gU,dc,gV) = {
957- let fs = ca(eD)
958- let bW = ((bU + "_") + toString(fs))
959-[IntegerEntry(ae(e, bW), eD), IntegerEntry(ae(f, bW), gT), IntegerEntry(ae(g, bW), gU), IntegerEntry(ae(h, bW), dc), IntegerEntry(ae(k, bW), gV)]
961+func gU (bW,eF,gV,gW,de,gX) = {
962+ let fu = cc(eF)
963+ let bY = ((bW + "_") + toString(fu))
964+[IntegerEntry(af(e, bY), eF), IntegerEntry(af(f, bY), gV), IntegerEntry(af(g, bY), gW), IntegerEntry(af(h, bY), de), IntegerEntry(af(k, bY), gX)]
960965 }
961966
962967
963-func gW (cx,cy) = if (if ((0 > cx))
968+func gY (cz,cA) = if (if ((0 > cz))
964969 then true
965- else (0 > cy))
970+ else (0 > cA))
966971 then throw("Invalid amount to update reserves")
967- else if (if ((cx != bf()))
972+ else if (if ((cz != bg()))
968973 then true
969- else (cy != bh()))
970- then [IntegerEntry(K, cx), IntegerEntry(L, cy)]
974+ else (cA != bi()))
975+ then [IntegerEntry(L, cz), IntegerEntry(M, cA)]
971976 else nil
972977
973978
974-func gX (cC,cD) = if (if ((cC != bi()))
979+func gZ (cE,cF) = if (if ((cE != bj()))
975980 then true
976- else (cD != bj()))
977- then [IntegerEntry(M, cC), IntegerEntry(N, cD)]
981+ else (cF != bk()))
982+ then [IntegerEntry(N, cE), IntegerEntry(O, cF)]
978983 else nil
979984
980985
981-func gY (cx,cy,gZ,ha,hb,hc,hd,he) = {
982- let cC = bi()
983- let cD = bj()
984- if (((hb - hc) != gZ))
985- then throw(((((("Invalid AMM state data: " + toString(hb)) + " - ") + toString(hc)) + " != ") + toString(gZ)))
986- else (gW(cx, cy) ++ [IntegerEntry(O, gZ), IntegerEntry(R, ha), IntegerEntry(P, hb), IntegerEntry(Q, hc), IntegerEntry(T, hd), IntegerEntry(S, he)])
986+func ha (cz,cA,hb,hc,hd,he,hf,hg) = {
987+ let cE = bj()
988+ let cF = bk()
989+ if (((hd - he) != hb))
990+ then throw(((((("Invalid AMM state data: " + toString(hd)) + " - ") + toString(he)) + " != ") + toString(hb)))
991+ else (gY(cz, cA) ++ [IntegerEntry(P, hb), IntegerEntry(S, hc), IntegerEntry(Q, hd), IntegerEntry(R, he), IntegerEntry(U, hf), IntegerEntry(T, hg)])
987992 }
988993
989994
990-func hf (bU,bV) = {
991- let bW = ((bU + "_") + toString(bV))
992-[DeleteEntry(ae(e, bW)), DeleteEntry(ae(f, bW)), DeleteEntry(ae(g, bW)), DeleteEntry(ae(h, bW)), DeleteEntry(ae(j, bW)), DeleteEntry(ae(k, bW))]
995+func hh (bW,bX) = {
996+ let bY = ((bW + "_") + toString(bX))
997+[DeleteEntry(af(e, bY)), DeleteEntry(af(f, bY)), DeleteEntry(af(g, bY)), DeleteEntry(af(h, bY)), DeleteEntry(af(j, bY)), DeleteEntry(af(k, bY))]
993998 }
994999
9951000
996-func hg (ag,hh) = {
997- let hi = assetBalance(this, aj())
998- if ((hh > hi))
999- then throw(((("Unable to withdraw " + toString(hh)) + " from contract balance ") + toString(hi)))
1000- else [ScriptTransfer(ag, hh, aj())]
1001+func hi (ah,hj) = {
1002+ let hk = assetBalance(this, ak())
1003+ if ((hj > hk))
1004+ then throw(((("Unable to withdraw " + toString(hj)) + " from contract balance ") + toString(hk)))
1005+ else [ScriptTransfer(ah, hj, ak())]
10011006 }
10021007
10031008
1004-func hj (hk) = if ((0 > hk))
1009+func hl (hm) = if ((0 > hm))
10051010 then throw("Balance")
1006- else if (if ((aZ() == 0))
1011+ else if (if ((ba() == 0))
10071012 then true
1008- else (aZ() != hk))
1009- then [IntegerEntry(c, hk)]
1013+ else (ba() != hm))
1014+ then [IntegerEntry(c, hm)]
10101015 else nil
10111016
10121017
1013-func hl (bL) = [ScriptTransfer(ak(), bL, aj())]
1018+func hn (bN) = [ScriptTransfer(al(), bN, ak())]
10141019
10151020
1016-func hm (hn,bL) = if (hn)
1017- then [Burn(valueOrErrorMessage(bL.payments[1].assetId, "Invalid artifact"), 1)]
1021+func ho (hp,bN) = if (hp)
1022+ then [Burn(valueOrErrorMessage(bN.payments[1].assetId, "Invalid artifact"), 1)]
10181023 else nil
10191024
10201025
1021-@Callable(bL)
1022-func pause () = if ((bL.caller != ai()))
1026+@Callable(bN)
1027+func pause () = if ((bN.caller != aj()))
10231028 then throw("Invalid pause params")
10241029 else [BooleanEntry(m, true)]
10251030
10261031
10271032
1028-@Callable(bL)
1029-func unpause () = if ((bL.caller != ai()))
1033+@Callable(bN)
1034+func unpause () = if ((bN.caller != aj()))
10301035 then throw("Invalid unpause params")
10311036 else [BooleanEntry(m, false)]
10321037
10331038
10341039
1035-@Callable(bL)
1036-func setCloseOnly () = if ((bL.caller != ai()))
1040+@Callable(bN)
1041+func setCloseOnly () = if ((bN.caller != aj()))
10371042 then throw("Invalid setCloseOnly params")
10381043 else [BooleanEntry(n, true)]
10391044
10401045
10411046
1042-@Callable(bL)
1043-func unsetCloseOnly () = if ((bL.caller != ai()))
1047+@Callable(bN)
1048+func unsetCloseOnly () = if ((bN.caller != aj()))
10441049 then throw("Invalid unsetCloseOnly params")
10451050 else [BooleanEntry(n, false)]
10461051
10471052
10481053
1049-@Callable(bL)
1050-func changeLiquidity (cs) = if (if ((bL.caller != ai()))
1054+@Callable(bN)
1055+func changeLiquidity (cu) = if (if ((bN.caller != aj()))
10511056 then true
1052- else (cs == 0))
1057+ else (cu == 0))
10531058 then throw("Invalid changeLiquidity params")
10541059 else {
1055- let cx = be()
1056- let cy = bg()
1057- let cC = bi()
1058- let cD = bj()
1059- let ho = aK(aM(cx, cC), aM(cy, cD))
1060- let hp = (cx + cs)
1061- let hq = (aK(aM(hp, cC), ho) - cy)
1062- let hr = (cy + hq)
1063- let hs = fJ(dy(), hp, hr)
1064- let ht = hs._1
1065- let hu = hs._2
1066- let fN = hs._3
1067- let hv = if ((fN != 0))
1060+ let cz = bf()
1061+ let cA = bh()
1062+ let cE = bj()
1063+ let cF = bk()
1064+ let hq = aL(aN(cz, cE), aN(cA, cF))
1065+ let hr = (cz + cu)
1066+ let hs = (aL(aN(hr, cE), hq) - cA)
1067+ let ht = (cA + hs)
1068+ let hu = fL(dA(), hr, ht)
1069+ let hv = hu._1
1070+ let hw = hu._2
1071+ let fP = hu._3
1072+ let hx = if ((fP != 0))
10681073 then {
1069- let hv = invoke(al(), "exchangeFreeAndLocked", [fN], nil)
1070- if ((hv == hv))
1074+ let hx = invoke(am(), "exchangeFreeAndLocked", [fP], nil)
1075+ if ((hx == hx))
10711076 then nil
10721077 else throw("Strict value is not equal to itself.")
10731078 }
10741079 else nil
1075- if ((hv == hv))
1076- then (gW(hp, hr) ++ gX(ht, hu))
1080+ if ((hx == hx))
1081+ then (gY(hr, ht) ++ gZ(hv, hw))
10771082 else throw("Strict value is not equal to itself.")
10781083 }
10791084
10801085
10811086
1082-@Callable(bL)
1083-func changeSettings (gt,gu,gv,gw,eE,gx,gy,gz,gA,dR,gB,gC,gD,gE,gF,hw,hx,gG,gH) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= gw))
1084- then true
1085- else (0 >= gt))
1086- then true
1087- else (gt > ax))
1088- then true
1089- else (0 >= gG))
1090- then true
1091- else (gG > ax))
1092- then true
1093- else (gt > gG))
1094- then true
1095- else (0 >= gu))
1087+@Callable(bN)
1088+func changeSettings (gv,gw,gx,gy,eG,gz,gA,gB,gC,dT,gD,gE,gF,gG,gH,hy,hz,gI,gJ) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= gy))
10961089 then true
10971090 else (0 >= gv))
10981091 then true
1099- else (0 >= eE))
1092+ else (gv > ay))
1093+ then true
1094+ else (0 >= gI))
1095+ then true
1096+ else (gI > ay))
1097+ then true
1098+ else (gv > gI))
1099+ then true
1100+ else (0 >= gw))
11001101 then true
11011102 else (0 >= gx))
11021103 then true
1103- else (0 >= gy))
1104+ else (0 >= eG))
11041105 then true
11051106 else (0 >= gz))
11061107 then true
11071108 else (0 >= gA))
11081109 then true
1109- else (0 >= dR))
1110- then true
11111110 else (0 >= gB))
11121111 then true
1113- else (gB > ax))
1112+ else (0 >= gC))
11141113 then true
1115- else (0 > gC))
1114+ else (0 >= dT))
11161115 then true
11171116 else (0 >= gD))
11181117 then true
1119- else if ((gE != aD))
1120- then (gE != aC)
1118+ else (gD > ay))
1119+ then true
1120+ else (0 > gE))
1121+ then true
1122+ else (0 >= gF))
1123+ then true
1124+ else if ((gG != aE))
1125+ then (gG != aD)
11211126 else false)
11221127 then true
1123- else if ((gF != aE))
1124- then (gF != aF)
1128+ else if ((gH != aF))
1129+ then (gH != aG)
11251130 else false)
11261131 then true
1127- else if ((gH != aG))
1128- then (gH != aH)
1132+ else if ((gJ != aH))
1133+ then (gJ != aI)
11291134 else false)
11301135 then true
1131- else !(cn()))
1136+ else !(cp()))
11321137 then true
1133- else (bL.caller != ai()))
1138+ else (bN.caller != aj()))
11341139 then throw("Invalid changeSettings params")
1135- else (gs(gt, gu, gv, gw, eE, gx, gy, gz, gA, dR, gB, gC, gD, gE, gF, gG, gH) ++ [StringEntry(a, hw), StringEntry(b, hx)])
1140+ else (gu(gv, gw, gx, gy, eG, gz, gA, gB, gC, dT, gD, gE, gF, gG, gH, gI, gJ) ++ [StringEntry(a, hy), StringEntry(b, hz)])
11361141
11371142
11381143
1139-@Callable(bL)
1140-func initialize (cx,cy,gw,gt,gu,gv,eE,hw,hx,hy,gx,gy,gz,gA,dR,gB,gC,gD,gE,gF,gG,gH) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= cx))
1144+@Callable(bN)
1145+func initialize (cz,cA,gy,gv,gw,gx,eG,hy,hz,hA,gz,gA,gB,gC,dT,gD,gE,gF,gG,gH,gI,gJ) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((0 >= cz))
11411146 then true
1142- else (0 >= cy))
1147+ else (0 >= cA))
1148+ then true
1149+ else (0 >= gy))
1150+ then true
1151+ else (0 >= gv))
1152+ then true
1153+ else (gv > ay))
1154+ then true
1155+ else (0 >= gI))
1156+ then true
1157+ else (gI > ay))
1158+ then true
1159+ else (gv > gI))
11431160 then true
11441161 else (0 >= gw))
11451162 then true
1146- else (0 >= gt))
1147- then true
1148- else (gt > ax))
1149- then true
1150- else (0 >= gG))
1151- then true
1152- else (gG > ax))
1153- then true
1154- else (gt > gG))
1155- then true
1156- else (0 >= gu))
1157- then true
1158- else (0 >= gv))
1159- then true
1160- else (0 >= eE))
1161- then true
11621163 else (0 >= gx))
11631164 then true
1164- else (0 >= gy))
1165+ else (0 >= eG))
11651166 then true
11661167 else (0 >= gz))
11671168 then true
11681169 else (0 >= gA))
11691170 then true
1170- else (0 >= dR))
1171- then true
11721171 else (0 >= gB))
11731172 then true
1174- else (gB > ax))
1173+ else (0 >= gC))
11751174 then true
1176- else (0 > gC))
1175+ else (0 >= dT))
11771176 then true
11781177 else (0 >= gD))
11791178 then true
1180- else if ((gE != aD))
1181- then (gE != aC)
1179+ else (gD > ay))
1180+ then true
1181+ else (0 > gE))
1182+ then true
1183+ else (0 >= gF))
1184+ then true
1185+ else if ((gG != aE))
1186+ then (gG != aD)
11821187 else false)
11831188 then true
1184- else if ((gF != aE))
1185- then (gF != aF)
1189+ else if ((gH != aF))
1190+ then (gH != aG)
11861191 else false)
11871192 then true
1188- else if ((gH != aG))
1189- then (gH != aH)
1193+ else if ((gJ != aH))
1194+ then (gJ != aI)
11901195 else false)
11911196 then true
1192- else cn())
1197+ else cp())
11931198 then true
1194- else (bL.caller != this))
1199+ else (bN.caller != this))
11951200 then throw("Invalid initialize parameters")
1196- else ((((gY(cx, cy, 0, 0, 0, 0, 0, 0) ++ gs(gt, gu, gv, gw, eE, gx, gy, gz, gA, dR, gB, gC, gD, gE, gF, gG, gH)) ++ gI((bJ() + gw), 0, 0, 0, 0)) ++ hj(0)) ++ [BooleanEntry(l, true), StringEntry(a, hw), StringEntry(b, hx), StringEntry(V, toString(addressFromStringValue(hy)))])
1201+ else ((((ha(cz, cA, 0, 0, 0, 0, 0, 0) ++ gu(gv, gw, gx, gy, eG, gz, gA, gB, gC, dT, gD, gE, gF, gG, gH, gI, gJ)) ++ gK((bL() + gy), 0, 0, 0, 0)) ++ hl(0)) ++ [BooleanEntry(l, true), StringEntry(a, hy), StringEntry(b, hz), StringEntry(W, toString(addressFromStringValue(hA)))])
11971202
11981203
11991204
1200-@Callable(bL)
1201-func increasePosition (bV,hz,hA,hB,hC) = {
1202- let hD = invoke(this, "updateOracle", [hC], nil)
1203- if ((hD == hD))
1205+@Callable(bN)
1206+func increasePosition (bX,hB,hC,hD,hE) = {
1207+ let hF = invoke(this, "updateOracle", [hE], nil)
1208+ if ((hF == hF))
12041209 then {
1205- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1206- if ((hE == hE))
1210+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1211+ if ((hG == hG))
12071212 then {
1208- let hF = invoke(this, "ensureCalledOnce", nil, nil)
1209- if ((hF == hF))
1213+ let hH = invoke(this, "ensureCalledOnce", nil, nil)
1214+ if ((hH == hH))
12101215 then {
1211- let bU = bK(bL)
1212- let hG = bL.payments[0].amount
1213- let hH = bL.payments[0].assetId
1214- let hI = toBase58String(value(hH))
1215- let hJ = (hH == aj())
1216- if (if (if (if (if (if (if (if (if (if (if ((bV != at))
1217- then (bV != au)
1216+ let bW = bM(bN)
1217+ let hI = bN.payments[0].amount
1218+ let hJ = bN.payments[0].assetId
1219+ let hK = toBase58String(value(hJ))
1220+ let hL = (hJ == ak())
1221+ if (if (if (if (if (if (if (if (if (if (if ((bX != au))
1222+ then (bX != av)
12181223 else false)
12191224 then true
1220- else (0 >= hG))
1225+ else (0 >= hI))
12211226 then true
1222- else !(cn()))
1227+ else !(cp()))
12231228 then true
1224- else !(hJ))
1229+ else !(hL))
12251230 then true
1226- else !(bM(aK(ax, hz), bc(), true)))
1231+ else !(bO(aL(ay, hB), bd(), true)))
12271232 then true
1228- else !(bM(aK(ax, hz), bd(), false)))
1233+ else !(bO(aL(ay, hB), be(), false)))
12291234 then true
1230- else !(dS(bL.caller)))
1235+ else !(dU(bN.caller)))
12311236 then true
1232- else co())
1237+ else cq())
12331238 then true
1234- else cp())
1239+ else cr())
12351240 then true
1236- else dE())
1241+ else dG())
12371242 then throw("Invalid increasePosition parameters")
12381243 else {
1239- let hK = gh(bU, gm(bL))
1240- let gf = hK._1
1241- let gg = hK._2
1242- let hh = aK(hG, (aM(gf, hz) + ax))
1243- let hL = (hG - hh)
1244- let hM = invoke(ao(), "acceptPaymentWithLink", [bU, hB], [AttachedPayment(aj(), hL)])
1245- if ((hM == hM))
1244+ let hM = gj(bW, go(bN))
1245+ let gh = hM._1
1246+ let gi = hM._2
1247+ let hj = aL(hI, (aN(gh, hB) + ay))
1248+ let hN = (hI - hj)
1249+ let hO = invoke(ap(), "acceptPaymentWithLink", [bW, hD], [AttachedPayment(ak(), hN)])
1250+ if ((hO == hO))
12461251 then {
1247- let hN = {
1248- let bY = hM
1249- if ($isInstanceOf(bY, "Int"))
1252+ let hP = {
1253+ let ca = hO
1254+ if ($isInstanceOf(ca, "Int"))
12501255 then {
1251- let gk = bY
1252- gk
1256+ let gm = ca
1257+ gm
12531258 }
12541259 else throw("Invalid referrerFee")
12551260 }
1256- let hO = (hL - hN)
1257- let hP = bT(bU, bV)
1258- let eJ = hP._1
1259- let eK = hP._2
1260- let eL = hP._3
1261- let eM = hP._4
1262- let eN = hP._5
1263- let hQ = (eJ == 0)
1264- let hR = if ((eJ > 0))
1265- then (bV == at)
1266- else (bV == au)
1267- let hS = if (!(hQ))
1268- then hR
1261+ let hQ = (hN - hP)
1262+ let hR = bV(bW, bX)
1263+ let eL = hR._1
1264+ let eM = hR._2
1265+ let eN = hR._3
1266+ let eO = hR._4
1267+ let eP = hR._5
1268+ let hS = (eL == 0)
1269+ let hT = if ((eL > 0))
1270+ then (bX == au)
1271+ else (bX == av)
1272+ let hU = if (!(hS))
1273+ then hT
12691274 else false
1270- let hT = (bV == at)
1271- let hU = if (if (hQ)
1275+ let hV = (bX == au)
1276+ let hW = if (if (hS)
12721277 then true
1273- else hS)
1278+ else hU)
12741279 then {
1275- let hV = aM(hh, hz)
1276- let hW = cB(hT, hV)
1277- let cI = hW._1
1278- let cF = hW._2
1279- let cG = hW._3
1280- let eT = hW._4
1281- if (if ((hA != 0))
1282- then (hA > aP(cI))
1280+ let hX = aN(hj, hB)
1281+ let hY = cD(hV, hX)
1282+ let cK = hY._1
1283+ let cH = hY._2
1284+ let cI = hY._3
1285+ let eV = hY._4
1286+ if (if ((hC != 0))
1287+ then (hC > aQ(cK))
12831288 else false)
1284- then throw(((("Limit error: " + toString(aP(cI))) + " < ") + toString(hA)))
1289+ then throw(((("Limit error: " + toString(aQ(cK))) + " < ") + toString(hC)))
12851290 else {
1286- let fh = (eJ + cI)
1287- let hX = (bn() + (if ((fh > 0))
1288- then hV
1291+ let fj = (eL + cK)
1292+ let hZ = (bo() + (if ((fj > 0))
1293+ then hX
12891294 else 0))
1290- let hY = (bm() + (if ((0 > fh))
1291- then hV
1295+ let ia = (bn() + (if ((0 > fj))
1296+ then hX
12921297 else 0))
1293- let hZ = cX(eJ, eK, eM, eN, hh)
1294- let df = hZ._1
1295- let fb = hZ._2
1296- let fc = hZ._3
1297- let cW = hZ._4
1298- if (!(dK(cF, cG)))
1298+ let ib = cZ(eL, eM, eO, eP, hj)
1299+ let dh = ib._1
1300+ let fd = ib._2
1301+ let fe = ib._3
1302+ let cY = ib._4
1303+ if (!(dM(cH, cI)))
12991304 then throw("Over max spread limit")
1300- else if (!(dO(hX, hY)))
1305+ else if (!(dQ(hZ, ia)))
13011306 then throw("Over max open notional")
1302- else $Tuple14(fh, df, (eL + hV), bR(fh), bJ(), cG, cF, eT, (bl() + hV), (bC() + (if ((fh > 0))
1303- then aP(cI)
1304- else 0)), (bB() + (if ((0 > fh))
1305- then aP(cI)
1306- else 0)), hX, hY, cW)
1307+ else $Tuple14(fj, dh, (eN + hX), bT(fj), bL(), cI, cH, eV, (bm() + hX), (bD() + (if ((fj > 0))
1308+ then aQ(cK)
1309+ else 0)), (bC() + (if ((0 > fj))
1310+ then aQ(cK)
1311+ else 0)), hZ, ia, cY)
13071312 }
13081313 }
13091314 else {
1310- let hV = aM(hh, hz)
1311- let ia = eg(toString(bL.caller), bV, aA)
1312- let eW = ia._1
1313- let ef = ia._2
1314- if ((eW > hV))
1315+ let hX = aN(hj, hB)
1316+ let ic = ei(toString(bN.caller), bX, aB)
1317+ let eY = ic._1
1318+ let eh = ic._2
1319+ if ((eY > hX))
13151320 then throw("Use decreasePosition to decrease position size")
13161321 else throw("Close position first")
13171322 }
1318- let fh = hU._1
1319- let ib = hU._2
1320- let fj = hU._3
1321- let ic = hU._4
1322- let id = hU._5
1323- let cG = hU._6
1324- let cF = hU._7
1325- let eT = hU._8
1326- let ie = hU._9
1327- let if = hU._10
1328- let ig = hU._11
1329- let hX = hU._12
1330- let hY = hU._13
1331- let cW = hU._14
1332- let ih = go((hO + cW))
1333- let gq = ih._1
1334- let gr = ih._2
1335- let ii = if ((hh >= cW))
1336- then invoke(al(), "addLocked", nil, [AttachedPayment(aj(), (hh - cW))])
1337- else invoke(al(), "withdrawLocked", [(cW - hh)], nil)
1338- if ((ii == ii))
1323+ let fj = hW._1
1324+ let id = hW._2
1325+ let fl = hW._3
1326+ let ie = hW._4
1327+ let if = hW._5
1328+ let cI = hW._6
1329+ let cH = hW._7
1330+ let eV = hW._8
1331+ let ig = hW._9
1332+ let ih = hW._10
1333+ let ii = hW._11
1334+ let hZ = hW._12
1335+ let ia = hW._13
1336+ let cY = hW._14
1337+ let ij = gq((hQ + cY))
1338+ let gs = ij._1
1339+ let gt = ij._2
1340+ let ik = if ((hj >= cY))
1341+ then invoke(am(), "addLocked", nil, [AttachedPayment(ak(), (hj - cY))])
1342+ else invoke(am(), "withdrawLocked", [(cY - hj)], nil)
1343+ if ((ik == ik))
13391344 then {
1340- let ij = invoke(al(), "addFree", nil, [AttachedPayment(aj(), gr)])
1341- if ((ij == ij))
1345+ let il = invoke(am(), "addFree", nil, [AttachedPayment(ak(), gt)])
1346+ if ((il == il))
13421347 then {
1343- let ik = invoke(am(), "notifyFees", [bU, hO], nil)
1344- if ((ik == ik))
1348+ let im = invoke(an(), "notifyFees", [bW, hQ], nil)
1349+ if ((im == im))
13451350 then {
1346- let il = invoke(am(), "notifyNotional", [bU, fj], nil)
1347- if ((il == il))
1348- then ((((((gS(bU, fh, ib, fj, ic, id) ++ gO(hQ, bU, bV)) ++ gR(hQ, bU, bV, gf)) ++ gY(cF, cG, eT, ie, if, ig, hX, hY)) ++ hl(gq)) ++ hj(((aY() + hh) - cW))) ++ hm(gg, bL))
1351+ let in = invoke(an(), "notifyNotional", [bW, fl], nil)
1352+ if ((in == in))
1353+ then ((((((gU(bW, fj, id, fl, ie, if) ++ gQ(hS, bW, bX)) ++ gT(hS, bW, bX, gh)) ++ ha(cH, cI, eV, ig, ih, ii, hZ, ia)) ++ hn(gs)) ++ hl(((aZ() + hj) - cY))) ++ ho(gi, bN))
13491354 else throw("Strict value is not equal to itself.")
13501355 }
13511356 else throw("Strict value is not equal to itself.")
13521357 }
13531358 else throw("Strict value is not equal to itself.")
13541359 }
13551360 else throw("Strict value is not equal to itself.")
13561361 }
13571362 else throw("Strict value is not equal to itself.")
13581363 }
13591364 }
13601365 else throw("Strict value is not equal to itself.")
13611366 }
13621367 else throw("Strict value is not equal to itself.")
13631368 }
13641369 else throw("Strict value is not equal to itself.")
13651370 }
13661371
13671372
13681373
1369-@Callable(bL)
1370-func addMargin (bV,hC) = {
1371- let hD = invoke(this, "updateOracle", [hC], nil)
1372- if ((hD == hD))
1374+@Callable(bN)
1375+func addMargin (bX,hE) = {
1376+ let hF = invoke(this, "updateOracle", [hE], nil)
1377+ if ((hF == hF))
13731378 then {
1374- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1375- if ((hE == hE))
1379+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1380+ if ((hG == hG))
13761381 then {
1377- let hF = invoke(this, "ensureCalledOnce", nil, nil)
1378- if ((hF == hF))
1382+ let hH = invoke(this, "ensureCalledOnce", nil, nil)
1383+ if ((hH == hH))
13791384 then {
1380- let bU = toString(bL.caller)
1381- let hh = bL.payments[0].amount
1382- let hH = bL.payments[0].assetId
1383- let hI = toBase58String(value(hH))
1384- let hJ = (hH == aj())
1385- if (if (if (if (if (!(hJ))
1385+ let bW = toString(bN.caller)
1386+ let hj = bN.payments[0].amount
1387+ let hJ = bN.payments[0].assetId
1388+ let hK = toBase58String(value(hJ))
1389+ let hL = (hJ == ak())
1390+ if (if (if (if (if (!(hL))
13861391 then true
1387- else !(ce(toString(bL.caller), bV)))
1392+ else !(cg(toString(bN.caller), bX)))
13881393 then true
1389- else !(cn()))
1394+ else !(cp()))
13901395 then true
1391- else co())
1396+ else cq())
13921397 then true
1393- else dE())
1398+ else dG())
13941399 then throw("Invalid addMargin parameters")
13951400 else {
1396- let im = bT(bU, bV)
1397- let eJ = im._1
1398- let eK = im._2
1399- let eL = im._3
1400- let eM = im._4
1401- let eN = im._5
1402- let ii = invoke(al(), "addLocked", nil, [AttachedPayment(aj(), hh)])
1403- if ((ii == ii))
1401+ let io = bV(bW, bX)
1402+ let eL = io._1
1403+ let eM = io._2
1404+ let eN = io._3
1405+ let eO = io._4
1406+ let eP = io._5
1407+ let ik = invoke(am(), "addLocked", nil, [AttachedPayment(ak(), hj)])
1408+ if ((ik == ik))
14041409 then {
1405- let in = cX(eJ, eK, eM, eN, hh)
1406- let df = in._1
1407- let dg = in._2
1408- let cW = in._3
1409- let fm = el(df, dg, eL)
1410- let io = bM(fm, bd(), false)
1411- if ((io == io))
1410+ let ip = cZ(eL, eM, eO, eP, hj)
1411+ let dh = ip._1
1412+ let di = ip._2
1413+ let cY = ip._3
1414+ let fo = en(dh, di, eN)
1415+ let iq = bO(fo, be(), false)
1416+ if ((iq == iq))
14121417 then {
1413- let ip = if ((cW > 0))
1418+ let ir = if ((cY > 0))
14141419 then {
1415- let iq = go(cW)
1416- let gq = iq._1
1417- let gr = iq._2
1418- let ir = invoke(al(), "withdrawLocked", [gq], nil)
1419- if ((ir == ir))
1420+ let is = gq(cY)
1421+ let gs = is._1
1422+ let gt = is._2
1423+ let it = invoke(am(), "withdrawLocked", [gs], nil)
1424+ if ((it == it))
14201425 then {
1421- let is = invoke(al(), "exchangeFreeAndLocked", [-(gr)], nil)
1422- if ((is == is))
1423- then hl(gq)
1426+ let iu = invoke(am(), "exchangeFreeAndLocked", [-(gt)], nil)
1427+ if ((iu == iu))
1428+ then hn(gs)
14241429 else throw("Strict value is not equal to itself.")
14251430 }
14261431 else throw("Strict value is not equal to itself.")
14271432 }
14281433 else nil
1429- if ((ip == ip))
1430- then ((gS(bU, eJ, ((eK - cW) + hh), eL, eM, bJ()) ++ hj(((aY() + hh) - cW))) ++ ip)
1434+ if ((ir == ir))
1435+ then ((gU(bW, eL, ((eM - cY) + hj), eN, eO, bL()) ++ hl(((aZ() + hj) - cY))) ++ ir)
14311436 else throw("Strict value is not equal to itself.")
14321437 }
14331438 else throw("Strict value is not equal to itself.")
14341439 }
14351440 else throw("Strict value is not equal to itself.")
14361441 }
14371442 }
14381443 else throw("Strict value is not equal to itself.")
14391444 }
14401445 else throw("Strict value is not equal to itself.")
14411446 }
14421447 else throw("Strict value is not equal to itself.")
14431448 }
14441449
14451450
14461451
1447-@Callable(bL)
1448-func removeMargin (hh,bV,hC) = {
1449- let hD = invoke(this, "updateOracle", [hC], nil)
1450- if ((hD == hD))
1452+@Callable(bN)
1453+func removeMargin (hj,bX,hE) = {
1454+ let hF = invoke(this, "updateOracle", [hE], nil)
1455+ if ((hF == hF))
14511456 then {
1452- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1453- if ((hE == hE))
1457+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1458+ if ((hG == hG))
14541459 then {
1455- let hF = invoke(this, "ensureCalledOnce", nil, nil)
1456- if ((hF == hF))
1460+ let hH = invoke(this, "ensureCalledOnce", nil, nil)
1461+ if ((hH == hH))
14571462 then {
1458- let bU = toString(bL.caller)
1459- if (if (if (if (if ((0 >= hh))
1463+ let bW = toString(bN.caller)
1464+ if (if (if (if (if ((0 >= hj))
14601465 then true
1461- else !(ce(bU, bV)))
1466+ else !(cg(bW, bX)))
14621467 then true
1463- else !(cn()))
1468+ else !(cp()))
14641469 then true
1465- else co())
1470+ else cq())
14661471 then true
1467- else dE())
1472+ else dG())
14681473 then throw("Invalid removeMargin parameters")
14691474 else {
1470- let it = bT(bU, bV)
1471- let eJ = it._1
1472- let eK = it._2
1473- let eL = it._3
1474- let eM = it._4
1475- let eN = it._5
1476- let iu = cX(eJ, eK, eM, eN, -(hh))
1477- let df = iu._1
1478- let dg = iu._2
1479- let db = iu._3
1480- let cW = iu._4
1481- if ((dg != 0))
1475+ let iv = bV(bW, bX)
1476+ let eL = iv._1
1477+ let eM = iv._2
1478+ let eN = iv._3
1479+ let eO = iv._4
1480+ let eP = iv._5
1481+ let iw = cZ(eL, eM, eO, eP, -(hj))
1482+ let dh = iw._1
1483+ let di = iw._2
1484+ let dd = iw._3
1485+ let cY = iw._4
1486+ if ((di != 0))
14821487 then throw("Invalid removed margin amount")
14831488 else {
1484- let fm = el(df, dg, eL)
1485- if (!(bM(fm, bc(), true)))
1486- then throw(((("Too much margin removed: " + toString(fm)) + " < ") + toString(bc())))
1489+ let fo = en(dh, di, eN)
1490+ if (!(bO(fo, bd(), true)))
1491+ then throw(((("Too much margin removed: " + toString(fo)) + " < ") + toString(bd())))
14871492 else {
1488- let iv = go(cW)
1489- let gq = iv._1
1490- let gr = iv._2
1491- let ip = if ((cW > 0))
1493+ let ix = gq(cY)
1494+ let gs = ix._1
1495+ let gt = ix._2
1496+ let ir = if ((cY > 0))
14921497 then {
1493- let is = invoke(al(), "exchangeFreeAndLocked", [-(gr)], nil)
1494- if ((is == is))
1495- then hl(gq)
1498+ let iu = invoke(am(), "exchangeFreeAndLocked", [-(gt)], nil)
1499+ if ((iu == iu))
1500+ then hn(gs)
14961501 else throw("Strict value is not equal to itself.")
14971502 }
14981503 else nil
1499- if ((ip == ip))
1504+ if ((ir == ir))
15001505 then {
1501- let ir = invoke(al(), "withdrawLocked", [(hh + gq)], nil)
1502- if ((ir == ir))
1503- then (((gS(bU, eJ, df, eL, bR(eJ), bJ()) ++ hg(bL.caller, hh)) ++ hj(((aY() - hh) - cW))) ++ ip)
1506+ let it = invoke(am(), "withdrawLocked", [(hj + gs)], nil)
1507+ if ((it == it))
1508+ then (((gU(bW, eL, dh, eN, bT(eL), bL()) ++ hi(bN.caller, hj)) ++ hl(((aZ() - hj) - cY))) ++ ir)
15041509 else throw("Strict value is not equal to itself.")
15051510 }
15061511 else throw("Strict value is not equal to itself.")
15071512 }
15081513 }
15091514 }
15101515 }
15111516 else throw("Strict value is not equal to itself.")
15121517 }
15131518 else throw("Strict value is not equal to itself.")
15141519 }
15151520 else throw("Strict value is not equal to itself.")
15161521 }
15171522
15181523
15191524
1520-@Callable(bL)
1521-func closePosition (eD,bV,eF,eG,hC) = {
1522- let hD = invoke(this, "updateOracle", [hC], nil)
1523- if ((hD == hD))
1525+@Callable(bN)
1526+func closePosition (eF,bX,eH,eI,hE) = {
1527+ let hF = invoke(this, "updateOracle", [hE], nil)
1528+ if ((hF == hF))
15241529 then {
1525- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1526- if ((hE == hE))
1530+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1531+ if ((hG == hG))
15271532 then {
1528- let hF = invoke(this, "ensureCalledOnce", nil, nil)
1529- if ((hF == hF))
1533+ let hH = invoke(this, "ensureCalledOnce", nil, nil)
1534+ if ((hH == hH))
15301535 then {
1531- let bU = bK(bL)
1532- let iw = valueOrErrorMessage(addressFromString(bU), "Invalid caller")
1533- let cd = cb(bU, bV)
1534- if (if (if (if (if (if (!(ce(bU, bV)))
1536+ let bW = bM(bN)
1537+ let iy = valueOrErrorMessage(addressFromString(bW), "Invalid caller")
1538+ let cf = cd(bW, bX)
1539+ if (if (if (if (if (if (!(cg(bW, bX)))
15351540 then true
1536- else !(cn()))
1541+ else !(cp()))
15371542 then true
1538- else co())
1543+ else cq())
15391544 then true
1540- else (0 >= eD))
1545+ else (0 >= eF))
15411546 then true
1542- else (0 > eF))
1547+ else (0 > eH))
15431548 then true
1544- else dE())
1549+ else dG())
15451550 then throw("Invalid closePosition parameters")
15461551 else {
1547- let eN = bT(bU, bV)._5
1548- let ix = eC(bU, bV, eD, cd, eF, eG, true, true)
1549- let fh = ix._1
1550- let fq = ix._2
1551- let fj = ix._3
1552- let fk = ix._4
1553- let fd = ix._5
1554- let eY = ix._6
1555- let fp = ix._7
1556- let cF = ix._8
1557- let cG = ix._9
1558- let eT = ix._10
1559- let ie = ix._11
1560- let if = ix._12
1561- let ig = ix._13
1562- let hX = ix._14
1563- let hY = ix._15
1564- let iy = ix._16
1565- if ((fd > 0))
1552+ let eP = bV(bW, bX)._5
1553+ let iz = eE(bW, bX, eF, cf, eH, eI, true, true)
1554+ let fj = iz._1
1555+ let fs = iz._2
1556+ let fl = iz._3
1557+ let fm = iz._4
1558+ let ff = iz._5
1559+ let fa = iz._6
1560+ let fr = iz._7
1561+ let cH = iz._8
1562+ let cI = iz._9
1563+ let eV = iz._10
1564+ let ig = iz._11
1565+ let ih = iz._12
1566+ let ii = iz._13
1567+ let hZ = iz._14
1568+ let ia = iz._15
1569+ let iA = iz._16
1570+ if ((ff > 0))
15661571 then throw("Invalid closePosition parameters: bad debt")
1567- else if ((eN >= bJ()))
1572+ else if ((eP >= bL()))
15681573 then throw("Invalid closePosition parameters: wait at least 1 block before closing the position")
15691574 else {
1570- let eQ = (fh != 0)
1571- let iz = (fp + iy)
1572- let iA = (aY() - iz)
1573- let iB = if ((0 > iA))
1575+ let eS = (fj != 0)
1576+ let iB = (fr + iA)
1577+ let iC = (aZ() - iB)
1578+ let iD = if ((0 > iC))
15741579 then 0
1575- else iA
1576- let ir = invoke(al(), "withdrawLocked", [iz], nil)
1577- if ((ir == ir))
1580+ else iC
1581+ let it = invoke(am(), "withdrawLocked", [iB], nil)
1582+ if ((it == it))
15781583 then {
1579- let hM = invoke(ao(), "acceptPayment", [bU], [AttachedPayment(aj(), iy)])
1580- if ((hM == hM))
1584+ let hO = invoke(ap(), "acceptPayment", [bW], [AttachedPayment(ak(), iA)])
1585+ if ((hO == hO))
15811586 then {
1582- let hN = {
1583- let bY = hM
1584- if ($isInstanceOf(bY, "Int"))
1587+ let hP = {
1588+ let ca = hO
1589+ if ($isInstanceOf(ca, "Int"))
15851590 then {
1586- let gk = bY
1587- gk
1591+ let gm = ca
1592+ gm
15881593 }
15891594 else throw("Invalid referrerFee")
15901595 }
1591- let iC = go((iy - hN))
1592- let gq = iC._1
1593- let gr = iC._2
1594- let ij = invoke(al(), "addFree", nil, [AttachedPayment(aj(), gr)])
1595- if ((ij == ij))
1596+ let iE = gq((iA - hP))
1597+ let gs = iE._1
1598+ let gt = iE._2
1599+ let il = invoke(am(), "addFree", nil, [AttachedPayment(ak(), gt)])
1600+ if ((il == il))
15961601 then {
1597- let ik = invoke(am(), "notifyFees", [bU, iy], nil)
1598- if ((ik == ik))
1602+ let im = invoke(an(), "notifyFees", [bW, iA], nil)
1603+ if ((im == im))
15991604 then {
1600- let il = invoke(am(), "notifyNotional", [bU, fj], nil)
1601- if ((il == il))
1602- then (((((if (eQ)
1603- then gS(bU, fh, fq, fj, fk, bJ())
1604- else hf(bU, bV)) ++ gY(cF, cG, eT, ie, if, ig, hX, hY)) ++ (if ((fp > 0))
1605- then hg(iw, fp)
1606- else nil)) ++ hj(iB)) ++ hl(gq))
1605+ let in = invoke(an(), "notifyNotional", [bW, fl], nil)
1606+ if ((in == in))
1607+ then (((((if (eS)
1608+ then gU(bW, fj, fs, fl, fm, bL())
1609+ else hh(bW, bX)) ++ ha(cH, cI, eV, ig, ih, ii, hZ, ia)) ++ (if ((fr > 0))
1610+ then hi(iy, fr)
1611+ else nil)) ++ hl(iD)) ++ hn(gs))
16071612 else throw("Strict value is not equal to itself.")
16081613 }
16091614 else throw("Strict value is not equal to itself.")
16101615 }
16111616 else throw("Strict value is not equal to itself.")
16121617 }
16131618 else throw("Strict value is not equal to itself.")
16141619 }
16151620 else throw("Strict value is not equal to itself.")
16161621 }
16171622 }
16181623 }
16191624 else throw("Strict value is not equal to itself.")
16201625 }
16211626 else throw("Strict value is not equal to itself.")
16221627 }
16231628 else throw("Strict value is not equal to itself.")
16241629 }
16251630
16261631
16271632
1628-@Callable(bL)
1629-func liquidate (bU,bV,hC) = {
1630- let hD = invoke(this, "updateOracle", [hC], nil)
1631- if ((hD == hD))
1633+@Callable(bN)
1634+func liquidate (bW,bX,hE) = {
1635+ let hF = invoke(this, "updateOracle", [hE], nil)
1636+ if ((hF == hF))
16321637 then {
1633- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1634- if ((hE == hE))
1638+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1639+ if ((hG == hG))
16351640 then {
1636- let iD = ep(bU, bV, aA)
1637- let iE = if (dV())
1641+ let iF = er(bW, bX, aB)
1642+ let iG = if (dX())
16381643 then {
1639- let iF = ep(bU, bV, aB)
1640- aQ(iD, iF)
1644+ let iH = er(bW, bX, aC)
1645+ aR(iF, iH)
16411646 }
1642- else iD
1643- if (if (if (if (if (!(bM(iE, bs(), false)))
1647+ else iF
1648+ if (if (if (if (if (!(bO(iG, bt(), false)))
16441649 then true
1645- else !(ce(bU, bV)))
1650+ else !(cg(bW, bX)))
16461651 then true
1647- else !(cn()))
1652+ else !(cp()))
16481653 then true
1649- else co())
1654+ else cq())
16501655 then true
1651- else dE())
1656+ else dG())
16521657 then throw("Unable to liquidate")
16531658 else {
1654- let iG = if (if ((iD > bt()))
1655- then (bu() > 0)
1659+ let eL = bV(bW, bX)._1
1660+ let eb = aQ(eL)
1661+ let iI = if (if (if ((iF > bu()))
1662+ then (bv() > 0)
16561663 else false)
1657- then (ax > bu())
1664+ then (ay > bv())
1665+ else false)
1666+ then (aN(eb, dW()) > bK())
16581667 else false
1659- let eJ = bT(bU, bV)._1
1660- let dZ = aP(eJ)
1661- let iH = if (iG)
1668+ let iJ = if (iI)
16621669 then {
1663- let iI = ex(bU, eJ)
1664- let iJ = aK(aP(iI), dZ)
1665- $Tuple2(iJ, aP(iI))
1670+ let iK = aQ(ez(bW, eL))
1671+ let iL = aL(iK, eb)
1672+ let iM = aN(iK, dW())
1673+ $Tuple2(iL, iK)
16661674 }
1667- else $Tuple2(0, dZ)
1668- let iJ = iH._1
1669- let iI = iH._2
1670- let iK = eC(bU, bV, if (iG)
1671- then iI
1672- else dZ, bt(), 0, true, false, true)
1673- let fh = iK._1
1674- let fq = iK._2
1675- let fj = iK._3
1676- let fk = iK._4
1677- let fd = iK._5
1678- let eY = iK._6
1679- let fp = iK._7
1680- let cF = iK._8
1681- let cG = iK._9
1682- let eT = iK._10
1683- let ie = iK._11
1684- let if = iK._12
1685- let ig = iK._13
1686- let hX = iK._14
1687- let hY = iK._15
1688- let iL = iK._16
1689- let iM = (iL / 2)
1690- let gr = (iL - iM)
1691- let iA = (aY() - iL)
1692- let iN = if ((0 > iA))
1675+ else $Tuple2(0, eb)
1676+ let iL = iJ._1
1677+ let iK = iJ._2
1678+ let iN = eE(bW, bX, if (iI)
1679+ then iK
1680+ else eb, bu(), 0, true, false, true)
1681+ let fj = iN._1
1682+ let fs = iN._2
1683+ let fl = iN._3
1684+ let fm = iN._4
1685+ let ff = iN._5
1686+ let fa = iN._6
1687+ let fr = iN._7
1688+ let cH = iN._8
1689+ let cI = iN._9
1690+ let eV = iN._10
1691+ let ig = iN._11
1692+ let ih = iN._12
1693+ let ii = iN._13
1694+ let hZ = iN._14
1695+ let ia = iN._15
1696+ let iO = iN._16
1697+ let iP = (iO / 2)
1698+ let gt = (iO - iP)
1699+ let iC = (aZ() - iO)
1700+ let iQ = if ((0 > iC))
16931701 then 0
1694- else iA
1695- let is = if ((fd > 0))
1702+ else iC
1703+ let iu = if ((ff > 0))
16961704 then {
1697- let is = invoke(al(), "exchangeFreeAndLocked", [(fd + iL)], nil)
1698- if ((is == is))
1705+ let iu = invoke(am(), "exchangeFreeAndLocked", [(ff + iO)], nil)
1706+ if ((iu == iu))
16991707 then nil
17001708 else throw("Strict value is not equal to itself.")
17011709 }
17021710 else nil
1703- if ((is == is))
1711+ if ((iu == iu))
17041712 then {
1705- let ir = invoke(al(), "withdrawLocked", [iL], nil)
1706- if ((ir == ir))
1713+ let it = invoke(am(), "withdrawLocked", [iO], nil)
1714+ if ((it == it))
17071715 then {
1708- let iO = invoke(al(), "addFree", nil, [AttachedPayment(aj(), gr)])
1709- if ((iO == iO))
1716+ let iR = invoke(am(), "addFree", nil, [AttachedPayment(ak(), gt)])
1717+ if ((iR == iR))
17101718 then {
1711- let il = invoke(am(), "notifyNotional", [bU, fj], nil)
1712- if ((il == il))
1713- then ((((if (iG)
1714- then gS(bU, fh, fq, fj, fk, bJ())
1715- else hf(bU, bV)) ++ gY(cF, cG, eT, ie, if, ig, hX, hY)) ++ hg(bL.caller, iM)) ++ hj(iN))
1719+ let in = invoke(an(), "notifyNotional", [bW, fl], nil)
1720+ if ((in == in))
1721+ then ((((if (iI)
1722+ then gU(bW, fj, fs, fl, fm, bL())
1723+ else hh(bW, bX)) ++ ha(cH, cI, eV, ig, ih, ii, hZ, ia)) ++ hi(bN.caller, iP)) ++ hl(iQ))
17161724 else throw("Strict value is not equal to itself.")
17171725 }
17181726 else throw("Strict value is not equal to itself.")
17191727 }
17201728 else throw("Strict value is not equal to itself.")
17211729 }
17221730 else throw("Strict value is not equal to itself.")
17231731 }
17241732 }
17251733 else throw("Strict value is not equal to itself.")
17261734 }
17271735 else throw("Strict value is not equal to itself.")
17281736 }
17291737
17301738
17311739
1732-@Callable(bL)
1733-func payFunding (hC) = {
1734- let hD = invoke(this, "updateOracle", [hC], nil)
1735- if ((hD == hD))
1740+@Callable(bN)
1741+func payFunding (hE) = {
1742+ let hF = invoke(this, "updateOracle", [hE], nil)
1743+ if ((hF == hF))
17361744 then {
1737- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1738- if ((hE == hE))
1745+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1746+ if ((hG == hG))
17391747 then {
1740- let iP = bo()
1741- if (if (if ((iP > bJ()))
1748+ let iS = bp()
1749+ if (if (if ((iS > bL()))
17421750 then true
1743- else !(cn()))
1751+ else !(cp()))
17441752 then true
1745- else co())
1746- then throw(((("Invalid funding block timestamp: " + toString(bJ())) + " < ") + toString(iP)))
1753+ else cq())
1754+ then throw(((("Invalid funding block timestamp: " + toString(bL())) + " < ") + toString(iS)))
17471755 else {
1748- let fP = dy()
1749- let iQ = fO()
1750- let fS = iQ._1
1751- let fT = iQ._2
1752- let fW = iQ._3
1753- let iR = if ((fW > 0))
1756+ let fR = dA()
1757+ let iT = fQ()
1758+ let fU = iT._1
1759+ let fV = iT._2
1760+ let fY = iT._3
1761+ let iU = if ((fY > 0))
17541762 then {
1755- let iR = invoke(al(), "exchangeFreeAndLocked", [-(fW)], nil)
1756- if ((iR == iR))
1763+ let iU = invoke(am(), "exchangeFreeAndLocked", [-(fY)], nil)
1764+ if ((iU == iU))
17571765 then nil
17581766 else throw("Strict value is not equal to itself.")
17591767 }
17601768 else nil
1761- if ((iR == iR))
1762- then gI((iP + br()), (bz() + fT), (bA() + fS), aK(fT, fP), aK(fS, fP))
1769+ if ((iU == iU))
1770+ then gK((iS + bs()), (bA() + fV), (bB() + fU), aL(fV, fR), aL(fU, fR))
17631771 else throw("Strict value is not equal to itself.")
17641772 }
17651773 }
17661774 else throw("Strict value is not equal to itself.")
17671775 }
17681776 else throw("Strict value is not equal to itself.")
17691777 }
17701778
17711779
17721780
1773-@Callable(bL)
1774-func updateOracle (hC) = if ((bH() == aE))
1781+@Callable(bN)
1782+func updateOracle (hE) = if ((bI() == aF))
17751783 then nil
17761784 else {
1777- let iS = split_4C(hC, "::")
1778- let dz = valueOrErrorMessage(cf(a), "No base asset oracle data")
1779- let iT = dz._1
1780- let iU = invoke(iT, "updateData", [iS[0]], nil)
1781- if ((iU == iU))
1785+ let iV = split_4C(hE, "::")
1786+ let dB = valueOrErrorMessage(ch(a), "No base asset oracle data")
1787+ let iW = dB._1
1788+ let iX = invoke(iW, "updateData", [iV[0]], nil)
1789+ if ((iX == iX))
17821790 then {
1783- let dB = cf(b)
1784- let iV = if (isDefined(dB))
1791+ let dD = ch(b)
1792+ let iY = if (isDefined(dD))
17851793 then {
1786- let dD = value(dB)
1787- let iW = dD._1
1788- let iV = invoke(iW, "updateData", [iS[1]], nil)
1789- if ((iV == iV))
1794+ let dF = value(dD)
1795+ let iZ = dF._1
1796+ let iY = invoke(iZ, "updateData", [iV[1]], nil)
1797+ if ((iY == iY))
17901798 then nil
17911799 else throw("Strict value is not equal to itself.")
17921800 }
17931801 else nil
1794- if ((iV == iV))
1802+ if ((iY == iY))
17951803 then nil
17961804 else throw("Strict value is not equal to itself.")
17971805 }
17981806 else throw("Strict value is not equal to itself.")
17991807 }
18001808
18011809
18021810
1803-@Callable(bL)
1811+@Callable(bN)
18041812 func syncTerminalPriceToOracle () = {
1805- let cx = be()
1806- let cy = bg()
1807- let iX = fJ(dy(), cx, cy)
1808- let ht = iX._1
1809- let hu = iX._2
1810- let fN = iX._3
1811- let iY = if (if ((0 > fN))
1812- then (aP(fN) > aY())
1813+ let cz = bf()
1814+ let cA = bh()
1815+ let ja = fL(dA(), cz, cA)
1816+ let hv = ja._1
1817+ let hw = ja._2
1818+ let fP = ja._3
1819+ let jb = if (if ((0 > fP))
1820+ then (aQ(fP) > aZ())
18131821 else false)
1814- then -(aY())
1815- else fN
1816- let hv = if ((iY != 0))
1822+ then -(aZ())
1823+ else fP
1824+ let hx = if ((jb != 0))
18171825 then {
1818- let hv = invoke(al(), "exchangeFreeAndLocked", [iY], nil)
1819- if ((hv == hv))
1826+ let hx = invoke(am(), "exchangeFreeAndLocked", [jb], nil)
1827+ if ((hx == hx))
18201828 then nil
18211829 else throw("Strict value is not equal to itself.")
18221830 }
18231831 else nil
1824- if ((hv == hv))
1825- then (hj((aY() + iY)) ++ gX(ht, hu))
1832+ if ((hx == hx))
1833+ then (hl((aZ() + jb)) ++ gZ(hv, hw))
18261834 else throw("Strict value is not equal to itself.")
18271835 }
18281836
18291837
18301838
1831-@Callable(bL)
1832-func ensureCalledOnce () = if ((bL.caller != this))
1839+@Callable(bN)
1840+func ensureCalledOnce () = if ((bN.caller != this))
18331841 then throw("Invalid saveCurrentTxId parameters")
18341842 else {
1835- let iZ = toBase58String(bL.transactionId)
1836- let ja = valueOrElse(getString(this, U), "")
1837- if ((ja != iZ))
1838- then [StringEntry(U, iZ)]
1843+ let jc = toBase58String(bN.transactionId)
1844+ let jd = valueOrElse(getString(this, V), "")
1845+ if ((jd != jc))
1846+ then [StringEntry(V, jc)]
18391847 else throw("Can not call vAMM methods twice in one tx")
18401848 }
18411849
18421850
18431851
1844-@Callable(bL)
1845-func migratePosition (bU) = {
1846- let bX = getInteger(this, ae(e, bU))
1847- if (if (isDefined(bX))
1848- then isDefined(addressFromString(bU))
1852+@Callable(bN)
1853+func migratePosition (bW) = {
1854+ let bZ = getInteger(this, af(e, bW))
1855+ if (if (isDefined(bZ))
1856+ then isDefined(addressFromString(bW))
18491857 else false)
18501858 then {
1851- let jb = getIntegerValue(this, ae(e, bU))
1852- let jc = getIntegerValue(this, ae(f, bU))
1853- let jd = getIntegerValue(this, ae(g, bU))
1854- let je = getIntegerValue(this, ae(h, bU))
1855- let jf = valueOrElse(getInteger(this, ae(k, bU)), lastBlock.timestamp)
1856- let jg = valueOrElse(getInteger(this, ae(j, bU)), ba())
1857- let jh = getIntegerValue(this, ae(i, bU))
1858- let ji = ca(jb)
1859- let bW = ((bU + "_") + toString(ji))
1860-[DeleteEntry(ae(e, bU)), DeleteEntry(ae(f, bU)), DeleteEntry(ae(g, bU)), DeleteEntry(ae(h, bU)), DeleteEntry(ae(k, bU)), DeleteEntry(ae(j, bU)), DeleteEntry(ae(i, bU)), IntegerEntry(ae(e, bW), jb), IntegerEntry(ae(f, bW), jc), IntegerEntry(ae(g, bW), jd), IntegerEntry(ae(h, bW), je), IntegerEntry(ae(k, bW), jf), IntegerEntry(ae(j, bW), jg), IntegerEntry(ae(i, bW), jh)]
1859+ let je = getIntegerValue(this, af(e, bW))
1860+ let jf = getIntegerValue(this, af(f, bW))
1861+ let jg = getIntegerValue(this, af(g, bW))
1862+ let jh = getIntegerValue(this, af(h, bW))
1863+ let ji = valueOrElse(getInteger(this, af(k, bW)), lastBlock.timestamp)
1864+ let jj = valueOrElse(getInteger(this, af(j, bW)), bb())
1865+ let jk = getIntegerValue(this, af(i, bW))
1866+ let jl = cc(je)
1867+ let bY = ((bW + "_") + toString(jl))
1868+[DeleteEntry(af(e, bW)), DeleteEntry(af(f, bW)), DeleteEntry(af(g, bW)), DeleteEntry(af(h, bW)), DeleteEntry(af(k, bW)), DeleteEntry(af(j, bW)), DeleteEntry(af(i, bW)), IntegerEntry(af(e, bY), je), IntegerEntry(af(f, bY), jf), IntegerEntry(af(g, bY), jg), IntegerEntry(af(h, bY), jh), IntegerEntry(af(k, bY), ji), IntegerEntry(af(j, bY), jj), IntegerEntry(af(i, bY), jk)]
18611869 }
1862- else throw(("Nothing to migrate for " + bU))
1870+ else throw(("Nothing to migrate for " + bW))
18631871 }
18641872
18651873
18661874
1867-@Callable(bL)
1868-func view_calcRemainMarginWithFundingPayment (bU,bV,hC) = {
1869- let hD = invoke(this, "updateOracle", [hC], nil)
1870- if ((hD == hD))
1875+@Callable(bN)
1876+func view_calcRemainMarginWithFundingPayment (bW,bX,hE) = {
1877+ let hF = invoke(this, "updateOracle", [hE], nil)
1878+ if ((hF == hF))
18711879 then {
1872- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1873- if ((hE == hE))
1880+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1881+ if ((hG == hG))
18741882 then {
1875- let jj = bT(bU, bV)
1876- let bZ = jj._1
1877- let ei = jj._2
1878- let er = jj._3
1879- let ek = jj._4
1880- let et = jj._5
1881- let jk = eg(bU, bV, aA)
1882- let eb = jk._1
1883- let ef = jk._2
1884- let jl = cX(bZ, ei, ek, et, ef)
1885- let df = jl._1
1886- let dg = jl._2
1887- let db = jl._3
1888- let cW = jl._4
1889- throw(((((((aI(df) + aI(db)) + aI(ew(bU, bV))) + aI(ef)) + aI(dg)) + aI(eb)) + aI(cW)))
1883+ let jm = bV(bW, bX)
1884+ let cb = jm._1
1885+ let ek = jm._2
1886+ let et = jm._3
1887+ let em = jm._4
1888+ let ev = jm._5
1889+ let jn = ei(bW, bX, aB)
1890+ let ed = jn._1
1891+ let eh = jn._2
1892+ let jo = cZ(cb, ek, em, ev, eh)
1893+ let dh = jo._1
1894+ let di = jo._2
1895+ let dd = jo._3
1896+ let cY = jo._4
1897+ let fR = dA()
1898+ let fS = dW()
1899+ throw(((((((((aJ(dh) + aJ(dd)) + aJ(ey(bW, bX))) + aJ(eh)) + aJ(di)) + aJ(ed)) + aJ(cY)) + aJ(fR)) + aJ(fS)))
18901900 }
18911901 else throw("Strict value is not equal to itself.")
18921902 }
18931903 else throw("Strict value is not equal to itself.")
18941904 }
18951905
18961906
18971907
1898-@Callable(bL)
1899-func view_getPegAdjustCost (jm) = {
1900- let cx = be()
1901- let cy = bg()
1902- let fI = fJ(jm, cx, cy)
1903- throw(toString(fI._3))
1908+@Callable(bN)
1909+func view_getPegAdjustCost (jp) = {
1910+ let cz = bf()
1911+ let cA = bh()
1912+ let fK = fL(jp, cz, cA)
1913+ throw(toString(fK._3))
19041914 }
19051915
19061916
19071917
1908-@Callable(bL)
1918+@Callable(bN)
19091919 func view_getTerminalAmmPrice () = {
1910- let jn = fr()
1911- let fv = jn._1
1912- let fw = jn._2
1913- let ho = aK(aM(fv, bi()), aM(fw, bj()))
1914- throw(toString(ho))
1920+ let jq = ft()
1921+ let fx = jq._1
1922+ let fy = jq._2
1923+ let hq = aL(aN(fx, bj()), aN(fy, bk()))
1924+ throw(toString(hq))
19151925 }
19161926
19171927
19181928
1919-@Callable(bL)
1920-func view_getFunding (hC) = {
1921- let hD = invoke(this, "updateOracle", [hC], nil)
1922- if ((hD == hD))
1929+@Callable(bN)
1930+func view_getFunding (hE) = {
1931+ let hF = invoke(this, "updateOracle", [hE], nil)
1932+ if ((hF == hF))
19231933 then {
1924- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1925- if ((hE == hE))
1934+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1935+ if ((hG == hG))
19261936 then {
1927- let fP = dy()
1928- let jo = fO()
1929- let fS = jo._1
1930- let fT = jo._2
1931- let fW = jo._3
1932- let jp = aK(fT, fP)
1933- let jq = aK(fS, fP)
1934- throw(((((aI(jp) + aI(jq)) + aI(dU())) + aI(dy())) + aI(fW)))
1937+ let fR = dA()
1938+ let jr = fQ()
1939+ let fU = jr._1
1940+ let fV = jr._2
1941+ let fY = jr._3
1942+ let js = aL(fV, fR)
1943+ let jt = aL(fU, fR)
1944+ throw(((((aJ(js) + aJ(jt)) + aJ(dW())) + aJ(dA())) + aJ(fY)))
19351945 }
19361946 else throw("Strict value is not equal to itself.")
19371947 }
19381948 else throw("Strict value is not equal to itself.")
19391949 }
19401950
19411951
19421952
1943-@Callable(bL)
1953+@Callable(bN)
19441954 func computeSpotPrice () = {
1945- let hE = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1946- if ((hE == hE))
1955+ let hG = invoke(this, "syncTerminalPriceToOracle", nil, nil)
1956+ if ((hG == hG))
19471957 then {
1948- let fI = dU()
1949- $Tuple2(nil, fI)
1958+ let fK = dW()
1959+ $Tuple2(nil, fK)
19501960 }
19511961 else throw("Strict value is not equal to itself.")
19521962 }
19531963
19541964
19551965
1956-@Callable(bL)
1957-func computeFeeForTraderWithArtifact (bU,fY) = {
1958- let fI = gh(bU, fY)
1959- $Tuple2(nil, fI)
1966+@Callable(bN)
1967+func computeFeeForTraderWithArtifact (bW,ga) = {
1968+ let fK = gj(bW, ga)
1969+ $Tuple2(nil, fK)
19601970 }
19611971
19621972
1963-@Verifier(jr)
1964-func js () = {
1965- let jt = getString(this, V)
1966- if (isDefined(jt))
1973+@Verifier(ju)
1974+func jv () = {
1975+ let jw = getString(this, W)
1976+ if (isDefined(jw))
19671977 then {
1968- let ju = getString(addressFromStringValue(value(jt)), X)
1969- if (isDefined(ju))
1970- then valueOrElse(getBoolean(addressFromStringValue(value(ju)), ((("status_" + toString(this)) + "_") + toBase58String(jr.id))), false)
1978+ let jx = getString(addressFromStringValue(value(jw)), Y)
1979+ if (isDefined(jx))
1980+ then valueOrElse(getBoolean(addressFromStringValue(value(jx)), ((("status_" + toString(this)) + "_") + toBase58String(ju.id))), false)
19711981 else throw("unable to verify: admin not set in coordinator")
19721982 }
1973- else sigVerify(jr.bodyBytes, jr.proofs[0], jr.senderPublicKey)
1983+ else sigVerify(ju.bodyBytes, ju.proofs[0], ju.senderPublicKey)
19741984 }
19751985

github/deemru/w8io/026f985 
920.43 ms