tx · 5obmnocF7rafTFHbeJ4dvFwQ11FXKjq6AzjzkPj1WHF6

3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA:  -0.03600000 Waves

2022.09.14 15:37 [2228776] smart account 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA > SELF 0.00000000 Waves

{ "type": 13, "id": "5obmnocF7rafTFHbeJ4dvFwQ11FXKjq6AzjzkPj1WHF6", "fee": 3600000, "feeAssetId": null, "timestamp": 1663159139691, "version": 2, "chainId": 84, "sender": "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA", "senderPublicKey": "35yd3qw1gxKDxKwGAykHN9fANbXNWwseaUwbWDj24o3x", "proofs": [ "6vpPNUs6YHSAncyNcujkMANzo72Xp3sc5fBpMMce9aMKr9MYmdsdLy1PCiZyo4AEK4fp1t4xRVxuHr2tM5nF8mP" ], "script": "base64:BgKfAQgCEgMKAQgSAwoBCBIAEgQKAgEEEgcKBQEBAQEEEgQKAgEEEgQKAgEIEgMKAQESABIHCgUBAQEIARIECgIIARIECgIIARIECgIBARIDCgEBEgYKBAEBCAESBAoCCAgSBAoCCAgSBAoCCAESABIDCgEIEgUKAwEBARIECgIIARIECgIBARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCFMABnNjYWxlOACAwtcvAAxzY2FsZThCaWdJbnQJALYCAQCAwtcvAAdzY2FsZTE4CQC2AgEAgICQu7rWrfANAAp6ZXJvQmlnSW50CQC2AgEAAAAJb25lQmlnSW50CQC2AgEAAQAKc2xpcHBhZ2U0RAkAtgIBCQBlAgUGc2NhbGU4CQBpAgkAaAIFBnNjYWxlOAABBQZzY2FsZTgABUFtdWx0AgMxMDAABURjb252AgExAANTRVACAl9fAAVFTVBUWQIAAApQb29sQWN0aXZlAAEAClBvb2xQdXREaXMAAgAOUG9vbE1hdGNoZXJEaXMAAwAMUG9vbFNodXRkb3duAAQADmlkeFBvb2xBZGRyZXNzAAEACWlkeFBvb2xTdAACAAlpZHhMUEFzSWQA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x Next: DQqrz3F1MFERcBBP4qE4pmMMFWgBioPqLwMQbdK5fEyE Diff:
OldNewDifferences
447447 let prId = poolConfig[idxPrAsId]
448448 let amBalance = getAccBalance(amId)
449449 let prBalance = getAccBalance(prId)
450- let $t02075121125 = if ((pmtAssetId == amId))
451- then if ((pmtAmt > amBalance))
452- then throw("invalid payment amount")
453- else $Tuple2((amBalance - pmtAmt), prBalance)
454- else if ((pmtAssetId == prId))
455- then if ((pmtAmt > prBalance))
450+ let $t02075121200 = if ((txId == ""))
451+ then $Tuple2(amBalance, prBalance)
452+ else if ((pmtAssetId == amId))
453+ then if ((pmtAmt > amBalance))
456454 then throw("invalid payment amount")
457- else $Tuple2(amBalance, (prBalance - pmtAmt))
458- else throw("wrong pmtAssetId")
459- let amBalanceNow = $t02075121125._1
460- let prBalanceNow = $t02075121125._2
461- let $t02112921263 = if ((pmtAssetId == amId))
455+ else $Tuple2((amBalance - pmtAmt), prBalance)
456+ else if ((pmtAssetId == prId))
457+ then if ((pmtAmt > prBalance))
458+ then throw("invalid payment amount")
459+ else $Tuple2(amBalance, (prBalance - pmtAmt))
460+ else throw("wrong pmtAssetId")
461+ let amBalanceNow = $t02075121200._1
462+ let prBalanceNow = $t02075121200._2
463+ let $t02120421338 = if ((pmtAssetId == amId))
462464 then $Tuple2(amBalanceNow, prBalanceNow)
463465 else $Tuple2(prBalanceNow, amBalanceNow)
464- let amBalanceForCalc = $t02112921263._1
465- let prBalanceForCalc = $t02112921263._2
466+ let amBalanceForCalc = $t02120421338._1
467+ let prBalanceForCalc = $t02120421338._2
466468 let xPrecision = 1
467469 let result = {
468470 let @ = invoke(gwxContract, "calcPutXOnly", [toString(pmtAmt), toString(amBalanceForCalc), toString(prBalanceForCalc), "", A, Amult, toString(xPrecision), Dconv], nil)
470472 then @
471473 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)"))
472474 }
473- let $t02173221828 = if ((pmtAssetId == amId))
475+ let $t02180721903 = if ((pmtAssetId == amId))
474476 then result
475477 else $Tuple2(result._2, result._1)
476- let amAssetPart = $t02173221828._1
477- let prAssetPart = $t02173221828._2
478+ let amAssetPart = $t02180721903._1
479+ let prAssetPart = $t02180721903._2
478480 let estPut = cp(userAddress, txId, AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), 0, true, true, false, pmtAmt, pmtAssetId)
479481 let estimLP = estPut._2
480482 let lpAssetId = estPut._7
664666 else {
665667 let amBalance = getAccBalance(amId)
666668 let prBalance = getAccBalance(prId)
667- let $t02723827814 = if ((pmtAssetId == amId))
669+ let $t02731327889 = if ((pmtAssetId == amId))
668670 then if (if ((pmtAmt > amBalance))
669671 then true
670672 else (amAssetPart > pmtAmt))
677679 then throw("invalid payment amount")
678680 else $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
679681 else throw("wrong pmtAssetId")
680- let amBalanceNow = $t02723827814._1
681- let prBalanceNow = $t02723827814._2
682- let virtSwapInAm = $t02723827814._3
683- let virtSwapOutPr = $t02723827814._4
684- let virtSwapInPr = $t02723827814._5
685- let virtSwapOutAm = $t02723827814._6
682+ let amBalanceNow = $t02731327889._1
683+ let prBalanceNow = $t02731327889._2
684+ let virtSwapInAm = $t02731327889._3
685+ let virtSwapOutPr = $t02731327889._4
686+ let virtSwapInPr = $t02731327889._5
687+ let virtSwapOutAm = $t02731327889._6
686688 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
687689 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
688690 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
761763 if ((10000000 > pmtAmt))
762764 then throw("Wrong pmt amt")
763765 else {
764- let $t03052330670 = estimatePutOneTknV2(pmtAmt, pmtAssetId, toString(userAddress), toBase58String(i.transactionId))
765- let estimLP = $t03052330670._1
766- let lpAssetId = $t03052330670._2
767- let state = $t03052330670._3
768- let amDiff = $t03052330670._4
769- let prDiff = $t03052330670._5
766+ let $t03059830745 = estimatePutOneTknV2(pmtAmt, pmtAssetId, toString(userAddress), toBase58String(i.transactionId))
767+ let estimLP = $t03059830745._1
768+ let lpAssetId = $t03059830745._2
769+ let state = $t03059830745._3
770+ let amDiff = $t03059830745._4
771+ let prDiff = $t03059830745._5
770772 let emitLpAmt = if (if ((minOutAmount > 0))
771773 then (minOutAmount > estimLP)
772774 else false)
817819
818820 @Callable(i)
819821 func putOneTknV2READONLY (paymentAmount,paymentAssetId) = {
820- let $t03175531863 = estimatePutOneTknV2(paymentAmount, paymentAssetId, "", "")
821- let estimLP = $t03175531863._1
822- let lpAssetId = $t03175531863._2
823- let state = $t03175531863._3
824- let amDiff = $t03175531863._4
825- let prDiff = $t03175531863._5
822+ let $t03183031938 = estimatePutOneTknV2(paymentAmount, paymentAssetId, "", "")
823+ let estimLP = $t03183031938._1
824+ let lpAssetId = $t03183031938._2
825+ let state = $t03183031938._3
826+ let amDiff = $t03183031938._4
827+ let prDiff = $t03183031938._5
826828 $Tuple2(nil, estimLP)
827829 }
828830
896898 let estimPrAmt = r._2
897899 let amBalance = getAccBalance(amId)
898900 let prBalance = getAccBalance(prId)
899- let $t03490135358 = if ((outAssetId == amId))
901+ let $t03497635433 = if ((outAssetId == amId))
900902 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
901903 else if ((outAssetId == prId))
902904 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
903905 else throw("wrong outAssetId")
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
906+ let amBalanceNow = $t03497635433._1
907+ let prBalanceNow = $t03497635433._2
908+ let virtSwapInAm = $t03497635433._3
909+ let virtSwapOutPr = $t03497635433._4
910+ let virtSwapInPr = $t03497635433._5
911+ let virtSwapOutAm = $t03497635433._6
912+ let totalGet = $t03497635433._7
911913 if (if ((0 > virtSwapInAm))
912914 then true
913915 else (0 > virtSwapInPr))
921923 let finalRes = vad(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
922924 if ((finalRes == finalRes))
923925 then {
924- let $t03606336167 = if ((outAssetId == amId))
926+ let $t03613836242 = if ((outAssetId == amId))
925927 then $Tuple2(toInt(finalRes._2), 0)
926928 else $Tuple2(0, toInt(finalRes._2))
927- let outAm = $t03606336167._1
928- let outPr = $t03606336167._2
929+ let outAm = $t03613836242._1
930+ let outPr = $t03613836242._2
929931 let curPrX18 = cpbi(t1(prBalance, prDcm), t1(amBalance, amDcm))
930932 let curPr = f1(curPrX18, scale8)
931933 let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
990992 else false)
991993 then throw(makeString(["amount to receive is less than ", toString(minOutAmount)], ""))
992994 else totalGet
993- let $t03811538202 = if ((outAssetId == amId))
995+ let $t03819038277 = if ((outAssetId == amId))
994996 then $Tuple2(totalAmount, 0)
995997 else $Tuple2(0, totalAmount)
996- let outAm = $t03811538202._1
997- let outPr = $t03811538202._2
998+ let outAm = $t03819038277._1
999+ let outPr = $t03819038277._2
9981000 let curPrX18 = cpbi(t1(prBalance, prDecimals), t1(amBalance, amDecimals))
9991001 let curPr = f1(curPrX18, scale8)
10001002 let state = [ScriptTransfer(userAddress, totalAmount, if ((outAssetId == "WAVES"))
10271029 let prBalance = getAccBalance(prId)
10281030 let amBalanceNow = (amBalance - estimAmAmt)
10291031 let prBalanceNow = (prBalance - estimPrAmt)
1030- let $t03929639567 = if ((outAssetId == amId))
1032+ let $t03937139642 = if ((outAssetId == amId))
10311033 then $Tuple3(prBalanceNow, amBalanceNow, estimPrAmt)
10321034 else if ((outAssetId == prId))
10331035 then $Tuple3(amBalanceNow, prBalanceNow, estimAmAmt)
10341036 else throw("wrong outAssetId")
1035- let amountBalanceForSwap = $t03929639567._1
1036- let priceBalanceForSwap = $t03929639567._2
1037- let amountToSwap = $t03929639567._3
1037+ let amountBalanceForSwap = $t03937139642._1
1038+ let priceBalanceForSwap = $t03937139642._2
1039+ let amountToSwap = $t03937139642._3
10381040 let yPrecision = 1
10391041 let exchResult = {
10401042 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)
450- let $t02075121125 = if ((pmtAssetId == amId))
451- then if ((pmtAmt > amBalance))
452- then throw("invalid payment amount")
453- else $Tuple2((amBalance - pmtAmt), prBalance)
454- else if ((pmtAssetId == prId))
455- then if ((pmtAmt > prBalance))
450+ let $t02075121200 = if ((txId == ""))
451+ then $Tuple2(amBalance, prBalance)
452+ else if ((pmtAssetId == amId))
453+ then if ((pmtAmt > amBalance))
456454 then throw("invalid payment amount")
457- else $Tuple2(amBalance, (prBalance - pmtAmt))
458- else throw("wrong pmtAssetId")
459- let amBalanceNow = $t02075121125._1
460- let prBalanceNow = $t02075121125._2
461- let $t02112921263 = if ((pmtAssetId == amId))
455+ else $Tuple2((amBalance - pmtAmt), prBalance)
456+ else if ((pmtAssetId == prId))
457+ then if ((pmtAmt > prBalance))
458+ then throw("invalid payment amount")
459+ else $Tuple2(amBalance, (prBalance - pmtAmt))
460+ else throw("wrong pmtAssetId")
461+ let amBalanceNow = $t02075121200._1
462+ let prBalanceNow = $t02075121200._2
463+ let $t02120421338 = if ((pmtAssetId == amId))
462464 then $Tuple2(amBalanceNow, prBalanceNow)
463465 else $Tuple2(prBalanceNow, amBalanceNow)
464- let amBalanceForCalc = $t02112921263._1
465- let prBalanceForCalc = $t02112921263._2
466+ let amBalanceForCalc = $t02120421338._1
467+ let prBalanceForCalc = $t02120421338._2
466468 let xPrecision = 1
467469 let result = {
468470 let @ = invoke(gwxContract, "calcPutXOnly", [toString(pmtAmt), toString(amBalanceForCalc), toString(prBalanceForCalc), "", A, Amult, toString(xPrecision), Dconv], nil)
469471 if ($isInstanceOf(@, "(Int, Int)"))
470472 then @
471473 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)"))
472474 }
473- let $t02173221828 = if ((pmtAssetId == amId))
475+ let $t02180721903 = if ((pmtAssetId == amId))
474476 then result
475477 else $Tuple2(result._2, result._1)
476- let amAssetPart = $t02173221828._1
477- let prAssetPart = $t02173221828._2
478+ let amAssetPart = $t02180721903._1
479+ let prAssetPart = $t02180721903._2
478480 let estPut = cp(userAddress, txId, AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), 0, true, true, false, pmtAmt, pmtAssetId)
479481 let estimLP = estPut._2
480482 let lpAssetId = estPut._7
481483 let state = estPut._9
482484 let amDiff = estPut._10
483485 let prDiff = estPut._11
484486 $Tuple5(estimLP, lpAssetId, state, amDiff, prDiff)
485487 }
486488
487489
488490 func m () = match getString(mpk()) {
489491 case s: String =>
490492 fromBase58String(s)
491493 case _: Unit =>
492494 unit
493495 case _ =>
494496 throw("Match error")
495497 }
496498
497499
498500 func pm () = match getString(pmpk()) {
499501 case s: String =>
500502 fromBase58String(s)
501503 case _: Unit =>
502504 unit
503505 case _ =>
504506 throw("Match error")
505507 }
506508
507509
508510 let pd = throw("Permission denied")
509511
510512 func mm (i) = match m() {
511513 case pk: ByteVector =>
512514 if ((i.callerPublicKey == pk))
513515 then true
514516 else pd
515517 case _: Unit =>
516518 if ((i.caller == this))
517519 then true
518520 else pd
519521 case _ =>
520522 throw("Match error")
521523 }
522524
523525
524526 @Callable(i)
525527 func constructor (fc) = {
526528 let c = mm(i)
527529 if ((c == c))
528530 then [StringEntry(fc(), fc)]
529531 else throw("Strict value is not equal to itself.")
530532 }
531533
532534
533535
534536 @Callable(i)
535537 func setManager (pendingManagerPublicKey) = {
536538 let c = mm(i)
537539 if ((c == c))
538540 then {
539541 let cm = fromBase58String(pendingManagerPublicKey)
540542 if ((cm == cm))
541543 then [StringEntry(pmpk(), pendingManagerPublicKey)]
542544 else throw("Strict value is not equal to itself.")
543545 }
544546 else throw("Strict value is not equal to itself.")
545547 }
546548
547549
548550
549551 @Callable(i)
550552 func confirmManager () = {
551553 let p = pm()
552554 let hpm = if (isDefined(p))
553555 then true
554556 else throw("No pending manager")
555557 if ((hpm == hpm))
556558 then {
557559 let cpm = if ((i.callerPublicKey == value(p)))
558560 then true
559561 else throw("You are not pending manager")
560562 if ((cpm == cpm))
561563 then [StringEntry(mpk(), toBase58String(value(p))), DeleteEntry(pmpk())]
562564 else throw("Strict value is not equal to itself.")
563565 }
564566 else throw("Strict value is not equal to itself.")
565567 }
566568
567569
568570
569571 @Callable(i)
570572 func put (slip,autoStake) = {
571573 let factCfg = gfc()
572574 let stakingCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactStakCntr]), "Wr st addr")
573575 let slipCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactSlippCntr]), "Wr sl addr")
574576 if ((0 > slip))
575577 then throw("Wrong slippage")
576578 else if ((size(i.payments) != 2))
577579 then throw("2 pmnts expd")
578580 else {
579581 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, "")
580582 let emitLpAmt = e._2
581583 let lpAssetId = e._7
582584 let state = e._9
583585 let amDiff = e._10
584586 let prDiff = e._11
585587 let amId = e._12
586588 let prId = e._13
587589 let r = invoke(fca, "emit", [emitLpAmt], nil)
588590 if ((r == r))
589591 then {
590592 let el = match r {
591593 case legacy: Address =>
592594 invoke(legacy, "emit", [emitLpAmt], nil)
593595 case _ =>
594596 unit
595597 }
596598 if ((el == el))
597599 then {
598600 let sa = if ((amDiff > 0))
599601 then invoke(slipCntr, "put", nil, [AttachedPayment(amId, amDiff)])
600602 else nil
601603 if ((sa == sa))
602604 then {
603605 let sp = if ((prDiff > 0))
604606 then invoke(slipCntr, "put", nil, [AttachedPayment(prId, prDiff)])
605607 else nil
606608 if ((sp == sp))
607609 then {
608610 let lpTrnsfr = if (autoStake)
609611 then {
610612 let ss = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
611613 if ((ss == ss))
612614 then nil
613615 else throw("Strict value is not equal to itself.")
614616 }
615617 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
616618 (state ++ lpTrnsfr)
617619 }
618620 else throw("Strict value is not equal to itself.")
619621 }
620622 else throw("Strict value is not equal to itself.")
621623 }
622624 else throw("Strict value is not equal to itself.")
623625 }
624626 else throw("Strict value is not equal to itself.")
625627 }
626628 }
627629
628630
629631
630632 @Callable(i)
631633 func putOneTkn (amAssetPart,prAssetPart,outLp,slippage,autoStake) = {
632634 let cfg = gfc()
633635 let stakingCntr = valueOrErrorMessage(addressFromString(cfg[idxFactStakCntr]), "Wr st addr")
634636 let slipCntr = valueOrErrorMessage(addressFromString(cfg[idxFactSlippCntr]), "Wr sl addr")
635637 let gwxCntr = valueOrErrorMessage(addressFromString(cfg[idxFactGwxRewCntr]), "Wr gwx addr")
636638 let poolCfg = gpc()
637639 let amId = poolCfg[idxAmAsId]
638640 let prId = poolCfg[idxPrAsId]
639641 let amDcm = parseIntValue(poolCfg[idxAmtAsDcm])
640642 let prDcm = parseIntValue(poolCfg[idxPriceAsDcm])
641643 let addon = valueOrElse(getString(this, ada()), "")
642644 let userAddress = if ((addon == toString(i.caller)))
643645 then i.originCaller
644646 else i.caller
645647 let addonContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(ada()), "no addons")), "addon address in not valid")
646648 let check = reentrantInvoke(addonContract, "ensureCanPutOneTkn", [toString(userAddress)], nil)
647649 if ((check == check))
648650 then if (if (if (if ((0 >= slippage))
649651 then true
650652 else (0 >= amAssetPart))
651653 then true
652654 else (0 >= prAssetPart))
653655 then true
654656 else (0 >= outLp))
655657 then throw("Wrong params")
656658 else if ((size(i.payments) != 1))
657659 then throw("1 pmnt expd")
658660 else {
659661 let pmt = value(i.payments[0])
660662 let pmtAssetId = toBase58String(value(pmt.assetId))
661663 let pmtAmt = pmt.amount
662664 if ((10000000 > pmtAmt))
663665 then throw("Wrong pmt amt")
664666 else {
665667 let amBalance = getAccBalance(amId)
666668 let prBalance = getAccBalance(prId)
667- let $t02723827814 = if ((pmtAssetId == amId))
669+ let $t02731327889 = if ((pmtAssetId == amId))
668670 then if (if ((pmtAmt > amBalance))
669671 then true
670672 else (amAssetPart > pmtAmt))
671673 then throw("invalid payment amount")
672674 else $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
673675 else if ((pmtAssetId == prId))
674676 then if (if ((pmtAmt > prBalance))
675677 then true
676678 else (prAssetPart > pmtAmt))
677679 then throw("invalid payment amount")
678680 else $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
679681 else throw("wrong pmtAssetId")
680- let amBalanceNow = $t02723827814._1
681- let prBalanceNow = $t02723827814._2
682- let virtSwapInAm = $t02723827814._3
683- let virtSwapOutPr = $t02723827814._4
684- let virtSwapInPr = $t02723827814._5
685- let virtSwapOutAm = $t02723827814._6
682+ let amBalanceNow = $t02731327889._1
683+ let prBalanceNow = $t02731327889._2
684+ let virtSwapInAm = $t02731327889._3
685+ let virtSwapOutPr = $t02731327889._4
686+ let virtSwapInPr = $t02731327889._5
687+ let virtSwapOutAm = $t02731327889._6
686688 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
687689 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
688690 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
689691 if ((D0vsD1 == D0vsD1))
690692 then {
691693 let estPut = cp(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), slippage, true, true, true, pmtAmt, pmtAssetId)
692694 let estimLP = estPut._2
693695 let lpAssetId = estPut._7
694696 let state = estPut._9
695697 let amDiff = estPut._10
696698 let prDiff = estPut._11
697699 let lpCalcRes = vad(toBigInt(estimLP), toBigInt(outLp), toBigInt(slippage))
698700 let emitLpAmt = toInt(lpCalcRes._2)
699701 let e = invoke(fca, "emit", [emitLpAmt], nil)
700702 if ((e == e))
701703 then {
702704 let el = match e {
703705 case legacy: Address =>
704706 invoke(legacy, "emit", [emitLpAmt], nil)
705707 case _ =>
706708 unit
707709 }
708710 if ((el == el))
709711 then {
710712 let sa = if ((amDiff > 0))
711713 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
712714 else nil
713715 if ((sa == sa))
714716 then {
715717 let sp = if ((prDiff > 0))
716718 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
717719 else nil
718720 if ((sp == sp))
719721 then {
720722 let lpTrnsfr = if (autoStake)
721723 then {
722724 let ss = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
723725 if ((ss == ss))
724726 then nil
725727 else throw("Strict value is not equal to itself.")
726728 }
727729 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
728730 (state ++ lpTrnsfr)
729731 }
730732 else throw("Strict value is not equal to itself.")
731733 }
732734 else throw("Strict value is not equal to itself.")
733735 }
734736 else throw("Strict value is not equal to itself.")
735737 }
736738 else throw("Strict value is not equal to itself.")
737739 }
738740 else throw("Strict value is not equal to itself.")
739741 }
740742 }
741743 else throw("Strict value is not equal to itself.")
742744 }
743745
744746
745747
746748 @Callable(i)
747749 func putOneTknV2 (minOutAmount,autoStake) = if ((size(i.payments) != 1))
748750 then throw("1 pmnt expd")
749751 else {
750752 let poolConfig = gpc()
751753 let amId = poolConfig[idxAmAsId]
752754 let prId = poolConfig[idxPrAsId]
753755 let amDecimals = parseIntValue(poolConfig[idxAmtAsDcm])
754756 let prDecimals = parseIntValue(poolConfig[idxPriceAsDcm])
755757 let userAddress = if ((i.caller == this))
756758 then i.originCaller
757759 else i.caller
758760 let pmt = value(i.payments[0])
759761 let pmtAssetId = toBase58String(value(pmt.assetId))
760762 let pmtAmt = pmt.amount
761763 if ((10000000 > pmtAmt))
762764 then throw("Wrong pmt amt")
763765 else {
764- let $t03052330670 = estimatePutOneTknV2(pmtAmt, pmtAssetId, toString(userAddress), toBase58String(i.transactionId))
765- let estimLP = $t03052330670._1
766- let lpAssetId = $t03052330670._2
767- let state = $t03052330670._3
768- let amDiff = $t03052330670._4
769- let prDiff = $t03052330670._5
766+ let $t03059830745 = estimatePutOneTknV2(pmtAmt, pmtAssetId, toString(userAddress), toBase58String(i.transactionId))
767+ let estimLP = $t03059830745._1
768+ let lpAssetId = $t03059830745._2
769+ let state = $t03059830745._3
770+ let amDiff = $t03059830745._4
771+ let prDiff = $t03059830745._5
770772 let emitLpAmt = if (if ((minOutAmount > 0))
771773 then (minOutAmount > estimLP)
772774 else false)
773775 then throw(makeString(["amount to receive is less than ", toString(minOutAmount)], ""))
774776 else estimLP
775777 let e = invoke(fca, "emit", [emitLpAmt], nil)
776778 if ((e == e))
777779 then {
778780 let el = match e {
779781 case legacy: Address =>
780782 invoke(legacy, "emit", [emitLpAmt], nil)
781783 case _ =>
782784 unit
783785 }
784786 if ((el == el))
785787 then {
786788 let sa = if ((amDiff > 0))
787789 then invoke(slipageContract, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
788790 else nil
789791 if ((sa == sa))
790792 then {
791793 let sp = if ((prDiff > 0))
792794 then invoke(slipageContract, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
793795 else nil
794796 if ((sp == sp))
795797 then {
796798 let lpTrnsfr = if (autoStake)
797799 then {
798800 let ss = invoke(stakingContract, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
799801 if ((ss == ss))
800802 then nil
801803 else throw("Strict value is not equal to itself.")
802804 }
803805 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
804806 $Tuple2((state ++ lpTrnsfr), emitLpAmt)
805807 }
806808 else throw("Strict value is not equal to itself.")
807809 }
808810 else throw("Strict value is not equal to itself.")
809811 }
810812 else throw("Strict value is not equal to itself.")
811813 }
812814 else throw("Strict value is not equal to itself.")
813815 }
814816 }
815817
816818
817819
818820 @Callable(i)
819821 func putOneTknV2READONLY (paymentAmount,paymentAssetId) = {
820- let $t03175531863 = estimatePutOneTknV2(paymentAmount, paymentAssetId, "", "")
821- let estimLP = $t03175531863._1
822- let lpAssetId = $t03175531863._2
823- let state = $t03175531863._3
824- let amDiff = $t03175531863._4
825- let prDiff = $t03175531863._5
822+ let $t03183031938 = estimatePutOneTknV2(paymentAmount, paymentAssetId, "", "")
823+ let estimLP = $t03183031938._1
824+ let lpAssetId = $t03183031938._2
825+ let state = $t03183031938._3
826+ let amDiff = $t03183031938._4
827+ let prDiff = $t03183031938._5
826828 $Tuple2(nil, estimLP)
827829 }
828830
829831
830832
831833 @Callable(i)
832834 func putForFree (maxSlpg) = if ((0 > maxSlpg))
833835 then throw("Wrong slpg")
834836 else if ((size(i.payments) != 2))
835837 then throw("2 pmnts expd")
836838 else {
837839 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, "")
838840 estPut._9
839841 }
840842
841843
842844
843845 @Callable(i)
844846 func get () = {
845847 let r = cg(i)
846848 let outAmtAmt = r._1
847849 let outPrAmt = r._2
848850 let pmtAmt = r._3
849851 let pmtAssetId = r._4
850852 let state = r._5
851853 let b = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
852854 if ((b == b))
853855 then state
854856 else throw("Strict value is not equal to itself.")
855857 }
856858
857859
858860
859861 @Callable(i)
860862 func getOneTkn (exchResult,notUsed,outAmount,outAssetId,slippage) = if ((size(i.payments) != 1))
861863 then throw("1 pmnt expd")
862864 else {
863865 let cfg = gpc()
864866 let lpId = cfg[idxLPAsId]
865867 let amId = cfg[idxAmAsId]
866868 let prId = cfg[idxPrAsId]
867869 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
868870 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
869871 let sts = cfg[idxPoolSt]
870872 let factCfg = gfc()
871873 let gwxCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactGwxRewCntr]), "Wr sl addr")
872874 let pmt = value(i.payments[0])
873875 let addon = valueOrElse(getString(this, ada()), "")
874876 let userAddress = if ((addon == toString(i.caller)))
875877 then i.originCaller
876878 else i.caller
877879 let txId58 = toBase58String(i.transactionId)
878880 let pmtAssetId = value(pmt.assetId)
879881 let pmtAmt = pmt.amount
880882 let addonContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(ada()), "no addons")), "addon address in not valid")
881883 let check = reentrantInvoke(addonContract, "ensureCanGetOneTkn", [toString(userAddress)], nil)
882884 if ((check == check))
883885 then if ((1000000000 > pmtAmt))
884886 then throw("Min pmt 10 LP")
885887 else if (if (if ((0 > slippage))
886888 then true
887889 else (0 > exchResult))
888890 then true
889891 else (0 > outAmount))
890892 then throw("Wrong params")
891893 else if ((lpId != toBase58String(pmtAssetId)))
892894 then throw("Wrong LP")
893895 else {
894896 let r = ego(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
895897 let estimAmAmt = r._1
896898 let estimPrAmt = r._2
897899 let amBalance = getAccBalance(amId)
898900 let prBalance = getAccBalance(prId)
899- let $t03490135358 = if ((outAssetId == amId))
901+ let $t03497635433 = if ((outAssetId == amId))
900902 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
901903 else if ((outAssetId == prId))
902904 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
903905 else throw("wrong outAssetId")
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
906+ let amBalanceNow = $t03497635433._1
907+ let prBalanceNow = $t03497635433._2
908+ let virtSwapInAm = $t03497635433._3
909+ let virtSwapOutPr = $t03497635433._4
910+ let virtSwapInPr = $t03497635433._5
911+ let virtSwapOutAm = $t03497635433._6
912+ let totalGet = $t03497635433._7
911913 if (if ((0 > virtSwapInAm))
912914 then true
913915 else (0 > virtSwapInPr))
914916 then throw("Wrong calc")
915917 else {
916918 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
917919 let D1 = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
918920 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
919921 if ((D0vsD1 == D0vsD1))
920922 then {
921923 let finalRes = vad(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
922924 if ((finalRes == finalRes))
923925 then {
924- let $t03606336167 = if ((outAssetId == amId))
926+ let $t03613836242 = if ((outAssetId == amId))
925927 then $Tuple2(toInt(finalRes._2), 0)
926928 else $Tuple2(0, toInt(finalRes._2))
927- let outAm = $t03606336167._1
928- let outPr = $t03606336167._2
929+ let outAm = $t03613836242._1
930+ let outPr = $t03613836242._2
929931 let curPrX18 = cpbi(t1(prBalance, prDcm), t1(amBalance, amDcm))
930932 let curPr = f1(curPrX18, scale8)
931933 let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
932934 then unit
933935 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)]
934936 if ((state == state))
935937 then {
936938 let burn = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
937939 if ((burn == burn))
938940 then state
939941 else throw("Strict value is not equal to itself.")
940942 }
941943 else throw("Strict value is not equal to itself.")
942944 }
943945 else throw("Strict value is not equal to itself.")
944946 }
945947 else throw("Strict value is not equal to itself.")
946948 }
947949 }
948950 else throw("Strict value is not equal to itself.")
949951 }
950952
951953
952954
953955 @Callable(i)
954956 func getOneTknV2 (outAssetId,minOutAmount) = if ((size(i.payments) != 1))
955957 then throw("1 pmnt expd")
956958 else {
957959 let poolConfig = gpc()
958960 let lpId = poolConfig[idxLPAsId]
959961 let amId = poolConfig[idxAmAsId]
960962 let prId = poolConfig[idxPrAsId]
961963 let amDecimals = parseIntValue(poolConfig[idxAmtAsDcm])
962964 let prDecimals = parseIntValue(poolConfig[idxPriceAsDcm])
963965 let poolStatus = poolConfig[idxPoolSt]
964966 let userAddress = if ((i.caller == this))
965967 then i.originCaller
966968 else i.caller
967969 let pmt = value(i.payments[0])
968970 let pmtAssetId = value(pmt.assetId)
969971 let pmtAmt = pmt.amount
970972 if ((1000000000 > pmtAmt))
971973 then throw("Min pmt 10 LP")
972974 else {
973975 let txId58 = toBase58String(i.transactionId)
974976 if ((lpId != toBase58String(pmtAssetId)))
975977 then throw("Wrong LP")
976978 else {
977979 let r = ego(txId58, toBase58String(pmtAssetId), pmtAmt, i.caller)
978980 let estimAmAmt = r._1
979981 let estimPrAmt = r._2
980982 let amBalance = getAccBalance(amId)
981983 let prBalance = getAccBalance(prId)
982984 let totalGet = {
983985 let @ = invoke(this, "getOneTknV2READONLY", [outAssetId, pmtAmt], nil)
984986 if ($isInstanceOf(@, "Int"))
985987 then @
986988 else throw(($getType(invoke(this, "getOneTknV2READONLY", [outAssetId, pmtAmt], nil)) + " couldn't be cast to Int"))
987989 }
988990 let totalAmount = if (if ((minOutAmount > 0))
989991 then (minOutAmount > totalGet)
990992 else false)
991993 then throw(makeString(["amount to receive is less than ", toString(minOutAmount)], ""))
992994 else totalGet
993- let $t03811538202 = if ((outAssetId == amId))
995+ let $t03819038277 = if ((outAssetId == amId))
994996 then $Tuple2(totalAmount, 0)
995997 else $Tuple2(0, totalAmount)
996- let outAm = $t03811538202._1
997- let outPr = $t03811538202._2
998+ let outAm = $t03819038277._1
999+ let outPr = $t03819038277._2
9981000 let curPrX18 = cpbi(t1(prBalance, prDecimals), t1(amBalance, amDecimals))
9991001 let curPr = f1(curPrX18, scale8)
10001002 let state = [ScriptTransfer(userAddress, totalAmount, if ((outAssetId == "WAVES"))
10011003 then unit
10021004 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)]
10031005 if ((state == state))
10041006 then {
10051007 let burn = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
10061008 if ((burn == burn))
10071009 then $Tuple2(state, totalAmount)
10081010 else throw("Strict value is not equal to itself.")
10091011 }
10101012 else throw("Strict value is not equal to itself.")
10111013 }
10121014 }
10131015 }
10141016
10151017
10161018
10171019 @Callable(i)
10181020 func getOneTknV2READONLY (outAssetId,lpAssetAmount) = {
10191021 let poolConfig = gpc()
10201022 let lpId = poolConfig[idxLPAsId]
10211023 let amId = poolConfig[idxAmAsId]
10221024 let prId = poolConfig[idxPrAsId]
10231025 let r = ego("", lpId, lpAssetAmount, this)
10241026 let estimAmAmt = r._1
10251027 let estimPrAmt = r._2
10261028 let amBalance = getAccBalance(amId)
10271029 let prBalance = getAccBalance(prId)
10281030 let amBalanceNow = (amBalance - estimAmAmt)
10291031 let prBalanceNow = (prBalance - estimPrAmt)
1030- let $t03929639567 = if ((outAssetId == amId))
1032+ let $t03937139642 = if ((outAssetId == amId))
10311033 then $Tuple3(prBalanceNow, amBalanceNow, estimPrAmt)
10321034 else if ((outAssetId == prId))
10331035 then $Tuple3(amBalanceNow, prBalanceNow, estimAmAmt)
10341036 else throw("wrong outAssetId")
1035- let amountBalanceForSwap = $t03929639567._1
1036- let priceBalanceForSwap = $t03929639567._2
1037- let amountToSwap = $t03929639567._3
1037+ let amountBalanceForSwap = $t03937139642._1
1038+ let priceBalanceForSwap = $t03937139642._2
1039+ let amountToSwap = $t03937139642._3
10381040 let yPrecision = 1
10391041 let exchResult = {
10401042 let @ = invoke(gwxContract, "calcSwapXToY", [toString(amountToSwap), toString(amountBalanceForSwap), toString(priceBalanceForSwap), "", A, Amult, toString(yPrecision), Dconv], nil)
10411043 if ($isInstanceOf(@, "Int"))
10421044 then @
10431045 else throw(($getType(invoke(gwxContract, "calcSwapXToY", [toString(amountToSwap), toString(amountBalanceForSwap), toString(priceBalanceForSwap), "", A, Amult, toString(yPrecision), Dconv], nil)) + " couldn't be cast to Int"))
10441046 }
10451047 let totalGet = (exchResult + (if ((outAssetId == amId))
10461048 then estimAmAmt
10471049 else estimPrAmt))
10481050 $Tuple2(nil, totalGet)
10491051 }
10501052
10511053
10521054
10531055 @Callable(i)
10541056 func getNoLess (noLessThenAmtAsset,noLessThenPriceAsset) = {
10551057 let r = cg(i)
10561058 let outAmAmt = r._1
10571059 let outPrAmt = r._2
10581060 let pmtAmt = r._3
10591061 let pmtAssetId = r._4
10601062 let state = r._5
10611063 if ((noLessThenAmtAsset > outAmAmt))
10621064 then throw(((("Failed: " + toString(outAmAmt)) + " < ") + toString(noLessThenAmtAsset)))
10631065 else if ((noLessThenPriceAsset > outPrAmt))
10641066 then throw(((("Failed: " + toString(outPrAmt)) + " < ") + toString(noLessThenPriceAsset)))
10651067 else {
10661068 let burnLPAssetOnFactory = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
10671069 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
10681070 then state
10691071 else throw("Strict value is not equal to itself.")
10701072 }
10711073 }
10721074
10731075
10741076
10751077 @Callable(i)
10761078 func unstakeAndGet (amount) = {
10771079 let checkPayments = if ((size(i.payments) != 0))
10781080 then throw("No pmnts expd")
10791081 else true
10801082 if ((checkPayments == checkPayments))
10811083 then {
10821084 let cfg = gpc()
10831085 let factoryCfg = gfc()
10841086 let lpAssetId = fromBase58String(cfg[idxLPAsId])
10851087 let staking = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
10861088 let unstakeInv = invoke(staking, "unstake", [toBase58String(lpAssetId), amount], nil)
10871089 if ((unstakeInv == unstakeInv))
10881090 then {
10891091 let r = ego(toBase58String(i.transactionId), toBase58String(lpAssetId), amount, i.caller)
10901092 let sts = parseIntValue(r._9)
10911093 let state = r._10
10921094 let v = if (if (igs())
10931095 then true
10941096 else (sts == PoolShutdown))
10951097 then throw(("Blocked: " + toString(sts)))
10961098 else true
10971099 if ((v == v))
10981100 then {
10991101 let burnA = invoke(fca, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
11001102 if ((burnA == burnA))
11011103 then state
11021104 else throw("Strict value is not equal to itself.")
11031105 }
11041106 else throw("Strict value is not equal to itself.")
11051107 }
11061108 else throw("Strict value is not equal to itself.")
11071109 }
11081110 else throw("Strict value is not equal to itself.")
11091111 }
11101112
11111113
11121114
11131115 @Callable(i)
11141116 func unstakeAndGetOneTkn (amount,outAmount,outAssetId,slippage) = {
11151117 let checkPayments = if ((size(i.payments) != 0))
11161118 then throw("No pmnts expd")
11171119 else true
11181120 if ((checkPayments == checkPayments))
11191121 then {
11201122 let cfg = gpc()
11211123 let factoryCfg = gfc()
11221124 let lpAssetId = fromBase58String(cfg[idxLPAsId])
11231125 let staking = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
11241126 let unstakeInv = invoke(staking, "unstake", [toBase58String(lpAssetId), amount], nil)
11251127 if ((unstakeInv == unstakeInv))
11261128 then {
11271129 let outAmountResult = {
11281130 let @ = invoke(this, "getOneTknV2", [outAmount, outAssetId, slippage], [AttachedPayment(lpAssetId, amount)])
11291131 if ($isInstanceOf(@, "Int"))
11301132 then @
11311133 else unit
11321134 }
11331135 if ((outAmountResult == outAmountResult))
11341136 then $Tuple2(nil, outAmountResult)
11351137 else throw("Strict value is not equal to itself.")
11361138 }
11371139 else throw("Strict value is not equal to itself.")
11381140 }
11391141 else throw("Strict value is not equal to itself.")
11401142 }
11411143
11421144
11431145
11441146 @Callable(i)
11451147 func activate (amtAsStr,prAsStr) = if ((toString(i.caller) != toString(fca)))
11461148 then throw("denied")
11471149 else $Tuple2([StringEntry(aa(), amtAsStr), StringEntry(pa(), prAsStr)], "success")
11481150
11491151
11501152
11511153 @Callable(i)
11521154 func setS (k,v) = if ((toString(i.caller) != strf(this, ada())))
11531155 then pd
11541156 else [StringEntry(k, v)]
11551157
11561158
11571159
11581160 @Callable(i)
11591161 func setI (k,v) = if ((toString(i.caller) != strf(this, ada())))
11601162 then pd
11611163 else [IntegerEntry(k, v)]
11621164
11631165
11641166
11651167 @Callable(i)
11661168 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, gpc())
11671169
11681170
11691171
11701172 @Callable(i)
11711173 func getAccBalanceWrapperREADONLY (assetId) = $Tuple2(nil, getAccBalance(assetId))
11721174
11731175
11741176
11751177 @Callable(i)
11761178 func calcPricesWrapperREADONLY (amAmt,prAmt,lpAmt) = {
11771179 let pr = calcPrices(amAmt, prAmt, lpAmt)
11781180 $Tuple2(nil, [toString(pr[0]), toString(pr[1]), toString(pr[2])])
11791181 }
11801182
11811183
11821184
11831185 @Callable(i)
11841186 func fromX18WrapperREADONLY (val,resScaleMult) = $Tuple2(nil, f1(parseBigIntValue(val), resScaleMult))
11851187
11861188
11871189
11881190 @Callable(i)
11891191 func toX18WrapperREADONLY (origVal,origScaleMult) = $Tuple2(nil, toString(t1(origVal, origScaleMult)))
11901192
11911193
11921194
11931195 @Callable(i)
11941196 func calcPriceBigIntWrapperREADONLY (prAmtX18,amAmtX18) = $Tuple2(nil, toString(cpbi(parseBigIntValue(prAmtX18), parseBigIntValue(amAmtX18))))
11951197
11961198
11971199
11981200 @Callable(i)
11991201 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, ""))
12001202
12011203
12021204
12031205 @Callable(i)
12041206 func estimateGetOperationWrapperREADONLY (txId58,pmtAsId,pmtLpAmt,usrAddr) = {
12051207 let r = ego(txId58, pmtAsId, pmtLpAmt, addressFromStringValue(usrAddr))
12061208 $Tuple2(nil, $Tuple10(r._1, r._2, r._3, r._4, r._5, r._6, r._7, toString(r._8), r._9, r._10))
12071209 }
12081210
12091211
12101212 @Verifier(tx)
12111213 func verify () = {
12121214 let targetPublicKey = match m() {
12131215 case pk: ByteVector =>
12141216 pk
12151217 case _: Unit =>
12161218 tx.senderPublicKey
12171219 case _ =>
12181220 throw("Match error")
12191221 }
12201222 match tx {
12211223 case order: Order =>
12221224 let matcherPub = mp()
12231225 let orderValid = moa(order)
12241226 let senderValid = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
12251227 let matcherValid = sigVerify(order.bodyBytes, order.proofs[1], matcherPub)
12261228 if (if (if (orderValid)
12271229 then senderValid
12281230 else false)
12291231 then matcherValid
12301232 else false)
12311233 then true
12321234 else toe(orderValid, senderValid, matcherValid)
12331235 case s: SetScriptTransaction =>
12341236 let newHash = blake2b256(value(s.script))
12351237 let allowedHash = fromBase64String(value(getString(fca, keyAllowedLpStableScriptHash())))
12361238 let currentHash = scriptHash(this)
12371239 if (if ((allowedHash == newHash))
12381240 then (currentHash != newHash)
12391241 else false)
12401242 then true
12411243 else sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
12421244 case _ =>
12431245 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
12441246 }
12451247 }
12461248

github/deemru/w8io/026f985 
134.83 ms