tx · 8UWa5VW95Se19Gw7yyAC9Boj2XbdYqJEjxfepfu9o1qj

3N67pVXcg9s9Lc1iP6ToMo6rjbchjKitmd8:  -0.01000000 Waves

2021.05.19 19:51 [1532812] smart account 3N67pVXcg9s9Lc1iP6ToMo6rjbchjKitmd8 > SELF 0.00000000 Waves

{ "type": 13, "id": "8UWa5VW95Se19Gw7yyAC9Boj2XbdYqJEjxfepfu9o1qj", "fee": 1000000, "feeAssetId": null, "timestamp": 1621443082488, "version": 2, "chainId": 84, "sender": "3N67pVXcg9s9Lc1iP6ToMo6rjbchjKitmd8", "senderPublicKey": "9jgiS4xuTrBNA9PtddTXFuJwnz3c873Rme31h4g2eLtq", "proofs": [ "hp2wYmhpkzxj6hoA1F3zVc3kovwy1S5Mmcy7BM7xXF4VkWF3xwtcuU1wXfX18QoUXWznyfLFmUJdY7BwddU7JP9" ], "script": "base64:AAIEAAAAAAAAACoIAhIDCgEEEgcKBQEBCAgEEgMKAQESAwoBARIAEgMKAQESABIAEgMKAQEAAABFAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAC2tleUFzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAtrZXlBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAALa2V5QmFsYW5jZUECAAAAD0FfYXNzZXRfYmFsYW5jZQAAAAALa2V5QmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAAPa2V5QmFsYW5jZUluaXRBAgAAAAxBX2Fzc2V0X2luaXQAAAAAD2tleUJhbGFuY2VJbml0QgIAAAAMQl9hc3NldF9pbml0AAAAAA9rZXlTaGFyZUFzc2V0SWQCAAAADnNoYXJlX2Fzc2V0X2lkAAAAABNrZXlTaGFyZUFzc2V0U3VwcGx5AgAAABJzaGFyZV9hc3NldF9zdXBwbHkAAAAADWtleUNvbW1pc3Npb24CA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dHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAxhZG1pblB1YktleTMGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAASYWRtaW5QdWJLZXlTdGFraW5nAwUAAAATY2FsbFRha2VJbnRvQWNjb3VudAYFAAAAC2NhbGxTdGFraW5nCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleRucSFM=", "height": 1532812, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: Fo6wtfZv5oWWP5P91PfY373KmENYXtN4GrABmzZs2d1L 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 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 kShareLimit = "share_limit_on_first_harvest"
37+
38+let kBasePeriod = "base_period"
39+
40+let kPeriodLength = "period_length"
41+
42+let kStartHeight = "start_height"
43+
44+let kFirstHarvestHeight = "first_harvest_height"
45+
46+let adminPubKey1 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
47+
48+let adminPubKey2 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
49+
50+let adminPubKey3 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
51+
52+let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
53+
54+let adminPubKeyStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
55+
56+let adminPubKeyBackend = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
57+
58+let walletAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
59+
60+let votingAddress = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
61+
62+let stakingAddress = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg')
63+
64+let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
65+
66+let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
67+
68+let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
69+
70+let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
71+
72+let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
73+
74+let stakingFeeInUSDN = (9 * value(value(assetInfo(USDN)).minSponsoredFee))
75+
76+let isActive = getBooleanValue(this, keyActive)
77+
78+let strAssetIdA = getStringValue(this, keyAssetIdA)
79+
80+let strAssetIdB = getStringValue(this, keyAssetIdB)
81+
82+let assetIdA = if ((strAssetIdA == "WAVES"))
83+ then unit
84+ else fromBase58String(strAssetIdA)
85+
86+let assetIdB = if ((strAssetIdB == "WAVES"))
87+ then unit
88+ else fromBase58String(strAssetIdB)
89+
90+let assetNameA = match assetIdA {
91+ case id: ByteVector =>
92+ value(assetInfo(id)).name
93+ case waves: Unit =>
94+ "WAVES"
95+ case _ =>
96+ throw("Match error")
97+}
98+
99+let assetNameB = match assetIdB {
100+ case id: ByteVector =>
101+ value(assetInfo(id)).name
102+ case waves: Unit =>
103+ "WAVES"
104+ case _ =>
105+ throw("Match error")
106+}
107+
108+let balanceA = getIntegerValue(this, keyBalanceA)
109+
110+let balanceB = getIntegerValue(this, keyBalanceB)
111+
112+let shareAssetId = fromBase58String(getStringValue(this, keyShareAssetId))
113+
114+let shareAssetSupply = getIntegerValue(this, keyShareAssetSupply)
115+
116+let commission = 3000
117+
118+let commissionGovernance = 1200
119+
120+let commissionScaleDelimiter = 1000000
121+
122+let scaleValue3 = 1000
123+
124+let scaleValue8 = 100000000
125+
126+let slippageToleranceDelimiter = 1000
127+
128+let scaleValue8Digits = 8
129+
130+func accountBalance (assetId) = match assetId {
131+ case id: ByteVector =>
132+ assetBalance(this, id)
133+ case waves: Unit =>
134+ wavesBalance(this).available
135+ case _ =>
136+ throw("Match error")
137+}
138+
139+
140+let stakedAmountUSDN = match getInteger(stakingAddress, ((("rpd_balance_" + toBase58String(USDN)) + "_") + toString(this))) {
141+ case staked: Int =>
142+ staked
143+ case nothing: Unit =>
144+ 0
145+ case _ =>
146+ throw("Match error")
147+}
148+
149+let assetInitA = getIntegerValue(this, keyBalanceInitA)
150+
151+let assetInitB = getIntegerValue(this, keyBalanceInitB)
152+
153+let availableBalanceA = (balanceA - (if ((assetIdA == USDN))
154+ then stakedAmountUSDN
155+ else 0))
156+
157+let availableBalanceB = (balanceB - (if ((assetIdB == USDN))
158+ then stakedAmountUSDN
159+ else 0))
160+
161+let accountBalanceWithStakedA = (accountBalance(assetIdA) + (if ((assetIdA == USDN))
162+ then stakedAmountUSDN
163+ else 0))
164+
165+let accountBalanceWithStakedB = (accountBalance(assetIdB) + (if ((assetIdB == USDN))
166+ then stakedAmountUSDN
167+ else 0))
168+
169+let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
170+ then (accountBalanceWithStakedB >= balanceB)
171+ else false
172+
173+func getAssetInfo (assetId) = match assetId {
174+ case id: ByteVector =>
175+ let stringId = toBase58String(id)
176+ let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
177+ $Tuple3(stringId, info.name, info.decimals)
178+ case waves: Unit =>
179+ $Tuple3("WAVES", "WAVES", 8)
180+ case _ =>
181+ throw("Match error")
182+}
183+
184+
185+func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES"))
186+ then $Tuple3("WAVES", "WAVES", 8)
187+ else {
188+ let stringId = assetStr
189+ let id = fromBase58String(assetStr)
190+ let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
191+ $Tuple3(stringId, info.name, info.decimals)
192+ }
193+
194+
195+func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
196+
197+
198+func deductStakingFee (amount,assetId) = if ((assetId == USDN))
199+ then {
200+ let result = (amount - stakingFeeInUSDN)
201+ if ((0 >= result))
202+ then throw((((("Insufficient amount " + toString(amount)) + " to deduct staking fee ") + toString(stakingFeeInUSDN)) + " USD-N"))
203+ else result
204+ }
205+ else amount
206+
207+
208+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"))
209+
210+
211+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"))
212+
213+
214+@Callable(i)
215+func init (firstHarvest) = {
216+ let $t061296206 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
217+ let pmtAmountA = $t061296206._1
218+ let pmtAssetIdA = $t061296206._2
219+ let $t062116288 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
220+ let pmtAmountB = $t062116288._1
221+ let pmtAssetIdB = $t062116288._2
222+ let $t062936370 = getAssetInfo(pmtAssetIdA)
223+ let pmtStrAssetIdA = $t062936370._1
224+ let pmtAssetNameA = $t062936370._2
225+ let pmtDecimalsA = $t062936370._3
226+ let $t063756452 = getAssetInfo(pmtAssetIdB)
227+ let pmtStrAssetIdB = $t063756452._1
228+ let pmtAssetNameB = $t063756452._2
229+ let pmtDecimalsB = $t063756452._3
230+ if (if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)))
231+ then true
232+ else (i.caller != this))
233+ then throw("Only admin or DApp can call this function")
234+ else if (isDefined(getBoolean(this, keyActive)))
235+ then throw("DApp is already active")
236+ else if ((pmtAssetIdA == pmtAssetIdB))
237+ then throw("Assets must be different")
238+ else {
239+ let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
240+ let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
241+ let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
242+ let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, HALFDOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, HALFDOWN), pow(10, 0, shareDecimals, 0, 0, HALFDOWN))
243+ let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
244+ let shareIssueId = calculateAssetId(shareIssue)
245+ 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), ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
246+ if (firstHarvest)
247+ then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (firstHarvestEndPeriod * periodLength))])
248+ else baseEntry
249+ }
250+ }
251+
252+
253+
254+@Callable(i)
255+func initWithInitRatio (amtAssetA,amtAssetB,strAssetIdA,strAssetIdB,firstHarvest) = {
256+ let $t086548741 = getAssetInfoFromString(strAssetIdA)
257+ let pmtStrAssetIdA = $t086548741._1
258+ let pmtAssetNameA = $t086548741._2
259+ let pmtDecimalsA = $t086548741._3
260+ let $t087468833 = getAssetInfoFromString(strAssetIdB)
261+ let pmtStrAssetIdB = $t087468833._1
262+ let pmtAssetNameB = $t087468833._2
263+ let pmtDecimalsB = $t087468833._3
264+ if (if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)))
265+ then true
266+ else (i.caller != this))
267+ then throw("Only admin or DApp can call this function")
268+ else if (isDefined(getBoolean(this, keyActive)))
269+ then throw("DApp is already active")
270+ else if ((strAssetIdA == strAssetIdB))
271+ then throw("Assets must be different")
272+ else {
273+ let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
274+ let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
275+ let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
276+ let shareInitialSupply = 0
277+ let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
278+ let shareIssueId = calculateAssetId(shareIssue)
279+ let baseEntry = [StringEntry(keyVersion, version), BooleanEntry(keyActive, true), StringEntry(keyAssetIdA, pmtStrAssetIdA), StringEntry(keyAssetIdB, pmtStrAssetIdB), IntegerEntry(keyBalanceInitA, amtAssetA), IntegerEntry(keyBalanceInitB, amtAssetB), IntegerEntry(keyBalanceA, 0), IntegerEntry(keyBalanceB, 0), IntegerEntry(keyCommission, commission), IntegerEntry(keyCommissionScaleDelimiter, commissionScaleDelimiter), shareIssue, StringEntry(keyShareAssetId, toBase58String(shareIssueId)), IntegerEntry(keyFirstHarvestHeight, (firstHarvestEndPeriod * periodLength)), IntegerEntry(keyShareAssetSupply, shareInitialSupply)]
280+ if (firstHarvest)
281+ then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (firstHarvestEndPeriod * periodLength))])
282+ else baseEntry
283+ }
284+ }
285+
286+
287+
288+@Callable(i)
289+func keepLimitForFirstHarvest (shareLimit) = if (!(isActive))
290+ then throw("DApp is inactive at this moment")
291+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
292+ then throw("Only admin can call this function")
293+ else [IntegerEntry(kShareLimit, shareLimit)]
294+
295+
296+
297+@Callable(i)
298+func replenishWithTwoTokens (slippageTolerance) = {
299+ let pmtAssetIdA = i.payments[0].assetId
300+ let pmtAssetIdB = i.payments[1].assetId
301+ let pmtAmountA = deductStakingFee(i.payments[0].amount, pmtAssetIdA)
302+ let pmtAmountB = deductStakingFee(i.payments[1].amount, pmtAssetIdB)
303+ if (if ((balanceA == 0))
304+ then (balanceB == 0)
305+ else false)
306+ then {
307+ let $t01160211679 = getAssetInfo(pmtAssetIdA)
308+ let pmtStrAssetIdA = $t01160211679._1
309+ let pmtAssetNameA = $t01160211679._2
310+ let pmtDecimalsA = $t01160211679._3
311+ let $t01168811765 = getAssetInfo(pmtAssetIdB)
312+ let pmtStrAssetIdB = $t01168811765._1
313+ let pmtAssetNameB = $t01168811765._2
314+ let pmtDecimalsB = $t01168811765._3
315+ let tokenRatio = fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
316+ if ((pmtAssetIdA == pmtAssetIdB))
317+ then throw("Assets must be different")
318+ else {
319+ let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
320+ let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, HALFDOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, HALFDOWN), pow(10, 0, shareDecimals, 0, 0, HALFDOWN))
321+ if (!(isActive))
322+ then throw("DApp is inactive at this moment")
323+ else if (if ((0 > slippageTolerance))
324+ then true
325+ else (slippageTolerance > slippageToleranceDelimiter))
326+ then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
327+ else if ((size(i.payments) != 2))
328+ then throw("Two attached assets expected")
329+ else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
330+ then true
331+ else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
332+ then throw("Incorrect assets amount: amounts must have the contract ratio")
333+ else if (if ((pmtAssetIdA != assetIdA))
334+ then true
335+ else (pmtAssetIdB != assetIdB))
336+ then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
337+ else if ((shareInitialSupply == 0))
338+ then throw("Too small amount to replenish")
339+ else if (!(hasEnoughBalance))
340+ then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
341+ else [Reissue(shareAssetId, shareInitialSupply, true), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareAssetId)]
342+ }
343+ }
344+ else {
345+ let tokenRatio = fraction(fraction(balanceA, scaleValue8, pmtAmountA), scaleValue3, fraction(balanceB, scaleValue8, pmtAmountB))
346+ let ratioShareTokensInA = fraction(pmtAmountA, scaleValue8, balanceA)
347+ let ratioShareTokensInB = fraction(pmtAmountB, scaleValue8, balanceB)
348+ let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scaleValue8)
349+ if (!(isActive))
350+ then throw("DApp is inactive at this moment")
351+ else if (if ((0 > slippageTolerance))
352+ then true
353+ else (slippageTolerance > slippageToleranceDelimiter))
354+ then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
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 throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
361+ else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
362+ then true
363+ else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
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 suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
369+ else [IntegerEntry(keyBalanceA, (balanceA + pmtAmountA)), IntegerEntry(keyBalanceB, (balanceB + pmtAmountB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
370+ }
371+ }
372+
373+
374+
375+@Callable(i)
376+func withdraw () = {
377+ let $t01639916549 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
378+ let pmtAmount = $t01639916549._1
379+ let pmtAssetId = $t01639916549._2
380+ let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA)
381+ let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB)
382+ if (!(isActive))
383+ then throw("DApp is inactive at this moment")
384+ else if ((size(i.payments) != 1))
385+ then throw("One attached payment expected")
386+ else if ((pmtAssetId != shareAssetId))
387+ then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
388+ else if (!(hasEnoughBalance))
389+ then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
390+ else if (if ((amountToPayA > availableBalanceA))
391+ then true
392+ else (amountToPayB > availableBalanceB))
393+ then throwInsufficientAvailableBalances(amountToPayA, amountToPayB)
394+ 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)]
395+ }
396+
397+
398+
399+@Callable(i)
400+func exchange (minAmountToReceive) = {
401+ let $t01793918014 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
402+ let pmtAmount = $t01793918014._1
403+ let pmtAssetId = $t01793918014._2
404+ func calculateFees (tokenFrom,tokenTo) = {
405+ let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
406+ let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
407+ let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
408+ if ((minAmountToReceive > amountWithFee))
409+ then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
410+ else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
411+ }
412+
413+ if (!(isActive))
414+ then throw("DApp is inactive at this moment")
415+ else if (if ((balanceA == 0))
416+ then true
417+ else (balanceB == 0))
418+ then throw("Can't exchange with zero balance")
419+ else if ((0 >= minAmountToReceive))
420+ then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
421+ else if ((size(i.payments) != 1))
422+ then throw("One attached payment expected")
423+ else if (!(hasEnoughBalance))
424+ then suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
425+ else if ((pmtAssetId == assetIdA))
426+ then {
427+ let assetIdSend = assetIdB
428+ let $t01947319564 = calculateFees(balanceA, balanceB)
429+ let amountWithoutFee = $t01947319564._1
430+ let amountWithFee = $t01947319564._2
431+ let governanceReward = $t01947319564._3
432+ let newBalanceA = (balanceA + pmtAmount)
433+ let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
434+ if (if (if ((assetIdA == USDN))
435+ then (stakedAmountUSDN >= newBalanceA)
436+ else false)
437+ then true
438+ else if ((assetIdB == USDN))
439+ then (stakedAmountUSDN >= newBalanceB)
440+ else false)
441+ then throwInsufficientAvailableBalance(amountWithFee, availableBalanceB, assetNameB)
442+ else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
443+ }
444+ else if ((pmtAssetId == assetIdB))
445+ then {
446+ let assetIdSend = assetIdA
447+ let $t02043320524 = calculateFees(balanceB, balanceA)
448+ let amountWithoutFee = $t02043320524._1
449+ let amountWithFee = $t02043320524._2
450+ let governanceReward = $t02043320524._3
451+ let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
452+ let newBalanceB = (balanceB + pmtAmount)
453+ if (if (if ((assetIdA == USDN))
454+ then (stakedAmountUSDN >= newBalanceA)
455+ else false)
456+ then true
457+ else if ((assetIdB == USDN))
458+ then (stakedAmountUSDN >= newBalanceB)
459+ else false)
460+ then throwInsufficientAvailableBalance(amountWithFee, availableBalanceA, assetNameA)
461+ else [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
462+ }
463+ else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
464+ }
465+
466+
467+
468+@Callable(i)
469+func shutdown () = if (!(isActive))
470+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
471+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
472+ then throw("Only admin can call this function")
473+ else suspend("Paused by admin")
474+
475+
476+
477+@Callable(i)
478+func activate () = if (isActive)
479+ then throw("DApp is already active")
480+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
481+ then throw("Only admin can call this function")
482+ else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)]
483+
484+
485+
486+@Callable(i)
487+func takeIntoAccountExtraFunds (amountLeave) = {
488+ let uncountableAmountEnrollAssetA = (accountBalanceWithStakedA - balanceA)
489+ let uncountableAmountEnrollAssetB = (accountBalanceWithStakedB - balanceB)
490+ let amountEnrollA = (uncountableAmountEnrollAssetA - (if ((assetIdA == USDN))
491+ then amountLeave
492+ else 0))
493+ let amountEnrollB = (uncountableAmountEnrollAssetB - (if ((assetIdB == USDN))
494+ then amountLeave
495+ else 0))
496+ if (!(isActive))
497+ then throw("DApp is inactive at this moment")
498+ else if ((i.caller != this))
499+ then throw("Only the DApp itself can call this function")
500+ else if ((0 > amountLeave))
501+ then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
502+ else if (if ((0 > uncountableAmountEnrollAssetA))
503+ then true
504+ else (0 > uncountableAmountEnrollAssetB))
505+ then suspend("Enroll amount negative")
506+ else if (if ((0 > amountEnrollA))
507+ then true
508+ else (0 > amountEnrollB))
509+ then throw("Too large amountLeave")
510+ else [IntegerEntry(keyBalanceA, (balanceA + amountEnrollA)), IntegerEntry(keyBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
511+ }
512+
513+
514+@Verifier(tx)
515+func verify () = match tx {
516+ case invoke: InvokeScriptTransaction =>
517+ let callTakeIntoAccount = if ((invoke.dApp == this))
518+ then (invoke.function == "takeIntoAccountExtraFunds")
519+ else false
520+ let callStaking = if ((invoke.dApp == stakingAddress))
521+ then if (if (if ((invoke.function == "lockNeutrino"))
522+ then (size(invoke.payments) == 1)
523+ else false)
524+ then (invoke.payments[0].assetId == USDN)
525+ else false)
526+ then true
527+ else if ((invoke.function == "unlockNeutrino"))
528+ then (size(invoke.payments) == 0)
529+ else false
530+ else false
531+ let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
532+ then true
533+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
534+ then true
535+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
536+ then true
537+ else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyStaking)
538+ if (callTakeIntoAccount)
539+ then true
540+ else callStaking
541+ case _ =>
542+ sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
543+}
544+

github/deemru/w8io/026f985 
44.09 ms