tx · 7BBBN7gSA4LWPAEhiu1c57R8mn3CQAc5iFicNJk7JL1s

3N3WjrX9a4ZUSqg8SwpgtgJx135fNa3toG2:  -0.03500000 Waves

2022.06.07 09:20 [2085573] smart account 3N3WjrX9a4ZUSqg8SwpgtgJx135fNa3toG2 > SELF 0.00000000 Waves

{ "type": 13, "id": "7BBBN7gSA4LWPAEhiu1c57R8mn3CQAc5iFicNJk7JL1s", "fee": 3500000, "feeAssetId": null, "timestamp": 1654582835581, "version": 1, "sender": "3N3WjrX9a4ZUSqg8SwpgtgJx135fNa3toG2", "senderPublicKey": "FBE5gsgQ8goPyDHXqAjJfSHSEoRf7HxibfwhFFHjFTmr", "proofs": [ "khVP5SX5U2nf2eQ735VzZezFH17dbL7UXvfAQTzSaHUuyZ9kyhqT9uvrGDgdC7rZo7BfuqTf8cjmEAGDNC2kBtm" ], "script": "base64:AAIFAAAAAAAAEpUIAhIDCgEIEgMKAQgSABIECgIBBBIHCgUBAQEBBBIDCgEBEgASBwoFAQEBCAESBAoCAQESAwoBARIECgIICBIECgIICBIECgIIARIAEgMKAQgSBQoDAQEBEgQKAggBEgQKAgEBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEIGgoKAUESBWRlbGF5GgcKAUISAnQxGgwKAUMSB29yaWdWYWwaEgoBRBINb3JpZ1NjYWxlTXVsdBoHCgFFEgJmMRoICgFGEgN2YWwaFAoBRxIPcmVzdWx0U2NhbGVNdWx0GgcKAUgSAnRzGggKAUkSA2FtdBoNCgFKEghyZXNTY2FsZRoNCgFLEghjdXJTY2FsZRoICgFMEgNhYnMaBwoBTRICZmMaCAoBThIDbXBrGgkKAU8SBHBtcGsaBwoBUBICcGwaBwoBURICcGgaBgoBUhIBaBoGCgFTEgF0GggKAVQSA3BhdRoHCgFVEgJ1YRoJCgFWEgR0eElkGggKAVcSA2dhdRoHCgFYEgJhYRoHCgFZEgJwYRoICgFaEgNhbXAaCwoBYRIGc2NhbGU4GgkKAmFBEgNncGMaCwoCYUIS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": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EQXXZ8WF55QYYu9Sm7pXbxLFef5NadqtpFuyM6mvwe7K Next: none Diff:
OldNewDifferences
102102 func ada () = "%s__addonAddr"
103103
104104
105-func lgotc (caller) = makeString(["%s%s__lastGetOneTknCall", caller], SEP)
106-
107-
108-func lsotc (caller) = makeString(["%s%s__lastPutOneTknCall", caller], SEP)
105+func lgopotc (caller) = makeString(["%s%s__lastGetOrPutOneTknCall", caller], SEP)
109106
110107
111108 func fcfg () = "%s__factoryConfig"
186183
187184
188185 func vd (D1,D0,slpg) = {
189- let diff = fraction(D0, scale8BigInt, D1)
186+ let updatedD1 = if ((D1 == zeroBigInt))
187+ then oneBigInt
188+ else D1
189+ let diff = fraction(D0, scale8BigInt, updatedD1)
190190 let fail = (slpg > diff)
191191 if (if (fail)
192192 then true
193193 else (D0 > D1))
194- then throw(((((((toString(D0) + " ") + toString(D1)) + " ") + toString(diff)) + " ") + toString(slpg)))
194+ then throw(((((((toString(D0) + " ") + toString(updatedD1)) + " ") + toString(diff)) + " ") + toString(slpg)))
195195 else fail
196196 }
197197
334334 else calcLpAmt
335335 let amDiff = (inAmAmt - calcAmAssetPmt)
336336 let prDiff = (inPrAmt - calcPrAssetPmt)
337- let $t01553115876 = if (if (isOneAsset)
337+ let $t01552315868 = if (if (isOneAsset)
338338 then (pmtId == amIdStr)
339339 else false)
340340 then $Tuple2(pmtAmt, 0)
343343 else false)
344344 then $Tuple2(0, pmtAmt)
345345 else $Tuple2(calcAmAssetPmt, calcPrAssetPmt)
346- let writeAmAmt = $t01553115876._1
347- let writePrAmt = $t01553115876._2
346+ let writeAmAmt = $t01552315868._1
347+ let writePrAmt = $t01552315868._2
348348 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))]
349349 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEm, lpId, sts, commonState, amDiff, prDiff, inAmId, inPrId)
350350 }
586586 then i.originCaller
587587 else i.caller
588588 let addonContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(ada()), "no addons")), "addon address in not valid")
589- let check = reentrantInvoke(addonContract, "ensureCanPutOneTkn", [toString(userAddress)], nil)
589+ let check = reentrantInvoke(addonContract, "ensureCanGetOrPutOneTkn", [toString(userAddress)], nil)
590590 if ((check == check))
591591 then if (if (if (if ((0 >= slippage))
592592 then true
611611 else {
612612 let amBalance = getAccBalance(amId)
613613 let prBalance = getAccBalance(prId)
614- let $t02483225212 = if ((pmtAssetId == amId))
614+ let $t02482925209 = if ((pmtAssetId == amId))
615615 then $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
616616 else if ((pmtAssetId == prId))
617617 then $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
618618 else throw("wrong pmtAssetId")
619- let amBalanceNow = $t02483225212._1
620- let prBalanceNow = $t02483225212._2
621- let virtSwapInAm = $t02483225212._3
622- let virtSwapOutPr = $t02483225212._4
623- let virtSwapInPr = $t02483225212._5
624- let virtSwapOutAm = $t02483225212._6
619+ let amBalanceNow = $t02482925209._1
620+ let prBalanceNow = $t02482925209._2
621+ let virtSwapInAm = $t02482925209._3
622+ let virtSwapOutPr = $t02482925209._4
623+ let virtSwapInPr = $t02482925209._5
624+ let virtSwapOutAm = $t02482925209._6
625625 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
626626 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
627627 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
732732 let pmtAssetId = value(pmt.assetId)
733733 let pmtAmt = pmt.amount
734734 let addonContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(ada()), "no addons")), "addon address in not valid")
735- let check = reentrantInvoke(addonContract, "ensureCanGetOneTkn", [toString(userAddress)], nil)
735+ let check = reentrantInvoke(addonContract, "ensureCanGetOrPutOneTkn", [toString(userAddress)], nil)
736736 if ((check == check))
737737 then if ((1000000000 > pmtAmt))
738738 then throw("Min pmt 10 LP")
750750 let estimPrAmt = r._2
751751 let amBalance = getAccBalance(amId)
752752 let prBalance = getAccBalance(prId)
753- let $t03024330700 = if ((outAssetId == amId))
753+ let $t03024530702 = if ((outAssetId == amId))
754754 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
755755 else if ((outAssetId == prId))
756756 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
757757 else throw("wrong outAssetId")
758- let amBalanceNow = $t03024330700._1
759- let prBalanceNow = $t03024330700._2
760- let virtSwapInAm = $t03024330700._3
761- let virtSwapOutPr = $t03024330700._4
762- let virtSwapInPr = $t03024330700._5
763- let virtSwapOutAm = $t03024330700._6
764- let totalGet = $t03024330700._7
758+ let amBalanceNow = $t03024530702._1
759+ let prBalanceNow = $t03024530702._2
760+ let virtSwapInAm = $t03024530702._3
761+ let virtSwapOutPr = $t03024530702._4
762+ let virtSwapInPr = $t03024530702._5
763+ let virtSwapOutAm = $t03024530702._6
764+ let totalGet = $t03024530702._7
765765 if (if ((0 > virtSwapInAm))
766766 then true
767767 else (0 > virtSwapInPr))
775775 let finalRes = vad(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
776776 if ((finalRes == finalRes))
777777 then {
778- let $t03140531509 = if ((outAssetId == amId))
778+ let $t03140731511 = if ((outAssetId == amId))
779779 then $Tuple2(toInt(finalRes._2), 0)
780780 else $Tuple2(0, toInt(finalRes._2))
781- let outAm = $t03140531509._1
782- let outPr = $t03140531509._2
781+ let outAm = $t03140731511._1
782+ let outPr = $t03140731511._2
783783 let curPrX18 = cpbi(t1(prBalance, prDcm), t1(amBalance, amDcm))
784784 let curPr = f1(curPrX18, scale8)
785785 let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let scale8 = 100000000
55
66 let scale8BigInt = toBigInt(100000000)
77
88 let scale18 = toBigInt(1000000000000000000)
99
1010 let zeroBigInt = toBigInt(0)
1111
1212 let oneBigInt = toBigInt(1)
1313
1414 let 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
105-func lgotc (caller) = makeString(["%s%s__lastGetOneTknCall", caller], SEP)
106-
107-
108-func lsotc (caller) = makeString(["%s%s__lastPutOneTknCall", caller], SEP)
105+func lgopotc (caller) = makeString(["%s%s__lastGetOrPutOneTknCall", caller], SEP)
109106
110107
111108 func fcfg () = "%s__factoryConfig"
112109
113110
114111 func mtpk () = "%s%s__matcher__publicKey"
115112
116113
117114 func pc (iAmtAs,iPrAs) = (((("%d%d%s__" + iAmtAs) + "__") + iPrAs) + "__config")
118115
119116
120117 func mba (bAStr) = ("%s%s%s__mappings__baseAsset2internalId__" + bAStr)
121118
122119
123120 func aps () = "%s__shutdown"
124121
125122
126123 func toe (orV,sendrV,matchV) = throw(((((("Failed: ordValid=" + toString(orV)) + " sndrValid=") + toString(sendrV)) + " mtchrValid=") + toString(matchV)))
127124
128125
129126 func str (val) = match val {
130127 case valStr: String =>
131128 valStr
132129 case _ =>
133130 throw("fail cast to String")
134131 }
135132
136133
137134 func strf (addr,key) = valueOrErrorMessage(getString(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
138135
139136
140137 func intf (addr,key) = valueOrErrorMessage(getInteger(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
141138
142139
143140 let fca = addressFromStringValue(strf(this, fc()))
144141
145142 let A = strf(this, amp())
146143
147144 func igs () = valueOrElse(getBoolean(fca, aps()), false)
148145
149146
150147 func mp () = fromBase58String(strf(fca, mtpk()))
151148
152149
153150 func gpc () = {
154151 let amtAs = strf(this, aa())
155152 let priceAs = strf(this, pa())
156153 let iPriceAs = intf(fca, mba(priceAs))
157154 let iAmtAs = intf(fca, mba(amtAs))
158155 split(strf(fca, pc(toString(iAmtAs), toString(iPriceAs))), SEP)
159156 }
160157
161158
162159 func gfc () = split(strf(fca, fcfg()), SEP)
163160
164161
165162 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)
166163
167164
168165 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)
169166
170167
171168 func getAccBalance (assetId) = if ((assetId == "WAVES"))
172169 then wavesBalance(this).available
173170 else assetBalance(this, fromBase58String(assetId))
174171
175172
176173 func cpbi (prAmtX18,amAmtX18) = fraction(prAmtX18, scale18, amAmtX18)
177174
178175
179176 func vad (A1,A2,slippage) = {
180177 let diff = fraction((A1 - A2), scale8BigInt, A2)
181178 let pass = ((slippage - abs(diff)) > zeroBigInt)
182179 if (!(pass))
183180 then throw(("Big slpg: " + toString(diff)))
184181 else $Tuple2(pass, min([A1, A2]))
185182 }
186183
187184
188185 func vd (D1,D0,slpg) = {
189- let diff = fraction(D0, scale8BigInt, D1)
186+ let updatedD1 = if ((D1 == zeroBigInt))
187+ then oneBigInt
188+ else D1
189+ let diff = fraction(D0, scale8BigInt, updatedD1)
190190 let fail = (slpg > diff)
191191 if (if (fail)
192192 then true
193193 else (D0 > D1))
194- then throw(((((((toString(D0) + " ") + toString(D1)) + " ") + toString(diff)) + " ") + toString(slpg)))
194+ then throw(((((((toString(D0) + " ") + toString(updatedD1)) + " ") + toString(diff)) + " ") + toString(slpg)))
195195 else fail
196196 }
197197
198198
199199 func pcp (amAssetDcm,prAssetDcm,amAmt,prAmt) = {
200200 let amtAsAmtX18 = t1(amAmt, amAssetDcm)
201201 let prAsAmtX18 = t1(prAmt, prAssetDcm)
202202 cpbi(prAsAmtX18, amtAsAmtX18)
203203 }
204204
205205
206206 func calcPrices (amAmt,prAmt,lpAmt) = {
207207 let cfg = gpc()
208208 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
209209 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
210210 let priceX18 = pcp(amtAsDcm, prAsDcm, amAmt, prAmt)
211211 let amAmtX18 = t1(amAmt, amtAsDcm)
212212 let prAmtX18 = t1(prAmt, prAsDcm)
213213 let lpAmtX18 = t1(lpAmt, scale8)
214214 let lpPrInAmAsX18 = cpbi(amAmtX18, lpAmtX18)
215215 let lpPrInPrAsX18 = cpbi(prAmtX18, lpAmtX18)
216216 [priceX18, lpPrInAmAsX18, lpPrInPrAsX18]
217217 }
218218
219219
220220 func calculatePrices (amAmt,prAmt,lpAmt) = {
221221 let p = calcPrices(amAmt, prAmt, lpAmt)
222222 [f1(p[0], scale8), f1(p[1], scale8), f1(p[2], scale8)]
223223 }
224224
225225
226226 func ego (txId58,pmtAssetId,pmtLpAmt,userAddress) = {
227227 let cfg = gpc()
228228 let lpId = cfg[idxLPAsId]
229229 let amId = cfg[idxAmAsId]
230230 let prId = cfg[idxPrAsId]
231231 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
232232 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
233233 let sts = cfg[idxPoolSt]
234234 let lpEmiss = valueOrErrorMessage(assetInfo(fromBase58String(lpId)), "Wrong LP id").quantity
235235 if ((lpId != pmtAssetId))
236236 then throw("Wrong pmt asset")
237237 else {
238238 let amBalance = getAccBalance(amId)
239239 let amBalanceX18 = t1(amBalance, amDcm)
240240 let prBalance = getAccBalance(prId)
241241 let prBalanceX18 = t1(prBalance, prDcm)
242242 let curPriceX18 = cpbi(prBalanceX18, amBalanceX18)
243243 let curPrice = f1(curPriceX18, scale8)
244244 let pmtLpAmtX18 = t1(pmtLpAmt, scale8)
245245 let lpEmissX18 = t1(lpEmiss, scale8)
246246 let outAmAmtX18 = fraction(amBalanceX18, pmtLpAmtX18, lpEmissX18)
247247 let outPrAmtX18 = fraction(prBalanceX18, pmtLpAmtX18, lpEmissX18)
248248 let outAmAmt = f1(outAmAmtX18, amDcm)
249249 let outPrAmt = f1(outPrAmtX18, prDcm)
250250 let state = if ((txId58 == ""))
251251 then nil
252252 else [ScriptTransfer(userAddress, outAmAmt, if ((amId == "WAVES"))
253253 then unit
254254 else fromBase58String(amId)), ScriptTransfer(userAddress, outPrAmt, if ((prId == "WAVES"))
255255 then unit
256256 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)]
257257 $Tuple10(outAmAmt, outPrAmt, amId, prId, amBalance, prBalance, lpEmiss, curPriceX18, sts, state)
258258 }
259259 }
260260
261261
262262 func epo (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,userAddress,isEval,emitLp,isOneAsset,pmtAmt,pmtId) = {
263263 let cfg = gpc()
264264 let lpId = fromBase58String(cfg[idxLPAsId])
265265 let amIdStr = cfg[idxAmAsId]
266266 let prIdStr = cfg[idxPrAsId]
267267 let inAmIdStr = cfg[idxIAmtAsId]
268268 let inPrIdStr = cfg[idxIPriceAsId]
269269 let amtDcm = parseIntValue(cfg[idxAmtAsDcm])
270270 let priceDcm = parseIntValue(cfg[idxPriceAsDcm])
271271 let sts = cfg[idxPoolSt]
272272 let lpEm = valueOrErrorMessage(assetInfo(lpId), "Wr lp as").quantity
273273 let amBalance = if (isEval)
274274 then getAccBalance(amIdStr)
275275 else if (if (isOneAsset)
276276 then (pmtId == amIdStr)
277277 else false)
278278 then (getAccBalance(amIdStr) - pmtAmt)
279279 else if (isOneAsset)
280280 then getAccBalance(amIdStr)
281281 else (getAccBalance(amIdStr) - inAmAmt)
282282 let prBalance = if (isEval)
283283 then getAccBalance(prIdStr)
284284 else if (if (isOneAsset)
285285 then (pmtId == prIdStr)
286286 else false)
287287 then (getAccBalance(prIdStr) - pmtAmt)
288288 else if (isOneAsset)
289289 then getAccBalance(prIdStr)
290290 else (getAccBalance(prIdStr) - inPrAmt)
291291 let inAmAssetAmtX18 = t1(inAmAmt, amtDcm)
292292 let inPrAssetAmtX18 = t1(inPrAmt, priceDcm)
293293 let userPriceX18 = cpbi(inPrAssetAmtX18, inAmAssetAmtX18)
294294 let amBalanceX18 = t1(amBalance, amtDcm)
295295 let prBalanceX18 = t1(prBalance, priceDcm)
296296 let r = if ((lpEm == 0))
297297 then {
298298 let curPriceX18 = zeroBigInt
299299 let slippageX18 = zeroBigInt
300300 let lpAmtX18 = pow((inAmAssetAmtX18 * inPrAssetAmtX18), 0, toBigInt(5), 1, 0, DOWN)
301301 $Tuple5(f1(lpAmtX18, scale8), f1(inAmAssetAmtX18, amtDcm), f1(inPrAssetAmtX18, priceDcm), cpbi((prBalanceX18 + inPrAssetAmtX18), (amBalanceX18 + inAmAssetAmtX18)), slippageX18)
302302 }
303303 else {
304304 let curPriceX18 = cpbi(prBalanceX18, amBalanceX18)
305305 let slippageRealX18 = fraction(abs((curPriceX18 - userPriceX18)), scale18, curPriceX18)
306306 let slippageX18 = t1(slippage, scale8)
307307 if (if ((curPriceX18 != zeroBigInt))
308308 then (slippageRealX18 > slippageX18)
309309 else false)
310310 then throw(((("Price slippage " + toString(slippageRealX18)) + " > ") + toString(slippageX18)))
311311 else {
312312 let lpEmissionX18 = t1(lpEm, scale8)
313313 let prViaAmX18 = fraction(inAmAssetAmtX18, curPriceX18, scale18)
314314 let amViaPrX18 = fraction(inPrAssetAmtX18, scale18, curPriceX18)
315315 let expectedAmts = if ((prViaAmX18 > inPrAssetAmtX18))
316316 then $Tuple2(amViaPrX18, inPrAssetAmtX18)
317317 else $Tuple2(inAmAssetAmtX18, prViaAmX18)
318318 let expAmtAssetAmtX18 = expectedAmts._1
319319 let expPriceAssetAmtX18 = expectedAmts._2
320320 let lpAmtX18 = fraction(lpEmissionX18, expPriceAssetAmtX18, prBalanceX18)
321321 $Tuple5(f1(lpAmtX18, scale8), f1(expAmtAssetAmtX18, amtDcm), f1(expPriceAssetAmtX18, priceDcm), curPriceX18, slippageX18)
322322 }
323323 }
324324 let calcLpAmt = r._1
325325 let calcAmAssetPmt = r._2
326326 let calcPrAssetPmt = r._3
327327 let curPrice = f1(r._4, scale8)
328328 let slippageCalc = f1(r._5, scale8)
329329 if ((0 >= calcLpAmt))
330330 then throw("LP <= 0")
331331 else {
332332 let emitLpAmt = if (!(emitLp))
333333 then 0
334334 else calcLpAmt
335335 let amDiff = (inAmAmt - calcAmAssetPmt)
336336 let prDiff = (inPrAmt - calcPrAssetPmt)
337- let $t01553115876 = if (if (isOneAsset)
337+ let $t01552315868 = if (if (isOneAsset)
338338 then (pmtId == amIdStr)
339339 else false)
340340 then $Tuple2(pmtAmt, 0)
341341 else if (if (isOneAsset)
342342 then (pmtId == prIdStr)
343343 else false)
344344 then $Tuple2(0, pmtAmt)
345345 else $Tuple2(calcAmAssetPmt, calcPrAssetPmt)
346- let writeAmAmt = $t01553115876._1
347- let writePrAmt = $t01553115876._2
346+ let writeAmAmt = $t01552315868._1
347+ let writePrAmt = $t01552315868._2
348348 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))]
349349 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEm, lpId, sts, commonState, amDiff, prDiff, inAmId, inPrId)
350350 }
351351 }
352352
353353
354354 func moa (order) = {
355355 let cfg = gpc()
356356 let amtAsId = cfg[idxAmAsId]
357357 let prAsId = cfg[idxPrAsId]
358358 let sts = parseIntValue(cfg[idxPoolSt])
359359 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
360360 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
361361 let accAmtAsBalance = getAccBalance(amtAsId)
362362 let accPrAsBalance = getAccBalance(prAsId)
363363 let curPriceX18 = if ((order.orderType == Buy))
364364 then pcp(amtAsDcm, prAsDcm, (accAmtAsBalance + order.amount), accPrAsBalance)
365365 else pcp(amtAsDcm, prAsDcm, (accAmtAsBalance - order.amount), accPrAsBalance)
366366 let curPrice = f1(curPriceX18, scale8)
367367 if (if (if (igs())
368368 then true
369369 else (sts == PoolMatcherDis))
370370 then true
371371 else (sts == PoolShutdown))
372372 then throw("Admin blocked")
373373 else {
374374 let orAmtAsset = order.assetPair.amountAsset
375375 let orAmtAsStr = if ((orAmtAsset == unit))
376376 then "WAVES"
377377 else toBase58String(value(orAmtAsset))
378378 let orPrAsset = order.assetPair.priceAsset
379379 let orPrAsStr = if ((orPrAsset == unit))
380380 then "WAVES"
381381 else toBase58String(value(orPrAsset))
382382 if (if ((orAmtAsStr != amtAsId))
383383 then true
384384 else (orPrAsStr != prAsId))
385385 then throw("Wr assets")
386386 else {
387387 let orderPrice = order.price
388388 let priceDcm = fraction(scale8, prAsDcm, amtAsDcm)
389389 let castOrderPrice = ts(orderPrice, scale8, priceDcm)
390390 let isOrderPriceValid = if ((order.orderType == Buy))
391391 then (curPrice >= castOrderPrice)
392392 else (castOrderPrice >= curPrice)
393393 true
394394 }
395395 }
396396 }
397397
398398
399399 func cg (i) = if ((size(i.payments) != 1))
400400 then throw("1 pmnt exp")
401401 else {
402402 let pmt = value(i.payments[0])
403403 let pmtAssetId = value(pmt.assetId)
404404 let pmtAmt = pmt.amount
405405 let r = ego(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
406406 let outAmAmt = r._1
407407 let outPrAmt = r._2
408408 let sts = parseIntValue(r._9)
409409 let state = r._10
410410 if (if (igs())
411411 then true
412412 else (sts == PoolShutdown))
413413 then throw(("Admin blocked: " + toString(sts)))
414414 else $Tuple5(outAmAmt, outPrAmt, pmtAmt, pmtAssetId, state)
415415 }
416416
417417
418418 func cp (caller,txId,amAsPmt,prAsPmt,slippage,emitLp,isOneAsset,pmtAmt,pmtId) = {
419419 let r = epo(txId, slippage, value(amAsPmt).amount, value(amAsPmt).assetId, value(prAsPmt).amount, value(prAsPmt).assetId, caller, false, emitLp, isOneAsset, pmtAmt, pmtId)
420420 let sts = parseIntValue(r._8)
421421 if (if (if (igs())
422422 then true
423423 else (sts == PoolPutDis))
424424 then true
425425 else (sts == PoolShutdown))
426426 then throw(("Blocked:" + toString(sts)))
427427 else r
428428 }
429429
430430
431431 func m () = match getString(mpk()) {
432432 case s: String =>
433433 fromBase58String(s)
434434 case _: Unit =>
435435 unit
436436 case _ =>
437437 throw("Match error")
438438 }
439439
440440
441441 func pm () = match getString(pmpk()) {
442442 case s: String =>
443443 fromBase58String(s)
444444 case _: Unit =>
445445 unit
446446 case _ =>
447447 throw("Match error")
448448 }
449449
450450
451451 let pd = throw("Permission denied")
452452
453453 func mm (i) = match m() {
454454 case pk: ByteVector =>
455455 if ((i.callerPublicKey == pk))
456456 then true
457457 else pd
458458 case _: Unit =>
459459 if ((i.caller == this))
460460 then true
461461 else pd
462462 case _ =>
463463 throw("Match error")
464464 }
465465
466466
467467 @Callable(i)
468468 func constructor (fc) = {
469469 let c = mm(i)
470470 if ((c == c))
471471 then [StringEntry(fc(), fc)]
472472 else throw("Strict value is not equal to itself.")
473473 }
474474
475475
476476
477477 @Callable(i)
478478 func setManager (pendingManagerPublicKey) = {
479479 let c = mm(i)
480480 if ((c == c))
481481 then {
482482 let cm = fromBase58String(pendingManagerPublicKey)
483483 if ((cm == cm))
484484 then [StringEntry(pmpk(), pendingManagerPublicKey)]
485485 else throw("Strict value is not equal to itself.")
486486 }
487487 else throw("Strict value is not equal to itself.")
488488 }
489489
490490
491491
492492 @Callable(i)
493493 func confirmManager () = {
494494 let p = pm()
495495 let hpm = if (isDefined(p))
496496 then true
497497 else throw("No pending manager")
498498 if ((hpm == hpm))
499499 then {
500500 let cpm = if ((i.callerPublicKey == value(p)))
501501 then true
502502 else throw("You are not pending manager")
503503 if ((cpm == cpm))
504504 then [StringEntry(mpk(), toBase58String(value(p))), DeleteEntry(pmpk())]
505505 else throw("Strict value is not equal to itself.")
506506 }
507507 else throw("Strict value is not equal to itself.")
508508 }
509509
510510
511511
512512 @Callable(i)
513513 func put (slip,autoStake) = {
514514 let factCfg = gfc()
515515 let stakingCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactStakCntr]), "Wr st addr")
516516 let slipCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactSlippCntr]), "Wr sl addr")
517517 if ((0 > slip))
518518 then throw("Wrong slippage")
519519 else if ((size(i.payments) != 2))
520520 then throw("2 pmnts expd")
521521 else {
522522 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, 0, "")
523523 let emitLpAmt = e._2
524524 let lpAssetId = e._7
525525 let state = e._9
526526 let amDiff = e._10
527527 let prDiff = e._11
528528 let amId = e._12
529529 let prId = e._13
530530 let r = invoke(fca, "emit", [emitLpAmt], nil)
531531 if ((r == r))
532532 then {
533533 let el = match r {
534534 case legacy: Address =>
535535 invoke(legacy, "emit", [emitLpAmt], nil)
536536 case _ =>
537537 unit
538538 }
539539 if ((el == el))
540540 then {
541541 let sa = if ((amDiff > 0))
542542 then invoke(slipCntr, "put", nil, [AttachedPayment(amId, amDiff)])
543543 else nil
544544 if ((sa == sa))
545545 then {
546546 let sp = if ((prDiff > 0))
547547 then invoke(slipCntr, "put", nil, [AttachedPayment(prId, prDiff)])
548548 else nil
549549 if ((sp == sp))
550550 then {
551551 let lpTrnsfr = if (autoStake)
552552 then {
553553 let ss = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
554554 if ((ss == ss))
555555 then nil
556556 else throw("Strict value is not equal to itself.")
557557 }
558558 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
559559 (state ++ lpTrnsfr)
560560 }
561561 else throw("Strict value is not equal to itself.")
562562 }
563563 else throw("Strict value is not equal to itself.")
564564 }
565565 else throw("Strict value is not equal to itself.")
566566 }
567567 else throw("Strict value is not equal to itself.")
568568 }
569569 }
570570
571571
572572
573573 @Callable(i)
574574 func putOneTkn (amAssetPart,prAssetPart,outLp,slippage,autoStake) = {
575575 let cfg = gfc()
576576 let stakingCntr = valueOrErrorMessage(addressFromString(cfg[idxFactStakCntr]), "Wr st addr")
577577 let slipCntr = valueOrErrorMessage(addressFromString(cfg[idxFactSlippCntr]), "Wr sl addr")
578578 let gwxCntr = valueOrErrorMessage(addressFromString(cfg[idxFactGwxRewCntr]), "Wr gwx addr")
579579 let poolCfg = gpc()
580580 let amId = poolCfg[idxAmAsId]
581581 let prId = poolCfg[idxPrAsId]
582582 let amDcm = parseIntValue(poolCfg[idxAmtAsDcm])
583583 let prDcm = parseIntValue(poolCfg[idxPriceAsDcm])
584584 let addon = valueOrElse(getString(this, ada()), "")
585585 let userAddress = if ((addon == toString(i.caller)))
586586 then i.originCaller
587587 else i.caller
588588 let addonContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(ada()), "no addons")), "addon address in not valid")
589- let check = reentrantInvoke(addonContract, "ensureCanPutOneTkn", [toString(userAddress)], nil)
589+ let check = reentrantInvoke(addonContract, "ensureCanGetOrPutOneTkn", [toString(userAddress)], nil)
590590 if ((check == check))
591591 then if (if (if (if ((0 >= slippage))
592592 then true
593593 else (0 >= amAssetPart))
594594 then true
595595 else (0 >= prAssetPart))
596596 then true
597597 else (0 >= outLp))
598598 then throw("Wrong params")
599599 else if ((size(i.payments) != 1))
600600 then throw("1 pmnt expd")
601601 else {
602602 let pmt = value(i.payments[0])
603603 let pmtAssetId = toBase58String(value(pmt.assetId))
604604 let pmtAmt = pmt.amount
605605 if (if (if ((amAssetPart > pmtAmt))
606606 then true
607607 else (prAssetPart > pmtAmt))
608608 then true
609609 else (10000000 > pmtAmt))
610610 then throw("Wrong pmt amt")
611611 else {
612612 let amBalance = getAccBalance(amId)
613613 let prBalance = getAccBalance(prId)
614- let $t02483225212 = if ((pmtAssetId == amId))
614+ let $t02482925209 = if ((pmtAssetId == amId))
615615 then $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
616616 else if ((pmtAssetId == prId))
617617 then $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
618618 else throw("wrong pmtAssetId")
619- let amBalanceNow = $t02483225212._1
620- let prBalanceNow = $t02483225212._2
621- let virtSwapInAm = $t02483225212._3
622- let virtSwapOutPr = $t02483225212._4
623- let virtSwapInPr = $t02483225212._5
624- let virtSwapOutAm = $t02483225212._6
619+ let amBalanceNow = $t02482925209._1
620+ let prBalanceNow = $t02482925209._2
621+ let virtSwapInAm = $t02482925209._3
622+ let virtSwapOutPr = $t02482925209._4
623+ let virtSwapInPr = $t02482925209._5
624+ let virtSwapOutAm = $t02482925209._6
625625 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
626626 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
627627 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
628628 if ((D0vsD1 == D0vsD1))
629629 then {
630630 let estPut = cp(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), slippage, true, true, pmtAmt, pmtAssetId)
631631 let estimLP = estPut._2
632632 let lpAssetId = estPut._7
633633 let state = estPut._9
634634 let amDiff = estPut._10
635635 let prDiff = estPut._11
636636 let lpCalcRes = vad(toBigInt(estimLP), toBigInt(outLp), toBigInt(slippage))
637637 let emitLpAmt = toInt(lpCalcRes._2)
638638 let e = invoke(fca, "emit", [emitLpAmt], nil)
639639 if ((e == e))
640640 then {
641641 let el = match e {
642642 case legacy: Address =>
643643 invoke(legacy, "emit", [emitLpAmt], nil)
644644 case _ =>
645645 unit
646646 }
647647 if ((el == el))
648648 then {
649649 let sa = if ((amDiff > 0))
650650 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
651651 else nil
652652 if ((sa == sa))
653653 then {
654654 let sp = if ((prDiff > 0))
655655 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
656656 else nil
657657 if ((sp == sp))
658658 then {
659659 let lpTrnsfr = if (autoStake)
660660 then {
661661 let ss = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
662662 if ((ss == ss))
663663 then nil
664664 else throw("Strict value is not equal to itself.")
665665 }
666666 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
667667 (state ++ lpTrnsfr)
668668 }
669669 else throw("Strict value is not equal to itself.")
670670 }
671671 else throw("Strict value is not equal to itself.")
672672 }
673673 else throw("Strict value is not equal to itself.")
674674 }
675675 else throw("Strict value is not equal to itself.")
676676 }
677677 else throw("Strict value is not equal to itself.")
678678 }
679679 }
680680 else throw("Strict value is not equal to itself.")
681681 }
682682
683683
684684
685685 @Callable(i)
686686 func putForFree (maxSlpg) = if ((0 > maxSlpg))
687687 then throw("Wrong slpg")
688688 else if ((size(i.payments) != 2))
689689 then throw("2 pmnts expd")
690690 else {
691691 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, 0, "")
692692 estPut._9
693693 }
694694
695695
696696
697697 @Callable(i)
698698 func get () = {
699699 let r = cg(i)
700700 let outAmtAmt = r._1
701701 let outPrAmt = r._2
702702 let pmtAmt = r._3
703703 let pmtAssetId = r._4
704704 let state = r._5
705705 let b = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
706706 if ((b == b))
707707 then state
708708 else throw("Strict value is not equal to itself.")
709709 }
710710
711711
712712
713713 @Callable(i)
714714 func getOneTkn (exchResult,notUsed,outAmount,outAssetId,slippage) = if ((size(i.payments) != 1))
715715 then throw("1 pmnt expd")
716716 else {
717717 let cfg = gpc()
718718 let lpId = cfg[idxLPAsId]
719719 let amId = cfg[idxAmAsId]
720720 let prId = cfg[idxPrAsId]
721721 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
722722 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
723723 let sts = cfg[idxPoolSt]
724724 let factCfg = gfc()
725725 let gwxCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactGwxRewCntr]), "Wr sl addr")
726726 let pmt = value(i.payments[0])
727727 let addon = valueOrElse(getString(this, ada()), "")
728728 let userAddress = if ((addon == toString(i.caller)))
729729 then i.originCaller
730730 else i.caller
731731 let txId58 = toBase58String(i.transactionId)
732732 let pmtAssetId = value(pmt.assetId)
733733 let pmtAmt = pmt.amount
734734 let addonContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(ada()), "no addons")), "addon address in not valid")
735- let check = reentrantInvoke(addonContract, "ensureCanGetOneTkn", [toString(userAddress)], nil)
735+ let check = reentrantInvoke(addonContract, "ensureCanGetOrPutOneTkn", [toString(userAddress)], nil)
736736 if ((check == check))
737737 then if ((1000000000 > pmtAmt))
738738 then throw("Min pmt 10 LP")
739739 else if (if (if ((0 > slippage))
740740 then true
741741 else (0 > exchResult))
742742 then true
743743 else (0 > outAmount))
744744 then throw("Wrong params")
745745 else if ((lpId != toBase58String(pmtAssetId)))
746746 then throw("Wrong LP")
747747 else {
748748 let r = ego(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
749749 let estimAmAmt = r._1
750750 let estimPrAmt = r._2
751751 let amBalance = getAccBalance(amId)
752752 let prBalance = getAccBalance(prId)
753- let $t03024330700 = if ((outAssetId == amId))
753+ let $t03024530702 = if ((outAssetId == amId))
754754 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
755755 else if ((outAssetId == prId))
756756 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
757757 else throw("wrong outAssetId")
758- let amBalanceNow = $t03024330700._1
759- let prBalanceNow = $t03024330700._2
760- let virtSwapInAm = $t03024330700._3
761- let virtSwapOutPr = $t03024330700._4
762- let virtSwapInPr = $t03024330700._5
763- let virtSwapOutAm = $t03024330700._6
764- let totalGet = $t03024330700._7
758+ let amBalanceNow = $t03024530702._1
759+ let prBalanceNow = $t03024530702._2
760+ let virtSwapInAm = $t03024530702._3
761+ let virtSwapOutPr = $t03024530702._4
762+ let virtSwapInPr = $t03024530702._5
763+ let virtSwapOutAm = $t03024530702._6
764+ let totalGet = $t03024530702._7
765765 if (if ((0 > virtSwapInAm))
766766 then true
767767 else (0 > virtSwapInPr))
768768 then throw("Wrong calc")
769769 else {
770770 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
771771 let D1 = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
772772 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
773773 if ((D0vsD1 == D0vsD1))
774774 then {
775775 let finalRes = vad(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
776776 if ((finalRes == finalRes))
777777 then {
778- let $t03140531509 = if ((outAssetId == amId))
778+ let $t03140731511 = if ((outAssetId == amId))
779779 then $Tuple2(toInt(finalRes._2), 0)
780780 else $Tuple2(0, toInt(finalRes._2))
781- let outAm = $t03140531509._1
782- let outPr = $t03140531509._2
781+ let outAm = $t03140731511._1
782+ let outPr = $t03140731511._2
783783 let curPrX18 = cpbi(t1(prBalance, prDcm), t1(amBalance, amDcm))
784784 let curPr = f1(curPrX18, scale8)
785785 let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
786786 then unit
787787 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)]
788788 if ((state == state))
789789 then {
790790 let burn = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
791791 if ((burn == burn))
792792 then state
793793 else throw("Strict value is not equal to itself.")
794794 }
795795 else throw("Strict value is not equal to itself.")
796796 }
797797 else throw("Strict value is not equal to itself.")
798798 }
799799 else throw("Strict value is not equal to itself.")
800800 }
801801 }
802802 else throw("Strict value is not equal to itself.")
803803 }
804804
805805
806806
807807 @Callable(i)
808808 func getNoLess (noLessThenAmtAsset,noLessThenPriceAsset) = {
809809 let r = cg(i)
810810 let outAmAmt = r._1
811811 let outPrAmt = r._2
812812 let pmtAmt = r._3
813813 let pmtAssetId = r._4
814814 let state = r._5
815815 if ((noLessThenAmtAsset > outAmAmt))
816816 then throw(((("Failed: " + toString(outAmAmt)) + " < ") + toString(noLessThenAmtAsset)))
817817 else if ((noLessThenPriceAsset > outPrAmt))
818818 then throw(((("Failed: " + toString(outPrAmt)) + " < ") + toString(noLessThenPriceAsset)))
819819 else {
820820 let burnLPAssetOnFactory = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
821821 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
822822 then state
823823 else throw("Strict value is not equal to itself.")
824824 }
825825 }
826826
827827
828828
829829 @Callable(i)
830830 func unstakeAndGet (amount) = {
831831 let checkPayments = if ((size(i.payments) != 0))
832832 then throw("No pmnts expd")
833833 else true
834834 if ((checkPayments == checkPayments))
835835 then {
836836 let cfg = gpc()
837837 let factoryCfg = gfc()
838838 let lpAssetId = fromBase58String(cfg[idxLPAsId])
839839 let staking = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
840840 let unstakeInv = invoke(staking, "unstake", [toBase58String(lpAssetId), amount], nil)
841841 if ((unstakeInv == unstakeInv))
842842 then {
843843 let r = ego(toBase58String(i.transactionId), toBase58String(lpAssetId), amount, i.caller)
844844 let sts = parseIntValue(r._9)
845845 let state = r._10
846846 let v = if (if (igs())
847847 then true
848848 else (sts == PoolShutdown))
849849 then throw(("Blocked: " + toString(sts)))
850850 else true
851851 if ((v == v))
852852 then {
853853 let burnA = invoke(fca, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
854854 if ((burnA == burnA))
855855 then state
856856 else throw("Strict value is not equal to itself.")
857857 }
858858 else throw("Strict value is not equal to itself.")
859859 }
860860 else throw("Strict value is not equal to itself.")
861861 }
862862 else throw("Strict value is not equal to itself.")
863863 }
864864
865865
866866
867867 @Callable(i)
868868 func activate (amtAsStr,prAsStr) = if ((toString(i.caller) != toString(fca)))
869869 then throw("denied")
870870 else $Tuple2([StringEntry(aa(), amtAsStr), StringEntry(pa(), prAsStr)], "success")
871871
872872
873873
874874 @Callable(i)
875875 func setS (k,v) = if ((toString(i.caller) != strf(this, ada())))
876876 then pd
877877 else [StringEntry(k, v)]
878878
879879
880880
881881 @Callable(i)
882882 func setI (k,v) = if ((toString(i.caller) != strf(this, ada())))
883883 then pd
884884 else [IntegerEntry(k, v)]
885885
886886
887887
888888 @Callable(i)
889889 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, gpc())
890890
891891
892892
893893 @Callable(i)
894894 func getAccBalanceWrapperREADONLY (assetId) = $Tuple2(nil, getAccBalance(assetId))
895895
896896
897897
898898 @Callable(i)
899899 func calcPricesWrapperREADONLY (amAmt,prAmt,lpAmt) = {
900900 let pr = calcPrices(amAmt, prAmt, lpAmt)
901901 $Tuple2(nil, [toString(pr[0]), toString(pr[1]), toString(pr[2])])
902902 }
903903
904904
905905
906906 @Callable(i)
907907 func fromX18WrapperREADONLY (val,resScaleMult) = $Tuple2(nil, f1(parseBigIntValue(val), resScaleMult))
908908
909909
910910
911911 @Callable(i)
912912 func toX18WrapperREADONLY (origVal,origScaleMult) = $Tuple2(nil, toString(t1(origVal, origScaleMult)))
913913
914914
915915
916916 @Callable(i)
917917 func calcPriceBigIntWrapperREADONLY (prAmtX18,amAmtX18) = $Tuple2(nil, toString(cpbi(parseBigIntValue(prAmtX18), parseBigIntValue(amAmtX18))))
918918
919919
920920
921921 @Callable(i)
922922 func estimatePutOperationWrapperREADONLY (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,usrAddr,isEval,emitLp) = $Tuple2(nil, epo(txId58, slippage, inAmAmt, inAmId, inPrAmt, inPrId, usrAddr, isEval, emitLp, false, 0, ""))
923923
924924
925925
926926 @Callable(i)
927927 func estimateGetOperationWrapperREADONLY (txId58,pmtAsId,pmtLpAmt,usrAddr) = {
928928 let r = ego(txId58, pmtAsId, pmtLpAmt, addressFromStringValue(usrAddr))
929929 $Tuple2(nil, $Tuple10(r._1, r._2, r._3, r._4, r._5, r._6, r._7, toString(r._8), r._9, r._10))
930930 }
931931
932932
933933 @Verifier(tx)
934934 func verify () = match tx {
935935 case order: Order =>
936936 let mtchPub = mp()
937937 let orV = moa(order)
938938 let sndrV = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
939939 let mtchV = sigVerify(order.bodyBytes, order.proofs[1], mtchPub)
940940 if (if (if (orV)
941941 then sndrV
942942 else false)
943943 then mtchV
944944 else false)
945945 then true
946946 else toe(orV, sndrV, mtchV)
947947 case _ =>
948948 let targetPublicKey = match m() {
949949 case pk: ByteVector =>
950950 pk
951951 case _: Unit =>
952952 tx.senderPublicKey
953953 case _ =>
954954 throw("Match error")
955955 }
956956 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
957957 }
958958

github/deemru/w8io/026f985 
107.21 ms