tx · H8QS7WuXCCBSPQEDeZny5ZY2Uow37YWgaL9F2inrjudx

3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA:  -0.03600000 Waves

2022.09.14 15:29 [2228767] smart account 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA > SELF 0.00000000 Waves

{ "type": 13, "id": "H8QS7WuXCCBSPQEDeZny5ZY2Uow37YWgaL9F2inrjudx", "fee": 3600000, "feeAssetId": null, "timestamp": 1663158550036, "version": 2, "chainId": 84, "sender": "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA", "senderPublicKey": "35yd3qw1gxKDxKwGAykHN9fANbXNWwseaUwbWDj24o3x", "proofs": [ "398R4d5yvT9nV1DmJngFmMfbPzw4aHTBXGX1FMVmnZxbM6CuKHLvMw4ieaffoZosTgyAr1FbRHgCt1k8HE8b8yi2" ], "script": "base64:BgKfAQgCEgMKAQgSAwoBCBIAEgQKAgEEEgcKBQEBAQEEEgQKAgEEEgQKAgEIEgMKAQESABIHCgUBAQEIARIECgIIARIECgIIARIECgIBARIDCgEBEgYKBAEBCAESBAoCCAgSBAoCCAgSBAoCCAESABIDCgEIEgUKAwEBARIECgIIARIECgIBARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCFMABnNjYWxlOACAwtcvAAxzY2FsZThCaWdJbnQJALYCAQCAwtcvAAdzY2FsZTE4CQC2AgEAgICQu7rWrfANAAp6ZXJvQmlnSW50CQC2AgEAAAAJb25lQmlnSW50CQC2AgEAAQAKc2xpcHBhZ2U0RAkAtgIBCQBlAgUGc2NhbGU4CQBpAgkAaAIFBnNjYWxlOAABBQZzY2FsZTgABUFtdWx0AgMxMDAABURjb252AgExAANTRVACAl9fAAVFTVBUWQIAAApQb29sQWN0aXZlAAEAClBvb2xQdXREaXMAAgAOUG9vbE1hdGNoZXJEaXMAAwAMUG9vbFNodXRkb3duAAQADmlkeFBvb2xBZGRyZXNzAAEACWlkeFBvb2xTdAACAAlpZHhMUEFzSWQAAwA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AQKbWF0Y2hlclB1YgkBAm1wAAQKb3JkZXJWYWxpZAkBA21vYQEFBW9yZGVyBAtzZW5kZXJWYWxpZAkA9AMDCAUFb3JkZXIJYm9keUJ5dGVzCQCRAwIIBQVvcmRlcgZwcm9vZnMAAAgFBW9yZGVyD3NlbmRlclB1YmxpY0tleQQMbWF0Y2hlclZhbGlkCQD0AwMIBQVvcmRlcglib2R5Qnl0ZXMJAJEDAggFBW9yZGVyBnByb29mcwABBQptYXRjaGVyUHViAwMDBQpvcmRlclZhbGlkBQtzZW5kZXJWYWxpZAcFDG1hdGNoZXJWYWxpZAcGCQEDdG9lAwUKb3JkZXJWYWxpZAULc2VuZGVyVmFsaWQFDG1hdGNoZXJWYWxpZAMJAAECBQckbWF0Y2gwAhRTZXRTY3JpcHRUcmFuc2FjdGlvbgQBcwUHJG1hdGNoMAQHbmV3SGFzaAkA9gMBCQEFdmFsdWUBCAUBcwZzY3JpcHQEC2FsbG93ZWRIYXNoCQDbBAEJAQV2YWx1ZQEJAJ0IAgUDZmNhCQEca2V5QWxsb3dlZExwU3RhYmxlU2NyaXB0SGFzaAAEC2N1cnJlbnRIYXNoCQDxBwEFBHRoaXMDAwkAAAIFC2FsbG93ZWRIYXNoBQduZXdIYXNoCQECIT0CBQtjdXJyZW50SGFzaAUHbmV3SGFzaAcGCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXkJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFD3RhcmdldFB1YmxpY0tleWoYM/s=", "height": 2228767, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4uPMBTrqAqHKYpfgc8S9rcFaH9358RsF3e2GMKugp2F6 Next: 5obmnocF7rafTFHbeJ4dvFwQ11FXKjq6AzjzkPj1WHF6 Diff:
OldNewDifferences
823823 let state = $t03175531863._3
824824 let amDiff = $t03175531863._4
825825 let prDiff = $t03175531863._5
826- $Tuple2(nil, $Tuple5(estimLP, lpAssetId, state, amDiff, prDiff))
826+ $Tuple2(nil, estimLP)
827827 }
828828
829829
896896 let estimPrAmt = r._2
897897 let amBalance = getAccBalance(amId)
898898 let prBalance = getAccBalance(prId)
899- let $t03493735394 = if ((outAssetId == amId))
899+ let $t03490135358 = if ((outAssetId == amId))
900900 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
901901 else if ((outAssetId == prId))
902902 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
903903 else throw("wrong outAssetId")
904- let amBalanceNow = $t03493735394._1
905- let prBalanceNow = $t03493735394._2
906- let virtSwapInAm = $t03493735394._3
907- let virtSwapOutPr = $t03493735394._4
908- let virtSwapInPr = $t03493735394._5
909- let virtSwapOutAm = $t03493735394._6
910- let totalGet = $t03493735394._7
904+ let amBalanceNow = $t03490135358._1
905+ let prBalanceNow = $t03490135358._2
906+ let virtSwapInAm = $t03490135358._3
907+ let virtSwapOutPr = $t03490135358._4
908+ let virtSwapInPr = $t03490135358._5
909+ let virtSwapOutAm = $t03490135358._6
910+ let totalGet = $t03490135358._7
911911 if (if ((0 > virtSwapInAm))
912912 then true
913913 else (0 > virtSwapInPr))
921921 let finalRes = vad(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
922922 if ((finalRes == finalRes))
923923 then {
924- let $t03609936203 = if ((outAssetId == amId))
924+ let $t03606336167 = if ((outAssetId == amId))
925925 then $Tuple2(toInt(finalRes._2), 0)
926926 else $Tuple2(0, toInt(finalRes._2))
927- let outAm = $t03609936203._1
928- let outPr = $t03609936203._2
927+ let outAm = $t03606336167._1
928+ let outPr = $t03606336167._2
929929 let curPrX18 = cpbi(t1(prBalance, prDcm), t1(amBalance, amDcm))
930930 let curPr = f1(curPrX18, scale8)
931931 let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
990990 else false)
991991 then throw(makeString(["amount to receive is less than ", toString(minOutAmount)], ""))
992992 else totalGet
993- let $t03815138238 = if ((outAssetId == amId))
993+ let $t03811538202 = if ((outAssetId == amId))
994994 then $Tuple2(totalAmount, 0)
995995 else $Tuple2(0, totalAmount)
996- let outAm = $t03815138238._1
997- let outPr = $t03815138238._2
996+ let outAm = $t03811538202._1
997+ let outPr = $t03811538202._2
998998 let curPrX18 = cpbi(t1(prBalance, prDecimals), t1(amBalance, amDecimals))
999999 let curPr = f1(curPrX18, scale8)
10001000 let state = [ScriptTransfer(userAddress, totalAmount, if ((outAssetId == "WAVES"))
10271027 let prBalance = getAccBalance(prId)
10281028 let amBalanceNow = (amBalance - estimAmAmt)
10291029 let prBalanceNow = (prBalance - estimPrAmt)
1030- let $t03933239603 = if ((outAssetId == amId))
1030+ let $t03929639567 = if ((outAssetId == amId))
10311031 then $Tuple3(prBalanceNow, amBalanceNow, estimPrAmt)
10321032 else if ((outAssetId == prId))
10331033 then $Tuple3(amBalanceNow, prBalanceNow, estimAmAmt)
10341034 else throw("wrong outAssetId")
1035- let amountBalanceForSwap = $t03933239603._1
1036- let priceBalanceForSwap = $t03933239603._2
1037- let amountToSwap = $t03933239603._3
1035+ let amountBalanceForSwap = $t03929639567._1
1036+ let priceBalanceForSwap = $t03929639567._2
1037+ let amountToSwap = $t03929639567._3
10381038 let yPrecision = 1
10391039 let exchResult = {
10401040 let @ = invoke(gwxContract, "calcSwapXToY", [toString(amountToSwap), toString(amountBalanceForSwap), toString(priceBalanceForSwap), "", A, Amult, toString(yPrecision), Dconv], nil)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
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 slippage4D = toBigInt((scale8 - ((scale8 * 1) / scale8)))
1515
1616 let Amult = "100"
1717
1818 let Dconv = "1"
1919
2020 let SEP = "__"
2121
2222 let EMPTY = ""
2323
2424 let PoolActive = 1
2525
2626 let PoolPutDis = 2
2727
2828 let PoolMatcherDis = 3
2929
3030 let PoolShutdown = 4
3131
3232 let idxPoolAddress = 1
3333
3434 let idxPoolSt = 2
3535
3636 let idxLPAsId = 3
3737
3838 let idxAmAsId = 4
3939
4040 let idxPrAsId = 5
4141
4242 let idxAmtAsDcm = 6
4343
4444 let idxPriceAsDcm = 7
4545
4646 let idxIAmtAsId = 8
4747
4848 let idxIPriceAsId = 9
4949
5050 let idxFactStakCntr = 1
5151
5252 let idxFactSlippCntr = 7
5353
5454 let idxFactGwxRewCntr = 10
5555
5656 let delay = "%s__delay"
5757
5858 func t1 (origVal,origScaleMult) = fraction(toBigInt(origVal), scale18, toBigInt(origScaleMult))
5959
6060
6161 func f1 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), scale18))
6262
6363
6464 func ts (amt,resScale,curScale) = fraction(amt, resScale, curScale)
6565
6666
6767 func abs (val) = if ((zeroBigInt > val))
6868 then -(val)
6969 else val
7070
7171
7272 func fc () = "%s__factoryContract"
7373
7474
7575 func mpk () = "%s__managerPublicKey"
7676
7777
7878 func pmpk () = "%s__pendingManagerPublicKey"
7979
8080
8181 func pl () = "%s%s__price__last"
8282
8383
8484 func ph (h,t) = makeString(["%s%s%d%d__price__history", toString(h), toString(t)], SEP)
8585
8686
8787 func pau (ua,txId) = ((("%s%s%s__P__" + ua) + "__") + txId)
8888
8989
9090 func gau (ua,txId) = ((("%s%s%s__G__" + ua) + "__") + txId)
9191
9292
9393 func aa () = "%s__amountAsset"
9494
9595
9696 func pa () = "%s__priceAsset"
9797
9898
9999 func amp () = "%s__amp"
100100
101101
102102 func ada () = "%s__addonAddr"
103103
104104
105105 func lgotc (caller) = makeString(["%s%s__lastGetOneTknCall", caller], SEP)
106106
107107
108108 func lsotc (caller) = makeString(["%s%s__lastPutOneTknCall", caller], SEP)
109109
110110
111111 func fcfg () = "%s__factoryConfig"
112112
113113
114114 func mtpk () = "%s%s__matcher__publicKey"
115115
116116
117117 func pc (iAmtAs,iPrAs) = (((("%d%d%s__" + iAmtAs) + "__") + iPrAs) + "__config")
118118
119119
120120 func mba (bAStr) = ("%s%s%s__mappings__baseAsset2internalId__" + bAStr)
121121
122122
123123 func aps () = "%s__shutdown"
124124
125125
126126 func keyAllowedLpStableScriptHash () = "%s__allowedLpStableScriptHash"
127127
128128
129129 func toe (orV,sendrV,matchV) = throw(((((("Failed: ordValid=" + toString(orV)) + " sndrValid=") + toString(sendrV)) + " mtchrValid=") + toString(matchV)))
130130
131131
132132 func str (val) = match val {
133133 case valStr: String =>
134134 valStr
135135 case _ =>
136136 throw("fail cast to String")
137137 }
138138
139139
140140 func strf (addr,key) = valueOrErrorMessage(getString(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
141141
142142
143143 func intf (addr,key) = valueOrErrorMessage(getInteger(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
144144
145145
146146 let fca = addressFromStringValue(strf(this, fc()))
147147
148148 let A = strf(this, amp())
149149
150150 func igs () = valueOrElse(getBoolean(fca, aps()), false)
151151
152152
153153 func mp () = fromBase58String(strf(fca, mtpk()))
154154
155155
156156 func gpc () = {
157157 let amtAs = strf(this, aa())
158158 let priceAs = strf(this, pa())
159159 let iPriceAs = intf(fca, mba(priceAs))
160160 let iAmtAs = intf(fca, mba(amtAs))
161161 split(strf(fca, pc(toString(iAmtAs), toString(iPriceAs))), SEP)
162162 }
163163
164164
165165 func gfc () = split(strf(fca, fcfg()), SEP)
166166
167167
168168 let factoryConfig = gfc()
169169
170170 let stakingContract = valueOrErrorMessage(addressFromString(factoryConfig[idxFactStakCntr]), "Invalid staking contract address")
171171
172172 let slipageContract = valueOrErrorMessage(addressFromString(factoryConfig[idxFactSlippCntr]), "Invalid slipage contract address")
173173
174174 let gwxContract = valueOrErrorMessage(addressFromString(factoryConfig[idxFactGwxRewCntr]), "Invalid gwx contract address")
175175
176176 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)
177177
178178
179179 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)
180180
181181
182182 func getAccBalance (assetId) = if ((assetId == "WAVES"))
183183 then wavesBalance(this).available
184184 else assetBalance(this, fromBase58String(assetId))
185185
186186
187187 func cpbi (prAmtX18,amAmtX18) = fraction(prAmtX18, scale18, amAmtX18)
188188
189189
190190 func vad (A1,A2,slippage) = {
191191 let diff = fraction((A1 - A2), scale8BigInt, A2)
192192 let pass = ((slippage - abs(diff)) > zeroBigInt)
193193 if (!(pass))
194194 then throw(("Big slpg: " + toString(diff)))
195195 else $Tuple2(pass, min([A1, A2]))
196196 }
197197
198198
199199 func vd (D1,D0,slpg) = {
200200 let diff = fraction(D0, scale8BigInt, D1)
201201 let fail = (slpg > diff)
202202 if (if (fail)
203203 then true
204204 else (D0 > D1))
205205 then throw(((((((toString(D0) + " ") + toString(D1)) + " ") + toString(diff)) + " ") + toString(slpg)))
206206 else fail
207207 }
208208
209209
210210 func pcp (amAssetDcm,prAssetDcm,amAmt,prAmt) = {
211211 let amtAsAmtX18 = t1(amAmt, amAssetDcm)
212212 let prAsAmtX18 = t1(prAmt, prAssetDcm)
213213 cpbi(prAsAmtX18, amtAsAmtX18)
214214 }
215215
216216
217217 func calcPrices (amAmt,prAmt,lpAmt) = {
218218 let cfg = gpc()
219219 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
220220 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
221221 let priceX18 = pcp(amtAsDcm, prAsDcm, amAmt, prAmt)
222222 let amAmtX18 = t1(amAmt, amtAsDcm)
223223 let prAmtX18 = t1(prAmt, prAsDcm)
224224 let lpAmtX18 = t1(lpAmt, scale8)
225225 let lpPrInAmAsX18 = cpbi(amAmtX18, lpAmtX18)
226226 let lpPrInPrAsX18 = cpbi(prAmtX18, lpAmtX18)
227227 [priceX18, lpPrInAmAsX18, lpPrInPrAsX18]
228228 }
229229
230230
231231 func calculatePrices (amAmt,prAmt,lpAmt) = {
232232 let p = calcPrices(amAmt, prAmt, lpAmt)
233233 [f1(p[0], scale8), f1(p[1], scale8), f1(p[2], scale8)]
234234 }
235235
236236
237237 func ego (txId58,pmtAssetId,pmtLpAmt,userAddress) = {
238238 let cfg = gpc()
239239 let lpId = cfg[idxLPAsId]
240240 let amId = cfg[idxAmAsId]
241241 let prId = cfg[idxPrAsId]
242242 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
243243 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
244244 let sts = cfg[idxPoolSt]
245245 let lpEmiss = valueOrErrorMessage(assetInfo(fromBase58String(lpId)), "Wrong LP id").quantity
246246 if ((lpId != pmtAssetId))
247247 then throw("Wrong pmt asset")
248248 else {
249249 let amBalance = getAccBalance(amId)
250250 let amBalanceX18 = t1(amBalance, amDcm)
251251 let prBalance = getAccBalance(prId)
252252 let prBalanceX18 = t1(prBalance, prDcm)
253253 let curPriceX18 = cpbi(prBalanceX18, amBalanceX18)
254254 let curPrice = f1(curPriceX18, scale8)
255255 let pmtLpAmtX18 = t1(pmtLpAmt, scale8)
256256 let lpEmissX18 = t1(lpEmiss, scale8)
257257 let outAmAmtX18 = fraction(amBalanceX18, pmtLpAmtX18, lpEmissX18)
258258 let outPrAmtX18 = fraction(prBalanceX18, pmtLpAmtX18, lpEmissX18)
259259 let outAmAmt = f1(outAmAmtX18, amDcm)
260260 let outPrAmt = f1(outPrAmtX18, prDcm)
261261 let state = if ((txId58 == ""))
262262 then nil
263263 else [ScriptTransfer(userAddress, outAmAmt, if ((amId == "WAVES"))
264264 then unit
265265 else fromBase58String(amId)), ScriptTransfer(userAddress, outPrAmt, if ((prId == "WAVES"))
266266 then unit
267267 else fromBase58String(prId)), StringEntry(gau(toString(userAddress), txId58), dataGetActionInfo(outAmAmt, outPrAmt, pmtLpAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(pl(), curPrice), IntegerEntry(ph(height, lastBlock.timestamp), curPrice)]
268268 $Tuple10(outAmAmt, outPrAmt, amId, prId, amBalance, prBalance, lpEmiss, curPriceX18, sts, state)
269269 }
270270 }
271271
272272
273273 func epo (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,userAddress,isEval,emitLp,isOneAsset,validateSlippage,pmtAmt,pmtId) = {
274274 let cfg = gpc()
275275 let lpId = fromBase58String(cfg[idxLPAsId])
276276 let amIdStr = cfg[idxAmAsId]
277277 let prIdStr = cfg[idxPrAsId]
278278 let inAmIdStr = cfg[idxIAmtAsId]
279279 let inPrIdStr = cfg[idxIPriceAsId]
280280 let amtDcm = parseIntValue(cfg[idxAmtAsDcm])
281281 let priceDcm = parseIntValue(cfg[idxPriceAsDcm])
282282 let sts = cfg[idxPoolSt]
283283 let lpEm = valueOrErrorMessage(assetInfo(lpId), "Wr lp as").quantity
284284 let amBalance = if (isEval)
285285 then getAccBalance(amIdStr)
286286 else if (if (isOneAsset)
287287 then (pmtId == amIdStr)
288288 else false)
289289 then (getAccBalance(amIdStr) - pmtAmt)
290290 else if (isOneAsset)
291291 then getAccBalance(amIdStr)
292292 else (getAccBalance(amIdStr) - inAmAmt)
293293 let prBalance = if (isEval)
294294 then getAccBalance(prIdStr)
295295 else if (if (isOneAsset)
296296 then (pmtId == prIdStr)
297297 else false)
298298 then (getAccBalance(prIdStr) - pmtAmt)
299299 else if (isOneAsset)
300300 then getAccBalance(prIdStr)
301301 else (getAccBalance(prIdStr) - inPrAmt)
302302 let inAmAssetAmtX18 = t1(inAmAmt, amtDcm)
303303 let inPrAssetAmtX18 = t1(inPrAmt, priceDcm)
304304 let userPriceX18 = cpbi(inPrAssetAmtX18, inAmAssetAmtX18)
305305 let amBalanceX18 = t1(amBalance, amtDcm)
306306 let prBalanceX18 = t1(prBalance, priceDcm)
307307 let r = if ((lpEm == 0))
308308 then {
309309 let curPriceX18 = zeroBigInt
310310 let slippageX18 = zeroBigInt
311311 let lpAmtX18 = pow((inAmAssetAmtX18 * inPrAssetAmtX18), 0, toBigInt(5), 1, 0, DOWN)
312312 $Tuple5(f1(lpAmtX18, scale8), f1(inAmAssetAmtX18, amtDcm), f1(inPrAssetAmtX18, priceDcm), cpbi((prBalanceX18 + inPrAssetAmtX18), (amBalanceX18 + inAmAssetAmtX18)), slippageX18)
313313 }
314314 else {
315315 let curPriceX18 = cpbi(prBalanceX18, amBalanceX18)
316316 let slippageRealX18 = fraction(abs((curPriceX18 - userPriceX18)), scale18, curPriceX18)
317317 let slippageX18 = t1(slippage, scale8)
318318 if (if (if (validateSlippage)
319319 then (curPriceX18 != zeroBigInt)
320320 else false)
321321 then (slippageRealX18 > slippageX18)
322322 else false)
323323 then throw(((("Price slippage " + toString(slippageRealX18)) + " > ") + toString(slippageX18)))
324324 else {
325325 let lpEmissionX18 = t1(lpEm, scale8)
326326 let prViaAmX18 = fraction(inAmAssetAmtX18, curPriceX18, scale18)
327327 let amViaPrX18 = fraction(inPrAssetAmtX18, scale18, curPriceX18)
328328 let expectedAmts = if ((prViaAmX18 > inPrAssetAmtX18))
329329 then $Tuple2(amViaPrX18, inPrAssetAmtX18)
330330 else $Tuple2(inAmAssetAmtX18, prViaAmX18)
331331 let expAmtAssetAmtX18 = expectedAmts._1
332332 let expPriceAssetAmtX18 = expectedAmts._2
333333 let lpAmtX18 = fraction(lpEmissionX18, expPriceAssetAmtX18, prBalanceX18)
334334 $Tuple5(f1(lpAmtX18, scale8), f1(expAmtAssetAmtX18, amtDcm), f1(expPriceAssetAmtX18, priceDcm), curPriceX18, slippageX18)
335335 }
336336 }
337337 let calcLpAmt = r._1
338338 let calcAmAssetPmt = r._2
339339 let calcPrAssetPmt = r._3
340340 let curPrice = f1(r._4, scale8)
341341 let slippageCalc = f1(r._5, scale8)
342342 if ((0 >= calcLpAmt))
343343 then throw("LP <= 0")
344344 else {
345345 let emitLpAmt = if (!(emitLp))
346346 then 0
347347 else calcLpAmt
348348 let amDiff = (inAmAmt - calcAmAssetPmt)
349349 let prDiff = (inPrAmt - calcPrAssetPmt)
350350 let $t01608316428 = if (if (isOneAsset)
351351 then (pmtId == amIdStr)
352352 else false)
353353 then $Tuple2(pmtAmt, 0)
354354 else if (if (isOneAsset)
355355 then (pmtId == prIdStr)
356356 else false)
357357 then $Tuple2(0, pmtAmt)
358358 else $Tuple2(calcAmAssetPmt, calcPrAssetPmt)
359359 let writeAmAmt = $t01608316428._1
360360 let writePrAmt = $t01608316428._2
361361 let commonState = [IntegerEntry(pl(), curPrice), IntegerEntry(ph(height, lastBlock.timestamp), curPrice), StringEntry(pau(userAddress, txId58), dataPutActionInfo(writeAmAmt, writePrAmt, emitLpAmt, curPrice, slippage, slippageCalc, height, lastBlock.timestamp, amDiff, prDiff))]
362362 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEm, lpId, sts, commonState, amDiff, prDiff, inAmId, inPrId)
363363 }
364364 }
365365
366366
367367 func moa (order) = {
368368 let cfg = gpc()
369369 let amtAsId = cfg[idxAmAsId]
370370 let prAsId = cfg[idxPrAsId]
371371 let sts = parseIntValue(cfg[idxPoolSt])
372372 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
373373 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
374374 let accAmtAsBalance = getAccBalance(amtAsId)
375375 let accPrAsBalance = getAccBalance(prAsId)
376376 let curPriceX18 = if ((order.orderType == Buy))
377377 then pcp(amtAsDcm, prAsDcm, (accAmtAsBalance + order.amount), accPrAsBalance)
378378 else pcp(amtAsDcm, prAsDcm, (accAmtAsBalance - order.amount), accPrAsBalance)
379379 let curPrice = f1(curPriceX18, scale8)
380380 if (if (if (igs())
381381 then true
382382 else (sts == PoolMatcherDis))
383383 then true
384384 else (sts == PoolShutdown))
385385 then throw("Admin blocked")
386386 else {
387387 let orAmtAsset = order.assetPair.amountAsset
388388 let orAmtAsStr = if ((orAmtAsset == unit))
389389 then "WAVES"
390390 else toBase58String(value(orAmtAsset))
391391 let orPrAsset = order.assetPair.priceAsset
392392 let orPrAsStr = if ((orPrAsset == unit))
393393 then "WAVES"
394394 else toBase58String(value(orPrAsset))
395395 if (if ((orAmtAsStr != amtAsId))
396396 then true
397397 else (orPrAsStr != prAsId))
398398 then throw("Wr assets")
399399 else {
400400 let orderPrice = order.price
401401 let priceDcm = fraction(scale8, prAsDcm, amtAsDcm)
402402 let castOrderPrice = ts(orderPrice, scale8, priceDcm)
403403 let isOrderPriceValid = if ((order.orderType == Buy))
404404 then (curPrice >= castOrderPrice)
405405 else (castOrderPrice >= curPrice)
406406 true
407407 }
408408 }
409409 }
410410
411411
412412 func cg (i) = if ((size(i.payments) != 1))
413413 then throw("1 pmnt exp")
414414 else {
415415 let pmt = value(i.payments[0])
416416 let pmtAssetId = value(pmt.assetId)
417417 let pmtAmt = pmt.amount
418418 let r = ego(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
419419 let outAmAmt = r._1
420420 let outPrAmt = r._2
421421 let sts = parseIntValue(r._9)
422422 let state = r._10
423423 if (if (igs())
424424 then true
425425 else (sts == PoolShutdown))
426426 then throw(("Admin blocked: " + toString(sts)))
427427 else $Tuple5(outAmAmt, outPrAmt, pmtAmt, pmtAssetId, state)
428428 }
429429
430430
431431 func cp (caller,txId,amAsPmt,prAsPmt,slippage,emitLp,isOneAsset,validateSlippage,pmtAmt,pmtId) = {
432432 let r = epo(txId, slippage, value(amAsPmt).amount, value(amAsPmt).assetId, value(prAsPmt).amount, value(prAsPmt).assetId, caller, false, emitLp, isOneAsset, validateSlippage, pmtAmt, pmtId)
433433 let sts = parseIntValue(r._8)
434434 if (if (if (igs())
435435 then true
436436 else (sts == PoolPutDis))
437437 then true
438438 else (sts == PoolShutdown))
439439 then throw(("Blocked:" + toString(sts)))
440440 else r
441441 }
442442
443443
444444 func estimatePutOneTknV2 (pmtAmt,pmtAssetId,userAddress,txId) = {
445445 let poolConfig = gpc()
446446 let amId = poolConfig[idxAmAsId]
447447 let prId = poolConfig[idxPrAsId]
448448 let amBalance = getAccBalance(amId)
449449 let prBalance = getAccBalance(prId)
450450 let $t02075121125 = if ((pmtAssetId == amId))
451451 then if ((pmtAmt > amBalance))
452452 then throw("invalid payment amount")
453453 else $Tuple2((amBalance - pmtAmt), prBalance)
454454 else if ((pmtAssetId == prId))
455455 then if ((pmtAmt > prBalance))
456456 then throw("invalid payment amount")
457457 else $Tuple2(amBalance, (prBalance - pmtAmt))
458458 else throw("wrong pmtAssetId")
459459 let amBalanceNow = $t02075121125._1
460460 let prBalanceNow = $t02075121125._2
461461 let $t02112921263 = if ((pmtAssetId == amId))
462462 then $Tuple2(amBalanceNow, prBalanceNow)
463463 else $Tuple2(prBalanceNow, amBalanceNow)
464464 let amBalanceForCalc = $t02112921263._1
465465 let prBalanceForCalc = $t02112921263._2
466466 let xPrecision = 1
467467 let result = {
468468 let @ = invoke(gwxContract, "calcPutXOnly", [toString(pmtAmt), toString(amBalanceForCalc), toString(prBalanceForCalc), "", A, Amult, toString(xPrecision), Dconv], nil)
469469 if ($isInstanceOf(@, "(Int, Int)"))
470470 then @
471471 else throw(($getType(invoke(gwxContract, "calcPutXOnly", [toString(pmtAmt), toString(amBalanceForCalc), toString(prBalanceForCalc), "", A, Amult, toString(xPrecision), Dconv], nil)) + " couldn't be cast to (Int, Int)"))
472472 }
473473 let $t02173221828 = if ((pmtAssetId == amId))
474474 then result
475475 else $Tuple2(result._2, result._1)
476476 let amAssetPart = $t02173221828._1
477477 let prAssetPart = $t02173221828._2
478478 let estPut = cp(userAddress, txId, AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), 0, true, true, false, pmtAmt, pmtAssetId)
479479 let estimLP = estPut._2
480480 let lpAssetId = estPut._7
481481 let state = estPut._9
482482 let amDiff = estPut._10
483483 let prDiff = estPut._11
484484 $Tuple5(estimLP, lpAssetId, state, amDiff, prDiff)
485485 }
486486
487487
488488 func m () = match getString(mpk()) {
489489 case s: String =>
490490 fromBase58String(s)
491491 case _: Unit =>
492492 unit
493493 case _ =>
494494 throw("Match error")
495495 }
496496
497497
498498 func pm () = match getString(pmpk()) {
499499 case s: String =>
500500 fromBase58String(s)
501501 case _: Unit =>
502502 unit
503503 case _ =>
504504 throw("Match error")
505505 }
506506
507507
508508 let pd = throw("Permission denied")
509509
510510 func mm (i) = match m() {
511511 case pk: ByteVector =>
512512 if ((i.callerPublicKey == pk))
513513 then true
514514 else pd
515515 case _: Unit =>
516516 if ((i.caller == this))
517517 then true
518518 else pd
519519 case _ =>
520520 throw("Match error")
521521 }
522522
523523
524524 @Callable(i)
525525 func constructor (fc) = {
526526 let c = mm(i)
527527 if ((c == c))
528528 then [StringEntry(fc(), fc)]
529529 else throw("Strict value is not equal to itself.")
530530 }
531531
532532
533533
534534 @Callable(i)
535535 func setManager (pendingManagerPublicKey) = {
536536 let c = mm(i)
537537 if ((c == c))
538538 then {
539539 let cm = fromBase58String(pendingManagerPublicKey)
540540 if ((cm == cm))
541541 then [StringEntry(pmpk(), pendingManagerPublicKey)]
542542 else throw("Strict value is not equal to itself.")
543543 }
544544 else throw("Strict value is not equal to itself.")
545545 }
546546
547547
548548
549549 @Callable(i)
550550 func confirmManager () = {
551551 let p = pm()
552552 let hpm = if (isDefined(p))
553553 then true
554554 else throw("No pending manager")
555555 if ((hpm == hpm))
556556 then {
557557 let cpm = if ((i.callerPublicKey == value(p)))
558558 then true
559559 else throw("You are not pending manager")
560560 if ((cpm == cpm))
561561 then [StringEntry(mpk(), toBase58String(value(p))), DeleteEntry(pmpk())]
562562 else throw("Strict value is not equal to itself.")
563563 }
564564 else throw("Strict value is not equal to itself.")
565565 }
566566
567567
568568
569569 @Callable(i)
570570 func put (slip,autoStake) = {
571571 let factCfg = gfc()
572572 let stakingCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactStakCntr]), "Wr st addr")
573573 let slipCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactSlippCntr]), "Wr sl addr")
574574 if ((0 > slip))
575575 then throw("Wrong slippage")
576576 else if ((size(i.payments) != 2))
577577 then throw("2 pmnts expd")
578578 else {
579579 let e = cp(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(value(i.payments[0]).assetId, value(i.payments[0]).amount), i.payments[1], slip, true, false, true, 0, "")
580580 let emitLpAmt = e._2
581581 let lpAssetId = e._7
582582 let state = e._9
583583 let amDiff = e._10
584584 let prDiff = e._11
585585 let amId = e._12
586586 let prId = e._13
587587 let r = invoke(fca, "emit", [emitLpAmt], nil)
588588 if ((r == r))
589589 then {
590590 let el = match r {
591591 case legacy: Address =>
592592 invoke(legacy, "emit", [emitLpAmt], nil)
593593 case _ =>
594594 unit
595595 }
596596 if ((el == el))
597597 then {
598598 let sa = if ((amDiff > 0))
599599 then invoke(slipCntr, "put", nil, [AttachedPayment(amId, amDiff)])
600600 else nil
601601 if ((sa == sa))
602602 then {
603603 let sp = if ((prDiff > 0))
604604 then invoke(slipCntr, "put", nil, [AttachedPayment(prId, prDiff)])
605605 else nil
606606 if ((sp == sp))
607607 then {
608608 let lpTrnsfr = if (autoStake)
609609 then {
610610 let ss = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
611611 if ((ss == ss))
612612 then nil
613613 else throw("Strict value is not equal to itself.")
614614 }
615615 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
616616 (state ++ lpTrnsfr)
617617 }
618618 else throw("Strict value is not equal to itself.")
619619 }
620620 else throw("Strict value is not equal to itself.")
621621 }
622622 else throw("Strict value is not equal to itself.")
623623 }
624624 else throw("Strict value is not equal to itself.")
625625 }
626626 }
627627
628628
629629
630630 @Callable(i)
631631 func putOneTkn (amAssetPart,prAssetPart,outLp,slippage,autoStake) = {
632632 let cfg = gfc()
633633 let stakingCntr = valueOrErrorMessage(addressFromString(cfg[idxFactStakCntr]), "Wr st addr")
634634 let slipCntr = valueOrErrorMessage(addressFromString(cfg[idxFactSlippCntr]), "Wr sl addr")
635635 let gwxCntr = valueOrErrorMessage(addressFromString(cfg[idxFactGwxRewCntr]), "Wr gwx addr")
636636 let poolCfg = gpc()
637637 let amId = poolCfg[idxAmAsId]
638638 let prId = poolCfg[idxPrAsId]
639639 let amDcm = parseIntValue(poolCfg[idxAmtAsDcm])
640640 let prDcm = parseIntValue(poolCfg[idxPriceAsDcm])
641641 let addon = valueOrElse(getString(this, ada()), "")
642642 let userAddress = if ((addon == toString(i.caller)))
643643 then i.originCaller
644644 else i.caller
645645 let addonContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(ada()), "no addons")), "addon address in not valid")
646646 let check = reentrantInvoke(addonContract, "ensureCanPutOneTkn", [toString(userAddress)], nil)
647647 if ((check == check))
648648 then if (if (if (if ((0 >= slippage))
649649 then true
650650 else (0 >= amAssetPart))
651651 then true
652652 else (0 >= prAssetPart))
653653 then true
654654 else (0 >= outLp))
655655 then throw("Wrong params")
656656 else if ((size(i.payments) != 1))
657657 then throw("1 pmnt expd")
658658 else {
659659 let pmt = value(i.payments[0])
660660 let pmtAssetId = toBase58String(value(pmt.assetId))
661661 let pmtAmt = pmt.amount
662662 if ((10000000 > pmtAmt))
663663 then throw("Wrong pmt amt")
664664 else {
665665 let amBalance = getAccBalance(amId)
666666 let prBalance = getAccBalance(prId)
667667 let $t02723827814 = if ((pmtAssetId == amId))
668668 then if (if ((pmtAmt > amBalance))
669669 then true
670670 else (amAssetPart > pmtAmt))
671671 then throw("invalid payment amount")
672672 else $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
673673 else if ((pmtAssetId == prId))
674674 then if (if ((pmtAmt > prBalance))
675675 then true
676676 else (prAssetPart > pmtAmt))
677677 then throw("invalid payment amount")
678678 else $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
679679 else throw("wrong pmtAssetId")
680680 let amBalanceNow = $t02723827814._1
681681 let prBalanceNow = $t02723827814._2
682682 let virtSwapInAm = $t02723827814._3
683683 let virtSwapOutPr = $t02723827814._4
684684 let virtSwapInPr = $t02723827814._5
685685 let virtSwapOutAm = $t02723827814._6
686686 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
687687 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
688688 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
689689 if ((D0vsD1 == D0vsD1))
690690 then {
691691 let estPut = cp(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), slippage, true, true, true, pmtAmt, pmtAssetId)
692692 let estimLP = estPut._2
693693 let lpAssetId = estPut._7
694694 let state = estPut._9
695695 let amDiff = estPut._10
696696 let prDiff = estPut._11
697697 let lpCalcRes = vad(toBigInt(estimLP), toBigInt(outLp), toBigInt(slippage))
698698 let emitLpAmt = toInt(lpCalcRes._2)
699699 let e = invoke(fca, "emit", [emitLpAmt], nil)
700700 if ((e == e))
701701 then {
702702 let el = match e {
703703 case legacy: Address =>
704704 invoke(legacy, "emit", [emitLpAmt], nil)
705705 case _ =>
706706 unit
707707 }
708708 if ((el == el))
709709 then {
710710 let sa = if ((amDiff > 0))
711711 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
712712 else nil
713713 if ((sa == sa))
714714 then {
715715 let sp = if ((prDiff > 0))
716716 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
717717 else nil
718718 if ((sp == sp))
719719 then {
720720 let lpTrnsfr = if (autoStake)
721721 then {
722722 let ss = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
723723 if ((ss == ss))
724724 then nil
725725 else throw("Strict value is not equal to itself.")
726726 }
727727 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
728728 (state ++ lpTrnsfr)
729729 }
730730 else throw("Strict value is not equal to itself.")
731731 }
732732 else throw("Strict value is not equal to itself.")
733733 }
734734 else throw("Strict value is not equal to itself.")
735735 }
736736 else throw("Strict value is not equal to itself.")
737737 }
738738 else throw("Strict value is not equal to itself.")
739739 }
740740 }
741741 else throw("Strict value is not equal to itself.")
742742 }
743743
744744
745745
746746 @Callable(i)
747747 func putOneTknV2 (minOutAmount,autoStake) = if ((size(i.payments) != 1))
748748 then throw("1 pmnt expd")
749749 else {
750750 let poolConfig = gpc()
751751 let amId = poolConfig[idxAmAsId]
752752 let prId = poolConfig[idxPrAsId]
753753 let amDecimals = parseIntValue(poolConfig[idxAmtAsDcm])
754754 let prDecimals = parseIntValue(poolConfig[idxPriceAsDcm])
755755 let userAddress = if ((i.caller == this))
756756 then i.originCaller
757757 else i.caller
758758 let pmt = value(i.payments[0])
759759 let pmtAssetId = toBase58String(value(pmt.assetId))
760760 let pmtAmt = pmt.amount
761761 if ((10000000 > pmtAmt))
762762 then throw("Wrong pmt amt")
763763 else {
764764 let $t03052330670 = estimatePutOneTknV2(pmtAmt, pmtAssetId, toString(userAddress), toBase58String(i.transactionId))
765765 let estimLP = $t03052330670._1
766766 let lpAssetId = $t03052330670._2
767767 let state = $t03052330670._3
768768 let amDiff = $t03052330670._4
769769 let prDiff = $t03052330670._5
770770 let emitLpAmt = if (if ((minOutAmount > 0))
771771 then (minOutAmount > estimLP)
772772 else false)
773773 then throw(makeString(["amount to receive is less than ", toString(minOutAmount)], ""))
774774 else estimLP
775775 let e = invoke(fca, "emit", [emitLpAmt], nil)
776776 if ((e == e))
777777 then {
778778 let el = match e {
779779 case legacy: Address =>
780780 invoke(legacy, "emit", [emitLpAmt], nil)
781781 case _ =>
782782 unit
783783 }
784784 if ((el == el))
785785 then {
786786 let sa = if ((amDiff > 0))
787787 then invoke(slipageContract, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
788788 else nil
789789 if ((sa == sa))
790790 then {
791791 let sp = if ((prDiff > 0))
792792 then invoke(slipageContract, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
793793 else nil
794794 if ((sp == sp))
795795 then {
796796 let lpTrnsfr = if (autoStake)
797797 then {
798798 let ss = invoke(stakingContract, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
799799 if ((ss == ss))
800800 then nil
801801 else throw("Strict value is not equal to itself.")
802802 }
803803 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
804804 $Tuple2((state ++ lpTrnsfr), emitLpAmt)
805805 }
806806 else throw("Strict value is not equal to itself.")
807807 }
808808 else throw("Strict value is not equal to itself.")
809809 }
810810 else throw("Strict value is not equal to itself.")
811811 }
812812 else throw("Strict value is not equal to itself.")
813813 }
814814 }
815815
816816
817817
818818 @Callable(i)
819819 func putOneTknV2READONLY (paymentAmount,paymentAssetId) = {
820820 let $t03175531863 = estimatePutOneTknV2(paymentAmount, paymentAssetId, "", "")
821821 let estimLP = $t03175531863._1
822822 let lpAssetId = $t03175531863._2
823823 let state = $t03175531863._3
824824 let amDiff = $t03175531863._4
825825 let prDiff = $t03175531863._5
826- $Tuple2(nil, $Tuple5(estimLP, lpAssetId, state, amDiff, prDiff))
826+ $Tuple2(nil, estimLP)
827827 }
828828
829829
830830
831831 @Callable(i)
832832 func putForFree (maxSlpg) = if ((0 > maxSlpg))
833833 then throw("Wrong slpg")
834834 else if ((size(i.payments) != 2))
835835 then throw("2 pmnts expd")
836836 else {
837837 let estPut = cp(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(value(i.payments[0]).assetId, value(i.payments[0]).amount), i.payments[1], maxSlpg, false, false, true, 0, "")
838838 estPut._9
839839 }
840840
841841
842842
843843 @Callable(i)
844844 func get () = {
845845 let r = cg(i)
846846 let outAmtAmt = r._1
847847 let outPrAmt = r._2
848848 let pmtAmt = r._3
849849 let pmtAssetId = r._4
850850 let state = r._5
851851 let b = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
852852 if ((b == b))
853853 then state
854854 else throw("Strict value is not equal to itself.")
855855 }
856856
857857
858858
859859 @Callable(i)
860860 func getOneTkn (exchResult,notUsed,outAmount,outAssetId,slippage) = if ((size(i.payments) != 1))
861861 then throw("1 pmnt expd")
862862 else {
863863 let cfg = gpc()
864864 let lpId = cfg[idxLPAsId]
865865 let amId = cfg[idxAmAsId]
866866 let prId = cfg[idxPrAsId]
867867 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
868868 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
869869 let sts = cfg[idxPoolSt]
870870 let factCfg = gfc()
871871 let gwxCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactGwxRewCntr]), "Wr sl addr")
872872 let pmt = value(i.payments[0])
873873 let addon = valueOrElse(getString(this, ada()), "")
874874 let userAddress = if ((addon == toString(i.caller)))
875875 then i.originCaller
876876 else i.caller
877877 let txId58 = toBase58String(i.transactionId)
878878 let pmtAssetId = value(pmt.assetId)
879879 let pmtAmt = pmt.amount
880880 let addonContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(ada()), "no addons")), "addon address in not valid")
881881 let check = reentrantInvoke(addonContract, "ensureCanGetOneTkn", [toString(userAddress)], nil)
882882 if ((check == check))
883883 then if ((1000000000 > pmtAmt))
884884 then throw("Min pmt 10 LP")
885885 else if (if (if ((0 > slippage))
886886 then true
887887 else (0 > exchResult))
888888 then true
889889 else (0 > outAmount))
890890 then throw("Wrong params")
891891 else if ((lpId != toBase58String(pmtAssetId)))
892892 then throw("Wrong LP")
893893 else {
894894 let r = ego(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
895895 let estimAmAmt = r._1
896896 let estimPrAmt = r._2
897897 let amBalance = getAccBalance(amId)
898898 let prBalance = getAccBalance(prId)
899- let $t03493735394 = if ((outAssetId == amId))
899+ let $t03490135358 = if ((outAssetId == amId))
900900 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
901901 else if ((outAssetId == prId))
902902 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
903903 else throw("wrong outAssetId")
904- let amBalanceNow = $t03493735394._1
905- let prBalanceNow = $t03493735394._2
906- let virtSwapInAm = $t03493735394._3
907- let virtSwapOutPr = $t03493735394._4
908- let virtSwapInPr = $t03493735394._5
909- let virtSwapOutAm = $t03493735394._6
910- let totalGet = $t03493735394._7
904+ let amBalanceNow = $t03490135358._1
905+ let prBalanceNow = $t03490135358._2
906+ let virtSwapInAm = $t03490135358._3
907+ let virtSwapOutPr = $t03490135358._4
908+ let virtSwapInPr = $t03490135358._5
909+ let virtSwapOutAm = $t03490135358._6
910+ let totalGet = $t03490135358._7
911911 if (if ((0 > virtSwapInAm))
912912 then true
913913 else (0 > virtSwapInPr))
914914 then throw("Wrong calc")
915915 else {
916916 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
917917 let D1 = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
918918 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
919919 if ((D0vsD1 == D0vsD1))
920920 then {
921921 let finalRes = vad(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
922922 if ((finalRes == finalRes))
923923 then {
924- let $t03609936203 = if ((outAssetId == amId))
924+ let $t03606336167 = if ((outAssetId == amId))
925925 then $Tuple2(toInt(finalRes._2), 0)
926926 else $Tuple2(0, toInt(finalRes._2))
927- let outAm = $t03609936203._1
928- let outPr = $t03609936203._2
927+ let outAm = $t03606336167._1
928+ let outPr = $t03606336167._2
929929 let curPrX18 = cpbi(t1(prBalance, prDcm), t1(amBalance, amDcm))
930930 let curPr = f1(curPrX18, scale8)
931931 let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
932932 then unit
933933 else fromBase58String(outAssetId)), StringEntry(gau(toString(userAddress), txId58), dataGetActionInfo(outAm, outPr, pmtAmt, curPr, height, lastBlock.timestamp)), IntegerEntry(pl(), curPr), IntegerEntry(ph(height, lastBlock.timestamp), curPr)]
934934 if ((state == state))
935935 then {
936936 let burn = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
937937 if ((burn == burn))
938938 then state
939939 else throw("Strict value is not equal to itself.")
940940 }
941941 else throw("Strict value is not equal to itself.")
942942 }
943943 else throw("Strict value is not equal to itself.")
944944 }
945945 else throw("Strict value is not equal to itself.")
946946 }
947947 }
948948 else throw("Strict value is not equal to itself.")
949949 }
950950
951951
952952
953953 @Callable(i)
954954 func getOneTknV2 (outAssetId,minOutAmount) = if ((size(i.payments) != 1))
955955 then throw("1 pmnt expd")
956956 else {
957957 let poolConfig = gpc()
958958 let lpId = poolConfig[idxLPAsId]
959959 let amId = poolConfig[idxAmAsId]
960960 let prId = poolConfig[idxPrAsId]
961961 let amDecimals = parseIntValue(poolConfig[idxAmtAsDcm])
962962 let prDecimals = parseIntValue(poolConfig[idxPriceAsDcm])
963963 let poolStatus = poolConfig[idxPoolSt]
964964 let userAddress = if ((i.caller == this))
965965 then i.originCaller
966966 else i.caller
967967 let pmt = value(i.payments[0])
968968 let pmtAssetId = value(pmt.assetId)
969969 let pmtAmt = pmt.amount
970970 if ((1000000000 > pmtAmt))
971971 then throw("Min pmt 10 LP")
972972 else {
973973 let txId58 = toBase58String(i.transactionId)
974974 if ((lpId != toBase58String(pmtAssetId)))
975975 then throw("Wrong LP")
976976 else {
977977 let r = ego(txId58, toBase58String(pmtAssetId), pmtAmt, i.caller)
978978 let estimAmAmt = r._1
979979 let estimPrAmt = r._2
980980 let amBalance = getAccBalance(amId)
981981 let prBalance = getAccBalance(prId)
982982 let totalGet = {
983983 let @ = invoke(this, "getOneTknV2READONLY", [outAssetId, pmtAmt], nil)
984984 if ($isInstanceOf(@, "Int"))
985985 then @
986986 else throw(($getType(invoke(this, "getOneTknV2READONLY", [outAssetId, pmtAmt], nil)) + " couldn't be cast to Int"))
987987 }
988988 let totalAmount = if (if ((minOutAmount > 0))
989989 then (minOutAmount > totalGet)
990990 else false)
991991 then throw(makeString(["amount to receive is less than ", toString(minOutAmount)], ""))
992992 else totalGet
993- let $t03815138238 = if ((outAssetId == amId))
993+ let $t03811538202 = if ((outAssetId == amId))
994994 then $Tuple2(totalAmount, 0)
995995 else $Tuple2(0, totalAmount)
996- let outAm = $t03815138238._1
997- let outPr = $t03815138238._2
996+ let outAm = $t03811538202._1
997+ let outPr = $t03811538202._2
998998 let curPrX18 = cpbi(t1(prBalance, prDecimals), t1(amBalance, amDecimals))
999999 let curPr = f1(curPrX18, scale8)
10001000 let state = [ScriptTransfer(userAddress, totalAmount, if ((outAssetId == "WAVES"))
10011001 then unit
10021002 else fromBase58String(outAssetId)), StringEntry(gau(toString(userAddress), txId58), dataGetActionInfo(outAm, outPr, pmtAmt, curPr, height, lastBlock.timestamp)), IntegerEntry(pl(), curPr), IntegerEntry(ph(height, lastBlock.timestamp), curPr)]
10031003 if ((state == state))
10041004 then {
10051005 let burn = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
10061006 if ((burn == burn))
10071007 then $Tuple2(state, totalAmount)
10081008 else throw("Strict value is not equal to itself.")
10091009 }
10101010 else throw("Strict value is not equal to itself.")
10111011 }
10121012 }
10131013 }
10141014
10151015
10161016
10171017 @Callable(i)
10181018 func getOneTknV2READONLY (outAssetId,lpAssetAmount) = {
10191019 let poolConfig = gpc()
10201020 let lpId = poolConfig[idxLPAsId]
10211021 let amId = poolConfig[idxAmAsId]
10221022 let prId = poolConfig[idxPrAsId]
10231023 let r = ego("", lpId, lpAssetAmount, this)
10241024 let estimAmAmt = r._1
10251025 let estimPrAmt = r._2
10261026 let amBalance = getAccBalance(amId)
10271027 let prBalance = getAccBalance(prId)
10281028 let amBalanceNow = (amBalance - estimAmAmt)
10291029 let prBalanceNow = (prBalance - estimPrAmt)
1030- let $t03933239603 = if ((outAssetId == amId))
1030+ let $t03929639567 = if ((outAssetId == amId))
10311031 then $Tuple3(prBalanceNow, amBalanceNow, estimPrAmt)
10321032 else if ((outAssetId == prId))
10331033 then $Tuple3(amBalanceNow, prBalanceNow, estimAmAmt)
10341034 else throw("wrong outAssetId")
1035- let amountBalanceForSwap = $t03933239603._1
1036- let priceBalanceForSwap = $t03933239603._2
1037- let amountToSwap = $t03933239603._3
1035+ let amountBalanceForSwap = $t03929639567._1
1036+ let priceBalanceForSwap = $t03929639567._2
1037+ let amountToSwap = $t03929639567._3
10381038 let yPrecision = 1
10391039 let exchResult = {
10401040 let @ = invoke(gwxContract, "calcSwapXToY", [toString(amountToSwap), toString(amountBalanceForSwap), toString(priceBalanceForSwap), "", A, Amult, toString(yPrecision), Dconv], nil)
10411041 if ($isInstanceOf(@, "Int"))
10421042 then @
10431043 else throw(($getType(invoke(gwxContract, "calcSwapXToY", [toString(amountToSwap), toString(amountBalanceForSwap), toString(priceBalanceForSwap), "", A, Amult, toString(yPrecision), Dconv], nil)) + " couldn't be cast to Int"))
10441044 }
10451045 let totalGet = (exchResult + (if ((outAssetId == amId))
10461046 then estimAmAmt
10471047 else estimPrAmt))
10481048 $Tuple2(nil, totalGet)
10491049 }
10501050
10511051
10521052
10531053 @Callable(i)
10541054 func getNoLess (noLessThenAmtAsset,noLessThenPriceAsset) = {
10551055 let r = cg(i)
10561056 let outAmAmt = r._1
10571057 let outPrAmt = r._2
10581058 let pmtAmt = r._3
10591059 let pmtAssetId = r._4
10601060 let state = r._5
10611061 if ((noLessThenAmtAsset > outAmAmt))
10621062 then throw(((("Failed: " + toString(outAmAmt)) + " < ") + toString(noLessThenAmtAsset)))
10631063 else if ((noLessThenPriceAsset > outPrAmt))
10641064 then throw(((("Failed: " + toString(outPrAmt)) + " < ") + toString(noLessThenPriceAsset)))
10651065 else {
10661066 let burnLPAssetOnFactory = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
10671067 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
10681068 then state
10691069 else throw("Strict value is not equal to itself.")
10701070 }
10711071 }
10721072
10731073
10741074
10751075 @Callable(i)
10761076 func unstakeAndGet (amount) = {
10771077 let checkPayments = if ((size(i.payments) != 0))
10781078 then throw("No pmnts expd")
10791079 else true
10801080 if ((checkPayments == checkPayments))
10811081 then {
10821082 let cfg = gpc()
10831083 let factoryCfg = gfc()
10841084 let lpAssetId = fromBase58String(cfg[idxLPAsId])
10851085 let staking = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
10861086 let unstakeInv = invoke(staking, "unstake", [toBase58String(lpAssetId), amount], nil)
10871087 if ((unstakeInv == unstakeInv))
10881088 then {
10891089 let r = ego(toBase58String(i.transactionId), toBase58String(lpAssetId), amount, i.caller)
10901090 let sts = parseIntValue(r._9)
10911091 let state = r._10
10921092 let v = if (if (igs())
10931093 then true
10941094 else (sts == PoolShutdown))
10951095 then throw(("Blocked: " + toString(sts)))
10961096 else true
10971097 if ((v == v))
10981098 then {
10991099 let burnA = invoke(fca, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
11001100 if ((burnA == burnA))
11011101 then state
11021102 else throw("Strict value is not equal to itself.")
11031103 }
11041104 else throw("Strict value is not equal to itself.")
11051105 }
11061106 else throw("Strict value is not equal to itself.")
11071107 }
11081108 else throw("Strict value is not equal to itself.")
11091109 }
11101110
11111111
11121112
11131113 @Callable(i)
11141114 func unstakeAndGetOneTkn (amount,outAmount,outAssetId,slippage) = {
11151115 let checkPayments = if ((size(i.payments) != 0))
11161116 then throw("No pmnts expd")
11171117 else true
11181118 if ((checkPayments == checkPayments))
11191119 then {
11201120 let cfg = gpc()
11211121 let factoryCfg = gfc()
11221122 let lpAssetId = fromBase58String(cfg[idxLPAsId])
11231123 let staking = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
11241124 let unstakeInv = invoke(staking, "unstake", [toBase58String(lpAssetId), amount], nil)
11251125 if ((unstakeInv == unstakeInv))
11261126 then {
11271127 let outAmountResult = {
11281128 let @ = invoke(this, "getOneTknV2", [outAmount, outAssetId, slippage], [AttachedPayment(lpAssetId, amount)])
11291129 if ($isInstanceOf(@, "Int"))
11301130 then @
11311131 else unit
11321132 }
11331133 if ((outAmountResult == outAmountResult))
11341134 then $Tuple2(nil, outAmountResult)
11351135 else throw("Strict value is not equal to itself.")
11361136 }
11371137 else throw("Strict value is not equal to itself.")
11381138 }
11391139 else throw("Strict value is not equal to itself.")
11401140 }
11411141
11421142
11431143
11441144 @Callable(i)
11451145 func activate (amtAsStr,prAsStr) = if ((toString(i.caller) != toString(fca)))
11461146 then throw("denied")
11471147 else $Tuple2([StringEntry(aa(), amtAsStr), StringEntry(pa(), prAsStr)], "success")
11481148
11491149
11501150
11511151 @Callable(i)
11521152 func setS (k,v) = if ((toString(i.caller) != strf(this, ada())))
11531153 then pd
11541154 else [StringEntry(k, v)]
11551155
11561156
11571157
11581158 @Callable(i)
11591159 func setI (k,v) = if ((toString(i.caller) != strf(this, ada())))
11601160 then pd
11611161 else [IntegerEntry(k, v)]
11621162
11631163
11641164
11651165 @Callable(i)
11661166 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, gpc())
11671167
11681168
11691169
11701170 @Callable(i)
11711171 func getAccBalanceWrapperREADONLY (assetId) = $Tuple2(nil, getAccBalance(assetId))
11721172
11731173
11741174
11751175 @Callable(i)
11761176 func calcPricesWrapperREADONLY (amAmt,prAmt,lpAmt) = {
11771177 let pr = calcPrices(amAmt, prAmt, lpAmt)
11781178 $Tuple2(nil, [toString(pr[0]), toString(pr[1]), toString(pr[2])])
11791179 }
11801180
11811181
11821182
11831183 @Callable(i)
11841184 func fromX18WrapperREADONLY (val,resScaleMult) = $Tuple2(nil, f1(parseBigIntValue(val), resScaleMult))
11851185
11861186
11871187
11881188 @Callable(i)
11891189 func toX18WrapperREADONLY (origVal,origScaleMult) = $Tuple2(nil, toString(t1(origVal, origScaleMult)))
11901190
11911191
11921192
11931193 @Callable(i)
11941194 func calcPriceBigIntWrapperREADONLY (prAmtX18,amAmtX18) = $Tuple2(nil, toString(cpbi(parseBigIntValue(prAmtX18), parseBigIntValue(amAmtX18))))
11951195
11961196
11971197
11981198 @Callable(i)
11991199 func estimatePutOperationWrapperREADONLY (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,usrAddr,isEval,emitLp) = $Tuple2(nil, epo(txId58, slippage, inAmAmt, inAmId, inPrAmt, inPrId, usrAddr, isEval, emitLp, true, false, 0, ""))
12001200
12011201
12021202
12031203 @Callable(i)
12041204 func estimateGetOperationWrapperREADONLY (txId58,pmtAsId,pmtLpAmt,usrAddr) = {
12051205 let r = ego(txId58, pmtAsId, pmtLpAmt, addressFromStringValue(usrAddr))
12061206 $Tuple2(nil, $Tuple10(r._1, r._2, r._3, r._4, r._5, r._6, r._7, toString(r._8), r._9, r._10))
12071207 }
12081208
12091209
12101210 @Verifier(tx)
12111211 func verify () = {
12121212 let targetPublicKey = match m() {
12131213 case pk: ByteVector =>
12141214 pk
12151215 case _: Unit =>
12161216 tx.senderPublicKey
12171217 case _ =>
12181218 throw("Match error")
12191219 }
12201220 match tx {
12211221 case order: Order =>
12221222 let matcherPub = mp()
12231223 let orderValid = moa(order)
12241224 let senderValid = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
12251225 let matcherValid = sigVerify(order.bodyBytes, order.proofs[1], matcherPub)
12261226 if (if (if (orderValid)
12271227 then senderValid
12281228 else false)
12291229 then matcherValid
12301230 else false)
12311231 then true
12321232 else toe(orderValid, senderValid, matcherValid)
12331233 case s: SetScriptTransaction =>
12341234 let newHash = blake2b256(value(s.script))
12351235 let allowedHash = fromBase64String(value(getString(fca, keyAllowedLpStableScriptHash())))
12361236 let currentHash = scriptHash(this)
12371237 if (if ((allowedHash == newHash))
12381238 then (currentHash != newHash)
12391239 else false)
12401240 then true
12411241 else sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
12421242 case _ =>
12431243 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
12441244 }
12451245 }
12461246

github/deemru/w8io/026f985 
134.78 ms