tx · 5MFoykUm5YfXUsyfd2XbijaHgsUXhyvp2xa5vqUjV2qr

3Mt1RxZEttsAB7Xhm8kidDcYEovuptmVZSo:  -0.01000000 Waves

2021.09.22 16:49 [1714345] smart account 3Mt1RxZEttsAB7Xhm8kidDcYEovuptmVZSo > SELF 0.00000000 Waves

{ "type": 13, "id": "5MFoykUm5YfXUsyfd2XbijaHgsUXhyvp2xa5vqUjV2qr", "fee": 1000000, "feeAssetId": null, "timestamp": 1632318588987, "version": 2, "chainId": 84, "sender": "3Mt1RxZEttsAB7Xhm8kidDcYEovuptmVZSo", "senderPublicKey": "2iuzMje37FTUKTtyVQRb6Ct2DvzxgJvC313tEN4e6pTE", "proofs": [ "2GsaxuZMDj3LauzDNQUuUrnSSumfrujGrVgcHK1R9BFJ4qD2nAaBtRjRvrTbx1gTTbqNQTtrazcj55Ap7tDk4BSG" ], "script": "base64:AAIFAAAAAAAAACMIAhIDCgEIEgMKAQESAwoBARIAEgMKAQESABIAEgMKAQESAAAAAFgAAAAAB3ZlcnNpb24CAAAABTEuMC4wAAAAAAprZXlWZXJzaW9uAgAAAAd2ZXJzaW9uAAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAALa2V5QXNzZXRJZEECAAAACkFfYXNzZXRfaWQAAAAAC2tleUFzc2V0SWRCAgAAAApCX2Fzc2V0X2lkAAAAAAtrZXlCYWxhbmNlQQIAAAAPQV9hc3NldF9iYWxhbmNlAAAAAAtrZXlCYWxhbmNlQgIAAAAPQl9hc3NldF9iYWxhbmNlAAAAAA9rZXlCYWxhbmNlSW5pdEECAAAADEFfYXNzZXRfaW5pdAAAAAAPa2V5QmFsYW5jZUluaXRCAgAAAAxCX2Fzc2V0X2luaXQAAAAAD2tleVNoYXJlQXNzZXRJZAIAAAAOc2hhcmVfYXNzZXRfaWQAAAAAE2tleVNoYXJlQXNzZXRTdXBwbHkCAAAAEnNoYXJlX2Fzc2V0X3N1cHBseQAAAAANa2V5Q29tbWlzc2lvbgIAAAA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ZnMAAAAAAAAAAAAFAAAAEmFkbWluUHViS2V5U3Rha2luZwMDAwMDAwUAAAATY2FsbFRha2VJbnRvQWNjb3VudAYFAAAAFmNhbGxFbmFibGVGaXJzdEhhcnZlc3QGBQAAAAtjYWxsU3Rha2luZwYFAAAAD2V4Y2hhbmdlVG9XYXZlcwYFAAAAD2V4Y2hhbmdlVG9OU0JUcwUAAAANc2lnbmVkQnlBZG1pbgcGBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zUoChXQ==", "height": 1714345, "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 = "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 keyBalanceInitA = "A_asset_init"
19+
20+let keyBalanceInitB = "B_asset_init"
21+
22+let keyShareAssetId = "share_asset_id"
23+
24+let keyShareAssetSupply = "share_asset_supply"
25+
26+let keyCommission = "commission"
27+
28+let keyCommissionScaleDelimiter = "commission_scale_delimiter"
29+
30+let keyCause = "shutdown_cause"
31+
32+let keyFirstHarvest = "first_harvest"
33+
34+let keyFirstHarvestHeight = "first_harvest_height"
35+
36+let keyShareLimit = "share_limit_on_first_harvest"
37+
38+let keyBasePeriod = "base_period"
39+
40+let keyPeriodLength = "period_length"
41+
42+let keyStartHeight = "start_height"
43+
44+let keyOracleAssetPriority = "asset_priority_"
45+
46+let keyOracleScriptHash = "script_hash_cpmm"
47+
48+let keyInitPoolHeight = "init_height"
49+
50+let keyAdminPubKey1 = "admin_pub_1"
51+
52+let keyAdminPubKey2 = "admin_pub_2"
53+
54+let keyAdminPubKey3 = "admin_pub_3"
55+
56+let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
57+
58+func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) {
59+ case string: String =>
60+ fromBase58String(string)
61+ case nothing =>
62+ throw("Admin public key is empty")
63+}
64+
65+
66+let adminPubKey1 = getAdminPub(keyAdminPubKey1)
67+
68+let adminPubKey2 = getAdminPub(keyAdminPubKey2)
69+
70+let adminPubKey3 = getAdminPub(keyAdminPubKey3)
71+
72+let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
73+
74+let adminPubKeyStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
75+
76+let walletAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
77+
78+let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
79+
80+let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
81+
82+let NSBT = base58'36mg8NZTaFRDygiVwb8uBnLR51hetJruUCZcxhaVcHj9'
83+
84+let SWOP = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
85+
86+let EURN = base58'ECBCkHS68DckpBrzLeoRgYbFg7sCVqR176mPqbXsj9pA'
87+
88+let stakingUSDNNSBTAddress = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg')
89+
90+let stakingEURNAddress = Address(base58'3MyVqAbmKWh339gF6hy8faWw1jGeTV2wnGE')
91+
92+let USDNToWavesExchanger = Address(base58'3N77kfPbQyjXWpDALX3xjKw3iEGMWEctV37')
93+
94+let USDNToNSBTExchanger = Address(base58'3Mye9wVR7d2mc6Y5ZJTu11svzgUQ7o8H9dA')
95+
96+let stakingFeeInUSDN = 270000
97+
98+let stakingFeeInEURN = 234000
99+
100+let basePeriod = valueOrErrorMessage(getInteger(votingAddress, keyBasePeriod), "Empty keyBasePeriod")
101+
102+let startHeight = valueOrErrorMessage(getInteger(votingAddress, keyStartHeight), "Empty keyStartHeight")
103+
104+let periodLength = valueOrErrorMessage(getInteger(votingAddress, keyPeriodLength), "Empty keyPeriodLength")
105+
106+let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 1)
107+
108+let isActive = getBooleanValue(this, keyActive)
109+
110+let strAssetIdA = getStringValue(this, keyAssetIdA)
111+
112+let strAssetIdB = getStringValue(this, keyAssetIdB)
113+
114+let assetIdA = if ((strAssetIdA == "WAVES"))
115+ then unit
116+ else fromBase58String(strAssetIdA)
117+
118+let assetIdB = if ((strAssetIdB == "WAVES"))
119+ then unit
120+ else fromBase58String(strAssetIdB)
121+
122+let assetNameA = match assetIdA {
123+ case id: ByteVector =>
124+ value(assetInfo(id)).name
125+ case waves: Unit =>
126+ "WAVES"
127+ case _ =>
128+ throw("Match error")
129+}
130+
131+let assetNameB = match assetIdB {
132+ case id: ByteVector =>
133+ value(assetInfo(id)).name
134+ case waves: Unit =>
135+ "WAVES"
136+ case _ =>
137+ throw("Match error")
138+}
139+
140+let balanceA = getIntegerValue(this, keyBalanceA)
141+
142+let balanceB = getIntegerValue(this, keyBalanceB)
143+
144+let shareAssetId = fromBase58String(getStringValue(this, keyShareAssetId))
145+
146+let shareAssetSupply = getIntegerValue(this, keyShareAssetSupply)
147+
148+let commission = 3000
149+
150+let commissionGovernance = 1200
151+
152+let commissionScaleDelimiter = 1000000
153+
154+let scaleValue3 = 1000
155+
156+let scaleValue8 = 100000000
157+
158+let slippageToleranceDelimiter = 1000
159+
160+let scaleValue8Digits = 8
161+
162+let comissionForInitalization = 1000000000
163+
164+func accountBalance (assetId) = match assetId {
165+ case id: ByteVector =>
166+ assetBalance(this, id)
167+ case waves: Unit =>
168+ wavesBalance(this).available
169+ case _ =>
170+ throw("Match error")
171+}
172+
173+
174+func stakedAmount (assetId) = {
175+ let stakedAmountCalculated = match assetId {
176+ case aId: ByteVector =>
177+ if (if ((aId == USDN))
178+ then true
179+ else (aId == NSBT))
180+ then getInteger(stakingUSDNNSBTAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
181+ else if ((aId == EURN))
182+ then getInteger(stakingEURNAddress, ((("%s%s%s__stakingBalance__" + toBase58String(aId)) + "__") + toString(this)))
183+ else 0
184+ case _: Unit =>
185+ 0
186+ case _ =>
187+ throw("Match error")
188+ }
189+ match stakedAmountCalculated {
190+ case i: Int =>
191+ i
192+ case _ =>
193+ 0
194+ }
195+ }
196+
197+
198+func isAllowedAsset (assetId) = match assetId {
199+ case id: ByteVector =>
200+ if (if ((id == USDN))
201+ then true
202+ else (id == SWOP))
203+ then true
204+ else false
205+ case waves: Unit =>
206+ true
207+ case _ =>
208+ throw("Match error")
209+}
210+
211+
212+let stakedAmountA = stakedAmount(assetIdA)
213+
214+let stakedAmountB = stakedAmount(assetIdB)
215+
216+let assetInitA = getIntegerValue(this, keyBalanceInitA)
217+
218+let assetInitB = getIntegerValue(this, keyBalanceInitB)
219+
220+let availableBalanceA = (balanceA - stakedAmountA)
221+
222+let availableBalanceB = (balanceB - stakedAmountB)
223+
224+let accountBalanceWithStakedA = (accountBalance(assetIdA) + stakedAmountA)
225+
226+let accountBalanceWithStakedB = (accountBalance(assetIdB) + stakedAmountB)
227+
228+let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
229+ then (accountBalanceWithStakedB >= balanceB)
230+ else false
231+
232+func getAssetInfo (assetId) = match assetId {
233+ case id: ByteVector =>
234+ let stringId = toBase58String(id)
235+ let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
236+ $Tuple3(stringId, info.name, info.decimals)
237+ case waves: Unit =>
238+ $Tuple3("WAVES", "WAVES", 8)
239+ case _ =>
240+ throw("Match error")
241+}
242+
243+
244+func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES"))
245+ then $Tuple3("WAVES", "WAVES", 8)
246+ else {
247+ let stringId = assetStr
248+ let id = fromBase58String(assetStr)
249+ let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
250+ $Tuple3(stringId, info.name, info.decimals)
251+ }
252+
253+
254+func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
255+
256+
257+func deductStakingFee (amount,assetId,secondAssetId) = if (if ((assetId == USDN))
258+ then true
259+ else (assetId == EURN))
260+ then {
261+ let stakinFee = if ((assetId == USDN))
262+ then (stakingFeeInUSDN * (if ((secondAssetId == NSBT))
263+ then 2
264+ else 1))
265+ else if ((assetId == EURN))
266+ then stakingFeeInEURN
267+ else 0
268+ let result = (amount - stakinFee)
269+ if ((0 >= result))
270+ then throw((((("Insufficient amount " + toString(amount)) + " to deduct staking fee ") + toString(stakinFee)) + "USDN/EURN"))
271+ else result
272+ }
273+ else amount
274+
275+
276+func getStakingFee (assetId,secondAssetId) = if ((assetId == USDN))
277+ then (stakingFeeInUSDN * (if ((secondAssetId == NSBT))
278+ then 2
279+ else 1))
280+ else if ((assetId == EURN))
281+ then stakingFeeInEURN
282+ else 0
283+
284+
285+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"))
286+
287+
288+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"))
289+
290+
291+func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(accountBalanceWithStakedA)) + " ") + assetNameA) + ", ") + toString(accountBalanceWithStakedB)) + " ") + assetNameB) + ". State: ") + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB))
292+
293+
294+@Callable(i)
295+func init (userAddressStr) = {
296+ let $t083558432 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
297+ let pmtAmount1 = $t083558432._1
298+ let pmtAssetId1 = $t083558432._2
299+ let $t084378514 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
300+ let pmtAmount2 = $t084378514._1
301+ let pmtAssetId2 = $t084378514._2
302+ let $t085198602 = $Tuple2(i.payments[2].amount, i.payments[2].assetId)
303+ let pmtAmountSWOP = $t085198602._1
304+ let pmtAssetIdSWOP = $t085198602._2
305+ let check = isDataStorageUntouched(this)
306+ let userScriptHash = scriptHash(this)
307+ let userAddress = addressFromStringValue(userAddressStr)
308+ if ((i.caller == this))
309+ then throw("You can't call yourself")
310+ else if (if ((pmtAssetIdSWOP != SWOP))
311+ then true
312+ else (pmtAmountSWOP != comissionForInitalization))
313+ then throw("You need to attach 10 SWOP tokens")
314+ else if (if (!(isAllowedAsset(pmtAssetId1)))
315+ then !(isAllowedAsset(pmtAssetId2))
316+ else false)
317+ then throw("One of assets must be USDN, WAVES or SWOP")
318+ else if (if ((userScriptHash != value(getBinary(oracle, keyOracleScriptHash))))
319+ then true
320+ else !(check))
321+ then throw("Unexpected script was found.")
322+ else if (isDefined(getBoolean(this, keyActive)))
323+ then throw("DApp is already active")
324+ else if ((pmtAssetId1 == pmtAssetId2))
325+ then throw("Assets must be different")
326+ else {
327+ let pmtStrAssetId1 = match pmtAssetId1 {
328+ case id: ByteVector =>
329+ toBase58String(id)
330+ case waves: Unit =>
331+ "WAVES"
332+ case _ =>
333+ throw("Match error")
334+ }
335+ let pmtStrAssetId2 = match pmtAssetId2 {
336+ case id: ByteVector =>
337+ toBase58String(id)
338+ case waves: Unit =>
339+ "WAVES"
340+ case _ =>
341+ throw("Match error")
342+ }
343+ let asset1Priority = valueOrElse(getInteger(oracle, (keyOracleAssetPriority + pmtStrAssetId1)), 999999)
344+ let asset2Priority = valueOrElse(getInteger(oracle, (keyOracleAssetPriority + pmtStrAssetId2)), 999999)
345+ let $t0995810185 = if ((asset2Priority > asset1Priority))
346+ then $Tuple4(pmtAmount2, pmtAssetId2, pmtAmount1, pmtAssetId1)
347+ else $Tuple4(pmtAmount1, pmtAssetId1, pmtAmount2, pmtAssetId2)
348+ let pmtAmountA = $t0995810185._1
349+ let pmtAssetIdA = $t0995810185._2
350+ let pmtAmountB = $t0995810185._3
351+ let pmtAssetIdB = $t0995810185._4
352+ let $t01019410271 = getAssetInfo(pmtAssetIdA)
353+ let pmtStrAssetIdA = $t01019410271._1
354+ let pmtAssetNameA = $t01019410271._2
355+ let pmtDecimalsA = $t01019410271._3
356+ let $t01028010357 = getAssetInfo(pmtAssetIdB)
357+ let pmtStrAssetIdB = $t01028010357._1
358+ let pmtAssetNameB = $t01028010357._2
359+ let pmtDecimalsB = $t01028010357._3
360+ let addParams = [toString(this), ((pmtAssetNameA + "_") + pmtAssetNameB), pmtStrAssetIdA, pmtStrAssetIdB]
361+ let addPool = invoke(oracle, "addPool", addParams, nil)
362+ if ((addPool == addPool))
363+ then if (!(isDefined(getString(oracle, ("pool_" + toString(this))))))
364+ then throw("Pool is not added")
365+ else {
366+ let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
367+ let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
368+ let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
369+ let arg1 = pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN)
370+ let arg2 = pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN)
371+ let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
372+ let shareInitialSupply = fraction(arg1, arg2, arg3)
373+ let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
374+ let shareIssueId = calculateAssetId(shareIssue)
375+ let baseEntry = [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), IntegerEntry(keyInitPoolHeight, height), ScriptTransfer(userAddress, shareInitialSupply, shareIssueId), ScriptTransfer(walletAddress, comissionForInitalization, SWOP)]
376+ baseEntry
377+ }
378+ else throw("Strict value is not equal to itself.")
379+ }
380+ }
381+
382+
383+
384+@Callable(i)
385+func keepLimitForFirstHarvest (shareLimit) = if (!(isActive))
386+ then throw("DApp is inactive at this moment")
387+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
388+ then throw("Only admin can call this function")
389+ else [IntegerEntry(keyShareLimit, shareLimit)]
390+
391+
392+
393+@Callable(i)
394+func replenishWithTwoTokens (slippageTolerance) = {
395+ let pmtAssetIdA = i.payments[0].assetId
396+ let pmtAssetIdB = i.payments[1].assetId
397+ let pmtAmountA = deductStakingFee(i.payments[0].amount, pmtAssetIdA, pmtAssetIdB)
398+ let pmtAmountB = deductStakingFee(i.payments[1].amount, pmtAssetIdB, pmtAssetIdA)
399+ if (if ((balanceA == 0))
400+ then (balanceB == 0)
401+ else false)
402+ then {
403+ let $t01327713354 = getAssetInfo(pmtAssetIdA)
404+ let pmtStrAssetIdA = $t01327713354._1
405+ let pmtAssetNameA = $t01327713354._2
406+ let pmtDecimalsA = $t01327713354._3
407+ let $t01336313440 = getAssetInfo(pmtAssetIdB)
408+ let pmtStrAssetIdB = $t01336313440._1
409+ let pmtAssetNameB = $t01336313440._2
410+ let pmtDecimalsB = $t01336313440._3
411+ let tokenRatio = fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
412+ if ((pmtAssetIdA == pmtAssetIdB))
413+ then throw("Assets must be different")
414+ else {
415+ let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
416+ let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
417+ if (!(isActive))
418+ then throw("DApp is inactive at this moment")
419+ else if (if ((0 > slippageTolerance))
420+ then true
421+ else (slippageTolerance > slippageToleranceDelimiter))
422+ then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
423+ else if ((size(i.payments) != 2))
424+ then throw("Two attached assets expected")
425+ else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
426+ then true
427+ else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
428+ then throw("Incorrect assets amount: amounts must have the contract ratio")
429+ else if (if ((pmtAssetIdA != assetIdA))
430+ then true
431+ else (pmtAssetIdB != assetIdB))
432+ then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
433+ else if ((shareInitialSupply == 0))
434+ then throw("Too small amount to replenish")
435+ else if (!(hasEnoughBalance))
436+ then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
437+ else [Reissue(shareAssetId, shareInitialSupply, true), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareAssetId)]
438+ }
439+ }
440+ else {
441+ let tokenRatio = fraction(fraction(balanceA, scaleValue8, pmtAmountA), scaleValue3, fraction(balanceB, scaleValue8, pmtAmountB))
442+ let ratioShareTokensInA = fraction(pmtAmountA, scaleValue8, balanceA)
443+ let ratioShareTokensInB = fraction(pmtAmountB, scaleValue8, balanceB)
444+ let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scaleValue8)
445+ if (!(isActive))
446+ then throw("DApp is inactive at this moment")
447+ else if (if ((0 > slippageTolerance))
448+ then true
449+ else (slippageTolerance > slippageToleranceDelimiter))
450+ then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
451+ else if ((size(i.payments) != 2))
452+ then throw("Two attached assets expected")
453+ else if (if ((pmtAssetIdA != assetIdA))
454+ then true
455+ else (pmtAssetIdB != assetIdB))
456+ then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
457+ else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
458+ then true
459+ else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
460+ then throw("Incorrect assets amount: amounts must have the contract ratio")
461+ else if ((shareTokenToPayAmount == 0))
462+ then throw("Too small amount to replenish")
463+ else if (!(hasEnoughBalance))
464+ then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
465+ else [IntegerEntry(keyBalanceA, (balanceA + pmtAmountA)), IntegerEntry(keyBalanceB, (balanceB + pmtAmountB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
466+ }
467+ }
468+
469+
470+
471+@Callable(i)
472+func withdraw () = {
473+ let $t01783917989 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
474+ let pmtAmount = $t01783917989._1
475+ let pmtAssetId = $t01783917989._2
476+ let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA, assetIdB)
477+ let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB, assetIdA)
478+ if (!(isActive))
479+ then throw("DApp is inactive at this moment")
480+ else if ((size(i.payments) != 1))
481+ then throw("One attached payment expected")
482+ else if ((pmtAssetId != shareAssetId))
483+ then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
484+ else if (!(hasEnoughBalance))
485+ then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
486+ else if (if ((amountToPayA > availableBalanceA))
487+ then true
488+ else (amountToPayB > availableBalanceB))
489+ then throwInsufficientAvailableBalances(amountToPayA, amountToPayB)
490+ 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)]
491+ }
492+
493+
494+
495+@Callable(i)
496+func exchange (minAmountToReceive) = {
497+ let $t01921519290 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
498+ let pmtAmount = $t01921519290._1
499+ let pmtAssetId = $t01921519290._2
500+ func calculateFees (tokenFrom,tokenTo) = {
501+ let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
502+ let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
503+ let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
504+ if ((minAmountToReceive > amountWithFee))
505+ then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
506+ else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
507+ }
508+
509+ if (!(isActive))
510+ then throw("DApp is inactive at this moment")
511+ else if (if ((balanceA == 0))
512+ then true
513+ else (balanceB == 0))
514+ then throw("Can't exchange with zero balance")
515+ else if ((0 >= minAmountToReceive))
516+ then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
517+ else if ((size(i.payments) != 1))
518+ then throw("One attached payment expected")
519+ else if (!(hasEnoughBalance))
520+ then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
521+ else if ((pmtAssetId == assetIdA))
522+ then {
523+ let assetIdSend = assetIdB
524+ let $t02056420655 = calculateFees(balanceA, balanceB)
525+ let amountWithoutFee = $t02056420655._1
526+ let amountWithFee = $t02056420655._2
527+ let governanceReward = $t02056420655._3
528+ let newBalanceA = (balanceA + pmtAmount)
529+ let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
530+ if (if ((stakedAmountA >= newBalanceA))
531+ then true
532+ else (stakedAmountB >= newBalanceB))
533+ then throwInsufficientAvailableBalance(amountWithFee, availableBalanceB, assetNameB)
534+ else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
535+ }
536+ else if ((pmtAssetId == assetIdB))
537+ then {
538+ let assetIdSend = assetIdA
539+ let $t02147421565 = calculateFees(balanceB, balanceA)
540+ let amountWithoutFee = $t02147421565._1
541+ let amountWithFee = $t02147421565._2
542+ let governanceReward = $t02147421565._3
543+ let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
544+ let newBalanceB = (balanceB + pmtAmount)
545+ if (if ((stakedAmountA >= newBalanceA))
546+ then true
547+ else (stakedAmountB >= newBalanceB))
548+ then throwInsufficientAvailableBalance(amountWithFee, availableBalanceA, assetNameA)
549+ else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
550+ }
551+ else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
552+ }
553+
554+
555+
556+@Callable(i)
557+func shutdown () = if (!(isActive))
558+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
559+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
560+ then throw("Only admin can call this function")
561+ else suspend("Paused by admin")
562+
563+
564+
565+@Callable(i)
566+func activate () = if (isActive)
567+ then throw("DApp is already active")
568+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
569+ then throw("Only admin can call this function")
570+ else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)]
571+
572+
573+
574+@Callable(i)
575+func takeIntoAccountExtraFunds (amountLeave) = {
576+ let uncountableAmountEnrollAssetA = (accountBalanceWithStakedA - balanceA)
577+ let uncountableAmountEnrollAssetB = (accountBalanceWithStakedB - balanceB)
578+ let amountEnrollA = (uncountableAmountEnrollAssetA - (if ((assetIdA == unit))
579+ then amountLeave
580+ else 0))
581+ let amountEnrollB = (uncountableAmountEnrollAssetB - (if ((assetIdB == unit))
582+ then amountLeave
583+ else 0))
584+ if (!(isActive))
585+ then throw("DApp is inactive at this moment")
586+ else if ((i.caller != this))
587+ then throw("Only the DApp itself can call this function")
588+ else if ((0 > amountLeave))
589+ then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
590+ else if (if ((0 > uncountableAmountEnrollAssetA))
591+ then true
592+ else (0 > uncountableAmountEnrollAssetB))
593+ then suspend("Enroll amount negative")
594+ else if (if ((0 > amountEnrollA))
595+ then true
596+ else (0 > amountEnrollB))
597+ then throw("Too large amountLeave")
598+ else [IntegerEntry(keyBalanceA, (balanceA + amountEnrollA)), IntegerEntry(keyBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
599+ }
600+
601+
602+
603+@Callable(i)
604+func enableFirstHarvest () = [BooleanEntry(keyFirstHarvest, true), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))]
605+
606+
607+@Verifier(tx)
608+func verify () = {
609+ let multiSignedByAdmins = {
610+ let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
611+ then 1
612+ else 0
613+ let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
614+ then 1
615+ else 0
616+ let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
617+ then 1
618+ else 0
619+ (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
620+ }
621+ match tx {
622+ case inv: InvokeScriptTransaction =>
623+ let callTakeIntoAccount = if ((inv.dApp == this))
624+ then (inv.function == "takeIntoAccountExtraFunds")
625+ else false
626+ let callEnableFirstHarvest = if ((inv.dApp == this))
627+ then (inv.function == "enableFirstHarvest")
628+ else false
629+ let callStaking = if (if ((inv.dApp == stakingUSDNNSBTAddress))
630+ then if (if (if ((inv.function == "lockNeutrino"))
631+ then (size(inv.payments) == 1)
632+ else false)
633+ then if ((inv.payments[0].assetId == USDN))
634+ then true
635+ else (inv.payments[0].assetId == NSBT)
636+ else false)
637+ then true
638+ else if ((inv.function == "unlockNeutrino"))
639+ then (size(inv.payments) == 0)
640+ else false
641+ else false)
642+ then true
643+ else if ((inv.dApp == stakingEURNAddress))
644+ then if (if (if ((inv.function == "startStaking"))
645+ then (size(inv.payments) == 1)
646+ else false)
647+ then (inv.payments[0].assetId == EURN)
648+ else false)
649+ then true
650+ else if ((inv.function == "stopStaking"))
651+ then (size(inv.payments) == 0)
652+ else false
653+ else false
654+ let exchangeToWaves = if (if (if ((inv.dApp == USDNToWavesExchanger))
655+ then (inv.function == "exchange")
656+ else false)
657+ then (assetIdA == USDN)
658+ else false)
659+ then true
660+ else if (if ((assetIdB == USDN))
661+ then (size(inv.payments) == 1)
662+ else false)
663+ then (inv.payments[0].assetId == USDN)
664+ else false
665+ let exchangeToNSBTs = if (if (if ((inv.dApp == USDNToNSBTExchanger))
666+ then (inv.function == "exchange")
667+ else false)
668+ then (assetIdA == NSBT)
669+ else false)
670+ then true
671+ else if (if ((assetIdB == NSBT))
672+ then (size(inv.payments) == 1)
673+ else false)
674+ then (inv.payments[0].assetId == USDN)
675+ else false
676+ let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
677+ then true
678+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
679+ then true
680+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
681+ then true
682+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyStaking)
683+ if (if (if (if (if (if (callTakeIntoAccount)
684+ then true
685+ else callEnableFirstHarvest)
686+ then true
687+ else callStaking)
688+ then true
689+ else exchangeToWaves)
690+ then true
691+ else exchangeToNSBTs)
692+ then signedByAdmin
693+ else false)
694+ then true
695+ else multiSignedByAdmins
696+ case _ =>
697+ multiSignedByAdmins
698+ }
699+ }
700+

github/deemru/w8io/026f985 
41.03 ms