tx · 3wWo31vmFDG3w9RkuTyz9UVwnzBKTEzXt5eDM4AQUPkR 3NBsEdgQXYpy59EHGqgwfE7jSAqFUzo7Ccp: -0.05000000 Waves 2021.09.09 17:29 [1695630] smart account 3NBsEdgQXYpy59EHGqgwfE7jSAqFUzo7Ccp > SELF 0.00000000 Waves
{ "type": 13, "id": "3wWo31vmFDG3w9RkuTyz9UVwnzBKTEzXt5eDM4AQUPkR", "fee": 5000000, "feeAssetId": null, "timestamp": 1631197739430, "version": 2, "chainId": 84, "sender": "3NBsEdgQXYpy59EHGqgwfE7jSAqFUzo7Ccp", "senderPublicKey": "FwAzvdwqFM7zuHfsEbjdj845GeiE4UKnLGPLbqhS4U38", "proofs": [ "54MFsfktMaMRDrrimr2EUvoVUBmeJdzHwVEmadQJNTjdobS7Kc6Ji23k2MACwPn7fif596k1p42ZJTsBYPdkgMgY" ], "script": "base64:AAIFAAAAAAAAACkIAhIECgIBBBIAEgQKAggIEgASBQoDAQEIEgUKAwEBCBIFCgMIAQgSAAAAADkAAAAAD2ZhY3RvcnlDb250cmFjdAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVGKj2upWaZ+pQUgYRThtGvhV6u4YNF7hRQAAAAAKbFBkZWNpbWFscwAAAAAAAAAACAAAAAAGc2NhbGU4AAAAAAAF9eEAAAAAAAdzY2FsZTE4CQABNgAAAAEADeC2s6dkAAAAAAAAA1NFUAIAAAACX18AAAAAClBvb2xBY3RpdmUAAAAAAAAAAAEAAAAAD1Bvb2xQdXREaXNhYmxlZAAAAAAAAAAAAgAAAAATUG9vbE1hdGNoZXJEaXNhYmxlZAAAAAAAAAAAAwAAAAAMUG9vbFNodXRkb3duAAAAAAAAAAAEAAAAAA5pZHhQb29sQWRkcmVzcwAAAAAAAAAAAQAAAAANaWR4UG9vbFN0YXR1cwAAAAAAAAAAAgAAAAAQaWR4UG9vbExQQXNzZXRJZAAAAAAAAAAAAwAAAAAQaWR4QW1vdW50QXNzZXRJZAAAAAAAAAAABAAAAA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ckbWF0Y2gwAgAAAAVPcmRlcgQAAAAFb3JkZXIFAAAAByRtYXRjaDAJAAGRAAAAAgkBAAAAG3ZhbGlkYXRlTWF0Y2hlck9yZGVyQWxsb3dlZAAAAAEFAAAABW9yZGVyAAAAAAAAAAABCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleXkbzRI=", "height": 1695630, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5YDb2GySX7NZ8QGV3uaNSN2ahDfMEVutKw57Zjppvzrz Next: HXVgiEq2p22tcdnhCsiXFC2d55MWdUGLcBrAZwjQVaNG Diff:
Old | New | Differences | |
---|---|---|---|
160 | 160 | else assetBalance(this, fromBase58String(assetId)) | |
161 | 161 | ||
162 | 162 | ||
163 | - | func | |
163 | + | func calculatePrices (amountAssetAmt,priceAssetAmt,lpAmount) = { | |
164 | 164 | let poolConfigDataList = getPoolConfig() | |
165 | 165 | let amoutAssetDecimals = parseIntValue(poolConfigDataList[idxAmountAssetDecimals]) | |
166 | 166 | let priceAssetDecimals = parseIntValue(poolConfigDataList[idxPriceAssetDecimals]) | |
436 | 436 | let poolLPBalance = parseIntValue(poolLiquidityDataList[idxPoolLPAssetAmt]) | |
437 | 437 | let accountAmountAssetBalance = privateGetAccountBalance(amountAssetId) | |
438 | 438 | let accountPriceAssetBalance = privateGetAccountBalance(priceAssetId) | |
439 | - | let pricesList = | |
439 | + | let pricesList = calculatePrices(accountAmountAssetBalance, accountPriceAssetBalance, poolLPBalance) | |
440 | 440 | let currentPrice = pricesList[0] | |
441 | 441 | let lpPriceInAmountAsset = pricesList[1] | |
442 | 442 | let lpPriceInPriceAsset = pricesList[2] |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let factoryContract = Address(base58'3MxueHaGvWmdk5crtn9HwtkSAAZScTWoHaC') | |
5 | 5 | ||
6 | 6 | let lPdecimals = 8 | |
7 | 7 | ||
8 | 8 | let scale8 = 100000000 | |
9 | 9 | ||
10 | 10 | let scale18 = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let SEP = "__" | |
13 | 13 | ||
14 | 14 | let PoolActive = 1 | |
15 | 15 | ||
16 | 16 | let PoolPutDisabled = 2 | |
17 | 17 | ||
18 | 18 | let PoolMatcherDisabled = 3 | |
19 | 19 | ||
20 | 20 | let PoolShutdown = 4 | |
21 | 21 | ||
22 | 22 | let idxPoolAddress = 1 | |
23 | 23 | ||
24 | 24 | let idxPoolStatus = 2 | |
25 | 25 | ||
26 | 26 | let idxPoolLPAssetId = 3 | |
27 | 27 | ||
28 | 28 | let idxAmountAssetId = 4 | |
29 | 29 | ||
30 | 30 | let idxPriceAssetId = 5 | |
31 | 31 | ||
32 | 32 | let idxAmountAssetDecimals = 6 | |
33 | 33 | ||
34 | 34 | let idxPriceAssetDecimals = 7 | |
35 | 35 | ||
36 | 36 | let idxAmountAssetInternalId = 8 | |
37 | 37 | ||
38 | 38 | let idxPriceAssetInternalId = 9 | |
39 | 39 | ||
40 | 40 | let idxLPAssetDecimals = 10 | |
41 | 41 | ||
42 | 42 | let idxMatcherPublicKey = 11 | |
43 | 43 | ||
44 | 44 | let idxPoolAmountAssetAmt = 1 | |
45 | 45 | ||
46 | 46 | let idxPoolPriceAssetAmt = 2 | |
47 | 47 | ||
48 | 48 | let idxPoolLPAssetAmt = 3 | |
49 | 49 | ||
50 | 50 | let idxFactoryStakingContract = 1 | |
51 | 51 | ||
52 | 52 | let idxFactoryBoostingConfig = 2 | |
53 | 53 | ||
54 | 54 | func keyPriceLast () = "%s%s__price__last" | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func keyPriceHistory (h,timestamp) = makeString(["%s%s%d%d__price__history", toString(h), toString(timestamp)], SEP) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func keyPoolLiquidity (internalAmountAsset,internalPriceAsset) = (((("%d%d%s__" + internalAmountAsset) + "__") + internalPriceAsset) + "__locked") | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func keyPoolLiquidityByUser (internalAmountAsset,internalPriceAsset,userAddress) = (((((("%d%d%s%s__" + internalAmountAsset) + "__") + internalPriceAsset) + "__") + userAddress) + "__locked") | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func keyPutActionByUser (userAddress,txId) = ((("%s%s%s__P__" + userAddress) + "__") + txId) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func keyGetActionByUser (userAddress,txId) = ((("%s%s%s__G__" + userAddress) + "__") + txId) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func keyAmountAsset () = "%s__amountAsset" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func keyPriceAsset () = "%s__priceAsset" | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func keyFactoryConfig () = "%s__factoryConfig" | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset") | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func keyPoolConfig (amountAssetInternal,priceAssetInternal) = (((("%d%d%s__" + amountAssetInternal) + "__") + priceAssetInternal) + "__config") | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func keyAllPoolsShutdown () = "%s__shutdown" | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func keyPoolWeight (contractAddress) = ("%s%s__poolWeight__" + contractAddress) | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func isGlobalShutdown () = valueOrElse(getBoolean(factoryContract, keyAllPoolsShutdown()), false) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func getPoolConfig () = { | |
100 | 100 | let poolAmountAsset = valueOrErrorMessage(getString(this, keyAmountAsset()), "No config for amount asset found") | |
101 | 101 | let poolPriceAsset = valueOrErrorMessage(getString(this, keyPriceAsset()), "No config for price asset found") | |
102 | 102 | let poolPriceAssetInternal = valueOrErrorMessage(getInteger(factoryContract, keyMappingsBaseAsset2internalId(poolPriceAsset)), "No config for internal price asset found") | |
103 | 103 | let poolAmountAssetInternal = valueOrErrorMessage(getInteger(factoryContract, keyMappingsBaseAsset2internalId(poolAmountAsset)), "No config for internal amount asset found") | |
104 | 104 | split(valueOrErrorMessage(getString(factoryContract, keyPoolConfig(toString(poolAmountAssetInternal), toString(poolPriceAssetInternal))), "No factory config found for pool assets."), SEP) | |
105 | 105 | } | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func getFactoryConfig () = split(valueOrErrorMessage(getString(factoryContract, keyFactoryConfig()), "No factory config found."), SEP) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func getPoolLiquidity (amountAssetInternalId,priceAssetInternalId) = { | |
112 | 112 | let currentPoolLiquidityValue = getString(this, keyPoolLiquidity(amountAssetInternalId, priceAssetInternalId)) | |
113 | 113 | if (isDefined(currentPoolLiquidityValue)) | |
114 | 114 | then split(value(currentPoolLiquidityValue), SEP) | |
115 | 115 | else ["", "0", "0", "0"] | |
116 | 116 | } | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func getPoolLiquidityByUser (amountAssetInternalId,priceAssetInternalId,userAddress) = { | |
120 | 120 | let currentPoolLiquidityValue = getString(this, keyPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, userAddress)) | |
121 | 121 | if (isDefined(currentPoolLiquidityValue)) | |
122 | 122 | then split(value(currentPoolLiquidityValue), SEP) | |
123 | 123 | else ["", "0", "0", "0", "0"] | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func dataPoolLiquidity (amountAssetLocked,priceAssetLocked,lpTokenLocked) = makeString(["%d%d%d", toString(amountAssetLocked), toString(priceAssetLocked), toString(lpTokenLocked)], SEP) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func dataPoolLiquidityByUser (amountAssetLocked,priceAssetLocked,lpTokenLocked,userAddress) = makeString(["%d%d%d", toString(amountAssetLocked), toString(priceAssetLocked), toString(lpTokenLocked)], SEP) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func dataPutActionInfo (inAmountAssetAmt,inPriceAssetAmt,outLpAmt,price,slippageTolerancePassedByUser,slippageToleranceReal,txHeight,txTimestamp) = makeString(["%d%d%d%d%d%d%d", toString(inAmountAssetAmt), toString(inPriceAssetAmt), toString(outLpAmt), toString(price), toString(slippageTolerancePassedByUser), toString(slippageToleranceReal), toString(txHeight), toString(txTimestamp)], SEP) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | 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) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func privateCastToScaleOf (amount,resultScale,currentScale) = fraction(amount, resultScale, currentScale) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func calculatePriceBigInt (priceAssetLockedAmt,amountAssetlLockedAmt) = { | |
143 | 143 | let priceBigInt = fraction(toBigInt(priceAssetLockedAmt), scale18, toBigInt(amountAssetlLockedAmt)) | |
144 | 144 | toInt(fraction(priceBigInt, toBigInt(scale8), scale18)) | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func calculatePrice (priceAssetLockedAmt,amountAssetlLockedAmt) = fraction(priceAssetLockedAmt, scale8, amountAssetlLockedAmt) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func privateCalculatePrice (amoutAssetDecimals,priceAssetDecimals,amountAssetAmt,priceAssetAmt) = { | |
152 | 152 | let amountAssetAmtCasted = privateCastToScaleOf(amountAssetAmt, scale8, amoutAssetDecimals) | |
153 | 153 | let priceAssetAmtCasted = privateCastToScaleOf(priceAssetAmt, scale8, priceAssetDecimals) | |
154 | 154 | calculatePrice(priceAssetAmtCasted, amountAssetAmtCasted) | |
155 | 155 | } | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func privateGetAccountBalance (assetId) = if ((assetId == "WAVES")) | |
159 | 159 | then wavesBalance(this).available | |
160 | 160 | else assetBalance(this, fromBase58String(assetId)) | |
161 | 161 | ||
162 | 162 | ||
163 | - | func | |
163 | + | func calculatePrices (amountAssetAmt,priceAssetAmt,lpAmount) = { | |
164 | 164 | let poolConfigDataList = getPoolConfig() | |
165 | 165 | let amoutAssetDecimals = parseIntValue(poolConfigDataList[idxAmountAssetDecimals]) | |
166 | 166 | let priceAssetDecimals = parseIntValue(poolConfigDataList[idxPriceAssetDecimals]) | |
167 | 167 | let poolPrice = privateCalculatePrice(amoutAssetDecimals, priceAssetDecimals, amountAssetAmt, priceAssetAmt) | |
168 | 168 | let amountAssetPoolLockedAmt = privateCastToScaleOf(amountAssetAmt, scale8, amoutAssetDecimals) | |
169 | 169 | let priceAssetPoolLockedAmt = privateCastToScaleOf(priceAssetAmt, scale8, priceAssetDecimals) | |
170 | 170 | let lpPriceInAmountAsset = calculatePrice(amountAssetPoolLockedAmt, lpAmount) | |
171 | 171 | let lpPriceInPriceAsset = calculatePrice(priceAssetPoolLockedAmt, lpAmount) | |
172 | 172 | [poolPrice, lpPriceInAmountAsset, lpPriceInPriceAsset] | |
173 | 173 | } | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func privateEstimateGetOperation (paymentLpAssetId,paymentLpAmount,userAddress) = { | |
177 | 177 | let poolConfigList = getPoolConfig() | |
178 | 178 | let lpAssetId = poolConfigList[idxPoolLPAssetId] | |
179 | 179 | let amountAssetId = poolConfigList[idxAmountAssetId] | |
180 | 180 | let priceAssetId = poolConfigList[idxPriceAssetId] | |
181 | 181 | let amountAssetInternalId = poolConfigList[idxAmountAssetInternalId] | |
182 | 182 | let priceAssetInternalId = poolConfigList[idxPriceAssetInternalId] | |
183 | 183 | let amoutAssetDecimals = parseIntValue(poolConfigList[idxAmountAssetDecimals]) | |
184 | 184 | let priceAssetDecimals = parseIntValue(poolConfigList[idxPriceAssetDecimals]) | |
185 | 185 | let poolStatus = poolConfigList[idxPoolStatus] | |
186 | 186 | let userLiquidityList = getPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, userAddress) | |
187 | 187 | let userLPBalance = parseIntValue(userLiquidityList[idxPoolLPAssetAmt]) | |
188 | 188 | let userAmountAssetBalance = parseIntValue(userLiquidityList[idxPoolAmountAssetAmt]) | |
189 | 189 | let userPriceAssetBalance = parseIntValue(userLiquidityList[idxPoolPriceAssetAmt]) | |
190 | 190 | let poolLiquidityList = getPoolLiquidity(amountAssetInternalId, priceAssetInternalId) | |
191 | 191 | let poolLPBalance = parseIntValue(poolLiquidityList[idxPoolLPAssetAmt]) | |
192 | 192 | let poolAmountAssetBalance = parseIntValue(poolLiquidityList[idxPoolAmountAssetAmt]) | |
193 | 193 | let poolPriceAssetBalance = parseIntValue(poolLiquidityList[idxPoolPriceAssetAmt]) | |
194 | 194 | if ((lpAssetId != paymentLpAssetId)) | |
195 | 195 | then throw("Invalid asset passed.") | |
196 | 196 | else { | |
197 | 197 | let accountAmountAssetBalance = privateGetAccountBalance(amountAssetId) | |
198 | 198 | let accountPriceAssetBalance = privateGetAccountBalance(priceAssetId) | |
199 | 199 | let amountAssetPoolLockedAmt = privateCastToScaleOf(accountAmountAssetBalance, scale8, amoutAssetDecimals) | |
200 | 200 | let priceAssetPoolLockedAmt = privateCastToScaleOf(accountPriceAssetBalance, scale8, priceAssetDecimals) | |
201 | 201 | let outAmountAssetAmt = fraction(amountAssetPoolLockedAmt, paymentLpAmount, poolLPBalance) | |
202 | 202 | let outPriceAssetAmt = fraction(priceAssetPoolLockedAmt, paymentLpAmount, poolLPBalance) | |
203 | 203 | let outAmountAssetAmtFinal = privateCastToScaleOf(outAmountAssetAmt, amoutAssetDecimals, scale8) | |
204 | 204 | let outPriceAssetAmtFinal = privateCastToScaleOf(outPriceAssetAmt, priceAssetDecimals, scale8) | |
205 | 205 | let currentPrice = calculatePrice(priceAssetPoolLockedAmt, amountAssetPoolLockedAmt) | |
206 | 206 | $Tuple14(outAmountAssetAmtFinal, outPriceAssetAmtFinal, amountAssetInternalId, priceAssetInternalId, userAmountAssetBalance, amountAssetId, userPriceAssetBalance, priceAssetId, userLPBalance, poolAmountAssetBalance, poolPriceAssetBalance, poolLPBalance, currentPrice, poolStatus) | |
207 | 207 | } | |
208 | 208 | } | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func privateEstimatePutOperation (slippageTolerance,inAmountAssetAmt,inAmountAssetId,inPriceAssetAmt,inPriceAssetId,userAddress) = { | |
212 | 212 | let poolConfigDataList = getPoolConfig() | |
213 | 213 | let lpAssetId = fromBase58String(poolConfigDataList[idxPoolLPAssetId]) | |
214 | 214 | let amountAssetId = poolConfigDataList[idxAmountAssetId] | |
215 | 215 | let priceAssetId = poolConfigDataList[idxPriceAssetId] | |
216 | 216 | let amountAssetInternalId = poolConfigDataList[idxAmountAssetInternalId] | |
217 | 217 | let priceAssetInternalId = poolConfigDataList[idxPriceAssetInternalId] | |
218 | 218 | let amoutAssetDecimals = parseIntValue(poolConfigDataList[idxAmountAssetDecimals]) | |
219 | 219 | let priceAssetDecimals = parseIntValue(poolConfigDataList[idxPriceAssetDecimals]) | |
220 | 220 | let poolStatus = poolConfigDataList[idxPoolStatus] | |
221 | 221 | let poolLiquidityDataList = getPoolLiquidity(amountAssetInternalId, priceAssetInternalId) | |
222 | 222 | let poolAmountAssetBalance = parseIntValue(poolLiquidityDataList[idxPoolAmountAssetAmt]) | |
223 | 223 | let poolPriceAssetBalance = parseIntValue(poolLiquidityDataList[idxPoolPriceAssetAmt]) | |
224 | 224 | let poolLPBalance = parseIntValue(poolLiquidityDataList[idxPoolLPAssetAmt]) | |
225 | 225 | let userLiquidityDataList = getPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, userAddress) | |
226 | 226 | let userAmountAssetBalance = parseIntValue(userLiquidityDataList[idxPoolAmountAssetAmt]) | |
227 | 227 | let userPriceAssetBalance = parseIntValue(userLiquidityDataList[idxPoolPriceAssetAmt]) | |
228 | 228 | let userLPBalance = parseIntValue(userLiquidityDataList[idxPoolLPAssetAmt]) | |
229 | 229 | if (if ((amountAssetId != inAmountAssetId)) | |
230 | 230 | then true | |
231 | 231 | else (priceAssetId != inPriceAssetId)) | |
232 | 232 | then throw("Invalid amount or price asset passed.") | |
233 | 233 | else { | |
234 | 234 | let accountAmountAssetBalance = privateGetAccountBalance(amountAssetId) | |
235 | 235 | let accountPriceAssetBalance = privateGetAccountBalance(priceAssetId) | |
236 | 236 | let inAmountAssetAmtCalculated = privateCastToScaleOf(inAmountAssetAmt, scale8, amoutAssetDecimals) | |
237 | 237 | let inPriceAssetAmtCalculated = privateCastToScaleOf(inPriceAssetAmt, scale8, priceAssetDecimals) | |
238 | 238 | let userPrice = calculatePrice(inPriceAssetAmtCalculated, inAmountAssetAmtCalculated) | |
239 | 239 | let amountAssetPoolLockedAmt = privateCastToScaleOf(accountAmountAssetBalance, scale8, amoutAssetDecimals) | |
240 | 240 | let priceAssetPoolLockedAmt = privateCastToScaleOf(accountPriceAssetBalance, scale8, priceAssetDecimals) | |
241 | 241 | let curentPrice = if ((poolLPBalance == 0)) | |
242 | 242 | then 0 | |
243 | 243 | else calculatePrice(priceAssetPoolLockedAmt, amountAssetPoolLockedAmt) | |
244 | 244 | let slippage = if ((curentPrice == 0)) | |
245 | 245 | then 0 | |
246 | 246 | else if ((curentPrice > userPrice)) | |
247 | 247 | then fraction((curentPrice - userPrice), 100, curentPrice) | |
248 | 248 | else fraction((userPrice - curentPrice), 100, curentPrice) | |
249 | 249 | if (if ((curentPrice != 0)) | |
250 | 250 | then ((slippage * scale8) > slippageTolerance) | |
251 | 251 | else false) | |
252 | 252 | then throw(((("Price slippage " + toString((slippage * scale8))) + " exceeded the passed limit of ") + toString(slippageTolerance))) | |
253 | 253 | else { | |
254 | 254 | let finalPrice = calculatePrice((priceAssetPoolLockedAmt + inPriceAssetAmtCalculated), (amountAssetPoolLockedAmt + inAmountAssetAmtCalculated)) | |
255 | 255 | let outLpAmount = if ((poolLPBalance == 0)) | |
256 | 256 | then { | |
257 | 257 | let partA = pow(inAmountAssetAmtCalculated, 0, 5, 1, 0, DOWN) | |
258 | 258 | let partB = pow(inPriceAssetAmtCalculated, 0, 5, 1, 0, DOWN) | |
259 | 259 | (partA * partB) | |
260 | 260 | } | |
261 | 261 | else { | |
262 | 262 | let lpAmtByAmountAsset = fraction(poolLPBalance, inAmountAssetAmtCalculated, amountAssetPoolLockedAmt) | |
263 | 263 | let lpAmtByPriceAsset = fraction(poolLPBalance, inPriceAssetAmtCalculated, priceAssetPoolLockedAmt) | |
264 | 264 | if ((lpAmtByPriceAsset > lpAmtByAmountAsset)) | |
265 | 265 | then lpAmtByAmountAsset | |
266 | 266 | else lpAmtByPriceAsset | |
267 | 267 | } | |
268 | 268 | $Tuple13(outLpAmount, finalPrice, userAmountAssetBalance, userPriceAssetBalance, userLPBalance, poolAmountAssetBalance, poolPriceAssetBalance, poolLPBalance, amountAssetInternalId, priceAssetInternalId, lpAssetId, slippage, poolStatus) | |
269 | 269 | } | |
270 | 270 | } | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func validateMatcherOrderAllowed (order) = { | |
275 | 275 | let poolConfigDataList = getPoolConfig() | |
276 | 276 | let amountAssetId = poolConfigDataList[idxAmountAssetId] | |
277 | 277 | let priceAssetId = poolConfigDataList[idxPriceAssetId] | |
278 | 278 | let poolStatus = parseIntValue(poolConfigDataList[idxPoolStatus]) | |
279 | 279 | let matcherPublicKeyStr = poolConfigDataList[idxMatcherPublicKey] | |
280 | 280 | let amountAssetDecimals = parseIntValue(poolConfigDataList[idxAmountAssetDecimals]) | |
281 | 281 | let priceAssetDecimals = parseIntValue(poolConfigDataList[idxPriceAssetDecimals]) | |
282 | 282 | let accountAmountAssetBalance = privateGetAccountBalance(amountAssetId) | |
283 | 283 | let accountPriceAssetBalance = privateGetAccountBalance(priceAssetId) | |
284 | 284 | let currentPrice = if ((order.orderType == Buy)) | |
285 | 285 | then privateCalculatePrice(amountAssetDecimals, priceAssetDecimals, (accountAmountAssetBalance + order.amount), accountPriceAssetBalance) | |
286 | 286 | else privateCalculatePrice(amountAssetDecimals, priceAssetDecimals, (accountAmountAssetBalance + order.amount), accountPriceAssetBalance) | |
287 | 287 | let isPoolStatusValid = if (if (if (isGlobalShutdown()) | |
288 | 288 | then true | |
289 | 289 | else (poolStatus == PoolMatcherDisabled)) | |
290 | 290 | then true | |
291 | 291 | else (poolStatus == PoolShutdown)) | |
292 | 292 | then false | |
293 | 293 | else true | |
294 | 294 | let isValidMatcherSign = sigVerify(order.bodyBytes, order.proofs[0], fromBase58String(matcherPublicKeyStr)) | |
295 | 295 | let orderAmountAsset = order.assetPair.amountAsset | |
296 | 296 | let orderAmountAssetStr = if ((orderAmountAsset == unit)) | |
297 | 297 | then "WAVES" | |
298 | 298 | else toBase58String(value(orderAmountAsset)) | |
299 | 299 | let orderPriceAsset = order.assetPair.priceAsset | |
300 | 300 | let orderPriceAssetStr = if ((orderPriceAsset == unit)) | |
301 | 301 | then "WAVES" | |
302 | 302 | else toBase58String(value(orderPriceAsset)) | |
303 | 303 | let isValidAssetPair = if (if ((orderAmountAssetStr != amountAssetId)) | |
304 | 304 | then true | |
305 | 305 | else (orderPriceAssetStr != priceAssetId)) | |
306 | 306 | then false | |
307 | 307 | else true | |
308 | 308 | let orderPrice = order.price | |
309 | 309 | let priceDecimals = fraction(scale8, priceAssetDecimals, amountAssetDecimals) | |
310 | 310 | let castedOrderPrice = privateCastToScaleOf(orderPrice, scale8, priceDecimals) | |
311 | 311 | let isOrderPriceValid = if ((order.orderType == Buy)) | |
312 | 312 | then (currentPrice >= castedOrderPrice) | |
313 | 313 | else (castedOrderPrice >= currentPrice) | |
314 | 314 | [if (if (if (isValidAssetPair) | |
315 | 315 | then isValidMatcherSign | |
316 | 316 | else false) | |
317 | 317 | then isPoolStatusValid | |
318 | 318 | else false) | |
319 | 319 | then isOrderPriceValid | |
320 | 320 | else false] | |
321 | 321 | } | |
322 | 322 | ||
323 | 323 | ||
324 | 324 | @Callable(i) | |
325 | 325 | func put (slippageTolerance,shouldAutoStake) = { | |
326 | 326 | let factoryConfigList = getFactoryConfig() | |
327 | 327 | let stakingContract = valueOrErrorMessage(addressFromString(factoryConfigList[idxFactoryStakingContract]), "Error. Incorrect staking address.") | |
328 | 328 | let pmtAmountAsset = value(i.payments[0]) | |
329 | 329 | let inAmountAssetAmt = pmtAmountAsset.amount | |
330 | 330 | let inAmountAssetId = if (!(isDefined(pmtAmountAsset.assetId))) | |
331 | 331 | then fromBase58String("WAVES") | |
332 | 332 | else value(pmtAmountAsset.assetId) | |
333 | 333 | let pmtPriceAsset = value(i.payments[1]) | |
334 | 334 | let inPriceAssetAmt = pmtPriceAsset.amount | |
335 | 335 | let inPriceAssetId = if (!(isDefined(pmtPriceAsset.assetId))) | |
336 | 336 | then fromBase58String("WAVES") | |
337 | 337 | else value(pmtPriceAsset.assetId) | |
338 | 338 | let estimatedPutResults = privateEstimatePutOperation(slippageTolerance, inAmountAssetAmt, toBase58String(inAmountAssetId), inPriceAssetAmt, toBase58String(inPriceAssetId), toString(i.caller)) | |
339 | 339 | let outLpAmount = estimatedPutResults._1 | |
340 | 340 | let curentPrice = estimatedPutResults._2 | |
341 | 341 | let userAmountAssetBalance = estimatedPutResults._3 | |
342 | 342 | let userPriceAssetBalance = estimatedPutResults._4 | |
343 | 343 | let userLPBalance = estimatedPutResults._5 | |
344 | 344 | let poolAmountAssetBalance = estimatedPutResults._6 | |
345 | 345 | let poolPriceAssetBalance = estimatedPutResults._7 | |
346 | 346 | let poolLPBalance = estimatedPutResults._8 | |
347 | 347 | let amountAssetInternalId = estimatedPutResults._9 | |
348 | 348 | let priceAssetInternalId = estimatedPutResults._10 | |
349 | 349 | let lpAssetId = estimatedPutResults._11 | |
350 | 350 | let slippageCalculated = estimatedPutResults._12 | |
351 | 351 | let poolStatus = parseIntValue(estimatedPutResults._13) | |
352 | 352 | if (if (if (isGlobalShutdown()) | |
353 | 353 | then true | |
354 | 354 | else (poolStatus == PoolPutDisabled)) | |
355 | 355 | then true | |
356 | 356 | else (poolStatus == PoolShutdown)) | |
357 | 357 | then throw(("Put operation is blocked by admin. Status = " + toString(poolStatus))) | |
358 | 358 | else { | |
359 | 359 | let emitLPAssetOnFactory = invoke(factoryContract, "emit", [outLpAmount], nil) | |
360 | 360 | if ((emitLPAssetOnFactory == emitLPAssetOnFactory)) | |
361 | 361 | then if ((emitLPAssetOnFactory != "success")) | |
362 | 362 | then throw("LP asset reissue failed during emit call on factory.") | |
363 | 363 | else { | |
364 | 364 | let results = [StringEntry(keyPriceLast(), ("%s__" + toString(curentPrice))), StringEntry(keyPriceHistory(height, lastBlock.timestamp), ("%s__" + toString(curentPrice))), StringEntry(keyPutActionByUser(toString(i.caller), toBase58String(i.transactionId)), dataPutActionInfo(inAmountAssetAmt, inPriceAssetAmt, outLpAmount, curentPrice, slippageTolerance, slippageCalculated, height, lastBlock.timestamp)), StringEntry(keyPoolLiquidityByUser(amountAssetInternalId, priceAssetInternalId, toString(i.caller)), dataPoolLiquidity((userAmountAssetBalance + inAmountAssetAmt), (userPriceAssetBalance + inPriceAssetAmt), (userLPBalance + outLpAmount))), StringEntry(keyPoolLiquidity(amountAssetInternalId, priceAssetInternalId), dataPoolLiquidity((poolAmountAssetBalance + inAmountAssetAmt), (poolPriceAssetBalance + inPriceAssetAmt), (poolLPBalance + outLpAmount)))] | |
365 | 365 | if (shouldAutoStake) | |
366 | 366 | then { | |
367 | 367 | let stake = invoke(stakingContract, "stake", nil, [AttachedPayment(lpAssetId, outLpAmount)]) | |
368 | 368 | if ((stake == stake)) | |
369 | 369 | then results | |
370 | 370 | else throw("Strict value is not equal to itself.") | |
371 | 371 | } | |
372 | 372 | else (results :+ ScriptTransfer(i.caller, outLpAmount, lpAssetId)) | |
373 | 373 | } | |
374 | 374 | else throw("Strict value is not equal to itself.") | |
375 | 375 | } | |
376 | 376 | } | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | ||
380 | 380 | @Callable(i) | |
381 | 381 | func get () = { | |
382 | 382 | let pmtAmountAsset = value(i.payments[0]) | |
383 | 383 | let pmtAssetId = value(pmtAmountAsset.assetId) | |
384 | 384 | let pmtAssetAmount = pmtAmountAsset.amount | |
385 | 385 | let results = privateEstimateGetOperation(toBase58String(pmtAssetId), pmtAssetAmount, toString(i.caller)) | |
386 | 386 | let outAmountAssetAmt = results._1 | |
387 | 387 | let outPriceAssetAmt = results._2 | |
388 | 388 | let amountAssetInternalId = results._3 | |
389 | 389 | let priceAssetInternalId = results._4 | |
390 | 390 | let userAmountAssetBalance = results._5 | |
391 | 391 | let amountAssetId = results._6 | |
392 | 392 | let userPriceAssetBalance = results._7 | |
393 | 393 | let priceAssetId = results._8 | |
394 | 394 | let userLPBalance = results._9 | |
395 | 395 | let poolAmountAssetBalance = results._10 | |
396 | 396 | let poolPriceAssetBalance = results._11 | |
397 | 397 | let poolLPBalance = results._12 | |
398 | 398 | let currentPrice = results._13 | |
399 | 399 | let poolStatus = parseIntValue(results._14) | |
400 | 400 | if (if (isGlobalShutdown()) | |
401 | 401 | then true | |
402 | 402 | else (poolStatus == PoolShutdown)) | |
403 | 403 | then throw(("Get operation is blocked by admin. Status = " + toString(poolStatus))) | |
404 | 404 | else { | |
405 | 405 | let burnLPAssetOnFactory = invoke(factoryContract, "burn", [pmtAssetAmount], [AttachedPayment(pmtAssetId, pmtAssetAmount)]) | |
406 | 406 | if ((burnLPAssetOnFactory == burnLPAssetOnFactory)) | |
407 | 407 | then if ((burnLPAssetOnFactory != "success")) | |
408 | 408 | then throw("LP asset burn failed during emit call on factory.") | |
409 | 409 | else [ScriptTransfer(i.caller, outAmountAssetAmt, if ((amountAssetId == "WAVES")) | |
410 | 410 | then unit | |
411 | 411 | else 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)))] | |
412 | 412 | else throw("Strict value is not equal to itself.") | |
413 | 413 | } | |
414 | 414 | } | |
415 | 415 | ||
416 | 416 | ||
417 | 417 | ||
418 | 418 | @Callable(i) | |
419 | 419 | func activate (amountAssetStr,priceAssetStr) = if ((toString(i.caller) != toString(factoryContract))) | |
420 | 420 | then throw("permissions denied") | |
421 | 421 | else $Tuple2([StringEntry(keyAmountAsset(), amountAssetStr), StringEntry(keyPriceAsset(), priceAssetStr)], "success") | |
422 | 422 | ||
423 | 423 | ||
424 | 424 | ||
425 | 425 | @Callable(i) | |
426 | 426 | func statsREADONLY () = { | |
427 | 427 | let poolConfigDataList = getPoolConfig() | |
428 | 428 | let lpAssetId = fromBase58String(poolConfigDataList[idxPoolLPAssetId]) | |
429 | 429 | let amountAssetId = poolConfigDataList[idxAmountAssetId] | |
430 | 430 | let priceAssetId = poolConfigDataList[idxPriceAssetId] | |
431 | 431 | let amountAssetInternalId = poolConfigDataList[idxAmountAssetInternalId] | |
432 | 432 | let priceAssetInternalId = poolConfigDataList[idxPriceAssetInternalId] | |
433 | 433 | let amoutAssetDecimals = parseIntValue(poolConfigDataList[idxAmountAssetDecimals]) | |
434 | 434 | let priceAssetDecimals = parseIntValue(poolConfigDataList[idxPriceAssetDecimals]) | |
435 | 435 | let poolLiquidityDataList = getPoolLiquidity(amountAssetInternalId, priceAssetInternalId) | |
436 | 436 | let poolLPBalance = parseIntValue(poolLiquidityDataList[idxPoolLPAssetAmt]) | |
437 | 437 | let accountAmountAssetBalance = privateGetAccountBalance(amountAssetId) | |
438 | 438 | let accountPriceAssetBalance = privateGetAccountBalance(priceAssetId) | |
439 | - | let pricesList = | |
439 | + | let pricesList = calculatePrices(accountAmountAssetBalance, accountPriceAssetBalance, poolLPBalance) | |
440 | 440 | let currentPrice = pricesList[0] | |
441 | 441 | let lpPriceInAmountAsset = pricesList[1] | |
442 | 442 | let lpPriceInPriceAsset = pricesList[2] | |
443 | 443 | let poolWeight = valueOrErrorMessage(getInteger(factoryContract, keyPoolWeight(toString(this))), "Pool doesn't have weight.") | |
444 | 444 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(accountAmountAssetBalance), toString(accountPriceAssetBalance), toString(poolLPBalance), toString(currentPrice), toString(lpPriceInAmountAsset), toString(lpPriceInPriceAsset), toString(poolWeight)], SEP)) | |
445 | 445 | } | |
446 | 446 | ||
447 | 447 | ||
448 | 448 | ||
449 | 449 | @Callable(i) | |
450 | 450 | func evaluatePutByAmountAssetREADONLY (slippageTolerance,inAmountAssetAmt,userAddress) = { | |
451 | 451 | let poolConfigDataList = getPoolConfig() | |
452 | 452 | let lpAssetId = fromBase58String(poolConfigDataList[idxPoolLPAssetId]) | |
453 | 453 | let amountAssetId = poolConfigDataList[idxAmountAssetId] | |
454 | 454 | let priceAssetId = poolConfigDataList[idxPriceAssetId] | |
455 | 455 | let amountAssetInternalId = poolConfigDataList[idxAmountAssetInternalId] | |
456 | 456 | let priceAssetInternalId = poolConfigDataList[idxPriceAssetInternalId] | |
457 | 457 | let amoutAssetDecimals = parseIntValue(poolConfigDataList[idxAmountAssetDecimals]) | |
458 | 458 | let priceAssetDecimals = parseIntValue(poolConfigDataList[idxPriceAssetDecimals]) | |
459 | 459 | let poolStatus = poolConfigDataList[idxPoolStatus] | |
460 | 460 | let poolLiquidityDataList = getPoolLiquidity(amountAssetInternalId, priceAssetInternalId) | |
461 | 461 | let poolLPBalance = parseIntValue(poolLiquidityDataList[idxPoolLPAssetAmt]) | |
462 | 462 | let accountAmountAssetBalance = privateGetAccountBalance(amountAssetId) | |
463 | 463 | let accountPriceAssetBalance = privateGetAccountBalance(priceAssetId) | |
464 | 464 | let accountAmountAssetBalanceCasted = privateCastToScaleOf(accountAmountAssetBalance, scale8, amoutAssetDecimals) | |
465 | 465 | let accountPriceAssetBalanceCasted = privateCastToScaleOf(accountPriceAssetBalance, scale8, priceAssetDecimals) | |
466 | 466 | let curentPrice = if ((poolLPBalance == 0)) | |
467 | 467 | then 0 | |
468 | 468 | else calculatePrice(accountPriceAssetBalanceCasted, accountAmountAssetBalanceCasted) | |
469 | 469 | let inPriceAssetAmtCalculated = fraction(inAmountAssetAmt, curentPrice, scale8) | |
470 | 470 | let inPriceAssetAmt = privateCastToScaleOf(inPriceAssetAmtCalculated, priceAssetDecimals, scale8) | |
471 | 471 | let estimatedPutResults = privateEstimatePutOperation(slippageTolerance, inAmountAssetAmt, amountAssetId, inPriceAssetAmt, priceAssetId, userAddress) | |
472 | 472 | let outLpAmountCalc = estimatedPutResults._1 | |
473 | 473 | let curentPriceCalc = estimatedPutResults._2 | |
474 | 474 | let poolAmountAssetBalanceCalc = estimatedPutResults._6 | |
475 | 475 | let poolPriceAssetBalanceCAlc = estimatedPutResults._7 | |
476 | 476 | let poolLPBalanceCalc = estimatedPutResults._8 | |
477 | 477 | let poolStatusCalc = parseIntValue(estimatedPutResults._13) | |
478 | 478 | $Tuple2(nil, makeString(["%d%d%d%d%d%d", toString(outLpAmountCalc), toString(curentPriceCalc), toString(poolAmountAssetBalanceCalc), toString(poolPriceAssetBalanceCAlc), toString(poolLPBalanceCalc), toString(poolStatusCalc)], SEP)) | |
479 | 479 | } | |
480 | 480 | ||
481 | 481 | ||
482 | 482 | ||
483 | 483 | @Callable(i) | |
484 | 484 | func evaluatePutByPriceAssetREADONLY (slippageTolerance,inPriceAssetAmt,userAddress) = { | |
485 | 485 | let poolConfigDataList = getPoolConfig() | |
486 | 486 | let lpAssetId = fromBase58String(poolConfigDataList[idxPoolLPAssetId]) | |
487 | 487 | let amountAssetId = poolConfigDataList[idxAmountAssetId] | |
488 | 488 | let priceAssetId = poolConfigDataList[idxPriceAssetId] | |
489 | 489 | let amountAssetInternalId = poolConfigDataList[idxAmountAssetInternalId] | |
490 | 490 | let priceAssetInternalId = poolConfigDataList[idxPriceAssetInternalId] | |
491 | 491 | let amoutAssetDecimals = parseIntValue(poolConfigDataList[idxAmountAssetDecimals]) | |
492 | 492 | let priceAssetDecimals = parseIntValue(poolConfigDataList[idxPriceAssetDecimals]) | |
493 | 493 | let poolStatus = poolConfigDataList[idxPoolStatus] | |
494 | 494 | let poolLiquidityDataList = getPoolLiquidity(amountAssetInternalId, priceAssetInternalId) | |
495 | 495 | let poolLPBalance = parseIntValue(poolLiquidityDataList[idxPoolLPAssetAmt]) | |
496 | 496 | let accountAmountAssetBalance = privateGetAccountBalance(amountAssetId) | |
497 | 497 | let accountPriceAssetBalance = privateGetAccountBalance(priceAssetId) | |
498 | 498 | let accountAmountAssetBalanceCasted = privateCastToScaleOf(accountAmountAssetBalance, scale8, amoutAssetDecimals) | |
499 | 499 | let accountPriceAssetBalanceCasted = privateCastToScaleOf(accountPriceAssetBalance, scale8, priceAssetDecimals) | |
500 | 500 | let inPriceAssetAmtCalculatedTuple = privateCastToScaleOf(inPriceAssetAmt, scale8, priceAssetDecimals) | |
501 | 501 | let curentPrice = if ((poolLPBalance == 0)) | |
502 | 502 | then 0 | |
503 | 503 | else calculatePrice(accountPriceAssetBalanceCasted, accountAmountAssetBalanceCasted) | |
504 | 504 | let inAmountAssetAmtCalculated = fraction(accountPriceAssetBalanceCasted, scale8, curentPrice) | |
505 | 505 | let inAmountAssetAmt = privateCastToScaleOf(inAmountAssetAmtCalculated, amoutAssetDecimals, scale8) | |
506 | 506 | let estimatedPutResults = privateEstimatePutOperation(slippageTolerance, inAmountAssetAmt, amountAssetId, inPriceAssetAmt, priceAssetId, userAddress) | |
507 | 507 | let outLpAmountCalc = estimatedPutResults._1 | |
508 | 508 | let curentPriceCalc = estimatedPutResults._2 | |
509 | 509 | let poolAmountAssetBalanceCalc = estimatedPutResults._6 | |
510 | 510 | let poolPriceAssetBalanceCAlc = estimatedPutResults._7 | |
511 | 511 | let poolLPBalanceCalc = estimatedPutResults._8 | |
512 | 512 | let poolStatusCalc = parseIntValue(estimatedPutResults._13) | |
513 | 513 | $Tuple2(nil, makeString(["%d%d%d%d%d%d", toString(outLpAmountCalc), toString(curentPriceCalc), toString(poolAmountAssetBalanceCalc), toString(poolPriceAssetBalanceCAlc), toString(poolLPBalanceCalc), toString(poolStatusCalc)], SEP)) | |
514 | 514 | } | |
515 | 515 | ||
516 | 516 | ||
517 | 517 | ||
518 | 518 | @Callable(i) | |
519 | 519 | func evaluateGetREADONLY (paymentLpAssetId,paymentLpAmount,userAddress) = { | |
520 | 520 | let results = privateEstimateGetOperation(paymentLpAssetId, paymentLpAmount, userAddress) | |
521 | 521 | let outAmountAssetAmt = results._1 | |
522 | 522 | let outPriceAssetAmt = results._2 | |
523 | 523 | let poolAmountAssetBalance = results._10 | |
524 | 524 | let poolPriceAssetBalance = results._11 | |
525 | 525 | let poolLPBalance = results._12 | |
526 | 526 | let currentPrice = results._13 | |
527 | 527 | let poolStatus = parseIntValue(results._14) | |
528 | 528 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(outAmountAssetAmt), toString(outPriceAssetAmt), toString(poolAmountAssetBalance), toString(poolPriceAssetBalance), toString(poolLPBalance), toString(currentPrice), toString(poolStatus)], SEP)) | |
529 | 529 | } | |
530 | 530 | ||
531 | 531 | ||
532 | 532 | ||
533 | 533 | @Callable(i) | |
534 | 534 | func hashREADONLY () = $Tuple2(nil, toBase64String(value(scriptHash(this)))) | |
535 | 535 | ||
536 | 536 | ||
537 | 537 | @Verifier(tx) | |
538 | 538 | func verify () = match tx { | |
539 | 539 | case order: Order => | |
540 | 540 | validateMatcherOrderAllowed(order)[1] | |
541 | 541 | case _ => | |
542 | 542 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
543 | 543 | } | |
544 | 544 |
github/deemru/w8io/026f985 63.83 ms ◑