tx · 6pXUdqrtFfNqufAYkvwbJEZmYy236FUr3upuTYJF8Xvt

3MrHBjZf17Y1u31cQ44zpdnbHPBkMKuU4p7:  -0.01400000 Waves

2021.06.05 22:50 [1557507] smart account 3MrHBjZf17Y1u31cQ44zpdnbHPBkMKuU4p7 > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
37.24 ms