tx · GZcdzbxFgJdRURMdfC56QeGvSwbCVxHrKiDAS2QHhPRR

3NBC7CJ5LPMxjBUeMh13pugsXc45J2reLU8:  -0.01000000 Waves

2021.04.20 18:23 [1490941] smart account 3NBC7CJ5LPMxjBUeMh13pugsXc45J2reLU8 > SELF 0.00000000 Waves

{ "type": 13, "id": "GZcdzbxFgJdRURMdfC56QeGvSwbCVxHrKiDAS2QHhPRR", "fee": 1000000, "feeAssetId": null, "timestamp": 1618932195737, "version": 2, "chainId": 84, "sender": "3NBC7CJ5LPMxjBUeMh13pugsXc45J2reLU8", "senderPublicKey": "6viuDMGHHzFX5HFWvtG8VPujw8gLAh5ECaztAe9ZGa4M", "proofs": [ "qbgY2wzfJrcWjqQP7RDRETjjD9rBfRdoDuSw8XmfSj4FsnzGXio5RsWorDjiULovv3ckvCxUAD9i6zvxEjqUZne" ], "script": "base64:AAIEAAAAAAAAABkIAhIAEgMKAQESABIDCgEBEgASABIDCgEBAAAAMwAAAAAHdmVyc2lvbgIAAAAFMS4wLjAAAAAACmtleVZlcnNpb24CAAAAB3ZlcnNpb24AAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAtrZXlBc3NldElkQQIAAAAKQV9hc3NldF9pZAAAAAALa2V5QXNzZXRJZEICAAAACkJfYXNzZXRfaWQAAAAAC2tleUJhbGFuY2VBAgAAAA9BX2Fzc2V0X2JhbGFuY2UAAAAAC2tleUJhbGFuY2VCAgAAAA9CX2Fzc2V0X2JhbGFuY2UAAAAAD2tleVNoYXJlQXNzZXRJZAIAAAAOc2hhcmVfYXNzZXRfaWQAAAAAE2tleVNoYXJlQXNzZXRTdXBwbHkCAAAAEnNoYXJlX2Fzc2V0X3N1cHBseQAAAAANa2V5Q29tbWlzc2lvbgIAAAAKY29tbWlzc2lvbgAAAAAba2V5Q29tbWlzc2lvblNjYWxlRGVsaW1pdGVyAgAAABpjb21taXNzaW9uX3NjYWxlX2RlbGltaXRlcgAAAAAIa2V5Q2F1c2UCAAAADnN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vb2ZzAAAAAAAAAAAABQAAAAxhZG1pblB1YktleTIGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMYWRtaW5QdWJLZXkzBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAEmFkbWluUHViS2V5U3Rha2luZwMFAAAAE2NhbGxUYWtlSW50b0FjY291bnQGBQAAAAtjYWxsU3Rha2luZwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkTfBbB", "height": 1490941, "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 = "1.0.0"
5+
6+let keyVersion = "version"
7+
8+let keyActive = "active"
9+
10+let keyAssetIdA = "A_asset_id"
11+
12+let keyAssetIdB = "B_asset_id"
13+
14+let keyBalanceA = "A_asset_balance"
15+
16+let keyBalanceB = "B_asset_balance"
17+
18+let keyShareAssetId = "share_asset_id"
19+
20+let keyShareAssetSupply = "share_asset_supply"
21+
22+let keyCommission = "commission"
23+
24+let keyCommissionScaleDelimiter = "commission_scale_delimiter"
25+
26+let keyCause = "shutdown_cause"
27+
28+let adminPubKey1 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
29+
30+let adminPubKey2 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
31+
32+let adminPubKey3 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
33+
34+let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
35+
36+let adminPubKeyStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
37+
38+let governanceAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
39+
40+let stakingAddress = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg')
41+
42+let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
43+
44+let stakingFeeInUSDN = (9 * value(value(assetInfo(USDN)).minSponsoredFee))
45+
46+let isActive = getBooleanValue(this, keyActive)
47+
48+let strAssetIdA = getStringValue(this, keyAssetIdA)
49+
50+let strAssetIdB = getStringValue(this, keyAssetIdB)
51+
52+let assetIdA = if ((strAssetIdA == "WAVES"))
53+ then unit
54+ else fromBase58String(strAssetIdA)
55+
56+let assetIdB = if ((strAssetIdB == "WAVES"))
57+ then unit
58+ else fromBase58String(strAssetIdB)
59+
60+let assetNameA = match assetIdA {
61+ case id: ByteVector =>
62+ value(assetInfo(id)).name
63+ case waves: Unit =>
64+ "WAVES"
65+ case _ =>
66+ throw("Match error")
67+}
68+
69+let assetNameB = match assetIdB {
70+ case id: ByteVector =>
71+ value(assetInfo(id)).name
72+ case waves: Unit =>
73+ "WAVES"
74+ case _ =>
75+ throw("Match error")
76+}
77+
78+let balanceA = getIntegerValue(this, keyBalanceA)
79+
80+let balanceB = getIntegerValue(this, keyBalanceB)
81+
82+let shareAssetId = fromBase58String(getStringValue(this, keyShareAssetId))
83+
84+let shareAssetSupply = getIntegerValue(this, keyShareAssetSupply)
85+
86+let commission = 3000
87+
88+let commissionGovernance = 1200
89+
90+let commissionScaleDelimiter = 1000000
91+
92+let scaleValue3 = 1000
93+
94+let scaleValue8 = 100000000
95+
96+let slippageToleranceDelimiter = 1000
97+
98+let scaleValue8Digits = 8
99+
100+func accountBalance (assetId) = match assetId {
101+ case id: ByteVector =>
102+ assetBalance(this, id)
103+ case waves: Unit =>
104+ wavesBalance(this).available
105+ case _ =>
106+ throw("Match error")
107+}
108+
109+
110+let stakedAmountUSDN = match getInteger(stakingAddress, ((("rpd_balance_" + toBase58String(USDN)) + "_") + toString(this))) {
111+ case staked: Int =>
112+ staked
113+ case nothing: Unit =>
114+ 0
115+ case _ =>
116+ throw("Match error")
117+}
118+
119+let availableBalanceA = (balanceA - (if ((assetIdA == USDN))
120+ then stakedAmountUSDN
121+ else 0))
122+
123+let availableBalanceB = (balanceB - (if ((assetIdB == USDN))
124+ then stakedAmountUSDN
125+ else 0))
126+
127+let accountBalanceWithStakedA = (accountBalance(assetIdA) + (if ((assetIdA == USDN))
128+ then stakedAmountUSDN
129+ else 0))
130+
131+let accountBalanceWithStakedB = (accountBalance(assetIdB) + (if ((assetIdB == USDN))
132+ then stakedAmountUSDN
133+ else 0))
134+
135+let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
136+ then (accountBalanceWithStakedB >= balanceB)
137+ else false
138+
139+func getAssetInfo (assetId) = match assetId {
140+ case id: ByteVector =>
141+ let stringId = toBase58String(id)
142+ let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
143+ $Tuple3(stringId, info.name, info.decimals)
144+ case waves: Unit =>
145+ $Tuple3("WAVES", "WAVES", 8)
146+ case _ =>
147+ throw("Match error")
148+}
149+
150+
151+func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
152+
153+
154+func deductStakingFee (amount,assetId) = if ((assetId == USDN))
155+ then {
156+ let result = (amount - stakingFeeInUSDN)
157+ if ((0 >= result))
158+ then throw((((("Insufficient amount " + toString(amount)) + " to deduct staking fee ") + toString(stakingFeeInUSDN)) + " USD-N"))
159+ else result
160+ }
161+ else amount
162+
163+
164+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"))
165+
166+
167+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"))
168+
169+
170+@Callable(i)
171+func init () = {
172+ let $t047504827 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
173+ let pmtAmountA = $t047504827._1
174+ let pmtAssetIdA = $t047504827._2
175+ let $t048324909 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
176+ let pmtAmountB = $t048324909._1
177+ let pmtAssetIdB = $t048324909._2
178+ let $t049144991 = getAssetInfo(pmtAssetIdA)
179+ let pmtStrAssetIdA = $t049144991._1
180+ let pmtAssetNameA = $t049144991._2
181+ let pmtDecimalsA = $t049144991._3
182+ let $t049965073 = getAssetInfo(pmtAssetIdB)
183+ let pmtStrAssetIdB = $t049965073._1
184+ let pmtAssetNameB = $t049965073._2
185+ let pmtDecimalsB = $t049965073._3
186+ if (isDefined(getBoolean(this, keyActive)))
187+ then throw("DApp is already active")
188+ else if ((pmtAssetIdA == pmtAssetIdB))
189+ then throw("Assets must be different")
190+ else {
191+ let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
192+ let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
193+ let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
194+ let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, HALFDOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, HALFDOWN), pow(10, 0, shareDecimals, 0, 0, HALFDOWN))
195+ let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
196+ let shareIssueId = calculateAssetId(shareIssue)
197+[StringEntry(keyVersion, version), BooleanEntry(keyActive, true), StringEntry(keyAssetIdA, pmtStrAssetIdA), StringEntry(keyAssetIdB, pmtStrAssetIdB), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyCommission, commission), IntegerEntry(keyCommissionScaleDelimiter, commissionScaleDelimiter), shareIssue, StringEntry(keyShareAssetId, toBase58String(shareIssueId)), IntegerEntry(keyShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
198+ }
199+ }
200+
201+
202+
203+@Callable(i)
204+func replenishWithTwoTokens (slippageTolerance) = {
205+ let pmtAssetIdA = i.payments[0].assetId
206+ let pmtAssetIdB = i.payments[1].assetId
207+ let pmtAmountA = deductStakingFee(i.payments[0].amount, pmtAssetIdA)
208+ let pmtAmountB = deductStakingFee(i.payments[1].amount, pmtAssetIdB)
209+ let ratioShareTokensInA = fraction(pmtAmountA, scaleValue8, balanceA)
210+ let ratioShareTokensInB = fraction(pmtAmountB, scaleValue8, balanceB)
211+ func calculateFees (tokenFrom,tokenTo,pmtAmount) = {
212+ let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
213+ let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
214+ let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
215+ $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
216+ }
217+
218+ func exchangeTokenWithoutFee (balanceA,balanceB,paymentAmountA,paymentAmountB) = {
219+ let bEquation = ((fraction(balanceA, scaleValue8, 1) + fraction(paymentAmountA, scaleValue8, 2)) - fraction(fraction(scaleValue8, balanceA, 2), paymentAmountB, balanceB))
220+ let DEquation = ((((pow(paymentAmountA, 0, 2, 0, scaleValue8Digits, UP) / 4) + ((balanceA * balanceA) * scaleValue8)) - fraction(fraction(paymentAmountA, (scaleValue8 * paymentAmountB), 2), balanceA, balanceB)) + (pow(fraction(paymentAmountB, (balanceA * scaleValue8), (2 * balanceB)), 0, 2, 0, 0, DOWN) / scaleValue8))
221+ let a = (-(bEquation) + pow(DEquation, 0, 5, 1, (scaleValue8Digits / 2), DOWN))
222+ let denominatorb = (a + (balanceA * scaleValue8))
223+ let b = fraction(a, (balanceB * scaleValue8), denominatorb)
224+ if (if (if ((scaleValue8 > a))
225+ then (a > -(scaleValue8))
226+ else false)
227+ then true
228+ else if ((b > -(scaleValue8)))
229+ then (scaleValue8 > b)
230+ else false)
231+ then $Tuple2(0, 0)
232+ else if ((ratioShareTokensInB > ratioShareTokensInA))
233+ then $Tuple2(a, b)
234+ else if ((ratioShareTokensInA > ratioShareTokensInB))
235+ then $Tuple2(-(b), -(a))
236+ else $Tuple2(0, 0)
237+ }
238+
239+ let $t087948889 = exchangeTokenWithoutFee(balanceA, balanceB, pmtAmountA, pmtAmountB)
240+ let buyToken = $t087948889._1
241+ let sellToken = $t087948889._2
242+ if (!(isActive))
243+ then throw("DApp is inactive at this moment")
244+ else if (if ((0 > slippageTolerance))
245+ then true
246+ else (slippageTolerance > slippageToleranceDelimiter))
247+ then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
248+ else if ((size(i.payments) != 2))
249+ then throw("Two attached assets expected")
250+ else if (if ((pmtAssetIdA != assetIdA))
251+ then true
252+ else (pmtAssetIdB != assetIdB))
253+ then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
254+ else if (!(hasEnoughBalance))
255+ then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
256+ else if (if (((buyToken / scaleValue8) == 0))
257+ then true
258+ else ((sellToken / scaleValue8) == 0))
259+ then {
260+ let ratioShareTokensInANew = fraction(pmtAmountA, scaleValue8, balanceA)
261+ let ratioShareTokensInBNew = fraction(pmtAmountB, scaleValue8, balanceB)
262+ let shareTokenToPayAmount = fraction(min([ratioShareTokensInANew, ratioShareTokensInBNew]), shareAssetSupply, scaleValue8)
263+ if ((shareTokenToPayAmount == 0))
264+ then throw("Too small amount to replenish")
265+ else [IntegerEntry(keyBalanceA, (balanceA + pmtAmountA)), IntegerEntry(keyBalanceB, (balanceB + pmtAmountB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
266+ }
267+ else if ((ratioShareTokensInA > ratioShareTokensInB))
268+ then {
269+ let assetIdSend = pmtAssetIdB
270+ let $t01076710880 = calculateFees(balanceB, balanceA, (buyToken / scaleValue8))
271+ let amountWithoutFee = $t01076710880._1
272+ let amountWithFee = $t01076710880._2
273+ let governanceReward = $t01076710880._3
274+ let newPmtAmountA = (pmtAmountA - amountWithoutFee)
275+ let newPmtAmountB = (pmtAmountB + (buyToken / scaleValue8))
276+ let newBalanceA = ((balanceA + newPmtAmountA) + amountWithoutFee)
277+ let newBalanceB = ((balanceB + newPmtAmountB) - (buyToken / scaleValue8))
278+ let tokenRatio = fraction(fraction(newBalanceA, scaleValue8, newPmtAmountA), scaleValue3, fraction(newBalanceB, scaleValue8, newPmtAmountB))
279+ let ratioShareTokensInANew = fraction(newPmtAmountA, scaleValue8, newBalanceA)
280+ let ratioShareTokensInBNew = fraction(newPmtAmountB, scaleValue8, newBalanceB)
281+ let shareTokenToPayAmount = fraction(min([ratioShareTokensInANew, ratioShareTokensInBNew]), shareAssetSupply, scaleValue8)
282+ if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
283+ then true
284+ else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
285+ then throw("Incorrect assets amount: amounts must have the contract ratio")
286+ else if ((shareTokenToPayAmount == 0))
287+ then throw("Too small amount to replenish")
288+ else if (if (if ((assetIdA == USDN))
289+ then (stakedAmountUSDN >= newBalanceA)
290+ else false)
291+ then true
292+ else if ((assetIdB == USDN))
293+ then (stakedAmountUSDN >= newBalanceB)
294+ else false)
295+ then throwInsufficientAvailableBalance(amountWithFee, availableBalanceB, assetNameB)
296+ else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), IntegerEntry(keyShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
297+ }
298+ else if ((ratioShareTokensInB > ratioShareTokensInA))
299+ then {
300+ let assetIdSend = pmtAssetIdA
301+ let $t01277012883 = calculateFees(balanceA, balanceB, (buyToken / scaleValue8))
302+ let amountWithoutFee = $t01277012883._1
303+ let amountWithFee = $t01277012883._2
304+ let governanceReward = $t01277012883._3
305+ let newPmtAmountA = (pmtAmountA + (buyToken / scaleValue8))
306+ let newPmtAmountB = (pmtAmountB - amountWithoutFee)
307+ let newBalanceA = ((balanceA + newPmtAmountA) - (buyToken / scaleValue8))
308+ let newBalanceB = ((balanceB + newPmtAmountB) + amountWithoutFee)
309+ let tokenRatio = fraction(fraction(newBalanceA, scaleValue8, newPmtAmountA), scaleValue3, fraction(newBalanceB, scaleValue8, newPmtAmountB))
310+ let ratioShareTokensInANew = fraction(newPmtAmountA, scaleValue8, newBalanceA)
311+ let ratioShareTokensInBNew = fraction(newPmtAmountB, scaleValue8, newBalanceB)
312+ let shareTokenToPayAmount = fraction(min([ratioShareTokensInANew, ratioShareTokensInBNew]), shareAssetSupply, scaleValue8)
313+ if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
314+ then true
315+ else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
316+ then throw("Incorrect assets amount: amounts must have the contract ratio")
317+ else if ((shareTokenToPayAmount == 0))
318+ then throw("Too small amount to replenish")
319+ else if (if (if ((assetIdA == USDN))
320+ then (stakedAmountUSDN >= newBalanceA)
321+ else false)
322+ then true
323+ else if ((assetIdB == USDN))
324+ then (stakedAmountUSDN >= newBalanceB)
325+ else false)
326+ then throwInsufficientAvailableBalance(amountWithFee, availableBalanceA, assetNameA)
327+ else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), IntegerEntry(keyShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
328+ }
329+ else throw("Please contact support in Telegram: https://t.me/swopfisupport")
330+ }
331+
332+
333+
334+@Callable(i)
335+func withdraw () = {
336+ let $t01480314953 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
337+ let pmtAmount = $t01480314953._1
338+ let pmtAssetId = $t01480314953._2
339+ let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA)
340+ let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB)
341+ if (!(isActive))
342+ then throw("DApp is inactive at this moment")
343+ else if ((size(i.payments) != 1))
344+ then throw("One attached payment expected")
345+ else if ((pmtAssetId != shareAssetId))
346+ then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
347+ else if (!(hasEnoughBalance))
348+ then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
349+ else if (if ((amountToPayA > availableBalanceA))
350+ then true
351+ else (amountToPayB > availableBalanceB))
352+ then throwInsufficientAvailableBalances(amountToPayA, amountToPayB)
353+ else [IntegerEntry(keyBalanceA, (balanceA - amountToPayA)), IntegerEntry(keyBalanceB, (balanceB - amountToPayB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply - pmtAmount)), Burn(shareAssetId, pmtAmount), ScriptTransfer(i.caller, amountToPayA, assetIdA), ScriptTransfer(i.caller, amountToPayB, assetIdB)]
354+ }
355+
356+
357+
358+@Callable(i)
359+func exchange (minAmountToReceive) = {
360+ let $t01634316418 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
361+ let pmtAmount = $t01634316418._1
362+ let pmtAssetId = $t01634316418._2
363+ func calculateFees (tokenFrom,tokenTo) = {
364+ let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
365+ let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
366+ let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
367+ if ((minAmountToReceive > amountWithFee))
368+ then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
369+ else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
370+ }
371+
372+ if (!(isActive))
373+ then throw("DApp is inactive at this moment")
374+ else if ((0 >= minAmountToReceive))
375+ then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
376+ else if ((size(i.payments) != 1))
377+ then throw("One attached payment expected")
378+ else if (!(hasEnoughBalance))
379+ then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
380+ else if ((pmtAssetId == assetIdA))
381+ then {
382+ let assetIdSend = assetIdB
383+ let $t01777717868 = calculateFees(balanceA, balanceB)
384+ let amountWithoutFee = $t01777717868._1
385+ let amountWithFee = $t01777717868._2
386+ let governanceReward = $t01777717868._3
387+ let newBalanceA = (balanceA + pmtAmount)
388+ let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
389+ if (if (if ((assetIdA == USDN))
390+ then (stakedAmountUSDN >= newBalanceA)
391+ else false)
392+ then true
393+ else if ((assetIdB == USDN))
394+ then (stakedAmountUSDN >= newBalanceB)
395+ else false)
396+ then throwInsufficientAvailableBalance(amountWithFee, availableBalanceB, assetNameB)
397+ else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(governanceAddress, governanceReward, assetIdSend)]
398+ }
399+ else if ((pmtAssetId == assetIdB))
400+ then {
401+ let assetIdSend = assetIdA
402+ let $t01874118832 = calculateFees(balanceB, balanceA)
403+ let amountWithoutFee = $t01874118832._1
404+ let amountWithFee = $t01874118832._2
405+ let governanceReward = $t01874118832._3
406+ let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
407+ let newBalanceB = (balanceB + pmtAmount)
408+ if (if (if ((assetIdA == USDN))
409+ then (stakedAmountUSDN >= newBalanceA)
410+ else false)
411+ then true
412+ else if ((assetIdB == USDN))
413+ then (stakedAmountUSDN >= newBalanceB)
414+ else false)
415+ then throwInsufficientAvailableBalance(amountWithFee, availableBalanceA, assetNameA)
416+ else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(governanceAddress, governanceReward, assetIdSend)]
417+ }
418+ else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
419+ }
420+
421+
422+
423+@Callable(i)
424+func shutdown () = if (!(isActive))
425+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
426+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
427+ then throw("Only admin can call this function")
428+ else suspend("Paused by admin")
429+
430+
431+
432+@Callable(i)
433+func activate () = if (isActive)
434+ then throw("DApp is already active")
435+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
436+ then throw("Only admin can call this function")
437+ else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)]
438+
439+
440+
441+@Callable(i)
442+func takeIntoAccountExtraFunds (amountLeave) = {
443+ let uncountableAmountEnrollAssetA = (accountBalanceWithStakedA - balanceA)
444+ let uncountableAmountEnrollAssetB = (accountBalanceWithStakedB - balanceB)
445+ let amountEnrollA = (uncountableAmountEnrollAssetA - (if ((assetIdA == USDN))
446+ then amountLeave
447+ else 0))
448+ let amountEnrollB = (uncountableAmountEnrollAssetB - (if ((assetIdB == USDN))
449+ then amountLeave
450+ else 0))
451+ if (!(isActive))
452+ then throw("DApp is inactive at this moment")
453+ else if ((i.caller != this))
454+ then throw("Only the DApp itself can call this function")
455+ else if ((0 > amountLeave))
456+ then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
457+ else if (if ((0 > uncountableAmountEnrollAssetA))
458+ then true
459+ else (0 > uncountableAmountEnrollAssetB))
460+ then suspend("Enroll amount negative")
461+ else if (if ((0 > amountEnrollA))
462+ then true
463+ else (0 > amountEnrollB))
464+ then throw("Too large amountLeave")
465+ else [IntegerEntry(keyBalanceA, (balanceA + amountEnrollA)), IntegerEntry(keyBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
466+ }
467+
468+
469+@Verifier(tx)
470+func verify () = match tx {
471+ case invoke: InvokeScriptTransaction =>
472+ let callTakeIntoAccount = if ((invoke.dApp == this))
473+ then (invoke.function == "takeIntoAccountExtraFunds")
474+ else false
475+ let callStaking = if ((invoke.dApp == stakingAddress))
476+ then if (if (if ((invoke.function == "lockNeutrino"))
477+ then (size(invoke.payments) == 1)
478+ else false)
479+ then (invoke.payments[0].assetId == USDN)
480+ else false)
481+ then true
482+ else if ((invoke.function == "unlockNeutrino"))
483+ then (size(invoke.payments) == 0)
484+ else false
485+ else false
486+ let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
487+ then true
488+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
489+ then true
490+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
491+ then true
492+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyStaking)
493+ if (callTakeIntoAccount)
494+ then true
495+ else callStaking
496+ case _ =>
497+ sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
498+}
499+

github/deemru/w8io/026f985 
52.40 ms