tx · 4KSCGn3h45BzPgAz7xiGbiq8bQdjgJRjZ7APVfNzS5aZ

3MrLtjvYRxX9QbUcGFnaTPAGhePkHfEqhpD:  -0.01000000 Waves

2021.07.26 17:02 [1630707] smart account 3MrLtjvYRxX9QbUcGFnaTPAGhePkHfEqhpD > SELF 0.00000000 Waves

{ "type": 13, "id": "4KSCGn3h45BzPgAz7xiGbiq8bQdjgJRjZ7APVfNzS5aZ", "fee": 1000000, "feeAssetId": null, "timestamp": 1627308230304, "version": 2, "chainId": 84, "sender": "3MrLtjvYRxX9QbUcGFnaTPAGhePkHfEqhpD", "senderPublicKey": "8csYSRcH2c4sTDn8cHdus1SsHCBqRM4MWLgb4vBSYC3J", "proofs": [ "4pHW2rwduerfpLej2brBK9xmPAg9MDhoaqa9dM1BChokMcmVZ62mhNJbh1pffv9EyNiqbfKYVpGjBARbrcignH7S" ], "script": "base64:AAIFAAAAAAAAACAIAhIAEgMKAQESBAoCAQESABIECgIBARIAEgASAwoBAQAAAEwAAAAAB3ZlcnNpb24CAAAABTIuMC4wAAAAAAhrVmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAHa0FjdGl2ZQIAAAAGYWN0aXZlAAAAAAlrQXNzZXRJZEECAAAACkFfYXNzZXRfaWQAAAAACWtBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAAJa0JhbGFuY2VBAgAAAA9BX2Fzc2V0X2JhbGFuY2UAAAAACWtCYWxhbmNlQgIAAAAPQl9hc3NldF9iYWxhbmNlAAAAAA1rU2hhcmVBc3NldElkAgAAAA5zaGFyZV9hc3NldF9pZAAAAAARa1NoYXJlQXNzZXRTdXBwbHkCAAAAEnNoYXJlX2Fzc2V0X3N1cHBseQAAAAAEa0ZlZQIAAAAKY29tbWlzc2lvbgAAAAASa0ZlZVNjYWxlRGVsaW1pdGVyAgAAABpjb21taXNzaW9uX3NjYWxlX2RlbGltaXRlcgAAAAAKa0ludmFyaWFudAIAAAAJaW52YXJpYW50AAAAAAZrQ2F1c2UC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AAAAxhZG1pblB1YktleTEGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMYWRtaW5QdWJLZXkyBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADGFkbWluUHViS2V5MwYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAphZG1TdGFraW5nAwMDAwUAAAATY2FsbFRha2VJbnRvQWNjb3VudAYFAAAAC2NhbGxTdGFraW5nBgUAAAAPZXhjaGFuZ2VUb1dhdmVzBQAAAA1zaWduZWRCeUFkbWluBwYFAAAAE211bHRpU2lnbmVkQnlBZG1pbnMFAAAAE211bHRpU2lnbmVkQnlBZG1pbnOJtWm6", "height": 1630707, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let version = "2.0.0"
5+
6+let kVersion = "version"
7+
8+let kActive = "active"
9+
10+let kAssetIdA = "A_asset_id"
11+
12+let kAssetIdB = "B_asset_id"
13+
14+let kBalanceA = "A_asset_balance"
15+
16+let kBalanceB = "B_asset_balance"
17+
18+let kShareAssetId = "share_asset_id"
19+
20+let kShareAssetSupply = "share_asset_supply"
21+
22+let kFee = "commission"
23+
24+let kFeeScaleDelimiter = "commission_scale_delimiter"
25+
26+let kInvariant = "invariant"
27+
28+let kCause = "shutdown_cause"
29+
30+let keyAdminPubKey1 = "admin_pub_1"
31+
32+let keyAdminPubKey2 = "admin_pub_2"
33+
34+let keyAdminPubKey3 = "admin_pub_3"
35+
36+let USDNToWavesExchanger = Address(base58'3N71TS4RSqLDJgLw2h9cdwUwhfQ7aBoaFb1')
37+
38+let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
39+
40+func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) {
41+ case string: String =>
42+ fromBase58String(string)
43+ case nothing =>
44+ throw("Admin public key is empty")
45+}
46+
47+
48+let adminPubKey1 = getAdminPub(keyAdminPubKey1)
49+
50+let adminPubKey2 = getAdminPub(keyAdminPubKey2)
51+
52+let adminPubKey3 = getAdminPub(keyAdminPubKey3)
53+
54+let admStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
55+
56+let admStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
57+
58+let govAddr = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
59+
60+let stakingAddress = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg')
61+
62+let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
63+
64+let stakingFeeInUSDN = 270000
65+
66+let isActive = getBooleanValue(this, kActive)
67+
68+let strAssetIdA = getStringValue(this, kAssetIdA)
69+
70+let strAssetIdB = getStringValue(this, kAssetIdB)
71+
72+let assetIdA = if ((strAssetIdA == "WAVES"))
73+ then unit
74+ else fromBase58String(strAssetIdA)
75+
76+let assetIdB = if ((strAssetIdB == "WAVES"))
77+ then unit
78+ else fromBase58String(strAssetIdB)
79+
80+let assetNameA = match assetIdA {
81+ case id: ByteVector =>
82+ value(assetInfo(id)).name
83+ case waves: Unit =>
84+ "WAVES"
85+ case _ =>
86+ throw("Match error")
87+}
88+
89+let assetNameB = match assetIdB {
90+ case id: ByteVector =>
91+ value(assetInfo(id)).name
92+ case waves: Unit =>
93+ "WAVES"
94+ case _ =>
95+ throw("Match error")
96+}
97+
98+let balanceA = getIntegerValue(this, kBalanceA)
99+
100+let balanceB = getIntegerValue(this, kBalanceB)
101+
102+let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
103+
104+let shareAssetSupply = getIntegerValue(this, kShareAssetSupply)
105+
106+let invariant = getIntegerValue(this, kInvariant)
107+
108+let fee = 500
109+
110+let feeGovernance = 200
111+
112+let feeScale6 = 1000000
113+
114+let scale3 = 1000
115+
116+let scale8 = 100000000
117+
118+let scale12 = 1000000000000
119+
120+let slippageScale3 = 1000
121+
122+let digits8 = 8
123+
124+let dAppThreshold = 50
125+
126+let dAppThresholdScale2 = 100
127+
128+let exchangeRatioLimitMin = 90000000
129+
130+let exchangeRatioLimitMax = 110000000
131+
132+let alpha = 50
133+
134+let alphaDigits = 2
135+
136+let beta = 46000000
137+
138+func accountBalance (assetId) = match assetId {
139+ case id: ByteVector =>
140+ assetBalance(this, id)
141+ case waves: Unit =>
142+ wavesBalance(this).available
143+ case _ =>
144+ throw("Match error")
145+}
146+
147+
148+let stakedAmountUSDN = match getInteger(stakingAddress, ((("rpd_balance_" + toBase58String(USDN)) + "_") + toString(this))) {
149+ case staked: Int =>
150+ staked
151+ case nothing: Unit =>
152+ 0
153+ case _ =>
154+ throw("Match error")
155+}
156+
157+let availableBalanceA = (balanceA - (if ((assetIdA == USDN))
158+ then stakedAmountUSDN
159+ else 0))
160+
161+let availableBalanceB = (balanceB - (if ((assetIdB == USDN))
162+ then stakedAmountUSDN
163+ else 0))
164+
165+let accountBalanceWithStakedA = (accountBalance(assetIdA) + (if ((assetIdA == USDN))
166+ then stakedAmountUSDN
167+ else 0))
168+
169+let accountBalanceWithStakedB = (accountBalance(assetIdB) + (if ((assetIdB == USDN))
170+ then stakedAmountUSDN
171+ else 0))
172+
173+let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
174+ then (accountBalanceWithStakedB >= balanceB)
175+ else false
176+
177+func skewness (x,y) = (((fraction(scale12, x, y) + fraction(scale12, y, x)) / 2) / 10000)
178+
179+
180+func invariantCalc (x,y) = {
181+ let sk = skewness(x, y)
182+ (fraction((x + y), scale8, pow(sk, digits8, alpha, alphaDigits, digits8, CEILING)) + (2 * fraction(pow(fraction(x, y, scale8), 0, 5, 1, (digits8 / 2), DOWN), pow((sk - beta), digits8, alpha, alphaDigits, digits8, DOWN), scale8)))
183+ }
184+
185+
186+func calculateSendAmount (amountToSendEstimated,minTokenReceiveAmount,tokenReceiveAmount,tokenId) = {
187+ let slippageValue = (scale8 - ((scale8 * 1) / 10000000))
188+ let deltaBetweenMaxAndMinSendValue = (amountToSendEstimated - minTokenReceiveAmount)
189+ let x = (balanceA + tokenReceiveAmount)
190+ let y = (balanceB + tokenReceiveAmount)
191+ let invariantNew = if ((tokenId == assetIdA))
192+ then invariantCalc(x, (balanceB - amountToSendEstimated))
193+ else if ((tokenId == assetIdB))
194+ then invariantCalc((balanceA - amountToSendEstimated), y)
195+ else throw("Wrong asset in payment")
196+ let invariantEstimatedRatio = fraction(scale8, invariant, invariantNew)
197+ func getStepAmount (acc,step) = if ((acc == -1))
198+ then {
199+ let amountToSend = (amountToSendEstimated - ((step * deltaBetweenMaxAndMinSendValue) / 5))
200+ let stepInvariant = if ((tokenId == assetIdA))
201+ then invariantCalc(x, (balanceB - amountToSend))
202+ else invariantCalc((balanceA - amountToSend), y)
203+ if ((stepInvariant > invariant))
204+ then amountToSend
205+ else -1
206+ }
207+ else acc
208+
209+ let stepAmount = {
210+ let $list60496092 = [1, 2, 3, 4, 5]
211+ let $size60496092 = size($list60496092)
212+ let $acc060496092 = -1
213+ if (($size60496092 == 0))
214+ then $acc060496092
215+ else {
216+ let $acc160496092 = getStepAmount($acc060496092, $list60496092[0])
217+ if (($size60496092 == 1))
218+ then $acc160496092
219+ else {
220+ let $acc260496092 = getStepAmount($acc160496092, $list60496092[1])
221+ if (($size60496092 == 2))
222+ then $acc260496092
223+ else {
224+ let $acc360496092 = getStepAmount($acc260496092, $list60496092[2])
225+ if (($size60496092 == 3))
226+ then $acc360496092
227+ else {
228+ let $acc460496092 = getStepAmount($acc360496092, $list60496092[3])
229+ if (($size60496092 == 4))
230+ then $acc460496092
231+ else {
232+ let $acc560496092 = getStepAmount($acc460496092, $list60496092[4])
233+ if (($size60496092 == 5))
234+ then $acc560496092
235+ else {
236+ let $acc660496092 = getStepAmount($acc560496092, $list60496092[5])
237+ throw("List size exceed 5")
238+ }
239+ }
240+ }
241+ }
242+ }
243+ }
244+ }
245+ if ((0 > stepAmount))
246+ then throw("something went wrong while working with amountToSend")
247+ else if (if ((invariantEstimatedRatio > slippageValue))
248+ then (invariantNew > invariant)
249+ else false)
250+ then amountToSendEstimated
251+ else stepAmount
252+ }
253+
254+
255+func getAssetInfo (assetId) = match assetId {
256+ case id: ByteVector =>
257+ let stringId = toBase58String(id)
258+ let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
259+ $Tuple3(stringId, info.name, info.decimals)
260+ case waves: Unit =>
261+ $Tuple3("WAVES", "WAVES", 8)
262+ case _ =>
263+ throw("Match error")
264+}
265+
266+
267+func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
268+
269+
270+func deductStakingFee (amount,assetId) = if ((assetId == USDN))
271+ then {
272+ let result = (amount - stakingFeeInUSDN)
273+ if ((0 >= result))
274+ then throw((((("Insufficient amount " + toString(amount)) + " to deduct staking fee ") + toString(stakingFeeInUSDN)) + " USD-N"))
275+ else result
276+ }
277+ else amount
278+
279+
280+func throwIsActive () = throw("DApp is already active")
281+
282+
283+func throwIsInactive () = throw("DApp is inactive at this moment")
284+
285+
286+func throwOnlyAdmin () = throw("Only admin can call this function")
287+
288+
289+func throwAssets () = throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
290+
291+
292+func throwThreshold (threshold,amountA,amountB) = throw(((((((((("New balance in assets of the DApp is less than threshold " + toString(threshold)) + ": ") + toString(amountA)) + " ") + assetNameA) + ", ") + toString(amountB)) + " ") + assetNameB))
293+
294+
295+func throwInsufficientAvailableBalance (amount,available,assetName) = throw((((((((("Insufficient DApp balance to pay " + toString(amount)) + " ") + assetName) + " due to staking. Available: ") + toString(available)) + " ") + assetName) + ". Please contact support in Telegram: https://t.me/swopfisupport"))
296+
297+
298+func throwInsufficientAvailableBalances (amountA,amountB) = throw((((((((((((((((("Insufficient DApp balance to pay " + toString(amountA)) + " ") + assetNameA) + " and ") + toString(amountB)) + " ") + assetNameB) + " due to staking. Available: ") + toString(availableBalanceA)) + " ") + assetNameA) + " and ") + toString(availableBalanceB)) + " ") + assetNameB) + ". Please contact support in Telegram: https://t.me/swopfisupport"))
299+
300+
301+func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
302+
303+
304+@Callable(i)
305+func init () = {
306+ let $t087688845 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
307+ let pmtAmountA = $t087688845._1
308+ let pmtAssetIdA = $t087688845._2
309+ let $t088508927 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
310+ let pmtAmountB = $t088508927._1
311+ let pmtAssetIdB = $t088508927._2
312+ let $t089329009 = getAssetInfo(pmtAssetIdA)
313+ let pmtStrAssetIdA = $t089329009._1
314+ let pmtAssetNameA = $t089329009._2
315+ let pmtDecimalsA = $t089329009._3
316+ let $t090149091 = getAssetInfo(pmtAssetIdB)
317+ let pmtStrAssetIdB = $t090149091._1
318+ let pmtAssetNameB = $t090149091._2
319+ let pmtDecimalsB = $t090149091._3
320+ if (isDefined(getBoolean(this, kActive)))
321+ then throwIsActive()
322+ else if ((pmtAssetIdA == pmtAssetIdB))
323+ then throw("Assets must be different")
324+ else {
325+ let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
326+ let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
327+ let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
328+ let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
329+ let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
330+ let shareIssueId = calculateAssetId(shareIssue)
331+ let invariantCalculated = invariantCalc(pmtAmountA, pmtAmountB)
332+[StringEntry(kVersion, version), BooleanEntry(kActive, true), StringEntry(kAssetIdA, pmtStrAssetIdA), StringEntry(kAssetIdB, pmtStrAssetIdB), IntegerEntry(kBalanceA, pmtAmountA), IntegerEntry(kBalanceB, pmtAmountB), IntegerEntry(kInvariant, invariantCalculated), IntegerEntry(kFee, fee), IntegerEntry(kFeeScaleDelimiter, feeScale6), shareIssue, StringEntry(kShareAssetId, toBase58String(shareIssueId)), IntegerEntry(kShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
333+ }
334+ }
335+
336+
337+
338+@Callable(i)
339+func replenishWithTwoTokens (slippageTolerance) = {
340+ let pmtAssetIdA = i.payments[0].assetId
341+ let pmtAssetIdB = i.payments[1].assetId
342+ let pmtAmountA = deductStakingFee(i.payments[0].amount, pmtAssetIdA)
343+ let pmtAmountB = deductStakingFee(i.payments[1].amount, pmtAssetIdB)
344+ let tokenRatio = fraction(fraction(scale8, balanceA, pmtAmountA), scale3, fraction(scale8, balanceB, pmtAmountB))
345+ let ratioShareTokensInA = fraction(scale8, pmtAmountA, balanceA)
346+ let ratioShareTokensInB = fraction(scale8, pmtAmountB, balanceB)
347+ let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scale8)
348+ let invariantCalculated = invariantCalc((balanceA + pmtAmountA), (balanceB + pmtAmountB))
349+ if (!(isActive))
350+ then throwIsInactive()
351+ else if (if ((0 > slippageTolerance))
352+ then true
353+ else (slippageTolerance > 10))
354+ then throw("Slippage tolerance must be <= 1%")
355+ else if ((size(i.payments) != 2))
356+ then throw("Two attached assets expected")
357+ else if (if ((pmtAssetIdA != assetIdA))
358+ then true
359+ else (pmtAssetIdB != assetIdB))
360+ then throwAssets()
361+ else if (if ((((scale3 * (slippageScale3 - slippageTolerance)) / slippageScale3) > tokenRatio))
362+ then true
363+ else (tokenRatio > ((scale3 * (slippageScale3 + slippageTolerance)) / slippageScale3)))
364+ then throw("Incorrect assets amount: amounts must have the contract ratio")
365+ else if ((shareTokenToPayAmount == 0))
366+ then throw("Too small amount to replenish")
367+ else if (!(hasEnoughBalance))
368+ then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
369+ else [IntegerEntry(kBalanceA, (balanceA + pmtAmountA)), IntegerEntry(kBalanceB, (balanceB + pmtAmountB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), IntegerEntry(kInvariant, invariantCalculated), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
370+ }
371+
372+
373+
374+@Callable(i)
375+func replenishWithOneToken (virtualSwapTokenPay,virtualSwapTokenGet) = {
376+ let $t01343413509 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
377+ let pmtAmount = $t01343413509._1
378+ let pmtAssetId = $t01343413509._2
379+ let pmtMinThreshold = 5000000
380+ let thresholdValueForMinTolerance = 50000000
381+ let tolerance = if ((thresholdValueForMinTolerance > pmtAmount))
382+ then 100000
383+ else 1
384+ let slippageValueMinForReplenish = (scale8 - ((scale8 * tolerance) / 10000000))
385+ let slippageValueMaxForReplenish = (scale8 + ((scale8 * tolerance) / 10000000))
386+ let slippageValueMinForSwap = (scale8 - ((scale8 * 1) / 10000000))
387+ if (!(isActive))
388+ then throwIsInactive()
389+ else if ((pmtMinThreshold > pmtAmount))
390+ then throw((((("Payment amount " + toString(pmtAmount)) + " does not exceed the minimum amount of ") + toString(pmtMinThreshold)) + " tokens"))
391+ else if ((size(i.payments) != 1))
392+ then throw("One attached payment expected")
393+ else if (!(hasEnoughBalance))
394+ then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
395+ else if (if ((pmtAssetId != assetIdA))
396+ then (pmtAssetId != assetIdB)
397+ else false)
398+ then throwAssets()
399+ else {
400+ let $t01452115286 = if ((pmtAssetId == assetIdA))
401+ then $Tuple7((pmtAmount - virtualSwapTokenPay), virtualSwapTokenGet, (balanceA + virtualSwapTokenPay), (balanceB - virtualSwapTokenGet), invariantCalc((balanceA + pmtAmount), balanceB), (balanceA + pmtAmount), balanceB)
402+ else $Tuple7(virtualSwapTokenGet, (pmtAmount - virtualSwapTokenPay), (balanceA - virtualSwapTokenGet), (balanceB + virtualSwapTokenPay), invariantCalc(balanceA, (balanceB + pmtAmount)), balanceA, (balanceB + pmtAmount))
403+ let virtualReplenishA = $t01452115286._1
404+ let virtualReplenishB = $t01452115286._2
405+ let balanceAfterSwapA = $t01452115286._3
406+ let balanceAfterSwapB = $t01452115286._4
407+ let invariantCalculated = $t01452115286._5
408+ let newBalanceA = $t01452115286._6
409+ let newBalanceB = $t01452115286._7
410+ let newBalanceEntry = if ((pmtAssetId == assetIdA))
411+ then IntegerEntry(kBalanceA, newBalanceA)
412+ else IntegerEntry(kBalanceB, newBalanceB)
413+ let invariantNew = invariantCalc(balanceAfterSwapA, balanceAfterSwapB)
414+ let invariantEstimatedRatio = fraction(scale8, invariant, invariantNew)
415+ let ratioVirtualBalanceToVirtualReplenish = (fraction((scale8 * scale8), balanceAfterSwapA, balanceAfterSwapB) / fraction(scale8, virtualReplenishA, virtualReplenishB))
416+ let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
417+ if (if ((slippageValueMinForSwap >= invariantEstimatedRatio))
418+ then true
419+ else (invariant > invariantNew))
420+ then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value")
421+ else if (if ((slippageValueMinForReplenish > ratioVirtualBalanceToVirtualReplenish))
422+ then true
423+ else (ratioVirtualBalanceToVirtualReplenish > slippageValueMaxForReplenish))
424+ then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect")
425+ else if (if ((dAppThresholdAmount > newBalanceA))
426+ then true
427+ else (dAppThresholdAmount > newBalanceB))
428+ then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
429+ else {
430+ let ratioShareTokensInA = fraction(deductStakingFee(virtualReplenishA, assetIdA), scale8, balanceAfterSwapA)
431+ let ratioShareTokensInB = fraction(deductStakingFee(virtualReplenishB, assetIdB), scale8, balanceAfterSwapB)
432+ let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scale8)
433+[Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), newBalanceEntry, IntegerEntry(kInvariant, invariantCalculated)]
434+ }
435+ }
436+ }
437+
438+
439+
440+@Callable(i)
441+func withdraw () = {
442+ let $t01743117574 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
443+ let pmtAmount = $t01743117574._1
444+ let pmtAssetId = $t01743117574._2
445+ let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA)
446+ let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB)
447+ let invariantCalculated = invariantCalc((balanceA - amountToPayA), (balanceB - amountToPayB))
448+ if (!(isActive))
449+ then throwIsInactive()
450+ else if ((size(i.payments) != 1))
451+ then throw("One attached payment expected")
452+ else if ((pmtAssetId != shareAssetId))
453+ then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
454+ else if (!(hasEnoughBalance))
455+ then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
456+ else if (if ((amountToPayA > availableBalanceA))
457+ then true
458+ else (amountToPayB > availableBalanceB))
459+ then throwInsufficientAvailableBalances(amountToPayA, amountToPayB)
460+ else [IntegerEntry(kBalanceA, (balanceA - amountToPayA)), IntegerEntry(kBalanceB, (balanceB - amountToPayB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply - pmtAmount)), IntegerEntry(kInvariant, invariantCalculated), Burn(shareAssetId, pmtAmount), ScriptTransfer(i.caller, amountToPayA, assetIdA), ScriptTransfer(i.caller, amountToPayB, assetIdB)]
461+ }
462+
463+
464+
465+@Callable(i)
466+func exchange (estimatedAmountToReceive,minAmountToReceive) = {
467+ let $t01893219007 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
468+ let pmtAmount = $t01893219007._1
469+ let pmtAssetId = $t01893219007._2
470+ if (!(isActive))
471+ then throwIsInactive()
472+ else if ((0 >= estimatedAmountToReceive))
473+ then throw(("Estimated amount must be positive. Actual: " + toString(estimatedAmountToReceive)))
474+ else if ((minAmountToReceive > estimatedAmountToReceive))
475+ then throw(((("Minimal amount can't be greater than estimated. Estimated: " + toString(estimatedAmountToReceive)) + ". Minimal: ") + toString(minAmountToReceive)))
476+ else if ((size(i.payments) != 1))
477+ then throw("One attached payment expected")
478+ else if (!(hasEnoughBalance))
479+ then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
480+ else if (if ((pmtAssetId != assetIdA))
481+ then (pmtAssetId != assetIdB)
482+ else false)
483+ then throwAssets()
484+ else if ((10000000 > pmtAmount))
485+ then throw("Only swap of 10.000000 or more tokens is allowed")
486+ else if (if ((exchangeRatioLimitMin > fraction(scale8, minAmountToReceive, pmtAmount)))
487+ then true
488+ else (fraction(scale8, estimatedAmountToReceive, pmtAmount) > exchangeRatioLimitMax))
489+ then throw("Incorrect args and pmt ratio")
490+ else {
491+ let sendAssetId = if ((pmtAssetId == assetIdA))
492+ then assetIdB
493+ else assetIdA
494+ let amount = calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, pmtAmount, pmtAssetId)
495+ let governanceReward = fraction(amount, feeGovernance, feeScale6)
496+ let amountMinusFee = fraction(amount, (feeScale6 - fee), feeScale6)
497+ let $t02042920691 = if ((pmtAssetId == assetIdA))
498+ then $Tuple2((balanceA + pmtAmount), ((balanceB - amountMinusFee) - governanceReward))
499+ else $Tuple2(((balanceA - amountMinusFee) - governanceReward), (balanceB + pmtAmount))
500+ let newBalanceA = $t02042920691._1
501+ let newBalanceB = $t02042920691._2
502+ let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
503+ if (if ((dAppThresholdAmount > newBalanceA))
504+ then true
505+ else (dAppThresholdAmount > newBalanceB))
506+ then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
507+ else if (if (if ((assetIdA == USDN))
508+ then (sendAssetId == assetIdA)
509+ else false)
510+ then (stakedAmountUSDN >= newBalanceA)
511+ else false)
512+ then throwInsufficientAvailableBalance(amountMinusFee, availableBalanceA, assetNameA)
513+ else if (if (if ((assetIdB == USDN))
514+ then (sendAssetId == assetIdB)
515+ else false)
516+ then (stakedAmountUSDN >= newBalanceB)
517+ else false)
518+ then throwInsufficientAvailableBalance(amountMinusFee, availableBalanceB, assetNameB)
519+ else [IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kInvariant, invariantCalc(newBalanceA, newBalanceB)), ScriptTransfer(i.caller, amountMinusFee, sendAssetId), ScriptTransfer(govAddr, governanceReward, sendAssetId)]
520+ }
521+ }
522+
523+
524+
525+@Callable(i)
526+func shutdown () = if (!(isActive))
527+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
528+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, admStartStop], i.callerPublicKey)))
529+ then throwOnlyAdmin()
530+ else suspend("Paused by admin")
531+
532+
533+
534+@Callable(i)
535+func activate () = if (isActive)
536+ then throwIsActive()
537+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, admStartStop], i.callerPublicKey)))
538+ then throwOnlyAdmin()
539+ else [BooleanEntry(kActive, true), DeleteEntry(kCause)]
540+
541+
542+
543+@Callable(i)
544+func takeIntoAccountExtraFunds (amountLeave) = {
545+ let uncountableA = (accountBalanceWithStakedA - balanceA)
546+ let uncountableB = (accountBalanceWithStakedB - balanceB)
547+ let amountEnrollA = (uncountableA - (if ((assetIdA == unit))
548+ then amountLeave
549+ else 0))
550+ let amountEnrollB = (uncountableB - (if ((assetIdB == unit))
551+ then amountLeave
552+ else 0))
553+ let invariantNew = invariantCalc((balanceA + amountEnrollA), (balanceB + amountEnrollB))
554+ if (!(isActive))
555+ then throwIsInactive()
556+ else if ((i.caller != this))
557+ then throwOnlyAdmin()
558+ else if ((0 > amountLeave))
559+ then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
560+ else if (if ((0 > uncountableA))
561+ then true
562+ else (0 > uncountableB))
563+ then suspend("Enroll amount negative")
564+ else if (if ((0 > amountEnrollA))
565+ then true
566+ else (0 > amountEnrollB))
567+ then throw("Too large amountLeave")
568+ else [IntegerEntry(kInvariant, invariantNew), IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
569+ }
570+
571+
572+@Verifier(tx)
573+func verify () = {
574+ let multiSignedByAdmins = {
575+ let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
576+ then 1
577+ else 0
578+ let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
579+ then 1
580+ else 0
581+ let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
582+ then 1
583+ else 0
584+ (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
585+ }
586+ match tx {
587+ case inv: InvokeScriptTransaction =>
588+ let callTakeIntoAccount = if ((inv.dApp == this))
589+ then (inv.function == "takeIntoAccountExtraFunds")
590+ else false
591+ let callStaking = if ((inv.dApp == stakingAddress))
592+ then if (if (if ((inv.function == "lockNeutrino"))
593+ then (size(inv.payments) == 1)
594+ else false)
595+ then (inv.payments[0].assetId == USDN)
596+ else false)
597+ then true
598+ else if ((inv.function == "unlockNeutrino"))
599+ then (size(inv.payments) == 0)
600+ else false
601+ else false
602+ let exchangeToWaves = if (if (if ((inv.dApp == USDNToWavesExchanger))
603+ then (inv.function == "exchange")
604+ else false)
605+ then (assetIdA == USDN)
606+ else false)
607+ then true
608+ else if (if ((assetIdB == USDN))
609+ then (size(inv.payments) == 1)
610+ else false)
611+ then (inv.payments[0].assetId == USDN)
612+ else false
613+ let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
614+ then true
615+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
616+ then true
617+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
618+ then true
619+ else sigVerify(tx.bodyBytes, tx.proofs[0], admStaking)
620+ if (if (if (if (callTakeIntoAccount)
621+ then true
622+ else callStaking)
623+ then true
624+ else exchangeToWaves)
625+ then signedByAdmin
626+ else false)
627+ then true
628+ else multiSignedByAdmins
629+ case _ =>
630+ multiSignedByAdmins
631+ }
632+ }
633+

github/deemru/w8io/026f985 
63.26 ms