tx · Fe4ZuzNSWPQ7Ht761uua1LFqiTD4NnkNAygxkKmeqkyD 3MsryPHGVR5NWpGqXNw1LbqEYUx3Vk88yxN: -0.05000000 Waves 2021.08.11 00:23 [1652798] smart account 3MsryPHGVR5NWpGqXNw1LbqEYUx3Vk88yxN > SELF 0.00000000 Waves
{ "type": 13, "id": "Fe4ZuzNSWPQ7Ht761uua1LFqiTD4NnkNAygxkKmeqkyD", "fee": 5000000, "feeAssetId": null, "timestamp": 1628630625268, "version": 2, "chainId": 84, "sender": "3MsryPHGVR5NWpGqXNw1LbqEYUx3Vk88yxN", "senderPublicKey": "EkxY8bYYRAdDeo26yCeHLGSzDnPpuye9m2yxFRQGpXVy", "proofs": [ "5YhbZG9d8Y6XSLWhWcAGNB6eFhwFwdPLaMRZTBeixFWeGjZGfcZoLYbdFWdajbnyKXzq41GhfQqgjEDD1hmwAYq2" ], "script": "base64:AAIFAAAAAAAAACMIAhIAEgMKAQESABIAEgcKBQgICAgBEgMKAQESABIAEgASAAAAACUAAAAACmxQZGVjaW1hbHMAAAAAAAAAAAgAAAAAEWRlY2ltYWxzTXVsdFByaWNlCQAAaAAAAAIJAABoAAAAAgAAAAAAAAAAZAAAAAAAAAAD6AAAAAAAAAAD6AAAAAADU0VQAgAAAAJfXwAAAAAKUG9vbEFjdGl2ZQAAAAAAAAAAAQAAAAAPUG9vbFB1dERpc2FibGVkAAAAAAAAAAACAAAAABNQb29sTWF0Y2hlckRpc2FibGVkAAAAAAAAAAADAAAAAAxQb29sU2h1dGRvd24AAAAAAAAAAAQAAAAAEGZhY3RvcnlQdWJsaWNLZXkJAAJZAAAAAQIAAAArTWltUXRCeDdhemhTdEFIMlI1UVY3VWs4aFdFYm03cTg5NzkzZmsxajFtaAAAAAAOaWR4UG9vbEFkZHJlc3MAAAAAAAAAAAEAAAAADWlkeFBvb2xTdGF0dXMAAAAAAAAAAAIAAAAAEGlkeFBvb2xMUEFzc2V0SWQAAAAAAAAAAAMAAAAAEGlkeEFtb3V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91bnRBc3NldERlY2ltYWxzCAkBAAAABXZhbHVlAAAAAQkAA+wAAAABBQAAAA1hbW91bnRBc3NldElkAAAACGRlY2ltYWxzBAAAAAxwcmljZUFzc2V0SWQJAAJZAAAAAQUAAAANcHJpY2VBc3NldFN0cgQAAAAScHJpY2VBc3NldERlY2ltYWxzCAkBAAAABXZhbHVlAAAAAQkAA+wAAAABBQAAAAxwcmljZUFzc2V0SWQAAAAIZGVjaW1hbHMEAAAAEmxwQXNzZXRJc3N1ZUFjdGlvbgkABEIAAAAFBQAAAAtscEFzc2V0TmFtZQUAAAAMbHBBc3NldERlc2NyAAAAAAAAAAABAAAAAAAAAAAIBgQAAAAJbHBBc3NldElkCQAEOAAAAAEFAAAAEmxwQXNzZXRJc3N1ZUFjdGlvbgQAAAARbHBBc3NldElkQXNTdHJpbmcJAAJYAAAAAQUAAAAJbHBBc3NldElkCQAFFAAAAAIJAARMAAAAAgUAAAASbHBBc3NldElzc3VlQWN0aW9uCQAETAAAAAIJAQAAAARCdXJuAAAAAgUAAAAJbHBBc3NldElkAAAAAAAAAAABBQAAAANuaWwFAAAAEWxwQXNzZXRJZEFzU3RyaW5nAAAAAWkBAAAABm1hbmFnZQAAAAEAAAAGc3RhdHVzBQAAAANuaWwAAAABaQEAAAAMZXN0aW1hdGVkUHV0AAAAAAUAAAADbmlsAAAAAWkBAAAABXN0YXRzAAAAAAUAAAADbmlsAAAAAWkBAAAADGVzdGltYXRlZEdldAAAAAAFAAAAA25pbAAAAAFpAQAAAAVwcmljZQAAAAAFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5lqmf2g==", "height": 1652798, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8ofnj7aYaK6KU6z8m7ADKJvZbkGhgeDKPYMReJi4UD93 Next: 8iepSFiKD3aDxugi3wJpwJQWR18ivVFR5o3N3BcqU1k9 Diff:
Old | New | Differences | |
---|---|---|---|
173 | 173 | } | |
174 | 174 | else { | |
175 | 175 | let currentPoolPrice = fraction(priceAssetPoolLockedAmt, decimalsMultPrice, amountAssetPoolLockedAmt) | |
176 | - | let slippage = fraction(currentPoolPrice, 100, expectedUserPrice) | |
177 | - | if ((slippage > slippageTolerance)) | |
178 | - | then throw(((("Price slippage " + toString(slippage)) + " exceeded the passed limit of ") + toString(slippageTolerance))) | |
176 | + | if (true) | |
177 | + | then throw(toString(currentPoolPrice)) | |
179 | 178 | else { | |
180 | - | let lpAmtByAmountAsset = fraction(poolLPBalance, inAmountAssetAmtCalculated, amountAssetPoolLockedAmt) | |
181 | - | let lpAmtByPriceAsset = fraction(poolLPBalance, inPriceAssetAmtCalculated, priceAssetPoolLockedAmt) | |
182 | - | let totalLp4User = if ((lpAmtByPriceAsset > lpAmtByAmountAsset)) | |
183 | - | then lpAmtByAmountAsset | |
184 | - | else lpAmtByPriceAsset | |
179 | + | let slippage = fraction(currentPoolPrice, 100, expectedUserPrice) | |
180 | + | if ((slippage > slippageTolerance)) | |
181 | + | then throw(((("Price slippage " + toString(slippage)) + " exceeded the passed limit of ") + toString(slippageTolerance))) | |
182 | + | else { | |
183 | + | let lpAmtByAmountAsset = fraction(poolLPBalance, inAmountAssetAmtCalculated, amountAssetPoolLockedAmt) | |
184 | + | let lpAmtByPriceAsset = fraction(poolLPBalance, inPriceAssetAmtCalculated, priceAssetPoolLockedAmt) | |
185 | + | let totalLp4User = if ((lpAmtByPriceAsset > lpAmtByAmountAsset)) | |
186 | + | then lpAmtByAmountAsset | |
187 | + | else lpAmtByPriceAsset | |
185 | 188 | [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)] | |
189 | + | } | |
186 | 190 | } | |
187 | 191 | } | |
188 | 192 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let lPdecimals = 8 | |
5 | 5 | ||
6 | 6 | let decimalsMultPrice = ((100 * 1000) * 1000) | |
7 | 7 | ||
8 | 8 | let SEP = "__" | |
9 | 9 | ||
10 | 10 | let PoolActive = 1 | |
11 | 11 | ||
12 | 12 | let PoolPutDisabled = 2 | |
13 | 13 | ||
14 | 14 | let PoolMatcherDisabled = 3 | |
15 | 15 | ||
16 | 16 | let PoolShutdown = 4 | |
17 | 17 | ||
18 | 18 | let factoryPublicKey = fromBase58String("MimQtBx7azhStAH2R5QV7Uk8hWEbm7q89793fk1j1mh") | |
19 | 19 | ||
20 | 20 | let idxPoolAddress = 1 | |
21 | 21 | ||
22 | 22 | let idxPoolStatus = 2 | |
23 | 23 | ||
24 | 24 | let idxPoolLPAssetId = 3 | |
25 | 25 | ||
26 | 26 | let idxAmountAssetId = 4 | |
27 | 27 | ||
28 | 28 | let idxPriceAssetId = 5 | |
29 | 29 | ||
30 | 30 | let idxAmountAssetDecimals = 6 | |
31 | 31 | ||
32 | 32 | let idxPriceAssetDecimals = 7 | |
33 | 33 | ||
34 | 34 | let idxAmountAssetInternalId = 8 | |
35 | 35 | ||
36 | 36 | let idxPriceAssetInternalId = 9 | |
37 | 37 | ||
38 | 38 | let idxPoolWeight = 10 | |
39 | 39 | ||
40 | 40 | let idxPoolAmountAssetAmt = 1 | |
41 | 41 | ||
42 | 42 | let idxPoolPriceAssetAmt = 2 | |
43 | 43 | ||
44 | 44 | let idxPoolLPAssetAmt = 3 | |
45 | 45 | ||
46 | 46 | func keyPriceLast () = "%s%s__price__last" | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func keyPriceHistory (h,timestamp) = makeString(["%s%s%d%d__price__history", toString(h), toString(timestamp)], SEP) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func keyPoolLiquidity (internalAmountAsset,internalPriceAsset) = (((("%d%d%s__" + internalAmountAsset) + "__") + internalPriceAsset) + "__locked") | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func keyPoolLiquidityByUser (internalAmountAsset,internalPriceAsset,userAddress) = (((((("%d%d%s%s__" + internalAmountAsset) + "__") + internalPriceAsset) + "__") + userAddress) + "__locked") | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func keyPutActionByUser (userAddress,txId) = ((("%s%s%s__P__" + userAddress) + "__") + txId) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func keyGetActionByUser (userAddress,txId) = ((("%s%s%s__G__" + userAddress) + "__") + txId) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset") | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func keyPoolConfig (amountAssetInternal,priceAssetInternal) = (((("%d%d%s__" + amountAssetInternal) + "__") + priceAssetInternal) + "__config") | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func getPoolConfig () = { | |
71 | 71 | let factoryAddress = addressFromPublicKey(factoryPublicKey) | |
72 | 72 | let currentPoolAssets = split(valueOrErrorMessage(getString(factoryAddress, keyMappingPoolContractAddressToPoolAssets(toString(this))), "No factory config found for pool address."), SEP) | |
73 | 73 | let currentPoolConfig = split(valueOrErrorMessage(getString(factoryAddress, keyPoolConfig(currentPoolAssets[1], currentPoolAssets[2])), "No factory config found for pool assets."), SEP) | |
74 | 74 | currentPoolConfig | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func getPoolLiquidity (amountAssetInternalId,priceAssetInternalId) = { | |
79 | 79 | let currentPoolLiquidityValue = getString(keyPoolLiquidity(amountAssetInternalId, priceAssetInternalId)) | |
80 | 80 | if (!(isDefined(currentPoolLiquidityValue))) | |
81 | 81 | then ["", "0", "0", "0"] | |
82 | 82 | else { | |
83 | 83 | let currentPoolLiquidity = split(value(currentPoolLiquidityValue), SEP) | |
84 | 84 | currentPoolLiquidity | |
85 | 85 | } | |
86 | 86 | } | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func getPoolLiquidityByUser (amountAssetInternalId,priceAssetInternalId,userAddress) = { | |
90 | 90 | let currentPoolLiquidityValue = getString(keyPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, userAddress)) | |
91 | 91 | if (!(isDefined(currentPoolLiquidityValue))) | |
92 | 92 | then ["", "0", "0", "0", "0"] | |
93 | 93 | else { | |
94 | 94 | let currentPoolLiquidity = split(value(currentPoolLiquidityValue), SEP) | |
95 | 95 | currentPoolLiquidity | |
96 | 96 | } | |
97 | 97 | } | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func dataPoolLiquidity (amountAssetLocked,priceAssetLocked,lpTokenLocked) = makeString(["%d%d%d", toString(amountAssetLocked), toString(priceAssetLocked), toString(lpTokenLocked)], SEP) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | 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) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | 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) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func dataPoolLiquidityByUser (amountAssetLocked,priceAssetLocked,lpTokenLocked,userAddress) = makeString(["%d%d%d", toString(amountAssetLocked), toString(priceAssetLocked), toString(lpTokenLocked)], SEP) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func calculatePrice (amountAssetAmt,amountAssetDecimals,priceAssetAmt,priceAssetDecimals) = { | |
113 | 113 | let decimalsMult4AmountAsset = pow(10, 0, (lPdecimals - amountAssetDecimals), 0, 0, DOWN) | |
114 | 114 | let decimalsMult4PriceAsset = pow(10, 0, (lPdecimals - priceAssetDecimals), 0, 0, DOWN) | |
115 | 115 | let inAmountAssetAmtFinal = (amountAssetAmt * decimalsMult4AmountAsset) | |
116 | 116 | let inPriceAmtFinal = (priceAssetAmt * decimalsMult4PriceAsset) | |
117 | 117 | let price = fraction(inPriceAmtFinal, decimalsMultPrice, inAmountAssetAmtFinal) | |
118 | 118 | price | |
119 | 119 | } | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | @Callable(i) | |
123 | 123 | func getScriptHash () = { | |
124 | 124 | let hash = toBase64String(value(scriptHash(this))) | |
125 | 125 | throw(hash) | |
126 | 126 | } | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | ||
130 | 130 | @Callable(i) | |
131 | 131 | func put (slippageTolerance) = { | |
132 | 132 | let poolConfigDataList = getPoolConfig() | |
133 | 133 | let lpAssetId = fromBase58String(poolConfigDataList[idxPoolLPAssetId]) | |
134 | 134 | let amountAssetId = poolConfigDataList[idxAmountAssetId] | |
135 | 135 | let priceAssetId = poolConfigDataList[idxPriceAssetId] | |
136 | 136 | let amountAssetInternalId = poolConfigDataList[idxAmountAssetInternalId] | |
137 | 137 | let priceAssetInternalId = poolConfigDataList[idxPriceAssetInternalId] | |
138 | 138 | let amoutAssetDecimals = parseIntValue(poolConfigDataList[idxAmountAssetDecimals]) | |
139 | 139 | let priceAssetDecimals = parseIntValue(poolConfigDataList[idxPriceAssetDecimals]) | |
140 | 140 | let pmtAmountAsset = value(i.payments[0]) | |
141 | 141 | let inAmountAssetAmt = pmtAmountAsset.amount | |
142 | 142 | let inAmountAssetId = value(pmtAmountAsset.assetId) | |
143 | 143 | let pmtPriceAsset = value(i.payments[1]) | |
144 | 144 | let inPriceAssetAmt = pmtPriceAsset.amount | |
145 | 145 | let inPriceAssetId = value(pmtPriceAsset.assetId) | |
146 | 146 | let poolLiquidityDataList = getPoolLiquidity(amountAssetInternalId, priceAssetInternalId) | |
147 | 147 | let poolAmountAssetBalance = parseIntValue(poolLiquidityDataList[idxPoolAmountAssetAmt]) | |
148 | 148 | let poolPriceAssetBalance = parseIntValue(poolLiquidityDataList[idxPoolPriceAssetAmt]) | |
149 | 149 | let poolLPBalance = parseIntValue(poolLiquidityDataList[idxPoolLPAssetAmt]) | |
150 | 150 | let userLiquidityDataList = getPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, toString(i.caller)) | |
151 | 151 | let userAmountAssetBalance = parseIntValue(userLiquidityDataList[idxPoolAmountAssetAmt]) | |
152 | 152 | let userPriceAssetBalance = parseIntValue(userLiquidityDataList[idxPoolPriceAssetAmt]) | |
153 | 153 | let userLPBalance = parseIntValue(userLiquidityDataList[idxPoolLPAssetAmt]) | |
154 | 154 | if (if ((amountAssetId != toBase58String(inAmountAssetId))) | |
155 | 155 | then true | |
156 | 156 | else (priceAssetId != toBase58String(inPriceAssetId))) | |
157 | 157 | then throw("Invalid amount or price asset passed.") | |
158 | 158 | else { | |
159 | 159 | let decimalsMult4AmountAsset = pow(10, 0, (lPdecimals - amoutAssetDecimals), 0, 0, DOWN) | |
160 | 160 | let decimalsMult4PriceAsset = pow(10, 0, (lPdecimals - priceAssetDecimals), 0, 0, DOWN) | |
161 | 161 | let inAmountAssetAmtCalculated = (inAmountAssetAmt * decimalsMult4AmountAsset) | |
162 | 162 | let inPriceAssetAmtCalculated = (inPriceAssetAmt * decimalsMult4PriceAsset) | |
163 | 163 | let expectedUserPrice = fraction(inPriceAssetAmtCalculated, decimalsMultPrice, inAmountAssetAmtCalculated) | |
164 | 164 | let amountAssetPoolLockedAmt = (poolAmountAssetBalance * decimalsMult4AmountAsset) | |
165 | 165 | let priceAssetPoolLockedAmt = (poolPriceAssetBalance * decimalsMult4PriceAsset) | |
166 | 166 | if ((poolLPBalance == 0)) | |
167 | 167 | then { | |
168 | 168 | let partA = pow(inAmountAssetAmtCalculated, 0, 5, 1, 0, DOWN) | |
169 | 169 | let partB = pow(inPriceAssetAmtCalculated, 0, 5, 1, 0, DOWN) | |
170 | 170 | let lpAssetsToReturn = (partA * partB) | |
171 | 171 | let currentPoolPrice = 0 | |
172 | 172 | [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)] | |
173 | 173 | } | |
174 | 174 | else { | |
175 | 175 | let currentPoolPrice = fraction(priceAssetPoolLockedAmt, decimalsMultPrice, amountAssetPoolLockedAmt) | |
176 | - | let slippage = fraction(currentPoolPrice, 100, expectedUserPrice) | |
177 | - | if ((slippage > slippageTolerance)) | |
178 | - | then throw(((("Price slippage " + toString(slippage)) + " exceeded the passed limit of ") + toString(slippageTolerance))) | |
176 | + | if (true) | |
177 | + | then throw(toString(currentPoolPrice)) | |
179 | 178 | else { | |
180 | - | let lpAmtByAmountAsset = fraction(poolLPBalance, inAmountAssetAmtCalculated, amountAssetPoolLockedAmt) | |
181 | - | let lpAmtByPriceAsset = fraction(poolLPBalance, inPriceAssetAmtCalculated, priceAssetPoolLockedAmt) | |
182 | - | let totalLp4User = if ((lpAmtByPriceAsset > lpAmtByAmountAsset)) | |
183 | - | then lpAmtByAmountAsset | |
184 | - | else lpAmtByPriceAsset | |
179 | + | let slippage = fraction(currentPoolPrice, 100, expectedUserPrice) | |
180 | + | if ((slippage > slippageTolerance)) | |
181 | + | then throw(((("Price slippage " + toString(slippage)) + " exceeded the passed limit of ") + toString(slippageTolerance))) | |
182 | + | else { | |
183 | + | let lpAmtByAmountAsset = fraction(poolLPBalance, inAmountAssetAmtCalculated, amountAssetPoolLockedAmt) | |
184 | + | let lpAmtByPriceAsset = fraction(poolLPBalance, inPriceAssetAmtCalculated, priceAssetPoolLockedAmt) | |
185 | + | let totalLp4User = if ((lpAmtByPriceAsset > lpAmtByAmountAsset)) | |
186 | + | then lpAmtByAmountAsset | |
187 | + | else lpAmtByPriceAsset | |
185 | 188 | [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)] | |
189 | + | } | |
186 | 190 | } | |
187 | 191 | } | |
188 | 192 | } | |
189 | 193 | } | |
190 | 194 | ||
191 | 195 | ||
192 | 196 | ||
193 | 197 | @Callable(i) | |
194 | 198 | func get () = { | |
195 | 199 | let poolConfigList = getPoolConfig() | |
196 | 200 | let lpAssetId = poolConfigList[idxPoolLPAssetId] | |
197 | 201 | let amountAssetId = poolConfigList[idxAmountAssetId] | |
198 | 202 | let priceAssetId = poolConfigList[idxPriceAssetId] | |
199 | 203 | let amountAssetInternalId = poolConfigList[idxAmountAssetInternalId] | |
200 | 204 | let priceAssetInternalId = poolConfigList[idxPriceAssetInternalId] | |
201 | 205 | let userLiquidityList = getPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, toString(i.caller)) | |
202 | 206 | let userLPBalance = parseIntValue(userLiquidityList[idxPoolLPAssetAmt]) | |
203 | 207 | let userAmountAssetBalance = parseIntValue(userLiquidityList[idxPoolAmountAssetAmt]) | |
204 | 208 | let userPriceAssetBalance = parseIntValue(userLiquidityList[idxPoolPriceAssetAmt]) | |
205 | 209 | let poolLiquidityList = getPoolLiquidity(amountAssetInternalId, priceAssetInternalId) | |
206 | 210 | let poolLPBalance = parseIntValue(poolLiquidityList[idxPoolLPAssetAmt]) | |
207 | 211 | let poolAmountAssetBalance = parseIntValue(poolLiquidityList[idxPoolAmountAssetAmt]) | |
208 | 212 | let poolPriceAssetBalance = parseIntValue(poolLiquidityList[idxPoolPriceAssetAmt]) | |
209 | 213 | let pmtAmountAsset = value(i.payments[0]) | |
210 | 214 | let pmtAssetId = value(pmtAmountAsset.assetId) | |
211 | 215 | let pmtAssetAmount = pmtAmountAsset.amount | |
212 | 216 | if ((lpAssetId != toBase58String(pmtAssetId))) | |
213 | 217 | then throw("Invalid asset passed.") | |
214 | 218 | else if ((pmtAssetAmount > userLPBalance)) | |
215 | 219 | then throw("Invalid amount passed. Amount less than available.") | |
216 | 220 | else { | |
217 | 221 | let outAmountAssetAmt = fraction(poolAmountAssetBalance, pmtAssetAmount, poolLPBalance) | |
218 | 222 | let outPriceAssetAmt = fraction(poolPriceAssetBalance, pmtAssetAmount, poolLPBalance) | |
219 | 223 | let currentPrice = fraction(poolPriceAssetBalance, decimalsMultPrice, poolAmountAssetBalance) | |
220 | 224 | [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)))] | |
221 | 225 | } | |
222 | 226 | } | |
223 | 227 | ||
224 | 228 | ||
225 | 229 | ||
226 | 230 | @Callable(i) | |
227 | 231 | func topup () = nil | |
228 | 232 | ||
229 | 233 | ||
230 | 234 | ||
231 | 235 | @Callable(i) | |
232 | 236 | func activate (amountAssetStr,priceAssetStr,lpAssetName,lpAssetDescr,poolWeight) = if ((i.callerPublicKey != factoryPublicKey)) | |
233 | 237 | then throw("permissions denied") | |
234 | 238 | else { | |
235 | 239 | let amountAssetId = fromBase58String(amountAssetStr) | |
236 | 240 | let amountAssetDecimals = value(assetInfo(amountAssetId)).decimals | |
237 | 241 | let priceAssetId = fromBase58String(priceAssetStr) | |
238 | 242 | let priceAssetDecimals = value(assetInfo(priceAssetId)).decimals | |
239 | 243 | let lpAssetIssueAction = Issue(lpAssetName, lpAssetDescr, 1, 8, true) | |
240 | 244 | let lpAssetId = calculateAssetId(lpAssetIssueAction) | |
241 | 245 | let lpAssetIdAsString = toBase58String(lpAssetId) | |
242 | 246 | $Tuple2([lpAssetIssueAction, Burn(lpAssetId, 1)], lpAssetIdAsString) | |
243 | 247 | } | |
244 | 248 | ||
245 | 249 | ||
246 | 250 | ||
247 | 251 | @Callable(i) | |
248 | 252 | func manage (status) = nil | |
249 | 253 | ||
250 | 254 | ||
251 | 255 | ||
252 | 256 | @Callable(i) | |
253 | 257 | func estimatedPut () = nil | |
254 | 258 | ||
255 | 259 | ||
256 | 260 | ||
257 | 261 | @Callable(i) | |
258 | 262 | func stats () = nil | |
259 | 263 | ||
260 | 264 | ||
261 | 265 | ||
262 | 266 | @Callable(i) | |
263 | 267 | func estimatedGet () = nil | |
264 | 268 | ||
265 | 269 | ||
266 | 270 | ||
267 | 271 | @Callable(i) | |
268 | 272 | func price () = nil | |
269 | 273 | ||
270 | 274 | ||
271 | 275 | @Verifier(tx) | |
272 | 276 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
273 | 277 |
github/deemru/w8io/026f985 37.08 ms ◑