tx · 4MTC5ZxvRo4oqDpLsiALQX3ixB41kpBUAfJa7fTKxMP5

3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT:  -0.01400000 Waves

2022.01.20 12:33 [1887069] smart account 3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT > SELF 0.00000000 Waves

{ "type": 13, "id": "4MTC5ZxvRo4oqDpLsiALQX3ixB41kpBUAfJa7fTKxMP5", "fee": 1400000, "feeAssetId": null, "timestamp": 1642671233755, "version": 1, "sender": "3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT", "senderPublicKey": "D1BL65meykxFZTCuq7jq9HSGLLnWvQamQPUNrguW5w39", "proofs": [ "3BGD6fcMBZGcpH2ifyhZ89TCzYGccNuc8TwTnnuuydjovAARox1fktyQa5p3TqGqRpT36sSb2NUxMVUdGsusMQxT" ], "script": "base64:AAIFAAAAAAAAAG0IAhIECgIICBIECgIBBBIHCgUBAQEBBBIDCgEBEgASBwoFAQEBCAESBAoCAQESAwoBARIECgIICBIAEgMKAQgSBQoDAQEBEgQKAggBEgQKAgEBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEIAAAARgAAAAAGc2NhbGU4AAAAAAAF9eEAAAAAAAxzY2FsZThCaWdJbnQJAAE2AAAAAQAAAAAABfXhAAAAAAAHc2NhbGUxOAkAATYAAAABAA3gtrOnZAAAAAAAAAp6ZXJvQmlnSW50CQABNgAAAAEAAAAAAAAAAAAAAAAACW9uZUJpZ0ludAkAATYAAAABAAAAAAAAAAABAAAAAApzbGlwcGFnZTRECQABNgAAAAEJAABlAAAAAgUAAAAGc2NhbGU4CQAAaQAAAAIJAABoAAAAAgUAAAAGc2NhbGU4AAAAAAAAAAABBQAAAAZzY2FsZTgAAAAABUFtdWx0AgAAAAMxMDAAAAAABURjb252AgAAAAExAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAAApQb29sQWN0aXZlAAAAAAAAAAABAAAAAApQb29sUHV0RGlzAAAAAAAAAAAC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AAAB210Y2hQdWIJAQAAABNnZXRNYXRjaGVyUHViT3JGYWlsAAAAAAQAAAADb3JWCQEAAAAbdmFsaWRhdGVNYXRjaGVyT3JkZXJBbGxvd2VkAAAAAQUAAAAFb3JkZXIEAAAABXNuZHJWCQAB9AAAAAMIBQAAAAVvcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAABW9yZGVyAAAABnByb29mcwAAAAAAAAAAAAgFAAAABW9yZGVyAAAAD3NlbmRlclB1YmxpY0tleQQAAAAFbXRjaFYJAAH0AAAAAwgFAAAABW9yZGVyAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAAFb3JkZXIAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAdtdGNoUHViAwMDBQAAAANvclYFAAAABXNuZHJWBwUAAAAFbXRjaFYHBgkBAAAAD3Rocm93T3JkZXJFcnJvcgAAAAMFAAAAA29yVgUAAAAFc25kclYFAAAABW10Y2hWBAAAAAVhZG1pbgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzCQEAAAAMa2V5TWFuUHViS2V5AAAAAAUAAAAFRU1QVFkDCQAAAAAAAAIFAAAABWFkbWluBQAAAAVFTVBUWQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAEFAAAABWFkbWluNRNdGQ==", "chainId": 84, "height": 1887069, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6qWL7uUXnQN5SwPmYaRFuMJd63zZPjFs4e9DG3WzSC4q Next: HoBkWVKfhCY6CT6o9pJa5Bh7BoXNyyzXueiTkoJ9xrXH Diff:
OldNewDifferences
9292
9393
9494 func keyAmplificator () = "%s__amp"
95+
96+
97+func keyAddonAddr () = "%s__addonAddr"
9598
9699
97100 func keyFactoryConfig () = "%s__factoryConfig"
323326 else calcLpAmt
324327 let amDiff = (inAmAmt - calcAmAssetPmt)
325328 let prDiff = (inPrAmt - calcPrAssetPmt)
326- let $t01582016165 = if (if (isOneAsset)
329+ let $t01585816203 = if (if (isOneAsset)
327330 then (pmtId == amIdStr)
328331 else false)
329332 then $Tuple2(pmtAmt, 0)
332335 else false)
333336 then $Tuple2(0, pmtAmt)
334337 else $Tuple2(calcAmAssetPmt, calcPrAssetPmt)
335- let writeAmAmt = $t01582016165._1
336- let writePrAmt = $t01582016165._2
338+ let writeAmAmt = $t01585816203._1
339+ let writePrAmt = $t01585816203._2
337340 let commonState = [IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice), StringEntry(keyPutActionByUser(userAddress, txId58), dataPutActionInfo(writeAmAmt, writePrAmt, emitLpAmt, curPrice, slippage, slippageCalc, height, lastBlock.timestamp, amDiff, prDiff))]
338341 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEm, lpId, sts, commonState, amDiff, prDiff, inAmId, inPrId)
339342 }
509512 else {
510513 let amBalance = getAccBalance(amId)
511514 let prBalance = getAccBalance(prId)
512- let $t02390624286 = if ((pmtAssetId == amId))
515+ let $t02394424324 = if ((pmtAssetId == amId))
513516 then $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
514517 else if ((pmtAssetId == prId))
515518 then $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
516519 else throw("wrong pmtAssetId")
517- let amBalanceNow = $t02390624286._1
518- let prBalanceNow = $t02390624286._2
519- let virtSwapInAm = $t02390624286._3
520- let virtSwapOutPr = $t02390624286._4
521- let virtSwapInPr = $t02390624286._5
522- let virtSwapOutAm = $t02390624286._6
520+ let amBalanceNow = $t02394424324._1
521+ let prBalanceNow = $t02394424324._2
522+ let virtSwapInAm = $t02394424324._3
523+ let virtSwapOutPr = $t02394424324._4
524+ let virtSwapInPr = $t02394424324._5
525+ let virtSwapOutAm = $t02394424324._6
523526 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
524527 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
525528 let D0vsD1 = validateD(parseBigIntValue(asString(D1)), parseBigIntValue(asString(D0)), slippage4D)
611614 let fcfg = getFactoryConfig()
612615 let gwxCntr = valueOrErrorMessage(addressFromString(fcfg[idxFactGwxRewCntr]), "Wr sl addr")
613616 let pmt = value(i.payments[0])
614- let userAddress = i.caller
617+ let addon = valueOrElse(getString(this, keyAddonAddr()), "")
618+ let userAddress = if ((addon == toString(i.caller)))
619+ then i.originCaller
620+ else i.caller
615621 let txId58 = toBase58String(i.transactionId)
616622 let pmtAssetId = value(pmt.assetId)
617623 let pmtAmt = pmt.amount
618624 if ((1000000000 > pmtAmt))
619- then throw("Min payment is 10 LP")
625+ then throw("Min pmt 10 LP")
620626 else if (if (if ((0 > slippage))
621627 then true
622628 else (0 > exchResult))
631637 let estimPrAmt = r._2
632638 let amBalance = getAccBalance(amId)
633639 let prBalance = getAccBalance(prId)
634- let $t02878029237 = if ((outAssetId == amId))
640+ let $t02909129548 = if ((outAssetId == amId))
635641 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
636642 else if ((outAssetId == prId))
637643 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
638644 else throw("wrong outAssetId")
639- let amBalanceNow = $t02878029237._1
640- let prBalanceNow = $t02878029237._2
641- let virtSwapInAm = $t02878029237._3
642- let virtSwapOutPr = $t02878029237._4
643- let virtSwapInPr = $t02878029237._5
644- let virtSwapOutAm = $t02878029237._6
645- let totalGet = $t02878029237._7
645+ let amBalanceNow = $t02909129548._1
646+ let prBalanceNow = $t02909129548._2
647+ let virtSwapInAm = $t02909129548._3
648+ let virtSwapOutPr = $t02909129548._4
649+ let virtSwapInPr = $t02909129548._5
650+ let virtSwapOutAm = $t02909129548._6
651+ let totalGet = $t02909129548._7
646652 if (if ((0 > virtSwapInAm))
647653 then true
648654 else (0 > virtSwapInPr))
653659 let D0vsD1 = validateD(parseBigIntValue(asString(D1)), parseBigIntValue(asString(D0)), slippage4D)
654660 if ((D0vsD1 == D0vsD1))
655661 then {
656- let amount2Return = validateAbsDiff(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
657- if ((amount2Return == amount2Return))
662+ let finalRes = validateAbsDiff(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
663+ if ((finalRes == finalRes))
658664 then {
659- let $t02997630090 = if ((outAssetId == amId))
660- then $Tuple2(toInt(amount2Return._2), 0)
661- else $Tuple2(0, toInt(amount2Return._2))
662- let outAm = $t02997630090._1
663- let outPr = $t02997630090._2
664- let curPriceX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
665- let curPrice = fromX18(curPriceX18, scale8)
665+ let $t03028230386 = if ((outAssetId == amId))
666+ then $Tuple2(toInt(finalRes._2), 0)
667+ else $Tuple2(0, toInt(finalRes._2))
668+ let outAm = $t03028230386._1
669+ let outPr = $t03028230386._2
670+ let curPrX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
671+ let curPr = fromX18(curPrX18, scale8)
666672 let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
667673 then unit
668- else fromBase58String(outAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(outAm, outPr, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
674+ else fromBase58String(outAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(outAm, outPr, pmtAmt, curPr, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPr), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPr)]
669675 if ((state == state))
670676 then {
671677 let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
730736 else true
731737 if ((v == v))
732738 then {
733- let burnLPAssetOnFactory = invoke(factoryContract, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
734- if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
739+ let burnA = invoke(factoryContract, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
740+ if ((burnA == burnA))
735741 then state
736742 else throw("Strict value is not equal to itself.")
737743 }
745751
746752
747753 @Callable(i)
748-func activate (amtAssetStr,priceAssetStr) = if ((toString(i.caller) != toString(factoryContract)))
754+func activate (amtAsStr,prAsStr) = if ((toString(i.caller) != toString(factoryContract)))
749755 then throw("denied")
750- else $Tuple2([StringEntry(keyAmtAsset(), amtAssetStr), StringEntry(keyPriceAsset(), priceAssetStr)], "success")
756+ else $Tuple2([StringEntry(keyAmtAsset(), amtAsStr), StringEntry(keyPriceAsset(), prAsStr)], "success")
751757
752758
753759
763769
764770 @Callable(i)
765771 func calcPricesWrapperREADONLY (amAmt,prAmt,lpAmt) = {
766- let prices = calcPrices(amAmt, prAmt, lpAmt)
767- $Tuple2(nil, [toString(prices[0]), toString(prices[1]), toString(prices[2])])
772+ let pr = calcPrices(amAmt, prAmt, lpAmt)
773+ $Tuple2(nil, [toString(pr[0]), toString(pr[1]), toString(pr[2])])
768774 }
769775
770776
771777
772778 @Callable(i)
773-func fromX18WrapperREADONLY (val,resultScaleMult) = $Tuple2(nil, fromX18(parseBigIntValue(val), resultScaleMult))
779+func fromX18WrapperREADONLY (val,resScaleMult) = $Tuple2(nil, fromX18(parseBigIntValue(val), resScaleMult))
774780
775781
776782
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 func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), scale18, toBigInt(origScaleMult))
5757
5858
5959 func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), scale18))
6060
6161
6262 func toScale (amt,resScale,curScale) = fraction(amt, resScale, curScale)
6363
6464
6565 func abs (val) = if ((zeroBigInt > val))
6666 then -(val)
6767 else val
6868
6969
7070 func keyFactCntr () = "%s__factoryContract"
7171
7272
7373 func keyManPubKey () = "%s__managerPublicKey"
7474
7575
7676 func keyPriceLast () = "%s%s__price__last"
7777
7878
7979 func keyPriceHistory (h,t) = makeString(["%s%s%d%d__price__history", toString(h), toString(t)], SEP)
8080
8181
8282 func keyPutActionByUser (ua,txId) = ((("%s%s%s__P__" + ua) + "__") + txId)
8383
8484
8585 func keyGetActionByUser (ua,txId) = ((("%s%s%s__G__" + ua) + "__") + txId)
8686
8787
8888 func keyAmtAsset () = "%s__amountAsset"
8989
9090
9191 func keyPriceAsset () = "%s__priceAsset"
9292
9393
9494 func keyAmplificator () = "%s__amp"
95+
96+
97+func keyAddonAddr () = "%s__addonAddr"
9598
9699
97100 func keyFactoryConfig () = "%s__factoryConfig"
98101
99102
100103 func keyMatcherPub () = "%s%s__matcher__publicKey"
101104
102105
103106 func keyPoolConfig (iAmtAs,iPrAs) = (((("%d%d%s__" + iAmtAs) + "__") + iPrAs) + "__config")
104107
105108
106109 func keyMappingsBaseAsset2internalId (bAStr) = ("%s%s%s__mappings__baseAsset2internalId__" + bAStr)
107110
108111
109112 func keyAllPoolsShutdown () = "%s__shutdown"
110113
111114
112115 func keyPoolWeight (p) = ("%s%s__poolWeight__" + p)
113116
114117
115118 func throwOrderError (orV,sendrV,matchV) = throw(((((("Failed: ordValid=" + toString(orV)) + " sndrValid=") + toString(sendrV)) + " mtchrValid=") + toString(matchV)))
116119
117120
118121 func asString (val) = match val {
119122 case valStr: String =>
120123 valStr
121124 case _ =>
122125 throw("fail cast to String")
123126 }
124127
125128
126129 func getStringOrFail (addr,key) = valueOrErrorMessage(getString(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
127130
128131
129132 func getIntOrFail (addr,key) = valueOrErrorMessage(getInteger(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
130133
131134
132135 let factoryContract = addressFromStringValue(getStringOrFail(this, keyFactCntr()))
133136
134137 let A = getStringOrFail(this, keyAmplificator())
135138
136139 func isGlobalShutdown () = valueOrElse(getBoolean(factoryContract, keyAllPoolsShutdown()), false)
137140
138141
139142 func getMatcherPubOrFail () = fromBase58String(getStringOrFail(factoryContract, keyMatcherPub()))
140143
141144
142145 func getPoolConfig () = {
143146 let amtAs = getStringOrFail(this, keyAmtAsset())
144147 let priceAs = getStringOrFail(this, keyPriceAsset())
145148 let iPriceAs = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(priceAs))
146149 let iAmtAs = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(amtAs))
147150 split(getStringOrFail(factoryContract, keyPoolConfig(toString(iAmtAs), toString(iPriceAs))), SEP)
148151 }
149152
150153
151154 func getFactoryConfig () = split(getStringOrFail(factoryContract, keyFactoryConfig()), SEP)
152155
153156
154157 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)
155158
156159
157160 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)
158161
159162
160163 func getAccBalance (assetId) = if ((assetId == "WAVES"))
161164 then wavesBalance(this).available
162165 else assetBalance(this, fromBase58String(assetId))
163166
164167
165168 func calcPriceBigInt (prAmtX18,amAmtX18) = fraction(prAmtX18, scale18, amAmtX18)
166169
167170
168171 func validateAbsDiff (A1,A2,slippage) = {
169172 let diff = fraction((A1 - A2), scale8BigInt, A2)
170173 let pass = ((slippage - abs(diff)) > zeroBigInt)
171174 if (!(pass))
172175 then throw(("Big slpg: " + toString(diff)))
173176 else $Tuple2(pass, min([A1, A2]))
174177 }
175178
176179
177180 func validateD (D1,D0,slpg) = {
178181 let diff = fraction(D0, scale8BigInt, D1)
179182 let fail = (slpg > diff)
180183 if (if (fail)
181184 then true
182185 else (D0 > D1))
183186 then throw(((((((toString(D0) + " ") + toString(D1)) + " ") + toString(diff)) + " ") + toString(slpg)))
184187 else fail
185188 }
186189
187190
188191 func privateCalcPrice (amAssetDcm,prAssetDcm,amAmt,prAmt) = {
189192 let amtAsAmtX18 = toX18(amAmt, amAssetDcm)
190193 let prAsAmtX18 = toX18(prAmt, prAssetDcm)
191194 calcPriceBigInt(prAsAmtX18, amtAsAmtX18)
192195 }
193196
194197
195198 func calcPrices (amAmt,prAmt,lpAmt) = {
196199 let cfg = getPoolConfig()
197200 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
198201 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
199202 let priceX18 = privateCalcPrice(amtAsDcm, prAsDcm, amAmt, prAmt)
200203 let amAmtX18 = toX18(amAmt, amtAsDcm)
201204 let prAmtX18 = toX18(prAmt, prAsDcm)
202205 let lpAmtX18 = toX18(lpAmt, scale8)
203206 let lpPrInAmAsX18 = calcPriceBigInt(amAmtX18, lpAmtX18)
204207 let lpPrInPrAsX18 = calcPriceBigInt(prAmtX18, lpAmtX18)
205208 [priceX18, lpPrInAmAsX18, lpPrInPrAsX18]
206209 }
207210
208211
209212 func calculatePrices (amAmt,prAmt,lpAmt) = {
210213 let p = calcPrices(amAmt, prAmt, lpAmt)
211214 [fromX18(p[0], scale8), fromX18(p[1], scale8), fromX18(p[2], scale8)]
212215 }
213216
214217
215218 func estimateGetOperation (txId58,pmtAssetId,pmtLpAmt,userAddress) = {
216219 let cfg = getPoolConfig()
217220 let lpId = cfg[idxLPAsId]
218221 let amId = cfg[idxAmAsId]
219222 let prId = cfg[idxPrAsId]
220223 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
221224 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
222225 let sts = cfg[idxPoolSt]
223226 let lpEmiss = valueOrErrorMessage(assetInfo(fromBase58String(lpId)), "Wrong LP id").quantity
224227 if ((lpId != pmtAssetId))
225228 then throw("Wrong pmt asset")
226229 else {
227230 let amBalance = getAccBalance(amId)
228231 let amBalanceX18 = toX18(amBalance, amDcm)
229232 let prBalance = getAccBalance(prId)
230233 let prBalanceX18 = toX18(prBalance, prDcm)
231234 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
232235 let curPrice = fromX18(curPriceX18, scale8)
233236 let pmtLpAmtX18 = toX18(pmtLpAmt, scale8)
234237 let lpEmissX18 = toX18(lpEmiss, scale8)
235238 let outAmAmtX18 = fraction(amBalanceX18, pmtLpAmtX18, lpEmissX18)
236239 let outPrAmtX18 = fraction(prBalanceX18, pmtLpAmtX18, lpEmissX18)
237240 let outAmAmt = fromX18(outAmAmtX18, amDcm)
238241 let outPrAmt = fromX18(outPrAmtX18, prDcm)
239242 let state = if ((txId58 == ""))
240243 then nil
241244 else [ScriptTransfer(userAddress, outAmAmt, if ((amId == "WAVES"))
242245 then unit
243246 else fromBase58String(amId)), ScriptTransfer(userAddress, outPrAmt, if ((prId == "WAVES"))
244247 then unit
245248 else fromBase58String(prId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(outAmAmt, outPrAmt, pmtLpAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
246249 $Tuple10(outAmAmt, outPrAmt, amId, prId, amBalance, prBalance, lpEmiss, curPriceX18, sts, state)
247250 }
248251 }
249252
250253
251254 func estimatePutOperation (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,userAddress,isEval,emitLp,isOneAsset,pmtAmt,pmtId) = {
252255 let cfg = getPoolConfig()
253256 let lpId = fromBase58String(cfg[idxLPAsId])
254257 let amIdStr = cfg[idxAmAsId]
255258 let prIdStr = cfg[idxPrAsId]
256259 let inAmIdStr = cfg[idxIAmtAsId]
257260 let inPrIdStr = cfg[idxIPriceAsId]
258261 let amtDcm = parseIntValue(cfg[idxAmtAsDcm])
259262 let priceDcm = parseIntValue(cfg[idxPriceAsDcm])
260263 let sts = cfg[idxPoolSt]
261264 let lpEm = valueOrErrorMessage(assetInfo(lpId), "Wr lp as").quantity
262265 let amBalance = if (isEval)
263266 then getAccBalance(amIdStr)
264267 else if (if (isOneAsset)
265268 then (pmtId == amIdStr)
266269 else false)
267270 then (getAccBalance(amIdStr) - pmtAmt)
268271 else if (isOneAsset)
269272 then getAccBalance(amIdStr)
270273 else (getAccBalance(amIdStr) - inAmAmt)
271274 let prBalance = if (isEval)
272275 then getAccBalance(prIdStr)
273276 else if (if (isOneAsset)
274277 then (pmtId == prIdStr)
275278 else false)
276279 then (getAccBalance(prIdStr) - pmtAmt)
277280 else if (isOneAsset)
278281 then getAccBalance(prIdStr)
279282 else (getAccBalance(prIdStr) - inPrAmt)
280283 let inAmAssetAmtX18 = toX18(inAmAmt, amtDcm)
281284 let inPrAssetAmtX18 = toX18(inPrAmt, priceDcm)
282285 let userPriceX18 = calcPriceBigInt(inPrAssetAmtX18, inAmAssetAmtX18)
283286 let amBalanceX18 = toX18(amBalance, amtDcm)
284287 let prBalanceX18 = toX18(prBalance, priceDcm)
285288 let res = if ((lpEm == 0))
286289 then {
287290 let curPriceX18 = zeroBigInt
288291 let slippageX18 = zeroBigInt
289292 let lpAmtX18 = pow((inAmAssetAmtX18 * inPrAssetAmtX18), 0, toBigInt(5), 1, 0, DOWN)
290293 $Tuple5(fromX18(lpAmtX18, scale8), fromX18(inAmAssetAmtX18, amtDcm), fromX18(inPrAssetAmtX18, priceDcm), calcPriceBigInt((prBalanceX18 + inPrAssetAmtX18), (amBalanceX18 + inAmAssetAmtX18)), slippageX18)
291294 }
292295 else {
293296 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
294297 let slippageRealX18 = fraction(abs((curPriceX18 - userPriceX18)), scale18, curPriceX18)
295298 let slippageX18 = toX18(slippage, scale8)
296299 if (if ((curPriceX18 != zeroBigInt))
297300 then (slippageRealX18 > slippageX18)
298301 else false)
299302 then throw(((("Price slippage " + toString(slippageRealX18)) + " > ") + toString(slippageX18)))
300303 else {
301304 let lpEmissionX18 = toX18(lpEm, scale8)
302305 let prViaAmX18 = fraction(inAmAssetAmtX18, curPriceX18, scale18)
303306 let amViaPrX18 = fraction(inPrAssetAmtX18, scale18, curPriceX18)
304307 let expectedAmts = if ((prViaAmX18 > inPrAssetAmtX18))
305308 then $Tuple2(amViaPrX18, inPrAssetAmtX18)
306309 else $Tuple2(inAmAssetAmtX18, prViaAmX18)
307310 let expAmtAssetAmtX18 = expectedAmts._1
308311 let expPriceAssetAmtX18 = expectedAmts._2
309312 let lpAmtX18 = fraction(lpEmissionX18, expPriceAssetAmtX18, prBalanceX18)
310313 $Tuple5(fromX18(lpAmtX18, scale8), fromX18(expAmtAssetAmtX18, amtDcm), fromX18(expPriceAssetAmtX18, priceDcm), curPriceX18, slippageX18)
311314 }
312315 }
313316 let calcLpAmt = res._1
314317 let calcAmAssetPmt = res._2
315318 let calcPrAssetPmt = res._3
316319 let curPrice = fromX18(res._4, scale8)
317320 let slippageCalc = fromX18(res._5, scale8)
318321 if ((0 >= calcLpAmt))
319322 then throw("LP <= 0")
320323 else {
321324 let emitLpAmt = if (!(emitLp))
322325 then 0
323326 else calcLpAmt
324327 let amDiff = (inAmAmt - calcAmAssetPmt)
325328 let prDiff = (inPrAmt - calcPrAssetPmt)
326- let $t01582016165 = if (if (isOneAsset)
329+ let $t01585816203 = if (if (isOneAsset)
327330 then (pmtId == amIdStr)
328331 else false)
329332 then $Tuple2(pmtAmt, 0)
330333 else if (if (isOneAsset)
331334 then (pmtId == prIdStr)
332335 else false)
333336 then $Tuple2(0, pmtAmt)
334337 else $Tuple2(calcAmAssetPmt, calcPrAssetPmt)
335- let writeAmAmt = $t01582016165._1
336- let writePrAmt = $t01582016165._2
338+ let writeAmAmt = $t01585816203._1
339+ let writePrAmt = $t01585816203._2
337340 let commonState = [IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice), StringEntry(keyPutActionByUser(userAddress, txId58), dataPutActionInfo(writeAmAmt, writePrAmt, emitLpAmt, curPrice, slippage, slippageCalc, height, lastBlock.timestamp, amDiff, prDiff))]
338341 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEm, lpId, sts, commonState, amDiff, prDiff, inAmId, inPrId)
339342 }
340343 }
341344
342345
343346 func validateMatcherOrderAllowed (order) = {
344347 let cfg = getPoolConfig()
345348 let amtAsId = cfg[idxAmAsId]
346349 let prAsId = cfg[idxPrAsId]
347350 let sts = parseIntValue(cfg[idxPoolSt])
348351 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
349352 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
350353 let accAmtAsBalance = getAccBalance(amtAsId)
351354 let accPrAsBalance = getAccBalance(prAsId)
352355 let curPriceX18 = if ((order.orderType == Buy))
353356 then privateCalcPrice(amtAsDcm, prAsDcm, (accAmtAsBalance + order.amount), accPrAsBalance)
354357 else privateCalcPrice(amtAsDcm, prAsDcm, (accAmtAsBalance - order.amount), accPrAsBalance)
355358 let curPrice = fromX18(curPriceX18, scale8)
356359 if (if (if (isGlobalShutdown())
357360 then true
358361 else (sts == PoolMatcherDis))
359362 then true
360363 else (sts == PoolShutdown))
361364 then throw("Admin blocked")
362365 else {
363366 let orAmtAsset = order.assetPair.amountAsset
364367 let orAmtAsStr = if ((orAmtAsset == unit))
365368 then "WAVES"
366369 else toBase58String(value(orAmtAsset))
367370 let orPrAsset = order.assetPair.priceAsset
368371 let orPrAsStr = if ((orPrAsset == unit))
369372 then "WAVES"
370373 else toBase58String(value(orPrAsset))
371374 if (if ((orAmtAsStr != amtAsId))
372375 then true
373376 else (orPrAsStr != prAsId))
374377 then throw("Wr assets")
375378 else {
376379 let orderPrice = order.price
377380 let priceDcm = fraction(scale8, prAsDcm, amtAsDcm)
378381 let castOrderPrice = toScale(orderPrice, scale8, priceDcm)
379382 let isOrderPriceValid = if ((order.orderType == Buy))
380383 then (curPrice >= castOrderPrice)
381384 else (castOrderPrice >= curPrice)
382385 true
383386 }
384387 }
385388 }
386389
387390
388391 func commonGet (i) = if ((size(i.payments) != 1))
389392 then throw("1 pmnt exp")
390393 else {
391394 let pmt = value(i.payments[0])
392395 let pmtAssetId = value(pmt.assetId)
393396 let pmtAmt = pmt.amount
394397 let res = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
395398 let outAmAmt = res._1
396399 let outPrAmt = res._2
397400 let sts = parseIntValue(res._9)
398401 let state = res._10
399402 if (if (isGlobalShutdown())
400403 then true
401404 else (sts == PoolShutdown))
402405 then throw(("Admin blocked: " + toString(sts)))
403406 else $Tuple5(outAmAmt, outPrAmt, pmtAmt, pmtAssetId, state)
404407 }
405408
406409
407410 func commonPut (caller,txId,amAsPmt,prAsPmt,slippage,emitLp,isOneAsset,pmtAmt,pmtId) = {
408411 let r = estimatePutOperation(txId, slippage, value(amAsPmt).amount, value(amAsPmt).assetId, value(prAsPmt).amount, value(prAsPmt).assetId, caller, false, emitLp, isOneAsset, pmtAmt, pmtId)
409412 let sts = parseIntValue(r._8)
410413 if (if (if (isGlobalShutdown())
411414 then true
412415 else (sts == PoolPutDis))
413416 then true
414417 else (sts == PoolShutdown))
415418 then throw(("Blocked:" + toString(sts)))
416419 else r
417420 }
418421
419422
420423 @Callable(i)
421424 func constructor (factoryContract,managerPublicKey) = if ((i.caller != this))
422425 then throw("denied")
423426 else [StringEntry(keyFactCntr(), factoryContract), StringEntry(keyManPubKey(), managerPublicKey)]
424427
425428
426429
427430 @Callable(i)
428431 func put (slip,autoStake) = {
429432 let factCfg = getFactoryConfig()
430433 let stakingCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactStakCntr]), "Wr st addr")
431434 let slipCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactSlippCntr]), "Wr sl addr")
432435 if ((0 > slip))
433436 then throw("Wrong slippage")
434437 else if ((size(i.payments) != 2))
435438 then throw("2 pmnts expd")
436439 else {
437440 let estPut = commonPut(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(value(i.payments[0]).assetId, value(i.payments[0]).amount), i.payments[1], slip, true, false, 0, "")
438441 let emitLpAmt = estPut._2
439442 let lpAssetId = estPut._7
440443 let state = estPut._9
441444 let amDiff = estPut._10
442445 let prDiff = estPut._11
443446 let amId = estPut._12
444447 let prId = estPut._13
445448 let emitInv = invoke(factoryContract, "emit", [emitLpAmt], nil)
446449 if ((emitInv == emitInv))
447450 then {
448451 let slippageAInv = if ((amDiff > 0))
449452 then invoke(slipCntr, "put", nil, [AttachedPayment(amId, amDiff)])
450453 else nil
451454 if ((slippageAInv == slippageAInv))
452455 then {
453456 let slippagePInv = if ((prDiff > 0))
454457 then invoke(slipCntr, "put", nil, [AttachedPayment(prId, prDiff)])
455458 else nil
456459 if ((slippagePInv == slippagePInv))
457460 then {
458461 let lpTrnsfr = if (autoStake)
459462 then {
460463 let slpStakeInv = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
461464 if ((slpStakeInv == slpStakeInv))
462465 then nil
463466 else throw("Strict value is not equal to itself.")
464467 }
465468 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
466469 (state ++ lpTrnsfr)
467470 }
468471 else throw("Strict value is not equal to itself.")
469472 }
470473 else throw("Strict value is not equal to itself.")
471474 }
472475 else throw("Strict value is not equal to itself.")
473476 }
474477 }
475478
476479
477480
478481 @Callable(i)
479482 func putOneTkn (amAssetPart,prAssetPart,outLp,slippage,autoStake) = {
480483 let cfg = getFactoryConfig()
481484 let stakingCntr = valueOrErrorMessage(addressFromString(cfg[idxFactStakCntr]), "Wr st addr")
482485 let slipCntr = valueOrErrorMessage(addressFromString(cfg[idxFactSlippCntr]), "Wr sl addr")
483486 let gwxCntr = valueOrErrorMessage(addressFromString(cfg[idxFactGwxRewCntr]), "Wr gwx addr")
484487 let poolCfg = getPoolConfig()
485488 let amId = poolCfg[idxAmAsId]
486489 let prId = poolCfg[idxPrAsId]
487490 let amDcm = parseIntValue(poolCfg[idxAmtAsDcm])
488491 let prDcm = parseIntValue(poolCfg[idxPriceAsDcm])
489492 if (if (if (if ((0 >= slippage))
490493 then true
491494 else (0 >= amAssetPart))
492495 then true
493496 else (0 >= prAssetPart))
494497 then true
495498 else (0 >= outLp))
496499 then throw("Wrong params")
497500 else if ((size(i.payments) != 1))
498501 then throw("1 pmnt expd")
499502 else {
500503 let pmt = value(i.payments[0])
501504 let pmtAssetId = toBase58String(value(pmt.assetId))
502505 let pmtAmt = pmt.amount
503506 if (if (if ((amAssetPart > pmtAmt))
504507 then true
505508 else (prAssetPart > pmtAmt))
506509 then true
507510 else (10000000 > pmtAmt))
508511 then throw("Wrong pmt amt")
509512 else {
510513 let amBalance = getAccBalance(amId)
511514 let prBalance = getAccBalance(prId)
512- let $t02390624286 = if ((pmtAssetId == amId))
515+ let $t02394424324 = if ((pmtAssetId == amId))
513516 then $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
514517 else if ((pmtAssetId == prId))
515518 then $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
516519 else throw("wrong pmtAssetId")
517- let amBalanceNow = $t02390624286._1
518- let prBalanceNow = $t02390624286._2
519- let virtSwapInAm = $t02390624286._3
520- let virtSwapOutPr = $t02390624286._4
521- let virtSwapInPr = $t02390624286._5
522- let virtSwapOutAm = $t02390624286._6
520+ let amBalanceNow = $t02394424324._1
521+ let prBalanceNow = $t02394424324._2
522+ let virtSwapInAm = $t02394424324._3
523+ let virtSwapOutPr = $t02394424324._4
524+ let virtSwapInPr = $t02394424324._5
525+ let virtSwapOutAm = $t02394424324._6
523526 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
524527 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
525528 let D0vsD1 = validateD(parseBigIntValue(asString(D1)), parseBigIntValue(asString(D0)), slippage4D)
526529 if ((D0vsD1 == D0vsD1))
527530 then {
528531 let estPut = commonPut(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), slippage, true, true, pmtAmt, pmtAssetId)
529532 let estimLP = estPut._2
530533 let lpAssetId = estPut._7
531534 let state = estPut._9
532535 let amDiff = estPut._10
533536 let prDiff = estPut._11
534537 let lpCalcRes = validateAbsDiff(toBigInt(estimLP), toBigInt(outLp), toBigInt(slippage))
535538 let emitLpAmt = toInt(lpCalcRes._2)
536539 let emitInv = invoke(factoryContract, "emit", [emitLpAmt], nil)
537540 if ((emitInv == emitInv))
538541 then {
539542 let slippageAInv = if ((amDiff > 0))
540543 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
541544 else nil
542545 if ((slippageAInv == slippageAInv))
543546 then {
544547 let slippagePInv = if ((prDiff > 0))
545548 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
546549 else nil
547550 if ((slippagePInv == slippagePInv))
548551 then {
549552 let lpTrnsfr = if (autoStake)
550553 then {
551554 let slpStakeInv = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
552555 if ((slpStakeInv == slpStakeInv))
553556 then nil
554557 else throw("Strict value is not equal to itself.")
555558 }
556559 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
557560 (state ++ lpTrnsfr)
558561 }
559562 else throw("Strict value is not equal to itself.")
560563 }
561564 else throw("Strict value is not equal to itself.")
562565 }
563566 else throw("Strict value is not equal to itself.")
564567 }
565568 else throw("Strict value is not equal to itself.")
566569 }
567570 }
568571 }
569572
570573
571574
572575 @Callable(i)
573576 func putForFree (maxSlpg) = if ((0 > maxSlpg))
574577 then throw("Wrong slpg")
575578 else if ((size(i.payments) != 2))
576579 then throw("2 pmnts expd")
577580 else {
578581 let estPut = commonPut(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(value(i.payments[0]).assetId, value(i.payments[0]).amount), i.payments[1], maxSlpg, false, false, 0, "")
579582 estPut._9
580583 }
581584
582585
583586
584587 @Callable(i)
585588 func get () = {
586589 let res = commonGet(i)
587590 let outAmtAmt = res._1
588591 let outPrAmt = res._2
589592 let pmtAmt = res._3
590593 let pmtAssetId = res._4
591594 let state = res._5
592595 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
593596 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
594597 then state
595598 else throw("Strict value is not equal to itself.")
596599 }
597600
598601
599602
600603 @Callable(i)
601604 func getOneTkn (exchResult,notUsed,outAmount,outAssetId,slippage) = if ((size(i.payments) != 1))
602605 then throw("1 pmnt expd")
603606 else {
604607 let cfg = getPoolConfig()
605608 let lpId = cfg[idxLPAsId]
606609 let amId = cfg[idxAmAsId]
607610 let prId = cfg[idxPrAsId]
608611 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
609612 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
610613 let sts = cfg[idxPoolSt]
611614 let fcfg = getFactoryConfig()
612615 let gwxCntr = valueOrErrorMessage(addressFromString(fcfg[idxFactGwxRewCntr]), "Wr sl addr")
613616 let pmt = value(i.payments[0])
614- let userAddress = i.caller
617+ let addon = valueOrElse(getString(this, keyAddonAddr()), "")
618+ let userAddress = if ((addon == toString(i.caller)))
619+ then i.originCaller
620+ else i.caller
615621 let txId58 = toBase58String(i.transactionId)
616622 let pmtAssetId = value(pmt.assetId)
617623 let pmtAmt = pmt.amount
618624 if ((1000000000 > pmtAmt))
619- then throw("Min payment is 10 LP")
625+ then throw("Min pmt 10 LP")
620626 else if (if (if ((0 > slippage))
621627 then true
622628 else (0 > exchResult))
623629 then true
624630 else (0 > outAmount))
625631 then throw("Wrong params")
626632 else if ((lpId != toBase58String(pmtAssetId)))
627633 then throw("Wrong LP")
628634 else {
629635 let r = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
630636 let estimAmAmt = r._1
631637 let estimPrAmt = r._2
632638 let amBalance = getAccBalance(amId)
633639 let prBalance = getAccBalance(prId)
634- let $t02878029237 = if ((outAssetId == amId))
640+ let $t02909129548 = if ((outAssetId == amId))
635641 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
636642 else if ((outAssetId == prId))
637643 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
638644 else throw("wrong outAssetId")
639- let amBalanceNow = $t02878029237._1
640- let prBalanceNow = $t02878029237._2
641- let virtSwapInAm = $t02878029237._3
642- let virtSwapOutPr = $t02878029237._4
643- let virtSwapInPr = $t02878029237._5
644- let virtSwapOutAm = $t02878029237._6
645- let totalGet = $t02878029237._7
645+ let amBalanceNow = $t02909129548._1
646+ let prBalanceNow = $t02909129548._2
647+ let virtSwapInAm = $t02909129548._3
648+ let virtSwapOutPr = $t02909129548._4
649+ let virtSwapInPr = $t02909129548._5
650+ let virtSwapOutAm = $t02909129548._6
651+ let totalGet = $t02909129548._7
646652 if (if ((0 > virtSwapInAm))
647653 then true
648654 else (0 > virtSwapInPr))
649655 then throw("Wrong calc")
650656 else {
651657 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
652658 let D1 = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
653659 let D0vsD1 = validateD(parseBigIntValue(asString(D1)), parseBigIntValue(asString(D0)), slippage4D)
654660 if ((D0vsD1 == D0vsD1))
655661 then {
656- let amount2Return = validateAbsDiff(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
657- if ((amount2Return == amount2Return))
662+ let finalRes = validateAbsDiff(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
663+ if ((finalRes == finalRes))
658664 then {
659- let $t02997630090 = if ((outAssetId == amId))
660- then $Tuple2(toInt(amount2Return._2), 0)
661- else $Tuple2(0, toInt(amount2Return._2))
662- let outAm = $t02997630090._1
663- let outPr = $t02997630090._2
664- let curPriceX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
665- let curPrice = fromX18(curPriceX18, scale8)
665+ let $t03028230386 = if ((outAssetId == amId))
666+ then $Tuple2(toInt(finalRes._2), 0)
667+ else $Tuple2(0, toInt(finalRes._2))
668+ let outAm = $t03028230386._1
669+ let outPr = $t03028230386._2
670+ let curPrX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
671+ let curPr = fromX18(curPrX18, scale8)
666672 let state = [ScriptTransfer(userAddress, (outAm + outPr), if ((outAssetId == "WAVES"))
667673 then unit
668- else fromBase58String(outAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(outAm, outPr, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
674+ else fromBase58String(outAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(outAm, outPr, pmtAmt, curPr, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPr), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPr)]
669675 if ((state == state))
670676 then {
671677 let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
672678 if ((burn == burn))
673679 then state
674680 else throw("Strict value is not equal to itself.")
675681 }
676682 else throw("Strict value is not equal to itself.")
677683 }
678684 else throw("Strict value is not equal to itself.")
679685 }
680686 else throw("Strict value is not equal to itself.")
681687 }
682688 }
683689 }
684690
685691
686692
687693 @Callable(i)
688694 func getNoLess (noLessThenAmtAsset,noLessThenPriceAsset) = {
689695 let res = commonGet(i)
690696 let outAmAmt = res._1
691697 let outPrAmt = res._2
692698 let pmtAmt = res._3
693699 let pmtAssetId = res._4
694700 let state = res._5
695701 if ((noLessThenAmtAsset > outAmAmt))
696702 then throw(((("Failed: " + toString(outAmAmt)) + " < ") + toString(noLessThenAmtAsset)))
697703 else if ((noLessThenPriceAsset > outPrAmt))
698704 then throw(((("Failed: " + toString(outPrAmt)) + " < ") + toString(noLessThenPriceAsset)))
699705 else {
700706 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
701707 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
702708 then state
703709 else throw("Strict value is not equal to itself.")
704710 }
705711 }
706712
707713
708714
709715 @Callable(i)
710716 func unstakeAndGet (amount) = {
711717 let checkPayments = if ((size(i.payments) != 0))
712718 then throw("No pmnts expd")
713719 else true
714720 if ((checkPayments == checkPayments))
715721 then {
716722 let cfg = getPoolConfig()
717723 let factoryCfg = getFactoryConfig()
718724 let lpAssetId = fromBase58String(cfg[idxLPAsId])
719725 let staking = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
720726 let unstakeInv = invoke(staking, "unstake", [toBase58String(lpAssetId), amount], nil)
721727 if ((unstakeInv == unstakeInv))
722728 then {
723729 let r = estimateGetOperation(toBase58String(i.transactionId), toBase58String(lpAssetId), amount, i.caller)
724730 let sts = parseIntValue(r._9)
725731 let state = r._10
726732 let v = if (if (isGlobalShutdown())
727733 then true
728734 else (sts == PoolShutdown))
729735 then throw(("Blocked: " + toString(sts)))
730736 else true
731737 if ((v == v))
732738 then {
733- let burnLPAssetOnFactory = invoke(factoryContract, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
734- if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
739+ let burnA = invoke(factoryContract, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
740+ if ((burnA == burnA))
735741 then state
736742 else throw("Strict value is not equal to itself.")
737743 }
738744 else throw("Strict value is not equal to itself.")
739745 }
740746 else throw("Strict value is not equal to itself.")
741747 }
742748 else throw("Strict value is not equal to itself.")
743749 }
744750
745751
746752
747753 @Callable(i)
748-func activate (amtAssetStr,priceAssetStr) = if ((toString(i.caller) != toString(factoryContract)))
754+func activate (amtAsStr,prAsStr) = if ((toString(i.caller) != toString(factoryContract)))
749755 then throw("denied")
750- else $Tuple2([StringEntry(keyAmtAsset(), amtAssetStr), StringEntry(keyPriceAsset(), priceAssetStr)], "success")
756+ else $Tuple2([StringEntry(keyAmtAsset(), amtAsStr), StringEntry(keyPriceAsset(), prAsStr)], "success")
751757
752758
753759
754760 @Callable(i)
755761 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, getPoolConfig())
756762
757763
758764
759765 @Callable(i)
760766 func getAccBalanceWrapperREADONLY (assetId) = $Tuple2(nil, getAccBalance(assetId))
761767
762768
763769
764770 @Callable(i)
765771 func calcPricesWrapperREADONLY (amAmt,prAmt,lpAmt) = {
766- let prices = calcPrices(amAmt, prAmt, lpAmt)
767- $Tuple2(nil, [toString(prices[0]), toString(prices[1]), toString(prices[2])])
772+ let pr = calcPrices(amAmt, prAmt, lpAmt)
773+ $Tuple2(nil, [toString(pr[0]), toString(pr[1]), toString(pr[2])])
768774 }
769775
770776
771777
772778 @Callable(i)
773-func fromX18WrapperREADONLY (val,resultScaleMult) = $Tuple2(nil, fromX18(parseBigIntValue(val), resultScaleMult))
779+func fromX18WrapperREADONLY (val,resScaleMult) = $Tuple2(nil, fromX18(parseBigIntValue(val), resScaleMult))
774780
775781
776782
777783 @Callable(i)
778784 func toX18WrapperREADONLY (origVal,origScaleMult) = $Tuple2(nil, toString(toX18(origVal, origScaleMult)))
779785
780786
781787
782788 @Callable(i)
783789 func calcPriceBigIntWrapperREADONLY (prAmtX18,amAmtX18) = $Tuple2(nil, toString(calcPriceBigInt(parseBigIntValue(prAmtX18), parseBigIntValue(amAmtX18))))
784790
785791
786792
787793 @Callable(i)
788794 func estimatePutOperationWrapperREADONLY (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,usrAddr,isEval,emitLp) = $Tuple2(nil, estimatePutOperation(txId58, slippage, inAmAmt, inAmId, inPrAmt, inPrId, usrAddr, isEval, emitLp, false, 0, ""))
789795
790796
791797
792798 @Callable(i)
793799 func estimateGetOperationWrapperREADONLY (txId58,pmtAsId,pmtLpAmt,usrAddr) = {
794800 let res = estimateGetOperation(txId58, pmtAsId, pmtLpAmt, addressFromStringValue(usrAddr))
795801 $Tuple2(nil, $Tuple10(res._1, res._2, res._3, res._4, res._5, res._6, res._7, toString(res._8), res._9, res._10))
796802 }
797803
798804
799805 @Verifier(tx)
800806 func verify () = match tx {
801807 case order: Order =>
802808 let mtchPub = getMatcherPubOrFail()
803809 let orV = validateMatcherOrderAllowed(order)
804810 let sndrV = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
805811 let mtchV = sigVerify(order.bodyBytes, order.proofs[1], mtchPub)
806812 if (if (if (orV)
807813 then sndrV
808814 else false)
809815 then mtchV
810816 else false)
811817 then true
812818 else throwOrderError(orV, sndrV, mtchV)
813819 case _ =>
814820 let admin = valueOrElse(getString(this, keyManPubKey()), EMPTY)
815821 if ((admin == EMPTY))
816822 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
817823 else sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(admin))
818824 }
819825

github/deemru/w8io/026f985 
101.55 ms