tx · 6qhLkDFqMWisAhKUqnDMTwSTqtb6G7RCXdQuQytgVba5

3MxWgDbE9EmjQj8b3LfFwa91FZizptyeQXS:  -0.07000000 Waves

2022.11.25 00:29 [2331715] smart account 3MxWgDbE9EmjQj8b3LfFwa91FZizptyeQXS > SELF 0.00000000 Waves

{ "type": 13, "id": "6qhLkDFqMWisAhKUqnDMTwSTqtb6G7RCXdQuQytgVba5", "fee": 7000000, "feeAssetId": null, "timestamp": 1669325463036, "version": 2, "chainId": 84, "sender": "3MxWgDbE9EmjQj8b3LfFwa91FZizptyeQXS", "senderPublicKey": "C7xgcYqQ8qV8rmvzAjhQWq4cz82F6VJfXMNygvrTXsfW", "proofs": [ "hLuvwKEkRFatUpCbUhm9sSXm8BvLHZTHpJLqqaZvB5iwtC1yj1HL6SEMGtDEWzcnEm4RJnXHEW4RB8GzSrrUf7o", "4zaL4tR4wok5eYSxwZ72zftZN6YrnbhXFaQ6P41kwqK9PWSU9NsGJjc3fTAoAACj8wp5FoHx4XsUQETcVXSFTzuo" ], "script": "base64:BgJmCAISBAoCEQESBQoDCAEBEgUKAwEEARIECgIRCBIDCgEBEgYKBAgIAQgSBAoCCAESAwoBERIECgIRARIFCgMBCAgSBAoCCAESBQoDCAEBEgASABIECgIRBBIECgIBARIAEgASABIAXAAJUFJFQ0lTSU9OAMCEPQAFTUFYX0EAwIQ9AAxNQVhfQV9DSEFOR0UACgAIREVDSU1BTFMABgANTUlOX1JBTVBfVElNRQkAaQIAgKMFADwAB3ZlcnNpb24CBTMuMC4wAAhrVmVyc2lvbgIHdmVyc2lvbgAHa0Fzc2V0cwIJYXNzZXRfaWRzAA1rQXNzZXRCYWxhbmNlAghfYmFsYW5jZQAHa0FjdGl2ZQIGYWN0aXZlAAtrQWN0aXZlR2xvYgIUYWN0aXZlX2FsbF9jb250cmFjdHMABmtDYXVzZQIOc2h1dGRvd25fY2F1c2UADWtTaGFyZUFzc2V0SWQCDnNoYXJlX2Fzc2V0X2lkABFrU2hhcmVB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50BQ1zaWduZWRCeUFkbWluBwYFE211bHRpU2lnbmVkQnlBZG1pbnMFE211bHRpU2lnbmVkQnlBZG1pbnMYfEx1", "height": 2331715, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9aXugkWGEkPRK6SpH4LTpcAECJJSqBsJv4o6724riXSt Next: 4DFiukmYwHTe1G8UzAn8FbnajE8LfPhkoXJyenxpdBJP Diff:
OldNewDifferences
12031203
12041204
12051205 @Callable(msg)
1206-func withdrawOneCoinWithUnlock (tokenOut,minAmount,unlockAmount) = valueOrElse(isActive(), if ((0 >= unlockAmount))
1206+func withdrawOneCoinWithUnlock (tokenOut,minAmount,unlockAmount) = valueOrElse(isActive(), if ((0 > unlockAmount))
12071207 then throw("Unlock amount must be positive")
12081208 else {
12091209 let unlock = invoke(farmingAddress, "withdrawShareTokensFromPool", [msg.caller.bytes, toString(this), unlockAmount], nil)
12331233 let balances = _xp()
12341234 let D0 = getDMem(balances, amp)
12351235 func calcNewBalances (acc,balance) = {
1236- let $t02951629542 = acc
1237- let newBalances = $t02951629542._1
1238- let i = $t02951629542._2
1236+ let $t02951529541 = acc
1237+ let newBalances = $t02951529541._1
1238+ let i = $t02951529541._2
12391239 let newBalance = (balance + (if (deposit)
12401240 then amounts[i]
12411241 else -(amounts[i])))
13151315 else {
13161316 let balances = _xp()
13171317 func takeExtraFunds (acc,assetId) = {
1318- let $t03188431902 = acc
1319- let sum = $t03188431902._1
1320- let i = $t03188431902._2
1318+ let $t03188331901 = acc
1319+ let sum = $t03188331901._1
1320+ let i = $t03188331901._2
13211321 let tokenB58 = fromBase58String(assetId)
13221322 let rBalance = (assetBalance(this, tokenB58) + stakedAmount(tokenB58))
13231323 let enrollAmount = (rBalance - balances[i])
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let PRECISION = 1000000
55
66 let MAX_A = 1000000
77
88 let MAX_A_CHANGE = 10
99
1010 let DECIMALS = 6
1111
1212 let MIN_RAMP_TIME = (86400 / 60)
1313
1414 let version = "3.0.0"
1515
1616 let kVersion = "version"
1717
1818 let kAssets = "asset_ids"
1919
2020 let kAssetBalance = "_balance"
2121
2222 let kActive = "active"
2323
2424 let kActiveGlob = "active_all_contracts"
2525
2626 let kCause = "shutdown_cause"
2727
2828 let kShareAssetId = "share_asset_id"
2929
3030 let kShareAssetSupply = "share_asset_supply"
3131
3232 let kFee = "commission"
3333
3434 let kDAppThresholdCoef = "dAppThresholdCoef"
3535
3636 let kUSDNAddress = "staking_usdnnsbt_address"
3737
3838 let kDiscounts = "discounts"
3939
4040 let kDiscountValues = "discount_values"
4141
4242 let kUserSwopInGov = "_SWOP_amount"
4343
4444 let kUserGSwopInGov = "_GSwop_amount"
4545
4646 let kAdminPubKey1 = "admin_pub_1"
4747
4848 let kAdminPubKey2 = "admin_pub_2"
4949
5050 let kAdminPubKey3 = "admin_pub_3"
5151
5252 let kAdminInvokePubKey = "admin_invoke_pub"
5353
5454 let kMoneyBoxAddress = "money_box_address"
5555
5656 let kGovAddress = "governance_address"
5757
5858 let kVotingAddress = "voting_address"
5959
6060 let kFarmingAddress = "farming_address"
6161
6262 let kLPFarmingAddress = "lp_farming"
6363
6464 let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
6565
6666 func getBase58FromOracle (key) = match getString(oracle, key) {
6767 case string: String =>
6868 fromBase58String(string)
6969 case nothing =>
7070 throw((key + "is empty"))
7171 }
7272
7373
7474 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
7575
7676 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
7777
7878 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
7979
8080 let adminPubKeyInvoke = getBase58FromOracle(kAdminInvokePubKey)
8181
8282 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
8383
8484 let govAddress = Address(getBase58FromOracle(kGovAddress))
8585
8686 let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
8787
8888 let votingAddress = Address(getBase58FromOracle(kVotingAddress))
8989
9090 let farmingAddress = Address(getBase58FromOracle(kFarmingAddress))
9191
9292 let lpFarmingAddress = Address(getBase58FromOracle(kLPFarmingAddress))
9393
9494 let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
9595
9696 let stakingAssets = [toBase58String(USDN)]
9797
9898 let active = getBooleanValue(this, kActive)
9999
100100 let activeGlob = valueOrElse(getBoolean(oracle, kActiveGlob), true)
101101
102102 let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
103103
104104 let shareSupply = getIntegerValue(this, kShareAssetSupply)
105105
106106 let feeScale6 = 1000000
107107
108108 let fee = getIntegerValue(this, kFee)
109109
110110 let feeGovernance = fraction(40, feeScale6, 100)
111111
112112 let initial_A = getIntegerValue(this, "initial_A")
113113
114114 let future_A = getIntegerValue(this, "future_A")
115115
116116 let initial_A_time = valueOrElse(getInteger(this, "initial_A_time"), 0)
117117
118118 let future_A_time = valueOrElse(getInteger(this, "future_A_time"), 0)
119119
120120 let assetIds = split(getStringValue(this, kAssets), ",")
121121
122122 let nCoins = size(assetIds)
123123
124124 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
125125
126126
127127 func throwIsActive () = throw("DApp is already active")
128128
129129
130130 func isActive () = if (if (active)
131131 then activeGlob
132132 else false)
133133 then unit
134134 else throw("DApp is inactive at this moment")
135135
136136
137137 func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
138138 then unit
139139 else throw("Only admin can call this function")
140140
141141
142142 func isSelfCall (i) = if ((this == i.caller))
143143 then unit
144144 else throw("Only contract itself can call this function")
145145
146146
147147 let big2 = toBigInt(2)
148148
149149 let iter10 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
150150
151151 let iter15 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
152152
153153 let iter16 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
154154
155155 let blockTimestamp = height
156156
157157 func assert (a) = if (a)
158158 then false
159159 else true
160160
161161
162162 func calculateFeeDiscount (userAddr) = {
163163 let user = match userAddr {
164164 case u: Address =>
165165 toString(u)
166166 case u: String =>
167167 u
168168 case _ =>
169169 throw("Unknow type of user Addr")
170170 }
171171 let swopAmount = valueOrElse(getInteger(govAddress, (user + kUserGSwopInGov)), 0)
172172 let gSwopAmount = valueOrElse(getInteger(govAddress, (user + kUserGSwopInGov)), swopAmount)
173173 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
174174 let discounts = split(getStringValue(oracle, kDiscounts), ",")
175175 if (if ((gSwopAmount >= parseIntValue(discountValues[0])))
176176 then (parseIntValue(discountValues[1]) > gSwopAmount)
177177 else false)
178178 then (feeScale6 - parseIntValue(discounts[0]))
179179 else if (if ((gSwopAmount >= parseIntValue(discountValues[1])))
180180 then (parseIntValue(discountValues[2]) > gSwopAmount)
181181 else false)
182182 then (feeScale6 - parseIntValue(discounts[1]))
183183 else if (if ((gSwopAmount >= parseIntValue(discountValues[2])))
184184 then (parseIntValue(discountValues[3]) > gSwopAmount)
185185 else false)
186186 then (feeScale6 - parseIntValue(discounts[2]))
187187 else if (if ((gSwopAmount >= parseIntValue(discountValues[3])))
188188 then (parseIntValue(discountValues[4]) > gSwopAmount)
189189 else false)
190190 then (feeScale6 - parseIntValue(discounts[3]))
191191 else if ((gSwopAmount >= parseIntValue(discountValues[4])))
192192 then (feeScale6 - parseIntValue(discounts[4]))
193193 else feeScale6
194194 }
195195
196196
197197 func _A () = {
198198 let t1 = future_A_time
199199 let A1 = future_A
200200 if ((t1 > blockTimestamp))
201201 then {
202202 let A0 = initial_A
203203 let t0 = initial_A_time
204204 if ((A1 > A0))
205205 then (A0 + (((A1 - A0) * (blockTimestamp - t0)) / (t1 - t0)))
206206 else (A0 - (((A0 - A1) * (blockTimestamp - t0)) / (t1 - t0)))
207207 }
208208 else A1
209209 }
210210
211211
212212 func _xp () = {
213213 func assetBalances (acc,assetId) = (acc :+ valueOrElse(getInteger(this, (assetId + kAssetBalance)), 0))
214214
215215 let $l = assetIds
216216 let $s = size($l)
217217 let $acc0 = nil
218218 func $f0_1 ($a,$i) = if (($i >= $s))
219219 then $a
220220 else assetBalances($a, $l[$i])
221221
222222 func $f0_2 ($a,$i) = if (($i >= $s))
223223 then $a
224224 else throw("List size exceeds 10")
225225
226226 $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)
227227 }
228228
229229
230230 func _xp_mem (xp) = xp
231231
232232
233233 func sumList (acc,element) = (acc + element)
234234
235235
236236 func get_D (xp,amp) = {
237237 let @ = invoke(this, "D", [xp, amp], nil)
238238 if ($isInstanceOf(@, "Int"))
239239 then @
240240 else throw(($getType(@) + " couldn't be cast to Int"))
241241 }
242242
243243
244244 func get_D_internal (xp,amp) = {
245245 let S = {
246246 let $l = xp
247247 let $s = size($l)
248248 let $acc0 = 0
249249 func $f0_1 ($a,$i) = if (($i >= $s))
250250 then $a
251251 else sumList($a, $l[$i])
252252
253253 func $f0_2 ($a,$i) = if (($i >= $s))
254254 then $a
255255 else throw("List size exceeds 10")
256256
257257 $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)
258258 }
259259 if ((S == 0))
260260 then 0
261261 else {
262262 let Ann = (amp * nCoins)
263263 let AnnS = (toBigInt(Ann) * toBigInt(S))
264264 let Ann1 = toBigInt((Ann - 1))
265265 func Dproc (acc,i) = if ((acc._2 == true))
266266 then acc
267267 else {
268268 let Dprev = acc._1
269269 func D_PProc (D_P,i) = if ((nCoins > i))
270270 then ((D_P * Dprev) / (toBigInt(xp[i]) * toBigInt(nCoins)))
271271 else D_P
272272
273273 let D_P = {
274274 let $l = iter10
275275 let $s = size($l)
276276 let $acc0 = Dprev
277277 func $f1_1 ($a,$i) = if (($i >= $s))
278278 then $a
279279 else D_PProc($a, $l[$i])
280280
281281 func $f1_2 ($a,$i) = if (($i >= $s))
282282 then $a
283283 else throw("List size exceeds 10")
284284
285285 $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)
286286 }
287287 let D = fraction((AnnS + (toBigInt(nCoins) * D_P)), Dprev, ((Ann1 * Dprev) + (toBigInt((nCoins + 1)) * D_P)))
288288 if ((D > Dprev))
289289 then if ((1 >= toInt((D - Dprev))))
290290 then $Tuple2(D, true)
291291 else $Tuple2(D, false)
292292 else if ((1 >= toInt((Dprev - D))))
293293 then $Tuple2(D, true)
294294 else $Tuple2(D, false)
295295 }
296296
297297 let $t065826648 = {
298298 let $l = iter15
299299 let $s = size($l)
300300 let $acc0 = $Tuple2(toBigInt(S), false)
301301 func $f1_1 ($a,$i) = if (($i >= $s))
302302 then $a
303303 else Dproc($a, $l[$i])
304304
305305 func $f1_2 ($a,$i) = if (($i >= $s))
306306 then $a
307307 else throw("List size exceeds 15")
308308
309309 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($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), 11), 12), 13), 14), 15)
310310 }
311311 let D = $t065826648._1
312312 let finished = $t065826648._2
313313 if ((finished == false))
314314 then throw(("get_D() not finished with " + toString(D)))
315315 else toInt(D)
316316 }
317317 }
318318
319319
320320 func getDMem (xp,amp) = get_D(_xp_mem(xp), amp)
321321
322322
323323 func getY (in,out,x,xp_) = if (assert((in != out)))
324324 then throw("same coin")
325325 else if (assert(if ((out >= 0))
326326 then (in >= 0)
327327 else false))
328328 then throw("below zero")
329329 else if (assert(if ((nCoins > out))
330330 then (nCoins > in)
331331 else false))
332332 then throw("above N_COINS")
333333 else {
334334 let amp = _A()
335335 let D = get_D(xp_, amp)
336336 let Ann = (amp * nCoins)
337337 func S_c (acc,i) = {
338338 let $t072197236 = acc
339339 let S_ = $t072197236._1
340340 let c = $t072197236._2
341341 let x_ = if ((in == i))
342342 then x
343343 else xp_[i]
344344 if (if ((i != out))
345345 then (nCoins > i)
346346 else false)
347347 then $Tuple2((S_ + x_), fraction(c, toBigInt(D), toBigInt((x_ * nCoins))))
348348 else $Tuple2(S_, c)
349349 }
350350
351351 let $t074447499 = {
352352 let $l = iter10
353353 let $s = size($l)
354354 let $acc0 = $Tuple2(0, toBigInt(D))
355355 func $f0_1 ($a,$i) = if (($i >= $s))
356356 then $a
357357 else S_c($a, $l[$i])
358358
359359 func $f0_2 ($a,$i) = if (($i >= $s))
360360 then $a
361361 else throw("List size exceeds 10")
362362
363363 $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)
364364 }
365365 let S_ = $t074447499._1
366366 let c_ = $t074447499._2
367367 let c = fraction(c_, toBigInt(D), toBigInt((Ann * nCoins)))
368368 let bD = toBigInt(((S_ + (D / Ann)) - D))
369369 func y_proc (acc,_i) = if ((acc._2 == true))
370370 then acc
371371 else {
372372 let y_prev = acc._1
373373 let y = (((y_prev * y_prev) + c) / ((big2 * y_prev) + bD))
374374 if ((y > y_prev))
375375 then if ((1 >= toInt((y - y_prev))))
376376 then $Tuple2(y, true)
377377 else $Tuple2(y, false)
378378 else if ((1 >= toInt((y_prev - y))))
379379 then $Tuple2(y, true)
380380 else $Tuple2(y, false)
381381 }
382382
383383 let $t079818048 = {
384384 let $l = iter16
385385 let $s = size($l)
386386 let $acc0 = $Tuple2(toBigInt(D), false)
387387 func $f1_1 ($a,$i) = if (($i >= $s))
388388 then $a
389389 else y_proc($a, $l[$i])
390390
391391 func $f1_2 ($a,$i) = if (($i >= $s))
392392 then $a
393393 else throw("List size exceeds 16")
394394
395395 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($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), 11), 12), 13), 14), 15), 16)
396396 }
397397 let y = $t079818048._1
398398 let finished = $t079818048._2
399399 if ((finished == false))
400400 then throw(("getY() not finished with " + toString(y)))
401401 else toInt(y)
402402 }
403403
404404
405405 func get_y_D (A_,in,xp,D) = if (assert((in >= 0)))
406406 then throw("i below zero")
407407 else if (assert((nCoins > in)))
408408 then throw("i above N_COINS")
409409 else {
410410 let Ann = (A_ * nCoins)
411411 func S_c (acc,i) = {
412412 let $t084278444 = acc
413413 let S_ = $t084278444._1
414414 let c = $t084278444._2
415415 let x_ = if (if ((in != i))
416416 then (nCoins > i)
417417 else false)
418418 then xp[i]
419419 else 0
420420 if (if ((nCoins > i))
421421 then (in != i)
422422 else false)
423423 then $Tuple2((S_ + x_), fraction(c, toBigInt(D), toBigInt((x_ * nCoins))))
424424 else $Tuple2(S_, c)
425425 }
426426
427427 let $t086648719 = {
428428 let $l = iter10
429429 let $s = size($l)
430430 let $acc0 = $Tuple2(0, toBigInt(D))
431431 func $f0_1 ($a,$i) = if (($i >= $s))
432432 then $a
433433 else S_c($a, $l[$i])
434434
435435 func $f0_2 ($a,$i) = if (($i >= $s))
436436 then $a
437437 else throw("List size exceeds 10")
438438
439439 $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)
440440 }
441441 let S_ = $t086648719._1
442442 let c_ = $t086648719._2
443443 let c = fraction(c_, toBigInt(D), toBigInt((Ann * nCoins)))
444444 let bD = toBigInt(((S_ + (D / Ann)) - D))
445445 func y_D_proc (acc,i) = if ((acc._2 == true))
446446 then acc
447447 else {
448448 let y_prev = acc._1
449449 let y = (((y_prev * y_prev) + c) / ((big2 * y_prev) + bD))
450450 if ((y > y_prev))
451451 then if ((1 >= toInt((y - y_prev))))
452452 then $Tuple2(y, true)
453453 else $Tuple2(y, false)
454454 else if ((1 >= toInt((y_prev - y))))
455455 then $Tuple2(y, true)
456456 else $Tuple2(y, false)
457457 }
458458
459459 let $t092029271 = {
460460 let $l = iter16
461461 let $s = size($l)
462462 let $acc0 = $Tuple2(toBigInt(D), false)
463463 func $f1_1 ($a,$i) = if (($i >= $s))
464464 then $a
465465 else y_D_proc($a, $l[$i])
466466
467467 func $f1_2 ($a,$i) = if (($i >= $s))
468468 then $a
469469 else throw("List size exceeds 16")
470470
471471 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($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), 11), 12), 13), 14), 15), 16)
472472 }
473473 let y = $t092029271._1
474474 let finished = $t092029271._2
475475 if ((finished == false))
476476 then throw(("get_y_D() not finished with " + toString(y)))
477477 else toInt(y)
478478 }
479479
480480
481481 func _calcWithdrawOneCoin (xp,_token_amount,i,caller) = {
482482 let feeDiscount = calculateFeeDiscount(caller)
483483 let amp = _A()
484484 let _fee = ((fraction(fee, feeDiscount, feeScale6, CEILING) * nCoins) / (4 * (nCoins - 1)))
485485 let total_supply = shareSupply
486486 let D0 = get_D(xp, amp)
487487 let D1 = (D0 - fraction(_token_amount, D0, total_supply))
488488 let new_y = get_y_D(amp, i, xp, D1)
489489 let dy_0 = (xp[i] - new_y)
490490 func xp_reduced_proc (acc,xp_j) = {
491491 let $t099129941 = acc
492492 let xp_reduced = $t099129941._1
493493 let index = $t099129941._2
494494 let dx_expected = if ((index == i))
495495 then (fraction(xp_j, D1, D0) - new_y)
496496 else (xp_j - fraction(xp_j, D1, D0))
497497 $Tuple2((xp_reduced :+ (xp_j - fraction(_fee, dx_expected, feeScale6))), (index + 1))
498498 }
499499
500500 let $t01020310267 = {
501501 let $l = xp
502502 let $s = size($l)
503503 let $acc0 = $Tuple2(nil, 0)
504504 func $f0_1 ($a,$i) = if (($i >= $s))
505505 then $a
506506 else xp_reduced_proc($a, $l[$i])
507507
508508 func $f0_2 ($a,$i) = if (($i >= $s))
509509 then $a
510510 else throw("List size exceeds 10")
511511
512512 $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)
513513 }
514514 let xp_reduced = $t01020310267._1
515515 let index = $t01020310267._2
516516 let xp_reduced_i = xp_reduced[i]
517517 let dy = ((xp_reduced_i - get_y_D(amp, i, xp_reduced, D1)) - 1)
518518 $Tuple2(dy, (dy_0 - dy))
519519 }
520520
521521
522522 func getStrAssetId (assetId) = match assetId {
523523 case id: ByteVector =>
524524 toBase58String(id)
525525 case waves: Unit =>
526526 "WAVES"
527527 case _ =>
528528 throw("Match error")
529529 }
530530
531531
532532 func calcStakingFuncAndAddres (stake,assetId) = if (stake)
533533 then $Tuple2("lockNeutrino", stakingUSDNAddress)
534534 else $Tuple2("unlockNeutrino", stakingUSDNAddress)
535535
536536
537537 func calcStakingParams (stake,amount,assetId) = if (stake)
538538 then {
539539 let $t01083110897 = calcStakingFuncAndAddres(stake, assetId)
540540 let call = $t01083110897._1
541541 let stakingAddr = $t01083110897._2
542542 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
543543 }
544544 else {
545545 let $t01098311049 = calcStakingFuncAndAddres(stake, assetId)
546546 let call = $t01098311049._1
547547 let stakingAddr = $t01098311049._2
548548 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
549549 }
550550
551551
552552 func stake (amount,assetIdString) = if (containsElement(stakingAssets, assetIdString))
553553 then {
554554 let $t01123611338 = calcStakingParams(true, amount, fromBase58String(assetIdString))
555555 let call = $t01123611338._1
556556 let addr = $t01123611338._2
557557 let params = $t01123611338._3
558558 let payments = $t01123611338._4
559559 invoke(addr, call, params, payments)
560560 }
561561 else 0
562562
563563
564564 func unstake (amount,assetIdString) = if (containsElement(stakingAssets, assetIdString))
565565 then {
566566 let $t01152311626 = calcStakingParams(false, amount, fromBase58String(assetIdString))
567567 let call = $t01152311626._1
568568 let addr = $t01152311626._2
569569 let params = $t01152311626._3
570570 let payments = $t01152311626._4
571571 invoke(addr, call, params, payments)
572572 }
573573 else 0
574574
575575
576576 func stakedAmount (assetId) = {
577577 let stakedAmountCalculated = match assetId {
578578 case aId: ByteVector =>
579579 if ((aId == USDN))
580580 then getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
581581 else 0
582582 case _: Unit =>
583583 0
584584 case _ =>
585585 throw("Match error")
586586 }
587587 match stakedAmountCalculated {
588588 case i: Int =>
589589 i
590590 case _ =>
591591 0
592592 }
593593 }
594594
595595
596596 func checkSuspicious () = {
597597 let contractBalances = _xp()
598598 func checkBalance (acc,assetId) = {
599599 let $t01223712262 = acc
600600 let suspicious = $t01223712262._1
601601 let i = $t01223712262._2
602602 if (suspicious)
603603 then $Tuple2(suspicious, i)
604604 else {
605605 let aBalance = (assetBalance(this, fromBase58String(assetId)) + stakedAmount(fromBase58String(assetId)))
606606 if ((contractBalances[i] > aBalance))
607607 then $Tuple2(true, i)
608608 else $Tuple2(false, (i + 1))
609609 }
610610 }
611611
612612 let $l = assetIds
613613 let $s = size($l)
614614 let $acc0 = $Tuple2(false, 0)
615615 func $f0_1 ($a,$i) = if (($i >= $s))
616616 then $a
617617 else checkBalance($a, $l[$i])
618618
619619 func $f0_2 ($a,$i) = if (($i >= $s))
620620 then $a
621621 else throw("List size exceeds 10")
622622
623623 $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)
624624 }
625625
626626
627627 func suspendSuspicious (i) = suspend(("Suspicious state with asset: " + assetIds[i]))
628628
629629
630630 func returnPayments (caller,payments) = {
631631 func parsePayments (acc,payment) = (acc :+ ScriptTransfer(caller, payment.amount, payment.assetId))
632632
633633 let $l = payments
634634 let $s = size($l)
635635 let $acc0 = nil
636636 func $f0_1 ($a,$i) = if (($i >= $s))
637637 then $a
638638 else parsePayments($a, $l[$i])
639639
640640 func $f0_2 ($a,$i) = if (($i >= $s))
641641 then $a
642642 else throw("List size exceeds 10")
643643
644644 $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)
645645 }
646646
647647
648648 func checkDAppThreshold (newBalances) = {
649649 let dAppThresholdCoef = valueOrErrorMessage(getInteger(this, kDAppThresholdCoef), "No dAppThresholdCoef key")
650650 let thresholdScale = 10000
651651 let maxBalance = max(newBalances)
652652 let minBalance = min(newBalances)
653653 let ratio = fraction(maxBalance, thresholdScale, minBalance)
654654 if ((ratio > (dAppThresholdCoef * thresholdScale)))
655655 then throw("New balance in assets of the DApp is less than threshold")
656656 else false
657657 }
658658
659659
660660 func checkCoins (assetIds) = {
661661 let coins = split(assetIds, ",")
662662 if ((size(coins) > 10))
663663 then throw("To many coins, max coins size 10")
664664 else {
665665 func checkCoin (error,assetId) = {
666666 let asset = valueOrErrorMessage(fromBase58String(assetId), ("fromBase58String: " + assetId))
667667 let decimals = valueOrErrorMessage(assetInfo(asset), ("assetInfo: " + assetId)).decimals
668668 if ((decimals != DECIMALS))
669669 then throw("wrong decimals")
670670 else false
671671 }
672672
673673 let $l = coins
674674 let $s = size($l)
675675 let $acc0 = false
676676 func $f0_1 ($a,$i) = if (($i >= $s))
677677 then $a
678678 else checkCoin($a, $l[$i])
679679
680680 func $f0_2 ($a,$i) = if (($i >= $s))
681681 then $a
682682 else throw("List size exceeds 10")
683683
684684 $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)
685685 }
686686 }
687687
688688
689689 func calcWithdraw (msg,minAmounts,unlockAmount) = {
690690 let suspicious = checkSuspicious()
691691 if (suspicious._1)
692692 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, msg.payments))
693693 else {
694694 let pmtAmount = if ((size(msg.payments) > 0))
695695 then if ((size(msg.payments) != 1))
696696 then throw("size(payments) != 1")
697697 else {
698698 let pmtAssetId = msg.payments[0].assetId
699699 if ((shareAssetId != pmtAssetId))
700700 then throw("unknown payment token")
701701 else msg.payments[0].amount
702702 }
703703 else 0
704704 let withdrawAmount = (pmtAmount + unlockAmount)
705705 func calcScriptActions (acc,balance) = {
706706 let $t01467814706 = acc
707707 let scriptActions = $t01467814706._1
708708 let i = $t01467814706._2
709709 let wAmount = fraction(balance, withdrawAmount, shareSupply)
710710 if (assert((wAmount >= minAmounts[i])))
711711 then throw("Withdrawal resulted in fewer coins than expected")
712712 else {
713713 let us = unstake(wAmount, assetIds[i])
714714 if ((us == us))
715715 then $Tuple2((scriptActions ++ [IntegerEntry((assetIds[i] + kAssetBalance), (balance - wAmount)), ScriptTransfer(msg.caller, wAmount, fromBase58String(assetIds[i]))]), (i + 1))
716716 else throw("Strict value is not equal to itself.")
717717 }
718718 }
719719
720720 let $t01519515263 = {
721721 let $l = _xp()
722722 let $s = size($l)
723723 let $acc0 = $Tuple2(nil, 0)
724724 func $f0_1 ($a,$i) = if (($i >= $s))
725725 then $a
726726 else calcScriptActions($a, $l[$i])
727727
728728 func $f0_2 ($a,$i) = if (($i >= $s))
729729 then $a
730730 else throw("List size exceeds 10")
731731
732732 $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)
733733 }
734734 let scriptActions = $t01519515263._1
735735 let i = $t01519515263._2
736736 (scriptActions ++ [Burn(shareAssetId, withdrawAmount), IntegerEntry(kShareAssetSupply, (shareSupply - withdrawAmount))])
737737 }
738738 }
739739
740740
741741 func calcWithdrawOneCoinEntries (msg,tokenOut,minAmount,unlockAmount) = {
742742 let suspicious = checkSuspicious()
743743 if (suspicious._1)
744744 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.originCaller, msg.payments))
745745 else {
746746 let pmtAmount = if ((size(msg.payments) > 0))
747747 then {
748748 let pmtAssetId = msg.payments[0].assetId
749749 if ((shareAssetId != pmtAssetId))
750750 then throw("unknown payment token")
751751 else msg.payments[0].amount
752752 }
753753 else 0
754754 let outIndex = valueOrErrorMessage(indexOf(assetIds, tokenOut), "unknown token out")
755755 let tokenOutB58 = fromBase58String(tokenOut)
756756 let withdrawAmount = (pmtAmount + unlockAmount)
757757 let xp = _xp()
758758 let $t01612516212 = _calcWithdrawOneCoin(xp, withdrawAmount, outIndex, msg.originCaller)
759759 let dy = $t01612516212._1
760760 let dy_fee = $t01612516212._2
761761 if (assert((dy >= minAmount)))
762762 then throw("Not enough coins removed")
763763 else {
764764 let governanceFees = fraction(dy_fee, feeGovernance, feeScale6)
765765 let dy_and_fee = (dy + dy_fee)
766766 func makeNewBalances (acc,tokenBalance) = {
767767 let $t01647016496 = acc
768768 let newBalances = $t01647016496._1
769769 let i = $t01647016496._2
770770 if ((i == outIndex))
771771 then $Tuple2((newBalances :+ (tokenBalance - dy_and_fee)), (i + 1))
772772 else $Tuple2((newBalances :+ tokenBalance), (i + 1))
773773 }
774774
775775 let $t01666316724 = {
776776 let $l = xp
777777 let $s = size($l)
778778 let $acc0 = $Tuple2(nil, 0)
779779 func $f0_1 ($a,$i) = if (($i >= $s))
780780 then $a
781781 else makeNewBalances($a, $l[$i])
782782
783783 func $f0_2 ($a,$i) = if (($i >= $s))
784784 then $a
785785 else throw("List size exceeds 10")
786786
787787 $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)
788788 }
789789 let newBalances = $t01666316724._1
790790 let v = $t01666316724._2
791791 if (checkDAppThreshold(newBalances))
792792 then throw()
793793 else {
794794 let us = unstake(dy_and_fee, tokenOut)
795795 if ((us == us))
796796 then {
797797 let lpFees = (dy_fee - governanceFees)
798798 let airdrop = if ((lpFees > 0))
799799 then invoke(lpFarmingAddress, "airDrop", nil, [AttachedPayment(tokenOutB58, lpFees)])
800800 else 0
801801 if ((airdrop == airdrop))
802802 then [ScriptTransfer(msg.originCaller, dy, tokenOutB58), IntegerEntry((assetIds[outIndex] + kAssetBalance), (xp[outIndex] - dy_and_fee)), Burn(shareAssetId, withdrawAmount), ScriptTransfer(moneyBoxAddress, governanceFees, tokenOutB58), IntegerEntry(kShareAssetSupply, (shareSupply - withdrawAmount))]
803803 else throw("Strict value is not equal to itself.")
804804 }
805805 else throw("Strict value is not equal to itself.")
806806 }
807807 }
808808 }
809809 }
810810
811811
812812 @Callable(msg)
813813 func D (xp,amp) = {
814814 let D = get_D_internal(xp, amp)
815815 $Tuple2([IntegerEntry("D", D)], D)
816816 }
817817
818818
819819
820820 @Callable(msg)
821821 func init (assetIds,_A,_dAppThresholdCoef) = if (!(isDataStorageUntouched(this)))
822822 then throw("Already initialized")
823823 else if ((0 >= _A))
824824 then throw("Amp must be must > 0")
825825 else if ((0 >= _dAppThresholdCoef))
826826 then throw("dApp Threshold Coef must be > 0")
827827 else {
828828 let shareName = "s_Multi_USD"
829829 let shareDescription = ("ShareToken of SwopFi protocol for MultiStable USD pool at address " + toString(this))
830830 let issueToken = Issue(shareName, shareDescription, 0, 6, true)
831831 let tokenId = calculateAssetId(issueToken)
832832 if (checkCoins(assetIds))
833833 then throw()
834834 else [StringEntry(kVersion, version), StringEntry(kAssets, assetIds), IntegerEntry("initial_A", _A), IntegerEntry("future_A", _A), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_flat")), StringEntry(kShareAssetId, toBase58String(tokenId)), IntegerEntry(kShareAssetSupply, 0), IntegerEntry(kDAppThresholdCoef, _dAppThresholdCoef), BooleanEntry(kActive, true), issueToken]
835835 }
836836
837837
838838
839839 @Callable(msg)
840840 func addLiquidity (minMintAmount,stakeFarming,lockType) = valueOrElse(isActive(), {
841841 let amp = _A()
842842 let xp = _xp()
843843 let D0 = if ((shareSupply == 0))
844844 then 0
845845 else getDMem(xp, amp)
846846 let $t01886419118 = if (if ((lockType > 0))
847847 then (msg.payments[(size(msg.payments) - 1)].assetId == unit)
848848 else false)
849849 then $Tuple2(removeByIndex(msg.payments, (size(msg.payments) - 1)), [msg.payments[(size(msg.payments) - 1)]])
850850 else $Tuple2(msg.payments, nil)
851851 let payments = $t01886419118._1
852852 let lockFee = $t01886419118._2
853853 let paymentsSize = size(payments)
854854 func validPayments (n) = if ((paymentsSize > nCoins))
855855 then throw(("payments size > " + toString(nCoins)))
856856 else if ((1 > paymentsSize))
857857 then throw("payments size < 1")
858858 else if (if ((shareSupply == 0))
859859 then (nCoins != paymentsSize)
860860 else false)
861861 then throw("initial deposit requires all coins")
862862 else {
863863 func paymantValid (acc,payment) = if (containsElement(assetIds, getStrAssetId(payment.assetId)))
864864 then true
865865 else throw("Invalid asset in payment")
866866
867867 let $l = payments
868868 let $s = size($l)
869869 let $acc0 = false
870870 func $f0_1 ($a,$i) = if (($i >= $s))
871871 then $a
872872 else paymantValid($a, $l[$i])
873873
874874 func $f0_2 ($a,$i) = if (($i >= $s))
875875 then $a
876876 else throw("List size exceeds 10")
877877
878878 $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)
879879 }
880880
881881 if (!(validPayments(paymentsSize)))
882882 then throw()
883883 else {
884884 let suspicious = checkSuspicious()
885885 if (suspicious._1)
886886 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, payments))
887887 else {
888888 func parsePayments (acc,assetId) = {
889889 let $t01998820014 = acc
890890 let newBalances = $t01998820014._1
891891 let i = $t01998820014._2
892892 func parsePayment (newBalance,payment) = if ((getStrAssetId(payment.assetId) == assetId))
893893 then (newBalance + payment.amount)
894894 else newBalance
895895
896896 let newBalace = {
897897 let $l = payments
898898 let $s = size($l)
899899 let $acc0 = xp[i]
900900 func $f0_1 ($a,$i) = if (($i >= $s))
901901 then $a
902902 else parsePayment($a, $l[$i])
903903
904904 func $f0_2 ($a,$i) = if (($i >= $s))
905905 then $a
906906 else throw("List size exceeds 10")
907907
908908 $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)
909909 }
910910 $Tuple2((newBalances :+ newBalace), (i + 1))
911911 }
912912
913913 let $t02036420431 = {
914914 let $l = assetIds
915915 let $s = size($l)
916916 let $acc0 = $Tuple2(nil, 0)
917917 func $f0_1 ($a,$i) = if (($i >= $s))
918918 then $a
919919 else parsePayments($a, $l[$i])
920920
921921 func $f0_2 ($a,$i) = if (($i >= $s))
922922 then $a
923923 else throw("List size exceeds 10")
924924
925925 $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)
926926 }
927927 let newBalances = $t02036420431._1
928928 let k = $t02036420431._2
929929 if (checkDAppThreshold(newBalances))
930930 then throw()
931931 else {
932932 let D1 = getDMem(newBalances, amp)
933933 if (assert((D1 > D0)))
934934 then throw("D1 > D0")
935935 else {
936936 let feeDiscount = calculateFeeDiscount(msg.caller)
937937 func calcScriptActions (acc,newBalance) = {
938938 let $t02075120792 = acc
939939 let invBalances = $t02075120792._1
940940 let scriptActions = $t02075120792._2
941941 let i = $t02075120792._3
942942 if ((shareSupply > 0))
943943 then {
944944 let _fee = ((fraction(fee, feeDiscount, feeScale6, CEILING) * nCoins) / (4 * (nCoins - 1)))
945945 let fees = {
946946 let idealBalance = fraction(D1, xp[i], D0)
947947 let difference = if ((idealBalance > newBalance))
948948 then (idealBalance - newBalance)
949949 else (newBalance - idealBalance)
950950 fraction(_fee, difference, feeScale6)
951951 }
952952 let governanceFees = fraction(fees, feeGovernance, feeScale6)
953953 let finalBalance = (newBalance - fees)
954954 let invariantBalance = (newBalance - fees)
955955 let pmt = (newBalance - xp[i])
956956 let lpFees = (fees - governanceFees)
957957 let inv = if ((pmt > 0))
958958 then stake((pmt - fees), assetIds[i])
959959 else unstake(fees, assetIds[i])
960960 if ((inv == inv))
961961 then {
962962 let airdrop = if ((lpFees > 0))
963963 then invoke(lpFarmingAddress, "airDrop", nil, [AttachedPayment(fromBase58String(assetIds[i]), lpFees)])
964964 else 0
965965 if ((airdrop == airdrop))
966966 then $Tuple3((invBalances :+ invariantBalance), (scriptActions ++ [ScriptTransfer(moneyBoxAddress, governanceFees, fromBase58String(assetIds[i])), IntegerEntry((assetIds[i] + kAssetBalance), finalBalance)]), (i + 1))
967967 else throw("Strict value is not equal to itself.")
968968 }
969969 else throw("Strict value is not equal to itself.")
970970 }
971971 else {
972972 let inv = stake(newBalance, assetIds[i])
973973 if ((inv == inv))
974974 then $Tuple3((invBalances :+ newBalance), (scriptActions :+ IntegerEntry((assetIds[i] + kAssetBalance), newBalance)), (i + 1))
975975 else throw("Strict value is not equal to itself.")
976976 }
977977 }
978978
979979 let $t02249722585 = {
980980 let $l = newBalances
981981 let $s = size($l)
982982 let $acc0 = $Tuple3(nil, nil, 0)
983983 func $f1_1 ($a,$i) = if (($i >= $s))
984984 then $a
985985 else calcScriptActions($a, $l[$i])
986986
987987 func $f1_2 ($a,$i) = if (($i >= $s))
988988 then $a
989989 else throw("List size exceeds 10")
990990
991991 $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)
992992 }
993993 let invBalances = $t02249722585._1
994994 let scriptActions = $t02249722585._2
995995 let D2 = getDMem(invBalances, amp)
996996 let mint_amount = if ((shareSupply == 0))
997997 then D1
998998 else fraction(shareSupply, (D2 - D0), D0)
999999 if (assert((mint_amount >= minMintAmount)))
10001000 then throw("Slippage screwed you")
10011001 else if (stakeFarming)
10021002 then {
10031003 let re = invoke(this, "reissueShare", [mint_amount], nil)
10041004 if ((re == re))
10051005 then {
10061006 let s = invoke(farmingAddress, "lockShareTokensFromPool", [msg.caller.bytes, toString(this), lockType], ([AttachedPayment(shareAssetId, mint_amount)] ++ lockFee))
10071007 if ((s == s))
10081008 then (scriptActions :+ IntegerEntry(kShareAssetSupply, (shareSupply + mint_amount)))
10091009 else throw("Strict value is not equal to itself.")
10101010 }
10111011 else throw("Strict value is not equal to itself.")
10121012 }
10131013 else (scriptActions ++ [Reissue(shareAssetId, mint_amount, true), ScriptTransfer(msg.caller, mint_amount, shareAssetId), IntegerEntry(kShareAssetSupply, (shareSupply + mint_amount))])
10141014 }
10151015 }
10161016 }
10171017 }
10181018 })
10191019
10201020
10211021
10221022 @Callable(msg)
10231023 func calcMintAmount (newBalances,user) = {
10241024 let amp = _A()
10251025 let xp = _xp()
10261026 let D1 = getDMem(newBalances, amp)
10271027 if ((shareSupply == 0))
10281028 then $Tuple2(nil, D1)
10291029 else {
10301030 let D0 = getDMem(xp, amp)
10311031 let feeDiscount = calculateFeeDiscount(user)
10321032 func calcInvBalances (acc,newBalance) = {
10331033 let $t02386123887 = acc
10341034 let invBalances = $t02386123887._1
10351035 let i = $t02386123887._2
10361036 let _fee = ((fraction(fee, feeDiscount, feeScale6, CEILING) * nCoins) / (4 * (nCoins - 1)))
10371037 let fees = {
10381038 let idealBalance = fraction(D1, xp[i], D0)
10391039 let difference = if ((idealBalance > newBalance))
10401040 then (idealBalance - newBalance)
10411041 else (newBalance - idealBalance)
10421042 fraction(_fee, difference, feeScale6)
10431043 }
10441044 let invariantBalance = (newBalance - fees)
10451045 $Tuple2((invBalances :+ invariantBalance), (i + 1))
10461046 }
10471047
10481048 let $t02448924559 = {
10491049 let $l = newBalances
10501050 let $s = size($l)
10511051 let $acc0 = $Tuple2(nil, 0)
10521052 func $f0_1 ($a,$i) = if (($i >= $s))
10531053 then $a
10541054 else calcInvBalances($a, $l[$i])
10551055
10561056 func $f0_2 ($a,$i) = if (($i >= $s))
10571057 then $a
10581058 else throw("List size exceeds 10")
10591059
10601060 $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)
10611061 }
10621062 let invBalances = $t02448924559._1
10631063 let k = $t02448924559._2
10641064 let D2 = getDMem(invBalances, amp)
10651065 let mintAmount = fraction(shareSupply, (D2 - D0), D0)
10661066 $Tuple2(nil, mintAmount)
10671067 }
10681068 }
10691069
10701070
10711071
10721072 @Callable(msg)
10731073 func reissueShare (amount) = valueOrElse(isSelfCall(msg), [Reissue(shareAssetId, amount, true)])
10741074
10751075
10761076
10771077 @Callable(msg)
10781078 func getDy (assetFrom,assetTo,dx,userAddress) = {
10791079 let xp = _xp()
10801080 let fromIndex = valueOrErrorMessage(indexOf(assetIds, assetFrom), "unknown token in")
10811081 let toIndex = valueOrErrorMessage(indexOf(assetIds, assetTo), "unknown token out")
10821082 let x = (xp[fromIndex] + dx)
10831083 let y = getY(fromIndex, toIndex, x, xp)
10841084 let dy = ((xp[toIndex] - y) - 1)
10851085 let feeDiscount = calculateFeeDiscount(Address(fromBase58String(userAddress)))
10861086 let _fee = fraction(fraction(fee, feeDiscount, feeScale6, CEILING), dy, feeScale6)
10871087 $Tuple2(nil, $Tuple2((dy - _fee), _fee))
10881088 }
10891089
10901090
10911091
10921092 @Callable(msg)
10931093 func exchange (tokenOut,min_dy) = valueOrElse(isActive(), if ((size(msg.payments) != 1))
10941094 then throw("size(payments) != 1")
10951095 else {
10961096 let suspicious = checkSuspicious()
10971097 if (suspicious._1)
10981098 then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, msg.payments))
10991099 else {
11001100 let payment = msg.payments[0]
11011101 let tokenIn = getStrAssetId(payment.assetId)
11021102 let tokenOutB58 = fromBase58String(tokenOut)
11031103 let dx = payment.amount
11041104 let fromIndex = valueOrErrorMessage(indexOf(assetIds, tokenIn), "unknown token in")
11051105 let toIndex = valueOrErrorMessage(indexOf(assetIds, tokenOut), "unknown token out")
11061106 let xp = _xp()
11071107 let x = (xp[fromIndex] + dx)
11081108 let y = getY(fromIndex, toIndex, x, xp)
11091109 let _dy = ((xp[toIndex] - y) - 1)
11101110 let feeDiscount = calculateFeeDiscount(msg.originCaller)
11111111 let _fee = fraction(_dy, fraction(fee, feeDiscount, feeScale6, CEILING), feeScale6)
11121112 let dy = (_dy - _fee)
11131113 let governanceFees = fraction(_fee, feeGovernance, feeScale6)
11141114 if (assert((dy >= min_dy)))
11151115 then throw("Exchange resulted in fewer coins than expected")
11161116 else {
11171117 func makeNewBalances (acc,tokenBalance) = {
11181118 let $t02660026626 = acc
11191119 let newBalances = $t02660026626._1
11201120 let i = $t02660026626._2
11211121 if ((i == fromIndex))
11221122 then $Tuple2((newBalances :+ (tokenBalance + dx)), (i + 1))
11231123 else if ((i == toIndex))
11241124 then $Tuple2((newBalances :+ (tokenBalance - _dy)), (i + 1))
11251125 else $Tuple2((newBalances :+ tokenBalance), (i + 1))
11261126 }
11271127
11281128 let $t02687726938 = {
11291129 let $l = xp
11301130 let $s = size($l)
11311131 let $acc0 = $Tuple2(nil, 0)
11321132 func $f0_1 ($a,$i) = if (($i >= $s))
11331133 then $a
11341134 else makeNewBalances($a, $l[$i])
11351135
11361136 func $f0_2 ($a,$i) = if (($i >= $s))
11371137 then $a
11381138 else throw("List size exceeds 10")
11391139
11401140 $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)
11411141 }
11421142 let newBalances = $t02687726938._1
11431143 let i = $t02687726938._2
11441144 if (checkDAppThreshold(newBalances))
11451145 then throw()
11461146 else {
11471147 let s = stake(payment.amount, getStrAssetId(payment.assetId))
11481148 if ((s == s))
11491149 then {
11501150 let us = unstake(_dy, tokenOut)
11511151 if ((us == us))
11521152 then {
11531153 let lpFees = (_fee - governanceFees)
11541154 let airdrop = if ((lpFees > 0))
11551155 then invoke(lpFarmingAddress, "airDrop", nil, [AttachedPayment(tokenOutB58, lpFees)])
11561156 else 0
11571157 if ((airdrop == airdrop))
11581158 then $Tuple2([IntegerEntry((tokenIn + kAssetBalance), x), IntegerEntry((tokenOut + kAssetBalance), (xp[toIndex] - _dy)), ScriptTransfer(msg.caller, dy, tokenOutB58), ScriptTransfer(moneyBoxAddress, governanceFees, tokenOutB58)], [dy, tokenOutB58])
11591159 else throw("Strict value is not equal to itself.")
11601160 }
11611161 else throw("Strict value is not equal to itself.")
11621162 }
11631163 else throw("Strict value is not equal to itself.")
11641164 }
11651165 }
11661166 }
11671167 })
11681168
11691169
11701170
11711171 @Callable(msg)
11721172 func withdraw (minAmounts) = valueOrElse(isActive(), calcWithdraw(msg, minAmounts, 0))
11731173
11741174
11751175
11761176 @Callable(msg)
11771177 func withdrawWithUnlock (minAmounts,unlockAmount) = valueOrElse(isActive(), if ((0 >= unlockAmount))
11781178 then throw("Unlock amount must be positive")
11791179 else {
11801180 let unlock = invoke(farmingAddress, "withdrawShareTokensFromPool", [msg.caller.bytes, toString(this), unlockAmount], nil)
11811181 if ((unlock == unlock))
11821182 then calcWithdraw(msg, minAmounts, unlockAmount)
11831183 else throw("Strict value is not equal to itself.")
11841184 })
11851185
11861186
11871187
11881188 @Callable(msg)
11891189 func calcWithdrawOneCoin (tokenAmount,tokenOut,user) = if ((0 >= tokenAmount))
11901190 then throw("Amount must be positive")
11911191 else {
11921192 let i = valueOrErrorMessage(indexOf(assetIds, tokenOut), "unknown token out")
11931193 $Tuple2(nil, _calcWithdrawOneCoin(_xp(), tokenAmount, i, Address(fromBase58String(user)))._1)
11941194 }
11951195
11961196
11971197
11981198 @Callable(msg)
11991199 func withdrawOneCoin (tokenOut,minAmount) = valueOrElse(isActive(), if ((size(msg.payments) != 1))
12001200 then throw("size(payments) != 1")
12011201 else calcWithdrawOneCoinEntries(msg, tokenOut, minAmount, 0))
12021202
12031203
12041204
12051205 @Callable(msg)
1206-func withdrawOneCoinWithUnlock (tokenOut,minAmount,unlockAmount) = valueOrElse(isActive(), if ((0 >= unlockAmount))
1206+func withdrawOneCoinWithUnlock (tokenOut,minAmount,unlockAmount) = valueOrElse(isActive(), if ((0 > unlockAmount))
12071207 then throw("Unlock amount must be positive")
12081208 else {
12091209 let unlock = invoke(farmingAddress, "withdrawShareTokensFromPool", [msg.caller.bytes, toString(this), unlockAmount], nil)
12101210 if ((unlock == unlock))
12111211 then calcWithdrawOneCoinEntries(msg, tokenOut, minAmount, unlockAmount)
12121212 else throw("Strict value is not equal to itself.")
12131213 })
12141214
12151215
12161216
12171217 @Callable(msg)
12181218 func A () = $Tuple2(nil, _A())
12191219
12201220
12211221
12221222 @Callable(msg)
12231223 func getVirtualPrice () = {
12241224 let D = get_D(_xp(), _A())
12251225 $Tuple2(nil, fraction(D, PRECISION, shareSupply))
12261226 }
12271227
12281228
12291229
12301230 @Callable(msg)
12311231 func calcTokenAmount (amounts,deposit) = {
12321232 let amp = _A()
12331233 let balances = _xp()
12341234 let D0 = getDMem(balances, amp)
12351235 func calcNewBalances (acc,balance) = {
1236- let $t02951629542 = acc
1237- let newBalances = $t02951629542._1
1238- let i = $t02951629542._2
1236+ let $t02951529541 = acc
1237+ let newBalances = $t02951529541._1
1238+ let i = $t02951529541._2
12391239 let newBalance = (balance + (if (deposit)
12401240 then amounts[i]
12411241 else -(amounts[i])))
12421242 $Tuple2((newBalances :+ newBalance), (i + 1))
12431243 }
12441244
12451245 let newBalances = ( let $l = balances
12461246 let $s = size($l)
12471247 let $acc0 = $Tuple2(nil, 0)
12481248 func $f0_1 ($a,$i) = if (($i >= $s))
12491249 then $a
12501250 else calcNewBalances($a, $l[$i])
12511251
12521252 func $f0_2 ($a,$i) = if (($i >= $s))
12531253 then $a
12541254 else throw("List size exceeds 10")
12551255
12561256 $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))._1
12571257 let D1 = getDMem(newBalances, amp)
12581258 let diff = if (deposit)
12591259 then (D1 - D0)
12601260 else (D0 - D1)
12611261 $Tuple2(nil, fraction(diff, shareSupply, D0))
12621262 }
12631263
12641264
12651265
12661266 @Callable(msg)
12671267 func rampA (_futureA,_futureTime) = valueOrElse(isActive(), valueOrElse(isAdminCall(msg), if (assert((blockTimestamp >= (initial_A_time + MIN_RAMP_TIME))))
12681268 then throw("too often")
12691269 else if (assert((_futureTime >= (blockTimestamp + MIN_RAMP_TIME))))
12701270 then throw("insufficient time")
12711271 else {
12721272 let _initial_A = _A()
12731273 if (assert(if ((_futureA > 0))
12741274 then (MAX_A > _futureA)
12751275 else false))
12761276 then throw("out of base range")
12771277 else if (assert(if (if ((_futureA >= _initial_A))
12781278 then ((_initial_A * MAX_A_CHANGE) >= _futureA)
12791279 else false)
12801280 then true
12811281 else if ((_initial_A > _futureA))
12821282 then ((_futureA * MAX_A_CHANGE) >= _initial_A)
12831283 else false))
12841284 then throw("out of range")
12851285 else [IntegerEntry("initial_A", _initial_A), IntegerEntry("future_A", _futureA), IntegerEntry("initial_A_time", blockTimestamp), IntegerEntry("future_A_time", _futureTime)]
12861286 }))
12871287
12881288
12891289
12901290 @Callable(msg)
12911291 func stopRampA () = valueOrElse(isActive(), valueOrElse(isAdminCall(msg), {
12921292 let currentA = _A()
12931293 [IntegerEntry("initial_A", currentA), IntegerEntry("future_A", currentA), IntegerEntry("initial_A_time", blockTimestamp), IntegerEntry("future_A_time", blockTimestamp)]
12941294 }))
12951295
12961296
12971297
12981298 @Callable(msg)
12991299 func shutdown () = valueOrElse(isAdminCall(msg), if (!(active))
13001300 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
13011301 else suspend("Paused by admin"))
13021302
13031303
13041304
13051305 @Callable(msg)
13061306 func activate () = valueOrElse(isAdminCall(msg), if (active)
13071307 then throwIsActive()
13081308 else [BooleanEntry(kActive, true), DeleteEntry(kCause)])
13091309
13101310
13111311
13121312 @Callable(msg)
13131313 func takeIntoAccountExtraFunds () = valueOrElse(isActive(), if ((msg.caller != moneyBoxAddress))
13141314 then throw("Only the wallet can call this function")
13151315 else {
13161316 let balances = _xp()
13171317 func takeExtraFunds (acc,assetId) = {
1318- let $t03188431902 = acc
1319- let sum = $t03188431902._1
1320- let i = $t03188431902._2
1318+ let $t03188331901 = acc
1319+ let sum = $t03188331901._1
1320+ let i = $t03188331901._2
13211321 let tokenB58 = fromBase58String(assetId)
13221322 let rBalance = (assetBalance(this, tokenB58) + stakedAmount(tokenB58))
13231323 let enrollAmount = (rBalance - balances[i])
13241324 if ((0 > enrollAmount))
13251325 then suspend(("Enroll amount negative for asset" + assetId))
13261326 else {
13271327 let airdrop = if ((enrollAmount > 0))
13281328 then invoke(lpFarmingAddress, "airDrop", nil, [AttachedPayment(tokenB58, enrollAmount)])
13291329 else 0
13301330 if ((airdrop == airdrop))
13311331 then $Tuple2((sum + enrollAmount), (i + 1))
13321332 else throw("Strict value is not equal to itself.")
13331333 }
13341334 }
13351335
13361336 let k = {
13371337 let $l = assetIds
13381338 let $s = size($l)
13391339 let $acc0 = $Tuple2(0, 0)
13401340 func $f0_1 ($a,$i) = if (($i >= $s))
13411341 then $a
13421342 else takeExtraFunds($a, $l[$i])
13431343
13441344 func $f0_2 ($a,$i) = if (($i >= $s))
13451345 then $a
13461346 else throw("List size exceeds 10")
13471347
13481348 $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)
13491349 }
13501350 if ((k._1 == 0))
13511351 then throw("No money to take")
13521352 else nil
13531353 })
13541354
13551355
13561356 @Verifier(tx)
13571357 func verify () = {
13581358 let multiSignedByAdmins = {
13591359 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
13601360 then 1
13611361 else 0
13621362 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
13631363 then 1
13641364 else 0
13651365 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
13661366 then 1
13671367 else 0
13681368 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
13691369 }
13701370 match tx {
13711371 case inv: InvokeScriptTransaction =>
13721372 let callTakeIntoAccount = if ((inv.dApp == this))
13731373 then (inv.function == "takeIntoAccountExtraFunds")
13741374 else false
13751375 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
13761376 then true
13771377 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
13781378 then true
13791379 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
13801380 then true
13811381 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyInvoke)
13821382 if (if (callTakeIntoAccount)
13831383 then signedByAdmin
13841384 else false)
13851385 then true
13861386 else multiSignedByAdmins
13871387 case _ =>
13881388 multiSignedByAdmins
13891389 }
13901390 }
13911391

github/deemru/w8io/026f985 
110.02 ms