tx · 9b9kYcD5BYAgvCHHX3qmDFsEGQX5pvaYEbvvZwfq2VHZ

3MsryPHGVR5NWpGqXNw1LbqEYUx3Vk88yxN:  -0.05000000 Waves

2021.08.10 20:49 [1652573] smart account 3MsryPHGVR5NWpGqXNw1LbqEYUx3Vk88yxN > SELF 0.00000000 Waves

{ "type": 13, "id": "9b9kYcD5BYAgvCHHX3qmDFsEGQX5pvaYEbvvZwfq2VHZ", "fee": 5000000, "feeAssetId": null, "timestamp": 1628617817448, "version": 2, "chainId": 84, "sender": "3MsryPHGVR5NWpGqXNw1LbqEYUx3Vk88yxN", "senderPublicKey": "EkxY8bYYRAdDeo26yCeHLGSzDnPpuye9m2yxFRQGpXVy", "proofs": [ "2HU2tcMLn8Ysgm7VaSWJ8hWQcRRDnu4hNXfrTQrSGEYBXvb7EuTSdM69UpJwnwBgrdp8BuuZ43VzVYCPEBHWkJWH" ], "script": "base64:AAIFAAAAAAAAACMIAhIAEgMKAQESABIAEgcKBQgICAgBEgMKAQESABIAEgASAAAAACUAAAAACmxQZGVjaW1hbHMAAAAAAAAAAAgAAAAAEWRlY2ltYWxzTXVsdFByaWNlCQAAaAAAAAIJAABoAAAAAgAAAAAAAAAAZAAAAAAAAAAD6AAAAAAAAAAD6AAAAAADU0VQAgAAAAJfXwAAAAAKUG9vbEFjdGl2ZQAAAAAAAAAAAQAAAAAPUG9vbFB1dERpc2FibGVkAAAAAAAAAAACAAAAABNQb29sTWF0Y2hlckRpc2FibGVkAAAAAAAAAAADAAAAAAxQb29sU2h1dGRvd24AAAAAAAAAAAQAAAAAEGZhY3RvcnlQdWJsaWNLZXkJAAJZAAAAAQIAAAArTWltUXRCeDdhemhTdEFIMlI1UVY3VWs4aFdFYm03cTg5NzkzZmsxajFtaAAAAAAOaWR4UG9vbEFkZHJlc3MAAAAAAAAAAAIAAAAADWlkeFBvb2xTdGF0dXMAAAAAAAAAAAMAAAAAEGlkeFBvb2xMUEFzc2V0SWQAAAAAAAAAAAQAAAAAEGlk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MAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXm3xBSN", "height": 1652573, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FGrH331epy5SYtTQ9XeCSardFzXycKgaxm4Uzogec245 Next: BVhcJwAPk3GrzjtYV8UwzJSen2UFa1dkR4bZUbeMNM6C Diff:
OldNewDifferences
7070 func getPoolConfig () = {
7171 let factoryAddress = addressFromPublicKey(factoryPublicKey)
7272 if (true)
73- then throw(keyMappingPoolContractAddressToPoolAssets(toString(this)))
73+ then throw(valueOrErrorMessage(getString(factoryAddress, keyMappingPoolContractAddressToPoolAssets(toString(this))), "No factory config found for pool address."))
7474 else {
7575 let currentPoolAssets = split(valueOrErrorMessage(getString(factoryAddress, keyMappingPoolContractAddressToPoolAssets(toString(this))), "No factory config found for pool address."), SEP)
7676 let currentPoolConfig = split(valueOrErrorMessage(getString(factoryAddress, keyPoolConfig(currentPoolAssets[2], currentPoolAssets[3])), "No factory config found for pool assets."), SEP)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let lPdecimals = 8
55
66 let decimalsMultPrice = ((100 * 1000) * 1000)
77
88 let SEP = "__"
99
1010 let PoolActive = 1
1111
1212 let PoolPutDisabled = 2
1313
1414 let PoolMatcherDisabled = 3
1515
1616 let PoolShutdown = 4
1717
1818 let factoryPublicKey = fromBase58String("MimQtBx7azhStAH2R5QV7Uk8hWEbm7q89793fk1j1mh")
1919
2020 let idxPoolAddress = 2
2121
2222 let idxPoolStatus = 3
2323
2424 let idxPoolLPAssetId = 4
2525
2626 let idxAmountAssetId = 5
2727
2828 let idxPriceAssetId = 6
2929
3030 let idxAmountAssetDecimals = 7
3131
3232 let idxPriceAssetDecimals = 8
3333
3434 let idxAmountAssetInternalId = 9
3535
3636 let idxPriceAssetInternalId = 10
3737
3838 let idxPoolWeight = 11
3939
4040 let idxPoolAmountAssetAmt = 2
4141
4242 let idxPoolPriceAssetAmt = 3
4343
4444 let idxPoolLPAssetAmt = 4
4545
4646 func keyPriceLast () = "%s%s__price__last"
4747
4848
4949 func keyPriceHistory (h,timestamp) = makeString(["%s%s%d%d__price__history", toString(h), toString(timestamp)], SEP)
5050
5151
5252 func keyPoolLiquidity (internalAmountAsset,internalPriceAsset) = (((("%d%d%s__" + internalAmountAsset) + "__") + internalPriceAsset) + "__locked")
5353
5454
5555 func keyPoolLiquidityByUser (internalAmountAsset,internalPriceAsset,userAddress) = (((((("%d%d%s%s__" + internalAmountAsset) + "__") + internalPriceAsset) + "__") + userAddress) + "__locked")
5656
5757
5858 func keyPutActionByUser (userAddress,txId) = ((("%s%s%s__P__" + userAddress) + "__") + txId)
5959
6060
6161 func keyGetActionByUser (userAddress,txId) = ((("%s%s%s__G__" + userAddress) + "__") + txId)
6262
6363
6464 func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset")
6565
6666
6767 func keyPoolConfig (amountAssetInternal,priceAssetInternal) = (((("%s%d%d%s__" + amountAssetInternal) + "__") + priceAssetInternal) + "__config")
6868
6969
7070 func getPoolConfig () = {
7171 let factoryAddress = addressFromPublicKey(factoryPublicKey)
7272 if (true)
73- then throw(keyMappingPoolContractAddressToPoolAssets(toString(this)))
73+ then throw(valueOrErrorMessage(getString(factoryAddress, keyMappingPoolContractAddressToPoolAssets(toString(this))), "No factory config found for pool address."))
7474 else {
7575 let currentPoolAssets = split(valueOrErrorMessage(getString(factoryAddress, keyMappingPoolContractAddressToPoolAssets(toString(this))), "No factory config found for pool address."), SEP)
7676 let currentPoolConfig = split(valueOrErrorMessage(getString(factoryAddress, keyPoolConfig(currentPoolAssets[2], currentPoolAssets[3])), "No factory config found for pool assets."), SEP)
7777 currentPoolConfig
7878 }
7979 }
8080
8181
8282 func getPoolLiquidity (amountAssetInternalId,priceAssetInternalId) = {
8383 let currentPoolLiquidityValue = getString(keyPoolLiquidity(amountAssetInternalId, priceAssetInternalId))
8484 if (!(isDefined(currentPoolLiquidityValue)))
8585 then nil
8686 else {
8787 let currentPoolLiquidity = split(value(currentPoolLiquidityValue), SEP)
8888 currentPoolLiquidity
8989 }
9090 }
9191
9292
9393 func getPoolLiquidityByUser (amountAssetInternalId,priceAssetInternalId,userAddress) = {
9494 let currentPoolLiquidityValue = getString(keyPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, userAddress))
9595 if (!(isDefined(currentPoolLiquidityValue)))
9696 then ["", "0", "0", "0", "0"]
9797 else {
9898 let currentPoolLiquidity = split(value(currentPoolLiquidityValue), SEP)
9999 currentPoolLiquidity
100100 }
101101 }
102102
103103
104104 func dataPoolLiquidity (amountAssetLocked,priceAssetLocked,lpTokenLocked) = makeString(["%d%d%d", toString(amountAssetLocked), toString(priceAssetLocked), toString(lpTokenLocked)], SEP)
105105
106106
107107 func dataPutActionInfo (inAmountAssetAmt,inPriceAssetAmt,outLpAmt,price,slippageTolerancePassedByUser,txHeight,txTimestamp) = makeString(["%d%d%d%d%d%d%d", toString(inAmountAssetAmt), toString(inPriceAssetAmt), toString(outLpAmt), toString(price), toString(slippageTolerancePassedByUser), toString(txHeight), toString(txTimestamp)], SEP)
108108
109109
110110 func dataGetActionInfo (outAmountAssetAmt,outPriceAssetAmt,inLpAmt,price,txHeight,txTimestamp) = makeString(["%d%d%d%d%d%d", toString(outAmountAssetAmt), toString(outPriceAssetAmt), toString(inLpAmt), toString(price), toString(txHeight), toString(txTimestamp)], SEP)
111111
112112
113113 func dataPoolLiquidityByUser (amountAssetLocked,priceAssetLocked,lpTokenLocked,userAddress) = makeString(["%d%d%d", toString(amountAssetLocked), toString(priceAssetLocked), toString(lpTokenLocked)], SEP)
114114
115115
116116 func calculatePrice (amountAssetAmt,amountAssetDecimals,priceAssetAmt,priceAssetDecimals) = {
117117 let decimalsMult4AmountAsset = pow(10, 0, (lPdecimals - amountAssetDecimals), 0, 0, DOWN)
118118 let decimalsMult4PriceAsset = pow(10, 0, (lPdecimals - priceAssetDecimals), 0, 0, DOWN)
119119 let inAmountAssetAmtFinal = (amountAssetAmt * decimalsMult4AmountAsset)
120120 let inPriceAmtFinal = (priceAssetAmt * decimalsMult4PriceAsset)
121121 let price = fraction(inPriceAmtFinal, decimalsMultPrice, inAmountAssetAmtFinal)
122122 price
123123 }
124124
125125
126126 @Callable(i)
127127 func getScriptHash () = {
128128 let hash = toBase64String(value(scriptHash(this)))
129129 throw(hash)
130130 }
131131
132132
133133
134134 @Callable(i)
135135 func put (slippageTolerance) = {
136136 let poolConfigDataList = getPoolConfig()
137137 let lpAssetId = fromBase58String(poolConfigDataList[idxPoolLPAssetId])
138138 let amountAssetId = poolConfigDataList[idxAmountAssetId]
139139 let priceAssetId = poolConfigDataList[idxPriceAssetId]
140140 let amountAssetInternalId = poolConfigDataList[idxAmountAssetInternalId]
141141 let priceAssetInternalId = poolConfigDataList[idxPriceAssetInternalId]
142142 let amoutAssetDecimals = parseIntValue(poolConfigDataList[idxAmountAssetDecimals])
143143 let priceAssetDecimals = parseIntValue(poolConfigDataList[idxPriceAssetDecimals])
144144 let pmtAmountAsset = value(i.payments[0])
145145 let inAmountAssetAmt = pmtAmountAsset.amount
146146 let inAmountAssetId = value(pmtAmountAsset.assetId)
147147 let pmtPriceAsset = value(i.payments[1])
148148 let inPriceAssetAmt = pmtPriceAsset.amount
149149 let inPriceAssetId = value(pmtPriceAsset.assetId)
150150 let poolLiquidityDataList = getPoolLiquidity(amountAssetInternalId, priceAssetInternalId)
151151 let poolAmountAssetBalance = parseIntValue(poolLiquidityDataList[idxPoolAmountAssetAmt])
152152 let poolPriceAssetBalance = parseIntValue(poolLiquidityDataList[idxPoolPriceAssetAmt])
153153 let poolLPBalance = parseIntValue(poolLiquidityDataList[idxPoolLPAssetAmt])
154154 let userLiquidityDataList = getPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, toString(i.caller))
155155 let userAmountAssetBalance = parseIntValue(userLiquidityDataList[idxPoolAmountAssetAmt])
156156 let userPriceAssetBalance = parseIntValue(userLiquidityDataList[idxPoolPriceAssetAmt])
157157 let userLPBalance = parseIntValue(userLiquidityDataList[idxPoolLPAssetAmt])
158158 if (if ((amountAssetId != toBase58String(inAmountAssetId)))
159159 then true
160160 else (priceAssetId != toBase58String(inPriceAssetId)))
161161 then throw("Invalid amount or price asset passed.")
162162 else {
163163 let decimalsMult4AmountAsset = pow(10, 0, (lPdecimals - amoutAssetDecimals), 0, 0, DOWN)
164164 let decimalsMult4PriceAsset = pow(10, 0, (lPdecimals - priceAssetDecimals), 0, 0, DOWN)
165165 let inAmountAssetAmtCalculated = (inAmountAssetAmt * decimalsMult4AmountAsset)
166166 let inPriceAssetAmtCalculated = (inPriceAssetAmt * decimalsMult4PriceAsset)
167167 let expectedUserPrice = fraction(inPriceAssetAmtCalculated, decimalsMultPrice, inAmountAssetAmtCalculated)
168168 let amountAssetPoolLockedAmt = (poolAmountAssetBalance * decimalsMult4AmountAsset)
169169 let priceAssetPoolLockedAmt = (poolPriceAssetBalance * decimalsMult4PriceAsset)
170170 let currentPoolPrice = fraction(priceAssetPoolLockedAmt, decimalsMultPrice, amountAssetPoolLockedAmt)
171171 if ((size(poolLiquidityDataList) == 0))
172172 then {
173173 let partA = pow(inAmountAssetAmtCalculated, 0, 0, 50, 1, DOWN)
174174 let partB = pow(inPriceAssetAmtCalculated, 0, 0, 50, 1, DOWN)
175175 let lpAssetsToReturn = (partA * partB)
176176 [StringEntry(keyPriceLast(), ("%s__" + toString(currentPoolPrice))), StringEntry(keyPriceHistory(height, lastBlock.timestamp), ("%s__" + toString(currentPoolPrice))), StringEntry(keyPutActionByUser(toString(i.caller), toBase58String(i.transactionId)), dataPutActionInfo(inAmountAssetAmt, inPriceAssetAmt, lpAssetsToReturn, currentPoolPrice, slippageTolerance, height, lastBlock.timestamp)), StringEntry(keyPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, toString(i.caller)), dataPoolLiquidity(inAmountAssetAmt, inPriceAssetAmt, lpAssetsToReturn)), StringEntry(keyPoolLiquidity(amountAssetInternalId, priceAssetInternalId), dataPoolLiquidity(inAmountAssetAmt, inPriceAssetAmt, lpAssetsToReturn)), Reissue(lpAssetId, lpAssetsToReturn, true), ScriptTransfer(i.caller, lpAssetsToReturn, lpAssetId)]
177177 }
178178 else {
179179 let slippage = fraction(currentPoolPrice, 100, expectedUserPrice)
180180 if ((slippage > slippageTolerance))
181181 then throw(((("Price slippage " + toString(slippage)) + " exceeded the passed limit of ") + toString(slippageTolerance)))
182182 else {
183183 let lpAmtByAmountAsset = fraction(poolLPBalance, inAmountAssetAmtCalculated, amountAssetPoolLockedAmt)
184184 let lpAmtByPriceAsset = fraction(poolLPBalance, inPriceAssetAmtCalculated, priceAssetPoolLockedAmt)
185185 let totalLp4User = if ((lpAmtByPriceAsset > lpAmtByAmountAsset))
186186 then lpAmtByAmountAsset
187187 else lpAmtByPriceAsset
188188 [StringEntry(keyPriceLast(), ("%s__" + toString(currentPoolPrice))), StringEntry(keyPriceHistory(height, lastBlock.timestamp), ("%s__" + toString(currentPoolPrice))), StringEntry(keyPutActionByUser(toString(i.caller), toBase58String(i.transactionId)), dataPutActionInfo(inAmountAssetAmt, inPriceAssetAmt, totalLp4User, currentPoolPrice, slippageTolerance, height, lastBlock.timestamp)), StringEntry(keyPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, toString(i.caller)), dataPoolLiquidity((userAmountAssetBalance + inAmountAssetAmt), (userPriceAssetBalance + inPriceAssetAmt), (userLPBalance + totalLp4User))), StringEntry(keyPoolLiquidity(amountAssetInternalId, priceAssetInternalId), dataPoolLiquidity((poolAmountAssetBalance + inAmountAssetAmt), (poolPriceAssetBalance + inPriceAssetAmt), (poolLPBalance + totalLp4User))), Reissue(lpAssetId, totalLp4User, true), ScriptTransfer(i.caller, totalLp4User, lpAssetId)]
189189 }
190190 }
191191 }
192192 }
193193
194194
195195
196196 @Callable(i)
197197 func get () = {
198198 let poolConfigList = getPoolConfig()
199199 let lpAssetId = poolConfigList[idxPoolLPAssetId]
200200 let amountAssetId = poolConfigList[idxAmountAssetId]
201201 let priceAssetId = poolConfigList[idxPriceAssetId]
202202 let amountAssetInternalId = poolConfigList[idxAmountAssetInternalId]
203203 let priceAssetInternalId = poolConfigList[idxPriceAssetInternalId]
204204 let userLiquidityList = getPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, toString(i.caller))
205205 let userLPBalance = parseIntValue(userLiquidityList[idxPoolLPAssetAmt])
206206 let userAmountAssetBalance = parseIntValue(userLiquidityList[idxPoolAmountAssetAmt])
207207 let userPriceAssetBalance = parseIntValue(userLiquidityList[idxPoolPriceAssetAmt])
208208 let poolLiquidityList = getPoolLiquidity(amountAssetInternalId, priceAssetInternalId)
209209 let poolLPBalance = parseIntValue(poolLiquidityList[idxPoolLPAssetAmt])
210210 let poolAmountAssetBalance = parseIntValue(poolLiquidityList[idxPoolAmountAssetAmt])
211211 let poolPriceAssetBalance = parseIntValue(poolLiquidityList[idxPoolPriceAssetAmt])
212212 let pmtAmountAsset = value(i.payments[0])
213213 let pmtAssetId = value(pmtAmountAsset.assetId)
214214 let pmtAssetAmount = pmtAmountAsset.amount
215215 if ((lpAssetId != toBase58String(pmtAssetId)))
216216 then throw("Invalid asset passed.")
217217 else if ((pmtAssetAmount > userLPBalance))
218218 then throw("Invalid amount passed. Amount less than available.")
219219 else {
220220 let outAmountAssetAmt = fraction(poolAmountAssetBalance, pmtAssetAmount, poolLPBalance)
221221 let outPriceAssetAmt = fraction(poolPriceAssetBalance, pmtAssetAmount, poolLPBalance)
222222 let currentPrice = fraction(poolPriceAssetBalance, decimalsMultPrice, poolAmountAssetBalance)
223223 [Burn(pmtAssetId, pmtAssetAmount), ScriptTransfer(i.caller, outAmountAssetAmt, fromBase58String(amountAssetId)), ScriptTransfer(i.caller, outPriceAssetAmt, fromBase58String(priceAssetId)), StringEntry(keyPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, toString(i.caller)), dataPoolLiquidity((userAmountAssetBalance - outAmountAssetAmt), (userPriceAssetBalance - outPriceAssetAmt), (userLPBalance - pmtAssetAmount))), StringEntry(keyPoolLiquidity(amountAssetInternalId, priceAssetInternalId), dataPoolLiquidity((poolAmountAssetBalance - outAmountAssetAmt), (poolPriceAssetBalance - outPriceAssetAmt), (poolLPBalance - pmtAssetAmount))), StringEntry(keyGetActionByUser(toString(i.caller), toBase58String(i.transactionId)), dataGetActionInfo(outAmountAssetAmt, outPriceAssetAmt, pmtAssetAmount, currentPrice, height, lastBlock.timestamp)), StringEntry(keyPriceLast(), ("%s__" + toString(currentPrice))), StringEntry(keyPriceHistory(height, lastBlock.timestamp), ("%s__" + toString(currentPrice)))]
224224 }
225225 }
226226
227227
228228
229229 @Callable(i)
230230 func topup () = nil
231231
232232
233233
234234 @Callable(i)
235235 func activate (amountAssetStr,priceAssetStr,lpAssetName,lpAssetDescr,poolWeight) = if ((i.callerPublicKey != factoryPublicKey))
236236 then throw("permissions denied")
237237 else {
238238 let amountAssetId = fromBase58String(amountAssetStr)
239239 let amountAssetDecimals = value(assetInfo(amountAssetId)).decimals
240240 let priceAssetId = fromBase58String(priceAssetStr)
241241 let priceAssetDecimals = value(assetInfo(priceAssetId)).decimals
242242 let lpAssetIssueAction = Issue(lpAssetName, lpAssetDescr, 1, 8, true)
243243 let lpAssetId = calculateAssetId(lpAssetIssueAction)
244244 let lpAssetIdAsString = toBase58String(lpAssetId)
245245 $Tuple2([lpAssetIssueAction, Burn(lpAssetId, 1)], lpAssetIdAsString)
246246 }
247247
248248
249249
250250 @Callable(i)
251251 func manage (status) = nil
252252
253253
254254
255255 @Callable(i)
256256 func estimatedPut () = nil
257257
258258
259259
260260 @Callable(i)
261261 func stats () = nil
262262
263263
264264
265265 @Callable(i)
266266 func estimatedGet () = nil
267267
268268
269269
270270 @Callable(i)
271271 func price () = nil
272272
273273
274274 @Verifier(tx)
275275 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
276276

github/deemru/w8io/026f985 
83.36 ms