tx · 43vkL3G74hfCY2wob9C7MJF9nMsBeD6biqAuFkcHuU5b

3Mz51suw3H98TBYJHSra1k2uSYQMv2vUkzt:  -0.03500000 Waves

2022.06.07 00:05 [2085009] smart account 3Mz51suw3H98TBYJHSra1k2uSYQMv2vUkzt > SELF 0.00000000 Waves

{ "type": 13, "id": "43vkL3G74hfCY2wob9C7MJF9nMsBeD6biqAuFkcHuU5b", "fee": 3500000, "feeAssetId": null, "timestamp": 1654549515578, "version": 1, "sender": "3Mz51suw3H98TBYJHSra1k2uSYQMv2vUkzt", "senderPublicKey": "8RPibCyjGbPr7troJPW7WTXkrbynj8HwkrckopSZoYVn", "proofs": [ "3RAsdbnptWd8CMy2eXyEwSisX8qdNaNs17we7KVoUndGvDFk6Zs3kWyZGUUHGznETvfyCay1EeC1hjQprBkDyJrd" ], "script": "base64:AAIFAAAAAAAAEpUIAhIDCgEIEgMKAQgSABIECgIBBBIHCgUBAQEBBBIDCgEBEgASBwoFAQEBCAESBAoCAQESAwoBARIECgIICBIECgIICBIECgIIARIAEgMKAQgSBQoDAQEBEgQKAggBEgQKAgEBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEIGgoKAUESBWRlbGF5GgcKAUISAnQxGgwKAUMSB29yaWdWYWwaEgoBRBINb3JpZ1NjYWxlTXVsdBoHCgFFEgJmMRoICgFGEgN2YWwaFAoBRxIPcmVzdWx0U2NhbGVNdWx0GgcKAUgSAnRzGggKAUkSA2FtdBoNCgFKEghyZXNTY2FsZRoNCgFLEghjdXJTY2FsZRoICgFMEgNhYnMaBwoBTRICZmMaCAoBThIDbXBrGgkKAU8SBHBtcGsaBwoBUBICcGwaBwoBURICcGgaBgoBUhIBaBoGCgFTEgF0GggKAVQSA3BhdRoHCgFVEgJ1YRoJCgFWEgR0eElkGggKAVcSA2dhdRoHCgFYEgJhYRoHCgFZEgJwYRoICgFaEgNhbXAaCwoBYRIGc2NhbGU4GgkKAmFBEgNncGMaCwoCYUISBWFtdEFzGg0KAmFDE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 0 } View: original | compacted Prev: GxjWgaYVUqufYJx2KUDasBhB8BnQ6VRBEYk4rQXfSt4S Next: BxJYeJLQ3tGQJ9edXH5KCMb44aWG5un5d33AeeBxQpaW Diff:
OldNewDifferences
183183
184184
185185 func vd (D1,D0,slpg) = {
186- let error = throw("error 123")
187- if ((error == error))
188- then {
189- let diff = fraction(D0, scale8BigInt, D1)
190- let fail = (slpg > diff)
191- if (if (fail)
192- then true
193- else (D0 > D1))
194- then throw(((((((toString(D0) + " ") + toString(D1)) + " ") + toString(diff)) + " ") + toString(slpg)))
195- else fail
196- }
197- else throw("Strict value is not equal to itself.")
186+ let updatedD1 = if ((D1 == zeroBigInt))
187+ then oneBigInt
188+ else D1
189+ let diff = fraction(D0, scale8BigInt, D1)
190+ let fail = (slpg > diff)
191+ if (if (fail)
192+ then true
193+ else (D0 > D1))
194+ then throw(((((((toString(D0) + " ") + toString(D1)) + " ") + toString(diff)) + " ") + toString(slpg)))
195+ else fail
198196 }
199197
200198
336334 else calcLpAmt
337335 let amDiff = (inAmAmt - calcAmAssetPmt)
338336 let prDiff = (inPrAmt - calcPrAssetPmt)
339- let $t01547615821 = if (if (isOneAsset)
337+ let $t01552015865 = if (if (isOneAsset)
340338 then (pmtId == amIdStr)
341339 else false)
342340 then $Tuple2(pmtAmt, 0)
345343 else false)
346344 then $Tuple2(0, pmtAmt)
347345 else $Tuple2(calcAmAssetPmt, calcPrAssetPmt)
348- let writeAmAmt = $t01547615821._1
349- let writePrAmt = $t01547615821._2
346+ let writeAmAmt = $t01552015865._1
347+ let writePrAmt = $t01552015865._2
350348 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))]
351349 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEm, lpId, sts, commonState, amDiff, prDiff, inAmId, inPrId)
352350 }
613611 else {
614612 let amBalance = getAccBalance(amId)
615613 let prBalance = getAccBalance(prId)
616- let $t02478225162 = if ((pmtAssetId == amId))
614+ let $t02482625206 = if ((pmtAssetId == amId))
617615 then $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
618616 else if ((pmtAssetId == prId))
619617 then $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
620618 else throw("wrong pmtAssetId")
621- let amBalanceNow = $t02478225162._1
622- let prBalanceNow = $t02478225162._2
623- let virtSwapInAm = $t02478225162._3
624- let virtSwapOutPr = $t02478225162._4
625- let virtSwapInPr = $t02478225162._5
626- let virtSwapOutAm = $t02478225162._6
619+ let amBalanceNow = $t02482625206._1
620+ let prBalanceNow = $t02482625206._2
621+ let virtSwapInAm = $t02482625206._3
622+ let virtSwapOutPr = $t02482625206._4
623+ let virtSwapInPr = $t02482625206._5
624+ let virtSwapOutAm = $t02482625206._6
627625 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
628626 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
629627 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
752750 let estimPrAmt = r._2
753751 let amBalance = getAccBalance(amId)
754752 let prBalance = getAccBalance(prId)
755- let $t03019830655 = if ((outAssetId == amId))
753+ let $t03024230699 = if ((outAssetId == amId))
756754 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
757755 else if ((outAssetId == prId))
758756 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
759757 else throw("wrong outAssetId")
760- let amBalanceNow = $t03019830655._1
761- let prBalanceNow = $t03019830655._2
762- let virtSwapInAm = $t03019830655._3
763- let virtSwapOutPr = $t03019830655._4
764- let virtSwapInPr = $t03019830655._5
765- let virtSwapOutAm = $t03019830655._6
766- let totalGet = $t03019830655._7
758+ let amBalanceNow = $t03024230699._1
759+ let prBalanceNow = $t03024230699._2
760+ let virtSwapInAm = $t03024230699._3
761+ let virtSwapOutPr = $t03024230699._4
762+ let virtSwapInPr = $t03024230699._5
763+ let virtSwapOutAm = $t03024230699._6
764+ let totalGet = $t03024230699._7
767765 if (if ((0 > virtSwapInAm))
768766 then true
769767 else (0 > virtSwapInPr))
777775 let finalRes = vad(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
778776 if ((finalRes == finalRes))
779777 then {
780- let $t03136031464 = if ((outAssetId == amId))
778+ let $t03140431508 = if ((outAssetId == amId))
781779 then $Tuple2(toInt(finalRes._2), 0)
782780 else $Tuple2(0, toInt(finalRes._2))
783- let outAm = $t03136031464._1
784- let outPr = $t03136031464._2
781+ let outAm = $t03140431508._1
782+ let outPr = $t03140431508._2
785783 let curPrX18 = cpbi(t1(prBalance, prDcm), t1(amBalance, amDcm))
786784 let curPr = f1(curPrX18, scale8)
787785 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
105105 func lgopotc (caller) = makeString(["%s%s__lastGetOrPutOneTknCall", caller], SEP)
106106
107107
108108 func fcfg () = "%s__factoryConfig"
109109
110110
111111 func mtpk () = "%s%s__matcher__publicKey"
112112
113113
114114 func pc (iAmtAs,iPrAs) = (((("%d%d%s__" + iAmtAs) + "__") + iPrAs) + "__config")
115115
116116
117117 func mba (bAStr) = ("%s%s%s__mappings__baseAsset2internalId__" + bAStr)
118118
119119
120120 func aps () = "%s__shutdown"
121121
122122
123123 func toe (orV,sendrV,matchV) = throw(((((("Failed: ordValid=" + toString(orV)) + " sndrValid=") + toString(sendrV)) + " mtchrValid=") + toString(matchV)))
124124
125125
126126 func str (val) = match val {
127127 case valStr: String =>
128128 valStr
129129 case _ =>
130130 throw("fail cast to String")
131131 }
132132
133133
134134 func strf (addr,key) = valueOrErrorMessage(getString(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
135135
136136
137137 func intf (addr,key) = valueOrErrorMessage(getInteger(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
138138
139139
140140 let fca = addressFromStringValue(strf(this, fc()))
141141
142142 let A = strf(this, amp())
143143
144144 func igs () = valueOrElse(getBoolean(fca, aps()), false)
145145
146146
147147 func mp () = fromBase58String(strf(fca, mtpk()))
148148
149149
150150 func gpc () = {
151151 let amtAs = strf(this, aa())
152152 let priceAs = strf(this, pa())
153153 let iPriceAs = intf(fca, mba(priceAs))
154154 let iAmtAs = intf(fca, mba(amtAs))
155155 split(strf(fca, pc(toString(iAmtAs), toString(iPriceAs))), SEP)
156156 }
157157
158158
159159 func gfc () = split(strf(fca, fcfg()), SEP)
160160
161161
162162 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)
163163
164164
165165 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)
166166
167167
168168 func getAccBalance (assetId) = if ((assetId == "WAVES"))
169169 then wavesBalance(this).available
170170 else assetBalance(this, fromBase58String(assetId))
171171
172172
173173 func cpbi (prAmtX18,amAmtX18) = fraction(prAmtX18, scale18, amAmtX18)
174174
175175
176176 func vad (A1,A2,slippage) = {
177177 let diff = fraction((A1 - A2), scale8BigInt, A2)
178178 let pass = ((slippage - abs(diff)) > zeroBigInt)
179179 if (!(pass))
180180 then throw(("Big slpg: " + toString(diff)))
181181 else $Tuple2(pass, min([A1, A2]))
182182 }
183183
184184
185185 func vd (D1,D0,slpg) = {
186- let error = throw("error 123")
187- if ((error == error))
188- then {
189- let diff = fraction(D0, scale8BigInt, D1)
190- let fail = (slpg > diff)
191- if (if (fail)
192- then true
193- else (D0 > D1))
194- then throw(((((((toString(D0) + " ") + toString(D1)) + " ") + toString(diff)) + " ") + toString(slpg)))
195- else fail
196- }
197- else throw("Strict value is not equal to itself.")
186+ let updatedD1 = if ((D1 == zeroBigInt))
187+ then oneBigInt
188+ else D1
189+ let diff = fraction(D0, scale8BigInt, D1)
190+ let fail = (slpg > diff)
191+ if (if (fail)
192+ then true
193+ else (D0 > D1))
194+ then throw(((((((toString(D0) + " ") + toString(D1)) + " ") + toString(diff)) + " ") + toString(slpg)))
195+ else fail
198196 }
199197
200198
201199 func pcp (amAssetDcm,prAssetDcm,amAmt,prAmt) = {
202200 let amtAsAmtX18 = t1(amAmt, amAssetDcm)
203201 let prAsAmtX18 = t1(prAmt, prAssetDcm)
204202 cpbi(prAsAmtX18, amtAsAmtX18)
205203 }
206204
207205
208206 func calcPrices (amAmt,prAmt,lpAmt) = {
209207 let cfg = gpc()
210208 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
211209 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
212210 let priceX18 = pcp(amtAsDcm, prAsDcm, amAmt, prAmt)
213211 let amAmtX18 = t1(amAmt, amtAsDcm)
214212 let prAmtX18 = t1(prAmt, prAsDcm)
215213 let lpAmtX18 = t1(lpAmt, scale8)
216214 let lpPrInAmAsX18 = cpbi(amAmtX18, lpAmtX18)
217215 let lpPrInPrAsX18 = cpbi(prAmtX18, lpAmtX18)
218216 [priceX18, lpPrInAmAsX18, lpPrInPrAsX18]
219217 }
220218
221219
222220 func calculatePrices (amAmt,prAmt,lpAmt) = {
223221 let p = calcPrices(amAmt, prAmt, lpAmt)
224222 [f1(p[0], scale8), f1(p[1], scale8), f1(p[2], scale8)]
225223 }
226224
227225
228226 func ego (txId58,pmtAssetId,pmtLpAmt,userAddress) = {
229227 let cfg = gpc()
230228 let lpId = cfg[idxLPAsId]
231229 let amId = cfg[idxAmAsId]
232230 let prId = cfg[idxPrAsId]
233231 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
234232 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
235233 let sts = cfg[idxPoolSt]
236234 let lpEmiss = valueOrErrorMessage(assetInfo(fromBase58String(lpId)), "Wrong LP id").quantity
237235 if ((lpId != pmtAssetId))
238236 then throw("Wrong pmt asset")
239237 else {
240238 let amBalance = getAccBalance(amId)
241239 let amBalanceX18 = t1(amBalance, amDcm)
242240 let prBalance = getAccBalance(prId)
243241 let prBalanceX18 = t1(prBalance, prDcm)
244242 let curPriceX18 = cpbi(prBalanceX18, amBalanceX18)
245243 let curPrice = f1(curPriceX18, scale8)
246244 let pmtLpAmtX18 = t1(pmtLpAmt, scale8)
247245 let lpEmissX18 = t1(lpEmiss, scale8)
248246 let outAmAmtX18 = fraction(amBalanceX18, pmtLpAmtX18, lpEmissX18)
249247 let outPrAmtX18 = fraction(prBalanceX18, pmtLpAmtX18, lpEmissX18)
250248 let outAmAmt = f1(outAmAmtX18, amDcm)
251249 let outPrAmt = f1(outPrAmtX18, prDcm)
252250 let state = if ((txId58 == ""))
253251 then nil
254252 else [ScriptTransfer(userAddress, outAmAmt, if ((amId == "WAVES"))
255253 then unit
256254 else fromBase58String(amId)), ScriptTransfer(userAddress, outPrAmt, if ((prId == "WAVES"))
257255 then unit
258256 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)]
259257 $Tuple10(outAmAmt, outPrAmt, amId, prId, amBalance, prBalance, lpEmiss, curPriceX18, sts, state)
260258 }
261259 }
262260
263261
264262 func epo (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,userAddress,isEval,emitLp,isOneAsset,pmtAmt,pmtId) = {
265263 let cfg = gpc()
266264 let lpId = fromBase58String(cfg[idxLPAsId])
267265 let amIdStr = cfg[idxAmAsId]
268266 let prIdStr = cfg[idxPrAsId]
269267 let inAmIdStr = cfg[idxIAmtAsId]
270268 let inPrIdStr = cfg[idxIPriceAsId]
271269 let amtDcm = parseIntValue(cfg[idxAmtAsDcm])
272270 let priceDcm = parseIntValue(cfg[idxPriceAsDcm])
273271 let sts = cfg[idxPoolSt]
274272 let lpEm = valueOrErrorMessage(assetInfo(lpId), "Wr lp as").quantity
275273 let amBalance = if (isEval)
276274 then getAccBalance(amIdStr)
277275 else if (if (isOneAsset)
278276 then (pmtId == amIdStr)
279277 else false)
280278 then (getAccBalance(amIdStr) - pmtAmt)
281279 else if (isOneAsset)
282280 then getAccBalance(amIdStr)
283281 else (getAccBalance(amIdStr) - inAmAmt)
284282 let prBalance = if (isEval)
285283 then getAccBalance(prIdStr)
286284 else if (if (isOneAsset)
287285 then (pmtId == prIdStr)
288286 else false)
289287 then (getAccBalance(prIdStr) - pmtAmt)
290288 else if (isOneAsset)
291289 then getAccBalance(prIdStr)
292290 else (getAccBalance(prIdStr) - inPrAmt)
293291 let inAmAssetAmtX18 = t1(inAmAmt, amtDcm)
294292 let inPrAssetAmtX18 = t1(inPrAmt, priceDcm)
295293 let userPriceX18 = cpbi(inPrAssetAmtX18, inAmAssetAmtX18)
296294 let amBalanceX18 = t1(amBalance, amtDcm)
297295 let prBalanceX18 = t1(prBalance, priceDcm)
298296 let r = if ((lpEm == 0))
299297 then {
300298 let curPriceX18 = zeroBigInt
301299 let slippageX18 = zeroBigInt
302300 let lpAmtX18 = pow((inAmAssetAmtX18 * inPrAssetAmtX18), 0, toBigInt(5), 1, 0, DOWN)
303301 $Tuple5(f1(lpAmtX18, scale8), f1(inAmAssetAmtX18, amtDcm), f1(inPrAssetAmtX18, priceDcm), cpbi((prBalanceX18 + inPrAssetAmtX18), (amBalanceX18 + inAmAssetAmtX18)), slippageX18)
304302 }
305303 else {
306304 let curPriceX18 = cpbi(prBalanceX18, amBalanceX18)
307305 let slippageRealX18 = fraction(abs((curPriceX18 - userPriceX18)), scale18, curPriceX18)
308306 let slippageX18 = t1(slippage, scale8)
309307 if (if ((curPriceX18 != zeroBigInt))
310308 then (slippageRealX18 > slippageX18)
311309 else false)
312310 then throw(((("Price slippage " + toString(slippageRealX18)) + " > ") + toString(slippageX18)))
313311 else {
314312 let lpEmissionX18 = t1(lpEm, scale8)
315313 let prViaAmX18 = fraction(inAmAssetAmtX18, curPriceX18, scale18)
316314 let amViaPrX18 = fraction(inPrAssetAmtX18, scale18, curPriceX18)
317315 let expectedAmts = if ((prViaAmX18 > inPrAssetAmtX18))
318316 then $Tuple2(amViaPrX18, inPrAssetAmtX18)
319317 else $Tuple2(inAmAssetAmtX18, prViaAmX18)
320318 let expAmtAssetAmtX18 = expectedAmts._1
321319 let expPriceAssetAmtX18 = expectedAmts._2
322320 let lpAmtX18 = fraction(lpEmissionX18, expPriceAssetAmtX18, prBalanceX18)
323321 $Tuple5(f1(lpAmtX18, scale8), f1(expAmtAssetAmtX18, amtDcm), f1(expPriceAssetAmtX18, priceDcm), curPriceX18, slippageX18)
324322 }
325323 }
326324 let calcLpAmt = r._1
327325 let calcAmAssetPmt = r._2
328326 let calcPrAssetPmt = r._3
329327 let curPrice = f1(r._4, scale8)
330328 let slippageCalc = f1(r._5, scale8)
331329 if ((0 >= calcLpAmt))
332330 then throw("LP <= 0")
333331 else {
334332 let emitLpAmt = if (!(emitLp))
335333 then 0
336334 else calcLpAmt
337335 let amDiff = (inAmAmt - calcAmAssetPmt)
338336 let prDiff = (inPrAmt - calcPrAssetPmt)
339- let $t01547615821 = if (if (isOneAsset)
337+ let $t01552015865 = if (if (isOneAsset)
340338 then (pmtId == amIdStr)
341339 else false)
342340 then $Tuple2(pmtAmt, 0)
343341 else if (if (isOneAsset)
344342 then (pmtId == prIdStr)
345343 else false)
346344 then $Tuple2(0, pmtAmt)
347345 else $Tuple2(calcAmAssetPmt, calcPrAssetPmt)
348- let writeAmAmt = $t01547615821._1
349- let writePrAmt = $t01547615821._2
346+ let writeAmAmt = $t01552015865._1
347+ let writePrAmt = $t01552015865._2
350348 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))]
351349 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEm, lpId, sts, commonState, amDiff, prDiff, inAmId, inPrId)
352350 }
353351 }
354352
355353
356354 func moa (order) = {
357355 let cfg = gpc()
358356 let amtAsId = cfg[idxAmAsId]
359357 let prAsId = cfg[idxPrAsId]
360358 let sts = parseIntValue(cfg[idxPoolSt])
361359 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
362360 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
363361 let accAmtAsBalance = getAccBalance(amtAsId)
364362 let accPrAsBalance = getAccBalance(prAsId)
365363 let curPriceX18 = if ((order.orderType == Buy))
366364 then pcp(amtAsDcm, prAsDcm, (accAmtAsBalance + order.amount), accPrAsBalance)
367365 else pcp(amtAsDcm, prAsDcm, (accAmtAsBalance - order.amount), accPrAsBalance)
368366 let curPrice = f1(curPriceX18, scale8)
369367 if (if (if (igs())
370368 then true
371369 else (sts == PoolMatcherDis))
372370 then true
373371 else (sts == PoolShutdown))
374372 then throw("Admin blocked")
375373 else {
376374 let orAmtAsset = order.assetPair.amountAsset
377375 let orAmtAsStr = if ((orAmtAsset == unit))
378376 then "WAVES"
379377 else toBase58String(value(orAmtAsset))
380378 let orPrAsset = order.assetPair.priceAsset
381379 let orPrAsStr = if ((orPrAsset == unit))
382380 then "WAVES"
383381 else toBase58String(value(orPrAsset))
384382 if (if ((orAmtAsStr != amtAsId))
385383 then true
386384 else (orPrAsStr != prAsId))
387385 then throw("Wr assets")
388386 else {
389387 let orderPrice = order.price
390388 let priceDcm = fraction(scale8, prAsDcm, amtAsDcm)
391389 let castOrderPrice = ts(orderPrice, scale8, priceDcm)
392390 let isOrderPriceValid = if ((order.orderType == Buy))
393391 then (curPrice >= castOrderPrice)
394392 else (castOrderPrice >= curPrice)
395393 true
396394 }
397395 }
398396 }
399397
400398
401399 func cg (i) = if ((size(i.payments) != 1))
402400 then throw("1 pmnt exp")
403401 else {
404402 let pmt = value(i.payments[0])
405403 let pmtAssetId = value(pmt.assetId)
406404 let pmtAmt = pmt.amount
407405 let r = ego(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
408406 let outAmAmt = r._1
409407 let outPrAmt = r._2
410408 let sts = parseIntValue(r._9)
411409 let state = r._10
412410 if (if (igs())
413411 then true
414412 else (sts == PoolShutdown))
415413 then throw(("Admin blocked: " + toString(sts)))
416414 else $Tuple5(outAmAmt, outPrAmt, pmtAmt, pmtAssetId, state)
417415 }
418416
419417
420418 func cp (caller,txId,amAsPmt,prAsPmt,slippage,emitLp,isOneAsset,pmtAmt,pmtId) = {
421419 let r = epo(txId, slippage, value(amAsPmt).amount, value(amAsPmt).assetId, value(prAsPmt).amount, value(prAsPmt).assetId, caller, false, emitLp, isOneAsset, pmtAmt, pmtId)
422420 let sts = parseIntValue(r._8)
423421 if (if (if (igs())
424422 then true
425423 else (sts == PoolPutDis))
426424 then true
427425 else (sts == PoolShutdown))
428426 then throw(("Blocked:" + toString(sts)))
429427 else r
430428 }
431429
432430
433431 func m () = match getString(mpk()) {
434432 case s: String =>
435433 fromBase58String(s)
436434 case _: Unit =>
437435 unit
438436 case _ =>
439437 throw("Match error")
440438 }
441439
442440
443441 func pm () = match getString(pmpk()) {
444442 case s: String =>
445443 fromBase58String(s)
446444 case _: Unit =>
447445 unit
448446 case _ =>
449447 throw("Match error")
450448 }
451449
452450
453451 let pd = throw("Permission denied")
454452
455453 func mm (i) = match m() {
456454 case pk: ByteVector =>
457455 if ((i.callerPublicKey == pk))
458456 then true
459457 else pd
460458 case _: Unit =>
461459 if ((i.caller == this))
462460 then true
463461 else pd
464462 case _ =>
465463 throw("Match error")
466464 }
467465
468466
469467 @Callable(i)
470468 func constructor (fc) = {
471469 let c = mm(i)
472470 if ((c == c))
473471 then [StringEntry(fc(), fc)]
474472 else throw("Strict value is not equal to itself.")
475473 }
476474
477475
478476
479477 @Callable(i)
480478 func setManager (pendingManagerPublicKey) = {
481479 let c = mm(i)
482480 if ((c == c))
483481 then {
484482 let cm = fromBase58String(pendingManagerPublicKey)
485483 if ((cm == cm))
486484 then [StringEntry(pmpk(), pendingManagerPublicKey)]
487485 else throw("Strict value is not equal to itself.")
488486 }
489487 else throw("Strict value is not equal to itself.")
490488 }
491489
492490
493491
494492 @Callable(i)
495493 func confirmManager () = {
496494 let p = pm()
497495 let hpm = if (isDefined(p))
498496 then true
499497 else throw("No pending manager")
500498 if ((hpm == hpm))
501499 then {
502500 let cpm = if ((i.callerPublicKey == value(p)))
503501 then true
504502 else throw("You are not pending manager")
505503 if ((cpm == cpm))
506504 then [StringEntry(mpk(), toBase58String(value(p))), DeleteEntry(pmpk())]
507505 else throw("Strict value is not equal to itself.")
508506 }
509507 else throw("Strict value is not equal to itself.")
510508 }
511509
512510
513511
514512 @Callable(i)
515513 func put (slip,autoStake) = {
516514 let factCfg = gfc()
517515 let stakingCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactStakCntr]), "Wr st addr")
518516 let slipCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactSlippCntr]), "Wr sl addr")
519517 if ((0 > slip))
520518 then throw("Wrong slippage")
521519 else if ((size(i.payments) != 2))
522520 then throw("2 pmnts expd")
523521 else {
524522 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, "")
525523 let emitLpAmt = e._2
526524 let lpAssetId = e._7
527525 let state = e._9
528526 let amDiff = e._10
529527 let prDiff = e._11
530528 let amId = e._12
531529 let prId = e._13
532530 let r = invoke(fca, "emit", [emitLpAmt], nil)
533531 if ((r == r))
534532 then {
535533 let el = match r {
536534 case legacy: Address =>
537535 invoke(legacy, "emit", [emitLpAmt], nil)
538536 case _ =>
539537 unit
540538 }
541539 if ((el == el))
542540 then {
543541 let sa = if ((amDiff > 0))
544542 then invoke(slipCntr, "put", nil, [AttachedPayment(amId, amDiff)])
545543 else nil
546544 if ((sa == sa))
547545 then {
548546 let sp = if ((prDiff > 0))
549547 then invoke(slipCntr, "put", nil, [AttachedPayment(prId, prDiff)])
550548 else nil
551549 if ((sp == sp))
552550 then {
553551 let lpTrnsfr = if (autoStake)
554552 then {
555553 let ss = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
556554 if ((ss == ss))
557555 then nil
558556 else throw("Strict value is not equal to itself.")
559557 }
560558 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
561559 (state ++ lpTrnsfr)
562560 }
563561 else throw("Strict value is not equal to itself.")
564562 }
565563 else throw("Strict value is not equal to itself.")
566564 }
567565 else throw("Strict value is not equal to itself.")
568566 }
569567 else throw("Strict value is not equal to itself.")
570568 }
571569 }
572570
573571
574572
575573 @Callable(i)
576574 func putOneTkn (amAssetPart,prAssetPart,outLp,slippage,autoStake) = {
577575 let cfg = gfc()
578576 let stakingCntr = valueOrErrorMessage(addressFromString(cfg[idxFactStakCntr]), "Wr st addr")
579577 let slipCntr = valueOrErrorMessage(addressFromString(cfg[idxFactSlippCntr]), "Wr sl addr")
580578 let gwxCntr = valueOrErrorMessage(addressFromString(cfg[idxFactGwxRewCntr]), "Wr gwx addr")
581579 let poolCfg = gpc()
582580 let amId = poolCfg[idxAmAsId]
583581 let prId = poolCfg[idxPrAsId]
584582 let amDcm = parseIntValue(poolCfg[idxAmtAsDcm])
585583 let prDcm = parseIntValue(poolCfg[idxPriceAsDcm])
586584 let addon = valueOrElse(getString(this, ada()), "")
587585 let userAddress = if ((addon == toString(i.caller)))
588586 then i.originCaller
589587 else i.caller
590588 let addonContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(ada()), "no addons")), "addon address in not valid")
591589 let check = reentrantInvoke(addonContract, "ensureCanGetOrPutOneTkn", [toString(userAddress)], nil)
592590 if ((check == check))
593591 then if (if (if (if ((0 >= slippage))
594592 then true
595593 else (0 >= amAssetPart))
596594 then true
597595 else (0 >= prAssetPart))
598596 then true
599597 else (0 >= outLp))
600598 then throw("Wrong params")
601599 else if ((size(i.payments) != 1))
602600 then throw("1 pmnt expd")
603601 else {
604602 let pmt = value(i.payments[0])
605603 let pmtAssetId = toBase58String(value(pmt.assetId))
606604 let pmtAmt = pmt.amount
607605 if (if (if ((amAssetPart > pmtAmt))
608606 then true
609607 else (prAssetPart > pmtAmt))
610608 then true
611609 else (10000000 > pmtAmt))
612610 then throw("Wrong pmt amt")
613611 else {
614612 let amBalance = getAccBalance(amId)
615613 let prBalance = getAccBalance(prId)
616- let $t02478225162 = if ((pmtAssetId == amId))
614+ let $t02482625206 = if ((pmtAssetId == amId))
617615 then $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
618616 else if ((pmtAssetId == prId))
619617 then $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
620618 else throw("wrong pmtAssetId")
621- let amBalanceNow = $t02478225162._1
622- let prBalanceNow = $t02478225162._2
623- let virtSwapInAm = $t02478225162._3
624- let virtSwapOutPr = $t02478225162._4
625- let virtSwapInPr = $t02478225162._5
626- let virtSwapOutAm = $t02478225162._6
619+ let amBalanceNow = $t02482625206._1
620+ let prBalanceNow = $t02482625206._2
621+ let virtSwapInAm = $t02482625206._3
622+ let virtSwapOutPr = $t02482625206._4
623+ let virtSwapInPr = $t02482625206._5
624+ let virtSwapOutAm = $t02482625206._6
627625 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
628626 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
629627 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
630628 if ((D0vsD1 == D0vsD1))
631629 then {
632630 let estPut = cp(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), slippage, true, true, pmtAmt, pmtAssetId)
633631 let estimLP = estPut._2
634632 let lpAssetId = estPut._7
635633 let state = estPut._9
636634 let amDiff = estPut._10
637635 let prDiff = estPut._11
638636 let lpCalcRes = vad(toBigInt(estimLP), toBigInt(outLp), toBigInt(slippage))
639637 let emitLpAmt = toInt(lpCalcRes._2)
640638 let e = invoke(fca, "emit", [emitLpAmt], nil)
641639 if ((e == e))
642640 then {
643641 let el = match e {
644642 case legacy: Address =>
645643 invoke(legacy, "emit", [emitLpAmt], nil)
646644 case _ =>
647645 unit
648646 }
649647 if ((el == el))
650648 then {
651649 let sa = if ((amDiff > 0))
652650 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
653651 else nil
654652 if ((sa == sa))
655653 then {
656654 let sp = if ((prDiff > 0))
657655 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
658656 else nil
659657 if ((sp == sp))
660658 then {
661659 let lpTrnsfr = if (autoStake)
662660 then {
663661 let ss = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
664662 if ((ss == ss))
665663 then nil
666664 else throw("Strict value is not equal to itself.")
667665 }
668666 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
669667 (state ++ lpTrnsfr)
670668 }
671669 else throw("Strict value is not equal to itself.")
672670 }
673671 else throw("Strict value is not equal to itself.")
674672 }
675673 else throw("Strict value is not equal to itself.")
676674 }
677675 else throw("Strict value is not equal to itself.")
678676 }
679677 else throw("Strict value is not equal to itself.")
680678 }
681679 }
682680 else throw("Strict value is not equal to itself.")
683681 }
684682
685683
686684
687685 @Callable(i)
688686 func putForFree (maxSlpg) = if ((0 > maxSlpg))
689687 then throw("Wrong slpg")
690688 else if ((size(i.payments) != 2))
691689 then throw("2 pmnts expd")
692690 else {
693691 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, "")
694692 estPut._9
695693 }
696694
697695
698696
699697 @Callable(i)
700698 func get () = {
701699 let r = cg(i)
702700 let outAmtAmt = r._1
703701 let outPrAmt = r._2
704702 let pmtAmt = r._3
705703 let pmtAssetId = r._4
706704 let state = r._5
707705 let b = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
708706 if ((b == b))
709707 then state
710708 else throw("Strict value is not equal to itself.")
711709 }
712710
713711
714712
715713 @Callable(i)
716714 func getOneTkn (exchResult,notUsed,outAmount,outAssetId,slippage) = if ((size(i.payments) != 1))
717715 then throw("1 pmnt expd")
718716 else {
719717 let cfg = gpc()
720718 let lpId = cfg[idxLPAsId]
721719 let amId = cfg[idxAmAsId]
722720 let prId = cfg[idxPrAsId]
723721 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
724722 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
725723 let sts = cfg[idxPoolSt]
726724 let factCfg = gfc()
727725 let gwxCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactGwxRewCntr]), "Wr sl addr")
728726 let pmt = value(i.payments[0])
729727 let addon = valueOrElse(getString(this, ada()), "")
730728 let userAddress = if ((addon == toString(i.caller)))
731729 then i.originCaller
732730 else i.caller
733731 let txId58 = toBase58String(i.transactionId)
734732 let pmtAssetId = value(pmt.assetId)
735733 let pmtAmt = pmt.amount
736734 let addonContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(ada()), "no addons")), "addon address in not valid")
737735 let check = reentrantInvoke(addonContract, "ensureCanGetOrPutOneTkn", [toString(userAddress)], nil)
738736 if ((check == check))
739737 then if ((1000000000 > pmtAmt))
740738 then throw("Min pmt 10 LP")
741739 else if (if (if ((0 > slippage))
742740 then true
743741 else (0 > exchResult))
744742 then true
745743 else (0 > outAmount))
746744 then throw("Wrong params")
747745 else if ((lpId != toBase58String(pmtAssetId)))
748746 then throw("Wrong LP")
749747 else {
750748 let r = ego(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
751749 let estimAmAmt = r._1
752750 let estimPrAmt = r._2
753751 let amBalance = getAccBalance(amId)
754752 let prBalance = getAccBalance(prId)
755- let $t03019830655 = if ((outAssetId == amId))
753+ let $t03024230699 = if ((outAssetId == amId))
756754 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
757755 else if ((outAssetId == prId))
758756 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
759757 else throw("wrong outAssetId")
760- let amBalanceNow = $t03019830655._1
761- let prBalanceNow = $t03019830655._2
762- let virtSwapInAm = $t03019830655._3
763- let virtSwapOutPr = $t03019830655._4
764- let virtSwapInPr = $t03019830655._5
765- let virtSwapOutAm = $t03019830655._6
766- let totalGet = $t03019830655._7
758+ let amBalanceNow = $t03024230699._1
759+ let prBalanceNow = $t03024230699._2
760+ let virtSwapInAm = $t03024230699._3
761+ let virtSwapOutPr = $t03024230699._4
762+ let virtSwapInPr = $t03024230699._5
763+ let virtSwapOutAm = $t03024230699._6
764+ let totalGet = $t03024230699._7
767765 if (if ((0 > virtSwapInAm))
768766 then true
769767 else (0 > virtSwapInPr))
770768 then throw("Wrong calc")
771769 else {
772770 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
773771 let D1 = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
774772 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
775773 if ((D0vsD1 == D0vsD1))
776774 then {
777775 let finalRes = vad(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
778776 if ((finalRes == finalRes))
779777 then {
780- let $t03136031464 = if ((outAssetId == amId))
778+ let $t03140431508 = if ((outAssetId == amId))
781779 then $Tuple2(toInt(finalRes._2), 0)
782780 else $Tuple2(0, toInt(finalRes._2))
783- let outAm = $t03136031464._1
784- let outPr = $t03136031464._2
781+ let outAm = $t03140431508._1
782+ let outPr = $t03140431508._2
785783 let curPrX18 = cpbi(t1(prBalance, prDcm), t1(amBalance, amDcm))
786784 let curPr = f1(curPrX18, scale8)
787785 let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
788786 then unit
789787 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)]
790788 if ((state == state))
791789 then {
792790 let burn = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
793791 if ((burn == burn))
794792 then state
795793 else throw("Strict value is not equal to itself.")
796794 }
797795 else throw("Strict value is not equal to itself.")
798796 }
799797 else throw("Strict value is not equal to itself.")
800798 }
801799 else throw("Strict value is not equal to itself.")
802800 }
803801 }
804802 else throw("Strict value is not equal to itself.")
805803 }
806804
807805
808806
809807 @Callable(i)
810808 func getNoLess (noLessThenAmtAsset,noLessThenPriceAsset) = {
811809 let r = cg(i)
812810 let outAmAmt = r._1
813811 let outPrAmt = r._2
814812 let pmtAmt = r._3
815813 let pmtAssetId = r._4
816814 let state = r._5
817815 if ((noLessThenAmtAsset > outAmAmt))
818816 then throw(((("Failed: " + toString(outAmAmt)) + " < ") + toString(noLessThenAmtAsset)))
819817 else if ((noLessThenPriceAsset > outPrAmt))
820818 then throw(((("Failed: " + toString(outPrAmt)) + " < ") + toString(noLessThenPriceAsset)))
821819 else {
822820 let burnLPAssetOnFactory = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
823821 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
824822 then state
825823 else throw("Strict value is not equal to itself.")
826824 }
827825 }
828826
829827
830828
831829 @Callable(i)
832830 func unstakeAndGet (amount) = {
833831 let checkPayments = if ((size(i.payments) != 0))
834832 then throw("No pmnts expd")
835833 else true
836834 if ((checkPayments == checkPayments))
837835 then {
838836 let cfg = gpc()
839837 let factoryCfg = gfc()
840838 let lpAssetId = fromBase58String(cfg[idxLPAsId])
841839 let staking = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
842840 let unstakeInv = invoke(staking, "unstake", [toBase58String(lpAssetId), amount], nil)
843841 if ((unstakeInv == unstakeInv))
844842 then {
845843 let r = ego(toBase58String(i.transactionId), toBase58String(lpAssetId), amount, i.caller)
846844 let sts = parseIntValue(r._9)
847845 let state = r._10
848846 let v = if (if (igs())
849847 then true
850848 else (sts == PoolShutdown))
851849 then throw(("Blocked: " + toString(sts)))
852850 else true
853851 if ((v == v))
854852 then {
855853 let burnA = invoke(fca, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
856854 if ((burnA == burnA))
857855 then state
858856 else throw("Strict value is not equal to itself.")
859857 }
860858 else throw("Strict value is not equal to itself.")
861859 }
862860 else throw("Strict value is not equal to itself.")
863861 }
864862 else throw("Strict value is not equal to itself.")
865863 }
866864
867865
868866
869867 @Callable(i)
870868 func activate (amtAsStr,prAsStr) = if ((toString(i.caller) != toString(fca)))
871869 then throw("denied")
872870 else $Tuple2([StringEntry(aa(), amtAsStr), StringEntry(pa(), prAsStr)], "success")
873871
874872
875873
876874 @Callable(i)
877875 func setS (k,v) = if ((toString(i.caller) != strf(this, ada())))
878876 then pd
879877 else [StringEntry(k, v)]
880878
881879
882880
883881 @Callable(i)
884882 func setI (k,v) = if ((toString(i.caller) != strf(this, ada())))
885883 then pd
886884 else [IntegerEntry(k, v)]
887885
888886
889887
890888 @Callable(i)
891889 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, gpc())
892890
893891
894892
895893 @Callable(i)
896894 func getAccBalanceWrapperREADONLY (assetId) = $Tuple2(nil, getAccBalance(assetId))
897895
898896
899897
900898 @Callable(i)
901899 func calcPricesWrapperREADONLY (amAmt,prAmt,lpAmt) = {
902900 let pr = calcPrices(amAmt, prAmt, lpAmt)
903901 $Tuple2(nil, [toString(pr[0]), toString(pr[1]), toString(pr[2])])
904902 }
905903
906904
907905
908906 @Callable(i)
909907 func fromX18WrapperREADONLY (val,resScaleMult) = $Tuple2(nil, f1(parseBigIntValue(val), resScaleMult))
910908
911909
912910
913911 @Callable(i)
914912 func toX18WrapperREADONLY (origVal,origScaleMult) = $Tuple2(nil, toString(t1(origVal, origScaleMult)))
915913
916914
917915
918916 @Callable(i)
919917 func calcPriceBigIntWrapperREADONLY (prAmtX18,amAmtX18) = $Tuple2(nil, toString(cpbi(parseBigIntValue(prAmtX18), parseBigIntValue(amAmtX18))))
920918
921919
922920
923921 @Callable(i)
924922 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, ""))
925923
926924
927925
928926 @Callable(i)
929927 func estimateGetOperationWrapperREADONLY (txId58,pmtAsId,pmtLpAmt,usrAddr) = {
930928 let r = ego(txId58, pmtAsId, pmtLpAmt, addressFromStringValue(usrAddr))
931929 $Tuple2(nil, $Tuple10(r._1, r._2, r._3, r._4, r._5, r._6, r._7, toString(r._8), r._9, r._10))
932930 }
933931
934932
935933 @Verifier(tx)
936934 func verify () = match tx {
937935 case order: Order =>
938936 let mtchPub = mp()
939937 let orV = moa(order)
940938 let sndrV = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
941939 let mtchV = sigVerify(order.bodyBytes, order.proofs[1], mtchPub)
942940 if (if (if (orV)
943941 then sndrV
944942 else false)
945943 then mtchV
946944 else false)
947945 then true
948946 else toe(orV, sndrV, mtchV)
949947 case _ =>
950948 let targetPublicKey = match m() {
951949 case pk: ByteVector =>
952950 pk
953951 case _: Unit =>
954952 tx.senderPublicKey
955953 case _ =>
956954 throw("Match error")
957955 }
958956 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
959957 }
960958

github/deemru/w8io/026f985 
124.22 ms