tx · GNHraBT3fAmc8BmGJJZJa3zuKaj3gpsUb2HBAuH3Xwpp

3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA:  -0.02900000 Waves

2022.08.30 12:07 [2206984] smart account 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA > SELF 0.00000000 Waves

{ "type": 13, "id": "GNHraBT3fAmc8BmGJJZJa3zuKaj3gpsUb2HBAuH3Xwpp", "fee": 2900000, "feeAssetId": null, "timestamp": 1661850447873, "version": 2, "chainId": 84, "sender": "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA", "senderPublicKey": "35yd3qw1gxKDxKwGAykHN9fANbXNWwseaUwbWDj24o3x", "proofs": [ "47MDmZs3Xkt5HvZfeVBjgBnitFkc3UnYCJ9w86kX3Y4VRrYcRX73uJdejG5hvBqUdYKWiMAqBf9RGZqQTD2PHZqa" ], "script": "base64:BgJ/CAISAwoBCBIDCgEIEgASBAoCAQQSBwoFAQEBAQQSAwoBARIAEgcKBQEBAQgBEgQKAgEBEgMKAQESBAoCCAgSBAoCCAgSBAoCCAESABIDCgEIEgUKAwEBARIECgIIARIECgIBARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCFEABnNjYWxlOACAwtcvAAxzY2FsZThCaWdJbnQJALYCAQCAwtcvAAdzY2FsZTE4CQC2AgEAgICQu7rWrfANAAh0aG91c2FuZADoBwAKemVyb0JpZ0ludAkAtgIBAAAACW9uZUJpZ0ludAkAtgIBAAEACnNsaXBwYWdlNEQJALYCAQkAZQIFBnNjYWxlOAkAaQIJAGgCBQZzY2FsZTgAAQUGc2NhbGU4AAVBbXVsdAIDMTAwAAVEY29udgIBMQADU0VQAgJfXwAFRU1QVFkCAAAKUG9vbEFjdGl2ZQABAApQb29sUHV0RGlzAAIADlBvb2xNYXRjaGVyRGlzAAMADFBvb2xTaHV0ZG93bgAEAA5pZHhQb29sQWRkcmVzcwABAAlpZHhQb29sU3QAAgAJaWR4TFBBc0lkAAMACWlkeEFtQ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ib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXmsFb49", "height": 2206984, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: tPf4ksgoCwRFPeNbEni32JhpqRVWJhpTG8KG5W8MtJu Next: 76B3JyPdR35s4XxTzgQNys4RzUZarvg8nshhFUsNQFpA Diff:
OldNewDifferences
640640 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
641641 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
642642 if (true)
643- then throw(((toString(amBalanceNow) + ", ") + toString(prBalanceNow)))
643+ then throw(((((toString(amBalanceNow) + ", ") + toString(prBalanceNow)) + ", ") + str(D0)))
644644 else {
645645 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
646646 if ((D0vsD1 == D0vsD1))
768768 let estimPrAmt = r._2
769769 let amBalance = getAccBalance(amId)
770770 let prBalance = getAccBalance(prId)
771- let $t03036430824 = if ((outAssetId == amId))
771+ let $t03038230842 = if ((outAssetId == amId))
772772 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
773773 else if ((outAssetId == prId))
774774 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
775775 else throw("wrong outAssetId")
776- let amBalanceNow = $t03036430824._1
777- let prBalanceNow = $t03036430824._2
778- let virtSwapInAm = $t03036430824._3
779- let virtSwapOutPr = $t03036430824._4
780- let virtSwapInPr = $t03036430824._5
781- let virtSwapOutAm = $t03036430824._6
782- let totalGetRaw = $t03036430824._7
776+ let amBalanceNow = $t03038230842._1
777+ let prBalanceNow = $t03038230842._2
778+ let virtSwapInAm = $t03038230842._3
779+ let virtSwapOutPr = $t03038230842._4
780+ let virtSwapInPr = $t03038230842._5
781+ let virtSwapOutAm = $t03038230842._6
782+ let totalGetRaw = $t03038230842._7
783783 if (if ((0 > virtSwapInAm))
784784 then true
785785 else (0 > virtSwapInPr))
794794 let finalRes = vad(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
795795 if ((finalRes == finalRes))
796796 then {
797- let $t03157131675 = if ((outAssetId == amId))
797+ let $t03158931693 = if ((outAssetId == amId))
798798 then $Tuple2(toInt(finalRes._2), 0)
799799 else $Tuple2(0, toInt(finalRes._2))
800- let outAm = $t03157131675._1
801- let outPr = $t03157131675._2
800+ let outAm = $t03158931693._1
801+ let outPr = $t03158931693._2
802802 let totalAmount = (outAm + outPr)
803803 let feeAmount = (totalGetRaw - totalGet)
804804 let outAssetIdOrWaves = if ((outAssetId == "WAVES"))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
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 thousand = 1000
1111
1212 let zeroBigInt = toBigInt(0)
1313
1414 let oneBigInt = toBigInt(1)
1515
1616 let slippage4D = toBigInt((scale8 - ((scale8 * 1) / scale8)))
1717
1818 let Amult = "100"
1919
2020 let Dconv = "1"
2121
2222 let SEP = "__"
2323
2424 let EMPTY = ""
2525
2626 let PoolActive = 1
2727
2828 let PoolPutDis = 2
2929
3030 let PoolMatcherDis = 3
3131
3232 let PoolShutdown = 4
3333
3434 let idxPoolAddress = 1
3535
3636 let idxPoolSt = 2
3737
3838 let idxLPAsId = 3
3939
4040 let idxAmAsId = 4
4141
4242 let idxPrAsId = 5
4343
4444 let idxAmtAsDcm = 6
4545
4646 let idxPriceAsDcm = 7
4747
4848 let idxIAmtAsId = 8
4949
5050 let idxIPriceAsId = 9
5151
5252 let idxFactStakCntr = 1
5353
5454 let idxFactSlippCntr = 7
5555
5656 let idxFactGwxRewCntr = 10
5757
5858 let feePermilleDefault = 0
5959
6060 func t1 (origVal,origScaleMult) = fraction(toBigInt(origVal), scale18, toBigInt(origScaleMult))
6161
6262
6363 func f1 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), scale18))
6464
6565
6666 func ts (amt,resScale,curScale) = fraction(amt, resScale, curScale)
6767
6868
6969 func abs (val) = if ((zeroBigInt > val))
7070 then -(val)
7171 else val
7272
7373
7474 func fc () = "%s__factoryContract"
7575
7676
7777 func mpk () = "%s__managerPublicKey"
7878
7979
8080 func pmpk () = "%s__pendingManagerPublicKey"
8181
8282
8383 func pl () = "%s%s__price__last"
8484
8585
8686 func ph (h,t) = makeString(["%s%s%d%d__price__history", toString(h), toString(t)], SEP)
8787
8888
8989 func pau (ua,txId) = ((("%s%s%s__P__" + ua) + "__") + txId)
9090
9191
9292 func gau (ua,txId) = ((("%s%s%s__G__" + ua) + "__") + txId)
9393
9494
9595 func aa () = "%s__amountAsset"
9696
9797
9898 func pa () = "%s__priceAsset"
9999
100100
101101 func amp () = "%s__amp"
102102
103103
104104 func ada () = "%s__addonAddr"
105105
106106
107107 let keyFeePermille = "%s__feePermille"
108108
109109 let feePermille = valueOrElse(getInteger(this, keyFeePermille), feePermilleDefault)
110110
111111 func fcfg () = "%s__factoryConfig"
112112
113113
114114 func mtpk () = "%s%s__matcher__publicKey"
115115
116116
117117 func pc (iAmtAs,iPrAs) = (((("%d%d%s__" + iAmtAs) + "__") + iPrAs) + "__config")
118118
119119
120120 func mba (bAStr) = ("%s%s%s__mappings__baseAsset2internalId__" + bAStr)
121121
122122
123123 func aps () = "%s__shutdown"
124124
125125
126126 func keyAllowedLpStableScriptHash () = "%s__allowedLpStableScriptHash"
127127
128128
129129 func toe (orV,sendrV,matchV) = throw(((((("Failed: ordValid=" + toString(orV)) + " sndrValid=") + toString(sendrV)) + " mtchrValid=") + toString(matchV)))
130130
131131
132132 func str (val) = match val {
133133 case valStr: String =>
134134 valStr
135135 case _ =>
136136 throw("fail cast to String")
137137 }
138138
139139
140140 func strf (addr,key) = valueOrErrorMessage(getString(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
141141
142142
143143 func intf (addr,key) = valueOrErrorMessage(getInteger(addr, key), makeString(["mandatory ", toString(addr), ".", key, " not defined"], ""))
144144
145145
146146 let fca = addressFromStringValue(strf(this, fc()))
147147
148148 let A = strf(this, amp())
149149
150150 func igs () = valueOrElse(getBoolean(fca, aps()), false)
151151
152152
153153 func mp () = fromBase58String(strf(fca, mtpk()))
154154
155155
156156 let matcherAddress = addressFromPublicKey(mp())
157157
158158 func gpc () = {
159159 let amtAs = strf(this, aa())
160160 let priceAs = strf(this, pa())
161161 let iPriceAs = intf(fca, mba(priceAs))
162162 let iAmtAs = intf(fca, mba(amtAs))
163163 split(strf(fca, pc(toString(iAmtAs), toString(iPriceAs))), SEP)
164164 }
165165
166166
167167 func gfc () = split(strf(fca, fcfg()), SEP)
168168
169169
170170 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)
171171
172172
173173 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)
174174
175175
176176 func getAccBalance (assetId) = if ((assetId == "WAVES"))
177177 then wavesBalance(this).available
178178 else assetBalance(this, fromBase58String(assetId))
179179
180180
181181 func cpbi (prAmtX18,amAmtX18) = fraction(prAmtX18, scale18, amAmtX18)
182182
183183
184184 func vad (A1,A2,slippage) = {
185185 let diff = fraction((A1 - A2), scale8BigInt, A2)
186186 let pass = ((slippage - abs(diff)) > zeroBigInt)
187187 if (!(pass))
188188 then throw(("Big slpg: " + toString(diff)))
189189 else $Tuple2(pass, min([A1, A2]))
190190 }
191191
192192
193193 func vd (D1,D0,slpg) = {
194194 let diff = fraction(D0, scale8BigInt, D1)
195195 let fail = (slpg > diff)
196196 if (if (fail)
197197 then true
198198 else (D0 > D1))
199199 then throw(((((((toString(D0) + " ") + toString(D1)) + " ") + toString(diff)) + " ") + toString(slpg)))
200200 else fail
201201 }
202202
203203
204204 func pcp (amAssetDcm,prAssetDcm,amAmt,prAmt) = {
205205 let amtAsAmtX18 = t1(amAmt, amAssetDcm)
206206 let prAsAmtX18 = t1(prAmt, prAssetDcm)
207207 cpbi(prAsAmtX18, amtAsAmtX18)
208208 }
209209
210210
211211 func calcPrices (amAmt,prAmt,lpAmt) = {
212212 let cfg = gpc()
213213 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
214214 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
215215 let priceX18 = pcp(amtAsDcm, prAsDcm, amAmt, prAmt)
216216 let amAmtX18 = t1(amAmt, amtAsDcm)
217217 let prAmtX18 = t1(prAmt, prAsDcm)
218218 let lpAmtX18 = t1(lpAmt, scale8)
219219 let lpPrInAmAsX18 = cpbi(amAmtX18, lpAmtX18)
220220 let lpPrInPrAsX18 = cpbi(prAmtX18, lpAmtX18)
221221 [priceX18, lpPrInAmAsX18, lpPrInPrAsX18]
222222 }
223223
224224
225225 func calculatePrices (amAmt,prAmt,lpAmt) = {
226226 let p = calcPrices(amAmt, prAmt, lpAmt)
227227 [f1(p[0], scale8), f1(p[1], scale8), f1(p[2], scale8)]
228228 }
229229
230230
231231 func ego (txId58,pmtAssetId,pmtLpAmt,userAddress) = {
232232 let cfg = gpc()
233233 let lpId = cfg[idxLPAsId]
234234 let amId = cfg[idxAmAsId]
235235 let prId = cfg[idxPrAsId]
236236 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
237237 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
238238 let sts = cfg[idxPoolSt]
239239 let lpEmiss = valueOrErrorMessage(assetInfo(fromBase58String(lpId)), "Wrong LP id").quantity
240240 if ((lpId != pmtAssetId))
241241 then throw("Wrong pmt asset")
242242 else {
243243 let amBalance = getAccBalance(amId)
244244 let amBalanceX18 = t1(amBalance, amDcm)
245245 let prBalance = getAccBalance(prId)
246246 let prBalanceX18 = t1(prBalance, prDcm)
247247 let curPriceX18 = cpbi(prBalanceX18, amBalanceX18)
248248 let curPrice = f1(curPriceX18, scale8)
249249 let pmtLpAmtX18 = t1(pmtLpAmt, scale8)
250250 let lpEmissX18 = t1(lpEmiss, scale8)
251251 let outAmAmtX18 = fraction(amBalanceX18, pmtLpAmtX18, lpEmissX18)
252252 let outPrAmtX18 = fraction(prBalanceX18, pmtLpAmtX18, lpEmissX18)
253253 let outAmAmt = f1(outAmAmtX18, amDcm)
254254 let outPrAmt = f1(outPrAmtX18, prDcm)
255255 let state = if ((txId58 == ""))
256256 then nil
257257 else [ScriptTransfer(userAddress, outAmAmt, if ((amId == "WAVES"))
258258 then unit
259259 else fromBase58String(amId)), ScriptTransfer(userAddress, outPrAmt, if ((prId == "WAVES"))
260260 then unit
261261 else fromBase58String(prId)), StringEntry(gau(toString(userAddress), txId58), dataGetActionInfo(outAmAmt, outPrAmt, pmtLpAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(pl(), curPrice), IntegerEntry(ph(height, lastBlock.timestamp), curPrice)]
262262 $Tuple10(outAmAmt, outPrAmt, amId, prId, amBalance, prBalance, lpEmiss, curPriceX18, sts, state)
263263 }
264264 }
265265
266266
267267 func epo (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,userAddress,isEval,emitLp,isOneAsset,pmtAmt,pmtId) = {
268268 let cfg = gpc()
269269 let lpId = fromBase58String(cfg[idxLPAsId])
270270 let amIdStr = cfg[idxAmAsId]
271271 let prIdStr = cfg[idxPrAsId]
272272 let inAmIdStr = cfg[idxIAmtAsId]
273273 let inPrIdStr = cfg[idxIPriceAsId]
274274 let amtDcm = parseIntValue(cfg[idxAmtAsDcm])
275275 let priceDcm = parseIntValue(cfg[idxPriceAsDcm])
276276 let sts = cfg[idxPoolSt]
277277 let lpEm = valueOrErrorMessage(assetInfo(lpId), "Wr lp as").quantity
278278 let amBalance = if (isEval)
279279 then getAccBalance(amIdStr)
280280 else if (if (isOneAsset)
281281 then (pmtId == amIdStr)
282282 else false)
283283 then (getAccBalance(amIdStr) - pmtAmt)
284284 else if (isOneAsset)
285285 then getAccBalance(amIdStr)
286286 else (getAccBalance(amIdStr) - inAmAmt)
287287 let prBalance = if (isEval)
288288 then getAccBalance(prIdStr)
289289 else if (if (isOneAsset)
290290 then (pmtId == prIdStr)
291291 else false)
292292 then (getAccBalance(prIdStr) - pmtAmt)
293293 else if (isOneAsset)
294294 then getAccBalance(prIdStr)
295295 else (getAccBalance(prIdStr) - inPrAmt)
296296 let inAmAssetAmtX18 = t1(inAmAmt, amtDcm)
297297 let inPrAssetAmtX18 = t1(inPrAmt, priceDcm)
298298 let userPriceX18 = cpbi(inPrAssetAmtX18, inAmAssetAmtX18)
299299 let amBalanceX18 = t1(amBalance, amtDcm)
300300 let prBalanceX18 = t1(prBalance, priceDcm)
301301 let r = if ((lpEm == 0))
302302 then {
303303 let curPriceX18 = zeroBigInt
304304 let slippageX18 = zeroBigInt
305305 let lpAmtX18 = pow((inAmAssetAmtX18 * inPrAssetAmtX18), 0, toBigInt(5), 1, 0, DOWN)
306306 $Tuple5(f1(lpAmtX18, scale8), f1(inAmAssetAmtX18, amtDcm), f1(inPrAssetAmtX18, priceDcm), cpbi((prBalanceX18 + inPrAssetAmtX18), (amBalanceX18 + inAmAssetAmtX18)), slippageX18)
307307 }
308308 else {
309309 let curPriceX18 = cpbi(prBalanceX18, amBalanceX18)
310310 let slippageRealX18 = fraction(abs((curPriceX18 - userPriceX18)), scale18, curPriceX18)
311311 let slippageX18 = t1(slippage, scale8)
312312 if (if ((curPriceX18 != zeroBigInt))
313313 then (slippageRealX18 > slippageX18)
314314 else false)
315315 then throw(((("Price slippage " + toString(slippageRealX18)) + " > ") + toString(slippageX18)))
316316 else {
317317 let lpEmissionX18 = t1(lpEm, scale8)
318318 let prViaAmX18 = fraction(inAmAssetAmtX18, curPriceX18, scale18)
319319 let amViaPrX18 = fraction(inPrAssetAmtX18, scale18, curPriceX18)
320320 let expectedAmts = if ((prViaAmX18 > inPrAssetAmtX18))
321321 then $Tuple2(amViaPrX18, inPrAssetAmtX18)
322322 else $Tuple2(inAmAssetAmtX18, prViaAmX18)
323323 let expAmtAssetAmtX18 = expectedAmts._1
324324 let expPriceAssetAmtX18 = expectedAmts._2
325325 let lpAmtX18 = fraction(lpEmissionX18, expPriceAssetAmtX18, prBalanceX18)
326326 $Tuple5(f1(lpAmtX18, scale8), f1(expAmtAssetAmtX18, amtDcm), f1(expPriceAssetAmtX18, priceDcm), curPriceX18, slippageX18)
327327 }
328328 }
329329 let calcLpAmt = r._1
330330 let calcAmAssetPmt = r._2
331331 let calcPrAssetPmt = r._3
332332 let curPrice = f1(r._4, scale8)
333333 let slippageCalc = f1(r._5, scale8)
334334 if ((0 >= calcLpAmt))
335335 then throw("LP <= 0")
336336 else {
337337 let emitLpAmt = if (!(emitLp))
338338 then 0
339339 else calcLpAmt
340340 let amDiff = (inAmAmt - calcAmAssetPmt)
341341 let prDiff = (inPrAmt - calcPrAssetPmt)
342342 let $t01558715932 = if (if (isOneAsset)
343343 then (pmtId == amIdStr)
344344 else false)
345345 then $Tuple2(pmtAmt, 0)
346346 else if (if (isOneAsset)
347347 then (pmtId == prIdStr)
348348 else false)
349349 then $Tuple2(0, pmtAmt)
350350 else $Tuple2(calcAmAssetPmt, calcPrAssetPmt)
351351 let writeAmAmt = $t01558715932._1
352352 let writePrAmt = $t01558715932._2
353353 let commonState = [IntegerEntry(pl(), curPrice), IntegerEntry(ph(height, lastBlock.timestamp), curPrice), StringEntry(pau(userAddress, txId58), dataPutActionInfo(writeAmAmt, writePrAmt, emitLpAmt, curPrice, slippage, slippageCalc, height, lastBlock.timestamp, amDiff, prDiff))]
354354 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEm, lpId, sts, commonState, amDiff, prDiff, inAmId, inPrId)
355355 }
356356 }
357357
358358
359359 func moa (order) = {
360360 let cfg = gpc()
361361 let amtAsId = cfg[idxAmAsId]
362362 let prAsId = cfg[idxPrAsId]
363363 let sts = parseIntValue(cfg[idxPoolSt])
364364 let amtAsDcm = parseIntValue(cfg[idxAmtAsDcm])
365365 let prAsDcm = parseIntValue(cfg[idxPriceAsDcm])
366366 let accAmtAsBalance = getAccBalance(amtAsId)
367367 let accPrAsBalance = getAccBalance(prAsId)
368368 let curPriceX18 = if ((order.orderType == Buy))
369369 then pcp(amtAsDcm, prAsDcm, (accAmtAsBalance + order.amount), accPrAsBalance)
370370 else pcp(amtAsDcm, prAsDcm, (accAmtAsBalance - order.amount), accPrAsBalance)
371371 let curPrice = f1(curPriceX18, scale8)
372372 if (if (if (igs())
373373 then true
374374 else (sts == PoolMatcherDis))
375375 then true
376376 else (sts == PoolShutdown))
377377 then throw("Admin blocked")
378378 else {
379379 let orAmtAsset = order.assetPair.amountAsset
380380 let orAmtAsStr = if ((orAmtAsset == unit))
381381 then "WAVES"
382382 else toBase58String(value(orAmtAsset))
383383 let orPrAsset = order.assetPair.priceAsset
384384 let orPrAsStr = if ((orPrAsset == unit))
385385 then "WAVES"
386386 else toBase58String(value(orPrAsset))
387387 if (if ((orAmtAsStr != amtAsId))
388388 then true
389389 else (orPrAsStr != prAsId))
390390 then throw("Wr assets")
391391 else {
392392 let orderPrice = order.price
393393 let priceDcm = fraction(scale8, prAsDcm, amtAsDcm)
394394 let castOrderPrice = ts(orderPrice, scale8, priceDcm)
395395 let isOrderPriceValid = if ((order.orderType == Buy))
396396 then (curPrice >= castOrderPrice)
397397 else (castOrderPrice >= curPrice)
398398 true
399399 }
400400 }
401401 }
402402
403403
404404 func cg (i) = if ((size(i.payments) != 1))
405405 then throw("1 pmnt exp")
406406 else {
407407 let pmt = value(i.payments[0])
408408 let pmtAssetId = value(pmt.assetId)
409409 let pmtAmt = pmt.amount
410410 let r = ego(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
411411 let outAmAmt = r._1
412412 let outPrAmt = r._2
413413 let sts = parseIntValue(r._9)
414414 let state = r._10
415415 if (if (igs())
416416 then true
417417 else (sts == PoolShutdown))
418418 then throw(("Admin blocked: " + toString(sts)))
419419 else $Tuple5(outAmAmt, outPrAmt, pmtAmt, pmtAssetId, state)
420420 }
421421
422422
423423 func cp (caller,txId,amAsPmt,prAsPmt,slippage,emitLp,isOneAsset,pmtAmt,pmtId) = {
424424 let r = epo(txId, slippage, value(amAsPmt).amount, value(amAsPmt).assetId, value(prAsPmt).amount, value(prAsPmt).assetId, caller, false, emitLp, isOneAsset, pmtAmt, pmtId)
425425 let sts = parseIntValue(r._8)
426426 if (if (if (igs())
427427 then true
428428 else (sts == PoolPutDis))
429429 then true
430430 else (sts == PoolShutdown))
431431 then throw(("Blocked:" + toString(sts)))
432432 else r
433433 }
434434
435435
436436 func takeFee (amount) = {
437437 let fee = fraction(amount, feePermille, thousand)
438438 $Tuple2((amount - fee), fee)
439439 }
440440
441441
442442 func m () = match getString(mpk()) {
443443 case s: String =>
444444 fromBase58String(s)
445445 case _: Unit =>
446446 unit
447447 case _ =>
448448 throw("Match error")
449449 }
450450
451451
452452 func pm () = match getString(pmpk()) {
453453 case s: String =>
454454 fromBase58String(s)
455455 case _: Unit =>
456456 unit
457457 case _ =>
458458 throw("Match error")
459459 }
460460
461461
462462 let pd = throw("Permission denied")
463463
464464 func mm (i) = match m() {
465465 case pk: ByteVector =>
466466 if ((i.callerPublicKey == pk))
467467 then true
468468 else pd
469469 case _: Unit =>
470470 if ((i.caller == this))
471471 then true
472472 else pd
473473 case _ =>
474474 throw("Match error")
475475 }
476476
477477
478478 @Callable(i)
479479 func constructor (fc) = {
480480 let c = mm(i)
481481 if ((c == c))
482482 then [StringEntry(fc(), fc)]
483483 else throw("Strict value is not equal to itself.")
484484 }
485485
486486
487487
488488 @Callable(i)
489489 func setManager (pendingManagerPublicKey) = {
490490 let c = mm(i)
491491 if ((c == c))
492492 then {
493493 let cm = fromBase58String(pendingManagerPublicKey)
494494 if ((cm == cm))
495495 then [StringEntry(pmpk(), pendingManagerPublicKey)]
496496 else throw("Strict value is not equal to itself.")
497497 }
498498 else throw("Strict value is not equal to itself.")
499499 }
500500
501501
502502
503503 @Callable(i)
504504 func confirmManager () = {
505505 let p = pm()
506506 let hpm = if (isDefined(p))
507507 then true
508508 else throw("No pending manager")
509509 if ((hpm == hpm))
510510 then {
511511 let cpm = if ((i.callerPublicKey == value(p)))
512512 then true
513513 else throw("You are not pending manager")
514514 if ((cpm == cpm))
515515 then [StringEntry(mpk(), toBase58String(value(p))), DeleteEntry(pmpk())]
516516 else throw("Strict value is not equal to itself.")
517517 }
518518 else throw("Strict value is not equal to itself.")
519519 }
520520
521521
522522
523523 @Callable(i)
524524 func put (slip,autoStake) = {
525525 let factCfg = gfc()
526526 let stakingCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactStakCntr]), "Wr st addr")
527527 let slipCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactSlippCntr]), "Wr sl addr")
528528 if ((0 > slip))
529529 then throw("Wrong slippage")
530530 else if ((size(i.payments) != 2))
531531 then throw("2 pmnts expd")
532532 else {
533533 let e = cp(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(value(i.payments[0]).assetId, value(i.payments[0]).amount), i.payments[1], slip, true, false, 0, "")
534534 let emitLpAmt = e._2
535535 let lpAssetId = e._7
536536 let state = e._9
537537 let amDiff = e._10
538538 let prDiff = e._11
539539 let amId = e._12
540540 let prId = e._13
541541 let r = invoke(fca, "emit", [emitLpAmt], nil)
542542 if ((r == r))
543543 then {
544544 let el = match r {
545545 case legacy: Address =>
546546 invoke(legacy, "emit", [emitLpAmt], nil)
547547 case _ =>
548548 unit
549549 }
550550 if ((el == el))
551551 then {
552552 let sa = if ((amDiff > 0))
553553 then invoke(slipCntr, "put", nil, [AttachedPayment(amId, amDiff)])
554554 else nil
555555 if ((sa == sa))
556556 then {
557557 let sp = if ((prDiff > 0))
558558 then invoke(slipCntr, "put", nil, [AttachedPayment(prId, prDiff)])
559559 else nil
560560 if ((sp == sp))
561561 then {
562562 let lpTrnsfr = if (autoStake)
563563 then {
564564 let ss = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
565565 if ((ss == ss))
566566 then nil
567567 else throw("Strict value is not equal to itself.")
568568 }
569569 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
570570 (state ++ lpTrnsfr)
571571 }
572572 else throw("Strict value is not equal to itself.")
573573 }
574574 else throw("Strict value is not equal to itself.")
575575 }
576576 else throw("Strict value is not equal to itself.")
577577 }
578578 else throw("Strict value is not equal to itself.")
579579 }
580580 }
581581
582582
583583
584584 @Callable(i)
585585 func putOneTkn (amAssetPart,prAssetPart,outLp,slippage,autoStake) = {
586586 let cfg = gfc()
587587 let stakingCntr = valueOrErrorMessage(addressFromString(cfg[idxFactStakCntr]), "Wr st addr")
588588 let slipCntr = valueOrErrorMessage(addressFromString(cfg[idxFactSlippCntr]), "Wr sl addr")
589589 let gwxCntr = valueOrErrorMessage(addressFromString(cfg[idxFactGwxRewCntr]), "Wr gwx addr")
590590 let poolCfg = gpc()
591591 let amId = poolCfg[idxAmAsId]
592592 let prId = poolCfg[idxPrAsId]
593593 let amDcm = parseIntValue(poolCfg[idxAmtAsDcm])
594594 let prDcm = parseIntValue(poolCfg[idxPriceAsDcm])
595595 let addon = valueOrElse(getString(this, ada()), "")
596596 let userAddress = if ((addon == toString(i.caller)))
597597 then i.originCaller
598598 else i.caller
599599 if (if (if (if ((0 >= slippage))
600600 then true
601601 else (0 >= amAssetPart))
602602 then true
603603 else (0 >= prAssetPart))
604604 then true
605605 else (0 >= outLp))
606606 then throw("Wrong params")
607607 else if ((size(i.payments) != 1))
608608 then throw("1 pmnt expd")
609609 else {
610610 let pmt = value(i.payments[0])
611611 let pmtAssetId = toBase58String(value(pmt.assetId))
612612 let paymentAmountRaw = pmt.amount
613613 let $t02454924601 = takeFee(paymentAmountRaw)
614614 let pmtAmt = $t02454924601._1
615615 let feeAmount = $t02454924601._2
616616 if ((10000000 > paymentAmountRaw))
617617 then throw("Wrong pmt amt")
618618 else {
619619 let amBalance = getAccBalance(amId)
620620 let prBalance = getAccBalance(prId)
621621 let $t02476125337 = if ((pmtAssetId == amId))
622622 then if (if ((pmtAmt > amBalance))
623623 then true
624624 else (amAssetPart > pmtAmt))
625625 then throw("invalid payment amount")
626626 else $Tuple6((amBalance - pmtAmt), prBalance, (pmtAmt - amAssetPart), prAssetPart, 0, 0)
627627 else if ((pmtAssetId == prId))
628628 then if (if ((pmtAmt > prBalance))
629629 then true
630630 else (prAssetPart > pmtAmt))
631631 then throw("invalid payment amount")
632632 else $Tuple6(amBalance, (prBalance - pmtAmt), 0, 0, (pmtAmt - prAssetPart), amAssetPart)
633633 else throw("wrong pmtAssetId")
634634 let amBalanceNow = $t02476125337._1
635635 let prBalanceNow = $t02476125337._2
636636 let virtSwapInAm = $t02476125337._3
637637 let virtSwapOutPr = $t02476125337._4
638638 let virtSwapInPr = $t02476125337._5
639639 let virtSwapOutAm = $t02476125337._6
640640 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
641641 let D1 = invoke(gwxCntr, "calcD", [toString(toBigInt(((amBalanceNow + virtSwapInAm) - virtSwapOutAm))), toString(toBigInt(((prBalanceNow + virtSwapInPr) - virtSwapOutPr))), A, Amult, Dconv], nil)
642642 if (true)
643- then throw(((toString(amBalanceNow) + ", ") + toString(prBalanceNow)))
643+ then throw(((((toString(amBalanceNow) + ", ") + toString(prBalanceNow)) + ", ") + str(D0)))
644644 else {
645645 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
646646 if ((D0vsD1 == D0vsD1))
647647 then {
648648 let estPut = cp(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(fromBase58String(amId), amAssetPart), AttachedPayment(fromBase58String(prId), prAssetPart), slippage, true, true, pmtAmt, pmtAssetId)
649649 let estimLP = estPut._2
650650 let lpAssetId = estPut._7
651651 let state = estPut._9
652652 let amDiff = estPut._10
653653 let prDiff = estPut._11
654654 let lpCalcRes = vad(toBigInt(estimLP), toBigInt(outLp), toBigInt(slippage))
655655 let emitLpAmt = toInt(lpCalcRes._2)
656656 let e = invoke(fca, "emit", [emitLpAmt], nil)
657657 if ((e == e))
658658 then {
659659 let el = match e {
660660 case legacy: Address =>
661661 invoke(legacy, "emit", [emitLpAmt], nil)
662662 case _ =>
663663 unit
664664 }
665665 if ((el == el))
666666 then {
667667 let sa = if ((amDiff > 0))
668668 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(amId), amDiff)])
669669 else nil
670670 if ((sa == sa))
671671 then {
672672 let sp = if ((prDiff > 0))
673673 then invoke(slipCntr, "put", nil, [AttachedPayment(fromBase58String(prId), prDiff)])
674674 else nil
675675 if ((sp == sp))
676676 then {
677677 let lpTrnsfr = if (autoStake)
678678 then {
679679 let ss = invoke(stakingCntr, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
680680 if ((ss == ss))
681681 then nil
682682 else throw("Strict value is not equal to itself.")
683683 }
684684 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
685685 let sendFeeToMatcher = if ((feeAmount > 0))
686686 then [ScriptTransfer(matcherAddress, feeAmount, fromBase58String(pmtAssetId))]
687687 else nil
688688 ((state ++ lpTrnsfr) ++ sendFeeToMatcher)
689689 }
690690 else throw("Strict value is not equal to itself.")
691691 }
692692 else throw("Strict value is not equal to itself.")
693693 }
694694 else throw("Strict value is not equal to itself.")
695695 }
696696 else throw("Strict value is not equal to itself.")
697697 }
698698 else throw("Strict value is not equal to itself.")
699699 }
700700 }
701701 }
702702 }
703703
704704
705705
706706 @Callable(i)
707707 func putForFree (maxSlpg) = if ((0 > maxSlpg))
708708 then throw("Wrong slpg")
709709 else if ((size(i.payments) != 2))
710710 then throw("2 pmnts expd")
711711 else {
712712 let estPut = cp(toString(i.caller), toBase58String(i.transactionId), AttachedPayment(value(i.payments[0]).assetId, value(i.payments[0]).amount), i.payments[1], maxSlpg, false, false, 0, "")
713713 estPut._9
714714 }
715715
716716
717717
718718 @Callable(i)
719719 func get () = {
720720 let r = cg(i)
721721 let outAmtAmt = r._1
722722 let outPrAmt = r._2
723723 let pmtAmt = r._3
724724 let pmtAssetId = r._4
725725 let state = r._5
726726 let b = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
727727 if ((b == b))
728728 then state
729729 else throw("Strict value is not equal to itself.")
730730 }
731731
732732
733733
734734 @Callable(i)
735735 func getOneTkn (exchResult,notUsed,outAmount,outAssetId,slippage) = if ((size(i.payments) != 1))
736736 then throw("1 pmnt expd")
737737 else {
738738 let cfg = gpc()
739739 let lpId = cfg[idxLPAsId]
740740 let amId = cfg[idxAmAsId]
741741 let prId = cfg[idxPrAsId]
742742 let amDcm = parseIntValue(cfg[idxAmtAsDcm])
743743 let prDcm = parseIntValue(cfg[idxPriceAsDcm])
744744 let sts = cfg[idxPoolSt]
745745 let factCfg = gfc()
746746 let gwxCntr = valueOrErrorMessage(addressFromString(factCfg[idxFactGwxRewCntr]), "Wr sl addr")
747747 let pmt = value(i.payments[0])
748748 let addon = valueOrElse(getString(this, ada()), "")
749749 let userAddress = if ((addon == toString(i.caller)))
750750 then i.originCaller
751751 else i.caller
752752 let txId58 = toBase58String(i.transactionId)
753753 let pmtAssetId = value(pmt.assetId)
754754 let pmtAmt = pmt.amount
755755 if ((1000000000 > pmtAmt))
756756 then throw("Min pmt 10 LP")
757757 else if (if (if ((0 > slippage))
758758 then true
759759 else (0 > exchResult))
760760 then true
761761 else (0 > outAmount))
762762 then throw("Wrong params")
763763 else if ((lpId != toBase58String(pmtAssetId)))
764764 then throw("Wrong LP")
765765 else {
766766 let r = ego(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
767767 let estimAmAmt = r._1
768768 let estimPrAmt = r._2
769769 let amBalance = getAccBalance(amId)
770770 let prBalance = getAccBalance(prId)
771- let $t03036430824 = if ((outAssetId == amId))
771+ let $t03038230842 = if ((outAssetId == amId))
772772 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), exchResult, estimPrAmt, 0, 0, (estimAmAmt + exchResult))
773773 else if ((outAssetId == prId))
774774 then $Tuple7((amBalance - estimAmAmt), (prBalance - estimPrAmt), 0, 0, exchResult, estimAmAmt, (estimPrAmt + exchResult))
775775 else throw("wrong outAssetId")
776- let amBalanceNow = $t03036430824._1
777- let prBalanceNow = $t03036430824._2
778- let virtSwapInAm = $t03036430824._3
779- let virtSwapOutPr = $t03036430824._4
780- let virtSwapInPr = $t03036430824._5
781- let virtSwapOutAm = $t03036430824._6
782- let totalGetRaw = $t03036430824._7
776+ let amBalanceNow = $t03038230842._1
777+ let prBalanceNow = $t03038230842._2
778+ let virtSwapInAm = $t03038230842._3
779+ let virtSwapOutPr = $t03038230842._4
780+ let virtSwapInPr = $t03038230842._5
781+ let virtSwapOutAm = $t03038230842._6
782+ let totalGetRaw = $t03038230842._7
783783 if (if ((0 > virtSwapInAm))
784784 then true
785785 else (0 > virtSwapInPr))
786786 then throw("Wrong calc")
787787 else {
788788 let D0 = invoke(gwxCntr, "calcD", [toString(amBalanceNow), toString(prBalanceNow), A, Amult, Dconv], nil)
789789 let D1 = invoke(gwxCntr, "calcD", [toString(((amBalanceNow - virtSwapInAm) + virtSwapOutAm)), toString(((prBalanceNow + virtSwapOutPr) - virtSwapInPr)), A, Amult, Dconv], nil)
790790 let D0vsD1 = vd(parseBigIntValue(str(D1)), parseBigIntValue(str(D0)), slippage4D)
791791 if ((D0vsD1 == D0vsD1))
792792 then {
793793 let totalGet = takeFee(totalGetRaw)._1
794794 let finalRes = vad(toBigInt(totalGet), toBigInt(outAmount), toBigInt(slippage))
795795 if ((finalRes == finalRes))
796796 then {
797- let $t03157131675 = if ((outAssetId == amId))
797+ let $t03158931693 = if ((outAssetId == amId))
798798 then $Tuple2(toInt(finalRes._2), 0)
799799 else $Tuple2(0, toInt(finalRes._2))
800- let outAm = $t03157131675._1
801- let outPr = $t03157131675._2
800+ let outAm = $t03158931693._1
801+ let outPr = $t03158931693._2
802802 let totalAmount = (outAm + outPr)
803803 let feeAmount = (totalGetRaw - totalGet)
804804 let outAssetIdOrWaves = if ((outAssetId == "WAVES"))
805805 then unit
806806 else fromBase58String(outAssetId)
807807 let sendFeeToMatcher = if ((feeAmount > 0))
808808 then [ScriptTransfer(matcherAddress, feeAmount, outAssetIdOrWaves)]
809809 else nil
810810 let curPrX18 = cpbi(t1(prBalance, prDcm), t1(amBalance, amDcm))
811811 let curPr = f1(curPrX18, scale8)
812812 let state = [ScriptTransfer(userAddress, totalAmount, outAssetIdOrWaves), StringEntry(gau(toString(userAddress), txId58), dataGetActionInfo(outAm, outPr, pmtAmt, curPr, height, lastBlock.timestamp)), IntegerEntry(pl(), curPr), IntegerEntry(ph(height, lastBlock.timestamp), curPr)]
813813 if ((state == state))
814814 then {
815815 let burn = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
816816 if ((burn == burn))
817817 then (state ++ sendFeeToMatcher)
818818 else throw("Strict value is not equal to itself.")
819819 }
820820 else throw("Strict value is not equal to itself.")
821821 }
822822 else throw("Strict value is not equal to itself.")
823823 }
824824 else throw("Strict value is not equal to itself.")
825825 }
826826 }
827827 }
828828
829829
830830
831831 @Callable(i)
832832 func getNoLess (noLessThenAmtAsset,noLessThenPriceAsset) = {
833833 let r = cg(i)
834834 let outAmAmt = r._1
835835 let outPrAmt = r._2
836836 let pmtAmt = r._3
837837 let pmtAssetId = r._4
838838 let state = r._5
839839 if ((noLessThenAmtAsset > outAmAmt))
840840 then throw(((("Failed: " + toString(outAmAmt)) + " < ") + toString(noLessThenAmtAsset)))
841841 else if ((noLessThenPriceAsset > outPrAmt))
842842 then throw(((("Failed: " + toString(outPrAmt)) + " < ") + toString(noLessThenPriceAsset)))
843843 else {
844844 let burnLPAssetOnFactory = invoke(fca, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
845845 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
846846 then state
847847 else throw("Strict value is not equal to itself.")
848848 }
849849 }
850850
851851
852852
853853 @Callable(i)
854854 func unstakeAndGet (amount) = {
855855 let checkPayments = if ((size(i.payments) != 0))
856856 then throw("No pmnts expd")
857857 else true
858858 if ((checkPayments == checkPayments))
859859 then {
860860 let cfg = gpc()
861861 let factoryCfg = gfc()
862862 let lpAssetId = fromBase58String(cfg[idxLPAsId])
863863 let staking = valueOrErrorMessage(addressFromString(factoryCfg[idxFactStakCntr]), "Wr st addr")
864864 let unstakeInv = invoke(staking, "unstake", [toBase58String(lpAssetId), amount], nil)
865865 if ((unstakeInv == unstakeInv))
866866 then {
867867 let r = ego(toBase58String(i.transactionId), toBase58String(lpAssetId), amount, i.caller)
868868 let sts = parseIntValue(r._9)
869869 let state = r._10
870870 let v = if (if (igs())
871871 then true
872872 else (sts == PoolShutdown))
873873 then throw(("Blocked: " + toString(sts)))
874874 else true
875875 if ((v == v))
876876 then {
877877 let burnA = invoke(fca, "burn", [amount], [AttachedPayment(lpAssetId, amount)])
878878 if ((burnA == burnA))
879879 then state
880880 else throw("Strict value is not equal to itself.")
881881 }
882882 else throw("Strict value is not equal to itself.")
883883 }
884884 else throw("Strict value is not equal to itself.")
885885 }
886886 else throw("Strict value is not equal to itself.")
887887 }
888888
889889
890890
891891 @Callable(i)
892892 func activate (amtAsStr,prAsStr) = if ((toString(i.caller) != toString(fca)))
893893 then throw("denied")
894894 else $Tuple2([StringEntry(aa(), amtAsStr), StringEntry(pa(), prAsStr)], "success")
895895
896896
897897
898898 @Callable(i)
899899 func setS (k,v) = if ((toString(i.caller) != strf(this, ada())))
900900 then pd
901901 else [StringEntry(k, v)]
902902
903903
904904
905905 @Callable(i)
906906 func setI (k,v) = if ((toString(i.caller) != strf(this, ada())))
907907 then pd
908908 else [IntegerEntry(k, v)]
909909
910910
911911
912912 @Callable(i)
913913 func getPoolConfigWrapperREADONLY () = $Tuple2(nil, gpc())
914914
915915
916916
917917 @Callable(i)
918918 func getAccBalanceWrapperREADONLY (assetId) = $Tuple2(nil, getAccBalance(assetId))
919919
920920
921921
922922 @Callable(i)
923923 func calcPricesWrapperREADONLY (amAmt,prAmt,lpAmt) = {
924924 let pr = calcPrices(amAmt, prAmt, lpAmt)
925925 $Tuple2(nil, [toString(pr[0]), toString(pr[1]), toString(pr[2])])
926926 }
927927
928928
929929
930930 @Callable(i)
931931 func fromX18WrapperREADONLY (val,resScaleMult) = $Tuple2(nil, f1(parseBigIntValue(val), resScaleMult))
932932
933933
934934
935935 @Callable(i)
936936 func toX18WrapperREADONLY (origVal,origScaleMult) = $Tuple2(nil, toString(t1(origVal, origScaleMult)))
937937
938938
939939
940940 @Callable(i)
941941 func calcPriceBigIntWrapperREADONLY (prAmtX18,amAmtX18) = $Tuple2(nil, toString(cpbi(parseBigIntValue(prAmtX18), parseBigIntValue(amAmtX18))))
942942
943943
944944
945945 @Callable(i)
946946 func estimatePutOperationWrapperREADONLY (txId58,slippage,inAmAmt,inAmId,inPrAmt,inPrId,usrAddr,isEval,emitLp) = $Tuple2(nil, epo(txId58, slippage, inAmAmt, inAmId, inPrAmt, inPrId, usrAddr, isEval, emitLp, false, 0, ""))
947947
948948
949949
950950 @Callable(i)
951951 func estimateGetOperationWrapperREADONLY (txId58,pmtAsId,pmtLpAmt,usrAddr) = {
952952 let r = ego(txId58, pmtAsId, pmtLpAmt, addressFromStringValue(usrAddr))
953953 $Tuple2(nil, $Tuple10(r._1, r._2, r._3, r._4, r._5, r._6, r._7, toString(r._8), r._9, r._10))
954954 }
955955
956956
957957 @Verifier(tx)
958958 func verify () = {
959959 let targetPublicKey = match m() {
960960 case pk: ByteVector =>
961961 pk
962962 case _: Unit =>
963963 tx.senderPublicKey
964964 case _ =>
965965 throw("Match error")
966966 }
967967 match tx {
968968 case order: Order =>
969969 let matcherPub = mp()
970970 let orderValid = moa(order)
971971 let senderValid = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
972972 let matcherValid = sigVerify(order.bodyBytes, order.proofs[1], matcherPub)
973973 if (if (if (orderValid)
974974 then senderValid
975975 else false)
976976 then matcherValid
977977 else false)
978978 then true
979979 else toe(orderValid, senderValid, matcherValid)
980980 case s: SetScriptTransaction =>
981981 let newHash = blake2b256(value(s.script))
982982 let allowedHash = fromBase64String(value(getString(fca, keyAllowedLpStableScriptHash())))
983983 let currentHash = scriptHash(this)
984984 if (if ((allowedHash == newHash))
985985 then (currentHash != newHash)
986986 else false)
987987 then true
988988 else sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
989989 case _ =>
990990 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
991991 }
992992 }
993993

github/deemru/w8io/026f985 
94.15 ms