tx · DSsx97ymeRyTXGryzjaKQEQH1CzF5UGuaZkdLry5ef9M

3Mwb8GE6NHaDxJTby35u2sNAEmDQMWYupCn:  -0.02900000 Waves

2023.06.26 19:29 [2639860] smart account 3Mwb8GE6NHaDxJTby35u2sNAEmDQMWYupCn > SELF 0.00000000 Waves

{ "type": 13, "id": "DSsx97ymeRyTXGryzjaKQEQH1CzF5UGuaZkdLry5ef9M", "fee": 2900000, "feeAssetId": null, "timestamp": 1687796975291, "version": 2, "chainId": 84, "sender": "3Mwb8GE6NHaDxJTby35u2sNAEmDQMWYupCn", "senderPublicKey": "6oJuynzr7rKRYRDWhDrENciDLidQuVGfe82pK7hr5nev", "proofs": [ "4bgkBznUdd4MxtJb4yLQtUCV3iVxFgiTR4kBR76TNXZVxKYLfAdSMirtUYLqFZuxqH64GErLf5s1LV718EsecmRX" ], "script": "base64:AAIFAAAAAAAAAC4IAhIGCgQICAgIEgASABIDCgEEEgASAwoBARIAEgMKAQQSBAoCCAESBQoDCAEIAAAAJQEAAAANdHJ5R2V0SW50ZWdlcgAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAAAAAAAAAAAAAQAAAAx0cnlHZXRCaW5hcnkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBwAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAWIFAAAAByRtYXRjaDAFAAAAAWIBAAAAAAEAAAAMdHJ5R2V0U3RyaW5nAAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWIFAAAAByRtYXRjaDAFAAAAAWICAAAAAAEAAAAOZ2V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duAAAAAAcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5E2rCgA==", "height": 2639860, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: TcKU55zrnPBc5WgtxP5CTqSh3NvA4GVc3ijvT8NF7XU Next: 85KozyrhNUPToRVEs9Hrh7iRvroUzXyr7JZeETzYHuAe Full:
OldNewDifferences
1-{-# STDLIB_VERSION 6 #-}
1+{-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let randomDelay = 2
5-
6-func keyCommit (address) = ("finishBlockForAddr_" + address)
4+func tryGetInteger (key) = match getInteger(this, key) {
5+ case b: Int =>
6+ b
7+ case _ =>
8+ 0
9+}
710
811
9-func getRandomNumber (maxValue,finishHeight) = {
10- let randomSeedBlock = value(blockInfoByHeight(finishHeight))
11- let randomHash = sha256(value(randomSeedBlock.vrf))
12- (toInt(randomHash, 16) % maxValue)
12+func tryGetBinary (key) = match getBinary(this, key) {
13+ case b: ByteVector =>
14+ b
15+ case _ =>
16+ base58''
17+}
18+
19+
20+func tryGetString (key) = match getString(this, key) {
21+ case b: String =>
22+ b
23+ case _ =>
24+ ""
25+}
26+
27+
28+func getAssetString (assetId) = match assetId {
29+ case b: ByteVector =>
30+ toBase58String(b)
31+ case _ =>
32+ "WAVES"
33+}
34+
35+
36+func getAssetBytes (assetIdStr) = if ((assetIdStr == "WAVES"))
37+ then unit
38+ else fromBase58String(assetIdStr)
39+
40+
41+func addAssetBytesToList (accum,item) = (accum :+ getAssetBytes(item))
42+
43+
44+func addAssetWeightToList (accum,item) = (accum :+ tryGetInteger((("static_" + getAssetString(item)) + "_weight")))
45+
46+
47+func addAssetDecimalsToList (accum,item) = (accum :+ tryGetInteger((("static_" + getAssetString(item)) + "_decimals")))
48+
49+
50+func addAssetScaleToList (accum,item) = (accum :+ tryGetInteger((("static_" + getAssetString(item)) + "_scale")))
51+
52+
53+func addIntToList (accum,item) = (accum :+ parseIntValue(item))
54+
55+
56+let T = tryGetInteger("static_tokensAmount")
57+
58+let assetIds = {
59+ let $l = split(tryGetString("static_tokenIds"), ",")
60+ let $s = size($l)
61+ let $acc0 = nil
62+ func $f0_1 ($a,$i) = if (($i >= $s))
63+ then $a
64+ else addAssetBytesToList($a, $l[$i])
65+
66+ func $f0_2 ($a,$i) = if (($i >= $s))
67+ then $a
68+ else throw("List size exceeds 10")
69+
70+ $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)
71+ }
72+
73+let AssetsWeights = {
74+ let $l = assetIds
75+ let $s = size($l)
76+ let $acc0 = nil
77+ func $f1_1 ($a,$i) = if (($i >= $s))
78+ then $a
79+ else addAssetWeightToList($a, $l[$i])
80+
81+ func $f1_2 ($a,$i) = if (($i >= $s))
82+ then $a
83+ else throw("List size exceeds 10")
84+
85+ $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)
86+ }
87+
88+let Decimals = {
89+ let $l = assetIds
90+ let $s = size($l)
91+ let $acc0 = nil
92+ func $f2_1 ($a,$i) = if (($i >= $s))
93+ then $a
94+ else addAssetDecimalsToList($a, $l[$i])
95+
96+ func $f2_2 ($a,$i) = if (($i >= $s))
97+ then $a
98+ else throw("List size exceeds 10")
99+
100+ $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)
101+ }
102+
103+let Scales = {
104+ let $l = assetIds
105+ let $s = size($l)
106+ let $acc0 = nil
107+ func $f3_1 ($a,$i) = if (($i >= $s))
108+ then $a
109+ else addAssetScaleToList($a, $l[$i])
110+
111+ func $f3_2 ($a,$i) = if (($i >= $s))
112+ then $a
113+ else throw("List size exceeds 10")
114+
115+ $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)
116+ }
117+
118+let Fee = tryGetInteger("static_fee")
119+
120+let AssetsWeightsDecimals = 2
121+
122+let Scale = 10000
123+
124+let Scale8 = 100000000
125+
126+let FeeScale = 10000
127+
128+let PoolTokenDecimals = 8
129+
130+let PoolTokenScale = pow(10, 0, PoolTokenDecimals, 0, 0, HALFUP)
131+
132+let earnedAssets = assetIds
133+
134+func isShutdown () = match getBoolean(Address(base58'3PEpv9hRFWEEBU22WRnLsw1bH4YGtcU728o'), "is_shutdown") {
135+ case x: Boolean =>
136+ x
137+ case _ =>
138+ false
139+}
140+
141+
142+func getCurrentTokenBalance (tokenType) = {
143+ let tokenId = getAssetString(assetIds[tokenType])
144+ tryGetInteger((("global_" + tokenId) + "_balance"))
13145 }
14146
15147
16-func pseudo (n) = {
17- let randomHash = sha256((value(value(blockInfoByHeight(height)).vrf) + toBytes(n)))
18- let hashInt = toInt(randomHash)
19- (hashInt % 37)
148+func calculatePIssued (amount,tokenId) = {
149+ let Psupply = tryGetInteger("global_poolToken_amount")
150+ let Balance = tryGetInteger((("global_" + getAssetString(tokenId)) + "_balance"))
151+ fraction(amount, Psupply, Balance, DOWN)
20152 }
21153
22154
155+func getMinPIssued (payments) = {
156+ func handler (accum,current) = {
157+ let PIssued = calculatePIssued(current.amount, current.assetId)
158+ if ((PIssued == 0))
159+ then throw("one of the tokens amounts is too low")
160+ else if (if ((accum == 0))
161+ then true
162+ else (accum > PIssued))
163+ then PIssued
164+ else accum
165+ }
166+
167+ let $l = payments
168+ let $s = size($l)
169+ let $acc0 = 0
170+ func $f4_1 ($a,$i) = if (($i >= $s))
171+ then $a
172+ else handler($a, $l[$i])
173+
174+ func $f4_2 ($a,$i) = if (($i >= $s))
175+ then $a
176+ else throw("List size exceeds 10")
177+
178+ $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)
179+ }
180+
181+
182+func calculateUsdnValue (assetId,amount,aBalance) = {
183+ let usdnId = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
184+ let usdnWeight = AssetsWeights[value(indexOf(assetIds, usdnId))]
185+ let assetWeight = AssetsWeights[value(indexOf(assetIds, assetId))]
186+ let usdnBalance = tryGetInteger((("global_" + getAssetString(usdnId)) + "_balance"))
187+ fraction(amount, (usdnBalance / usdnWeight), (aBalance / assetWeight))
188+ }
189+
190+
191+func checkTokensValidity (payments) = {
192+ func handler1 (accum,payment) = (accum :+ payment.assetId)
193+
194+ let ids = {
195+ let $l = payments
196+ let $s = size($l)
197+ let $acc0 = nil
198+ func $f4_1 ($a,$i) = if (($i >= $s))
199+ then $a
200+ else handler1($a, $l[$i])
201+
202+ func $f4_2 ($a,$i) = if (($i >= $s))
203+ then $a
204+ else throw("List size exceeds 10")
205+
206+ $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)
207+ }
208+ if ((ids == ids))
209+ then {
210+ func handler2 (accum,assetId) = if ((indexOf(ids, assetId) != unit))
211+ then (accum + 1)
212+ else throw(("asset not attached: " + getAssetString(assetId)))
213+
214+ let checks = {
215+ let $l = assetIds
216+ let $s = size($l)
217+ let $acc0 = 0
218+ func $f5_1 ($a,$i) = if (($i >= $s))
219+ then $a
220+ else handler2($a, $l[$i])
221+
222+ func $f5_2 ($a,$i) = if (($i >= $s))
223+ then $a
224+ else throw("List size exceeds 10")
225+
226+ $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)
227+ }
228+ if ((checks == checks))
229+ then true
230+ else throw("Strict value is not equal to itself.")
231+ }
232+ else throw("Strict value is not equal to itself.")
233+ }
234+
235+
236+func handlePoolTokensAdd (PIssued,payments,userAddress,needChange) = {
237+ func getTokenPaymentAmount (tokenId) = {
238+ func handler (accum,payment) = if ((payment.assetId == tokenId))
239+ then payment.amount
240+ else accum
241+
242+ let $l = payments
243+ let $s = size($l)
244+ let $acc0 = 0
245+ func $f4_1 ($a,$i) = if (($i >= $s))
246+ then $a
247+ else handler($a, $l[$i])
248+
249+ func $f4_2 ($a,$i) = if (($i >= $s))
250+ then $a
251+ else throw("List size exceeds 10")
252+
253+ $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)
254+ }
255+
256+ func handleTokenChange (accum,tokenId) = {
257+ let Bk = tryGetInteger((("global_" + getAssetString(tokenId)) + "_balance"))
258+ let PSupply = tryGetInteger("global_poolToken_amount")
259+ let tokenDecimals = tryGetInteger((("static_" + getAssetString(tokenId)) + "_scale"))
260+ let Dk = fraction((fraction((PSupply + PIssued), tokenDecimals, PSupply, CEILING) - tokenDecimals), Bk, tokenDecimals, CEILING)
261+ let paymentAmount = getTokenPaymentAmount(tokenId)
262+ let toReturn = ((if ((paymentAmount != 0))
263+ then paymentAmount
264+ else 0) - Dk)
265+ let t = if (if (needChange)
266+ then (toReturn > 0)
267+ else false)
268+ then [ScriptTransfer(userAddress, toReturn, tokenId)]
269+ else nil
270+ ((accum ++ t) :+ IntegerEntry((("global_" + getAssetString(tokenId)) + "_balance"), (Bk + Dk)))
271+ }
272+
273+ let $l = assetIds
274+ let $s = size($l)
275+ let $acc0 = nil
276+ func $f4_1 ($a,$i) = if (($i >= $s))
277+ then $a
278+ else handleTokenChange($a, $l[$i])
279+
280+ func $f4_2 ($a,$i) = if (($i >= $s))
281+ then $a
282+ else throw("List size exceeds 10")
283+
284+ $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)
285+ }
286+
287+
288+func handlePoolTokensRedeem (PRedeemed,userAddress) = {
289+ func handleTokenRedeem (accum,tokenId) = {
290+ let Bk = tryGetInteger((("global_" + getAssetString(tokenId)) + "_balance"))
291+ let PSupply = tryGetInteger("global_poolToken_amount")
292+ let tokenDecimals = tryGetInteger((("static_" + getAssetString(tokenId)) + "_scale"))
293+ let amount = toInt(fraction((toBigInt(Scale8) - fraction(toBigInt((PSupply - PRedeemed)), toBigInt(Scale8), toBigInt(PSupply), CEILING)), toBigInt(Bk), toBigInt(Scale8), DOWN))
294+ ((accum :+ IntegerEntry((("global_" + getAssetString(tokenId)) + "_balance"), (Bk - amount))) :+ ScriptTransfer(userAddress, amount, tokenId))
295+ }
296+
297+ let $l = assetIds
298+ let $s = size($l)
299+ let $acc0 = nil
300+ func $f4_1 ($a,$i) = if (($i >= $s))
301+ then $a
302+ else handleTokenRedeem($a, $l[$i])
303+
304+ func $f4_2 ($a,$i) = if (($i >= $s))
305+ then $a
306+ else throw("List size exceeds 10")
307+
308+ $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)
309+ }
310+
311+
312+func calculateOutAmount (AmountIn,assetIn,assetOut,BalanceIn,BalanceOut) = {
313+ let IndexIn = value(indexOf(assetIds, assetIn))
314+ let IndexOut = value(indexOf(assetIds, assetOut))
315+ if ((IndexIn == IndexOut))
316+ then throw("wrong tokens pair")
317+ else fraction(BalanceOut, ((Scale8 * Scale8) - toInt(pow(fraction(toBigInt(BalanceIn), toBigInt((Scale8 * Scale8)), toBigInt((BalanceIn + AmountIn)), HALFUP), 16, toBigInt(fraction(AssetsWeights[IndexIn], 10000, AssetsWeights[IndexOut])), 4, 16, CEILING))), (Scale8 * Scale8), DOWN)
318+ }
319+
320+
321+func getTokenBalance (assetId) = match assetId {
322+ case t: ByteVector =>
323+ assetBalance(this, t)
324+ case _ =>
325+ wavesBalance(this).available
326+}
327+
328+
329+func calculateCurrentAssetInterest (assetId,assetIdStr,aBalance,tokenEarningsLastCheck) = {
330+ let totalStaked = tryGetInteger("global_indexStaked")
331+ let tokenBalanceLastCheck = tokenEarningsLastCheck
332+ let currentBalanceDelta = (getTokenBalance(assetId) - aBalance)
333+ let currentTokenEarnings = if ((currentBalanceDelta > tokenBalanceLastCheck))
334+ then currentBalanceDelta
335+ else tokenBalanceLastCheck
336+ let newEarnings = (currentTokenEarnings - tokenBalanceLastCheck)
337+ let newInterest = if ((totalStaked == 0))
338+ then 0
339+ else fraction(newEarnings, Scale8, totalStaked)
340+ let lastCheckInterest = tryGetInteger((("global_lastCheck_" + assetIdStr) + "_interest"))
341+ (lastCheckInterest + newInterest)
342+ }
343+
344+
345+func claimResult (address) = {
346+ let addressStr = toString(address)
347+ let puzzleAmount = tryGetInteger((addressStr + "_indexStaked"))
348+ func handler (accum,assetId) = {
349+ let assetIdStr = getAssetString(assetId)
350+ let aBalance = tryGetInteger((("global_" + getAssetString(assetId)) + "_balance"))
351+ let tokenEarningsLastCheck = tryGetInteger((("global_lastCheck_" + assetIdStr) + "_earnings"))
352+ let currentTokenInterest = calculateCurrentAssetInterest(assetId, assetIdStr, aBalance, tokenEarningsLastCheck)
353+ let currentTokenEarnings = max([tokenEarningsLastCheck, (getTokenBalance(assetId) - aBalance)])
354+ let rewardAmount = fraction(puzzleAmount, (currentTokenInterest - tryGetInteger((((addressStr + "_lastCheck_") + assetIdStr) + "_interest"))), Scale8)
355+ let transfer = if ((rewardAmount == 0))
356+ then nil
357+ else [ScriptTransfer(address, rewardAmount, assetId)]
358+ $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 + calculateUsdnValue(assetId, rewardAmount, aBalance)))
359+ }
360+
361+ let accum = {
362+ let $l = earnedAssets
363+ let $s = size($l)
364+ let $acc0 = $Tuple2(nil, 0)
365+ func $f4_1 ($a,$i) = if (($i >= $s))
366+ then $a
367+ else handler($a, $l[$i])
368+
369+ func $f4_2 ($a,$i) = if (($i >= $s))
370+ then $a
371+ else throw("List size exceeds 10")
372+
373+ $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)
374+ }
375+ (accum._1 ++ [IntegerEntry((addressStr + "_claimedRewardValue"), (tryGetInteger((addressStr + "_claimedRewardValue")) + accum._2)), IntegerEntry((addressStr + "_lastClaim"), lastBlock.timestamp)])
376+ }
377+
378+
379+func indexStakeResult (addressStr,amount) = {
380+ let li = claimResult(addressFromStringValue(addressStr))
381+ (li ++ [IntegerEntry((addressStr + "_indexStaked"), (tryGetInteger((addressStr + "_indexStaked")) + amount)), IntegerEntry("global_indexStaked", (tryGetInteger("global_indexStaked") + amount))])
382+ }
383+
384+
385+func sum (accum,n) = (accum + parseIntValue(n))
386+
387+
23388 @Callable(i)
24-func commit () = {
25- let finishBlock = (height + randomDelay)
26- $Tuple2([IntegerEntry(keyCommit(toString(i.caller)), finishBlock)], finishBlock)
389+func preInit (assetIdsStr,assetWeightsStr,baseTokenIdStr,poolDomain) = if ((this != i.caller))
390+ then throw("admin only")
391+ else if ((size(poolDomain) > 13))
392+ then throw("too large pool domain")
393+ else {
394+ let assetIdsStrLi = split(assetIdsStr, ",")
395+ let assetIdsLi = {
396+ let $l = assetIdsStrLi
397+ let $s = size($l)
398+ let $acc0 = nil
399+ func $f4_1 ($a,$i) = if (($i >= $s))
400+ then $a
401+ else addAssetBytesToList($a, $l[$i])
402+
403+ func $f4_2 ($a,$i) = if (($i >= $s))
404+ then $a
405+ else throw("List size exceeds 10")
406+
407+ $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)
408+ }
409+ let assetWeightsStrLi = split(assetWeightsStr, ",")
410+ let assetWeightsSum = {
411+ let $l = assetWeightsStrLi
412+ let $s = size($l)
413+ let $acc0 = 0
414+ func $f5_1 ($a,$i) = if (($i >= $s))
415+ then $a
416+ else sum($a, $l[$i])
417+
418+ func $f5_2 ($a,$i) = if (($i >= $s))
419+ then $a
420+ else throw("List size exceeds 10")
421+
422+ $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)
423+ }
424+ func addTokenDataEntries (accum,assetNum) = if ((assetNum >= size(assetIdsLi)))
425+ then accum
426+ else {
427+ let assetDecimals = match assetIdsLi[assetNum] {
428+ case x: ByteVector =>
429+ value(assetInfo(x)).decimals
430+ case _ =>
431+ 8
432+ }
433+ (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])))])
434+ }
435+
436+ if ((assetWeightsSum != 100))
437+ then throw("sum of token weights must be equal to 100")
438+ else ({
439+ let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
440+ let $s = size($l)
441+ let $acc0 = nil
442+ func $f6_1 ($a,$i) = if (($i >= $s))
443+ then $a
444+ else addTokenDataEntries($a, $l[$i])
445+
446+ func $f6_2 ($a,$i) = if (($i >= $s))
447+ then $a
448+ else throw("List size exceeds 10")
449+
450+ $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)
451+ } ++ [StringEntry("static_tokenIds", assetIdsStr), StringEntry("static_tokenWeights", assetWeightsStr), IntegerEntry("static_tokensAmount", size(assetIdsLi)), StringEntry("static_poolDomain", poolDomain), StringEntry("static_baseTokenId", baseTokenIdStr), IntegerEntry("static_fee", 200)])
452+ }
453+
454+
455+
456+@Callable(i)
457+func deInit () = if ((i.caller != this))
458+ then throw("admin only")
459+ else [IntegerEntry("global_wasInited", 0)]
460+
461+
462+
463+@Callable(i)
464+func init () = {
465+ func prepareList () = {
466+ func handler (accum,n) = (accum :+ IntegerEntry((("global_" + getAssetString(n.assetId)) + "_balance"), n.amount))
467+
468+ let $l = i.payments
469+ let $s = size($l)
470+ let $acc0 = nil
471+ func $f4_1 ($a,$i) = if (($i >= $s))
472+ then $a
473+ else handler($a, $l[$i])
474+
475+ func $f4_2 ($a,$i) = if (($i >= $s))
476+ then $a
477+ else throw("List size exceeds 10")
478+
479+ $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)
480+ }
481+
482+ func calculatePoolTokensAmount (payments) = {
483+ func handler (accum,pmt) = {
484+ let assetId = pmt.assetId
485+ func handler2 (accum,n) = if ((n == assetId))
486+ then value(indexOf(assetIds, n))
487+ else accum
488+
489+ let Token = {
490+ let $l = assetIds
491+ let $s = size($l)
492+ let $acc0 = 1
493+ func $f4_1 ($a,$i) = if (($i >= $s))
494+ then $a
495+ else handler2($a, $l[$i])
496+
497+ func $f4_2 ($a,$i) = if (($i >= $s))
498+ then $a
499+ else throw("List size exceeds 10")
500+
501+ $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)
502+ }
503+ fraction(accum, pow(pmt.amount, Decimals[Token], AssetsWeights[Token], AssetsWeightsDecimals, 8, FLOOR), Scale8)
504+ }
505+
506+ let $l = payments
507+ let $s = size($l)
508+ let $acc0 = PoolTokenScale
509+ func $f4_1 ($a,$i) = if (($i >= $s))
510+ then $a
511+ else handler($a, $l[$i])
512+
513+ func $f4_2 ($a,$i) = if (($i >= $s))
514+ then $a
515+ else throw("List size exceeds 10")
516+
517+ $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)
518+ }
519+
520+ if ((tryGetInteger("global_wasInited") > 0))
521+ then throw("pool already inited")
522+ else {
523+ let initialPoolTokens = calculatePoolTokensAmount(i.payments)
524+ if ((initialPoolTokens == 0))
525+ then throw("you need a bigger tokens amount to launch the pool")
526+ else {
527+ let poolTokenIssue = Issue(("PZ " + tryGetString("static_poolDomain")), "Puzzle Swap: pool index token", initialPoolTokens, PoolTokenDecimals, true, unit, 0)
528+ let poolTokenId = calculateAssetId(poolTokenIssue)
529+ (prepareList() ++ [poolTokenIssue, IntegerEntry("global_poolToken_amount", initialPoolTokens), IntegerEntry("global_wasInited", 1), BinaryEntry("global_poolToken_id", poolTokenId), StringEntry("static_poolToken_idStr", getAssetString(poolTokenId)), ScriptTransfer(i.caller, initialPoolTokens, poolTokenId)])
530+ }
531+ }
27532 }
28533
29534
30535
31536 @Callable(i)
32-func reveal (maxValue) = {
33- let commKey = keyCommit(toString(i.caller))
34- let finishBlock = valueOrErrorMessage(getInteger(commKey), "You have to commit() first!")
35- if ((finishBlock > height))
36- then throw("Random number is not ready yet")
537+func generateIndex (needChange) = if ((size(i.payments) != T))
538+ then throw(("you need to attach all pool tokens. amount of pool tokens: " + toString(T)))
539+ else if (!(checkTokensValidity(i.payments)))
540+ then throw("wrong assets attached")
37541 else {
38- let rand = getRandomNumber(maxValue, finishBlock)
39- $Tuple2([DeleteEntry(commKey)], rand)
542+ let PIssued = getMinPIssued(i.payments)
543+ let reissue = Reissue(getBinaryValue("global_poolToken_id"), PIssued, true)
544+ let result = handlePoolTokensAdd(PIssued, i.payments, i.originCaller, needChange)
545+ $Tuple2((result ++ [ScriptTransfer(i.caller, PIssued, tryGetBinary("global_poolToken_id")), reissue, IntegerEntry("global_poolToken_amount", (tryGetInteger("global_poolToken_amount") + PIssued))]), PIssued)
546+ }
547+
548+
549+
550+@Callable(i)
551+func stakeIndex () = {
552+ let addressStr = toString(i.originCaller)
553+ let pmt = i.payments[0]
554+ if ((value(pmt.assetId) != tryGetBinary("global_poolToken_id")))
555+ then throw("wrong asset attached")
556+ else indexStakeResult(addressStr, pmt.amount)
557+ }
558+
559+
560+
561+@Callable(i)
562+func unstakeIndex (puzzleAmount) = {
563+ let addressStr = toString(i.originCaller)
564+ let puzzleAvailable = tryGetInteger((addressStr + "_indexStaked"))
565+ if ((puzzleAmount > puzzleAvailable))
566+ then throw("you don't have index tokens available")
567+ else (claimResult(i.originCaller) ++ [IntegerEntry((addressStr + "_indexStaked"), (puzzleAvailable - puzzleAmount)), IntegerEntry("global_indexStaked", (tryGetInteger("global_indexStaked") - puzzleAmount)), ScriptTransfer(i.caller, puzzleAmount, getBinaryValue("global_poolToken_id"))])
568+ }
569+
570+
571+
572+@Callable(i)
573+func claimIndexRewards () = claimResult(i.caller)
574+
575+
576+
577+@Callable(i)
578+func redeemIndex (sendToOrigin) = {
579+ let pmt = i.payments[0]
580+ if ((pmt.assetId != tryGetBinary("global_poolToken_id")))
581+ then throw("please attach pool share token")
582+ else {
583+ let PRedeemed = pmt.amount
584+ let result = handlePoolTokensRedeem(PRedeemed, if (sendToOrigin)
585+ then i.originCaller
586+ else i.caller)
587+ (result ++ [Burn(tryGetBinary("global_poolToken_id"), PRedeemed), IntegerEntry("global_poolToken_amount", (tryGetInteger("global_poolToken_amount") - PRedeemed))])
40588 }
41589 }
42590
591+
592+
593+@Callable(i)
594+func swap (assetOut,minimum) = {
595+ let pmt = value(i.payments[0])
596+ let AmountIn = value(i.payments[0].amount)
597+ let AssetIn = pmt.assetId
598+ let AssetOut = getAssetBytes(assetOut)
599+ let AssetInBalance = tryGetInteger((("global_" + getAssetString(AssetIn)) + "_balance"))
600+ let AssetOutBalance = tryGetInteger((("global_" + assetOut) + "_balance"))
601+ let AmountOut = calculateOutAmount(AmountIn, AssetIn, AssetOut, AssetInBalance, AssetOutBalance)
602+ let feeAmount = fraction(AmountOut, Fee, FeeScale)
603+ let cleanAmountOut = (AmountOut - feeAmount)
604+ if ((minimum > cleanAmountOut))
605+ then throw(("amount to recieve is lower than given one: " + toString(cleanAmountOut)))
606+ else if ((0 > (AssetOutBalance - AmountOut)))
607+ then throw("contract is out of reserves")
608+ else {
609+ let newBalanceIn = (AssetInBalance + AmountIn)
610+ let newBalanceOut = (AssetOutBalance - AmountOut)
611+ let usdnAssetId = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
612+ if ((usdnAssetId == AssetOut))
613+ then {
614+ let usdnFeeAmount = feeAmount
615+ let protocolUsdnFee = fraction(usdnFeeAmount, 4, 10)
616+ let stakingTopUp = reentrantInvoke(Address(base58'3PFTbywqxtFfukX3HyT881g4iW5K4QL3FAS'), "topUpReward", nil, [AttachedPayment(usdnAssetId, protocolUsdnFee)])
617+ if ((stakingTopUp == stakingTopUp))
618+ then $Tuple2([IntegerEntry((("global_" + assetOut) + "_balance"), newBalanceOut), IntegerEntry((("global_" + getAssetString(AssetIn)) + "_balance"), newBalanceIn), ScriptTransfer(i.caller, cleanAmountOut, AssetOut), IntegerEntry("global_volume", (tryGetInteger("global_volume") + calculateUsdnValue(AssetIn, AmountIn, AssetInBalance)))], cleanAmountOut)
619+ else throw("Strict value is not equal to itself.")
620+ }
621+ else {
622+ let usdnBalance = if ((AssetIn == usdnAssetId))
623+ then newBalanceIn
624+ else tryGetInteger((("global_" + getAssetString(usdnAssetId)) + "_balance"))
625+ let usdnFeeAmount = calculateOutAmount(feeAmount, AssetOut, usdnAssetId, newBalanceOut, usdnBalance)
626+ let protocolUsdnFee = fraction(usdnFeeAmount, 4, 10)
627+ let stakingTopUp = reentrantInvoke(Address(base58'3PFTbywqxtFfukX3HyT881g4iW5K4QL3FAS'), "topUpReward", nil, [AttachedPayment(usdnAssetId, protocolUsdnFee)])
628+ if ((stakingTopUp == stakingTopUp))
629+ then {
630+ let usdnBalanceChangeEntry = IntegerEntry((("global_" + toBase58String(usdnAssetId)) + "_balance"), (usdnBalance - usdnFeeAmount))
631+ let balanceChanges = if ((AssetIn == usdnAssetId))
632+ then [usdnBalanceChangeEntry]
633+ else [usdnBalanceChangeEntry, IntegerEntry((("global_" + getAssetString(AssetIn)) + "_balance"), newBalanceIn)]
634+ $Tuple2(([IntegerEntry((("global_" + assetOut) + "_balance"), (newBalanceOut + feeAmount)), ScriptTransfer(i.caller, cleanAmountOut, AssetOut), IntegerEntry("global_volume", (tryGetInteger("global_volume") + calculateUsdnValue(AssetIn, AmountIn, AssetInBalance)))] ++ balanceChanges), cleanAmountOut)
635+ }
636+ else throw("Strict value is not equal to itself.")
637+ }
638+ }
639+ }
640+
641+
642+
643+@Callable(i)
644+func flashLoan (assetIdStr,amount,actionsStr) = {
645+ let actions = split(actionsStr, "|")
646+ nil
647+ }
648+
649+
650+@Verifier(tx)
651+func verify () = if (isShutdown())
652+ then false
653+ else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
43654

github/deemru/w8io/169f3d6 
75.73 ms