tx · AC5nvQNEV3xTDZp4XrdVKkmYkKDXVsf7JrbU7A96AaCK

3MwstV5kwngSR99soeemi1AV7VXiZXRHVnX:  -0.03200000 Waves

2022.08.31 12:23 [2208437] smart account 3MwstV5kwngSR99soeemi1AV7VXiZXRHVnX > SELF 0.00000000 Waves

{ "type": 13, "id": "AC5nvQNEV3xTDZp4XrdVKkmYkKDXVsf7JrbU7A96AaCK", "fee": 3200000, "feeAssetId": null, "timestamp": 1661937824559, "version": 2, "chainId": 84, "sender": "3MwstV5kwngSR99soeemi1AV7VXiZXRHVnX", "senderPublicKey": "7kYMgWAteuXyagbkwuPuripHt5mbmodGS8SuEhyXSgBY", "proofs": [ "2hBr8bFwcmNucK8fN44HNkqR44pLfmsngCviW7C8Bcjh9iHTJ8kz6APv1g6C3Jie2Y8rZ57NCALrqDvZxiyMZhsG" ], "script": "base64:BgJXCAISBAoCEQESBQoDCAEEEgQKAgEEEgMKAQESBgoECAgBCBIECgIIARIECgIRARIFCgMBCAgSBQoDCAEBEgASABIECgIRBBIECgIBARIAEgASABIDCgEBWQAJUFJFQ0lTSU9OAMCEPQAFTUFYX0EAwIQ9AAxNQVhfQV9DSEFOR0UACgANTUlOX1JBTVBfVElNRQkAaQIAgKMFADwAB2tBc3NldHMCCWFzc2V0X2lkcwANa0Fzc2V0QmFsYW5jZQIIX2JhbGFuY2UAB2tBY3RpdmUCBmFjdGl2ZQAGa0NhdXNlAg5zaHV0ZG93bl9jYXVzZQANa1NoYXJlQXNzZXRJZAIOc2hhcmVfYXNzZXRfaWQAEWtTaGFyZUFzc2V0U3VwcGx5AhJzaGFyZV9hc3NldF9zdXBwbHkABGtGZWUCCmNvbW1pc3Npb24AEmtEQXBwVGhyZXNob2xkQ29lZgIRZEFwcFRocmVzaG9sZENvZWYADGtVU0ROQWRkcmVzcwIYc3Rha2luZ191c2RubnNidF9hZGRyZXNzAAprRGlzY291bnRzAglkaXNjb3VudHMAD2tEaXNjb3VudFZhbHVlcwIPZGlzY291bnRf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JAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MgYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MwYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFEWFkbWluUHViS2V5SW52b2tlAwMFE2NhbGxUYWtlSW50b0FjY291bnQFDXNpZ25lZEJ5QWRtaW4HBgUTbXVsdGlTaWduZWRCeUFkbWlucwUTbXVsdGlTaWduZWRCeUFkbWluc1EK0XA=", "height": 2208437, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 4AuVnjMa3L4kzTpKR6YDskDiEcWCKdMEKcxwMQw6KTaA Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let PRECISION = 1000000
5+
6+let MAX_A = 1000000
7+
8+let MAX_A_CHANGE = 10
9+
10+let MIN_RAMP_TIME = (86400 / 60)
11+
12+let kAssets = "asset_ids"
13+
14+let kAssetBalance = "_balance"
15+
16+let kActive = "active"
17+
18+let kCause = "shutdown_cause"
19+
20+let kShareAssetId = "share_asset_id"
21+
22+let kShareAssetSupply = "share_asset_supply"
23+
24+let kFee = "commission"
25+
26+let kDAppThresholdCoef = "dAppThresholdCoef"
27+
28+let kUSDNAddress = "staking_usdnnsbt_address"
29+
30+let kDiscounts = "discounts"
31+
32+let kDiscountValues = "discount_values"
33+
34+let kUserSwopInGov = "_SWOP_amount"
35+
36+let kFirstHarvest = "first_harvest"
37+
38+let kFirstHarvestHeight = "first_harvest_height"
39+
40+let kShareLimit = "share_limit_on_first_harvest"
41+
42+let kBasePeriod = "base_period"
43+
44+let kPeriodLength = "period_length"
45+
46+let kStartHeight = "start_height"
47+
48+let kAdminPubKey1 = "admin_pub_1"
49+
50+let kAdminPubKey2 = "admin_pub_2"
51+
52+let kAdminPubKey3 = "admin_pub_3"
53+
54+let kAdminInvokePubKey = "admin_invoke_pub"
55+
56+let kMoneyBoxAddress = "money_box_address"
57+
58+let kGovAddress = "governance_address"
59+
60+let kVotingAddress = "voting_address"
61+
62+let kFarmingAddress = "farming_address"
63+
64+let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
65+
66+func getBase58FromOracle (key) = match getString(oracle, key) {
67+ case string: String =>
68+ fromBase58String(string)
69+ case nothing =>
70+ throw((key + "is empty"))
71+}
72+
73+
74+let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
75+
76+let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
77+
78+let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
79+
80+let adminPubKeyInvoke = getBase58FromOracle(kAdminInvokePubKey)
81+
82+let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
83+
84+let govAddress = Address(getBase58FromOracle(kGovAddress))
85+
86+let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
87+
88+let votingAddress = Address(getBase58FromOracle(kVotingAddress))
89+
90+let farmingAddress = Address(getBase58FromOracle(kFarmingAddress))
91+
92+let capMoneyBoxAddress = Address(base58'3MxXHaGvmKQHH3kNrPBunhve1sDXf7M5RZt')
93+
94+let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
95+
96+let stakingAssets = [toBase58String(USDN)]
97+
98+let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
99+
100+let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
101+
102+let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
103+
104+let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
105+
106+let active = getBooleanValue(this, kActive)
107+
108+let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
109+
110+let shareSupply = getIntegerValue(this, kShareAssetSupply)
111+
112+let feeScale6 = 1000000
113+
114+let fee = getIntegerValue(this, kFee)
115+
116+let feeGovernance = fraction(40, feeScale6, 100)
117+
118+let initial_A = getIntegerValue(this, "initial_A")
119+
120+let future_A = getIntegerValue(this, "future_A")
121+
122+let initial_A_time = valueOrElse(getInteger(this, "initial_A_time"), 0)
123+
124+let future_A_time = valueOrElse(getInteger(this, "future_A_time"), 0)
125+
126+let assetIds = split(getStringValue(this, kAssets), ",")
127+
128+let nCoins = size(assetIds)
129+
130+func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
131+
132+
133+func throwIsActive () = throw("DApp is already active")
134+
135+
136+func isActive () = if (active)
137+ then unit
138+ else throw("DApp is inactive at this moment")
139+
140+
141+func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
142+ then unit
143+ else throw("Only admin can call this function")
144+
145+
146+func isSelfCall (i) = if ((this == i.caller))
147+ then unit
148+ else throw("Only contract itself can call this function")
149+
150+
151+let big2 = toBigInt(2)
152+
153+let blockTimestamp = height
154+
155+func assert (a) = if (a)
156+ then false
157+ else true
158+
159+
160+func calculateFeeDiscount (userAddr) = {
161+ let swopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserSwopInGov)), 0)
162+ let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
163+ let discounts = split(getStringValue(oracle, kDiscounts), ",")
164+ if (if ((swopAmount >= parseIntValue(discountValues[0])))
165+ then (parseIntValue(discountValues[1]) > swopAmount)
166+ else false)
167+ then (feeScale6 - parseIntValue(discounts[0]))
168+ else if (if ((swopAmount >= parseIntValue(discountValues[1])))
169+ then (parseIntValue(discountValues[2]) > swopAmount)
170+ else false)
171+ then (feeScale6 - parseIntValue(discounts[1]))
172+ else if (if ((swopAmount >= parseIntValue(discountValues[2])))
173+ then (parseIntValue(discountValues[3]) > swopAmount)
174+ else false)
175+ then (feeScale6 - parseIntValue(discounts[2]))
176+ else if (if ((swopAmount >= parseIntValue(discountValues[3])))
177+ then (parseIntValue(discountValues[4]) > swopAmount)
178+ else false)
179+ then (feeScale6 - parseIntValue(discounts[3]))
180+ else if ((swopAmount >= parseIntValue(discountValues[4])))
181+ then (feeScale6 - parseIntValue(discounts[4]))
182+ else feeScale6
183+ }
184+
185+
186+func _A () = {
187+ let t1 = future_A_time
188+ let A1 = future_A
189+ if ((t1 > blockTimestamp))
190+ then {
191+ let A0 = initial_A
192+ let t0 = initial_A_time
193+ if ((A1 > A0))
194+ then (A0 + (((A1 - A0) * (blockTimestamp - t0)) / (t1 - t0)))
195+ else (A0 - (((A0 - A1) * (blockTimestamp - t0)) / (t1 - t0)))
196+ }
197+ else A1
198+ }
199+
200+
201+func _xp () = {
202+ func assetBalances (acc,assetId) = (acc :+ valueOrElse(getInteger(this, (assetId + kAssetBalance)), 0))
203+
204+ let $l = assetIds
205+ let $s = size($l)
206+ let $acc0 = nil
207+ func $f0_1 ($a,$i) = if (($i >= $s))
208+ then $a
209+ else assetBalances($a, $l[$i])
210+
211+ func $f0_2 ($a,$i) = if (($i >= $s))
212+ then $a
213+ else throw("List size exceeds 15")
214+
215+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
216+ }
217+
218+
219+func _xp_mem (xp) = xp
220+
221+
222+func sumList (acc,element) = (acc + element)
223+
224+
225+func get_D (xp,amp) = {
226+ let @ = invoke(this, "D", [xp, amp], nil)
227+ if ($isInstanceOf(@, "Int"))
228+ then @
229+ else throw(($getType(invoke(this, "D", [xp, amp], nil)) + " couldn't be cast to Int"))
230+ }
231+
232+
233+func get_D_internal (xp,amp) = {
234+ let S = {
235+ let $l = xp
236+ let $s = size($l)
237+ let $acc0 = 0
238+ func $f0_1 ($a,$i) = if (($i >= $s))
239+ then $a
240+ else sumList($a, $l[$i])
241+
242+ func $f0_2 ($a,$i) = if (($i >= $s))
243+ then $a
244+ else throw("List size exceeds 15")
245+
246+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
247+ }
248+ if ((S == 0))
249+ then 0
250+ else {
251+ let Ann = (amp * nCoins)
252+ let AnnS = (toBigInt(Ann) * toBigInt(S))
253+ let Ann1 = toBigInt((Ann - 1))
254+ func Dproc (acc,i) = if ((acc._2 == true))
255+ then acc
256+ else {
257+ let Dprev = acc._1
258+ func D_PProc (D_P,i) = if ((nCoins > i))
259+ then ((D_P * Dprev) / (toBigInt(xp[i]) * toBigInt(nCoins)))
260+ else D_P
261+
262+ let D_P = {
263+ let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
264+ let $s = size($l)
265+ let $acc0 = Dprev
266+ func $f1_1 ($a,$i) = if (($i >= $s))
267+ then $a
268+ else D_PProc($a, $l[$i])
269+
270+ func $f1_2 ($a,$i) = if (($i >= $s))
271+ then $a
272+ else throw("List size exceeds 15")
273+
274+ $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)
275+ }
276+ let D = fraction((AnnS + (toBigInt(nCoins) * D_P)), Dprev, ((Ann1 * Dprev) + (toBigInt((nCoins + 1)) * D_P)))
277+ if ((D > Dprev))
278+ then if ((1 >= toInt((D - Dprev))))
279+ then $Tuple2(D, true)
280+ else $Tuple2(D, false)
281+ else if ((1 >= toInt((Dprev - D))))
282+ then $Tuple2(D, true)
283+ else $Tuple2(D, false)
284+ }
285+
286+ let $t066126724 = {
287+ let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
288+ let $s = size($l)
289+ let $acc0 = $Tuple2(toBigInt(S), false)
290+ func $f1_1 ($a,$i) = if (($i >= $s))
291+ then $a
292+ else Dproc($a, $l[$i])
293+
294+ func $f1_2 ($a,$i) = if (($i >= $s))
295+ then $a
296+ else throw("List size exceeds 15")
297+
298+ $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)
299+ }
300+ let D = $t066126724._1
301+ let finished = $t066126724._2
302+ if ((finished == false))
303+ then throw(("get_D() not finished with " + toString(D)))
304+ else toInt(D)
305+ }
306+ }
307+
308+
309+func getDMem (xp,amp) = get_D(_xp_mem(xp), amp)
310+
311+
312+func getY (in,out,x,xp_) = if (assert((in != out)))
313+ then throw("same coin")
314+ else if (assert(if ((out >= 0))
315+ then (in >= 0)
316+ else false))
317+ then throw("below zero")
318+ else if (assert(if ((nCoins > out))
319+ then (nCoins > in)
320+ else false))
321+ then throw("above N_COINS")
322+ else {
323+ let amp = _A()
324+ let D = get_D(xp_, amp)
325+ let Ann = (amp * nCoins)
326+ func S_c (acc,i) = {
327+ let $t072957312 = acc
328+ let S_ = $t072957312._1
329+ let c = $t072957312._2
330+ let x_ = if ((in == i))
331+ then x
332+ else xp_[i]
333+ if (if ((i != out))
334+ then (nCoins > i)
335+ else false)
336+ then $Tuple2((S_ + x_), fraction(c, toBigInt(D), toBigInt((x_ * nCoins))))
337+ else $Tuple2(S_, c)
338+ }
339+
340+ let $t075207621 = {
341+ let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
342+ let $s = size($l)
343+ let $acc0 = $Tuple2(0, toBigInt(D))
344+ func $f0_1 ($a,$i) = if (($i >= $s))
345+ then $a
346+ else S_c($a, $l[$i])
347+
348+ func $f0_2 ($a,$i) = if (($i >= $s))
349+ then $a
350+ else throw("List size exceeds 15")
351+
352+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
353+ }
354+ let S_ = $t075207621._1
355+ let c_ = $t075207621._2
356+ let c = fraction(c_, toBigInt(D), toBigInt((Ann * nCoins)))
357+ let bD = toBigInt(((S_ + (D / Ann)) - D))
358+ func y_proc (acc,_i) = if ((acc._2 == true))
359+ then acc
360+ else {
361+ let y_prev = acc._1
362+ let y = (((y_prev * y_prev) + c) / ((big2 * y_prev) + bD))
363+ if ((y > y_prev))
364+ then if ((1 >= toInt((y - y_prev))))
365+ then $Tuple2(y, true)
366+ else $Tuple2(y, false)
367+ else if ((1 >= toInt((y_prev - y))))
368+ then $Tuple2(y, true)
369+ else $Tuple2(y, false)
370+ }
371+
372+ let $t081038220 = {
373+ let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
374+ let $s = size($l)
375+ let $acc0 = $Tuple2(toBigInt(D), false)
376+ func $f1_1 ($a,$i) = if (($i >= $s))
377+ then $a
378+ else y_proc($a, $l[$i])
379+
380+ func $f1_2 ($a,$i) = if (($i >= $s))
381+ then $a
382+ else throw("List size exceeds 16")
383+
384+ $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)
385+ }
386+ let y = $t081038220._1
387+ let finished = $t081038220._2
388+ if ((finished == false))
389+ then throw(("getY() not finished with " + toString(y)))
390+ else toInt(y)
391+ }
392+
393+
394+func get_y_D (A_,in,xp,D) = if (assert((in >= 0)))
395+ then throw("i below zero")
396+ else if (assert((nCoins > in)))
397+ then throw("i above N_COINS")
398+ else {
399+ let Ann = (A_ * nCoins)
400+ func S_c (acc,i) = {
401+ let $t085998616 = acc
402+ let S_ = $t085998616._1
403+ let c = $t085998616._2
404+ let x_ = if (if ((in != i))
405+ then (nCoins > i)
406+ else false)
407+ then xp[i]
408+ else 0
409+ if (if ((nCoins > i))
410+ then (in != i)
411+ else false)
412+ then $Tuple2((S_ + x_), fraction(c, toBigInt(D), toBigInt((x_ * nCoins))))
413+ else $Tuple2(S_, c)
414+ }
415+
416+ let $t088368937 = {
417+ let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
418+ let $s = size($l)
419+ let $acc0 = $Tuple2(0, toBigInt(D))
420+ func $f0_1 ($a,$i) = if (($i >= $s))
421+ then $a
422+ else S_c($a, $l[$i])
423+
424+ func $f0_2 ($a,$i) = if (($i >= $s))
425+ then $a
426+ else throw("List size exceeds 15")
427+
428+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
429+ }
430+ let S_ = $t088368937._1
431+ let c_ = $t088368937._2
432+ let c = fraction(c_, toBigInt(D), toBigInt((Ann * nCoins)))
433+ let bD = toBigInt(((S_ + (D / Ann)) - D))
434+ func y_D_proc (acc,i) = if ((acc._2 == true))
435+ then acc
436+ else {
437+ let y_prev = acc._1
438+ let y = (((y_prev * y_prev) + c) / ((big2 * y_prev) + bD))
439+ if ((y > y_prev))
440+ then if ((1 >= toInt((y - y_prev))))
441+ then $Tuple2(y, true)
442+ else $Tuple2(y, false)
443+ else if ((1 >= toInt((y_prev - y))))
444+ then $Tuple2(y, true)
445+ else $Tuple2(y, false)
446+ }
447+
448+ let $t094209539 = {
449+ let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
450+ let $s = size($l)
451+ let $acc0 = $Tuple2(toBigInt(D), false)
452+ func $f1_1 ($a,$i) = if (($i >= $s))
453+ then $a
454+ else y_D_proc($a, $l[$i])
455+
456+ func $f1_2 ($a,$i) = if (($i >= $s))
457+ then $a
458+ else throw("List size exceeds 16")
459+
460+ $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)
461+ }
462+ let y = $t094209539._1
463+ let finished = $t094209539._2
464+ if ((finished == false))
465+ then throw(("get_y_D() not finished with " + toString(y)))
466+ else toInt(y)
467+ }
468+
469+
470+func _calcWithdrawOneCoin (xp,_token_amount,i,caller) = {
471+ let feeDiscount = calculateFeeDiscount(caller)
472+ let amp = _A()
473+ let _fee = ((fraction(fee, feeDiscount, feeScale6, CEILING) * nCoins) / (4 * (nCoins - 1)))
474+ let total_supply = shareSupply
475+ let D0 = get_D(xp, amp)
476+ let D1 = (D0 - fraction(_token_amount, D0, total_supply))
477+ let new_y = get_y_D(amp, i, xp, D1)
478+ let dy_0 = (xp[i] - new_y)
479+ func xp_reduced_proc (acc,xp_j) = {
480+ let $t01018010209 = acc
481+ let xp_reduced = $t01018010209._1
482+ let index = $t01018010209._2
483+ let dx_expected = if ((index == i))
484+ then (fraction(xp_j, D1, D0) - new_y)
485+ else (xp_j - fraction(xp_j, D1, D0))
486+ $Tuple2((xp_reduced :+ (xp_j - fraction(_fee, dx_expected, feeScale6))), (index + 1))
487+ }
488+
489+ let $t01047110535 = {
490+ let $l = xp
491+ let $s = size($l)
492+ let $acc0 = $Tuple2(nil, 0)
493+ func $f0_1 ($a,$i) = if (($i >= $s))
494+ then $a
495+ else xp_reduced_proc($a, $l[$i])
496+
497+ func $f0_2 ($a,$i) = if (($i >= $s))
498+ then $a
499+ else throw("List size exceeds 15")
500+
501+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
502+ }
503+ let xp_reduced = $t01047110535._1
504+ let index = $t01047110535._2
505+ let xp_reduced_i = xp_reduced[i]
506+ let dy = ((xp_reduced_i - get_y_D(amp, i, xp_reduced, D1)) - 1)
507+ $Tuple2(dy, (dy_0 - dy))
508+ }
509+
510+
511+func getStrAssetId (assetId) = match assetId {
512+ case id: ByteVector =>
513+ toBase58String(id)
514+ case waves: Unit =>
515+ "WAVES"
516+ case _ =>
517+ throw("Match error")
518+}
519+
520+
521+func calcStakingFuncAndAddres (stake,assetId) = if (stake)
522+ then $Tuple2("lockNeutrino", stakingUSDNAddress)
523+ else $Tuple2("unlockNeutrino", stakingUSDNAddress)
524+
525+
526+func calcStakingParams (stake,amount,assetId) = if (stake)
527+ then {
528+ let $t01109911165 = calcStakingFuncAndAddres(stake, assetId)
529+ let call = $t01109911165._1
530+ let stakingAddr = $t01109911165._2
531+ $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
532+ }
533+ else {
534+ let $t01125111317 = calcStakingFuncAndAddres(stake, assetId)
535+ let call = $t01125111317._1
536+ let stakingAddr = $t01125111317._2
537+ $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
538+ }
539+
540+
541+func stake (amount,assetIdString) = if (containsElement(stakingAssets, assetIdString))
542+ then {
543+ let $t01150411606 = calcStakingParams(true, amount, fromBase58String(assetIdString))
544+ let call = $t01150411606._1
545+ let addr = $t01150411606._2
546+ let params = $t01150411606._3
547+ let payments = $t01150411606._4
548+ invoke(addr, call, params, payments)
549+ }
550+ else 0
551+
552+
553+func unstake (amount,assetIdString) = if (containsElement(stakingAssets, assetIdString))
554+ then {
555+ let $t01179111894 = calcStakingParams(false, amount, fromBase58String(assetIdString))
556+ let call = $t01179111894._1
557+ let addr = $t01179111894._2
558+ let params = $t01179111894._3
559+ let payments = $t01179111894._4
560+ invoke(addr, call, params, payments)
561+ }
562+ else 0
563+
564+
565+func stakedAmount (assetId) = {
566+ let stakedAmountCalculated = match assetId {
567+ case aId: ByteVector =>
568+ if ((aId == USDN))
569+ then getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
570+ else 0
571+ case _: Unit =>
572+ 0
573+ case _ =>
574+ throw("Match error")
575+ }
576+ match stakedAmountCalculated {
577+ case i: Int =>
578+ i
579+ case _ =>
580+ 0
581+ }
582+ }
583+
584+
585+func checkSuspicious () = {
586+ let contractBalances = _xp()
587+ func checkBalance (acc,assetId) = {
588+ let $t01250512530 = acc
589+ let suspicious = $t01250512530._1
590+ let i = $t01250512530._2
591+ if (suspicious)
592+ then $Tuple2(suspicious, i)
593+ else {
594+ let aBalance = (assetBalance(this, fromBase58String(assetId)) + stakedAmount(fromBase58String(assetId)))
595+ if ((contractBalances[i] > aBalance))
596+ then $Tuple2(true, i)
597+ else $Tuple2(false, (i + 1))
598+ }
599+ }
600+
601+ let $l = assetIds
602+ let $s = size($l)
603+ let $acc0 = $Tuple2(false, 0)
604+ func $f0_1 ($a,$i) = if (($i >= $s))
605+ then $a
606+ else checkBalance($a, $l[$i])
607+
608+ func $f0_2 ($a,$i) = if (($i >= $s))
609+ then $a
610+ else throw("List size exceeds 15")
611+
612+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
613+ }
614+
615+
616+func suspendSuspicious (i) = suspend(("Suspicious state with asset: " + assetIds[i]))
617+
618+
619+func returnPayments (caller,payments) = {
620+ func parsePayments (acc,payment) = (acc :+ ScriptTransfer(caller, payment.amount, payment.assetId))
621+
622+ let $l = payments
623+ let $s = size($l)
624+ let $acc0 = nil
625+ func $f0_1 ($a,$i) = if (($i >= $s))
626+ then $a
627+ else parsePayments($a, $l[$i])
628+
629+ func $f0_2 ($a,$i) = if (($i >= $s))
630+ then $a
631+ else throw("List size exceeds 15")
632+
633+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
634+ }
635+
636+
637+func checkDAppThreshold (newBalances) = {
638+ let dAppThresholdCoef = valueOrErrorMessage(getInteger(this, kDAppThresholdCoef), "No dAppThresholdCoef key")
639+ let thresholdScale = 10000
640+ func iterAllBalances (acc,tokenBalance) = {
641+ let $t01350913550 = acc
642+ let thresholdError = $t01350913550._1
643+ let cutedBalances = $t01350913550._2
644+ func iterCutedBalances (checkRatio,checkedBalance) = {
645+ let ratio = fraction(tokenBalance, thresholdScale, checkedBalance)
646+ if (if ((ratio > (dAppThresholdCoef * thresholdScale)))
647+ then true
648+ else (fraction(1, thresholdScale, dAppThresholdCoef) > ratio))
649+ then throw("New balance in assets of the DApp is less than threshold")
650+ else false
651+ }
652+
653+ $Tuple2({
654+ let $l = cutedBalances
655+ let $s = size($l)
656+ let $acc0 = thresholdError
657+ func $f0_1 ($a,$i) = if (($i >= $s))
658+ then $a
659+ else iterCutedBalances($a, $l[$i])
660+
661+ func $f0_2 ($a,$i) = if (($i >= $s))
662+ then $a
663+ else throw("List size exceeds 15")
664+
665+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
666+ }, removeByIndex(cutedBalances, 0))
667+ }
668+
669+ let $t01407214175 = {
670+ let $l = newBalances
671+ let $s = size($l)
672+ let $acc0 = $Tuple2(false, removeByIndex(newBalances, 0))
673+ func $f0_1 ($a,$i) = if (($i >= $s))
674+ then $a
675+ else iterAllBalances($a, $l[$i])
676+
677+ func $f0_2 ($a,$i) = if (($i >= $s))
678+ then $a
679+ else throw("List size exceeds 15")
680+
681+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
682+ }
683+ let thresholdError = $t01407214175._1
684+ let b = $t01407214175._2
685+ thresholdError
686+ }
687+
688+
689+@Callable(msg)
690+func D (xp,amp) = {
691+ let D = get_D_internal(xp, amp)
692+ $Tuple2([IntegerEntry("D", D)], D)
693+ }
694+
695+
696+
697+@Callable(msg)
698+func init (coins,_A,firstHarvest) = if (!(isDataStorageUntouched(this)))
699+ then throw("Already initialized")
700+ else {
701+ let shareName = "s_Multi_USD"
702+ let shareDescription = ("ShareToken of SwopFi protocol for MultiStable USD pool at address " + toString(this))
703+ let issueToken = Issue(shareName, shareDescription, 0, 6, true)
704+ let tokenId = calculateAssetId(issueToken)
705+ let baseEntry = [StringEntry(kAssets, coins), IntegerEntry("initial_A", _A), IntegerEntry("future_A", _A), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_flat")), StringEntry(kShareAssetId, toBase58String(tokenId)), IntegerEntry(kShareAssetSupply, 0), IntegerEntry(kDAppThresholdCoef, 15), BooleanEntry(kActive, true), issueToken]
706+ if (firstHarvest)
707+ then (baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
708+ else baseEntry
709+ }
710+
711+
712+
713+@Callable(msg)
714+func addLiquidity (minMintAmount,stakeFarming) = valueOrElse(isActive(), {
715+ let amp = _A()
716+ let xp = _xp()
717+ let D0 = if ((shareSupply == 0))
718+ then 0
719+ else getDMem(xp, amp)
720+ let payments = msg.payments
721+ let n = size(payments)
722+ func validPayments (n) = if ((n > nCoins))
723+ then throw(("payments size > " + toString(nCoins)))
724+ else if ((1 > n))
725+ then throw("payments size < 1")
726+ else if (if ((shareSupply == 0))
727+ then (nCoins != n)
728+ else false)
729+ then throw("initial deposit requires all coins")
730+ else {
731+ func paymantValid (acc,payment) = if (containsElement(assetIds, getStrAssetId(payment.assetId)))
732+ then true
733+ else throw("Invalid asset in payment")
734+
735+ let $l = payments
736+ let $s = size($l)
737+ let $acc0 = false
738+ func $f0_1 ($a,$i) = if (($i >= $s))
739+ then $a
740+ else paymantValid($a, $l[$i])
741+
742+ func $f0_2 ($a,$i) = if (($i >= $s))
743+ then $a
744+ else throw("List size exceeds 15")
745+
746+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
747+ }
748+
749+ if (!(validPayments(n)))
750+ then throw()
751+ else {
752+ let suspicious = checkSuspicious()
753+ if (suspicious._1)
754+ then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, payments))
755+ else {
756+ let paymentsSize = size(payments)
757+ func parsePayments (acc,assetId) = {
758+ let $t01658116610 = acc
759+ let newBalances = $t01658116610._1
760+ let i = $t01658116610._2
761+ let j = $t01658116610._3
762+ if (if ((paymentsSize > j))
763+ then (getStrAssetId(payments[j].assetId) == assetId)
764+ else false)
765+ then {
766+ let s = stake(payments[j].amount, getStrAssetId(payments[j].assetId))
767+ if ((s == s))
768+ then $Tuple3((newBalances :+ (xp[i] + payments[j].amount)), (i + 1), (j + 1))
769+ else throw("Strict value is not equal to itself.")
770+ }
771+ else $Tuple3((newBalances :+ xp[i]), (i + 1), j)
772+ }
773+
774+ let $t01691617002 = {
775+ let $l = assetIds
776+ let $s = size($l)
777+ let $acc0 = $Tuple3(nil, 0, 0)
778+ func $f0_1 ($a,$i) = if (($i >= $s))
779+ then $a
780+ else parsePayments($a, $l[$i])
781+
782+ func $f0_2 ($a,$i) = if (($i >= $s))
783+ then $a
784+ else throw("List size exceeds 15")
785+
786+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
787+ }
788+ let newBalances = $t01691617002._1
789+ let k = $t01691617002._2
790+ let parsedPayments = $t01691617002._3
791+ if (((paymentsSize - 1) > parsedPayments))
792+ then throw("Incorect payments order")
793+ else if (checkDAppThreshold(newBalances))
794+ then throw()
795+ else {
796+ let D1 = getDMem(newBalances, amp)
797+ if (assert((D1 > D0)))
798+ then throw("D1 > D0")
799+ else {
800+ let feeDiscount = calculateFeeDiscount(msg.caller)
801+ func calcScriptActions (acc,newBalance) = {
802+ let $t01740717448 = acc
803+ let invBalances = $t01740717448._1
804+ let scriptActions = $t01740717448._2
805+ let i = $t01740717448._3
806+ if ((shareSupply > 0))
807+ then {
808+ let _fee = ((fraction(fee, feeDiscount, feeScale6, CEILING) * nCoins) / (4 * (nCoins - 1)))
809+ let fees = {
810+ let idealBalance = fraction(D1, xp[i], D0)
811+ let difference = if ((idealBalance > newBalance))
812+ then (idealBalance - newBalance)
813+ else (newBalance - idealBalance)
814+ fraction(_fee, difference, feeScale6)
815+ }
816+ let governanceFees = fraction(fees, feeGovernance, feeScale6)
817+ let finalBalance = (newBalance - governanceFees)
818+ let invariantBalance = (newBalance - fees)
819+ let us = unstake(fees, assetIds[i])
820+ if ((us == us))
821+ then $Tuple3((invBalances :+ invariantBalance), (scriptActions ++ [ScriptTransfer(capMoneyBoxAddress, (fees - governanceFees), fromBase58String(assetIds[i])), ScriptTransfer(moneyBoxAddress, governanceFees, fromBase58String(assetIds[i])), IntegerEntry((assetIds[i] + kAssetBalance), finalBalance)]), (i + 1))
822+ else throw("Strict value is not equal to itself.")
823+ }
824+ else $Tuple3((invBalances :+ newBalance), (scriptActions :+ IntegerEntry((assetIds[i] + kAssetBalance), newBalance)), (i + 1))
825+ }
826+
827+ let $t01878518873 = {
828+ let $l = newBalances
829+ let $s = size($l)
830+ let $acc0 = $Tuple3(nil, nil, 0)
831+ func $f1_1 ($a,$i) = if (($i >= $s))
832+ then $a
833+ else calcScriptActions($a, $l[$i])
834+
835+ func $f1_2 ($a,$i) = if (($i >= $s))
836+ then $a
837+ else throw("List size exceeds 15")
838+
839+ $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)
840+ }
841+ let invBalances = $t01878518873._1
842+ let scriptActions = $t01878518873._2
843+ let D2 = getDMem(invBalances, amp)
844+ let mint_amount = if ((shareSupply == 0))
845+ then D1
846+ else fraction(shareSupply, (D2 - D0), D0)
847+ if (assert((mint_amount >= minMintAmount)))
848+ then throw("Slippage screwed you")
849+ else if (stakeFarming)
850+ then {
851+ let re = invoke(this, "reissueShare", [mint_amount], nil)
852+ if ((re == re))
853+ then {
854+ let s = invoke(farmingAddress, "lockShareTokens", [toString(this)], [AttachedPayment(shareAssetId, mint_amount)])
855+ if ((s == s))
856+ then (scriptActions :+ IntegerEntry(kShareAssetSupply, (shareSupply + mint_amount)))
857+ else throw("Strict value is not equal to itself.")
858+ }
859+ else throw("Strict value is not equal to itself.")
860+ }
861+ else (scriptActions ++ [Reissue(shareAssetId, mint_amount, true), ScriptTransfer(msg.caller, mint_amount, shareAssetId), IntegerEntry(kShareAssetSupply, (shareSupply + mint_amount))])
862+ }
863+ }
864+ }
865+ }
866+ })
867+
868+
869+
870+@Callable(msg)
871+func reissueShare (amount) = valueOrElse(isSelfCall(msg), [Reissue(shareAssetId, amount, true)])
872+
873+
874+
875+@Callable(msg)
876+func getDy (assetFrom,assetTo,dx,userAddress) = {
877+ let xp = _xp()
878+ let fromIndex = valueOrErrorMessage(indexOf(assetIds, assetFrom), "unknown token in")
879+ let toIndex = valueOrErrorMessage(indexOf(assetIds, assetTo), "unknown token out")
880+ let x = (xp[fromIndex] + dx)
881+ let y = getY(fromIndex, toIndex, x, xp)
882+ let dy = ((xp[toIndex] - y) - 1)
883+ let feeDiscount = calculateFeeDiscount(Address(fromBase58String(userAddress)))
884+ let _fee = fraction(fraction(fee, feeDiscount, feeScale6, CEILING), dy, feeScale6)
885+ $Tuple2(nil, $Tuple2((dy - _fee), _fee))
886+ }
887+
888+
889+
890+@Callable(msg)
891+func exchange (tokenOut,min_dy) = valueOrElse(isActive(), if ((size(msg.payments) != 1))
892+ then throw("size(payments) != 1")
893+ else {
894+ let suspicious = checkSuspicious()
895+ if (suspicious._1)
896+ then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, msg.payments))
897+ else {
898+ let payment = msg.payments[0]
899+ let tokenIn = getStrAssetId(payment.assetId)
900+ let tokenOutB58 = fromBase58String(tokenOut)
901+ let dx = payment.amount
902+ let fromIndex = valueOrErrorMessage(indexOf(assetIds, tokenIn), "unknown token in")
903+ let toIndex = valueOrErrorMessage(indexOf(assetIds, tokenOut), "unknown token out")
904+ let xp = _xp()
905+ let x = (xp[fromIndex] + dx)
906+ let y = getY(fromIndex, toIndex, x, xp)
907+ let _dy = ((xp[toIndex] - y) - 1)
908+ let feeDiscount = calculateFeeDiscount(msg.caller)
909+ let _fee = fraction(_dy, fraction(fee, feeDiscount, feeScale6, CEILING), feeScale6)
910+ let dy = (_dy - _fee)
911+ let governanceFees = fraction(_fee, feeGovernance, feeScale6)
912+ if (assert((dy >= min_dy)))
913+ then throw("Exchange resulted in fewer coins than expected")
914+ else {
915+ func makeNewBalances (acc,tokenBalance) = {
916+ let $t02158521611 = acc
917+ let newBalances = $t02158521611._1
918+ let i = $t02158521611._2
919+ if ((i == fromIndex))
920+ then $Tuple2((newBalances :+ (tokenBalance + dx)), (i + 1))
921+ else if ((i == toIndex))
922+ then $Tuple2((newBalances :+ (tokenBalance + dy)), (i + 1))
923+ else $Tuple2((newBalances :+ tokenBalance), (i + 1))
924+ }
925+
926+ let $t02186121922 = {
927+ let $l = xp
928+ let $s = size($l)
929+ let $acc0 = $Tuple2(nil, 0)
930+ func $f0_1 ($a,$i) = if (($i >= $s))
931+ then $a
932+ else makeNewBalances($a, $l[$i])
933+
934+ func $f0_2 ($a,$i) = if (($i >= $s))
935+ then $a
936+ else throw("List size exceeds 15")
937+
938+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
939+ }
940+ let newBalances = $t02186121922._1
941+ let i = $t02186121922._2
942+ if (checkDAppThreshold(newBalances))
943+ then throw()
944+ else {
945+ let s = stake(payment.amount, getStrAssetId(payment.assetId))
946+ if ((s == s))
947+ then {
948+ let us = unstake((dy + _fee), tokenOut)
949+ if ((us == us))
950+ then $Tuple2([IntegerEntry((tokenIn + kAssetBalance), x), IntegerEntry((tokenOut + kAssetBalance), ((xp[toIndex] - dy) - governanceFees)), ScriptTransfer(msg.caller, dy, tokenOutB58), ScriptTransfer(moneyBoxAddress, governanceFees, tokenOutB58), ScriptTransfer(moneyBoxAddress, (_fee - governanceFees), tokenOutB58)], $Tuple2(dy, tokenOutB58))
951+ else throw("Strict value is not equal to itself.")
952+ }
953+ else throw("Strict value is not equal to itself.")
954+ }
955+ }
956+ }
957+ })
958+
959+
960+
961+@Callable(msg)
962+func withdraw (minAmounts,unlockAmount) = valueOrElse(isActive(), if ((size(msg.payments) != 1))
963+ then throw("size(payments) != 1")
964+ else {
965+ let suspicious = checkSuspicious()
966+ if (suspicious._1)
967+ then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, msg.payments))
968+ else {
969+ let payment = msg.payments[0]
970+ let tokenIn = payment.assetId
971+ if ((tokenIn != shareAssetId))
972+ then throw("unknown token")
973+ else {
974+ let _amount = payment.amount
975+ let total_supply = shareSupply
976+ let unlock = if ((unlockAmount > 0))
977+ then invoke(farmingAddress, "withdrawShareTokens", [toString(this), unlockAmount], nil)
978+ else 0
979+ if ((unlock == unlock))
980+ then {
981+ let withdrawAmount = (_amount + unlockAmount)
982+ func calcScriptActions (acc,balance) = {
983+ let $t02332723355 = acc
984+ let scriptActions = $t02332723355._1
985+ let i = $t02332723355._2
986+ let wAmount = fraction(balance, withdrawAmount, total_supply)
987+ if (assert((wAmount >= minAmounts[i])))
988+ then throw("Withdrawal resulted in fewer coins than expected")
989+ else {
990+ let us = unstake(wAmount, assetIds[i])
991+ if ((us == us))
992+ then $Tuple2((scriptActions ++ [IntegerEntry((assetIds[i] + kAssetBalance), (balance - wAmount)), ScriptTransfer(msg.caller, wAmount, fromBase58String(assetIds[i]))]), (i + 1))
993+ else throw("Strict value is not equal to itself.")
994+ }
995+ }
996+
997+ let $t02384523913 = {
998+ let $l = _xp()
999+ let $s = size($l)
1000+ let $acc0 = $Tuple2(nil, 0)
1001+ func $f0_1 ($a,$i) = if (($i >= $s))
1002+ then $a
1003+ else calcScriptActions($a, $l[$i])
1004+
1005+ func $f0_2 ($a,$i) = if (($i >= $s))
1006+ then $a
1007+ else throw("List size exceeds 15")
1008+
1009+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
1010+ }
1011+ let scriptActions = $t02384523913._1
1012+ let i = $t02384523913._2
1013+ (scriptActions ++ [Burn(shareAssetId, withdrawAmount), IntegerEntry(kShareAssetSupply, (shareSupply - withdrawAmount))])
1014+ }
1015+ else throw("Strict value is not equal to itself.")
1016+ }
1017+ }
1018+ })
1019+
1020+
1021+
1022+@Callable(msg)
1023+func calcWithdrawOneCoin (tokenAmount,tokenOut,user) = {
1024+ let i = valueOrErrorMessage(indexOf(assetIds, tokenOut), "unknown token out")
1025+ $Tuple2(nil, _calcWithdrawOneCoin(_xp(), tokenAmount, i, Address(fromBase58String(user)))._1)
1026+ }
1027+
1028+
1029+
1030+@Callable(msg)
1031+func withdrawOneCoin (tokenOut,minAmount,unlockAmount) = valueOrElse(isActive(), if ((size(msg.payments) != 1))
1032+ then throw("size(payments) != 1")
1033+ else {
1034+ let suspicious = checkSuspicious()
1035+ if (suspicious._1)
1036+ then (suspendSuspicious(suspicious._2) ++ returnPayments(msg.caller, msg.payments))
1037+ else {
1038+ let payment = msg.payments[0]
1039+ let tokenIn = payment.assetId
1040+ if ((tokenIn != shareAssetId))
1041+ then throw("unknown token")
1042+ else {
1043+ let outIndex = valueOrErrorMessage(indexOf(assetIds, tokenOut), "unknown token out")
1044+ let _tokenAmount = payment.amount
1045+ let unlock = if ((unlockAmount > 0))
1046+ then invoke(farmingAddress, "withdrawShareTokens", [toString(this), unlockAmount], nil)
1047+ else 0
1048+ if ((unlock == unlock))
1049+ then {
1050+ let withdrawAmount = (_tokenAmount + unlockAmount)
1051+ let xp = _xp()
1052+ let $t02514425225 = _calcWithdrawOneCoin(xp, withdrawAmount, outIndex, msg.caller)
1053+ let dy = $t02514425225._1
1054+ let dy_fee = $t02514425225._2
1055+ if (assert((dy >= minAmount)))
1056+ then throw("Not enough coins removed")
1057+ else {
1058+ let governanceFees = fraction(dy_fee, feeGovernance, feeScale6)
1059+ let dy_and_fee = (dy + dy_fee)
1060+ func makeNewBalances (acc,tokenBalance) = {
1061+ let $t02548325509 = acc
1062+ let newBalances = $t02548325509._1
1063+ let i = $t02548325509._2
1064+ if ((i == outIndex))
1065+ then $Tuple2((newBalances :+ (tokenBalance - dy_and_fee)), (i + 1))
1066+ else $Tuple2((newBalances :+ tokenBalance), (i + 1))
1067+ }
1068+
1069+ let $t02567625737 = {
1070+ let $l = xp
1071+ let $s = size($l)
1072+ let $acc0 = $Tuple2(nil, 0)
1073+ func $f0_1 ($a,$i) = if (($i >= $s))
1074+ then $a
1075+ else makeNewBalances($a, $l[$i])
1076+
1077+ func $f0_2 ($a,$i) = if (($i >= $s))
1078+ then $a
1079+ else throw("List size exceeds 15")
1080+
1081+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15)
1082+ }
1083+ let newBalances = $t02567625737._1
1084+ let i = $t02567625737._2
1085+ if (checkDAppThreshold(newBalances))
1086+ then throw()
1087+ else {
1088+ let us = unstake(dy_and_fee, tokenOut)
1089+ if ((us == us))
1090+ then [ScriptTransfer(msg.caller, dy, fromBase58String(tokenOut)), IntegerEntry((assetIds[i] + kAssetBalance), (xp[i] - dy_and_fee)), Burn(shareAssetId, withdrawAmount), ScriptTransfer(moneyBoxAddress, governanceFees, fromBase58String(tokenOut)), ScriptTransfer(capMoneyBoxAddress, (dy_fee - governanceFees), fromBase58String(tokenOut)), IntegerEntry(kShareAssetSupply, (shareSupply - withdrawAmount))]
1091+ else throw("Strict value is not equal to itself.")
1092+ }
1093+ }
1094+ }
1095+ else throw("Strict value is not equal to itself.")
1096+ }
1097+ }
1098+ })
1099+
1100+
1101+
1102+@Callable(msg)
1103+func A () = $Tuple2(nil, _A())
1104+
1105+
1106+
1107+@Callable(msg)
1108+func getVirtualPrice () = {
1109+ let D = get_D(_xp(), _A())
1110+ $Tuple2(nil, fraction(D, PRECISION, shareSupply))
1111+ }
1112+
1113+
1114+
1115+@Callable(msg)
1116+func calcTokenAmount (amounts,deposit) = {
1117+ let amp = _A()
1118+ let balances = _xp()
1119+ let D0 = getDMem(balances, amp)
1120+ func calcNewBalances (acc,balance) = {
1121+ let $t02669826724 = acc
1122+ let newBalances = $t02669826724._1
1123+ let i = $t02669826724._2
1124+ let newBalance = (balance + (if (deposit)
1125+ then amounts[i]
1126+ else -(amounts[i])))
1127+ $Tuple2((newBalances :+ newBalance), (i + 1))
1128+ }
1129+
1130+ let newBalances = ( let $l = balances
1131+ let $s = size($l)
1132+ let $acc0 = $Tuple2(nil, 0)
1133+ func $f0_1 ($a,$i) = if (($i >= $s))
1134+ then $a
1135+ else calcNewBalances($a, $l[$i])
1136+
1137+ func $f0_2 ($a,$i) = if (($i >= $s))
1138+ then $a
1139+ else throw("List size exceeds 15")
1140+
1141+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15))._1
1142+ let D1 = getDMem(newBalances, amp)
1143+ let diff = if (deposit)
1144+ then (D1 - D0)
1145+ else (D0 - D1)
1146+ $Tuple2(nil, fraction(diff, shareSupply, D0))
1147+ }
1148+
1149+
1150+
1151+@Callable(msg)
1152+func rampA (_futureA,_futureTime) = valueOrElse(isActive(), valueOrElse(isAdminCall(msg), if (assert((blockTimestamp >= (initial_A_time + MIN_RAMP_TIME))))
1153+ then throw("too often")
1154+ else if (assert((_futureTime >= (blockTimestamp + MIN_RAMP_TIME))))
1155+ then throw("insufficient time")
1156+ else {
1157+ let _initial_A = _A()
1158+ if (assert(if ((_futureA > 0))
1159+ then (MAX_A > _futureA)
1160+ else false))
1161+ then throw("out of base range")
1162+ else if (assert(if (if ((_futureA >= _initial_A))
1163+ then ((_initial_A * MAX_A_CHANGE) >= _futureA)
1164+ else false)
1165+ then true
1166+ else if ((_initial_A > _futureA))
1167+ then ((_futureA * MAX_A_CHANGE) >= _initial_A)
1168+ else false))
1169+ then throw("out of range")
1170+ else [IntegerEntry("initial_A", _initial_A), IntegerEntry("future_A", _futureA), IntegerEntry("initial_A_time", blockTimestamp), IntegerEntry("future_A_time", _futureTime)]
1171+ }))
1172+
1173+
1174+
1175+@Callable(msg)
1176+func stopRampA () = valueOrElse(isActive(), valueOrElse(isAdminCall(msg), {
1177+ let currentA = _A()
1178+[IntegerEntry("initial_A", currentA), IntegerEntry("future_A", currentA), IntegerEntry("initial_A_time", blockTimestamp), IntegerEntry("future_A_time", blockTimestamp)]
1179+ }))
1180+
1181+
1182+
1183+@Callable(msg)
1184+func shutdown () = valueOrElse(isAdminCall(msg), if (!(active))
1185+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
1186+ else suspend("Paused by admin"))
1187+
1188+
1189+
1190+@Callable(msg)
1191+func activate () = valueOrElse(isAdminCall(msg), if (active)
1192+ then throwIsActive()
1193+ else [BooleanEntry(kActive, true), DeleteEntry(kCause)])
1194+
1195+
1196+
1197+@Callable(msg)
1198+func keepLimitForFirstHarvest (shareLimit) = valueOrElse(isActive(), valueOrElse(isAdminCall(msg), [IntegerEntry(kShareLimit, shareLimit)]))
1199+
1200+
1201+@Verifier(tx)
1202+func verify () = {
1203+ let multiSignedByAdmins = {
1204+ let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
1205+ then 1
1206+ else 0
1207+ let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
1208+ then 1
1209+ else 0
1210+ let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
1211+ then 1
1212+ else 0
1213+ (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
1214+ }
1215+ match tx {
1216+ case inv: InvokeScriptTransaction =>
1217+ let callTakeIntoAccount = if ((inv.dApp == this))
1218+ then (inv.function == "takeIntoAccountExtraFunds")
1219+ else false
1220+ let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
1221+ then true
1222+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
1223+ then true
1224+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
1225+ then true
1226+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyInvoke)
1227+ if (if (callTakeIntoAccount)
1228+ then signedByAdmin
1229+ else false)
1230+ then true
1231+ else multiSignedByAdmins
1232+ case _ =>
1233+ multiSignedByAdmins
1234+ }
1235+ }
1236+

github/deemru/w8io/169f3d6 
69.48 ms