tx · Dj6My6m64KDiGwvarr9cz13pyMB1Gy4TXgBU2DWFo9dj

3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT:  -0.01400000 Waves

2021.12.23 04:24 [1846245] smart account 3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT > SELF 0.00000000 Waves

{ "type": 13, "id": "Dj6My6m64KDiGwvarr9cz13pyMB1Gy4TXgBU2DWFo9dj", "fee": 1400000, "feeAssetId": null, "timestamp": 1640222742231, "version": 1, "sender": "3NAefciWv6f9fWvEXdGgpHfanJFG8HqfjuT", "senderPublicKey": "D1BL65meykxFZTCuq7jq9HSGLLnWvQamQPUNrguW5w39", "proofs": [ "2U9m16xyxYRDx4BAYUyzeDRzq7EKALNnGe7J8a5guf6fc4TN6qq4EWKnR2oUJ9BgpjvJ7t6usd98R7NYAcwiDkTn" ], "script": "base64:AAIFAAAAAAAAAGoIAhIECgIICBIECgIBBBIFCgMBAQQSAwoBARIAEgYKBAEBAQgSBAoCAQESAwoBARIECgIICBIAEgMKAQgSBQoDAQEBEgQKAggBEgQKAgEBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEIAAAAPwAAAAAKbFBkZWNpbWFscwAAAAAAAAAACAAAAAAGc2NhbGU4AAAAAAAF9eEAAAAAAAxzY2FsZThCaWdJbnQJAAE2AAAAAQAAAAAABfXhAAAAAAAJY2FsY0Vycm9yCQABNgAAAAEAAAAAAAAPQkAAAAAAB3NjYWxlMTgJAAE2AAAAAQAN4Lazp2QAAAAAAAAKemVyb0JpZ0ludAkAATYAAAABAAAAAAAAAAAAAAAAAAlvbmVCaWdJbnQJAAE2AAAAAQAAAAAAAAAAAQAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAAAAAAKUG9vbEFjdGl2ZQAAAAAAAAAAAQAAAAAPUG9vbFB1dERpc2FibGVkAAAAAAAAAAACAAAAABNQb29sTWF0Y2hlckRpc2FibGVkAAAAAAAAAAADAAAAAAxQb29sU2h1dGRvd24AAAAA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AJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAVvcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAVvcmRlcgAAAA9zZW5kZXJQdWJsaWNLZXkEAAAADG1hdGNoZXJWYWxpZAkAAfQAAAADCAUAAAAFb3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAVvcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACm1hdGNoZXJQdWIDAwMFAAAACm9yZGVyVmFsaWQFAAAAC3NlbmRlclZhbGlkBwUAAAAMbWF0Y2hlclZhbGlkBwYJAQAAAA90aHJvd09yZGVyRXJyb3IAAAADBQAAAApvcmRlclZhbGlkBQAAAAtzZW5kZXJWYWxpZAUAAAAMbWF0Y2hlclZhbGlkBAAAAA1tYW5hZ2VyUHVibGljCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMJAQAAABNrZXlNYW5hZ2VyUHVibGljS2V5AAAAAAUAAAAFRU1QVFkDCQAAAAAAAAIFAAAADW1hbmFnZXJQdWJsaWMFAAAABUVNUFRZCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAJAAJZAAAAAQUAAAANbWFuYWdlclB1YmxpY6ncwW0=", "chainId": 84, "height": 1846245, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Bmu3RLbt32kvff6EZBCEPZgJEHAWdXkxW381hVDiUSQg Next: 2AVhqgZdK7yK9H5A72uY9trzgVU1JLLkzHY8fAePkJKx Diff:
OldNewDifferences
462462 let prAdiff = prAssetSwapX18
463463 let amAdiff = (pmtAmtX18 - amAssetSwapX18)
464464 let dSwap = calcD((toBigInt(amBalance) + toBigInt(fromX18(amAdiff, amDcm))), (toBigInt(prBalance) - toBigInt(fromX18(prAdiff, prDcm))), 5000000000)
465- if (true)
466- then throw(((((((((((("dCur = " + toString(dCur)) + " dNew = ") + toString(dSwap)) + " amBalanceX18 + amAdiff = ") + toString((amBalance + fromX18(amAdiff, amDcm)))) + " prBalanceX18 - prAdiff= ") + toString((prBalance - fromX18(prAdiff, amDcm)))) + "amBalanceX18 = ") + toString(amBalance)) + "prBalanceX18 = ") + toString(prBalance)))
467- else if ((dSwap > dCur))
468- then throw("Incorrect argiments passed. Deposit lead to D decrease.")
469- else true
465+ true
470466 }
471467 else {
472468 let pmtPrX18 = toX18(pmtAmt, prDcm)
473469 let prAdiff = (prAssetSwapX18 - pmtPrX18)
474470 let amAdiff = amAssetSwapX18
475- let dNew = calcD((toBigInt(amBalance) - toBigInt(fromX18(amAdiff, amDcm))), (toBigInt(prBalance) + toBigInt(fromX18(prAdiff, prDcm))), 50)
476- if ((dNew > dCur))
477- then throw("Wrong arguments passed. D decreased.")
478- else true
471+ let dSwap = calcD((toBigInt(amBalance) - toBigInt(fromX18(amAdiff, amDcm))), (toBigInt(prBalance) + toBigInt(fromX18(prAdiff, prDcm))), 50)
472+ true
479473 }
480474 if (!(isValid))
481475 then throw("Errors.")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let lPdecimals = 8
55
66 let scale8 = 100000000
77
88 let scale8BigInt = toBigInt(100000000)
99
1010 let calcError = toBigInt(1000000)
1111
1212 let scale18 = toBigInt(1000000000000000000)
1313
1414 let zeroBigInt = toBigInt(0)
1515
1616 let oneBigInt = toBigInt(1)
1717
1818 let SEP = "__"
1919
2020 let EMPTY = ""
2121
2222 let PoolActive = 1
2323
2424 let PoolPutDisabled = 2
2525
2626 let PoolMatcherDisabled = 3
2727
2828 let PoolShutdown = 4
2929
3030 let idxPoolAddress = 1
3131
3232 let idxPoolStatus = 2
3333
3434 let idxLPAsId = 3
3535
3636 let idxAmAsId = 4
3737
3838 let idxPrAsId = 5
3939
4040 let idxAmtAsDcm = 6
4141
4242 let idxPriceAsDcm = 7
4343
4444 let idxIAmtAsId = 8
4545
4646 let idxIPriceAsId = 9
4747
4848 let idxFactStakCntr = 1
4949
5050 let idxFactSlippCntr = 7
5151
5252 func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), scale18, toBigInt(origScaleMult))
5353
5454
5555 func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), scale18))
5656
5757
5858 func toScale (amt,resScale,curScale) = fraction(amt, resScale, curScale)
5959
6060
6161 func abs (val) = if ((zeroBigInt > val))
6262 then -(val)
6363 else val
6464
6565
6666 func keyFactCntr () = "%s__factoryContract"
6767
6868
6969 func keyManagerPublicKey () = "%s__managerPublicKey"
7070
7171
7272 func keyPriceLast () = "%s%s__price__last"
7373
7474
7575 func keyPriceHistory (h,timestamp) = makeString(["%s%s%d%d__price__history", toString(h), toString(timestamp)], SEP)
7676
7777
7878 func keyPutActionByUser (userAddress,txId) = ((("%s%s%s__P__" + userAddress) + "__") + txId)
7979
8080
8181 func keyGetActionByUser (userAddress,txId) = ((("%s%s%s__G__" + userAddress) + "__") + txId)
8282
8383
8484 func keyAmtAsset () = "%s__amountAsset"
8585
8686
8787 func keyPriceAsset () = "%s__priceAsset"
8888
8989
9090 func keyFactoryConfig () = "%s__factoryConfig"
9191
9292
9393 func keyMatcherPub () = "%s%s__matcher__publicKey"
9494
9595
9696 func keyPoolConfig (iAmtAsset,iPriceAsset) = (((("%d%d%s__" + iAmtAsset) + "__") + iPriceAsset) + "__config")
9797
9898
9999 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
100100
101101
102102 func keyAllPoolsShutdown () = "%s__shutdown"
103103
104104
105105 func keyPoolWeight (contractAddress) = ("%s%s__poolWeight__" + contractAddress)
106106
107107
108108 func throwOrderError (orderValid,senderValid,matcherValid) = throw(((((("order validation failed: orderValid=" + toString(orderValid)) + " senderValid=") + toString(senderValid)) + " matcherValid=") + toString(matcherValid)))
109109
110110
111111 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
112112
113113
114114 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
115115
116116
117117 let factoryContract = addressFromStringValue(getStringOrFail(this, keyFactCntr()))
118118
119119 func isGlobalShutdown () = valueOrElse(getBoolean(factoryContract, keyAllPoolsShutdown()), false)
120120
121121
122122 func getMatcherPubOrFail () = fromBase58String(getStringOrFail(factoryContract, keyMatcherPub()))
123123
124124
125125 func getPoolConfig () = {
126126 let amtAs = getStringOrFail(this, keyAmtAsset())
127127 let priceAs = getStringOrFail(this, keyPriceAsset())
128128 let iPriceAs = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(priceAs))
129129 let iAmtAs = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(amtAs))
130130 split(getStringOrFail(factoryContract, keyPoolConfig(toString(iAmtAs), toString(iPriceAs))), SEP)
131131 }
132132
133133
134134 func getFactoryConfig () = split(getStringOrFail(factoryContract, keyFactoryConfig()), SEP)
135135
136136
137137 func dataPutActionInfo (inAmtAssetAmt,inPriceAssetAmt,outLpAmt,price,slippageByUser,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(slippageByUser), toString(slippageReal), toString(txHeight), toString(txTimestamp), toString(slipageAmAmt), toString(slipagePrAmt)], SEP)
138138
139139
140140 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)
141141
142142
143143 func getAccBalance (assetId) = if ((assetId == "WAVES"))
144144 then wavesBalance(this).available
145145 else assetBalance(this, fromBase58String(assetId))
146146
147147
148148 func calcPriceBigInt (prAmtX18,amAmtX18) = fraction(prAmtX18, scale18, amAmtX18)
149149
150150
151151 func privateCalcPrice (amAssetDcm,prAssetDcm,amAmt,prAmt) = {
152152 let amtAsAmtX18 = toX18(amAmt, amAssetDcm)
153153 let prAsAmtX18 = toX18(prAmt, prAssetDcm)
154154 calcPriceBigInt(prAsAmtX18, amtAsAmtX18)
155155 }
156156
157157
158158 func calcPrices (amAmt,prAmt,lpAmt) = {
159159 let cfg = getPoolConfig()
160160 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
161161 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
162162 let priceX18 = privateCalcPrice(amtAsDcm, prAsDcm, amAmt, prAmt)
163163 let amAmtX18 = toX18(amAmt, amtAsDcm)
164164 let prAmtX18 = toX18(prAmt, prAsDcm)
165165 let lpAmtX18 = toX18(lpAmt, scale8)
166166 let lpPrInAmAsX18 = calcPriceBigInt(amAmtX18, lpAmtX18)
167167 let lpPrInPrAsX18 = calcPriceBigInt(prAmtX18, lpAmtX18)
168168 [priceX18, lpPrInAmAsX18, lpPrInPrAsX18]
169169 }
170170
171171
172172 func calculatePrices (amAmt,prAmt,lpAmt) = {
173173 let prices = calcPrices(amAmt, prAmt, lpAmt)
174174 [fromX18(prices[0], scale8), fromX18(prices[1], scale8), fromX18(prices[2], scale8)]
175175 }
176176
177177
178178 func estimateGetOperation (txId58,pmtAssetId,pmtLpAmt,userAddress) = {
179179 let cfg = getPoolConfig()
180180 let lpId = cfg[idxLPAsId]
181181 let amId = cfg[idxAmAsId]
182182 let prId = cfg[idxPrAsId]
183183 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
184184 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
185185 let poolStatus = cfg[idxPoolStatus]
186186 let lpEmission = valueOrErrorMessage(assetInfo(fromBase58String(lpId)), (("Asset " + lpId) + " doesn't exist")).quantity
187187 if ((lpId != pmtAssetId))
188188 then throw("Invalid asset passed.")
189189 else {
190190 let amBalance = getAccBalance(amId)
191191 let amBalanceX18 = toX18(amBalance, amDcm)
192192 let prBalance = getAccBalance(prId)
193193 let prBalanceX18 = toX18(prBalance, prDcm)
194194 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
195195 let curPrice = fromX18(curPriceX18, scale8)
196196 let pmtLpAmtX18 = toX18(pmtLpAmt, scale8)
197197 let lpEmissionX18 = toX18(lpEmission, scale8)
198198 let outAmAmtX18 = fraction(amBalanceX18, pmtLpAmtX18, lpEmissionX18)
199199 let outPrAmtX18 = fraction(prBalanceX18, pmtLpAmtX18, lpEmissionX18)
200200 let outAmAmt = fromX18(outAmAmtX18, amDcm)
201201 let outPrAmt = fromX18(outPrAmtX18, prDcm)
202202 let state = if ((txId58 == ""))
203203 then nil
204204 else [ScriptTransfer(userAddress, outAmAmt, if ((amId == "WAVES"))
205205 then unit
206206 else fromBase58String(amId)), ScriptTransfer(userAddress, outPrAmt, if ((prId == "WAVES"))
207207 then unit
208208 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)]
209209 $Tuple10(outAmAmt, outPrAmt, amId, prId, amBalance, prBalance, lpEmission, curPriceX18, poolStatus, state)
210210 }
211211 }
212212
213213
214214 func estimatePutOperation (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,userAddress,isEvaluate,emitLp) = {
215215 let cfg = getPoolConfig()
216216 let lpId = fromBase58String(cfg[idxLPAsId])
217217 let amIdStr = cfg[idxAmAsId]
218218 let prIdStr = cfg[idxPrAsId]
219219 let inAmIdStr = cfg[idxIAmtAsId]
220220 let inPrIdStr = cfg[idxIPriceAsId]
221221 let amtDcm = parseIntValue(cfg[idxAmtAsDcm])
222222 let priceDcm = parseIntValue(cfg[idxPriceAsDcm])
223223 let poolStatus = cfg[idxPoolStatus]
224224 let lpEmission = valueOrErrorMessage(assetInfo(lpId), "Wrong lp asset.").quantity
225225 let amBalance = if (isEvaluate)
226226 then getAccBalance(amIdStr)
227227 else (getAccBalance(amIdStr) - inAmAmt)
228228 let prBalance = if (isEvaluate)
229229 then getAccBalance(prIdStr)
230230 else (getAccBalance(prIdStr) - inPrAmt)
231231 let inAmAssetAmtX18 = toX18(inAmAmt, amtDcm)
232232 let inPrAssetAmtX18 = toX18(inPrAmt, priceDcm)
233233 let userPriceX18 = calcPriceBigInt(inPrAssetAmtX18, inAmAssetAmtX18)
234234 let amBalanceX18 = toX18(amBalance, amtDcm)
235235 let prBalanceX18 = toX18(prBalance, priceDcm)
236236 let res = if ((lpEmission == 0))
237237 then {
238238 let curPriceX18 = zeroBigInt
239239 let slippageX18 = zeroBigInt
240240 let lpAmtX18 = pow((inAmAssetAmtX18 * inPrAssetAmtX18), 0, toBigInt(5), 1, 0, DOWN)
241241 $Tuple5(fromX18(lpAmtX18, scale8), fromX18(inAmAssetAmtX18, amtDcm), fromX18(inPrAssetAmtX18, priceDcm), calcPriceBigInt((prBalanceX18 + inPrAssetAmtX18), (amBalanceX18 + inAmAssetAmtX18)), slippageX18)
242242 }
243243 else {
244244 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
245245 let slippageRealX18 = fraction(abs((curPriceX18 - userPriceX18)), scale18, curPriceX18)
246246 let slippageX18 = toX18(slippage, scale8)
247247 if (if ((curPriceX18 != zeroBigInt))
248248 then (slippageRealX18 > slippageX18)
249249 else false)
250250 then throw(((("Price slippage " + toString(slippageRealX18)) + " exceeded ") + toString(slippageX18)))
251251 else {
252252 let lpEmissionX18 = toX18(lpEmission, scale8)
253253 let prViaAmX18 = fraction(inAmAssetAmtX18, curPriceX18, scale18)
254254 let amViaPrX18 = fraction(inPrAssetAmtX18, scale18, curPriceX18)
255255 let expectedAmts = if ((prViaAmX18 > inPrAssetAmtX18))
256256 then $Tuple2(amViaPrX18, inPrAssetAmtX18)
257257 else $Tuple2(inAmAssetAmtX18, prViaAmX18)
258258 let expAmtAssetAmtX18 = expectedAmts._1
259259 let expPriceAssetAmtX18 = expectedAmts._2
260260 let lpAmtX18 = fraction(lpEmissionX18, expPriceAssetAmtX18, prBalanceX18)
261261 $Tuple5(fromX18(lpAmtX18, scale8), fromX18(expAmtAssetAmtX18, amtDcm), fromX18(expPriceAssetAmtX18, priceDcm), curPriceX18, slippageX18)
262262 }
263263 }
264264 let calcLpAmt = res._1
265265 let calcAmAssetPmt = res._2
266266 let calcPrAssetPmt = res._3
267267 let curPrice = fromX18(res._4, scale8)
268268 let slippageCalc = fromX18(res._5, scale8)
269269 if ((0 >= calcLpAmt))
270270 then throw("LP is less than zero.")
271271 else {
272272 let emitLpAmt = if (!(emitLp))
273273 then 0
274274 else calcLpAmt
275275 let amDiff = (inAmAmt - calcAmAssetPmt)
276276 let prDiff = (inPrAmt - calcPrAssetPmt)
277277 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))]
278278 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEmission, lpId, poolStatus, commonState, amDiff, prDiff, inAmId, inPrId)
279279 }
280280 }
281281
282282
283283 func validateMatcherOrderAllowed (order) = {
284284 let cfg = getPoolConfig()
285285 let amtAssetId = cfg[idxAmAsId]
286286 let priceAssetId = cfg[idxPrAsId]
287287 let poolStatus = parseIntValue(cfg[idxPoolStatus])
288288 let amtAssetDcm = parseIntValue(cfg[idxAmtAsDcm])
289289 let priceAssetDcm = parseIntValue(cfg[idxPriceAsDcm])
290290 let accAmtAssetBalance = getAccBalance(amtAssetId)
291291 let accPriceAssetBalance = getAccBalance(priceAssetId)
292292 let curPriceX18 = if ((order.orderType == Buy))
293293 then privateCalcPrice(amtAssetDcm, priceAssetDcm, (accAmtAssetBalance + order.amount), accPriceAssetBalance)
294294 else privateCalcPrice(amtAssetDcm, priceAssetDcm, (accAmtAssetBalance - order.amount), accPriceAssetBalance)
295295 let curPrice = fromX18(curPriceX18, scale8)
296296 if (if (if (isGlobalShutdown())
297297 then true
298298 else (poolStatus == PoolMatcherDisabled))
299299 then true
300300 else (poolStatus == PoolShutdown))
301301 then throw("Exchange operations disabled")
302302 else {
303303 let orderAmtAsset = order.assetPair.amountAsset
304304 let orderAmtAssetStr = if ((orderAmtAsset == unit))
305305 then "WAVES"
306306 else toBase58String(value(orderAmtAsset))
307307 let orderPriceAsset = order.assetPair.priceAsset
308308 let orderPriceAssetStr = if ((orderPriceAsset == unit))
309309 then "WAVES"
310310 else toBase58String(value(orderPriceAsset))
311311 if (if ((orderAmtAssetStr != amtAssetId))
312312 then true
313313 else (orderPriceAssetStr != priceAssetId))
314314 then throw("Wrong order assets.")
315315 else {
316316 let orderPrice = order.price
317317 let priceDcm = fraction(scale8, priceAssetDcm, amtAssetDcm)
318318 let castedOrderPrice = toScale(orderPrice, scale8, priceDcm)
319319 let isOrderPriceValid = if ((order.orderType == Buy))
320320 then (curPrice >= castedOrderPrice)
321321 else (castedOrderPrice >= curPrice)
322322 true
323323 }
324324 }
325325 }
326326
327327
328328 func commonGet (i) = if ((size(i.payments) != 1))
329329 then throw("exactly 1 payment is expected")
330330 else {
331331 let pmt = value(i.payments[0])
332332 let pmtAssetId = value(pmt.assetId)
333333 let pmtAmt = pmt.amount
334334 let res = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
335335 let outAmAmt = res._1
336336 let outPrAmt = res._2
337337 let poolStatus = parseIntValue(res._9)
338338 let state = res._10
339339 if (if (isGlobalShutdown())
340340 then true
341341 else (poolStatus == PoolShutdown))
342342 then throw(("Get operation is blocked by admin. Status = " + toString(poolStatus)))
343343 else $Tuple5(outAmAmt, outPrAmt, pmtAmt, pmtAssetId, state)
344344 }
345345
346346
347347 func commonPut (caller,txId,amAsPmt,prAsPmt,slippage,emitLp) = {
348348 let estPut = estimatePutOperation(txId, slippage, value(amAsPmt).amount, value(amAsPmt).assetId, value(prAsPmt).amount, value(prAsPmt).assetId, caller, false, emitLp)
349349 let status = parseIntValue(estPut._8)
350350 if (if (if (isGlobalShutdown())
351351 then true
352352 else (status == PoolPutDisabled))
353353 then true
354354 else (status == PoolShutdown))
355355 then throw(("Put operation is blocked by admin. Status = " + toString(status)))
356356 else estPut
357357 }
358358
359359
360360 func calcD (a,b,lVal) = {
361361 let l = toBigInt(lVal)
362362 let val4 = toBigInt(4)
363363 let val2 = toBigInt(2)
364364 let val3 = toBigInt(3)
365365 let ApB = (a + b)
366366 let AmB = (a * b)
367367 let l41 = ((val4 * l) - oneBigInt)
368368 let lApBpow = pow((l * ApB), 0, val2, 0, 0, DOWN)
369369 let AmbL41pow = (AmB * pow((l41 / val3), 0, val3, 0, 0, DOWN))
370370 let lAmpApb = ((l * AmB) * ApB)
371371 let rPart = (AmB * pow((AmbL41pow + lApBpow), 0, toBigInt(5), 1, 0, DOWN))
372372 let M = (val2 * pow((lAmpApb + rPart), 0, toBigInt(333333), 6, 0, DOWN))
373373 let divPart = (l41 / (val3 * M))
374374 (((toBigInt(-4) * AmB) * divPart) + M)
375375 }
376376
377377
378378 @Callable(i)
379379 func constructor (factoryContract,managerPublicKey) = if ((i.caller != this))
380380 then throw("permissions denied")
381381 else [StringEntry(keyFactCntr(), factoryContract), StringEntry(keyManagerPublicKey(), managerPublicKey)]
382382
383383
384384
385385 @Callable(i)
386386 func put (slip,autoStake) = {
387387 let factCfg = getFactoryConfig()
388388 let stakingCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactStakCntr]), "Incorrect staking address.")
389389 let slipCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactSlippCntr]), "Incorrect slippage address.")
390390 if ((0 > slip))
391391 then throw("Invalid slippage.")
392392 else if ((size(i.payments) != 2))
393393 then throw("2 payments are expected")
394394 else {
395395 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)
396396 let emitLpAmt = estPut._2
397397 let lpAssetId = estPut._7
398398 let state = estPut._9
399399 let amDiff = estPut._10
400400 let prDiff = estPut._11
401401 let amId = estPut._12
402402 let prId = estPut._13
403403 let emitInv = invoke(factoryContract, "emit", [emitLpAmt], nil)
404404 if ((emitInv == emitInv))
405405 then {
406406 let slippageAInv = if ((amDiff > 0))
407407 then invoke(slipCntr, "put", nil, [AttachedPayment(amId, amDiff)])
408408 else nil
409409 if ((slippageAInv == slippageAInv))
410410 then {
411411 let slippagePInv = if ((prDiff > 0))
412412 then invoke(slipCntr, "put", nil, [AttachedPayment(prId, prDiff)])
413413 else nil
414414 if ((slippagePInv == slippagePInv))
415415 then {
416416 let lpTrnsfr = if (autoStake)
417417 then {
418418 let slpStakeInv = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
419419 if ((slpStakeInv == slpStakeInv))
420420 then nil
421421 else throw("Strict value is not equal to itself.")
422422 }
423423 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
424424 (state ++ lpTrnsfr)
425425 }
426426 else throw("Strict value is not equal to itself.")
427427 }
428428 else throw("Strict value is not equal to itself.")
429429 }
430430 else throw("Strict value is not equal to itself.")
431431 }
432432 }
433433
434434
435435
436436 @Callable(i)
437437 func putOneTkn (inAmtAmount,inPrAmount,autoStake) = {
438438 let cfg = getFactoryConfig()
439439 let stakingCntr = valueOrErrorMessage(addressFromString(cfg[idxFactStakCntr]), "Wrong staking address")
440440 let slipCntr = valueOrErrorMessage(addressFromString(cfg[idxFactSlippCntr]), "Wrong slippage address")
441441 let poolCfg = getPoolConfig()
442442 let amId = poolCfg[idxAmAsId]
443443 let prId = poolCfg[idxPrAsId]
444444 let amDcm = parseIntValue(poolCfg[idxAmtAsDcm])
445445 let prDcm = parseIntValue(poolCfg[idxPriceAsDcm])
446446 if ((size(i.payments) != 1))
447447 then throw("exactly 1 payment is expected")
448448 else {
449449 let pmt = value(i.payments[0])
450450 let pmtAssetId = toBase58String(value(pmt.assetId))
451451 let pmtAmt = pmt.amount
452452 let amAssetSwapX18 = toX18(inAmtAmount, amDcm)
453453 let prAssetSwapX18 = toX18(inPrAmount, prDcm)
454454 let amBalance = getAccBalance(amId)
455455 let amBalanceX18 = toX18(amBalance, amDcm)
456456 let prBalance = getAccBalance(prId)
457457 let prBalanceX18 = toX18(prBalance, prDcm)
458458 let dCur = calcD(toBigInt(amBalance), toBigInt(prBalance), 5000000000)
459459 let isValid = if ((pmtAssetId == amId))
460460 then {
461461 let pmtAmtX18 = toX18(pmtAmt, amDcm)
462462 let prAdiff = prAssetSwapX18
463463 let amAdiff = (pmtAmtX18 - amAssetSwapX18)
464464 let dSwap = calcD((toBigInt(amBalance) + toBigInt(fromX18(amAdiff, amDcm))), (toBigInt(prBalance) - toBigInt(fromX18(prAdiff, prDcm))), 5000000000)
465- if (true)
466- then throw(((((((((((("dCur = " + toString(dCur)) + " dNew = ") + toString(dSwap)) + " amBalanceX18 + amAdiff = ") + toString((amBalance + fromX18(amAdiff, amDcm)))) + " prBalanceX18 - prAdiff= ") + toString((prBalance - fromX18(prAdiff, amDcm)))) + "amBalanceX18 = ") + toString(amBalance)) + "prBalanceX18 = ") + toString(prBalance)))
467- else if ((dSwap > dCur))
468- then throw("Incorrect argiments passed. Deposit lead to D decrease.")
469- else true
465+ true
470466 }
471467 else {
472468 let pmtPrX18 = toX18(pmtAmt, prDcm)
473469 let prAdiff = (prAssetSwapX18 - pmtPrX18)
474470 let amAdiff = amAssetSwapX18
475- let dNew = calcD((toBigInt(amBalance) - toBigInt(fromX18(amAdiff, amDcm))), (toBigInt(prBalance) + toBigInt(fromX18(prAdiff, prDcm))), 50)
476- if ((dNew > dCur))
477- then throw("Wrong arguments passed. D decreased.")
478- else true
471+ let dSwap = calcD((toBigInt(amBalance) - toBigInt(fromX18(amAdiff, amDcm))), (toBigInt(prBalance) + toBigInt(fromX18(prAdiff, prDcm))), 50)
472+ true
479473 }
480474 if (!(isValid))
481475 then throw("Errors.")
482476 else {
483477 let estPut = commonPut(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(fromBase58String(amId), inAmtAmount), AttachedPayment(fromBase58String(prId), inPrAmount), 50000000000, true)
484478 let emitLpAmt = estPut._2
485479 let lpAssetId = estPut._7
486480 let state = estPut._9
487481 let amDiff = estPut._10
488482 let prDiff = estPut._11
489483 let emitInv = invoke(factoryContract, "emit", [emitLpAmt], nil)
490484 if ((emitInv == emitInv))
491485 then {
492486 let slippageAInv = if ((amDiff > 0))
493487 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
494488 else nil
495489 if ((slippageAInv == slippageAInv))
496490 then {
497491 let slippagePInv = if ((prDiff > 0))
498492 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
499493 else nil
500494 if ((slippagePInv == slippagePInv))
501495 then {
502496 let lpTrnsfr = if (autoStake)
503497 then {
504498 let slpStakeInv = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
505499 if ((slpStakeInv == slpStakeInv))
506500 then nil
507501 else throw("Strict value is not equal to itself.")
508502 }
509503 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
510504 (state ++ lpTrnsfr)
511505 }
512506 else throw("Strict value is not equal to itself.")
513507 }
514508 else throw("Strict value is not equal to itself.")
515509 }
516510 else throw("Strict value is not equal to itself.")
517511 }
518512 }
519513 }
520514
521515
522516
523517 @Callable(i)
524518 func putForFree (maxSlippage) = if ((0 > maxSlippage))
525519 then throw("Invalid value passed")
526520 else if ((size(i.payments) != 2))
527521 then throw("exactly 2 payments are expected")
528522 else {
529523 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)
530524 estPut._9
531525 }
532526
533527
534528
535529 @Callable(i)
536530 func get () = {
537531 let res = commonGet(i)
538532 let outAmtAmt = res._1
539533 let outPrAmt = res._2
540534 let pmtAmt = res._3
541535 let pmtAssetId = res._4
542536 let state = res._5
543537 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
544538 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
545539 then state
546540 else throw("Strict value is not equal to itself.")
547541 }
548542
549543
550544
551545 @Callable(i)
552546 func getOneTkn (amAssetSwap,prAssetSwap,outAmount,outAssetId) = if ((size(i.payments) != 1))
553547 then throw("exactly 1 payment is expected")
554548 else {
555549 let cfg = getPoolConfig()
556550 let lpId = cfg[idxLPAsId]
557551 let amId = cfg[idxAmAsId]
558552 let prId = cfg[idxPrAsId]
559553 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
560554 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
561555 let poolStatus = cfg[idxPoolStatus]
562556 if (if ((outAssetId != amId))
563557 then (outAssetId != prId)
564558 else false)
565559 then throw(("Incorrect out asset id passed: " + outAssetId))
566560 else {
567561 let resultAssetId = if ((outAssetId == amId))
568562 then amId
569563 else prId
570564 let resultAmtAmount = if ((outAssetId == amId))
571565 then outAmount
572566 else 0
573567 let resultPrAmount = if ((outAssetId == prId))
574568 then outAmount
575569 else 0
576570 let pmt = value(i.payments[0])
577571 let userAddress = i.caller
578572 let txId58 = toBase58String(i.transactionId)
579573 let pmtAssetId = value(pmt.assetId)
580574 let pmtAmt = pmt.amount
581575 if ((lpId != toBase58String(pmtAssetId)))
582576 then throw("Invalid asset passed.")
583577 else {
584578 let amAssetSwapX18 = toX18(amAssetSwap, amDcm)
585579 let prAssetSwapX18 = toX18(prAssetSwap, prDcm)
586580 let swapPriceX18 = calcPriceBigInt(prAssetSwapX18, amAssetSwapX18)
587581 let r = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
588582 let outAmAmt = r._1
589583 let outPrAmt = r._2
590584 let totalR = if ((outAssetId == amId))
591585 then {
592586 let prSwopPartInAmountAsset = (resultAmtAmount - outAmAmt)
593587 let convRes = fraction(toX18(prSwopPartInAmountAsset, amDcm), swapPriceX18, scale18)
594588 let prAssetDiff = fraction((convRes - prAssetSwapX18), scale8BigInt, prAssetSwapX18)
595589 let amtAsRes = fromX18(fraction(toX18(outPrAmt, prDcm), scale18, swapPriceX18), amDcm)
596590 if (if ((prAssetDiff > calcError))
597591 then true
598592 else (-(calcError) > prAssetDiff))
599593 then throw(((("Slippage exeeded the value " + toString(calcError)) + " and equal to ") + toString(prAssetDiff)))
600594 else (amtAsRes + outAmAmt)
601595 }
602596 else {
603597 let amSwopPartInPriceAsset = (resultPrAmount - outPrAmt)
604598 let convRes = fraction(toX18(amSwopPartInPriceAsset, amDcm), scale18, swapPriceX18)
605599 let prAsRes = fromX18(fraction(toX18(outAmAmt, amDcm), swapPriceX18, scale18), prDcm)
606600 let amAssetDiff = fraction((convRes - amAssetSwapX18), scale8BigInt, amAssetSwapX18)
607601 if (if ((amAssetDiff > calcError))
608602 then true
609603 else (-(calcError) > amAssetDiff))
610604 then throw(((("Slippage exeeded the value " + toString(calcError)) + " and equal to ") + toString(amAssetDiff)))
611605 else (prAsRes + outPrAmt)
612606 }
613607 let amBalance = getAccBalance(amId)
614608 let amBalanceX18 = toX18(amBalance, amDcm)
615609 let prBalance = getAccBalance(prId)
616610 let prBalanceX18 = toX18(prBalance, prDcm)
617611 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
618612 let curPrice = fromX18(curPriceX18, scale8)
619613 let state = [ScriptTransfer(userAddress, totalR, if ((resultAssetId == "WAVES"))
620614 then unit
621615 else fromBase58String(resultAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(resultAmtAmount, resultPrAmount, pmtAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
622616 let burn = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
623617 if ((burn == burn))
624618 then state
625619 else throw("Strict value is not equal to itself.")
626620 }
627621 }
628622 }
629623
630624
631625
632626 @Callable(i)
633627 func getNoLess (noLessThenAmtAsset,noLessThenPriceAsset) = {
634628 let res = commonGet(i)
635629 let outAmAmt = res._1
636630 let outPrAmt = res._2
637631 let pmtAmt = res._3
638632 let pmtAssetId = res._4
639633 let state = res._5
640634 if ((noLessThenAmtAsset > outAmAmt))
641635 then throw(((("noLessThenAmtAsset failed: " + toString(outAmAmt)) + " < ") + toString(noLessThenAmtAsset)))
642636 else if ((noLessThenPriceAsset > outPrAmt))
643637 then throw(((("noLessThenPriceAsset failed: " + toString(outPrAmt)) + " < ") + toString(noLessThenPriceAsset)))
644638 else {
645639 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
646640 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
647641 then state
648642 else throw("Strict value is not equal to itself.")
649643 }
650644 }
651645
652646
653647
654648 @Callable(i)
655649 func unstakeAndGet (amount) = {
656650 let checkPayments = if ((size(i.payments) != 0))
657651 then throw("No payments are expected")
658652 else true
659653 if ((checkPayments == checkPayments))
660654 then {
661655 let cfg = getPoolConfig()
662656 let factoryCfg = getFactoryConfig()
663657 let lpAssetId = fromBase58String(cfg[idxLPAsId])
664658 let stakingContract = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Error. Incorrect staking address.")
665659 let unstakeInv = invoke(stakingContract, "unstake", [toBase58String(lpAssetId), amount], nil)
666660 if ((unstakeInv == unstakeInv))
667661 then {
668662 let res = estimateGetOperation(toBase58String(i.transactionId), toBase58String(lpAssetId), amount, i.caller)
669663 let poolStatus = parseIntValue(res._9)
670664 let state = res._10
671665 let checkPoolStatus = if (if (isGlobalShutdown())
672666 then true
673667 else (poolStatus == PoolShutdown))
674668 then throw(("Get operation is blocked by admin. Status = " + toString(poolStatus)))
675669 else true
676670 if ((checkPoolStatus == checkPoolStatus))
677671 then {
678672 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
679673 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
680674 then state
681675 else throw("Strict value is not equal to itself.")
682676 }
683677 else throw("Strict value is not equal to itself.")
684678 }
685679 else throw("Strict value is not equal to itself.")
686680 }
687681 else throw("Strict value is not equal to itself.")
688682 }
689683
690684
691685
692686 @Callable(i)
693687 func activate (amtAssetStr,priceAssetStr) = if ((toString(i.caller) != toString(factoryContract)))
694688 then throw("permissions denied")
695689 else $Tuple2([StringEntry(keyAmtAsset(), amtAssetStr), StringEntry(keyPriceAsset(), priceAssetStr)], "success")
696690
697691
698692
699693 @Callable(i)
700694 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, getPoolConfig())
701695
702696
703697
704698 @Callable(i)
705699 func getAccBalanceWrapperREADONLY (assetId) = $Tuple2(nil, getAccBalance(assetId))
706700
707701
708702
709703 @Callable(i)
710704 func calcPricesWrapperREADONLY (amAmt,prAmt,lpAmt) = {
711705 let prices = calcPrices(amAmt, prAmt, lpAmt)
712706 $Tuple2(nil, [toString(prices[0]), toString(prices[1]), toString(prices[2])])
713707 }
714708
715709
716710
717711 @Callable(i)
718712 func fromX18WrapperREADONLY (val,resultScaleMult) = $Tuple2(nil, fromX18(parseBigIntValue(val), resultScaleMult))
719713
720714
721715
722716 @Callable(i)
723717 func toX18WrapperREADONLY (origVal,origScaleMult) = $Tuple2(nil, toString(toX18(origVal, origScaleMult)))
724718
725719
726720
727721 @Callable(i)
728722 func calcPriceBigIntWrapperREADONLY (prAmtX18,amAmtX18) = $Tuple2(nil, toString(calcPriceBigInt(parseBigIntValue(prAmtX18), parseBigIntValue(amAmtX18))))
729723
730724
731725
732726 @Callable(i)
733727 func estimatePutOperationWrapperREADONLY (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,userAddress,isEvaluate,emitLp) = $Tuple2(nil, estimatePutOperation(txId58, slippage, inAmAmt, inAmId, inPrAmt, inPrId, userAddress, isEvaluate, emitLp))
734728
735729
736730
737731 @Callable(i)
738732 func estimateGetOperationWrapperREADONLY (txId58,pmtAssetId,pmtLpAmt,userAddress) = {
739733 let res = estimateGetOperation(txId58, pmtAssetId, pmtLpAmt, addressFromStringValue(userAddress))
740734 $Tuple2(nil, $Tuple10(res._1, res._2, res._3, res._4, res._5, res._6, res._7, toString(res._8), res._9, res._10))
741735 }
742736
743737
744738 @Verifier(tx)
745739 func verify () = match tx {
746740 case order: Order =>
747741 let matcherPub = getMatcherPubOrFail()
748742 let orderValid = validateMatcherOrderAllowed(order)
749743 let senderValid = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
750744 let matcherValid = sigVerify(order.bodyBytes, order.proofs[1], matcherPub)
751745 if (if (if (orderValid)
752746 then senderValid
753747 else false)
754748 then matcherValid
755749 else false)
756750 then true
757751 else throwOrderError(orderValid, senderValid, matcherValid)
758752 case _ =>
759753 let managerPublic = valueOrElse(getString(this, keyManagerPublicKey()), EMPTY)
760754 if ((managerPublic == EMPTY))
761755 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
762756 else sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(managerPublic))
763757 }
764758

github/deemru/w8io/026f985 
70.56 ms