tx · JCAi6bvqJrBXAVTH8xk8pWdYvSJekwZAwU5A3CT15iza

3N6o2j6N9vuWruU51gEZ1quncAXCLRksuf5:  -0.09000000 Waves

2024.04.28 23:37 [3083188] smart account 3N6o2j6N9vuWruU51gEZ1quncAXCLRksuf5 > SELF 0.00000000 Waves

{ "type": 13, "id": "JCAi6bvqJrBXAVTH8xk8pWdYvSJekwZAwU5A3CT15iza", "fee": 9000000, "feeAssetId": null, "timestamp": 1714336235988, "version": 2, "chainId": 84, "sender": "3N6o2j6N9vuWruU51gEZ1quncAXCLRksuf5", "senderPublicKey": "CSBog5DyfZ75B1usog9TncmEvV1gdLj4kV8NCbTvNwDx", "proofs": [ "4uHKxLRTFqS1MZBZgUBHhCTC3QwJGZCR4yyp5UT8uaRU56sZJ9TJgJYbh9rrwjXX6tLmJKAnN7ejtJMJfKUUusWy" ], "script": "base64:BgJbCAISCAoGCAgICAgBEgASABIDCgEEEgMKAQQSABIDCgEIEgMKAQESABIDCgEIEgQKAggBEgUKAwgIARIDCgEIEgMKAQESBwoFCAgIAQESABIDCgEIEgUKAwgICFMAB1ZFUlNJT04CDVBaLTEuMi4zIFBST0QACWNvbmZpZ1N0cgkBC3ZhbHVlT3JFbHNlAgkAnQgCBQR0aGlzAg1jb25maWdBZGRyZXNzAiMzTjJKcFFmcXRoNWVhcGJ4OGJIWjNlZUNYR2tOZmNZRWR5bwAOQ09ORklHX0FERFJFU1MDCQAAAgUJY29uZmlnU3RyAgAFBHRoaXMJAQdBZGRyZXNzAQkA2QQBBQljb25maWdTdHIAFUFzc2V0c1dlaWdodHNEZWNpbWFscwAEAAVTY2FsZQCQTgAGU2NhbGU4AIDC1y8AB1NjYWxlMTYAgICE/qbe4REACEZlZVNjYWxlAJBOABFQb29sVG9rZW5EZWNpbWFscwAIAA5Qb29sVG9rZW5TY2FsZQkAbAYACgAABRFQb29sVG9rZW5EZWNpbWFscwAAAAAFBkhBTEZVUAAQTUlOX1NURVBTX0FNT1VOVAkBC3ZhbHV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NlAgkAmggCBRFjb2xkTWFzdGVyQWRkcmVzcwkArAICAgthcHByb3ZlZFR4XwkA2AQBCAUCdHgCaWQAAAAAB6Uvdis=", "height": 3083188, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G962JVNuyfmmhpcMJ75matmq1KfF4ATEZyPiHxShoVUM Next: none Diff:
OldNewDifferences
108108
109109 let usdnAssetIdStr = valueOrElse(getString(CONFIG_ADDRESS, "usdnAssetIdStr"), "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT")
110110
111-let puzzleAssetIdStr = valueOrElse(getString(CONFIG_ADDRESS, "puzzleAssetIdStr"), "HEB8Qaw9xrWpWs8tHsiATYGBWDBtP2S7kcPALrMu43AS")
111+let puzzleAssetIdStr = valueOrElse(getString(CONFIG_ADDRESS, "puzzleAssetIdStr"), "6fQRaL3L25nGqevXT8kxwjBS28fkBErrJ69JYcj7qKgW")
112112
113113 let usdtAssetIdStr = valueOrElse(getString(CONFIG_ADDRESS, "usdtAssetIdStr"), "5Sh9KghfkZyhjwuodovDhB6PghDUGBHiAPZ4MkrPgKtX")
114114
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let VERSION = "PZ-1.2.3 PROD"
55
66 let configStr = valueOrElse(getString(this, "configAddress"), "3N2JpQfqth5eapbx8bHZ3eeCXGkNfcYEdyo")
77
88 let CONFIG_ADDRESS = if ((configStr == ""))
99 then this
1010 else Address(fromBase58String(configStr))
1111
1212 let AssetsWeightsDecimals = 4
1313
1414 let Scale = 10000
1515
1616 let Scale8 = 100000000
1717
1818 let Scale16 = 10000000000000000
1919
2020 let FeeScale = 10000
2121
2222 let PoolTokenDecimals = 8
2323
2424 let PoolTokenScale = pow(10, 0, PoolTokenDecimals, 0, 0, HALFUP)
2525
2626 let MIN_STEPS_AMOUNT = valueOrElse(getInteger(CONFIG_ADDRESS, "min_steps_amount"), 1)
2727
2828 let MAX_STEPS_AMOUNT = valueOrElse(getInteger(CONFIG_ADDRESS, "max_steps_amount"), 500)
2929
3030 let MIN_STEPS_INTERVAL = valueOrElse(getInteger(CONFIG_ADDRESS, "min_steps_interval"), 1)
3131
3232 let MAX_STEPS_INTERVAL = valueOrElse(getInteger(CONFIG_ADDRESS, "max_steps_interval"), 10000)
3333
3434 let MIN_WEIGHT = valueOrElse(getInteger(CONFIG_ADDRESS, "min_weight"), 100)
3535
3636 let MAX_WEIGHT = valueOrElse(getInteger(CONFIG_ADDRESS, "max_weight"), 9900)
3737
3838 func tryGetInteger (key) = match getInteger(this, key) {
3939 case b: Int =>
4040 b
4141 case _ =>
4242 0
4343 }
4444
4545
4646 func tryGetBinary (key) = match getBinary(this, key) {
4747 case b: ByteVector =>
4848 b
4949 case _ =>
5050 base58''
5151 }
5252
5353
5454 func tryGetString (key) = match getString(this, key) {
5555 case b: String =>
5656 b
5757 case _ =>
5858 ""
5959 }
6060
6161
6262 func tryGetStringOrThrow (key) = match getString(this, key) {
6363 case b: String =>
6464 b
6565 case _ =>
6666 throw(("no such key in data storage: " + key))
6767 }
6868
6969
7070 func getAssetString (assetId) = match assetId {
7171 case b: ByteVector =>
7272 toBase58String(b)
7373 case _ =>
7474 "WAVES"
7575 }
7676
7777
7878 func getAssetBytes (assetIdStr) = if ((assetIdStr == "WAVES"))
7979 then unit
8080 else fromBase58String(assetIdStr)
8181
8282
8383 func getTokenBalance (assetId) = match assetId {
8484 case t: ByteVector =>
8585 assetBalance(this, t)
8686 case _ =>
8787 wavesBalance(this).available
8888 }
8989
9090
9191 func addAssetBytesToList (accum,item) = (accum ++ [getAssetBytes(item)])
9292
9393
9494 func addAssetWeightToList (accum,item) = (accum ++ [tryGetInteger((("static_" + getAssetString(item)) + "_weight"))])
9595
9696
9797 func addAssetWeightToStrList (accum,item) = (accum ++ [toString(tryGetInteger((("static_" + item) + "_weight")))])
9898
9999
100100 func addAssetDecimalsToList (accum,item) = (accum ++ [tryGetInteger((("static_" + getAssetString(item)) + "_decimals"))])
101101
102102
103103 func addAssetScaleToList (accum,item) = (accum ++ [tryGetInteger((("static_" + getAssetString(item)) + "_scale"))])
104104
105105
106106 func addIntToList (accum,item) = (accum ++ [parseIntValue(item)])
107107
108108
109109 let usdnAssetIdStr = valueOrElse(getString(CONFIG_ADDRESS, "usdnAssetIdStr"), "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT")
110110
111-let puzzleAssetIdStr = valueOrElse(getString(CONFIG_ADDRESS, "puzzleAssetIdStr"), "HEB8Qaw9xrWpWs8tHsiATYGBWDBtP2S7kcPALrMu43AS")
111+let puzzleAssetIdStr = valueOrElse(getString(CONFIG_ADDRESS, "puzzleAssetIdStr"), "6fQRaL3L25nGqevXT8kxwjBS28fkBErrJ69JYcj7qKgW")
112112
113113 let usdtAssetIdStr = valueOrElse(getString(CONFIG_ADDRESS, "usdtAssetIdStr"), "5Sh9KghfkZyhjwuodovDhB6PghDUGBHiAPZ4MkrPgKtX")
114114
115115 let usdtPptAssetIdStr = valueOrElse(getString(CONFIG_ADDRESS, "usdtPptAssetIdStr"), "DK8RCKSRv6xovfYciiXgz82Apiu1tiEraH3iBSeZmAhp")
116116
117117 let romeAssetIdStr = valueOrElse(getString(CONFIG_ADDRESS, "romeAssetIdStr"), "CYZRD5FtNKwUU4zhn31WPEmdUXkXmGE1uLP8UZhMscHT")
118118
119119 let wavesAssetIdStr = "WAVES"
120120
121121 let usdnAssetId = fromBase58String(usdnAssetIdStr)
122122
123123 let puzzleAssetId = fromBase58String(puzzleAssetIdStr)
124124
125125 let usdtAssetId = fromBase58String(usdtAssetIdStr)
126126
127127 let usdtPptAssetId = fromBase58String(usdtPptAssetIdStr)
128128
129129 let romeAssetId = fromBase58String(romeAssetIdStr)
130130
131131 let wavesAssetId = unit
132132
133133 let supportedFeeAssetsStr = [usdnAssetIdStr, puzzleAssetIdStr, usdtAssetIdStr, usdtPptAssetIdStr, wavesAssetIdStr, romeAssetIdStr]
134134
135135 let parentPoolAddress = Address(fromBase58String(valueOrElse(getString(CONFIG_ADDRESS, "parentPoolAddress"), "3MyQLTCnK3Ui4Rm2ZYASb8e7EMqwLsHhZpb")))
136136
137137 let masterAddress = Address(fromBase58String(valueOrElse(getString(CONFIG_ADDRESS, "masterAddress"), "3N2EacY3tD89zCPRzSsW87ALMXUPA3oELpd")))
138138
139139 let masterPubKey = fromBase58String(valueOrElse(getString(CONFIG_ADDRESS, "masterPubKey"), "EUFrMfKMM9ihGe6ksyYMGXAvKW81yu3AxHc8NGVQSJH4"))
140140
141141 let oracleAddress = Address(fromBase58String(valueOrElse(getString(CONFIG_ADDRESS, "oracleAddress"), "3Mr3heaFrZeT4iMafu9ahjvXwjQ7XqeWAeR")))
142142
143143 let stakingAddress = Address(fromBase58String(valueOrElse(getString(CONFIG_ADDRESS, "stakingAddress"), "3Mu7VHAWmzFuC8CC1jL66egwWdzMmU3GMdN")))
144144
145145 let feesAddress = Address(fromBase58String(valueOrElse(getString(CONFIG_ADDRESS, "feesAddress"), "3N44cXXhd7Xk7hr7JkLa3mTStLQnFpUfKgC")))
146146
147147 let poolsHubAddress = Address(fromBase58String(valueOrElse(getString(CONFIG_ADDRESS, "poolsHubAddress"), "3NAD3Ww5D8d47qzXkk9aekQNroYUUtw4jdL")))
148148
149149 let shutdownAddressStr = valueOrElse(getString(CONFIG_ADDRESS, "shutdownAddress"), "3MtiMjKiFuMZAA3NW9YZH89bYmiYUQUBezx")
150150
151151 let layer2Addresses = valueOrElse(getString(CONFIG_ADDRESS, "layer2Addresses"), "3Msp7W9rHyHkvvKBKU3rB44SqqcDALMbgbg,3Msp7W9rHyHkvvKBKU3rB44SqqcDALMbgbg")
152152
153153 let govAddress = Address(fromBase58String(valueOrElse(getString(CONFIG_ADDRESS, "govAddress"), "3MsAdLsHFmArSyEuYFG9xRRbsutUBovzBhn")))
154154
155155 let coldMasterAddress = Address(fromBase58String(valueOrElse(getString(CONFIG_ADDRESS, "coldMasterAddress"), "3N3LFeynYTFErCGXcABXenmYam1qbhbcNAH")))
156156
157157 let T = tryGetInteger("static_tokensAmount")
158158
159159 let assetIds = {
160160 let $l = split(tryGetString("static_tokenIds"), ",")
161161 let $s = size($l)
162162 let $acc0 = nil
163163 func $f0_1 ($a,$i) = if (($i >= $s))
164164 then $a
165165 else addAssetBytesToList($a, $l[$i])
166166
167167 func $f0_2 ($a,$i) = if (($i >= $s))
168168 then $a
169169 else throw("List size exceeds 10")
170170
171171 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
172172 }
173173
174174 let AssetsWeights = {
175175 let $l = assetIds
176176 let $s = size($l)
177177 let $acc0 = nil
178178 func $f1_1 ($a,$i) = if (($i >= $s))
179179 then $a
180180 else addAssetWeightToList($a, $l[$i])
181181
182182 func $f1_2 ($a,$i) = if (($i >= $s))
183183 then $a
184184 else throw("List size exceeds 10")
185185
186186 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
187187 }
188188
189189 let Decimals = {
190190 let $l = assetIds
191191 let $s = size($l)
192192 let $acc0 = nil
193193 func $f2_1 ($a,$i) = if (($i >= $s))
194194 then $a
195195 else addAssetDecimalsToList($a, $l[$i])
196196
197197 func $f2_2 ($a,$i) = if (($i >= $s))
198198 then $a
199199 else throw("List size exceeds 10")
200200
201201 $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
202202 }
203203
204204 let Scales = {
205205 let $l = assetIds
206206 let $s = size($l)
207207 let $acc0 = nil
208208 func $f3_1 ($a,$i) = if (($i >= $s))
209209 then $a
210210 else addAssetScaleToList($a, $l[$i])
211211
212212 func $f3_2 ($a,$i) = if (($i >= $s))
213213 then $a
214214 else throw("List size exceeds 10")
215215
216216 $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
217217 }
218218
219219 let Fee = tryGetInteger("static_fee")
220220
221221 let earnedAssets = assetIds
222222
223223 func isShutdown () = {
224224 let shutdownAddress = addressFromString(shutdownAddressStr)
225225 if ((shutdownAddress == unit))
226226 then false
227227 else match getBoolean(value(shutdownAddress), "is_shutdown") {
228228 case x: Boolean =>
229229 x
230230 case _ =>
231231 false
232232 }
233233 }
234234
235235
236236 func getCurrentTokenBalance (tokenNum) = {
237237 let tokenIdStr = getAssetString(assetIds[tokenNum])
238238 tryGetInteger((("global_" + tokenIdStr) + "_balance"))
239239 }
240240
241241
242242 func getKMult () = match getInteger("static_KMult") {
243243 case x: Int =>
244244 x
245245 case _ =>
246246 Scale16
247247 }
248248
249249
250250 func saveCurrentWeights () = {
251251 let assetIdsLi = split(tryGetString("static_tokenIds"), ",")
252252 func s (accum,assetId) = (accum ++ [IntegerEntry(("rebalance_startWeight_" + assetId), tryGetInteger((("static_" + assetId) + "_weight")))])
253253
254254 let $l = assetIdsLi
255255 let $s = size($l)
256256 let $acc0 = nil
257257 func $f4_1 ($a,$i) = if (($i >= $s))
258258 then $a
259259 else s($a, $l[$i])
260260
261261 func $f4_2 ($a,$i) = if (($i >= $s))
262262 then $a
263263 else throw("List size exceeds 10")
264264
265265 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
266266 }
267267
268268
269269 func getVirtualPoolTokenAmount () = fraction(tryGetInteger("global_poolToken_amount"), getKMult(), Scale16)
270270
271271
272272 func calculatePIssued (amount,tokenId) = {
273273 let Psupply = getVirtualPoolTokenAmount()
274274 let Balance = tryGetInteger((("global_" + getAssetString(tokenId)) + "_balance"))
275275 let t1 = fraction(amount, Psupply, Balance, DOWN)
276276 t1
277277 }
278278
279279
280280 func getMinPIssued (payments) = {
281281 func handler (accum,current) = {
282282 let PIssued = calculatePIssued(current.amount, current.assetId)
283283 if ((PIssued == 0))
284284 then throw("one of the tokens amounts is too low")
285285 else if (if ((accum == 0))
286286 then true
287287 else (accum > PIssued))
288288 then PIssued
289289 else accum
290290 }
291291
292292 let minPIssed = {
293293 let $l = payments
294294 let $s = size($l)
295295 let $acc0 = 0
296296 func $f4_1 ($a,$i) = if (($i >= $s))
297297 then $a
298298 else handler($a, $l[$i])
299299
300300 func $f4_2 ($a,$i) = if (($i >= $s))
301301 then $a
302302 else throw("List size exceeds 10")
303303
304304 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
305305 }
306306 minPIssed
307307 }
308308
309309
310310 func calculateUsdnValue (assetId,amount,aBalance,givenUsdnBalance) = {
311311 let usdnInPool = indexOf(assetIds, usdnAssetId)
312312 let puzzleInPool = indexOf(assetIds, puzzleAssetId)
313313 let usdtInPool = indexOf(assetIds, usdtAssetId)
314314 let usdtPptInPool = indexOf(assetIds, usdtPptAssetId)
315315 let wavesInPool = indexOf(assetIds, unit)
316316 let assetWeight = tryGetInteger((("static_" + getAssetString(assetId)) + "_weight"))
317317 let feeAssetStr = tryGetString("static_feeToken")
318318 if ((feeAssetStr == puzzleAssetIdStr))
319319 then {
320320 let puzzleWeight = AssetsWeights[value(indexOf(assetIds, puzzleAssetId))]
321321 let puzzleBalance = tryGetInteger((("global_" + puzzleAssetIdStr) + "_balance"))
322322 let amountInPuzzle = fraction(amount, (puzzleBalance / puzzleWeight), (aBalance / assetWeight))
323323 let puzzlePrice = getIntegerValue(parentPoolAddress, "global_lastPuzzlePrice")
324324 fraction((amountInPuzzle * puzzlePrice), 1, Scale8)
325325 }
326326 else if ((feeAssetStr == usdtAssetIdStr))
327327 then {
328328 let usdtWeight = AssetsWeights[value(usdtInPool)]
329329 let usdtBalance = tryGetInteger((("global_" + usdtAssetIdStr) + "_balance"))
330330 fraction(amount, (usdtBalance / usdtWeight), (aBalance / assetWeight))
331331 }
332332 else if ((feeAssetStr == usdtPptAssetIdStr))
333333 then {
334334 let usdtWeight = AssetsWeights[value(usdtPptInPool)]
335335 let usdtBalance = tryGetInteger((("global_" + usdtPptAssetIdStr) + "_balance"))
336336 fraction(amount, (usdtBalance / usdtWeight), (aBalance / assetWeight))
337337 }
338338 else if ((feeAssetStr == usdnAssetIdStr))
339339 then {
340340 let usdnWeight = AssetsWeights[value(indexOf(assetIds, usdnAssetId))]
341341 let usdnBalance = match givenUsdnBalance {
342342 case x: Int =>
343343 givenUsdnBalance
344344 case _ =>
345345 tryGetInteger((("global_" + getAssetString(usdnAssetId)) + "_balance"))
346346 }
347347 fraction(amount, (value(usdnBalance) / usdnWeight), (aBalance / assetWeight))
348348 }
349349 else {
350350 let wavesWeight = 3000
351351 let wBalance = (tryGetInteger("global_WAVES_balance") / 50)
352352 fraction(amount, (wBalance / wavesWeight), (aBalance / assetWeight))
353353 }
354354 }
355355
356356
357357 func getPriceFromOracle (assetIdStr) = match getInteger(oracleAddress, (assetIdStr + "_twap5B")) {
358358 case x: Int =>
359359 x
360360 case _ =>
361361 0
362362 }
363363
364364
365365 func calculateUsdValue (assetId,amount,aBalance) = {
366366 let assetWeight = tryGetInteger((("static_" + getAssetString(assetId)) + "_weight"))
367367 let feeAssetStr = tryGetString("static_feeToken")
368368 let feeAssetScale = getIntegerValue(this, (("static_" + feeAssetStr) + "_scale"))
369369 let feeAssetNum = value(indexOf(assetIds, getAssetBytes(feeAssetStr)))
370370 let feeAssetWeight = AssetsWeights[feeAssetNum]
371371 let feeAssetBalance = tryGetInteger((("global_" + feeAssetStr) + "_balance"))
372372 let valInFeeAsset = fraction(amount, (feeAssetBalance / feeAssetWeight), (aBalance / assetWeight))
373373 let feeAssetPrice = getPriceFromOracle(feeAssetStr)
374374 fraction(valInFeeAsset, feeAssetPrice, feeAssetScale)
375375 }
376376
377377
378378 func checkTokensValidity (payments) = {
379379 func handler1 (accum,payment) = (accum ++ [payment.assetId])
380380
381381 let ids = {
382382 let $l = payments
383383 let $s = size($l)
384384 let $acc0 = nil
385385 func $f4_1 ($a,$i) = if (($i >= $s))
386386 then $a
387387 else handler1($a, $l[$i])
388388
389389 func $f4_2 ($a,$i) = if (($i >= $s))
390390 then $a
391391 else throw("List size exceeds 10")
392392
393393 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
394394 }
395395 if ((ids == ids))
396396 then {
397397 func handler2 (accum,assetId) = if ((indexOf(ids, assetId) != unit))
398398 then (accum + 1)
399399 else throw(("asset not attached: " + getAssetString(assetId)))
400400
401401 let checks = {
402402 let $l = assetIds
403403 let $s = size($l)
404404 let $acc0 = 0
405405 func $f5_1 ($a,$i) = if (($i >= $s))
406406 then $a
407407 else handler2($a, $l[$i])
408408
409409 func $f5_2 ($a,$i) = if (($i >= $s))
410410 then $a
411411 else throw("List size exceeds 10")
412412
413413 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
414414 }
415415 if ((checks == checks))
416416 then true
417417 else throw("Strict value is not equal to itself.")
418418 }
419419 else throw("Strict value is not equal to itself.")
420420 }
421421
422422
423423 func handlePoolTokensAdd (PIssued,payments,userAddress,needChange) = {
424424 func getTokenPaymentAmount (tokenId) = {
425425 func handler (accum,payment) = if ((payment.assetId == tokenId))
426426 then payment.amount
427427 else accum
428428
429429 let $l = payments
430430 let $s = size($l)
431431 let $acc0 = 0
432432 func $f4_1 ($a,$i) = if (($i >= $s))
433433 then $a
434434 else handler($a, $l[$i])
435435
436436 func $f4_2 ($a,$i) = if (($i >= $s))
437437 then $a
438438 else throw("List size exceeds 10")
439439
440440 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
441441 }
442442
443443 func handleTokenChange (accum,tokenId) = {
444444 let Bk = tryGetInteger((("global_" + getAssetString(tokenId)) + "_balance"))
445445 let PSupply = getVirtualPoolTokenAmount()
446446 let tokenDecimals = tryGetInteger((("static_" + getAssetString(tokenId)) + "_scale"))
447447 let a1 = fraction((toBigInt((PSupply + PIssued)) * toBigInt(Scale8)), toBigInt(tokenDecimals), toBigInt(PSupply), CEILING)
448448 let Dk = toInt(fraction((a1 - (toBigInt(tokenDecimals) * toBigInt(Scale8))), toBigInt(Bk), (toBigInt(tokenDecimals) * toBigInt(Scale8)), CEILING))
449449 let paymentAmount = getTokenPaymentAmount(tokenId)
450450 let toReturn = (paymentAmount - Dk)
451451 let t = if (if (needChange)
452452 then (toReturn > 0)
453453 else false)
454454 then [ScriptTransfer(userAddress, toReturn, tokenId)]
455455 else nil
456456 ((accum ++ t) ++ [IntegerEntry((("global_" + getAssetString(tokenId)) + "_balance"), (Bk + Dk))])
457457 }
458458
459459 let $l = assetIds
460460 let $s = size($l)
461461 let $acc0 = nil
462462 func $f4_1 ($a,$i) = if (($i >= $s))
463463 then $a
464464 else handleTokenChange($a, $l[$i])
465465
466466 func $f4_2 ($a,$i) = if (($i >= $s))
467467 then $a
468468 else throw("List size exceeds 10")
469469
470470 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
471471 }
472472
473473
474474 func handlePoolTokensRedeem (PRedeemed,userAddress) = {
475475 func handleTokenRedeem (accum,tokenId) = {
476476 let Bk = tryGetInteger((("global_" + getAssetString(tokenId)) + "_balance"))
477477 let PSupply = getVirtualPoolTokenAmount()
478478 let tokenDecimals = tryGetInteger((("static_" + getAssetString(tokenId)) + "_scale"))
479479 let psuppl = fraction((toBigInt((PSupply - PRedeemed)) * toBigInt(Scale8)), toBigInt(Scale8), toBigInt(PSupply), DOWN)
480480 let amount = toInt(fraction((toBigInt(Scale16) - psuppl), toBigInt(Bk), toBigInt(Scale16), CEILING))
481481 (accum ++ [IntegerEntry((("global_" + getAssetString(tokenId)) + "_balance"), (Bk - amount)), ScriptTransfer(userAddress, amount, tokenId)])
482482 }
483483
484484 let $l = assetIds
485485 let $s = size($l)
486486 let $acc0 = nil
487487 func $f4_1 ($a,$i) = if (($i >= $s))
488488 then $a
489489 else handleTokenRedeem($a, $l[$i])
490490
491491 func $f4_2 ($a,$i) = if (($i >= $s))
492492 then $a
493493 else throw("List size exceeds 10")
494494
495495 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
496496 }
497497
498498
499499 func calculateOutAmount (AmountIn,assetIn,assetOut,BalanceIn,BalanceOut) = {
500500 let IndexIn = value(indexOf(assetIds, assetIn))
501501 let IndexOut = value(indexOf(assetIds, assetOut))
502502 if ((IndexIn == IndexOut))
503503 then AmountIn
504504 else fraction(BalanceOut, ((Scale8 * Scale8) - toInt(pow(fraction((toBigInt(BalanceIn) * toBigInt(10000)), toBigInt((Scale8 * Scale8)), (toBigInt((BalanceIn + AmountIn)) * toBigInt(10000)), HALFUP), 16, toBigInt(fraction(AssetsWeights[IndexIn], 1000000000000, AssetsWeights[IndexOut])), 12, 16, CEILING))), (Scale8 * Scale8), HALFEVEN)
505505 }
506506
507507
508508 func calculateCurrentAssetInterest (assetId,assetIdStr,aBalance,tokenEarningsLastCheck) = {
509509 let totalStaked = tryGetInteger("global_indexStaked")
510510 let tokenBalanceLastCheck = tokenEarningsLastCheck
511511 let currentBalanceDelta = (getTokenBalance(assetId) - aBalance)
512512 let currentTokenEarnings = if ((currentBalanceDelta > tokenBalanceLastCheck))
513513 then currentBalanceDelta
514514 else tokenBalanceLastCheck
515515 let newEarnings = (currentTokenEarnings - tokenBalanceLastCheck)
516516 let newInterest = if ((totalStaked == 0))
517517 then 0
518518 else fraction(newEarnings, Scale8, totalStaked)
519519 let lastCheckInterest = tryGetInteger((("global_lastCheck_" + assetIdStr) + "_interest"))
520520 (lastCheckInterest + newInterest)
521521 }
522522
523523
524524 func claimResult (address) = {
525525 let addressStr = toString(address)
526526 let puzzleAmount = tryGetInteger((addressStr + "_indexStaked"))
527527 func handler (accum,assetId) = {
528528 let assetIdStr = getAssetString(assetId)
529529 let aBalance = tryGetInteger((("global_" + getAssetString(assetId)) + "_balance"))
530530 let tokenEarningsLastCheck = tryGetInteger((("global_lastCheck_" + assetIdStr) + "_earnings"))
531531 let currentTokenInterest = calculateCurrentAssetInterest(assetId, assetIdStr, aBalance, tokenEarningsLastCheck)
532532 let currentTokenEarnings = max([tokenEarningsLastCheck, (getTokenBalance(assetId) - aBalance)])
533533 let rewardAmount = fraction(puzzleAmount, (currentTokenInterest - tryGetInteger((((addressStr + "_lastCheck_") + assetIdStr) + "_interest"))), Scale8)
534534 let transfer = if ((rewardAmount == 0))
535535 then nil
536536 else [ScriptTransfer(address, rewardAmount, assetId)]
537537 $Tuple2(((accum._1 ++ transfer) ++ [IntegerEntry((("global_lastCheck_" + assetIdStr) + "_earnings"), (currentTokenEarnings - rewardAmount)), IntegerEntry((("global_lastCheck_" + assetIdStr) + "_interest"), currentTokenInterest), IntegerEntry((((addressStr + "_lastCheck_") + assetIdStr) + "_interest"), currentTokenInterest)]), (accum._2 + calculateUsdValue(assetId, rewardAmount, aBalance)))
538538 }
539539
540540 let accum = {
541541 let $l = earnedAssets
542542 let $s = size($l)
543543 let $acc0 = $Tuple2(nil, 0)
544544 func $f4_1 ($a,$i) = if (($i >= $s))
545545 then $a
546546 else handler($a, $l[$i])
547547
548548 func $f4_2 ($a,$i) = if (($i >= $s))
549549 then $a
550550 else throw("List size exceeds 10")
551551
552552 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
553553 }
554554 $Tuple2((accum._1 ++ [IntegerEntry((addressStr + "_claimedRewardUSD"), (tryGetInteger((addressStr + "_claimedRewardUSD")) + accum._2)), IntegerEntry((addressStr + "_lastClaim"), lastBlock.timestamp)]), accum._2)
555555 }
556556
557557
558558 func indexStakeResult (addressStr,amount) = {
559559 let li = claimResult(addressFromStringValue(addressStr))._1
560560 (li ++ [IntegerEntry((addressStr + "_indexStaked"), (tryGetInteger((addressStr + "_indexStaked")) + amount)), IntegerEntry("global_indexStaked", (tryGetInteger("global_indexStaked") + amount))])
561561 }
562562
563563
564564 func sum (accum,n) = (accum + parseIntValue(n))
565565
566566
567567 func checkFeeAsset (accum,next) = if (if ((indexOf(supportedFeeAssetsStr, next) != unit))
568568 then (accum == "")
569569 else false)
570570 then next
571571 else accum
572572
573573
574574 func getTmpRebalanceIds (newAssetIdsLi) = {
575575 let currentAssetIdsLi = split(tryGetString("static_tokenIds"), ",")
576576 let result = newAssetIdsLi
577577 func f (accum,assetId) = if ((indexOf(result, assetId) == unit))
578578 then (accum ++ [assetId])
579579 else accum
580580
581581 let $l = currentAssetIdsLi
582582 let $s = size($l)
583583 let $acc0 = result
584584 func $f4_1 ($a,$i) = if (($i >= $s))
585585 then $a
586586 else f($a, $l[$i])
587587
588588 func $f4_2 ($a,$i) = if (($i >= $s))
589589 then $a
590590 else throw("List size exceeds 10")
591591
592592 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
593593 }
594594
595595
596596 func checkTokensChange (newAssetIdsLi) = {
597597 let currentAssetIdsLi = split(tryGetString("static_tokenIds"), ",")
598598 func rem (accum,assetId) = if ((indexOf(newAssetIdsLi, assetId) == unit))
599599 then (accum + 1)
600600 else accum
601601
602602 func add (accum,assetId) = if ((indexOf(currentAssetIdsLi, assetId) == unit))
603603 then (accum + 1)
604604 else accum
605605
606606 let removed = {
607607 let $l = currentAssetIdsLi
608608 let $s = size($l)
609609 let $acc0 = 0
610610 func $f4_1 ($a,$i) = if (($i >= $s))
611611 then $a
612612 else rem($a, $l[$i])
613613
614614 func $f4_2 ($a,$i) = if (($i >= $s))
615615 then $a
616616 else throw("List size exceeds 10")
617617
618618 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
619619 }
620620 let added = {
621621 let $l = newAssetIdsLi
622622 let $s = size($l)
623623 let $acc0 = 0
624624 func $f5_1 ($a,$i) = if (($i >= $s))
625625 then $a
626626 else add($a, $l[$i])
627627
628628 func $f5_2 ($a,$i) = if (($i >= $s))
629629 then $a
630630 else throw("List size exceeds 10")
631631
632632 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
633633 }
634634 (removed + added)
635635 }
636636
637637
638638 func validatePayments (assetsList,payments) = {
639639 func getPaymentAssets (accum,next) = if ((0 >= next.amount))
640640 then throw(((("Too low payment amount for " + getAssetString(next.assetId)) + ": ") + toString(next.amount)))
641641 else (accum ++ [getAssetString(next.assetId)])
642642
643643 let paymentList = {
644644 let $l = payments
645645 let $s = size($l)
646646 let $acc0 = nil
647647 func $f4_1 ($a,$i) = if (($i >= $s))
648648 then $a
649649 else getPaymentAssets($a, $l[$i])
650650
651651 func $f4_2 ($a,$i) = if (($i >= $s))
652652 then $a
653653 else throw("List size exceeds 10")
654654
655655 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
656656 }
657657 func f1 (accum,next) = if ((indexOf(assetsList, next) == unit))
658658 then throw(((next + " asset is present in payments, but is not in new assets: ") + makeString(assetsList, ",")))
659659 else (accum + 1)
660660
661661 func f2 (accum,next) = if ((indexOf(paymentList, next) == unit))
662662 then throw(((next + " asset is present in new assets, but is not in payments: ") + makeString(paymentList, ",")))
663663 else (accum + 1)
664664
665665 let a1 = {
666666 let $l = paymentList
667667 let $s = size($l)
668668 let $acc0 = 0
669669 func $f5_1 ($a,$i) = if (($i >= $s))
670670 then $a
671671 else f1($a, $l[$i])
672672
673673 func $f5_2 ($a,$i) = if (($i >= $s))
674674 then $a
675675 else throw("List size exceeds 10")
676676
677677 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
678678 }
679679 let a2 = {
680680 let $l = assetsList
681681 let $s = size($l)
682682 let $acc0 = 0
683683 func $f6_1 ($a,$i) = if (($i >= $s))
684684 then $a
685685 else f2($a, $l[$i])
686686
687687 func $f6_2 ($a,$i) = if (($i >= $s))
688688 then $a
689689 else throw("List size exceeds 10")
690690
691691 $f6_2($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
692692 }
693693 (a1 + a2)
694694 }
695695
696696
697697 func validateWeights (weights) = {
698698 func v (accum,w) = {
699699 let wInt = valueOrErrorMessage(parseInt(w), ("Wrong weight format: " + w))
700700 if (if ((MIN_WEIGHT > wInt))
701701 then true
702702 else (wInt > MAX_WEIGHT))
703703 then throw(((((("Weight should be in range " + toString(MIN_WEIGHT)) + " - ") + toString(MAX_WEIGHT)) + ", current: ") + w))
704704 else accum
705705 }
706706
707707 let $l = weights
708708 let $s = size($l)
709709 let $acc0 = 0
710710 func $f4_1 ($a,$i) = if (($i >= $s))
711711 then $a
712712 else v($a, $l[$i])
713713
714714 func $f4_2 ($a,$i) = if (($i >= $s))
715715 then $a
716716 else throw("List size exceeds 10")
717717
718718 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
719719 }
720720
721721
722722 @Callable(i)
723723 func preInit (assetIdsStr,assetWeightsStr,baseTokenIdStr,poolDomain,poolOwner,fee) = {
724724 let poolOwnerAddress = Address(fromBase58String(poolOwner))
725725 let assetIdsStrLi = split(assetIdsStr, ",")
726726 let assetIdsLi = {
727727 let $l = assetIdsStrLi
728728 let $s = size($l)
729729 let $acc0 = nil
730730 func $f4_1 ($a,$i) = if (($i >= $s))
731731 then $a
732732 else addAssetBytesToList($a, $l[$i])
733733
734734 func $f4_2 ($a,$i) = if (($i >= $s))
735735 then $a
736736 else throw("List size exceeds 10")
737737
738738 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
739739 }
740740 let feeAssetStr = {
741741 let $l = assetIdsStrLi
742742 let $s = size($l)
743743 let $acc0 = ""
744744 func $f5_1 ($a,$i) = if (($i >= $s))
745745 then $a
746746 else checkFeeAsset($a, $l[$i])
747747
748748 func $f5_2 ($a,$i) = if (($i >= $s))
749749 then $a
750750 else throw("List size exceeds 10")
751751
752752 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
753753 }
754754 if (isShutdown())
755755 then throw("contract is on stop")
756756 else if ((this != i.caller))
757757 then throw("admin only")
758758 else if ((feeAssetStr == ""))
759759 then throw("pool must have one of the supported fee assets in the composition")
760760 else if ((size(poolDomain) > 13))
761761 then throw("too large pool domain")
762762 else if (if ((fee > 500))
763763 then true
764764 else (0 > fee))
765765 then throw("fee value must be between 50 and 500 (0.5-5%)")
766766 else {
767767 let assetWeightsStrLi = split(assetWeightsStr, ",")
768768 let assetWeightsSum = {
769769 let $l = assetWeightsStrLi
770770 let $s = size($l)
771771 let $acc0 = 0
772772 func $f6_1 ($a,$i) = if (($i >= $s))
773773 then $a
774774 else sum($a, $l[$i])
775775
776776 func $f6_2 ($a,$i) = if (($i >= $s))
777777 then $a
778778 else throw("List size exceeds 10")
779779
780780 $f6_2($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
781781 }
782782 func addTokenDataEntries (accum,assetNum) = if ((assetNum >= size(assetIdsLi)))
783783 then accum
784784 else {
785785 let assetDecimals = match assetIdsLi[assetNum] {
786786 case x: ByteVector =>
787787 value(assetInfo(x)).decimals
788788 case _ =>
789789 8
790790 }
791791 (accum ++ [IntegerEntry((("static_" + assetIdsStrLi[assetNum]) + "_scale"), pow(10, 0, assetDecimals, 0, 0, DOWN)), IntegerEntry((("static_" + assetIdsStrLi[assetNum]) + "_decimals"), assetDecimals), IntegerEntry((("static_" + assetIdsStrLi[assetNum]) + "_weight"), value(parseInt(assetWeightsStrLi[assetNum])))])
792792 }
793793
794794 if ((assetWeightsSum != 10000))
795795 then throw("sum of token weights must be equal to 10000")
796796 else ({
797797 let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
798798 let $s = size($l)
799799 let $acc0 = nil
800800 func $f7_1 ($a,$i) = if (($i >= $s))
801801 then $a
802802 else addTokenDataEntries($a, $l[$i])
803803
804804 func $f7_2 ($a,$i) = if (($i >= $s))
805805 then $a
806806 else throw("List size exceeds 10")
807807
808808 $f7_2($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
809809 } ++ [StringEntry("static_tokenIds", assetIdsStr), StringEntry("static_feeToken", feeAssetStr), StringEntry("static_tokenWeights", assetWeightsStr), IntegerEntry("static_tokensAmount", size(assetIdsLi)), StringEntry("static_poolDomain", poolDomain), StringEntry("static_baseTokenId", baseTokenIdStr), StringEntry("static_poolOwner", poolOwner), IntegerEntry("static_fee", fee), IntegerEntry("static_KMult", Scale16), IntegerEntry("global_wasPreInited", 1)])
810810 }
811811 }
812812
813813
814814
815815 @Callable(i)
816816 func deInit () = if (isShutdown())
817817 then throw("contract is on stop")
818818 else if ((i.caller != this))
819819 then throw("admin only")
820820 else [IntegerEntry("global_wasInited", 0)]
821821
822822
823823
824824 @Callable(i)
825825 func init () = {
826826 func prepareList () = {
827827 func handler (accum,n) = (accum ++ [IntegerEntry((("global_" + getAssetString(n.assetId)) + "_balance"), n.amount)])
828828
829829 let $l = i.payments
830830 let $s = size($l)
831831 let $acc0 = nil
832832 func $f4_1 ($a,$i) = if (($i >= $s))
833833 then $a
834834 else handler($a, $l[$i])
835835
836836 func $f4_2 ($a,$i) = if (($i >= $s))
837837 then $a
838838 else throw("List size exceeds 10")
839839
840840 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
841841 }
842842
843843 func calculatePoolTokensAmount (payments) = {
844844 func handler (accum,pmt) = {
845845 let assetId = pmt.assetId
846846 func handler2 (accum,n) = if ((n == assetId))
847847 then value(indexOf(assetIds, n))
848848 else accum
849849
850850 let Token = {
851851 let $l = assetIds
852852 let $s = size($l)
853853 let $acc0 = 1
854854 func $f4_1 ($a,$i) = if (($i >= $s))
855855 then $a
856856 else handler2($a, $l[$i])
857857
858858 func $f4_2 ($a,$i) = if (($i >= $s))
859859 then $a
860860 else throw("List size exceeds 10")
861861
862862 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
863863 }
864864 fraction(accum, pow(pmt.amount, Decimals[Token], AssetsWeights[Token], AssetsWeightsDecimals, 8, FLOOR), Scale8)
865865 }
866866
867867 let $l = payments
868868 let $s = size($l)
869869 let $acc0 = PoolTokenScale
870870 func $f4_1 ($a,$i) = if (($i >= $s))
871871 then $a
872872 else handler($a, $l[$i])
873873
874874 func $f4_2 ($a,$i) = if (($i >= $s))
875875 then $a
876876 else throw("List size exceeds 10")
877877
878878 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
879879 }
880880
881881 if (isShutdown())
882882 then throw("contract is on stop")
883883 else if ((tryGetInteger("global_wasInited") > 0))
884884 then throw("pool already inited")
885885 else {
886886 let initialPoolTokens = calculatePoolTokensAmount(i.payments)
887887 if ((initialPoolTokens == 0))
888888 then throw("you need a bigger tokens amount to launch the pool")
889889 else {
890890 let poolTokenIssue = Issue(("PZ " + tryGetString("static_poolDomain")), "Puzzle Swap: pool index token", initialPoolTokens, PoolTokenDecimals, true, unit, 0)
891891 let poolTokenId = calculateAssetId(poolTokenIssue)
892892 (prepareList() ++ [poolTokenIssue, IntegerEntry("global_poolToken_amount", initialPoolTokens), IntegerEntry("global_wasInited", 1), BinaryEntry("global_poolToken_id", poolTokenId), StringEntry("static_poolToken_idStr", getAssetString(poolTokenId)), IntegerEntry((toString(i.caller) + "_indexStaked"), initialPoolTokens), IntegerEntry("global_indexStaked", initialPoolTokens)])
893893 }
894894 }
895895 }
896896
897897
898898
899899 @Callable(i)
900900 func generateIndex (needChange) = if ((size(i.payments) != T))
901901 then throw(("you need to attach all pool tokens. amount of pool tokens: " + toString(T)))
902902 else if (!(checkTokensValidity(i.payments)))
903903 then throw("wrong assets attached")
904904 else {
905905 let PIssuedNoMult = getMinPIssued(i.payments)
906906 let result = handlePoolTokensAdd(PIssuedNoMult, i.payments, i.originCaller, needChange)
907907 let PIssuedWithMult = fraction(PIssuedNoMult, Scale16, getKMult(), DOWN)
908908 let reissue = Reissue(getBinaryValue("global_poolToken_id"), PIssuedWithMult, true)
909909 $Tuple2((result ++ [reissue, ScriptTransfer(i.caller, PIssuedWithMult, tryGetBinary("global_poolToken_id")), IntegerEntry("global_poolToken_amount", (tryGetInteger("global_poolToken_amount") + PIssuedWithMult))]), PIssuedWithMult)
910910 }
911911
912912
913913
914914 @Callable(i)
915915 func redeemIndex (sendToOrigin) = {
916916 let pmt = i.payments[0]
917917 if ((pmt.assetId != tryGetBinary("global_poolToken_id")))
918918 then throw("please attach pool share token")
919919 else if (isShutdown())
920920 then throw("contract is on stop")
921921 else {
922922 let PRedeemedWithMult = pmt.amount
923923 let PRedeemedWithNoMult = fraction(PRedeemedWithMult, getKMult(), Scale16, DOWN)
924924 let result = handlePoolTokensRedeem(PRedeemedWithNoMult, if (sendToOrigin)
925925 then i.originCaller
926926 else i.caller)
927927 (result ++ [Burn(tryGetBinary("global_poolToken_id"), PRedeemedWithMult), IntegerEntry("global_poolToken_amount", (tryGetInteger("global_poolToken_amount") - PRedeemedWithMult))])
928928 }
929929 }
930930
931931
932932
933933 @Callable(i)
934934 func stakeIndex () = {
935935 let addressStr = toString(i.originCaller)
936936 let pmt = i.payments[0]
937937 if ((value(pmt.assetId) != tryGetBinary("global_poolToken_id")))
938938 then throw("wrong asset attached")
939939 else indexStakeResult(addressStr, pmt.amount)
940940 }
941941
942942
943943
944944 @Callable(i)
945945 func stakeIndexFor (addressStr) = {
946946 let pmt = i.payments[0]
947947 if ((value(pmt.assetId) != tryGetBinary("global_poolToken_id")))
948948 then throw("wrong asset attached")
949949 else indexStakeResult(addressStr, pmt.amount)
950950 }
951951
952952
953953
954954 @Callable(i)
955955 func unstakeIndex (indexAmount) = {
956956 let addressStr = if ((indexOf(layer2Addresses, toString(i.caller)) != unit))
957957 then toString(i.originCaller)
958958 else toString(i.caller)
959959 let indexAvailable = tryGetInteger((addressStr + "_indexStaked"))
960960 if (isShutdown())
961961 then throw("contract is on stop")
962962 else if ((indexAmount > indexAvailable))
963963 then throw("you don't have index tokens available")
964964 else if (isShutdown())
965965 then throw("contract is on stop")
966966 else (claimResult(addressFromStringValue(addressStr))._1 ++ [IntegerEntry((addressStr + "_indexStaked"), (indexAvailable - indexAmount)), IntegerEntry("global_indexStaked", (tryGetInteger("global_indexStaked") - indexAmount)), ScriptTransfer(i.caller, indexAmount, getBinaryValue("global_poolToken_id"))])
967967 }
968968
969969
970970
971971 @Callable(i)
972972 func claimIndexRewards () = if (isShutdown())
973973 then throw("contract is on stop")
974974 else claimResult(i.caller)
975975
976976
977977
978978 @Callable(i)
979979 func evaluateClaim (user) = $Tuple2(nil, claimResult(addressFromStringValue(user))._2)
980980
981981
982982
983983 @Callable(i)
984984 func swap (assetOut,minimum) = {
985985 let pmt = if ((size(i.payments) == 1))
986986 then value(i.payments[0])
987987 else throw("please attach exactly one payment")
988988 let AmountIn = value(i.payments[0].amount)
989989 let AssetIn = pmt.assetId
990990 let AssetOut = getAssetBytes(assetOut)
991991 let assetIn = getAssetString(AssetIn)
992992 let scaleIn = (Scale8 / tryGetInteger((("static_" + assetIn) + "_scale")))
993993 let scaleOut = (Scale8 / tryGetInteger((("static_" + assetOut) + "_scale")))
994994 let feeAssetOutStr = tryGetString("static_feeToken")
995995 let feeAssetOut = if ((feeAssetOutStr == ""))
996996 then usdnAssetId
997997 else getAssetBytes(feeAssetOutStr)
998998 let AssetInBalance = tryGetInteger((("global_" + getAssetString(AssetIn)) + "_balance"))
999999 let AssetOutBalance = tryGetInteger((("global_" + assetOut) + "_balance"))
10001000 let AssetInBalanceScaled = (AssetInBalance * scaleIn)
10011001 let AssetOutBalanceScaled = (AssetOutBalance * scaleOut)
10021002 let feeAmountIn = fraction(AmountIn, Fee, FeeScale)
10031003 let cleanAmountIn = (AmountIn - feeAmountIn)
10041004 let cleanAmountInScaled = (cleanAmountIn * scaleIn)
10051005 let AmountOut1 = calculateOutAmount(cleanAmountInScaled, AssetIn, AssetOut, AssetInBalanceScaled, AssetOutBalanceScaled)
10061006 let AmountOut = fraction(AmountOut1, 1, scaleOut)
10071007 let AssetOutBalance2 = (AssetOutBalance - AmountOut)
10081008 let AssetInBalance2 = (AssetInBalance + cleanAmountIn)
10091009 let feeAssetOutBalance = if ((feeAssetOut == AssetIn))
10101010 then AssetInBalance2
10111011 else if ((feeAssetOut == AssetOut))
10121012 then AssetOutBalance2
10131013 else tryGetInteger((("global_" + getAssetString(feeAssetOut)) + "_balance"))
10141014 let feeAmountOut = calculateOutAmount(feeAmountIn, AssetIn, feeAssetOut, AssetInBalance, feeAssetOutBalance)
10151015 if ((minimum > AmountOut))
10161016 then throw("amount to recieve is lower than given one")
10171017 else if ((AssetOut == AssetIn))
10181018 then throw("this swap is not allowed")
10191019 else if ((0 > (AssetOutBalance - AmountOut)))
10201020 then throw("contract is out of reserves")
10211021 else if (isShutdown())
10221022 then throw("contract is on stop")
10231023 else {
10241024 let creatorFee = fraction(feeAmountOut, 1, 10)
10251025 let protocolFee = fraction(feeAmountOut, 4, 10)
10261026 let newBalanceIn = AssetInBalance2
10271027 let newBalanceOut = (AssetOutBalance2 - (if ((AssetOut == feeAssetOut))
10281028 then feeAmountOut
10291029 else 0))
10301030 let newBalanceFeeAsset = if (if ((feeAssetOut != AssetIn))
10311031 then (feeAssetOut != AssetOut)
10321032 else false)
10331033 then (feeAssetOutBalance - feeAmountOut)
10341034 else unit
10351035 let assetInChange = IntegerEntry((("global_" + getAssetString(AssetIn)) + "_balance"), newBalanceIn)
10361036 let assetOutChange = IntegerEntry((("global_" + assetOut) + "_balance"), newBalanceOut)
10371037 let feeAssetOutChange = if ((newBalanceFeeAsset != unit))
10381038 then IntegerEntry((("global_" + getAssetString(feeAssetOut)) + "_balance"), value(newBalanceFeeAsset))
10391039 else StringEntry("hello", "world")
10401040 let volumeUpdate = calculateUsdnValue(AssetIn, AmountIn, AssetInBalance, feeAssetOutBalance)
10411041 let volumeUsdUpdate = calculateUsdValue(AssetIn, AmountIn, AssetInBalance)
10421042 $Tuple2([assetOutChange, assetInChange, feeAssetOutChange, ScriptTransfer(i.caller, AmountOut, AssetOut), ScriptTransfer(addressFromStringValue(tryGetString("static_poolOwner")), creatorFee, feeAssetOut), IntegerEntry("global_earnedByOwner", (tryGetInteger("global_earnedByOwner") + creatorFee)), IntegerEntry("global_volume", (tryGetInteger("global_volume") + volumeUpdate)), IntegerEntry("global_volume_usd", (tryGetInteger("global_volume_usd") + volumeUsdUpdate)), ScriptTransfer(feesAddress, protocolFee, feeAssetOut)], AmountOut)
10431043 }
10441044 }
10451045
10461046
10471047
10481048 @Callable(i)
10491049 func swapReadOnly (assetIn,assetOut,AmountIn) = {
10501050 let AssetIn = getAssetBytes(assetIn)
10511051 let AssetOut = getAssetBytes(assetOut)
10521052 let scaleIn = (Scale8 / tryGetInteger((("static_" + assetIn) + "_scale")))
10531053 let scaleOut = (Scale8 / tryGetInteger((("static_" + assetOut) + "_scale")))
10541054 let feeAssetOutStr = tryGetString("static_feeToken")
10551055 let feeAssetOut = if ((feeAssetOutStr == ""))
10561056 then usdnAssetId
10571057 else getAssetBytes(feeAssetOutStr)
10581058 let AssetInBalance = tryGetInteger((("global_" + getAssetString(AssetIn)) + "_balance"))
10591059 let AssetOutBalance = tryGetInteger((("global_" + assetOut) + "_balance"))
10601060 let AssetInBalanceScaled = (AssetInBalance * scaleIn)
10611061 let AssetOutBalanceScaled = (AssetOutBalance * scaleOut)
10621062 let feeAmountIn = fraction(AmountIn, Fee, FeeScale)
10631063 let cleanAmountIn = (AmountIn - feeAmountIn)
10641064 let cleanAmountInScaled = (cleanAmountIn * scaleIn)
10651065 let AmountOut1 = calculateOutAmount(cleanAmountInScaled, AssetIn, AssetOut, AssetInBalanceScaled, AssetOutBalanceScaled)
10661066 let AmountOut = fraction(AmountOut1, 1, scaleOut)
10671067 let AssetOutBalance2 = (AssetOutBalance - AmountOut)
10681068 let AssetInBalance2 = (AssetInBalance + cleanAmountIn)
10691069 let feeAssetOutBalance = if ((feeAssetOut == AssetIn))
10701070 then AssetInBalance2
10711071 else if ((feeAssetOut == AssetOut))
10721072 then AssetOutBalance2
10731073 else tryGetInteger((("global_" + getAssetString(feeAssetOut)) + "_balance"))
10741074 let feeAmountOut = calculateOutAmount(feeAmountIn, AssetIn, feeAssetOut, AssetInBalance, feeAssetOutBalance)
10751075 if ((AssetOut == AssetIn))
10761076 then throw("this swap is not allowed")
10771077 else if ((0 > (AssetOutBalance - AmountOut)))
10781078 then throw("contract is out of reserves")
10791079 else if (isShutdown())
10801080 then throw("contract is on stop")
10811081 else $Tuple2(nil, AmountOut)
10821082 }
10831083
10841084
10851085
10861086 @Callable(i)
10871087 func transferOwnership (newOwnerAddress) = if ((toString(i.caller) != tryGetString("static_poolOwner")))
10881088 then throw("this call available only for pool owner")
10891089 else [StringEntry("static_poolOwner", newOwnerAddress)]
10901090
10911091
10921092
10931093 @Callable(i)
10941094 func setFee (newFee) = if ((toString(i.caller) != tryGetString("static_poolOwner")))
10951095 then throw("this call available only for pool owner")
10961096 else if ((1 > valueOrElse(getInteger(govAddress, ("approvedTx_" + toBase58String(i.transactionId))), 0)))
10971097 then throw("this transaction needs approval from puzzle network")
10981098 else [IntegerEntry("static_fee", newFee)]
10991099
11001100
11011101
11021102 @Callable(i)
11031103 func setRebalancingPlan (assetIdsStr,assetWeightsStr,baseTokenIdStr,stepsAmount,stepsInterval) = if ((i.caller != addressFromStringValue(tryGetString("static_poolOwner"))))
11041104 then throw("this call available only for pool owner")
11051105 else if (valueOrElse(getBoolean(this, "rebalance_inProgress"), false))
11061106 then throw("rebalancing in progress")
11071107 else {
11081108 let newAssetWeightsStrLi = split(assetWeightsStr, ",")
11091109 let newAssetIdsStrLi = split(assetIdsStr, ",")
11101110 let feeAssetStr = {
11111111 let $l = newAssetIdsStrLi
11121112 let $s = size($l)
11131113 let $acc0 = ""
11141114 func $f4_1 ($a,$i) = if (($i >= $s))
11151115 then $a
11161116 else checkFeeAsset($a, $l[$i])
11171117
11181118 func $f4_2 ($a,$i) = if (($i >= $s))
11191119 then $a
11201120 else throw("List size exceeds 10")
11211121
11221122 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
11231123 }
11241124 let assetWeightsSum = {
11251125 let $l = newAssetWeightsStrLi
11261126 let $s = size($l)
11271127 let $acc0 = 0
11281128 func $f5_1 ($a,$i) = if (($i >= $s))
11291129 then $a
11301130 else sum($a, $l[$i])
11311131
11321132 func $f5_2 ($a,$i) = if (($i >= $s))
11331133 then $a
11341134 else throw("List size exceeds 10")
11351135
11361136 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
11371137 }
11381138 let oldAssetIds = getStringValue("static_tokenIds")
11391139 let oldAssetIdsLi = split(oldAssetIds, ",")
11401140 func findAdded (accum,next) = if ((indexOf(oldAssetIdsLi, next) == unit))
11411141 then (accum ++ [next])
11421142 else accum
11431143
11441144 func findRemoved (accum,next) = if ((indexOf(newAssetIdsStrLi, next) == unit))
11451145 then (accum ++ [next])
11461146 else accum
11471147
11481148 let addedAssets = {
11491149 let $l = newAssetIdsStrLi
11501150 let $s = size($l)
11511151 let $acc0 = nil
11521152 func $f6_1 ($a,$i) = if (($i >= $s))
11531153 then $a
11541154 else findAdded($a, $l[$i])
11551155
11561156 func $f6_2 ($a,$i) = if (($i >= $s))
11571157 then $a
11581158 else throw("List size exceeds 10")
11591159
11601160 $f6_2($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
11611161 }
11621162 let removedAssets = {
11631163 let $l = oldAssetIdsLi
11641164 let $s = size($l)
11651165 let $acc0 = nil
11661166 func $f7_1 ($a,$i) = if (($i >= $s))
11671167 then $a
11681168 else findRemoved($a, $l[$i])
11691169
11701170 func $f7_2 ($a,$i) = if (($i >= $s))
11711171 then $a
11721172 else throw("List size exceeds 10")
11731173
11741174 $f7_2($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
11751175 }
11761176 let validPayments = validatePayments(addedAssets, i.payments)
11771177 let validWeights = validateWeights(newAssetWeightsStrLi)
11781178 if ((validWeights == validWeights))
11791179 then if ((validPayments != (size(addedAssets) + size(i.payments))))
11801180 then throw("Payments not present or something wrong with them")
11811181 else if ((size(newAssetIdsStrLi) != size(newAssetWeightsStrLi)))
11821182 then throw("assetIds and assetWeights should have same length")
11831183 else if ((validPayments != (size(addedAssets) + size(i.payments))))
11841184 then throw("Payments not present or something wrong with them")
11851185 else if ((feeAssetStr == ""))
11861186 then throw("pool must have one of the supported fee assets in the composition")
11871187 else if ((indexOf(newAssetIdsStrLi, baseTokenIdStr) == unit))
11881188 then throw("baseTokenId should be present in assetIds")
11891189 else if (if ((MIN_STEPS_AMOUNT > stepsAmount))
11901190 then true
11911191 else (stepsAmount > MAX_STEPS_AMOUNT))
11921192 then throw(((((("Steps amount should be between " + toString(MIN_STEPS_AMOUNT)) + " and ") + toString(MAX_STEPS_AMOUNT)) + ", current: ") + toString(stepsAmount)))
11931193 else if (if ((MIN_STEPS_INTERVAL > stepsInterval))
11941194 then true
11951195 else (stepsInterval > MAX_STEPS_INTERVAL))
11961196 then throw(((((("Steps interval should be between " + toString(MIN_STEPS_INTERVAL)) + " and ") + toString(MAX_STEPS_INTERVAL)) + ", current: ") + toString(stepsInterval)))
11971197 else if ((assetWeightsSum != 10000))
11981198 then throw(("sum of token weights must be equal to 10000, current: " + toString(assetWeightsSum)))
11991199 else {
12001200 func f (accum,assetIdStr) = {
12011201 let oldWeight = tryGetInteger((("static_" + assetIdStr) + "_weight"))
12021202 let newWeight = if ((indexOf(newAssetIdsStrLi, assetIdStr) == unit))
12031203 then 0
12041204 else parseIntValue(value(newAssetWeightsStrLi[value(indexOf(newAssetIdsStrLi, assetIdStr))]))
12051205 let deltaPerStep = fraction((newWeight - oldWeight), 10000, stepsAmount)
12061206 (accum ++ [toString(deltaPerStep)])
12071207 }
12081208
12091209 let tmpAssetIdsLi = getTmpRebalanceIds(newAssetIdsStrLi)
12101210 let assetDeltas = {
12111211 let $l = tmpAssetIdsLi
12121212 let $s = size($l)
12131213 let $acc0 = nil
12141214 func $f8_1 ($a,$i) = if (($i >= $s))
12151215 then $a
12161216 else f($a, $l[$i])
12171217
12181218 func $f8_2 ($a,$i) = if (($i >= $s))
12191219 then $a
12201220 else throw("List size exceeds 10")
12211221
12221222 $f8_2($f8_1($f8_1($f8_1($f8_1($f8_1($f8_1($f8_1($f8_1($f8_1($f8_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
12231223 }
12241224 let newTokensAdded = (checkTokensChange(newAssetIdsStrLi) > 0)
12251225 func recordAssetPayment (accum,next) = (accum ++ [IntegerEntry(("rebalance_attachedPayment_" + getAssetString(next.assetId)), next.amount)])
12261226
12271227 let paymentEntries = {
12281228 let $l = i.payments
12291229 let $s = size($l)
12301230 let $acc0 = nil
12311231 func $f9_1 ($a,$i) = if (($i >= $s))
12321232 then $a
12331233 else recordAssetPayment($a, $l[$i])
12341234
12351235 func $f9_2 ($a,$i) = if (($i >= $s))
12361236 then $a
12371237 else throw("List size exceeds 10")
12381238
12391239 $f9_2($f9_1($f9_1($f9_1($f9_1($f9_1($f9_1($f9_1($f9_1($f9_1($f9_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
12401240 }
12411241 let storeWeights = saveCurrentWeights()
12421242 let requestGovInvoke = invoke(govAddress, "requestRebalancing", [toBase58String(i.transactionId)], nil)
12431243 if ((requestGovInvoke == requestGovInvoke))
12441244 then (([StringEntry("rebalance_addedAssets", makeString(addedAssets, ",")), StringEntry("rebalance_removedAssets", makeString(removedAssets, ",")), StringEntry("tmp_rebalanceAssetIds", makeString(tmpAssetIdsLi, ",")), BooleanEntry("rebalance_inProgress", true), BooleanEntry("rebalance_newTokensAdded", newTokensAdded), IntegerEntry("rebalance_stepsDone", 0), IntegerEntry("rebalance_lastStepHeight", height), IntegerEntry("rebalance_stepsAmount", stepsAmount), IntegerEntry("rebalance_stepsInterval", stepsInterval), StringEntry("rebalance_assetIds", assetIdsStr), StringEntry("rebalance_newBaseTokenId", baseTokenIdStr), StringEntry("rebalance_assetDeltas", makeString(assetDeltas, ","))] ++ paymentEntries) ++ storeWeights)
12451245 else throw("Strict value is not equal to itself.")
12461246 }
12471247 else throw("Strict value is not equal to itself.")
12481248 }
12491249
12501250
12511251
12521252 @Callable(i)
12531253 func stepRebalancing () = {
12541254 let rebId = valueOrErrorMessage(getString(govAddress, ("pool_lastRebalancing_" + toString(this))), "rebalancing is not registered at gov address")
12551255 if (!(valueOrElse(getBoolean(this, "rebalance_inProgress"), false)))
12561256 then throw("no rebalancing in progress")
12571257 else if ((valueOrElse(getInteger(govAddress, ("rebalancing_status_" + rebId)), 0) != 2))
12581258 then throw("this transaction needs approval from puzzle network")
12591259 else {
12601260 let lastStepHeight = getIntegerValue("rebalance_lastStepHeight")
12611261 let stepInterval = getIntegerValue("rebalance_stepsInterval")
12621262 let stepsDone = getIntegerValue("rebalance_stepsDone")
12631263 let nextStepHeight = (lastStepHeight + stepInterval)
12641264 if ((nextStepHeight > height))
12651265 then throw("can't be done yet")
12661266 else {
12671267 let assetDeltas = split(getStringValue("rebalance_assetDeltas"), ",")
12681268 let newAssetIdsStr = getStringValue("tmp_rebalanceAssetIds")
12691269 let newAssetIds = split(newAssetIdsStr, ",")
12701270 func f (accum,assetIdStr) = (accum ++ [toString(fraction(((valueOrElse(getInteger(("rebalance_startWeight_" + assetIdStr)), 0) * 10000) + (parseIntValue(assetDeltas[value(indexOf(newAssetIds, assetIdStr))]) * (stepsDone + 1))), 1, 10000, HALFUP))])
12711271
12721272 let newShares = makeString({
12731273 let $l = newAssetIds
12741274 let $s = size($l)
12751275 let $acc0 = nil
12761276 func $f4_1 ($a,$i) = if (($i >= $s))
12771277 then $a
12781278 else f($a, $l[$i])
12791279
12801280 func $f4_2 ($a,$i) = if (($i >= $s))
12811281 then $a
12821282 else throw("List size exceeds 10")
12831283
12841284 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
12851285 }, ",")
12861286 let newTokensAdded = getBooleanValue("rebalance_newTokensAdded")
12871287 let inv = if (if (newTokensAdded)
12881288 then (stepsDone == 0)
12891289 else false)
12901290 then invoke(this, "doRebalancingWithNewTokens", [newAssetIdsStr, newShares, getStringValue("rebalance_newBaseTokenId")], nil)
12911291 else invoke(this, "doRebalancing", [newShares], nil)
12921292 if ((inv == inv))
12931293 then {
12941294 let notifyInvoke = invoke(poolsHubAddress, "notifyPoolChange", nil, nil)
12951295 if ((notifyInvoke == notifyInvoke))
12961296 then {
12971297 let isFinished = ((stepsDone + 1) >= getIntegerValue("rebalance_stepsAmount"))
12981298 let actions = [BooleanEntry("rebalance_inProgress", !(isFinished)), IntegerEntry("rebalance_stepsDone", (stepsDone + 1)), IntegerEntry("rebalance_lastStepHeight", height)]
12991299 if ((stepsDone == 0))
13001300 then (actions ++ [StringEntry("static_tokenIds", newAssetIdsStr)])
13011301 else if (isFinished)
13021302 then {
13031303 let removedAssetsLi = split(tryGetString("rebalance_removedAssets"), ",")
13041304 func rmData (accum,assetId) = (accum ++ [DeleteEntry((("static_" + assetId) + "_scale")), DeleteEntry((("static_" + assetId) + "_decimals")), DeleteEntry((("static_" + assetId) + "_weight")), DeleteEntry((("global_" + assetId) + "_balance")), DeleteEntry(("rebalance_attachedPayment_" + assetId))])
13051305
13061306 let rm = {
13071307 let $l = removedAssetsLi
13081308 let $s = size($l)
13091309 let $acc0 = nil
13101310 func $f5_1 ($a,$i) = if (($i >= $s))
13111311 then $a
13121312 else rmData($a, $l[$i])
13131313
13141314 func $f5_2 ($a,$i) = if (($i >= $s))
13151315 then $a
13161316 else throw("List size exceeds 10")
13171317
13181318 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
13191319 }
13201320 let addedAssetsLi = split(tryGetString("rebalance_addedAssets"), ",")
13211321 func addRemovePayments (accum,assetId) = (accum ++ [DeleteEntry(("rebalance_attachedPayment_" + assetId))])
13221322
13231323 let rmPayments = {
13241324 let $l = addedAssetsLi
13251325 let $s = size($l)
13261326 let $acc0 = nil
13271327 func $f6_1 ($a,$i) = if (($i >= $s))
13281328 then $a
13291329 else addRemovePayments($a, $l[$i])
13301330
13311331 func $f6_2 ($a,$i) = if (($i >= $s))
13321332 then $a
13331333 else throw("List size exceeds 10")
13341334
13351335 $f6_2($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
13361336 }
13371337 let finalAssetsIdsStr = tryGetString("rebalance_assetIds")
13381338 let AssetsWeightsStr = {
13391339 let $l = split(finalAssetsIdsStr, ",")
13401340 let $s = size($l)
13411341 let $acc0 = nil
13421342 func $f7_1 ($a,$i) = if (($i >= $s))
13431343 then $a
13441344 else addAssetWeightToStrList($a, $l[$i])
13451345
13461346 func $f7_2 ($a,$i) = if (($i >= $s))
13471347 then $a
13481348 else throw("List size exceeds 10")
13491349
13501350 $f7_2($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
13511351 }
13521352 let notify = invoke(govAddress, "notifyRebalancingDone", [rebId], nil)
13531353 if ((notify == notify))
13541354 then (((actions ++ rm) ++ rmPayments) ++ [StringEntry("static_tokenIds", finalAssetsIdsStr), StringEntry("static_tokenWeights", makeString(AssetsWeightsStr, ",")), IntegerEntry("static_tokensAmount", size(split(finalAssetsIdsStr, ",")))])
13551355 else throw("Strict value is not equal to itself.")
13561356 }
13571357 else {
13581358 let finalAssetsIdsStr = tryGetString("rebalance_assetIds")
13591359 let AssetsWeightsStr = {
13601360 let $l = split(finalAssetsIdsStr, ",")
13611361 let $s = size($l)
13621362 let $acc0 = nil
13631363 func $f5_1 ($a,$i) = if (($i >= $s))
13641364 then $a
13651365 else addAssetWeightToStrList($a, $l[$i])
13661366
13671367 func $f5_2 ($a,$i) = if (($i >= $s))
13681368 then $a
13691369 else throw("List size exceeds 10")
13701370
13711371 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
13721372 }
13731373 (actions ++ [StringEntry("static_tokenWeights", makeString(AssetsWeightsStr, ","))])
13741374 }
13751375 }
13761376 else throw("Strict value is not equal to itself.")
13771377 }
13781378 else throw("Strict value is not equal to itself.")
13791379 }
13801380 }
13811381 }
13821382
13831383
13841384
13851385 @Callable(i)
13861386 func doRebalancing (assetWeightsStr) = {
13871387 let assetWeightsStrLi = split(assetWeightsStr, ",")
13881388 let assetWeightsSum = {
13891389 let $l = assetWeightsStrLi
13901390 let $s = size($l)
13911391 let $acc0 = 0
13921392 func $f4_1 ($a,$i) = if (($i >= $s))
13931393 then $a
13941394 else sum($a, $l[$i])
13951395
13961396 func $f4_2 ($a,$i) = if (($i >= $s))
13971397 then $a
13981398 else throw("List size exceeds 10")
13991399
14001400 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
14011401 }
14021402 let assetIdsStrLi = split(tryGetString("static_tokenIds"), ",")
14031403 if ((i.caller != this))
14041404 then throw("this call available only for admin")
14051405 else {
14061406 let oldKMult = getKMult()
14071407 func handler (pars,assetId) = {
14081408 let accum = pars._1
14091409 let assetIdStr = getAssetString(assetId)
14101410 func handler2 (accum,n) = if ((n == assetId))
14111411 then value(indexOf(assetIds, n))
14121412 else accum
14131413
14141414 let Token = {
14151415 let $l = assetIds
14161416 let $s = size($l)
14171417 let $acc0 = 1
14181418 func $f5_1 ($a,$i) = if (($i >= $s))
14191419 then $a
14201420 else handler2($a, $l[$i])
14211421
14221422 func $f5_2 ($a,$i) = if (($i >= $s))
14231423 then $a
14241424 else throw("List size exceeds 10")
14251425
14261426 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
14271427 }
14281428 let balance = tryGetInteger((("global_" + assetIdStr) + "_balance"))
14291429 let weight = if ((pars._2 == "new"))
14301430 then parseIntValue(assetWeightsStrLi[Token])
14311431 else tryGetInteger((("static_" + assetIdStr) + "_weight"))
14321432 $Tuple2(fraction(accum, pow(balance, Decimals[Token], weight, AssetsWeightsDecimals, 8, FLOOR), Scale8), pars._2)
14331433 }
14341434
14351435 let newK = ( let $l = assetIds
14361436 let $s = size($l)
14371437 let $acc0 = $Tuple2(PoolTokenScale, "new")
14381438 func $f5_1 ($a,$i) = if (($i >= $s))
14391439 then $a
14401440 else handler($a, $l[$i])
14411441
14421442 func $f5_2 ($a,$i) = if (($i >= $s))
14431443 then $a
14441444 else throw("List size exceeds 10")
14451445
14461446 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10))._1
14471447 let oldK = ( let $l = assetIds
14481448 let $s = size($l)
14491449 let $acc0 = $Tuple2(PoolTokenScale, "old")
14501450 func $f6_1 ($a,$i) = if (($i >= $s))
14511451 then $a
14521452 else handler($a, $l[$i])
14531453
14541454 func $f6_2 ($a,$i) = if (($i >= $s))
14551455 then $a
14561456 else throw("List size exceeds 10")
14571457
14581458 $f6_2($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10))._1
14591459 let newKMult = fraction(oldKMult, newK, oldK)
14601460 func addTokenDataEntries (accum,assetNum) = if ((assetNum >= size(assetWeightsStrLi)))
14611461 then accum
14621462 else (accum ++ [IntegerEntry((("static_" + assetIdsStrLi[assetNum]) + "_weight"), value(parseInt(assetWeightsStrLi[assetNum])))])
14631463
14641464 ({
14651465 let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
14661466 let $s = size($l)
14671467 let $acc0 = nil
14681468 func $f7_1 ($a,$i) = if (($i >= $s))
14691469 then $a
14701470 else addTokenDataEntries($a, $l[$i])
14711471
14721472 func $f7_2 ($a,$i) = if (($i >= $s))
14731473 then $a
14741474 else throw("List size exceeds 10")
14751475
14761476 $f7_2($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
14771477 } ++ [IntegerEntry("static_KMult", newKMult)])
14781478 }
14791479 }
14801480
14811481
14821482
14831483 @Callable(i)
14841484 func doRebalancingWithNewTokens (assetIdsStr,assetWeightsStr,baseTokenIdStr) = {
14851485 let newAssetWeightsStrLi = split(assetWeightsStr, ",")
14861486 let prevAssetIdsStrLi = split(tryGetString("static_tokenIds"), ",")
14871487 let newAssetIdsStrLi = split(assetIdsStr, ",")
14881488 let newAssetIds = {
14891489 let $l = newAssetIdsStrLi
14901490 let $s = size($l)
14911491 let $acc0 = nil
14921492 func $f4_1 ($a,$i) = if (($i >= $s))
14931493 then $a
14941494 else addAssetBytesToList($a, $l[$i])
14951495
14961496 func $f4_2 ($a,$i) = if (($i >= $s))
14971497 then $a
14981498 else throw("List size exceeds 10")
14991499
15001500 $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
15011501 }
15021502 let feeAssetStr = {
15031503 let $l = newAssetIdsStrLi
15041504 let $s = size($l)
15051505 let $acc0 = ""
15061506 func $f5_1 ($a,$i) = if (($i >= $s))
15071507 then $a
15081508 else checkFeeAsset($a, $l[$i])
15091509
15101510 func $f5_2 ($a,$i) = if (($i >= $s))
15111511 then $a
15121512 else throw("List size exceeds 10")
15131513
15141514 $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
15151515 }
15161516 let addedAssets = split(tryGetString("rebalance_addedAssets"), ",")
15171517 func findAssetPayment (assetId) = valueOrElse(getInteger(("rebalance_attachedPayment_" + getAssetString(assetId))), 0)
15181518
15191519 func addAssetBalanceToLi (li,assetId) = (li ++ [findAssetPayment(assetId)])
15201520
15211521 let attachedBalances = {
15221522 let $l = newAssetIds
15231523 let $s = size($l)
15241524 let $acc0 = nil
15251525 func $f6_1 ($a,$i) = if (($i >= $s))
15261526 then $a
15271527 else addAssetBalanceToLi($a, $l[$i])
15281528
15291529 func $f6_2 ($a,$i) = if (($i >= $s))
15301530 then $a
15311531 else throw("List size exceeds 10")
15321532
15331533 $f6_2($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
15341534 }
15351535 if ((i.caller != this))
15361536 then throw(("this call available only for admin, " + toString(i.caller)))
15371537 else {
15381538 let oldKMult = getKMult()
15391539 let oldK = getVirtualPoolTokenAmount()
15401540 func myltiplyAssetsForK (pars,assetId) = {
15411541 func findAssetNum (accum,n) = if ((n == assetId))
15421542 then value(indexOf(newAssetIds, n))
15431543 else accum
15441544
15451545 let currentK = pars
15461546 let assetIdStr = getAssetString(assetId)
15471547 let TokenNum = {
15481548 let $l = newAssetIds
15491549 let $s = size($l)
15501550 let $acc0 = 1
15511551 func $f7_1 ($a,$i) = if (($i >= $s))
15521552 then $a
15531553 else findAssetNum($a, $l[$i])
15541554
15551555 func $f7_2 ($a,$i) = if (($i >= $s))
15561556 then $a
15571557 else throw("List size exceeds 10")
15581558
15591559 $f7_2($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
15601560 }
15611561 let weight = parseIntValue(newAssetWeightsStrLi[TokenNum])
15621562 let balanceInState = tryGetInteger((("global_" + assetIdStr) + "_balance"))
15631563 let balanceInPayment = attachedBalances[TokenNum]
15641564 let balance = (balanceInState + balanceInPayment)
15651565 let assetDecimals = if ((assetId == unit))
15661566 then 8
15671567 else value(assetInfo(value(assetId))).decimals
15681568 if ((0 >= balance))
15691569 then throw(("you need to attach all new assets in payment. this asset is missed: " + assetIdStr))
15701570 else fraction(currentK, pow(balance, assetDecimals, weight, AssetsWeightsDecimals, 8, FLOOR), Scale8)
15711571 }
15721572
15731573 let newK = {
15741574 let $l = newAssetIds
15751575 let $s = size($l)
15761576 let $acc0 = PoolTokenScale
15771577 func $f7_1 ($a,$i) = if (($i >= $s))
15781578 then $a
15791579 else myltiplyAssetsForK($a, $l[$i])
15801580
15811581 func $f7_2 ($a,$i) = if (($i >= $s))
15821582 then $a
15831583 else throw("List size exceeds 10")
15841584
15851585 $f7_2($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
15861586 }
15871587 let newKMult = fraction(oldKMult, newK, oldK)
15881588 func addTokenDataEntries (accum,assetNum) = {
15891589 let assetIdStr = newAssetIdsStrLi[assetNum]
15901590 let assetId = newAssetIds[assetNum]
15911591 let assetDecimals = if ((assetId == unit))
15921592 then 8
15931593 else value(assetInfo(value(assetId))).decimals
15941594 let newAssetData = if ((indexOf(addedAssets, assetIdStr) != unit))
15951595 then [IntegerEntry((("global_" + assetIdStr) + "_balance"), attachedBalances[assetNum]), IntegerEntry((("static_" + assetIdStr) + "_scale"), pow(10, 0, assetDecimals, 0, 0, DOWN)), IntegerEntry((("static_" + assetIdStr) + "_decimals"), assetDecimals)]
15961596 else nil
15971597 if ((assetNum >= size(newAssetWeightsStrLi)))
15981598 then accum
15991599 else ((accum ++ [IntegerEntry((("static_" + assetIdStr) + "_weight"), value(parseInt(newAssetWeightsStrLi[assetNum])))]) ++ newAssetData)
16001600 }
16011601
16021602 ({
16031603 let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
16041604 let $s = size($l)
16051605 let $acc0 = nil
16061606 func $f8_1 ($a,$i) = if (($i >= $s))
16071607 then $a
16081608 else addTokenDataEntries($a, $l[$i])
16091609
16101610 func $f8_2 ($a,$i) = if (($i >= $s))
16111611 then $a
16121612 else throw("List size exceeds 10")
16131613
16141614 $f8_2($f8_1($f8_1($f8_1($f8_1($f8_1($f8_1($f8_1($f8_1($f8_1($f8_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
16151615 } ++ [StringEntry("static_tokenIds", assetIdsStr), StringEntry("static_feeToken", feeAssetStr), StringEntry("static_tokenWeights", assetWeightsStr), IntegerEntry("static_tokensAmount", size(newAssetIds)), IntegerEntry("static_KMult", newKMult)])
16161616 }
16171617 }
16181618
16191619
16201620 @Verifier(tx)
16211621 func verify () = if (if ((valueOrElse(getInteger("global_wasPreInited"), 0) == 0))
16221622 then if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey))
16231623 then true
16241624 else sigVerify(tx.bodyBytes, tx.proofs[0], masterPubKey)
16251625 else false)
16261626 then true
16271627 else match tx {
16281628 case tx: SetScriptTransaction =>
16291629 let scriptFull = value(tx.script)
16301630 let hash = toBase58String(sha256(scriptFull))
16311631 if (sigVerify(tx.bodyBytes, tx.proofs[0], masterPubKey))
16321632 then (valueOrElse(getInteger(coldMasterAddress, ("approvedScript_" + hash)), 0) > height)
16331633 else false
16341634 case _ =>
16351635 if (sigVerify(tx.bodyBytes, tx.proofs[0], masterPubKey))
16361636 then (valueOrElse(getInteger(coldMasterAddress, ("approvedTx_" + toBase58String(tx.id))), 0) > 0)
16371637 else false
16381638 }
16391639

github/deemru/w8io/026f985 
163.77 ms