tx · D7dU3FUoQKrjLyNzfLvc2WoMznfqucLgiiMa1uw4ZooW

3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT:  -0.01400000 Waves

2021.12.27 21:42 [1853031] smart account 3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT > SELF 0.00000000 Waves

{ "type": 13, "id": "D7dU3FUoQKrjLyNzfLvc2WoMznfqucLgiiMa1uw4ZooW", "fee": 1400000, "feeAssetId": null, "timestamp": 1640630561475, "version": 1, "sender": "3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT", "senderPublicKey": "D1BL65meykxFZTCuq7jq9HSGLLnWvQamQPUNrguW5w39", "proofs": [ "4x6nTw8LRQjM6bQ8w4CadqU8UEJhTFHum9iGfsuKnEgVGrjs7UpS5LiCVr6p77jVwyNsqaqgRMHL999aVioaZijk" ], "script": "base64:AAIFAAAAAAAAAG0IAhIECgIICBIECgIBBBIHCgUBAQEBBBIDCgEBEgASBwoFAQEBCAESBAoCAQESAwoBARIECgIICBIAEgMKAQgSBQoDAQEBEgQKAggBEgQKAgEBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEIAAAAQgAAAAAGc2NhbGU4AAAAAAAF9eEAAAAAAAxzY2FsZThCaWdJbnQJAAE2AAAAAQAAAAAABfXhAAAAAAAHc2NhbGUxOAkAATYAAAABAA3gtrOnZAAAAAAAAAp6ZXJvQmlnSW50CQABNgAAAAEAAAAAAAAAAAAAAAAACW9uZUJpZ0ludAkAATYAAAABAAAAAAAAAAABAAAAAAFBAgAAAAI1MAAAAAAFQW11bHQCAAAACTEwMDAwMDAwMAAAAAAFRGNvbnYCAAAAATEAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAAClBvb2xBY3RpdmUAAAAAAAAAAAEAAAAAClBvb2xQdXREaXMAAAAAAAAAAAIAAAAADlBvb2xNYXRjaGVyRGlzAAAAAAAAAAADAAAAAAxQb29sU2h1dGRvd24AAAAAAAAAAAQAAAAADmlkeFBvb2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UAAAAFb3JkZXIAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAdtdGNoUHViAwMDBQAAAANvclYFAAAABXNuZHJWBwUAAAAFbXRjaFYHBgkBAAAAD3Rocm93T3JkZXJFcnJvcgAAAAMFAAAAA29yVgUAAAAFc25kclYFAAAABW10Y2hWBAAAAAVhZG1pbgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzCQEAAAAMa2V5TWFuUHViS2V5AAAAAAUAAAAFRU1QVFkDCQAAAAAAAAIFAAAABWFkbWluBQAAAAVFTVBUWQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAEFAAAABWFkbWluZ0le0g==", "chainId": 84, "height": 1853031, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9CTJUr8BScwyZykb44ubPLGnVXe8ubA7QpZvaVToFH7C Next: CdNSm91huzFCj4t5WrkKB1m7yFCzsYFi3Gf8eB3ErswK Diff:
OldNewDifferences
475475 let pmtAmt = pmt.amount
476476 let amBalance = getAccBalance(amId)
477477 let prBalance = getAccBalance(prId)
478- let $t02322223607 = if ((pmtAssetId == amId))
478+ let $t02322223602 = if ((pmtAssetId == amId))
479479 then $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
480480 else if ((pmtAssetId == prId))
481481 then $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
482- else throw("unexpected pmtAssetId")
483- let amBalanceNow = $t02322223607._1
484- let prBalanceNow = $t02322223607._2
485- let virtSwapInAm = $t02322223607._3
486- let virtSwapOutPr = $t02322223607._4
487- let virtSwapInPr = $t02322223607._5
488- let virtSwapOutAm = $t02322223607._6
482+ else throw("wrong pmtAssetId")
483+ let amBalanceNow = $t02322223602._1
484+ let prBalanceNow = $t02322223602._2
485+ let virtSwapInAm = $t02322223602._3
486+ let virtSwapOutPr = $t02322223602._4
487+ let virtSwapInPr = $t02322223602._5
488+ let virtSwapOutAm = $t02322223602._6
489489 let dCur = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
490490 let dNew = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
491491 let dCurBIG = parseBigIntValue(asString(dCur))
605605 let estimAmAmt = r._1
606606 let estimPrAmt = r._2
607607 let amBalance = getAccBalance(amId)
608- let amBalaceWithGet = (amBalance - estimAmAmt)
609608 let prBalance = getAccBalance(prId)
610- let prBalaceWithGet = (prBalance - estimPrAmt)
611- let invLeft = invoke(gwxCntr, "calcD", [toString(amBalaceWithGet), toString(prBalaceWithGet), "50", "100000000", "1"], nil)
612- let resultTuple = if ((outAssetId == amId))
609+ let $t02826828752 = if ((outAssetId == amId))
610+ then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), (outAmount - estimAmAmt), prAssetSwap, 0, 0, (estimAmAmt + amAssetSwap))
611+ else if ((outAssetId == prId))
612+ then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, (outAmount - estimPrAmt), amAssetSwap, (estimPrAmt + prAssetSwap))
613+ else throw("wrong outAssetId")
614+ let amBalanceNow = $t02826828752._1
615+ let prBalanceNow = $t02826828752._2
616+ let virtSwapInAm = $t02826828752._3
617+ let virtSwapOutPr = $t02826828752._4
618+ let virtSwapInPr = $t02826828752._5
619+ let virtSwapOutAm = $t02826828752._6
620+ let totalGet = $t02826828752._7
621+ let invLeft = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
622+ let invRight = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
623+ let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(invRight)), parseBigIntValue(asString(invLeft)), toBigInt(1000))
624+ if ((D0vsD1 == D0vsD1))
613625 then {
614- let amAssetDiff = (outAmount - estimAmAmt)
615- let invRight = invoke(gwxCntr, "calcD", [toString((amBalaceWithGet - amAssetDiff)), toString((prBalaceWithGet + prAssetSwap)), "50", "100000000", "1"], nil)
616- let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(invRight)), parseBigIntValue(asString(invLeft)), toBigInt(1000))
617- if ((D0vsD1 != D0vsD1))
618- then throw()
619- else {
620- let resultAmt = (estimAmAmt + amAssetSwap)
621- let lpCalcRes = validateAbsDiff(toBigInt(resultAmt), toBigInt(outAmount), toBigInt(slippage))
622- $Tuple2(toInt(lpCalcRes._2), 0)
626+ let amount2Return = validateAbsDiff(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
627+ if ((amount2Return == amount2Return))
628+ then {
629+ let resultTuple = if ((outAssetId == amId))
630+ then $Tuple2(toInt(amount2Return._2), 0)
631+ else $Tuple2(0, toInt(amount2Return._2))
632+ let curPriceX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
633+ let curPrice = fromX18(curPriceX18, scale8)
634+ let state = [ScriptTransfer(userAddress, if ((resultAssetId == amId))
635+ then resultTuple._1
636+ else resultTuple._2, if ((resultAssetId == "WAVES"))
637+ then unit
638+ else fromBase58String(resultAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(resultTuple._1, resultTuple._2, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
639+ if ((state == state))
640+ then {
641+ let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
642+ if ((burn == burn))
643+ then state
644+ else throw("Strict value is not equal to itself.")
645+ }
646+ else throw("Strict value is not equal to itself.")
623647 }
624- }
625- else {
626- let prAssetDiff = (outAmount - estimPrAmt)
627- let invRight = invoke(gwxCntr, "calcD", [toString((amBalaceWithGet + amAssetSwap)), toString((prBalaceWithGet - prAssetDiff)), "50", "100000000", "1"], nil)
628- let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(invRight)), parseBigIntValue(asString(invLeft)), toBigInt(1000))
629- if ((D0vsD1 != D0vsD1))
630- then throw()
631- else {
632- let resultAmt = (estimPrAmt + prAssetSwap)
633- let lpCalcRes = validateAbsDiff(toBigInt(resultAmt), toBigInt(outAmount), toBigInt(slippage))
634- $Tuple2(0, toInt(lpCalcRes._2))
635- }
636- }
637- let curPriceX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
638- let curPrice = fromX18(curPriceX18, scale8)
639- let state = [ScriptTransfer(userAddress, if ((resultAssetId == amId))
640- then resultTuple._1
641- else resultTuple._2, if ((resultAssetId == "WAVES"))
642- then unit
643- else fromBase58String(resultAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(resultTuple._1, resultTuple._2, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
644- if ((state == state))
645- then {
646- let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
647- if ((burn == burn))
648- then state
649648 else throw("Strict value is not equal to itself.")
650649 }
651650 else throw("Strict value is not equal to itself.")
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 A = "50"
1515
1616 let Amult = "100000000"
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 keyFactoryConfig () = "%s__factoryConfig"
9595
9696
9797 func keyMatcherPub () = "%s%s__matcher__publicKey"
9898
9999
100100 func keyPoolConfig (iAmtAs,iPrAs) = (((("%d%d%s__" + iAmtAs) + "__") + iPrAs) + "__config")
101101
102102
103103 func keyMappingsBaseAsset2internalId (bAStr) = ("%s%s%s__mappings__baseAsset2internalId__" + bAStr)
104104
105105
106106 func keyAllPoolsShutdown () = "%s__shutdown"
107107
108108
109109 func keyPoolWeight (p) = ("%s%s__poolWeight__" + p)
110110
111111
112112 func throwOrderError (orV,sendrV,matchV) = throw(((((("Failed: orderValid=" + toString(orV)) + " senderValid=") + toString(sendrV)) + " matcherValid=") + toString(matchV)))
113113
114114
115115 func asString (val) = match val {
116116 case valStr: String =>
117117 valStr
118118 case _ =>
119119 throw("fail cast to String")
120120 }
121121
122122
123123 func getStringOrFail (addr,key) = valueOrErrorMessage(getString(addr, key), makeString(["mandatory ", toString(addr), ".", key, " is not defined"], ""))
124124
125125
126126 func getIntOrFail (addr,key) = valueOrErrorMessage(getInteger(addr, key), makeString(["mandatory ", toString(addr), ".", key, " is not defined"], ""))
127127
128128
129129 let factoryContract = addressFromStringValue(getStringOrFail(this, keyFactCntr()))
130130
131131 func isGlobalShutdown () = valueOrElse(getBoolean(factoryContract, keyAllPoolsShutdown()), false)
132132
133133
134134 func getMatcherPubOrFail () = fromBase58String(getStringOrFail(factoryContract, keyMatcherPub()))
135135
136136
137137 func getPoolConfig () = {
138138 let amtAs = getStringOrFail(this, keyAmtAsset())
139139 let priceAs = getStringOrFail(this, keyPriceAsset())
140140 let iPriceAs = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(priceAs))
141141 let iAmtAs = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(amtAs))
142142 split(getStringOrFail(factoryContract, keyPoolConfig(toString(iAmtAs), toString(iPriceAs))), SEP)
143143 }
144144
145145
146146 func getFactoryConfig () = split(getStringOrFail(factoryContract, keyFactoryConfig()), SEP)
147147
148148
149149 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)
150150
151151
152152 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)
153153
154154
155155 func getAccBalance (assetId) = if ((assetId == "WAVES"))
156156 then wavesBalance(this).available
157157 else assetBalance(this, fromBase58String(assetId))
158158
159159
160160 func calcPriceBigInt (prAmtX18,amAmtX18) = fraction(prAmtX18, scale18, amAmtX18)
161161
162162
163163 func validateAbsDiff (realAmt,expectedAmt,slippage) = {
164164 let diff = fraction((realAmt - expectedAmt), scale8BigInt, expectedAmt)
165165 let passed = ((slippage - abs(diff)) > zeroBigInt)
166166 if (!(passed))
167167 then throw(((("Too big slippage: " + toString(diff)) + " vs ") + toString(slippage)))
168168 else $Tuple2(passed, min([realAmt, expectedAmt]))
169169 }
170170
171171
172172 func privateCalcPrice (amAssetDcm,prAssetDcm,amAmt,prAmt) = {
173173 let amtAsAmtX18 = toX18(amAmt, amAssetDcm)
174174 let prAsAmtX18 = toX18(prAmt, prAssetDcm)
175175 calcPriceBigInt(prAsAmtX18, amtAsAmtX18)
176176 }
177177
178178
179179 func calcPrices (amAmt,prAmt,lpAmt) = {
180180 let cfg = getPoolConfig()
181181 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
182182 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
183183 let priceX18 = privateCalcPrice(amtAsDcm, prAsDcm, amAmt, prAmt)
184184 let amAmtX18 = toX18(amAmt, amtAsDcm)
185185 let prAmtX18 = toX18(prAmt, prAsDcm)
186186 let lpAmtX18 = toX18(lpAmt, scale8)
187187 let lpPrInAmAsX18 = calcPriceBigInt(amAmtX18, lpAmtX18)
188188 let lpPrInPrAsX18 = calcPriceBigInt(prAmtX18, lpAmtX18)
189189 [priceX18, lpPrInAmAsX18, lpPrInPrAsX18]
190190 }
191191
192192
193193 func calculatePrices (amAmt,prAmt,lpAmt) = {
194194 let prices = calcPrices(amAmt, prAmt, lpAmt)
195195 [fromX18(prices[0], scale8), fromX18(prices[1], scale8), fromX18(prices[2], scale8)]
196196 }
197197
198198
199199 func estimateGetOperation (txId58,pmtAssetId,pmtLpAmt,userAddress) = {
200200 let cfg = getPoolConfig()
201201 let lpId = cfg[idxLPAsId]
202202 let amId = cfg[idxAmAsId]
203203 let prId = cfg[idxPrAsId]
204204 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
205205 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
206206 let poolStatus = cfg[idxPoolSt]
207207 let lpEmission = valueOrErrorMessage(assetInfo(fromBase58String(lpId)), "Invalid LP id").quantity
208208 if ((lpId != pmtAssetId))
209209 then throw("Invalid pmt asset")
210210 else {
211211 let amBalance = getAccBalance(amId)
212212 let amBalanceX18 = toX18(amBalance, amDcm)
213213 let prBalance = getAccBalance(prId)
214214 let prBalanceX18 = toX18(prBalance, prDcm)
215215 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
216216 let curPrice = fromX18(curPriceX18, scale8)
217217 let pmtLpAmtX18 = toX18(pmtLpAmt, scale8)
218218 let lpEmissionX18 = toX18(lpEmission, scale8)
219219 let outAmAmtX18 = fraction(amBalanceX18, pmtLpAmtX18, lpEmissionX18)
220220 let outPrAmtX18 = fraction(prBalanceX18, pmtLpAmtX18, lpEmissionX18)
221221 let outAmAmt = fromX18(outAmAmtX18, amDcm)
222222 let outPrAmt = fromX18(outPrAmtX18, prDcm)
223223 let state = if ((txId58 == ""))
224224 then nil
225225 else [ScriptTransfer(userAddress, outAmAmt, if ((amId == "WAVES"))
226226 then unit
227227 else fromBase58String(amId)), ScriptTransfer(userAddress, outPrAmt, if ((prId == "WAVES"))
228228 then unit
229229 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)]
230230 $Tuple10(outAmAmt, outPrAmt, amId, prId, amBalance, prBalance, lpEmission, curPriceX18, poolStatus, state)
231231 }
232232 }
233233
234234
235235 func estimatePutOperation (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,userAddress,isEval,emitLp,isOneAsset,pmtAmt,pmtId) = {
236236 let cfg = getPoolConfig()
237237 let lpId = fromBase58String(cfg[idxLPAsId])
238238 let amIdStr = cfg[idxAmAsId]
239239 let prIdStr = cfg[idxPrAsId]
240240 let inAmIdStr = cfg[idxIAmtAsId]
241241 let inPrIdStr = cfg[idxIPriceAsId]
242242 let amtDcm = parseIntValue(cfg[idxAmtAsDcm])
243243 let priceDcm = parseIntValue(cfg[idxPriceAsDcm])
244244 let poolStatus = cfg[idxPoolSt]
245245 let lpEm = valueOrErrorMessage(assetInfo(lpId), "Wr lp as").quantity
246246 let amBalance = if (isEval)
247247 then getAccBalance(amIdStr)
248248 else if (if (isOneAsset)
249249 then (pmtId == amIdStr)
250250 else false)
251251 then (getAccBalance(amIdStr) - pmtAmt)
252252 else if (isOneAsset)
253253 then getAccBalance(amIdStr)
254254 else (getAccBalance(amIdStr) - inAmAmt)
255255 let prBalance = if (isEval)
256256 then getAccBalance(prIdStr)
257257 else if (if (isOneAsset)
258258 then (pmtId == prIdStr)
259259 else false)
260260 then (getAccBalance(prIdStr) - pmtAmt)
261261 else if (isOneAsset)
262262 then getAccBalance(prIdStr)
263263 else (getAccBalance(prIdStr) - inPrAmt)
264264 let inAmAssetAmtX18 = toX18(inAmAmt, amtDcm)
265265 let inPrAssetAmtX18 = toX18(inPrAmt, priceDcm)
266266 let userPriceX18 = calcPriceBigInt(inPrAssetAmtX18, inAmAssetAmtX18)
267267 let amBalanceX18 = toX18(amBalance, amtDcm)
268268 let prBalanceX18 = toX18(prBalance, priceDcm)
269269 let res = if ((lpEm == 0))
270270 then {
271271 let curPriceX18 = zeroBigInt
272272 let slippageX18 = zeroBigInt
273273 let lpAmtX18 = pow((inAmAssetAmtX18 * inPrAssetAmtX18), 0, toBigInt(5), 1, 0, DOWN)
274274 $Tuple5(fromX18(lpAmtX18, scale8), fromX18(inAmAssetAmtX18, amtDcm), fromX18(inPrAssetAmtX18, priceDcm), calcPriceBigInt((prBalanceX18 + inPrAssetAmtX18), (amBalanceX18 + inAmAssetAmtX18)), slippageX18)
275275 }
276276 else {
277277 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
278278 let slippageRealX18 = fraction(abs((curPriceX18 - userPriceX18)), scale18, curPriceX18)
279279 let slippageX18 = toX18(slippage, scale8)
280280 if (if ((curPriceX18 != zeroBigInt))
281281 then (slippageRealX18 > slippageX18)
282282 else false)
283283 then throw(((("Price slippage " + toString(slippageRealX18)) + " > ") + toString(slippageX18)))
284284 else {
285285 let lpEmissionX18 = toX18(lpEm, scale8)
286286 let prViaAmX18 = fraction(inAmAssetAmtX18, curPriceX18, scale18)
287287 let amViaPrX18 = fraction(inPrAssetAmtX18, scale18, curPriceX18)
288288 let expectedAmts = if ((prViaAmX18 > inPrAssetAmtX18))
289289 then $Tuple2(amViaPrX18, inPrAssetAmtX18)
290290 else $Tuple2(inAmAssetAmtX18, prViaAmX18)
291291 let expAmtAssetAmtX18 = expectedAmts._1
292292 let expPriceAssetAmtX18 = expectedAmts._2
293293 let lpAmtX18 = fraction(lpEmissionX18, expPriceAssetAmtX18, prBalanceX18)
294294 $Tuple5(fromX18(lpAmtX18, scale8), fromX18(expAmtAssetAmtX18, amtDcm), fromX18(expPriceAssetAmtX18, priceDcm), curPriceX18, slippageX18)
295295 }
296296 }
297297 let calcLpAmt = res._1
298298 let calcAmAssetPmt = res._2
299299 let calcPrAssetPmt = res._3
300300 let curPrice = fromX18(res._4, scale8)
301301 let slippageCalc = fromX18(res._5, scale8)
302302 if ((0 >= calcLpAmt))
303303 then throw("LP <= 0")
304304 else {
305305 let emitLpAmt = if (!(emitLp))
306306 then 0
307307 else calcLpAmt
308308 let amDiff = (inAmAmt - calcAmAssetPmt)
309309 let prDiff = (inPrAmt - calcPrAssetPmt)
310310 let commonState = [IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice), StringEntry(keyPutActionByUser(userAddress, txId58), dataPutActionInfo(calcAmAssetPmt, calcPrAssetPmt, emitLpAmt, curPrice, slippage, slippageCalc, height, lastBlock.timestamp, amDiff, prDiff))]
311311 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEm, lpId, poolStatus, commonState, amDiff, prDiff, inAmId, inPrId)
312312 }
313313 }
314314
315315
316316 func validateMatcherOrderAllowed (order) = {
317317 let cfg = getPoolConfig()
318318 let amtAsId = cfg[idxAmAsId]
319319 let prAsId = cfg[idxPrAsId]
320320 let poolStatus = parseIntValue(cfg[idxPoolSt])
321321 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
322322 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
323323 let accAmtAsBalance = getAccBalance(amtAsId)
324324 let accPrAsBalance = getAccBalance(prAsId)
325325 let curPriceX18 = if ((order.orderType == Buy))
326326 then privateCalcPrice(amtAsDcm, prAsDcm, (accAmtAsBalance + order.amount), accPrAsBalance)
327327 else privateCalcPrice(amtAsDcm, prAsDcm, (accAmtAsBalance - order.amount), accPrAsBalance)
328328 let curPrice = fromX18(curPriceX18, scale8)
329329 if (if (if (isGlobalShutdown())
330330 then true
331331 else (poolStatus == PoolMatcherDis))
332332 then true
333333 else (poolStatus == PoolShutdown))
334334 then throw("Admin blocked")
335335 else {
336336 let orAmtAsset = order.assetPair.amountAsset
337337 let orAmtAsStr = if ((orAmtAsset == unit))
338338 then "WAVES"
339339 else toBase58String(value(orAmtAsset))
340340 let orPrAsset = order.assetPair.priceAsset
341341 let orPrAsStr = if ((orPrAsset == unit))
342342 then "WAVES"
343343 else toBase58String(value(orPrAsset))
344344 if (if ((orAmtAsStr != amtAsId))
345345 then true
346346 else (orPrAsStr != prAsId))
347347 then throw("Wr assets")
348348 else {
349349 let orderPrice = order.price
350350 let priceDcm = fraction(scale8, prAsDcm, amtAsDcm)
351351 let castOrderPrice = toScale(orderPrice, scale8, priceDcm)
352352 let isOrderPriceValid = if ((order.orderType == Buy))
353353 then (curPrice >= castOrderPrice)
354354 else (castOrderPrice >= curPrice)
355355 true
356356 }
357357 }
358358 }
359359
360360
361361 func commonGet (i) = if ((size(i.payments) != 1))
362362 then throw("1 pmnt expected")
363363 else {
364364 let pmt = value(i.payments[0])
365365 let pmtAssetId = value(pmt.assetId)
366366 let pmtAmt = pmt.amount
367367 let res = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
368368 let outAmAmt = res._1
369369 let outPrAmt = res._2
370370 let poolStatus = parseIntValue(res._9)
371371 let state = res._10
372372 if (if (isGlobalShutdown())
373373 then true
374374 else (poolStatus == PoolShutdown))
375375 then throw(("Admion blocked: " + toString(poolStatus)))
376376 else $Tuple5(outAmAmt, outPrAmt, pmtAmt, pmtAssetId, state)
377377 }
378378
379379
380380 func commonPut (caller,txId,amAsPmt,prAsPmt,slippage,emitLp,isOneAsset,pmtAmt,pmtId) = {
381381 let r = estimatePutOperation(txId, slippage, value(amAsPmt).amount, value(amAsPmt).assetId, value(prAsPmt).amount, value(prAsPmt).assetId, caller, false, emitLp, isOneAsset, pmtAmt, pmtId)
382382 let status = parseIntValue(r._8)
383383 if (if (if (isGlobalShutdown())
384384 then true
385385 else (status == PoolPutDis))
386386 then true
387387 else (status == PoolShutdown))
388388 then throw(("Admin blocked: " + toString(status)))
389389 else r
390390 }
391391
392392
393393 @Callable(i)
394394 func constructor (factoryContract,managerPublicKey) = if ((i.caller != this))
395395 then throw("permission denied")
396396 else [StringEntry(keyFactCntr(), factoryContract), StringEntry(keyManPubKey(), managerPublicKey)]
397397
398398
399399
400400 @Callable(i)
401401 func put (slip,autoStake) = {
402402 let factCfg = getFactoryConfig()
403403 let stakingCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactStakCntr]), "Wr st addr")
404404 let slipCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactSlippCntr]), "Wr sl addr")
405405 if ((0 > slip))
406406 then throw("Invalid slippage.")
407407 else if ((size(i.payments) != 2))
408408 then throw("2 pmnts expected")
409409 else {
410410 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, "")
411411 let emitLpAmt = estPut._2
412412 let lpAssetId = estPut._7
413413 let state = estPut._9
414414 let amDiff = estPut._10
415415 let prDiff = estPut._11
416416 let amId = estPut._12
417417 let prId = estPut._13
418418 let emitInv = invoke(factoryContract, "emit", [emitLpAmt], nil)
419419 if ((emitInv == emitInv))
420420 then {
421421 let slippageAInv = if ((amDiff > 0))
422422 then invoke(slipCntr, "put", nil, [AttachedPayment(amId, amDiff)])
423423 else nil
424424 if ((slippageAInv == slippageAInv))
425425 then {
426426 let slippagePInv = if ((prDiff > 0))
427427 then invoke(slipCntr, "put", nil, [AttachedPayment(prId, prDiff)])
428428 else nil
429429 if ((slippagePInv == slippagePInv))
430430 then {
431431 let lpTrnsfr = if (autoStake)
432432 then {
433433 let slpStakeInv = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
434434 if ((slpStakeInv == slpStakeInv))
435435 then nil
436436 else throw("Strict value is not equal to itself.")
437437 }
438438 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
439439 (state ++ lpTrnsfr)
440440 }
441441 else throw("Strict value is not equal to itself.")
442442 }
443443 else throw("Strict value is not equal to itself.")
444444 }
445445 else throw("Strict value is not equal to itself.")
446446 }
447447 }
448448
449449
450450
451451 @Callable(i)
452452 func putOneTkn (amAssetPart,prAssetPart,outLp,slippage,autoStake) = {
453453 let cfg = getFactoryConfig()
454454 let stakingCntr = valueOrErrorMessage(addressFromString(cfg[idxFactStakCntr]), "Wr st addr")
455455 let slipCntr = valueOrErrorMessage(addressFromString(cfg[idxFactSlippCntr]), "Wr sl addr")
456456 let gwxCntr = valueOrErrorMessage(addressFromString(cfg[idxFactGwxRewCntr]), "Wr gwx addr")
457457 let poolCfg = getPoolConfig()
458458 let amId = poolCfg[idxAmAsId]
459459 let prId = poolCfg[idxPrAsId]
460460 let amDcm = parseIntValue(poolCfg[idxAmtAsDcm])
461461 let prDcm = parseIntValue(poolCfg[idxPriceAsDcm])
462462 if (if (if (if ((0 >= slippage))
463463 then true
464464 else (0 >= amAssetPart))
465465 then true
466466 else (0 >= prAssetPart))
467467 then true
468468 else (0 >= outLp))
469469 then throw("Wrong params")
470470 else if ((size(i.payments) != 1))
471471 then throw("1 pmnt expected")
472472 else {
473473 let pmt = value(i.payments[0])
474474 let pmtAssetId = toBase58String(value(pmt.assetId))
475475 let pmtAmt = pmt.amount
476476 let amBalance = getAccBalance(amId)
477477 let prBalance = getAccBalance(prId)
478- let $t02322223607 = if ((pmtAssetId == amId))
478+ let $t02322223602 = if ((pmtAssetId == amId))
479479 then $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
480480 else if ((pmtAssetId == prId))
481481 then $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
482- else throw("unexpected pmtAssetId")
483- let amBalanceNow = $t02322223607._1
484- let prBalanceNow = $t02322223607._2
485- let virtSwapInAm = $t02322223607._3
486- let virtSwapOutPr = $t02322223607._4
487- let virtSwapInPr = $t02322223607._5
488- let virtSwapOutAm = $t02322223607._6
482+ else throw("wrong pmtAssetId")
483+ let amBalanceNow = $t02322223602._1
484+ let prBalanceNow = $t02322223602._2
485+ let virtSwapInAm = $t02322223602._3
486+ let virtSwapOutPr = $t02322223602._4
487+ let virtSwapInPr = $t02322223602._5
488+ let virtSwapOutAm = $t02322223602._6
489489 let dCur = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
490490 let dNew = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
491491 let dCurBIG = parseBigIntValue(asString(dCur))
492492 let dNewBIG = parseBigIntValue(asString(dNew))
493493 let D0vsD1 = validateAbsDiff(dNewBIG, dCurBIG, toBigInt(1000))
494494 if ((D0vsD1 == D0vsD1))
495495 then {
496496 let estPut = commonPut(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), 50000000000, true, true, pmtAmt, pmtAssetId)
497497 let estimLP = estPut._2
498498 let lpAssetId = estPut._7
499499 let state = estPut._9
500500 let amDiff = estPut._10
501501 let prDiff = estPut._11
502502 let lpCalcRes = validateAbsDiff(toBigInt(estimLP), toBigInt(outLp), toBigInt(slippage))
503503 let emitLpAmt = toInt(lpCalcRes._2)
504504 let emitInv = invoke(factoryContract, "emit", [emitLpAmt], nil)
505505 if ((emitInv == emitInv))
506506 then {
507507 let slippageAInv = if ((amDiff > 0))
508508 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
509509 else nil
510510 if ((slippageAInv == slippageAInv))
511511 then {
512512 let slippagePInv = if ((prDiff > 0))
513513 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
514514 else nil
515515 if ((slippagePInv == slippagePInv))
516516 then {
517517 let lpTrnsfr = if (autoStake)
518518 then {
519519 let slpStakeInv = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
520520 if ((slpStakeInv == slpStakeInv))
521521 then nil
522522 else throw("Strict value is not equal to itself.")
523523 }
524524 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
525525 (state ++ lpTrnsfr)
526526 }
527527 else throw("Strict value is not equal to itself.")
528528 }
529529 else throw("Strict value is not equal to itself.")
530530 }
531531 else throw("Strict value is not equal to itself.")
532532 }
533533 else throw("Strict value is not equal to itself.")
534534 }
535535 }
536536
537537
538538
539539 @Callable(i)
540540 func putForFree (maxSlippage) = if ((0 > maxSlippage))
541541 then throw("Invalid slippage")
542542 else if ((size(i.payments) != 2))
543543 then throw("2 payments expected")
544544 else {
545545 let estPut = commonPut(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(value(i.payments[0]).assetId, value(i.payments[0]).amount), i.payments[1], maxSlippage, false, false, 0, "")
546546 estPut._9
547547 }
548548
549549
550550
551551 @Callable(i)
552552 func get () = {
553553 let res = commonGet(i)
554554 let outAmtAmt = res._1
555555 let outPrAmt = res._2
556556 let pmtAmt = res._3
557557 let pmtAssetId = res._4
558558 let state = res._5
559559 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
560560 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
561561 then state
562562 else throw("Strict value is not equal to itself.")
563563 }
564564
565565
566566
567567 @Callable(i)
568568 func getOneTkn (amAssetSwap,prAssetSwap,outAmount,outAssetId,slippage) = if ((size(i.payments) != 1))
569569 then throw("1 payment expected")
570570 else {
571571 let cfg = getPoolConfig()
572572 let lpId = cfg[idxLPAsId]
573573 let amId = cfg[idxAmAsId]
574574 let prId = cfg[idxPrAsId]
575575 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
576576 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
577577 let poolStatus = cfg[idxPoolSt]
578578 let fcfg = getFactoryConfig()
579579 let gwxCntr = valueOrErrorMessage(addressFromString(fcfg[idxFactGwxRewCntr]), "Wr sl addr")
580580 if (if ((outAssetId != amId))
581581 then (outAssetId != prId)
582582 else false)
583583 then throw("Wr out as")
584584 else {
585585 let resultAssetId = if ((outAssetId == amId))
586586 then amId
587587 else prId
588588 let pmt = value(i.payments[0])
589589 let userAddress = i.caller
590590 let txId58 = toBase58String(i.transactionId)
591591 let pmtAssetId = value(pmt.assetId)
592592 let pmtAmt = pmt.amount
593593 if (if (if (if ((0 > slippage))
594594 then true
595595 else (0 > amAssetSwap))
596596 then true
597597 else (0 > prAssetSwap))
598598 then true
599599 else (0 > outAmount))
600600 then throw("Wrong params")
601601 else if ((lpId != toBase58String(pmtAssetId)))
602602 then throw("Invalid LP")
603603 else {
604604 let r = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
605605 let estimAmAmt = r._1
606606 let estimPrAmt = r._2
607607 let amBalance = getAccBalance(amId)
608- let amBalaceWithGet = (amBalance - estimAmAmt)
609608 let prBalance = getAccBalance(prId)
610- let prBalaceWithGet = (prBalance - estimPrAmt)
611- let invLeft = invoke(gwxCntr, "calcD", [toString(amBalaceWithGet), toString(prBalaceWithGet), "50", "100000000", "1"], nil)
612- let resultTuple = if ((outAssetId == amId))
609+ let $t02826828752 = if ((outAssetId == amId))
610+ then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), (outAmount - estimAmAmt), prAssetSwap, 0, 0, (estimAmAmt + amAssetSwap))
611+ else if ((outAssetId == prId))
612+ then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, (outAmount - estimPrAmt), amAssetSwap, (estimPrAmt + prAssetSwap))
613+ else throw("wrong outAssetId")
614+ let amBalanceNow = $t02826828752._1
615+ let prBalanceNow = $t02826828752._2
616+ let virtSwapInAm = $t02826828752._3
617+ let virtSwapOutPr = $t02826828752._4
618+ let virtSwapInPr = $t02826828752._5
619+ let virtSwapOutAm = $t02826828752._6
620+ let totalGet = $t02826828752._7
621+ let invLeft = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
622+ let invRight = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
623+ let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(invRight)), parseBigIntValue(asString(invLeft)), toBigInt(1000))
624+ if ((D0vsD1 == D0vsD1))
613625 then {
614- let amAssetDiff = (outAmount - estimAmAmt)
615- let invRight = invoke(gwxCntr, "calcD", [toString((amBalaceWithGet - amAssetDiff)), toString((prBalaceWithGet + prAssetSwap)), "50", "100000000", "1"], nil)
616- let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(invRight)), parseBigIntValue(asString(invLeft)), toBigInt(1000))
617- if ((D0vsD1 != D0vsD1))
618- then throw()
619- else {
620- let resultAmt = (estimAmAmt + amAssetSwap)
621- let lpCalcRes = validateAbsDiff(toBigInt(resultAmt), toBigInt(outAmount), toBigInt(slippage))
622- $Tuple2(toInt(lpCalcRes._2), 0)
626+ let amount2Return = validateAbsDiff(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
627+ if ((amount2Return == amount2Return))
628+ then {
629+ let resultTuple = if ((outAssetId == amId))
630+ then $Tuple2(toInt(amount2Return._2), 0)
631+ else $Tuple2(0, toInt(amount2Return._2))
632+ let curPriceX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
633+ let curPrice = fromX18(curPriceX18, scale8)
634+ let state = [ScriptTransfer(userAddress, if ((resultAssetId == amId))
635+ then resultTuple._1
636+ else resultTuple._2, if ((resultAssetId == "WAVES"))
637+ then unit
638+ else fromBase58String(resultAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(resultTuple._1, resultTuple._2, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
639+ if ((state == state))
640+ then {
641+ let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
642+ if ((burn == burn))
643+ then state
644+ else throw("Strict value is not equal to itself.")
645+ }
646+ else throw("Strict value is not equal to itself.")
623647 }
624- }
625- else {
626- let prAssetDiff = (outAmount - estimPrAmt)
627- let invRight = invoke(gwxCntr, "calcD", [toString((amBalaceWithGet + amAssetSwap)), toString((prBalaceWithGet - prAssetDiff)), "50", "100000000", "1"], nil)
628- let D0vsD1 = validateAbsDiff(parseBigIntValue(asString(invRight)), parseBigIntValue(asString(invLeft)), toBigInt(1000))
629- if ((D0vsD1 != D0vsD1))
630- then throw()
631- else {
632- let resultAmt = (estimPrAmt + prAssetSwap)
633- let lpCalcRes = validateAbsDiff(toBigInt(resultAmt), toBigInt(outAmount), toBigInt(slippage))
634- $Tuple2(0, toInt(lpCalcRes._2))
635- }
636- }
637- let curPriceX18 = calcPriceBigInt(toX18(prBalance, prDcm), toX18(amBalance, amDcm))
638- let curPrice = fromX18(curPriceX18, scale8)
639- let state = [ScriptTransfer(userAddress, if ((resultAssetId == amId))
640- then resultTuple._1
641- else resultTuple._2, if ((resultAssetId == "WAVES"))
642- then unit
643- else fromBase58String(resultAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(resultTuple._1, resultTuple._2, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
644- if ((state == state))
645- then {
646- let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
647- if ((burn == burn))
648- then state
649648 else throw("Strict value is not equal to itself.")
650649 }
651650 else throw("Strict value is not equal to itself.")
652651 }
653652 }
654653 }
655654
656655
657656
658657 @Callable(i)
659658 func getNoLess (noLessThenAmtAsset,noLessThenPriceAsset) = {
660659 let res = commonGet(i)
661660 let outAmAmt = res._1
662661 let outPrAmt = res._2
663662 let pmtAmt = res._3
664663 let pmtAssetId = res._4
665664 let state = res._5
666665 if ((noLessThenAmtAsset > outAmAmt))
667666 then throw(((("Failed: " + toString(outAmAmt)) + " < ") + toString(noLessThenAmtAsset)))
668667 else if ((noLessThenPriceAsset > outPrAmt))
669668 then throw(((("Failed: " + toString(outPrAmt)) + " < ") + toString(noLessThenPriceAsset)))
670669 else {
671670 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
672671 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
673672 then state
674673 else throw("Strict value is not equal to itself.")
675674 }
676675 }
677676
678677
679678
680679 @Callable(i)
681680 func unstakeAndGet (amount) = {
682681 let checkPayments = if ((size(i.payments) != 0))
683682 then throw("No pmnts expected")
684683 else true
685684 if ((checkPayments == checkPayments))
686685 then {
687686 let cfg = getPoolConfig()
688687 let factoryCfg = getFactoryConfig()
689688 let lpAssetId = fromBase58String(cfg[idxLPAsId])
690689 let stakingContract = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
691690 let unstakeInv = invoke(stakingContract, "unstake", [toBase58String(lpAssetId), amount], nil)
692691 if ((unstakeInv == unstakeInv))
693692 then {
694693 let r = estimateGetOperation(toBase58String(i.transactionId), toBase58String(lpAssetId), amount, i.caller)
695694 let poolStatus = parseIntValue(r._9)
696695 let state = r._10
697696 let checkPoolStatus = if (if (isGlobalShutdown())
698697 then true
699698 else (poolStatus == PoolShutdown))
700699 then throw(("Admin blocked: " + toString(poolStatus)))
701700 else true
702701 if ((checkPoolStatus == checkPoolStatus))
703702 then {
704703 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
705704 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
706705 then state
707706 else throw("Strict value is not equal to itself.")
708707 }
709708 else throw("Strict value is not equal to itself.")
710709 }
711710 else throw("Strict value is not equal to itself.")
712711 }
713712 else throw("Strict value is not equal to itself.")
714713 }
715714
716715
717716
718717 @Callable(i)
719718 func activate (amtAssetStr,priceAssetStr) = if ((toString(i.caller) != toString(factoryContract)))
720719 then throw("permissions denied")
721720 else $Tuple2([StringEntry(keyAmtAsset(), amtAssetStr), StringEntry(keyPriceAsset(), priceAssetStr)], "success")
722721
723722
724723
725724 @Callable(i)
726725 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, getPoolConfig())
727726
728727
729728
730729 @Callable(i)
731730 func getAccBalanceWrapperREADONLY (assetId) = $Tuple2(nil, getAccBalance(assetId))
732731
733732
734733
735734 @Callable(i)
736735 func calcPricesWrapperREADONLY (amAmt,prAmt,lpAmt) = {
737736 let prices = calcPrices(amAmt, prAmt, lpAmt)
738737 $Tuple2(nil, [toString(prices[0]), toString(prices[1]), toString(prices[2])])
739738 }
740739
741740
742741
743742 @Callable(i)
744743 func fromX18WrapperREADONLY (val,resultScaleMult) = $Tuple2(nil, fromX18(parseBigIntValue(val), resultScaleMult))
745744
746745
747746
748747 @Callable(i)
749748 func toX18WrapperREADONLY (origVal,origScaleMult) = $Tuple2(nil, toString(toX18(origVal, origScaleMult)))
750749
751750
752751
753752 @Callable(i)
754753 func calcPriceBigIntWrapperREADONLY (prAmtX18,amAmtX18) = $Tuple2(nil, toString(calcPriceBigInt(parseBigIntValue(prAmtX18), parseBigIntValue(amAmtX18))))
755754
756755
757756
758757 @Callable(i)
759758 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, ""))
760759
761760
762761
763762 @Callable(i)
764763 func estimateGetOperationWrapperREADONLY (txId58,pmtAsId,pmtLpAmt,usrAddr) = {
765764 let res = estimateGetOperation(txId58, pmtAsId, pmtLpAmt, addressFromStringValue(usrAddr))
766765 $Tuple2(nil, $Tuple10(res._1, res._2, res._3, res._4, res._5, res._6, res._7, toString(res._8), res._9, res._10))
767766 }
768767
769768
770769 @Verifier(tx)
771770 func verify () = match tx {
772771 case order: Order =>
773772 let mtchPub = getMatcherPubOrFail()
774773 let orV = validateMatcherOrderAllowed(order)
775774 let sndrV = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
776775 let mtchV = sigVerify(order.bodyBytes, order.proofs[1], mtchPub)
777776 if (if (if (orV)
778777 then sndrV
779778 else false)
780779 then mtchV
781780 else false)
782781 then true
783782 else throwOrderError(orV, sndrV, mtchV)
784783 case _ =>
785784 let admin = valueOrElse(getString(this, keyManPubKey()), EMPTY)
786785 if ((admin == EMPTY))
787786 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
788787 else sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(admin))
789788 }
790789

github/deemru/w8io/169f3d6 
93.25 ms