tx · 42x1s2KJdwJ4E3Dm5RF465LNDnvNFY96NUWgaycNzi8A

3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT:  -0.01400000 Waves

2021.12.28 13:48 [1853993] smart account 3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT > SELF 0.00000000 Waves

{ "type": 13, "id": "42x1s2KJdwJ4E3Dm5RF465LNDnvNFY96NUWgaycNzi8A", "fee": 1400000, "feeAssetId": null, "timestamp": 1640688538712, "version": 1, "sender": "3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT", "senderPublicKey": "D1BL65meykxFZTCuq7jq9HSGLLnWvQamQPUNrguW5w39", "proofs": [ "Ly9i31s9XsijCVywNUGkEZJZrYDL68hErvqQYYcqawYD673uGtpJNavHGHbUeYKivxYj44KcGBSBVZn1eydFPHS" ], "script": "base64:AAIFAAAAAAAAAG0IAhIECgIICBIECgIBBBIHCgUBAQEBBBIDCgEBEgASBwoFAQEBCAESBAoCAQESAwoBARIECgIICBIAEgMKAQgSBQoDAQEBEgQKAggBEgQKAgEBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEIAAAAQwAAAAAGc2NhbGU4AAAAAAAF9eEAAAAAAAxzY2FsZThCaWdJbnQJAAE2AAAAAQAAAAAABfXhAAAAAAAHc2NhbGUxOAkAATYAAAABAA3gtrOnZAAAAAAAAAp6ZXJvQmlnSW50CQABNgAAAAEAAAAAAAAAAAAAAAAACW9uZUJpZ0ludAkAATYAAAABAAAAAAAAAAABAAAAAAVBbXVsdAIAAAADMTAwAAAAAAVEY29udgIAAAABMQAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAAAAAAKUG9vbEFjdGl2ZQAAAAAAAAAAAQAAAAAKUG9vbFB1dERpcwAAAAAAAAAAAgAAAAAOUG9vbE1hdGNoZXJEaXMAAAAAAAAAAAMAAAAADFBvb2xTaHV0ZG93bgAAAAAAAAAABAAAAAAOaWR4UG9vbEFkZHJlc3MAAAAAAAAAAAEAAA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AAABW10Y2hWCQAB9AAAAAMIBQAAAAVvcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAABW9yZGVyAAAABnByb29mcwAAAAAAAAAAAQUAAAAHbXRjaFB1YgMDAwUAAAADb3JWBQAAAAVzbmRyVgcFAAAABW10Y2hWBwYJAQAAAA90aHJvd09yZGVyRXJyb3IAAAADBQAAAANvclYFAAAABXNuZHJWBQAAAAVtdGNoVgQAAAAFYWRtaW4JAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwkBAAAADGtleU1hblB1YktleQAAAAAFAAAABUVNUFRZAwkAAAAAAAACBQAAAAVhZG1pbgUAAAAFRU1QVFkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAkAAlkAAAABBQAAAAVhZG1pbqgYABQ=", "chainId": 84, "height": 1853993, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 47H95UycXv3LoHGhRuebiSvJFFTgpZ3DYdbjc1TWW83V Next: 98HxJsmNJeMLBWWMkJGCxif1eNRtormGvd9JHppUeMHM Diff:
OldNewDifferences
500500 let virtSwapOutPr = $t02366124041._4
501501 let virtSwapInPr = $t02366124041._5
502502 let virtSwapOutAm = $t02366124041._6
503- let dCur = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
504- let dNew = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
505- let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(dNew)), parseBigIntValue(asString(dCur)), toBigInt(1000))
503+ let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
504+ let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
505+ let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(D1)), parseBigIntValue(asString(D0)), toBigInt(1000))
506506 if ((D0vsD1 == D0vsD1))
507507 then {
508508 let estPut = commonPut(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), 50000000000, true, true, pmtAmt, pmtAssetId)
589589 let poolStatus = cfg[idxPoolSt]
590590 let fcfg = getFactoryConfig()
591591 let gwxCntr = valueOrErrorMessage(addressFromString(fcfg[idxFactGwxRewCntr]), "Wr sl addr")
592- if (if ((outAssetId != amId))
593- then (outAssetId != prId)
594- else false)
595- then throw("Wr out as")
596- else {
597- let resultAssetId = if ((outAssetId == amId))
598- then amId
599- else prId
600- let pmt = value(i.payments[0])
601- let userAddress = i.caller
602- let txId58 = toBase58String(i.transactionId)
603- let pmtAssetId = value(pmt.assetId)
604- let pmtAmt = pmt.amount
605- if (if (if (if ((0 > slippage))
606- then true
607- else (0 > amAssetSwap))
608- then true
609- else (0 > prAssetSwap))
610- then true
611- else (0 > outAmount))
612- then throw("Wrong params")
613- else if ((lpId != toBase58String(pmtAssetId)))
614- then throw("Invalid LP")
615- else {
616- let r = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
617- let estimAmAmt = r._1
618- let estimPrAmt = r._2
619- let amBalance = getAccBalance(amId)
620- let prBalance = getAccBalance(prId)
621- let $t02864629130 = if ((outAssetId == amId))
622- then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), (outAmount - estimAmAmt), prAssetSwap, 0, 0, (estimAmAmt + amAssetSwap))
623- else if ((outAssetId == prId))
624- then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, (outAmount - estimPrAmt), amAssetSwap, (estimPrAmt + prAssetSwap))
625- else throw("wrong outAssetId")
626- let amBalanceNow = $t02864629130._1
627- let prBalanceNow = $t02864629130._2
628- let virtSwapInAm = $t02864629130._3
629- let virtSwapOutPr = $t02864629130._4
630- let virtSwapInPr = $t02864629130._5
631- let virtSwapOutAm = $t02864629130._6
632- let totalGet = $t02864629130._7
633- let invLeft = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
634- let invRight = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
635- let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(invRight)), parseBigIntValue(asString(invLeft)), toBigInt(1000))
636- if ((D0vsD1 == D0vsD1))
592+ let pmt = value(i.payments[0])
593+ let userAddress = i.caller
594+ let txId58 = toBase58String(i.transactionId)
595+ let pmtAssetId = value(pmt.assetId)
596+ let pmtAmt = pmt.amount
597+ if (if (if (if ((0 > slippage))
598+ then true
599+ else (0 > amAssetSwap))
600+ then true
601+ else (0 > prAssetSwap))
602+ then true
603+ else (0 > outAmount))
604+ then throw("Wrong params")
605+ else if ((lpId != toBase58String(pmtAssetId)))
606+ then throw("Invalid LP")
607+ else {
608+ let r = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
609+ let estimAmAmt = r._1
610+ let estimPrAmt = r._2
611+ let amBalance = getAccBalance(amId)
612+ let prBalance = getAccBalance(prId)
613+ let $t02849828982 = if ((outAssetId == amId))
614+ then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), (outAmount - estimAmAmt), prAssetSwap, 0, 0, (estimAmAmt + amAssetSwap))
615+ else if ((outAssetId == prId))
616+ then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, (outAmount - estimPrAmt), amAssetSwap, (estimPrAmt + prAssetSwap))
617+ else throw("wrong outAssetId")
618+ let amBalanceNow = $t02849828982._1
619+ let prBalanceNow = $t02849828982._2
620+ let virtSwapInAm = $t02849828982._3
621+ let virtSwapOutPr = $t02849828982._4
622+ let virtSwapInPr = $t02849828982._5
623+ let virtSwapOutAm = $t02849828982._6
624+ let totalGet = $t02849828982._7
625+ let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
626+ let D1 = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
627+ let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(D1)), parseBigIntValue(asString(D0)), toBigInt(1000))
628+ if ((D0vsD1 == D0vsD1))
629+ then {
630+ let amount2Return = validateAbsDiff(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
631+ if ((amount2Return == amount2Return))
637632 then {
638- let amount2Return = validateAbsDiff(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
639- if ((amount2Return == amount2Return))
633+ let $t02965829772 = if ((outAssetId == amId))
634+ then $Tuple2(toInt(amount2Return._2), 0)
635+ else $Tuple2(0, toInt(amount2Return._2))
636+ let outAm = $t02965829772._1
637+ let outPr = $t02965829772._2
638+ let curPriceX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
639+ let curPrice = fromX18(curPriceX18, scale8)
640+ let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
641+ then unit
642+ else fromBase58String(outAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(outAm, outPr, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
643+ if ((state == state))
640644 then {
641- let resultTuple = if ((outAssetId == amId))
642- then $Tuple2(toInt(amount2Return._2), 0)
643- else $Tuple2(0, toInt(amount2Return._2))
644- let curPriceX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
645- let curPrice = fromX18(curPriceX18, scale8)
646- let state = [ScriptTransfer(userAddress, if ((resultAssetId == amId))
647- then resultTuple._1
648- else resultTuple._2, if ((resultAssetId == "WAVES"))
649- then unit
650- else fromBase58String(resultAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(resultTuple._1, resultTuple._2, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
651- if ((state == state))
652- then {
653- let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
654- if ((burn == burn))
655- then state
656- else throw("Strict value is not equal to itself.")
657- }
645+ let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
646+ if ((burn == burn))
647+ then state
658648 else throw("Strict value is not equal to itself.")
659649 }
660650 else throw("Strict value is not equal to itself.")
661651 }
662652 else throw("Strict value is not equal to itself.")
663653 }
664- }
654+ else throw("Strict value is not equal to itself.")
655+ }
665656 }
666657
667658
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let scale8 = 100000000
55
66 let scale8BigInt = toBigInt(100000000)
77
88 let scale18 = toBigInt(1000000000000000000)
99
1010 let zeroBigInt = toBigInt(0)
1111
1212 let oneBigInt = toBigInt(1)
1313
1414 let Amult = "100"
1515
1616 let Dconv = "1"
1717
1818 let SEP = "__"
1919
2020 let EMPTY = ""
2121
2222 let PoolActive = 1
2323
2424 let PoolPutDis = 2
2525
2626 let PoolMatcherDis = 3
2727
2828 let PoolShutdown = 4
2929
3030 let idxPoolAddress = 1
3131
3232 let idxPoolSt = 2
3333
3434 let idxLPAsId = 3
3535
3636 let idxAmAsId = 4
3737
3838 let idxPrAsId = 5
3939
4040 let idxAmtAsDcm = 6
4141
4242 let idxPriceAsDcm = 7
4343
4444 let idxIAmtAsId = 8
4545
4646 let idxIPriceAsId = 9
4747
4848 let idxFactStakCntr = 1
4949
5050 let idxFactSlippCntr = 7
5151
5252 let idxFactGwxRewCntr = 10
5353
5454 func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), scale18, toBigInt(origScaleMult))
5555
5656
5757 func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), scale18))
5858
5959
6060 func toScale (amt,resScale,curScale) = fraction(amt, resScale, curScale)
6161
6262
6363 func abs (val) = if ((zeroBigInt > val))
6464 then -(val)
6565 else val
6666
6767
6868 func keyFactCntr () = "%s__factoryContract"
6969
7070
7171 func keyManPubKey () = "%s__managerPublicKey"
7272
7373
7474 func keyPriceLast () = "%s%s__price__last"
7575
7676
7777 func keyPriceHistory (h,t) = makeString(["%s%s%d%d__price__history", toString(h), toString(t)], SEP)
7878
7979
8080 func keyPutActionByUser (ua,txId) = ((("%s%s%s__P__" + ua) + "__") + txId)
8181
8282
8383 func keyGetActionByUser (ua,txId) = ((("%s%s%s__G__" + ua) + "__") + txId)
8484
8585
8686 func keyAmtAsset () = "%s__amountAsset"
8787
8888
8989 func keyPriceAsset () = "%s__priceAsset"
9090
9191
9292 func keyAmplificator () = "%s__amp"
9393
9494
9595 func keyFactoryConfig () = "%s__factoryConfig"
9696
9797
9898 func keyMatcherPub () = "%s%s__matcher__publicKey"
9999
100100
101101 func keyPoolConfig (iAmtAs,iPrAs) = (((("%d%d%s__" + iAmtAs) + "__") + iPrAs) + "__config")
102102
103103
104104 func keyMappingsBaseAsset2internalId (bAStr) = ("%s%s%s__mappings__baseAsset2internalId__" + bAStr)
105105
106106
107107 func keyAllPoolsShutdown () = "%s__shutdown"
108108
109109
110110 func keyPoolWeight (p) = ("%s%s__poolWeight__" + p)
111111
112112
113113 func throwOrderError (orV,sendrV,matchV) = throw(((((("Failed: orderValid=" + toString(orV)) + " senderValid=") + toString(sendrV)) + " matcherValid=") + toString(matchV)))
114114
115115
116116 func asString (val) = match val {
117117 case valStr: String =>
118118 valStr
119119 case _ =>
120120 throw("fail cast to String")
121121 }
122122
123123
124124 func getStringOrFail (addr,key) = valueOrErrorMessage(getString(addr, key), makeString(["mandatory ", toString(addr), ".", key, " is not defined"], ""))
125125
126126
127127 func getIntOrFail (addr,key) = valueOrErrorMessage(getInteger(addr, key), makeString(["mandatory ", toString(addr), ".", key, " is not defined"], ""))
128128
129129
130130 let factoryContract = addressFromStringValue(getStringOrFail(this, keyFactCntr()))
131131
132132 let A = getStringOrFail(this, keyAmplificator())
133133
134134 func isGlobalShutdown () = valueOrElse(getBoolean(factoryContract, keyAllPoolsShutdown()), false)
135135
136136
137137 func getMatcherPubOrFail () = fromBase58String(getStringOrFail(factoryContract, keyMatcherPub()))
138138
139139
140140 func getPoolConfig () = {
141141 let amtAs = getStringOrFail(this, keyAmtAsset())
142142 let priceAs = getStringOrFail(this, keyPriceAsset())
143143 let iPriceAs = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(priceAs))
144144 let iAmtAs = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(amtAs))
145145 split(getStringOrFail(factoryContract, keyPoolConfig(toString(iAmtAs), toString(iPriceAs))), SEP)
146146 }
147147
148148
149149 func getFactoryConfig () = split(getStringOrFail(factoryContract, keyFactoryConfig()), SEP)
150150
151151
152152 func dataPutActionInfo (inAmtAssetAmt,inPriceAssetAmt,outLpAmt,price,slipByUser,slippageReal,txHeight,txTimestamp,slipageAmAmt,slipagePrAmt) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(inAmtAssetAmt), toString(inPriceAssetAmt), toString(outLpAmt), toString(price), toString(slipByUser), toString(slippageReal), toString(txHeight), toString(txTimestamp), toString(slipageAmAmt), toString(slipagePrAmt)], SEP)
153153
154154
155155 func dataGetActionInfo (outAmtAssetAmt,outPriceAssetAmt,inLpAmt,price,txHeight,txTimestamp) = makeString(["%d%d%d%d%d%d", toString(outAmtAssetAmt), toString(outPriceAssetAmt), toString(inLpAmt), toString(price), toString(txHeight), toString(txTimestamp)], SEP)
156156
157157
158158 func getAccBalance (assetId) = if ((assetId == "WAVES"))
159159 then wavesBalance(this).available
160160 else assetBalance(this, fromBase58String(assetId))
161161
162162
163163 func calcPriceBigInt (prAmtX18,amAmtX18) = fraction(prAmtX18, scale18, amAmtX18)
164164
165165
166166 func validateAbsDiff (realAmt,expectedAmt,slippage) = {
167167 let diff = fraction((realAmt - expectedAmt), scale8BigInt, expectedAmt)
168168 let passed = ((slippage - abs(diff)) > zeroBigInt)
169169 if (!(passed))
170170 then throw(((("Too big slippage: " + toString(diff)) + " vs ") + toString(slippage)))
171171 else $Tuple2(passed, min([realAmt, expectedAmt]))
172172 }
173173
174174
175175 func privateCalcPrice (amAssetDcm,prAssetDcm,amAmt,prAmt) = {
176176 let amtAsAmtX18 = toX18(amAmt, amAssetDcm)
177177 let prAsAmtX18 = toX18(prAmt, prAssetDcm)
178178 calcPriceBigInt(prAsAmtX18, amtAsAmtX18)
179179 }
180180
181181
182182 func calcPrices (amAmt,prAmt,lpAmt) = {
183183 let cfg = getPoolConfig()
184184 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
185185 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
186186 let priceX18 = privateCalcPrice(amtAsDcm, prAsDcm, amAmt, prAmt)
187187 let amAmtX18 = toX18(amAmt, amtAsDcm)
188188 let prAmtX18 = toX18(prAmt, prAsDcm)
189189 let lpAmtX18 = toX18(lpAmt, scale8)
190190 let lpPrInAmAsX18 = calcPriceBigInt(amAmtX18, lpAmtX18)
191191 let lpPrInPrAsX18 = calcPriceBigInt(prAmtX18, lpAmtX18)
192192 [priceX18, lpPrInAmAsX18, lpPrInPrAsX18]
193193 }
194194
195195
196196 func calculatePrices (amAmt,prAmt,lpAmt) = {
197197 let prices = calcPrices(amAmt, prAmt, lpAmt)
198198 [fromX18(prices[0], scale8), fromX18(prices[1], scale8), fromX18(prices[2], scale8)]
199199 }
200200
201201
202202 func estimateGetOperation (txId58,pmtAssetId,pmtLpAmt,userAddress) = {
203203 let cfg = getPoolConfig()
204204 let lpId = cfg[idxLPAsId]
205205 let amId = cfg[idxAmAsId]
206206 let prId = cfg[idxPrAsId]
207207 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
208208 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
209209 let poolStatus = cfg[idxPoolSt]
210210 let lpEmission = valueOrErrorMessage(assetInfo(fromBase58String(lpId)), "Invalid LP id").quantity
211211 if ((lpId != pmtAssetId))
212212 then throw("Invalid pmt asset")
213213 else {
214214 let amBalance = getAccBalance(amId)
215215 let amBalanceX18 = toX18(amBalance, amDcm)
216216 let prBalance = getAccBalance(prId)
217217 let prBalanceX18 = toX18(prBalance, prDcm)
218218 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
219219 let curPrice = fromX18(curPriceX18, scale8)
220220 let pmtLpAmtX18 = toX18(pmtLpAmt, scale8)
221221 let lpEmissionX18 = toX18(lpEmission, scale8)
222222 let outAmAmtX18 = fraction(amBalanceX18, pmtLpAmtX18, lpEmissionX18)
223223 let outPrAmtX18 = fraction(prBalanceX18, pmtLpAmtX18, lpEmissionX18)
224224 let outAmAmt = fromX18(outAmAmtX18, amDcm)
225225 let outPrAmt = fromX18(outPrAmtX18, prDcm)
226226 let state = if ((txId58 == ""))
227227 then nil
228228 else [ScriptTransfer(userAddress, outAmAmt, if ((amId == "WAVES"))
229229 then unit
230230 else fromBase58String(amId)), ScriptTransfer(userAddress, outPrAmt, if ((prId == "WAVES"))
231231 then unit
232232 else fromBase58String(prId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(outAmAmt, outPrAmt, pmtLpAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
233233 $Tuple10(outAmAmt, outPrAmt, amId, prId, amBalance, prBalance, lpEmission, curPriceX18, poolStatus, state)
234234 }
235235 }
236236
237237
238238 func estimatePutOperation (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,userAddress,isEval,emitLp,isOneAsset,pmtAmt,pmtId) = {
239239 let cfg = getPoolConfig()
240240 let lpId = fromBase58String(cfg[idxLPAsId])
241241 let amIdStr = cfg[idxAmAsId]
242242 let prIdStr = cfg[idxPrAsId]
243243 let inAmIdStr = cfg[idxIAmtAsId]
244244 let inPrIdStr = cfg[idxIPriceAsId]
245245 let amtDcm = parseIntValue(cfg[idxAmtAsDcm])
246246 let priceDcm = parseIntValue(cfg[idxPriceAsDcm])
247247 let poolStatus = cfg[idxPoolSt]
248248 let lpEm = valueOrErrorMessage(assetInfo(lpId), "Wr lp as").quantity
249249 let amBalance = if (isEval)
250250 then getAccBalance(amIdStr)
251251 else if (if (isOneAsset)
252252 then (pmtId == amIdStr)
253253 else false)
254254 then (getAccBalance(amIdStr) - pmtAmt)
255255 else if (isOneAsset)
256256 then getAccBalance(amIdStr)
257257 else (getAccBalance(amIdStr) - inAmAmt)
258258 let prBalance = if (isEval)
259259 then getAccBalance(prIdStr)
260260 else if (if (isOneAsset)
261261 then (pmtId == prIdStr)
262262 else false)
263263 then (getAccBalance(prIdStr) - pmtAmt)
264264 else if (isOneAsset)
265265 then getAccBalance(prIdStr)
266266 else (getAccBalance(prIdStr) - inPrAmt)
267267 let inAmAssetAmtX18 = toX18(inAmAmt, amtDcm)
268268 let inPrAssetAmtX18 = toX18(inPrAmt, priceDcm)
269269 let userPriceX18 = calcPriceBigInt(inPrAssetAmtX18, inAmAssetAmtX18)
270270 let amBalanceX18 = toX18(amBalance, amtDcm)
271271 let prBalanceX18 = toX18(prBalance, priceDcm)
272272 let res = if ((lpEm == 0))
273273 then {
274274 let curPriceX18 = zeroBigInt
275275 let slippageX18 = zeroBigInt
276276 let lpAmtX18 = pow((inAmAssetAmtX18 * inPrAssetAmtX18), 0, toBigInt(5), 1, 0, DOWN)
277277 $Tuple5(fromX18(lpAmtX18, scale8), fromX18(inAmAssetAmtX18, amtDcm), fromX18(inPrAssetAmtX18, priceDcm), calcPriceBigInt((prBalanceX18 + inPrAssetAmtX18), (amBalanceX18 + inAmAssetAmtX18)), slippageX18)
278278 }
279279 else {
280280 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
281281 let slippageRealX18 = fraction(abs((curPriceX18 - userPriceX18)), scale18, curPriceX18)
282282 let slippageX18 = toX18(slippage, scale8)
283283 if (if ((curPriceX18 != zeroBigInt))
284284 then (slippageRealX18 > slippageX18)
285285 else false)
286286 then throw(((("Price slippage " + toString(slippageRealX18)) + " > ") + toString(slippageX18)))
287287 else {
288288 let lpEmissionX18 = toX18(lpEm, scale8)
289289 let prViaAmX18 = fraction(inAmAssetAmtX18, curPriceX18, scale18)
290290 let amViaPrX18 = fraction(inPrAssetAmtX18, scale18, curPriceX18)
291291 let expectedAmts = if ((prViaAmX18 > inPrAssetAmtX18))
292292 then $Tuple2(amViaPrX18, inPrAssetAmtX18)
293293 else $Tuple2(inAmAssetAmtX18, prViaAmX18)
294294 let expAmtAssetAmtX18 = expectedAmts._1
295295 let expPriceAssetAmtX18 = expectedAmts._2
296296 let lpAmtX18 = fraction(lpEmissionX18, expPriceAssetAmtX18, prBalanceX18)
297297 $Tuple5(fromX18(lpAmtX18, scale8), fromX18(expAmtAssetAmtX18, amtDcm), fromX18(expPriceAssetAmtX18, priceDcm), curPriceX18, slippageX18)
298298 }
299299 }
300300 let calcLpAmt = res._1
301301 let calcAmAssetPmt = res._2
302302 let calcPrAssetPmt = res._3
303303 let curPrice = fromX18(res._4, scale8)
304304 let slippageCalc = fromX18(res._5, scale8)
305305 if ((0 >= calcLpAmt))
306306 then throw("LP <= 0")
307307 else {
308308 let emitLpAmt = if (!(emitLp))
309309 then 0
310310 else calcLpAmt
311311 let amDiff = (inAmAmt - calcAmAssetPmt)
312312 let prDiff = (inPrAmt - calcPrAssetPmt)
313313 let $t01564215988 = if (if (isOneAsset)
314314 then (pmtId == amIdStr)
315315 else false)
316316 then $Tuple2(pmtAmt, 0)
317317 else if (if (isOneAsset)
318318 then (pmtId == prIdStr)
319319 else false)
320320 then $Tuple2(0, pmtAmt)
321321 else $Tuple2(calcAmAssetPmt, calcPrAssetPmt)
322322 let writeAmAmt = $t01564215988._1
323323 let writePrAmt = $t01564215988._2
324324 let commonState = [IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice), StringEntry(keyPutActionByUser(userAddress, txId58), dataPutActionInfo(writeAmAmt, writePrAmt, emitLpAmt, curPrice, slippage, slippageCalc, height, lastBlock.timestamp, amDiff, prDiff))]
325325 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEm, lpId, poolStatus, commonState, amDiff, prDiff, inAmId, inPrId)
326326 }
327327 }
328328
329329
330330 func validateMatcherOrderAllowed (order) = {
331331 let cfg = getPoolConfig()
332332 let amtAsId = cfg[idxAmAsId]
333333 let prAsId = cfg[idxPrAsId]
334334 let poolStatus = parseIntValue(cfg[idxPoolSt])
335335 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
336336 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
337337 let accAmtAsBalance = getAccBalance(amtAsId)
338338 let accPrAsBalance = getAccBalance(prAsId)
339339 let curPriceX18 = if ((order.orderType == Buy))
340340 then privateCalcPrice(amtAsDcm, prAsDcm, (accAmtAsBalance + order.amount), accPrAsBalance)
341341 else privateCalcPrice(amtAsDcm, prAsDcm, (accAmtAsBalance - order.amount), accPrAsBalance)
342342 let curPrice = fromX18(curPriceX18, scale8)
343343 if (if (if (isGlobalShutdown())
344344 then true
345345 else (poolStatus == PoolMatcherDis))
346346 then true
347347 else (poolStatus == PoolShutdown))
348348 then throw("Admin blocked")
349349 else {
350350 let orAmtAsset = order.assetPair.amountAsset
351351 let orAmtAsStr = if ((orAmtAsset == unit))
352352 then "WAVES"
353353 else toBase58String(value(orAmtAsset))
354354 let orPrAsset = order.assetPair.priceAsset
355355 let orPrAsStr = if ((orPrAsset == unit))
356356 then "WAVES"
357357 else toBase58String(value(orPrAsset))
358358 if (if ((orAmtAsStr != amtAsId))
359359 then true
360360 else (orPrAsStr != prAsId))
361361 then throw("Wr assets")
362362 else {
363363 let orderPrice = order.price
364364 let priceDcm = fraction(scale8, prAsDcm, amtAsDcm)
365365 let castOrderPrice = toScale(orderPrice, scale8, priceDcm)
366366 let isOrderPriceValid = if ((order.orderType == Buy))
367367 then (curPrice >= castOrderPrice)
368368 else (castOrderPrice >= curPrice)
369369 true
370370 }
371371 }
372372 }
373373
374374
375375 func commonGet (i) = if ((size(i.payments) != 1))
376376 then throw("1 pmnt exp")
377377 else {
378378 let pmt = value(i.payments[0])
379379 let pmtAssetId = value(pmt.assetId)
380380 let pmtAmt = pmt.amount
381381 let res = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
382382 let outAmAmt = res._1
383383 let outPrAmt = res._2
384384 let poolStatus = parseIntValue(res._9)
385385 let state = res._10
386386 if (if (isGlobalShutdown())
387387 then true
388388 else (poolStatus == PoolShutdown))
389389 then throw(("Admin blocked: " + toString(poolStatus)))
390390 else $Tuple5(outAmAmt, outPrAmt, pmtAmt, pmtAssetId, state)
391391 }
392392
393393
394394 func commonPut (caller,txId,amAsPmt,prAsPmt,slippage,emitLp,isOneAsset,pmtAmt,pmtId) = {
395395 let r = estimatePutOperation(txId, slippage, value(amAsPmt).amount, value(amAsPmt).assetId, value(prAsPmt).amount, value(prAsPmt).assetId, caller, false, emitLp, isOneAsset, pmtAmt, pmtId)
396396 let status = parseIntValue(r._8)
397397 if (if (if (isGlobalShutdown())
398398 then true
399399 else (status == PoolPutDis))
400400 then true
401401 else (status == PoolShutdown))
402402 then throw(("Admin blocked: " + toString(status)))
403403 else r
404404 }
405405
406406
407407 @Callable(i)
408408 func constructor (factoryContract,managerPublicKey) = if ((i.caller != this))
409409 then throw("denied")
410410 else [StringEntry(keyFactCntr(), factoryContract), StringEntry(keyManPubKey(), managerPublicKey)]
411411
412412
413413
414414 @Callable(i)
415415 func put (slip,autoStake) = {
416416 let factCfg = getFactoryConfig()
417417 let stakingCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactStakCntr]), "Wr st addr")
418418 let slipCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactSlippCntr]), "Wr sl addr")
419419 if ((0 > slip))
420420 then throw("Invalid slippage")
421421 else if ((size(i.payments) != 2))
422422 then throw("2 pmnts expected")
423423 else {
424424 let estPut = commonPut(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(value(i.payments[0]).assetId, value(i.payments[0]).amount), i.payments[1], slip, true, false, 0, "")
425425 let emitLpAmt = estPut._2
426426 let lpAssetId = estPut._7
427427 let state = estPut._9
428428 let amDiff = estPut._10
429429 let prDiff = estPut._11
430430 let amId = estPut._12
431431 let prId = estPut._13
432432 let emitInv = invoke(factoryContract, "emit", [emitLpAmt], nil)
433433 if ((emitInv == emitInv))
434434 then {
435435 let slippageAInv = if ((amDiff > 0))
436436 then invoke(slipCntr, "put", nil, [AttachedPayment(amId, amDiff)])
437437 else nil
438438 if ((slippageAInv == slippageAInv))
439439 then {
440440 let slippagePInv = if ((prDiff > 0))
441441 then invoke(slipCntr, "put", nil, [AttachedPayment(prId, prDiff)])
442442 else nil
443443 if ((slippagePInv == slippagePInv))
444444 then {
445445 let lpTrnsfr = if (autoStake)
446446 then {
447447 let slpStakeInv = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
448448 if ((slpStakeInv == slpStakeInv))
449449 then nil
450450 else throw("Strict value is not equal to itself.")
451451 }
452452 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
453453 (state ++ lpTrnsfr)
454454 }
455455 else throw("Strict value is not equal to itself.")
456456 }
457457 else throw("Strict value is not equal to itself.")
458458 }
459459 else throw("Strict value is not equal to itself.")
460460 }
461461 }
462462
463463
464464
465465 @Callable(i)
466466 func putOneTkn (amAssetPart,prAssetPart,outLp,slippage,autoStake) = {
467467 let cfg = getFactoryConfig()
468468 let stakingCntr = valueOrErrorMessage(addressFromString(cfg[idxFactStakCntr]), "Wr st addr")
469469 let slipCntr = valueOrErrorMessage(addressFromString(cfg[idxFactSlippCntr]), "Wr sl addr")
470470 let gwxCntr = valueOrErrorMessage(addressFromString(cfg[idxFactGwxRewCntr]), "Wr gwx addr")
471471 let poolCfg = getPoolConfig()
472472 let amId = poolCfg[idxAmAsId]
473473 let prId = poolCfg[idxPrAsId]
474474 let amDcm = parseIntValue(poolCfg[idxAmtAsDcm])
475475 let prDcm = parseIntValue(poolCfg[idxPriceAsDcm])
476476 if (if (if (if ((0 >= slippage))
477477 then true
478478 else (0 >= amAssetPart))
479479 then true
480480 else (0 >= prAssetPart))
481481 then true
482482 else (0 >= outLp))
483483 then throw("Wrong params")
484484 else if ((size(i.payments) != 1))
485485 then throw("1 pmnt expected")
486486 else {
487487 let pmt = value(i.payments[0])
488488 let pmtAssetId = toBase58String(value(pmt.assetId))
489489 let pmtAmt = pmt.amount
490490 let amBalance = getAccBalance(amId)
491491 let prBalance = getAccBalance(prId)
492492 let $t02366124041 = if ((pmtAssetId == amId))
493493 then $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
494494 else if ((pmtAssetId == prId))
495495 then $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
496496 else throw("wrong pmtAssetId")
497497 let amBalanceNow = $t02366124041._1
498498 let prBalanceNow = $t02366124041._2
499499 let virtSwapInAm = $t02366124041._3
500500 let virtSwapOutPr = $t02366124041._4
501501 let virtSwapInPr = $t02366124041._5
502502 let virtSwapOutAm = $t02366124041._6
503- let dCur = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
504- let dNew = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
505- let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(dNew)), parseBigIntValue(asString(dCur)), toBigInt(1000))
503+ let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
504+ let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
505+ let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(D1)), parseBigIntValue(asString(D0)), toBigInt(1000))
506506 if ((D0vsD1 == D0vsD1))
507507 then {
508508 let estPut = commonPut(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), 50000000000, true, true, pmtAmt, pmtAssetId)
509509 let estimLP = estPut._2
510510 let lpAssetId = estPut._7
511511 let state = estPut._9
512512 let amDiff = estPut._10
513513 let prDiff = estPut._11
514514 let lpCalcRes = validateAbsDiff(toBigInt(estimLP), toBigInt(outLp), toBigInt(slippage))
515515 let emitLpAmt = toInt(lpCalcRes._2)
516516 let emitInv = invoke(factoryContract, "emit", [emitLpAmt], nil)
517517 if ((emitInv == emitInv))
518518 then {
519519 let slippageAInv = if ((amDiff > 0))
520520 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
521521 else nil
522522 if ((slippageAInv == slippageAInv))
523523 then {
524524 let slippagePInv = if ((prDiff > 0))
525525 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
526526 else nil
527527 if ((slippagePInv == slippagePInv))
528528 then {
529529 let lpTrnsfr = if (autoStake)
530530 then {
531531 let slpStakeInv = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
532532 if ((slpStakeInv == slpStakeInv))
533533 then nil
534534 else throw("Strict value is not equal to itself.")
535535 }
536536 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
537537 (state ++ lpTrnsfr)
538538 }
539539 else throw("Strict value is not equal to itself.")
540540 }
541541 else throw("Strict value is not equal to itself.")
542542 }
543543 else throw("Strict value is not equal to itself.")
544544 }
545545 else throw("Strict value is not equal to itself.")
546546 }
547547 }
548548
549549
550550
551551 @Callable(i)
552552 func putForFree (maxSlippage) = if ((0 > maxSlippage))
553553 then throw("Invalid slippage")
554554 else if ((size(i.payments) != 2))
555555 then throw("2 pmnts expected")
556556 else {
557557 let estPut = commonPut(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(value(i.payments[0]).assetId, value(i.payments[0]).amount), i.payments[1], maxSlippage, false, false, 0, "")
558558 estPut._9
559559 }
560560
561561
562562
563563 @Callable(i)
564564 func get () = {
565565 let res = commonGet(i)
566566 let outAmtAmt = res._1
567567 let outPrAmt = res._2
568568 let pmtAmt = res._3
569569 let pmtAssetId = res._4
570570 let state = res._5
571571 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
572572 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
573573 then state
574574 else throw("Strict value is not equal to itself.")
575575 }
576576
577577
578578
579579 @Callable(i)
580580 func getOneTkn (amAssetSwap,prAssetSwap,outAmount,outAssetId,slippage) = if ((size(i.payments) != 1))
581581 then throw("1 pmnt expected")
582582 else {
583583 let cfg = getPoolConfig()
584584 let lpId = cfg[idxLPAsId]
585585 let amId = cfg[idxAmAsId]
586586 let prId = cfg[idxPrAsId]
587587 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
588588 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
589589 let poolStatus = cfg[idxPoolSt]
590590 let fcfg = getFactoryConfig()
591591 let gwxCntr = valueOrErrorMessage(addressFromString(fcfg[idxFactGwxRewCntr]), "Wr sl addr")
592- if (if ((outAssetId != amId))
593- then (outAssetId != prId)
594- else false)
595- then throw("Wr out as")
596- else {
597- let resultAssetId = if ((outAssetId == amId))
598- then amId
599- else prId
600- let pmt = value(i.payments[0])
601- let userAddress = i.caller
602- let txId58 = toBase58String(i.transactionId)
603- let pmtAssetId = value(pmt.assetId)
604- let pmtAmt = pmt.amount
605- if (if (if (if ((0 > slippage))
606- then true
607- else (0 > amAssetSwap))
608- then true
609- else (0 > prAssetSwap))
610- then true
611- else (0 > outAmount))
612- then throw("Wrong params")
613- else if ((lpId != toBase58String(pmtAssetId)))
614- then throw("Invalid LP")
615- else {
616- let r = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
617- let estimAmAmt = r._1
618- let estimPrAmt = r._2
619- let amBalance = getAccBalance(amId)
620- let prBalance = getAccBalance(prId)
621- let $t02864629130 = if ((outAssetId == amId))
622- then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), (outAmount - estimAmAmt), prAssetSwap, 0, 0, (estimAmAmt + amAssetSwap))
623- else if ((outAssetId == prId))
624- then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, (outAmount - estimPrAmt), amAssetSwap, (estimPrAmt + prAssetSwap))
625- else throw("wrong outAssetId")
626- let amBalanceNow = $t02864629130._1
627- let prBalanceNow = $t02864629130._2
628- let virtSwapInAm = $t02864629130._3
629- let virtSwapOutPr = $t02864629130._4
630- let virtSwapInPr = $t02864629130._5
631- let virtSwapOutAm = $t02864629130._6
632- let totalGet = $t02864629130._7
633- let invLeft = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
634- let invRight = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
635- let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(invRight)), parseBigIntValue(asString(invLeft)), toBigInt(1000))
636- if ((D0vsD1 == D0vsD1))
592+ let pmt = value(i.payments[0])
593+ let userAddress = i.caller
594+ let txId58 = toBase58String(i.transactionId)
595+ let pmtAssetId = value(pmt.assetId)
596+ let pmtAmt = pmt.amount
597+ if (if (if (if ((0 > slippage))
598+ then true
599+ else (0 > amAssetSwap))
600+ then true
601+ else (0 > prAssetSwap))
602+ then true
603+ else (0 > outAmount))
604+ then throw("Wrong params")
605+ else if ((lpId != toBase58String(pmtAssetId)))
606+ then throw("Invalid LP")
607+ else {
608+ let r = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
609+ let estimAmAmt = r._1
610+ let estimPrAmt = r._2
611+ let amBalance = getAccBalance(amId)
612+ let prBalance = getAccBalance(prId)
613+ let $t02849828982 = if ((outAssetId == amId))
614+ then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), (outAmount - estimAmAmt), prAssetSwap, 0, 0, (estimAmAmt + amAssetSwap))
615+ else if ((outAssetId == prId))
616+ then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, (outAmount - estimPrAmt), amAssetSwap, (estimPrAmt + prAssetSwap))
617+ else throw("wrong outAssetId")
618+ let amBalanceNow = $t02849828982._1
619+ let prBalanceNow = $t02849828982._2
620+ let virtSwapInAm = $t02849828982._3
621+ let virtSwapOutPr = $t02849828982._4
622+ let virtSwapInPr = $t02849828982._5
623+ let virtSwapOutAm = $t02849828982._6
624+ let totalGet = $t02849828982._7
625+ let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
626+ let D1 = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
627+ let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(D1)), parseBigIntValue(asString(D0)), toBigInt(1000))
628+ if ((D0vsD1 == D0vsD1))
629+ then {
630+ let amount2Return = validateAbsDiff(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
631+ if ((amount2Return == amount2Return))
637632 then {
638- let amount2Return = validateAbsDiff(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
639- if ((amount2Return == amount2Return))
633+ let $t02965829772 = if ((outAssetId == amId))
634+ then $Tuple2(toInt(amount2Return._2), 0)
635+ else $Tuple2(0, toInt(amount2Return._2))
636+ let outAm = $t02965829772._1
637+ let outPr = $t02965829772._2
638+ let curPriceX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
639+ let curPrice = fromX18(curPriceX18, scale8)
640+ let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
641+ then unit
642+ else fromBase58String(outAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(outAm, outPr, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
643+ if ((state == state))
640644 then {
641- let resultTuple = if ((outAssetId == amId))
642- then $Tuple2(toInt(amount2Return._2), 0)
643- else $Tuple2(0, toInt(amount2Return._2))
644- let curPriceX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
645- let curPrice = fromX18(curPriceX18, scale8)
646- let state = [ScriptTransfer(userAddress, if ((resultAssetId == amId))
647- then resultTuple._1
648- else resultTuple._2, if ((resultAssetId == "WAVES"))
649- then unit
650- else fromBase58String(resultAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(resultTuple._1, resultTuple._2, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
651- if ((state == state))
652- then {
653- let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
654- if ((burn == burn))
655- then state
656- else throw("Strict value is not equal to itself.")
657- }
645+ let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
646+ if ((burn == burn))
647+ then state
658648 else throw("Strict value is not equal to itself.")
659649 }
660650 else throw("Strict value is not equal to itself.")
661651 }
662652 else throw("Strict value is not equal to itself.")
663653 }
664- }
654+ else throw("Strict value is not equal to itself.")
655+ }
665656 }
666657
667658
668659
669660 @Callable(i)
670661 func getNoLess (noLessThenAmtAsset,noLessThenPriceAsset) = {
671662 let res = commonGet(i)
672663 let outAmAmt = res._1
673664 let outPrAmt = res._2
674665 let pmtAmt = res._3
675666 let pmtAssetId = res._4
676667 let state = res._5
677668 if ((noLessThenAmtAsset > outAmAmt))
678669 then throw(((("Failed: " + toString(outAmAmt)) + " < ") + toString(noLessThenAmtAsset)))
679670 else if ((noLessThenPriceAsset > outPrAmt))
680671 then throw(((("Failed: " + toString(outPrAmt)) + " < ") + toString(noLessThenPriceAsset)))
681672 else {
682673 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
683674 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
684675 then state
685676 else throw("Strict value is not equal to itself.")
686677 }
687678 }
688679
689680
690681
691682 @Callable(i)
692683 func unstakeAndGet (amount) = {
693684 let checkPayments = if ((size(i.payments) != 0))
694685 then throw("No pmnts expected")
695686 else true
696687 if ((checkPayments == checkPayments))
697688 then {
698689 let cfg = getPoolConfig()
699690 let factoryCfg = getFactoryConfig()
700691 let lpAssetId = fromBase58String(cfg[idxLPAsId])
701692 let stakingContract = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
702693 let unstakeInv = invoke(stakingContract, "unstake", [toBase58String(lpAssetId), amount], nil)
703694 if ((unstakeInv == unstakeInv))
704695 then {
705696 let r = estimateGetOperation(toBase58String(i.transactionId), toBase58String(lpAssetId), amount, i.caller)
706697 let poolStatus = parseIntValue(r._9)
707698 let state = r._10
708699 let checkPoolStatus = if (if (isGlobalShutdown())
709700 then true
710701 else (poolStatus == PoolShutdown))
711702 then throw(("Blocked: " + toString(poolStatus)))
712703 else true
713704 if ((checkPoolStatus == checkPoolStatus))
714705 then {
715706 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
716707 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
717708 then state
718709 else throw("Strict value is not equal to itself.")
719710 }
720711 else throw("Strict value is not equal to itself.")
721712 }
722713 else throw("Strict value is not equal to itself.")
723714 }
724715 else throw("Strict value is not equal to itself.")
725716 }
726717
727718
728719
729720 @Callable(i)
730721 func activate (amtAssetStr,priceAssetStr) = if ((toString(i.caller) != toString(factoryContract)))
731722 then throw("denied")
732723 else $Tuple2([StringEntry(keyAmtAsset(), amtAssetStr), StringEntry(keyPriceAsset(), priceAssetStr)], "success")
733724
734725
735726
736727 @Callable(i)
737728 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, getPoolConfig())
738729
739730
740731
741732 @Callable(i)
742733 func getAccBalanceWrapperREADONLY (assetId) = $Tuple2(nil, getAccBalance(assetId))
743734
744735
745736
746737 @Callable(i)
747738 func calcPricesWrapperREADONLY (amAmt,prAmt,lpAmt) = {
748739 let prices = calcPrices(amAmt, prAmt, lpAmt)
749740 $Tuple2(nil, [toString(prices[0]), toString(prices[1]), toString(prices[2])])
750741 }
751742
752743
753744
754745 @Callable(i)
755746 func fromX18WrapperREADONLY (val,resultScaleMult) = $Tuple2(nil, fromX18(parseBigIntValue(val), resultScaleMult))
756747
757748
758749
759750 @Callable(i)
760751 func toX18WrapperREADONLY (origVal,origScaleMult) = $Tuple2(nil, toString(toX18(origVal, origScaleMult)))
761752
762753
763754
764755 @Callable(i)
765756 func calcPriceBigIntWrapperREADONLY (prAmtX18,amAmtX18) = $Tuple2(nil, toString(calcPriceBigInt(parseBigIntValue(prAmtX18), parseBigIntValue(amAmtX18))))
766757
767758
768759
769760 @Callable(i)
770761 func estimatePutOperationWrapperREADONLY (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,usrAddr,isEval,emitLp) = $Tuple2(nil, estimatePutOperation(txId58, slippage, inAmAmt, inAmId, inPrAmt, inPrId, usrAddr, isEval, emitLp, false, 0, ""))
771762
772763
773764
774765 @Callable(i)
775766 func estimateGetOperationWrapperREADONLY (txId58,pmtAsId,pmtLpAmt,usrAddr) = {
776767 let res = estimateGetOperation(txId58, pmtAsId, pmtLpAmt, addressFromStringValue(usrAddr))
777768 $Tuple2(nil, $Tuple10(res._1, res._2, res._3, res._4, res._5, res._6, res._7, toString(res._8), res._9, res._10))
778769 }
779770
780771
781772 @Verifier(tx)
782773 func verify () = match tx {
783774 case order: Order =>
784775 let mtchPub = getMatcherPubOrFail()
785776 let orV = validateMatcherOrderAllowed(order)
786777 let sndrV = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
787778 let mtchV = sigVerify(order.bodyBytes, order.proofs[1], mtchPub)
788779 if (if (if (orV)
789780 then sndrV
790781 else false)
791782 then mtchV
792783 else false)
793784 then true
794785 else throwOrderError(orV, sndrV, mtchV)
795786 case _ =>
796787 let admin = valueOrElse(getString(this, keyManPubKey()), EMPTY)
797788 if ((admin == EMPTY))
798789 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
799790 else sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(admin))
800791 }
801792

github/deemru/w8io/169f3d6 
86.78 ms