tx · nwBDxvd2ntWN7VTDmJr1BEsJdcVJZXjhKfs13WUMoxX

3N5C2THWC3XfNzmC15YBeTBLamjhhCUdeeo:  -0.01400000 Waves

2021.10.29 11:29 [1767368] smart account 3N5C2THWC3XfNzmC15YBeTBLamjhhCUdeeo > SELF 0.00000000 Waves

{ "type": 13, "id": "nwBDxvd2ntWN7VTDmJr1BEsJdcVJZXjhKfs13WUMoxX", "fee": 1400000, "feeAssetId": null, "timestamp": 1635496232355, "version": 1, "sender": "3N5C2THWC3XfNzmC15YBeTBLamjhhCUdeeo", "senderPublicKey": "BweqtcaAvG8gdYYQoaMsbUczGmHJAwWBShc9noVdvmWx", "proofs": [ "2fn7a8Kpokvq5LnV1LGaJED6jiTAd21KHnWD6FLGUu6axAunQd5sWk7E3HQSirU9pgEJaRGbg67ZAthzSofpufs6" ], "script": "base64:AAIFAAAAAAAAADMIAhIECgIICBIECgIBBBIDCgEBEgASBAoCAQESBAoCCAgSABIDCgEBEgMKAQESBAoCCAEAAABCAAAAAApsUGRlY2ltYWxzAAAAAAAAAAAIAAAAAAZzY2FsZTgAAAAAAAX14QAAAAAADHNjYWxlOEJpZ0ludAkAATYAAAABAAAAAAAF9eEAAAAAAAdzY2FsZTE4CQABNgAAAAEADeC2s6dkAAAAAAAACnplcm9CaWdJbnQJAAE2AAAAAQAAAAAAAAAAAAAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAAAAAAKUG9vbEFjdGl2ZQAAAAAAAAAAAQAAAAAPUG9vbFB1dERpc2FibGVkAAAAAAAAAAACAAAAABNQb29sTWF0Y2hlckRpc2FibGVkAAAAAAAAAAADAAAAAAxQb29sU2h1dGRvd24AAAAAAAAAAAQAAAAADmlkeFBvb2xBZGRyZXNzAAAAAAAAAAABAAAAAA1pZHhQb29sU3RhdHVzAAAAAAAAAAACAAAAABBpZHhQb29sTFBBc3NldElkAAAAAAAAAAADAAAAAA1pZHhBbXRBc3NldElkAAAAAAAAAAAEAAAAAA9pZHhQ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ZEAAAACCAUAAAAFb3JkZXIAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAptYXRjaGVyUHViAwMDBQAAAApvcmRlclZhbGlkBQAAAAtzZW5kZXJWYWxpZAcFAAAADG1hdGNoZXJWYWxpZAcGCQEAAAAPdGhyb3dPcmRlckVycm9yAAAAAwUAAAAKb3JkZXJWYWxpZAUAAAALc2VuZGVyVmFsaWQFAAAADG1hdGNoZXJWYWxpZAQAAAANbWFuYWdlclB1YmxpYwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzCQEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAAFAAAABUVNUFRZAwkAAAAAAAACBQAAAA1tYW5hZ2VyUHVibGljBQAAAAVFTVBUWQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAEFAAAADW1hbmFnZXJQdWJsaWNFIpGR", "chainId": 84, "height": 1767368, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GbsNei7cVKXPjgS2rqms4NFtkVxrGnUjGwE91rv8Du3y Next: AbUKsaoRqwiCac6wPsLBq3LraCVShQSW3vXMehpsz2Jj Diff:
OldNewDifferences
9797 func keyFactoryConfig () = "%s__factoryConfig"
9898
9999
100+func keyMatcherPub () = "%s%s__matcher__publicKey"
101+
102+
100103 func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset")
101104
102105
112115 func keyPoolWeight (contractAddress) = ("%s%s__poolWeight__" + contractAddress)
113116
114117
118+func throwOrderError (orderValid,senderValid,matcherValid) = throw(((((("order validation failed: orderValid=" + toString(orderValid)) + " senderValid=") + toString(senderValid)) + " matcherValid=") + toString(matcherValid)))
119+
120+
115121 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
116122
117123
121127 let factoryContract = addressFromStringValue(getStringOrFail(this, keyFactoryContract()))
122128
123129 func isGlobalShutdown () = valueOrElse(getBoolean(factoryContract, keyAllPoolsShutdown()), false)
130+
131+
132+func getMatcherPubOrFail () = fromBase58String(getStringOrFail(factoryContract, keyMatcherPub()))
124133
125134
126135 func getPoolConfig () = {
587596 @Verifier(tx)
588597 func verify () = match tx {
589598 case order: Order =>
590- if (validateMatcherOrderAllowed(order))
591- then sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
592- else false
599+ let matcherPub = getMatcherPubOrFail()
600+ let orderValid = validateMatcherOrderAllowed(order)
601+ let senderValid = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
602+ let matcherValid = sigVerify(order.bodyBytes, order.proofs[1], matcherPub)
603+ if (if (if (orderValid)
604+ then senderValid
605+ else false)
606+ then matcherValid
607+ else false)
608+ then true
609+ else throwOrderError(orderValid, senderValid, matcherValid)
593610 case _ =>
594611 let managerPublic = valueOrElse(getString(this, keyManagerPublicKey()), EMPTY)
595612 if ((managerPublic == EMPTY))
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 scale18 = toBigInt(1000000000000000000)
1111
1212 let zeroBigInt = toBigInt(0)
1313
1414 let SEP = "__"
1515
1616 let EMPTY = ""
1717
1818 let PoolActive = 1
1919
2020 let PoolPutDisabled = 2
2121
2222 let PoolMatcherDisabled = 3
2323
2424 let PoolShutdown = 4
2525
2626 let idxPoolAddress = 1
2727
2828 let idxPoolStatus = 2
2929
3030 let idxPoolLPAssetId = 3
3131
3232 let idxAmtAssetId = 4
3333
3434 let idxPriceAssetId = 5
3535
3636 let idxAmtAssetDcm = 6
3737
3838 let idxPriceAssetDcm = 7
3939
4040 let idxIAmtAssetId = 8
4141
4242 let idxIPriceAssetId = 9
4343
4444 let idxLPAssetDcm = 10
4545
4646 let idxPoolAmtAssetAmt = 1
4747
4848 let idxPoolPriceAssetAmt = 2
4949
5050 let idxPoolLPAssetAmt = 3
5151
5252 let idxFactoryStakingContract = 1
5353
5454 let idxFactorySlippageContract = 7
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 keyFactoryContract () = "%s__factoryContract"
7171
7272
7373 func keyManagerPublicKey () = "%s__managerPublicKey"
7474
7575
7676 func keyPriceLast () = "%s%s__price__last"
7777
7878
7979 func keyPriceHistory (h,timestamp) = makeString(["%s%s%d%d__price__history", toString(h), toString(timestamp)], SEP)
8080
8181
8282 func keyPutActionByUser (userAddress,txId) = ((("%s%s%s__P__" + userAddress) + "__") + txId)
8383
8484
8585 func keyGetActionByUser (userAddress,txId) = ((("%s%s%s__G__" + userAddress) + "__") + txId)
8686
8787
8888 func keyAmtAsset () = "%s__amountAsset"
8989
9090
9191 func keyPriceAsset () = "%s__priceAsset"
9292
9393
9494 func keyKHistoric (h,timestamp) = makeString(["%s%s%d%d__K_history", toString(h), toString(timestamp)], SEP)
9595
9696
9797 func keyFactoryConfig () = "%s__factoryConfig"
9898
9999
100+func keyMatcherPub () = "%s%s__matcher__publicKey"
101+
102+
100103 func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset")
101104
102105
103106 func keyPoolConfig (iAmtAsset,iPriceAsset) = (((("%d%d%s__" + iAmtAsset) + "__") + iPriceAsset) + "__config")
104107
105108
106109 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
107110
108111
109112 func keyAllPoolsShutdown () = "%s__shutdown"
110113
111114
112115 func keyPoolWeight (contractAddress) = ("%s%s__poolWeight__" + contractAddress)
113116
114117
118+func throwOrderError (orderValid,senderValid,matcherValid) = throw(((((("order validation failed: orderValid=" + toString(orderValid)) + " senderValid=") + toString(senderValid)) + " matcherValid=") + toString(matcherValid)))
119+
120+
115121 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
116122
117123
118124 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
119125
120126
121127 let factoryContract = addressFromStringValue(getStringOrFail(this, keyFactoryContract()))
122128
123129 func isGlobalShutdown () = valueOrElse(getBoolean(factoryContract, keyAllPoolsShutdown()), false)
130+
131+
132+func getMatcherPubOrFail () = fromBase58String(getStringOrFail(factoryContract, keyMatcherPub()))
124133
125134
126135 func getPoolConfig () = {
127136 let amtAsset = getStringOrFail(this, keyAmtAsset())
128137 let priceAsset = getStringOrFail(this, keyPriceAsset())
129138 let iPriceAsset = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(priceAsset))
130139 let iAmtAsset = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(amtAsset))
131140 split(getStringOrFail(factoryContract, keyPoolConfig(toString(iAmtAsset), toString(iPriceAsset))), SEP)
132141 }
133142
134143
135144 func getFactoryConfig () = split(getStringOrFail(factoryContract, keyFactoryConfig()), SEP)
136145
137146
138147 func dataPutActionInfo (inAmtAssetAmt,inPriceAssetAmt,outLpAmt,price,slippageTolerancePassedByUser,slippageToleranceReal,txHeight,txTimestamp,slipageAmtAssetAmt,slipagePriceAssetAmt) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(inAmtAssetAmt), toString(inPriceAssetAmt), toString(outLpAmt), toString(price), toString(slippageTolerancePassedByUser), toString(slippageToleranceReal), toString(txHeight), toString(txTimestamp), toString(slipageAmtAssetAmt), toString(slipagePriceAssetAmt)], SEP)
139148
140149
141150 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)
142151
143152
144153 func getAccBalance (assetId) = if ((assetId == "WAVES"))
145154 then wavesBalance(this).available
146155 else assetBalance(this, fromBase58String(assetId))
147156
148157
149158 func calcPriceBigInt (prAmtX18,amAmtX18) = fraction(prAmtX18, scale18, amAmtX18)
150159
151160
152161 func privateCalcPrice (amAssetDcm,prAssetDcm,amAmt,prAmt) = {
153162 let amtAssetAmtX18 = toX18(amAmt, amAssetDcm)
154163 let priceAssetAmtX18 = toX18(prAmt, prAssetDcm)
155164 calcPriceBigInt(priceAssetAmtX18, amtAssetAmtX18)
156165 }
157166
158167
159168 func calcPrices (amAmt,prAmt,lpAmt) = {
160169 let cfg = getPoolConfig()
161170 let amtAssetDcm = parseIntValue(cfg[idxAmtAssetDcm])
162171 let priceAssetDcm = parseIntValue(cfg[idxPriceAssetDcm])
163172 let priceX18 = privateCalcPrice(amtAssetDcm, priceAssetDcm, amAmt, prAmt)
164173 let amAmtX18 = toX18(amAmt, amtAssetDcm)
165174 let prAmtX18 = toX18(prAmt, priceAssetDcm)
166175 let lpAmtX18 = toX18(lpAmt, scale8)
167176 let lpPriceInAmAssetX18 = calcPriceBigInt(amAmtX18, lpAmtX18)
168177 let lpPriceInPrAssetX18 = calcPriceBigInt(prAmtX18, lpAmtX18)
169178 [priceX18, lpPriceInAmAssetX18, lpPriceInPrAssetX18]
170179 }
171180
172181
173182 func calculatePrices (amAmt,prAmt,lpAmt) = {
174183 let prices = calcPrices(amAmt, prAmt, lpAmt)
175184 [fromX18(prices[0], scale8), fromX18(prices[1], scale8), fromX18(prices[2], scale8)]
176185 }
177186
178187
179188 func estimateGetOperation (txId58,pmtAssetId,pmtLpAmt,userAddress) = {
180189 let cfg = getPoolConfig()
181190 let lpAssetId = cfg[idxPoolLPAssetId]
182191 let amAssetId = cfg[idxAmtAssetId]
183192 let prAssetId = cfg[idxPriceAssetId]
184193 let amAssetDcm = parseIntValue(cfg[idxAmtAssetDcm])
185194 let prAssetDcm = parseIntValue(cfg[idxPriceAssetDcm])
186195 let poolStatus = cfg[idxPoolStatus]
187196 let lpEmission = valueOrErrorMessage(assetInfo(fromBase58String(lpAssetId)), (("Asset " + lpAssetId) + " doesn't exist")).quantity
188197 if ((lpAssetId != pmtAssetId))
189198 then throw("Invalid asset passed.")
190199 else {
191200 let amBalance = getAccBalance(amAssetId)
192201 let amBalanceX18 = toX18(amBalance, amAssetDcm)
193202 let prBalance = getAccBalance(prAssetId)
194203 let prBalanceX18 = toX18(prBalance, prAssetDcm)
195204 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
196205 let curPrice = fromX18(curPriceX18, scale8)
197206 let pmtLpAmtX18 = toX18(pmtLpAmt, scale8)
198207 let lpEmissionX18 = toX18(lpEmission, scale8)
199208 let outAmAmtX18 = fraction(amBalanceX18, pmtLpAmtX18, lpEmissionX18)
200209 let outPrAmtX18 = fraction(prBalanceX18, pmtLpAmtX18, lpEmissionX18)
201210 let outAmAmt = fromX18(outAmAmtX18, amAssetDcm)
202211 let outPrAmt = fromX18(outPrAmtX18, prAssetDcm)
203212 let state = if ((txId58 == ""))
204213 then nil
205214 else [ScriptTransfer(userAddress, outAmAmt, if ((amAssetId == "WAVES"))
206215 then unit
207216 else fromBase58String(amAssetId)), ScriptTransfer(userAddress, outPrAmt, if ((prAssetId == "WAVES"))
208217 then unit
209218 else fromBase58String(prAssetId)), StringEntry(keyGetActionByUser(toString(userAddress), txId58), dataGetActionInfo(outAmAmt, outPrAmt, pmtLpAmt, curPrice, height, lastBlock.timestamp)), IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice)]
210219 $Tuple10(outAmAmt, outPrAmt, amAssetId, prAssetId, amBalance, prBalance, lpEmission, curPriceX18, poolStatus, state)
211220 }
212221 }
213222
214223
215224 func estimatePutOperation (txId58,slippageTolerance,inAmAssetAmt,inAmAssetId,inPrAssetAmt,inPrAssetId,userAddress,isEvaluate,emitLp) = {
216225 let cfg = getPoolConfig()
217226 let lpAssetId = fromBase58String(cfg[idxPoolLPAssetId])
218227 let amAssetIdStr = cfg[idxAmtAssetId]
219228 let prAssetIdStr = cfg[idxPriceAssetId]
220229 let iAmtAssetId = cfg[idxIAmtAssetId]
221230 let iPriceAssetId = cfg[idxIPriceAssetId]
222231 let amtAssetDcm = parseIntValue(cfg[idxAmtAssetDcm])
223232 let priceAssetDcm = parseIntValue(cfg[idxPriceAssetDcm])
224233 let poolStatus = cfg[idxPoolStatus]
225234 let lpEmission = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
226235 let inAmAssetIdStr = toBase58String(valueOrElse(inAmAssetId, fromBase58String("WAVES")))
227236 let inPrAssetIdStr = toBase58String(valueOrElse(inPrAssetId, fromBase58String("WAVES")))
228237 if (if ((amAssetIdStr != inAmAssetIdStr))
229238 then true
230239 else (prAssetIdStr != inPrAssetIdStr))
231240 then throw("Invalid amt or price asset passed.")
232241 else {
233242 let amBalance = if (isEvaluate)
234243 then getAccBalance(amAssetIdStr)
235244 else (getAccBalance(amAssetIdStr) - inAmAssetAmt)
236245 let prBalance = if (isEvaluate)
237246 then getAccBalance(prAssetIdStr)
238247 else (getAccBalance(prAssetIdStr) - inPrAssetAmt)
239248 let inAmAssetAmtX18 = toX18(inAmAssetAmt, amtAssetDcm)
240249 let inPrAssetAmtX18 = toX18(inPrAssetAmt, priceAssetDcm)
241250 let userPriceX18 = calcPriceBigInt(inPrAssetAmtX18, inAmAssetAmtX18)
242251 let amBalanceX18 = toX18(amBalance, amtAssetDcm)
243252 let prBalanceX18 = toX18(prBalance, priceAssetDcm)
244253 let res = if ((lpEmission == 0))
245254 then {
246255 let curPriceX18 = zeroBigInt
247256 let slippageX18 = zeroBigInt
248257 let lpAmtX18 = pow((inAmAssetAmtX18 * inPrAssetAmtX18), 0, toBigInt(5), 1, 0, DOWN)
249258 $Tuple5(fromX18(lpAmtX18, scale8), fromX18(inAmAssetAmtX18, amtAssetDcm), fromX18(inPrAssetAmtX18, priceAssetDcm), calcPriceBigInt((prBalanceX18 + inPrAssetAmtX18), (amBalanceX18 + inAmAssetAmtX18)), slippageX18)
250259 }
251260 else {
252261 let curPriceX18 = calcPriceBigInt(prBalanceX18, amBalanceX18)
253262 let slippageX18 = fraction(abs((curPriceX18 - userPriceX18)), scale18, curPriceX18)
254263 let slippageToleranceX18 = toX18(slippageTolerance, scale8)
255264 if (if ((curPriceX18 != zeroBigInt))
256265 then (slippageX18 > slippageToleranceX18)
257266 else false)
258267 then throw(((("Price slippage " + toString(slippageX18)) + " exceeded the passed limit of ") + toString(slippageToleranceX18)))
259268 else {
260269 let lpEmissionX18 = toX18(lpEmission, scale8)
261270 let prViaAmX18 = fraction(inAmAssetAmtX18, curPriceX18, scale18)
262271 let amViaPrX18 = fraction(inPrAssetAmtX18, scale18, curPriceX18)
263272 let expectedAmts = if ((prViaAmX18 > inPrAssetAmtX18))
264273 then $Tuple2(amViaPrX18, inPrAssetAmtX18)
265274 else $Tuple2(inAmAssetAmtX18, prViaAmX18)
266275 let expAmtAssetAmtX18 = expectedAmts._1
267276 let expPriceAssetAmtX18 = expectedAmts._2
268277 let lpAmtX18 = fraction(lpEmissionX18, expPriceAssetAmtX18, prBalanceX18)
269278 $Tuple5(fromX18(lpAmtX18, scale8), fromX18(expAmtAssetAmtX18, amtAssetDcm), fromX18(expPriceAssetAmtX18, priceAssetDcm), curPriceX18, slippageX18)
270279 }
271280 }
272281 let calcLpAmt = res._1
273282 let calcAmAssetPmt = res._2
274283 let calcPrAssetPmt = res._3
275284 let curPrice = fromX18(res._4, scale8)
276285 let slippageCalc = fromX18(res._5, scale8)
277286 if ((0 >= calcLpAmt))
278287 then throw("Invalid calculations. LP calculated is less than zero.")
279288 else {
280289 let emitLpAmt = if (!(emitLp))
281290 then 0
282291 else calcLpAmt
283292 let amDiff = (inAmAssetAmt - calcAmAssetPmt)
284293 let prDiff = (inPrAssetAmt - calcPrAssetPmt)
285294 let commonState = [IntegerEntry(keyPriceLast(), curPrice), IntegerEntry(keyPriceHistory(height, lastBlock.timestamp), curPrice), StringEntry(keyPutActionByUser(userAddress, txId58), dataPutActionInfo(calcAmAssetPmt, calcPrAssetPmt, emitLpAmt, curPrice, slippageTolerance, slippageCalc, height, lastBlock.timestamp, amDiff, prDiff))]
286295 $Tuple13(calcLpAmt, emitLpAmt, curPrice, amBalance, prBalance, lpEmission, lpAssetId, poolStatus, commonState, amDiff, prDiff, inAmAssetId, inPrAssetId)
287296 }
288297 }
289298 }
290299
291300
292301 func validateMatcherOrderAllowed (order) = {
293302 let cfg = getPoolConfig()
294303 let amtAssetId = cfg[idxAmtAssetId]
295304 let priceAssetId = cfg[idxPriceAssetId]
296305 let poolStatus = parseIntValue(cfg[idxPoolStatus])
297306 let amtAssetDcm = parseIntValue(cfg[idxAmtAssetDcm])
298307 let priceAssetDcm = parseIntValue(cfg[idxPriceAssetDcm])
299308 let accAmtAssetBalance = getAccBalance(amtAssetId)
300309 let accPriceAssetBalance = getAccBalance(priceAssetId)
301310 let curPriceX18 = if ((order.orderType == Buy))
302311 then privateCalcPrice(amtAssetDcm, priceAssetDcm, (accAmtAssetBalance + order.amount), accPriceAssetBalance)
303312 else privateCalcPrice(amtAssetDcm, priceAssetDcm, (accAmtAssetBalance - order.amount), accPriceAssetBalance)
304313 let curPrice = fromX18(curPriceX18, scale8)
305314 if (if (if (isGlobalShutdown())
306315 then true
307316 else (poolStatus == PoolMatcherDisabled))
308317 then true
309318 else (poolStatus == PoolShutdown))
310319 then throw("Exchange operations disabled")
311320 else {
312321 let orderAmtAsset = order.assetPair.amountAsset
313322 let orderAmtAssetStr = if ((orderAmtAsset == unit))
314323 then "WAVES"
315324 else toBase58String(value(orderAmtAsset))
316325 let orderPriceAsset = order.assetPair.priceAsset
317326 let orderPriceAssetStr = if ((orderPriceAsset == unit))
318327 then "WAVES"
319328 else toBase58String(value(orderPriceAsset))
320329 if (if ((orderAmtAssetStr != amtAssetId))
321330 then true
322331 else (orderPriceAssetStr != priceAssetId))
323332 then throw("Wrong order assets.")
324333 else {
325334 let orderPrice = order.price
326335 let priceDcm = fraction(scale8, priceAssetDcm, amtAssetDcm)
327336 let castedOrderPrice = toScale(orderPrice, scale8, priceDcm)
328337 let isOrderPriceValid = if ((order.orderType == Buy))
329338 then (curPrice >= castedOrderPrice)
330339 else (castedOrderPrice >= curPrice)
331340 true
332341 }
333342 }
334343 }
335344
336345
337346 func commonGet (i) = if ((size(i.payments) != 1))
338347 then throw("exactly 1 payment is expected")
339348 else {
340349 let pmt = value(i.payments[0])
341350 let pmtAssetId = value(pmt.assetId)
342351 let pmtAmt = pmt.amount
343352 let res = estimateGetOperation(toBase58String(i.transactionId), toBase58String(pmtAssetId), pmtAmt, i.caller)
344353 let outAmAmt = res._1
345354 let outPrAmt = res._2
346355 let poolStatus = parseIntValue(res._9)
347356 let state = res._10
348357 if (if (isGlobalShutdown())
349358 then true
350359 else (poolStatus == PoolShutdown))
351360 then throw(("Get operation is blocked by admin. Status = " + toString(poolStatus)))
352361 else $Tuple5(outAmAmt, outPrAmt, pmtAmt, pmtAssetId, state)
353362 }
354363
355364
356365 func commonPut (i,slippageTolerance,emitLp) = if ((size(i.payments) != 2))
357366 then throw("exactly 2 payments are expected")
358367 else {
359368 let amAssetPmt = value(i.payments[0])
360369 let prAssetPmt = value(i.payments[1])
361370 let estPut = estimatePutOperation(toBase58String(i.transactionId), slippageTolerance, amAssetPmt.amount, amAssetPmt.assetId, prAssetPmt.amount, prAssetPmt.assetId, toString(i.caller), false, emitLp)
362371 let poolStatus = parseIntValue(estPut._8)
363372 if (if (if (isGlobalShutdown())
364373 then true
365374 else (poolStatus == PoolPutDisabled))
366375 then true
367376 else (poolStatus == PoolShutdown))
368377 then throw(("Put operation is blocked by admin. Status = " + toString(poolStatus)))
369378 else estPut
370379 }
371380
372381
373382 @Callable(i)
374383 func constructor (factoryContract,managerPublicKey) = if ((i.caller != this))
375384 then throw("permissions denied")
376385 else [StringEntry(keyFactoryContract(), factoryContract), StringEntry(keyManagerPublicKey(), managerPublicKey)]
377386
378387
379388
380389 @Callable(i)
381390 func put (slippageTolerance,shouldAutoStake) = {
382391 let factoryCfg = getFactoryConfig()
383392 let stakingContract = valueOrErrorMessage(addressFromString(factoryCfg[idxFactoryStakingContract]), "Error. Incorrect staking address.")
384393 let slippageContract = valueOrErrorMessage(addressFromString(factoryCfg[idxFactorySlippageContract]), "Error. Incorrect slippage contract address.")
385394 if ((0 > slippageTolerance))
386395 then throw("Invalid slippageTolerance passed")
387396 else {
388397 let estPut = commonPut(i, slippageTolerance, true)
389398 let emitLpAmt = estPut._2
390399 let lpAssetId = estPut._7
391400 let state = estPut._9
392401 let amDiff = estPut._10
393402 let prDiff = estPut._11
394403 let amId = estPut._12
395404 let prId = estPut._13
396405 let emitInv = invoke(factoryContract, "emit", [emitLpAmt], nil)
397406 if ((emitInv == emitInv))
398407 then {
399408 let slippageAInv = if ((amDiff > 0))
400409 then invoke(slippageContract, "put", nil, [AttachedPayment(amId, amDiff)])
401410 else nil
402411 if ((slippageAInv == slippageAInv))
403412 then {
404413 let slippagePInv = if ((prDiff > 0))
405414 then invoke(slippageContract, "put", nil, [AttachedPayment(prId, prDiff)])
406415 else nil
407416 if ((slippagePInv == slippagePInv))
408417 then {
409418 let lpTransfer = if (shouldAutoStake)
410419 then {
411420 let slpStakeInv = invoke(stakingContract, "stake", nil, [AttachedPayment(lpAssetId, emitLpAmt)])
412421 if ((slpStakeInv == slpStakeInv))
413422 then nil
414423 else throw("Strict value is not equal to itself.")
415424 }
416425 else [ScriptTransfer(i.caller, emitLpAmt, lpAssetId)]
417426 (state ++ lpTransfer)
418427 }
419428 else throw("Strict value is not equal to itself.")
420429 }
421430 else throw("Strict value is not equal to itself.")
422431 }
423432 else throw("Strict value is not equal to itself.")
424433 }
425434 }
426435
427436
428437
429438 @Callable(i)
430439 func putForFree (maxSlippage) = if ((0 > maxSlippage))
431440 then throw("Invalid value passed")
432441 else {
433442 let estPut = commonPut(i, maxSlippage, false)
434443 estPut._9
435444 }
436445
437446
438447
439448 @Callable(i)
440449 func get () = {
441450 let res = commonGet(i)
442451 let outAmtAmt = res._1
443452 let outPrAmt = res._2
444453 let pmtAmt = res._3
445454 let pmtAssetId = res._4
446455 let state = res._5
447456 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
448457 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
449458 then state
450459 else throw("Strict value is not equal to itself.")
451460 }
452461
453462
454463
455464 @Callable(i)
456465 func getNoLess (noLessThenAmtAsset,noLessThenPriceAsset) = {
457466 let res = commonGet(i)
458467 let outAmAmt = res._1
459468 let outPrAmt = res._2
460469 let pmtAmt = res._3
461470 let pmtAssetId = res._4
462471 let state = res._5
463472 if ((noLessThenAmtAsset > outAmAmt))
464473 then throw(((("noLessThenAmtAsset failed: " + toString(outAmAmt)) + " < ") + toString(noLessThenAmtAsset)))
465474 else if ((noLessThenPriceAsset > outPrAmt))
466475 then throw(((("noLessThenPriceAsset failed: " + toString(outPrAmt)) + " < ") + toString(noLessThenPriceAsset)))
467476 else {
468477 let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAmt], [AttachedPayment(pmtAssetId, pmtAmt)])
469478 if ((burnLPAssetOnFactory == burnLPAssetOnFactory))
470479 then state
471480 else throw("Strict value is not equal to itself.")
472481 }
473482 }
474483
475484
476485
477486 @Callable(i)
478487 func activate (amtAssetStr,priceAssetStr) = if ((toString(i.caller) != toString(factoryContract)))
479488 then throw("permissions denied")
480489 else $Tuple2([StringEntry(keyAmtAsset(), amtAssetStr), StringEntry(keyPriceAsset(), priceAssetStr)], "success")
481490
482491
483492
484493 @Callable(i)
485494 func statsREADONLY () = {
486495 let cfg = getPoolConfig()
487496 let lpAssetId = fromBase58String(cfg[idxPoolLPAssetId])
488497 let amtAssetId = cfg[idxAmtAssetId]
489498 let priceAssetId = cfg[idxPriceAssetId]
490499 let iAmtAssetId = cfg[idxIAmtAssetId]
491500 let iPriceAssetId = cfg[idxIPriceAssetId]
492501 let amtAssetDcm = parseIntValue(cfg[idxAmtAssetDcm])
493502 let priceAssetDcm = parseIntValue(cfg[idxPriceAssetDcm])
494503 let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
495504 let accAmtAssetBalance = getAccBalance(amtAssetId)
496505 let accPriceAssetBalance = getAccBalance(priceAssetId)
497506 let pricesList = calcPrices(accAmtAssetBalance, accPriceAssetBalance, poolLPBalance)
498507 let curPrice = 0
499508 let lpAmtAssetShare = fromX18(pricesList[1], scale8)
500509 let lpPriceAssetShare = fromX18(pricesList[2], scale8)
501510 let poolWeight = value(getInteger(factoryContract, keyPoolWeight(toString(this))))
502511 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(accAmtAssetBalance), toString(accPriceAssetBalance), toString(poolLPBalance), toString(curPrice), toString(lpAmtAssetShare), toString(lpPriceAssetShare), toString(poolWeight)], SEP))
503512 }
504513
505514
506515
507516 @Callable(i)
508517 func evaluatePutByAmountAssetREADONLY (inAmAssetAmt) = {
509518 let cfg = getPoolConfig()
510519 let lpAssetId = fromBase58String(cfg[idxPoolLPAssetId])
511520 let amAssetIdStr = cfg[idxAmtAssetId]
512521 let amAssetId = fromBase58String(amAssetIdStr)
513522 let prAssetIdStr = cfg[idxPriceAssetId]
514523 let prAssetId = fromBase58String(prAssetIdStr)
515524 let amtAssetDcm = parseIntValue(cfg[idxAmtAssetDcm])
516525 let priceAssetDcm = parseIntValue(cfg[idxPriceAssetDcm])
517526 let poolStatus = cfg[idxPoolStatus]
518527 let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
519528 let accAmtAssetBalance = getAccBalance(amAssetIdStr)
520529 let accPriceAssetBalance = getAccBalance(prAssetIdStr)
521530 let amtAssetAmtX18 = toX18(accAmtAssetBalance, amtAssetDcm)
522531 let priceAssetAmtX18 = toX18(accPriceAssetBalance, priceAssetDcm)
523532 let curPriceX18 = if ((poolLPBalance == 0))
524533 then zeroBigInt
525534 else calcPriceBigInt(priceAssetAmtX18, amtAssetAmtX18)
526535 let inAmAssetAmtX18 = toX18(inAmAssetAmt, amtAssetDcm)
527536 let inPrAssetAmtX18 = fraction(inAmAssetAmtX18, curPriceX18, scale18)
528537 let inPrAssetAmt = fromX18(inPrAssetAmtX18, priceAssetDcm)
529538 let estPut = estimatePutOperation("", 500000, inAmAssetAmt, amAssetId, inPrAssetAmt, prAssetId, "", true, false)
530539 let calcLpAmt = estPut._1
531540 let curPriceCalc = estPut._3
532541 let amBalance = estPut._4
533542 let prBalance = estPut._5
534543 let lpEmission = estPut._6
535544 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(calcLpAmt), toString(fromX18(curPriceX18, scale8)), toString(amBalance), toString(prBalance), toString(lpEmission), poolStatus, toString(inAmAssetAmt), toString(inPrAssetAmt)], SEP))
536545 }
537546
538547
539548
540549 @Callable(i)
541550 func evaluatePutByPriceAssetREADONLY (inPrAssetAmt) = {
542551 let cfg = getPoolConfig()
543552 let lpAssetId = fromBase58String(cfg[idxPoolLPAssetId])
544553 let amAssetIdStr = cfg[idxAmtAssetId]
545554 let amAssetId = fromBase58String(amAssetIdStr)
546555 let prAssetIdStr = cfg[idxPriceAssetId]
547556 let prAssetId = fromBase58String(prAssetIdStr)
548557 let amtAssetDcm = parseIntValue(cfg[idxAmtAssetDcm])
549558 let priceAssetDcm = parseIntValue(cfg[idxPriceAssetDcm])
550559 let poolStatus = cfg[idxPoolStatus]
551560 let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
552561 let amBalanceRaw = getAccBalance(amAssetIdStr)
553562 let prBalanceRaw = getAccBalance(prAssetIdStr)
554563 let amBalanceRawX18 = toX18(amBalanceRaw, amtAssetDcm)
555564 let prBalanceRawX18 = toX18(prBalanceRaw, priceAssetDcm)
556565 let curPriceX18 = if ((poolLPBalance == 0))
557566 then zeroBigInt
558567 else calcPriceBigInt(prBalanceRawX18, amBalanceRawX18)
559568 let inPrAssetAmtX18 = toX18(inPrAssetAmt, priceAssetDcm)
560569 let inAmAssetAmtX18 = fraction(inPrAssetAmtX18, scale18, curPriceX18)
561570 let inAmAssetAmt = fromX18(inAmAssetAmtX18, amtAssetDcm)
562571 let estPut = estimatePutOperation("", 500000, inAmAssetAmt, amAssetId, inPrAssetAmt, prAssetId, "", true, false)
563572 let calcLpAmt = estPut._1
564573 let curPriceCalc = estPut._3
565574 let amBalance = estPut._4
566575 let prBalance = estPut._5
567576 let lpEmission = estPut._6
568577 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(calcLpAmt), toString(fromX18(curPriceX18, scale8)), toString(amBalance), toString(prBalance), toString(lpEmission), poolStatus, toString(inAmAssetAmt), toString(inPrAssetAmt)], SEP))
569578 }
570579
571580
572581
573582 @Callable(i)
574583 func evaluateGetREADONLY (paymentLpAssetId,paymentLpAmt) = {
575584 let res = estimateGetOperation("", paymentLpAssetId, paymentLpAmt, this)
576585 let outAmAmt = res._1
577586 let outPrAmt = res._2
578587 let amBalance = res._5
579588 let prBalance = res._6
580589 let lpEmission = res._7
581590 let curPrice = res._8
582591 let poolStatus = parseIntValue(res._9)
583592 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(outAmAmt), toString(outPrAmt), toString(amBalance), toString(prBalance), toString(lpEmission), toString(curPrice), toString(poolStatus)], SEP))
584593 }
585594
586595
587596 @Verifier(tx)
588597 func verify () = match tx {
589598 case order: Order =>
590- if (validateMatcherOrderAllowed(order))
591- then sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
592- else false
599+ let matcherPub = getMatcherPubOrFail()
600+ let orderValid = validateMatcherOrderAllowed(order)
601+ let senderValid = sigVerify(order.bodyBytes, order.proofs[0], order.senderPublicKey)
602+ let matcherValid = sigVerify(order.bodyBytes, order.proofs[1], matcherPub)
603+ if (if (if (orderValid)
604+ then senderValid
605+ else false)
606+ then matcherValid
607+ else false)
608+ then true
609+ else throwOrderError(orderValid, senderValid, matcherValid)
593610 case _ =>
594611 let managerPublic = valueOrElse(getString(this, keyManagerPublicKey()), EMPTY)
595612 if ((managerPublic == EMPTY))
596613 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
597614 else sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(managerPublic))
598615 }
599616

github/deemru/w8io/026f985 
101.13 ms