tx · GADbVoVcXEzVvRjBXs1dqJdYCqk7KGnMrdPLNixo71oE

3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW:  -0.01400000 Waves

2021.07.16 17:16 [1616269] smart account 3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW > SELF 0.00000000 Waves

{ "type": 13, "id": "GADbVoVcXEzVvRjBXs1dqJdYCqk7KGnMrdPLNixo71oE", "fee": 1400000, "feeAssetId": null, "timestamp": 1626445000013, "version": 2, "chainId": 84, "sender": "3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW", "senderPublicKey": "DfbjpZJBbZwnUKysUkxCbWTE1ZWuoUb6Y6BZdu5iAE8j", "proofs": [ "5A7zqAB1S7yCjQVNGacwLPYmctgYXUmNhAmH2912oT9XW6C9DrcPQ7S9zZVMFQNvsdDS4kYfcAn82eq21sVrxB7b", "4gnnCv8w8NJKcC4aGN8ZPGcXu9pXoqLrCwDpfoErSsMVnHGJGoaMBgS4ai1XbCwZqHanvBvXZCURJjwMUNzeAW4u" ], "script": "base64:AAIFAAAAAAAAACAIAhIAEgMKAQESBAoCAQESABIECgIBARIAEgASAwoBAQAAAEwAAAAAB3ZlcnNpb24CAAAABTIuMC4wAAAAAAhrVmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAHa0FjdGl2ZQIAAAAGYWN0aXZlAAAAAAlrQXNzZXRJZEECAAAACkFfYXNzZXRfaWQAAAAACWtBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAAJa0JhbGFuY2VBAgAAAA9BX2Fzc2V0X2JhbGFuY2UAAAAACWtCYWxhbmNlQgIAAAAPQl9hc3NldF9iYWxhbmNlAAAAAA1rU2hhcmVBc3NldElkAgAAAA5zaGFyZV9hc3NldF9pZAAAAAARa1NoYXJlQXNzZXRTdXBwbHkCAAAAEnNoYXJlX2Fzc2V0X3N1cHBseQAAAAAEa0ZlZQIAAAAKY29tbWlzc2lvbgAAAAASa0ZlZVNjYWxlRGVsaW1pdGVyAgAAABpjb21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ABnByb29mcwAAAAAAAAAAAQUAAAAEYWRtMgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAKYWRtM1NpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAARhZG0zAAAAAAAAAAABAAAAAAAAAAAACQAAZwAAAAIJAABkAAAAAgkAAGQAAAACBQAAAAphZG0xU2lnbmVkBQAAAAphZG0yU2lnbmVkBQAAAAphZG0zU2lnbmVkAAAAAAAAAAACPWbLFg==", "height": 1616269, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6UaHeWxEAx8XJ8ybNvPUp9RuJDRBhVxqNJdMQAbpQnen Next: BHvH5taeqL5X55pg7EeSSuZVnBXFB7xbC6mPhodf7QPF Diff:
OldNewDifferences
592592 then (assetIdA == USDN)
593593 else false)
594594 then true
595- else if ((assetIdB == USDN))
595+ else if (if ((assetIdB == USDN))
596+ then (size(inv.payments) == 1)
597+ else false)
596598 then (inv.payments[0].assetId == USDN)
597599 else false
598600 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adm1))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let version = "2.0.0"
55
66 let kVersion = "version"
77
88 let kActive = "active"
99
1010 let kAssetIdA = "A_asset_id"
1111
1212 let kAssetIdB = "B_asset_id"
1313
1414 let kBalanceA = "A_asset_balance"
1515
1616 let kBalanceB = "B_asset_balance"
1717
1818 let kShareAssetId = "share_asset_id"
1919
2020 let kShareAssetSupply = "share_asset_supply"
2121
2222 let kFee = "commission"
2323
2424 let kFeeScaleDelimiter = "commission_scale_delimiter"
2525
2626 let kInvariant = "invariant"
2727
2828 let kCause = "shutdown_cause"
2929
3030 let keyAdminPubKey1 = "admin_pub_1"
3131
3232 let keyAdminPubKey2 = "admin_pub_2"
3333
3434 let keyAdminPubKey3 = "admin_pub_3"
3535
3636 let USDNToWavesExchanger = Address(base58'3N77kfPbQyjXWpDALX3xjKw3iEGMWEctV37')
3737
3838 let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
3939
4040 func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) {
4141 case string: String =>
4242 fromBase58String(string)
4343 case nothing =>
4444 throw("Admin public key is empty")
4545 }
4646
4747
4848 let adm1 = getAdminPub(keyAdminPubKey1)
4949
5050 let adm2 = getAdminPub(keyAdminPubKey2)
5151
5252 let adm3 = getAdminPub(keyAdminPubKey3)
5353
5454 let admStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5555
5656 let admStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
5757
5858 let govAddr = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
5959
6060 let stakingAddress = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg')
6161
6262 let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
6363
6464 let stakingFeeInUSDN = 270000
6565
6666 let isActive = getBooleanValue(this, kActive)
6767
6868 let strAssetIdA = getStringValue(this, kAssetIdA)
6969
7070 let strAssetIdB = getStringValue(this, kAssetIdB)
7171
7272 let assetIdA = if ((strAssetIdA == "WAVES"))
7373 then unit
7474 else fromBase58String(strAssetIdA)
7575
7676 let assetIdB = if ((strAssetIdB == "WAVES"))
7777 then unit
7878 else fromBase58String(strAssetIdB)
7979
8080 let assetNameA = match assetIdA {
8181 case id: ByteVector =>
8282 value(assetInfo(id)).name
8383 case waves: Unit =>
8484 "WAVES"
8585 case _ =>
8686 throw("Match error")
8787 }
8888
8989 let assetNameB = match assetIdB {
9090 case id: ByteVector =>
9191 value(assetInfo(id)).name
9292 case waves: Unit =>
9393 "WAVES"
9494 case _ =>
9595 throw("Match error")
9696 }
9797
9898 let balanceA = getIntegerValue(this, kBalanceA)
9999
100100 let balanceB = getIntegerValue(this, kBalanceB)
101101
102102 let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
103103
104104 let shareAssetSupply = getIntegerValue(this, kShareAssetSupply)
105105
106106 let invariant = getIntegerValue(this, kInvariant)
107107
108108 let fee = 500
109109
110110 let feeGovernance = 200
111111
112112 let feeScale6 = 1000000
113113
114114 let scale3 = 1000
115115
116116 let scale8 = 100000000
117117
118118 let scale12 = 1000000000000
119119
120120 let slippageScale3 = 1000
121121
122122 let digits8 = 8
123123
124124 let dAppThreshold = 50
125125
126126 let dAppThresholdScale2 = 100
127127
128128 let exchangeRatioLimitMin = 90000000
129129
130130 let exchangeRatioLimitMax = 110000000
131131
132132 let alpha = 50
133133
134134 let alphaDigits = 2
135135
136136 let beta = 46000000
137137
138138 func accountBalance (assetId) = match assetId {
139139 case id: ByteVector =>
140140 assetBalance(this, id)
141141 case waves: Unit =>
142142 wavesBalance(this).available
143143 case _ =>
144144 throw("Match error")
145145 }
146146
147147
148148 let stakedAmountUSDN = match getInteger(stakingAddress, ((("rpd_balance_" + toBase58String(USDN)) + "_") + toString(this))) {
149149 case staked: Int =>
150150 staked
151151 case nothing: Unit =>
152152 0
153153 case _ =>
154154 throw("Match error")
155155 }
156156
157157 let availableBalanceA = (balanceA - (if ((assetIdA == USDN))
158158 then stakedAmountUSDN
159159 else 0))
160160
161161 let availableBalanceB = (balanceB - (if ((assetIdB == USDN))
162162 then stakedAmountUSDN
163163 else 0))
164164
165165 let accountBalanceWithStakedA = (accountBalance(assetIdA) + (if ((assetIdA == USDN))
166166 then stakedAmountUSDN
167167 else 0))
168168
169169 let accountBalanceWithStakedB = (accountBalance(assetIdB) + (if ((assetIdB == USDN))
170170 then stakedAmountUSDN
171171 else 0))
172172
173173 let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
174174 then (accountBalanceWithStakedB >= balanceB)
175175 else false
176176
177177 func skewness (x,y) = (((fraction(scale12, x, y) + fraction(scale12, y, x)) / 2) / 10000)
178178
179179
180180 func invariantCalc (x,y) = {
181181 let sk = skewness(x, y)
182182 (fraction((x + y), scale8, pow(sk, digits8, alpha, alphaDigits, digits8, CEILING)) + (2 * fraction(pow(fraction(x, y, scale8), 0, 5, 1, (digits8 / 2), DOWN), pow((sk - beta), digits8, alpha, alphaDigits, digits8, DOWN), scale8)))
183183 }
184184
185185
186186 func calculateSendAmount (amountToSendEstimated,minTokenReceiveAmount,tokenReceiveAmount,tokenId) = {
187187 let slippageValue = (scale8 - ((scale8 * 1) / 10000000))
188188 let deltaBetweenMaxAndMinSendValue = (amountToSendEstimated - minTokenReceiveAmount)
189189 let x = (balanceA + tokenReceiveAmount)
190190 let y = (balanceB + tokenReceiveAmount)
191191 let invariantNew = if ((tokenId == assetIdA))
192192 then invariantCalc(x, (balanceB - amountToSendEstimated))
193193 else if ((tokenId == assetIdB))
194194 then invariantCalc((balanceA - amountToSendEstimated), y)
195195 else throw("Wrong asset in payment")
196196 let invariantEstimatedRatio = fraction(scale8, invariant, invariantNew)
197197 func getStepAmount (acc,step) = if ((acc == -1))
198198 then {
199199 let amountToSend = (amountToSendEstimated - ((step * deltaBetweenMaxAndMinSendValue) / 5))
200200 let stepInvariant = if ((tokenId == assetIdA))
201201 then invariantCalc(x, (balanceB - amountToSend))
202202 else invariantCalc((balanceA - amountToSend), y)
203203 if ((stepInvariant > invariant))
204204 then amountToSend
205205 else -1
206206 }
207207 else acc
208208
209209 let stepAmount = {
210210 let $list60256068 = [1, 2, 3, 4, 5]
211211 let $size60256068 = size($list60256068)
212212 let $acc060256068 = -1
213213 if (($size60256068 == 0))
214214 then $acc060256068
215215 else {
216216 let $acc160256068 = getStepAmount($acc060256068, $list60256068[0])
217217 if (($size60256068 == 1))
218218 then $acc160256068
219219 else {
220220 let $acc260256068 = getStepAmount($acc160256068, $list60256068[1])
221221 if (($size60256068 == 2))
222222 then $acc260256068
223223 else {
224224 let $acc360256068 = getStepAmount($acc260256068, $list60256068[2])
225225 if (($size60256068 == 3))
226226 then $acc360256068
227227 else {
228228 let $acc460256068 = getStepAmount($acc360256068, $list60256068[3])
229229 if (($size60256068 == 4))
230230 then $acc460256068
231231 else {
232232 let $acc560256068 = getStepAmount($acc460256068, $list60256068[4])
233233 if (($size60256068 == 5))
234234 then $acc560256068
235235 else {
236236 let $acc660256068 = getStepAmount($acc560256068, $list60256068[5])
237237 throw("List size exceed 5")
238238 }
239239 }
240240 }
241241 }
242242 }
243243 }
244244 }
245245 if ((0 > stepAmount))
246246 then throw("something went wrong while working with amountToSend")
247247 else if (if ((invariantEstimatedRatio > slippageValue))
248248 then (invariantNew > invariant)
249249 else false)
250250 then amountToSendEstimated
251251 else stepAmount
252252 }
253253
254254
255255 func getAssetInfo (assetId) = match assetId {
256256 case id: ByteVector =>
257257 let stringId = toBase58String(id)
258258 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
259259 $Tuple3(stringId, info.name, info.decimals)
260260 case waves: Unit =>
261261 $Tuple3("WAVES", "WAVES", 8)
262262 case _ =>
263263 throw("Match error")
264264 }
265265
266266
267267 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
268268
269269
270270 func deductStakingFee (amount,assetId) = if ((assetId == USDN))
271271 then {
272272 let result = (amount - stakingFeeInUSDN)
273273 if ((0 >= result))
274274 then throw((((("Insufficient amount " + toString(amount)) + " to deduct staking fee ") + toString(stakingFeeInUSDN)) + " USD-N"))
275275 else result
276276 }
277277 else amount
278278
279279
280280 func throwIsActive () = throw("DApp is already active")
281281
282282
283283 func throwIsInactive () = throw("DApp is inactive at this moment")
284284
285285
286286 func throwOnlyAdmin () = throw("Only admin can call this function")
287287
288288
289289 func throwAssets () = throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
290290
291291
292292 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))
293293
294294
295295 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"))
296296
297297
298298 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"))
299299
300300
301301 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
302302
303303
304304 @Callable(i)
305305 func init () = {
306306 let $t087448821 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
307307 let pmtAmountA = $t087448821._1
308308 let pmtAssetIdA = $t087448821._2
309309 let $t088268903 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
310310 let pmtAmountB = $t088268903._1
311311 let pmtAssetIdB = $t088268903._2
312312 let $t089088985 = getAssetInfo(pmtAssetIdA)
313313 let pmtStrAssetIdA = $t089088985._1
314314 let pmtAssetNameA = $t089088985._2
315315 let pmtDecimalsA = $t089088985._3
316316 let $t089909067 = getAssetInfo(pmtAssetIdB)
317317 let pmtStrAssetIdB = $t089909067._1
318318 let pmtAssetNameB = $t089909067._2
319319 let pmtDecimalsB = $t089909067._3
320320 if (isDefined(getBoolean(this, kActive)))
321321 then throwIsActive()
322322 else if ((pmtAssetIdA == pmtAssetIdB))
323323 then throw("Assets must be different")
324324 else {
325325 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
326326 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
327327 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
328328 let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
329329 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
330330 let shareIssueId = calculateAssetId(shareIssue)
331331 let invariantCalculated = invariantCalc(pmtAmountA, pmtAmountB)
332332 [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)]
333333 }
334334 }
335335
336336
337337
338338 @Callable(i)
339339 func replenishWithTwoTokens (slippageTolerance) = {
340340 let pmtAssetIdA = i.payments[0].assetId
341341 let pmtAssetIdB = i.payments[1].assetId
342342 let pmtAmountA = deductStakingFee(i.payments[0].amount, pmtAssetIdA)
343343 let pmtAmountB = deductStakingFee(i.payments[1].amount, pmtAssetIdB)
344344 let tokenRatio = fraction(fraction(scale8, balanceA, pmtAmountA), scale3, fraction(scale8, balanceB, pmtAmountB))
345345 let ratioShareTokensInA = fraction(scale8, pmtAmountA, balanceA)
346346 let ratioShareTokensInB = fraction(scale8, pmtAmountB, balanceB)
347347 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scale8)
348348 let invariantCalculated = invariantCalc((balanceA + pmtAmountA), (balanceB + pmtAmountB))
349349 if (!(isActive))
350350 then throwIsInactive()
351351 else if (if ((0 > slippageTolerance))
352352 then true
353353 else (slippageTolerance > 10))
354354 then throw("Slippage tolerance must be <= 1%")
355355 else if ((size(i.payments) != 2))
356356 then throw("Two attached assets expected")
357357 else if (if ((pmtAssetIdA != assetIdA))
358358 then true
359359 else (pmtAssetIdB != assetIdB))
360360 then throwAssets()
361361 else if (if ((((scale3 * (slippageScale3 - slippageTolerance)) / slippageScale3) > tokenRatio))
362362 then true
363363 else (tokenRatio > ((scale3 * (slippageScale3 + slippageTolerance)) / slippageScale3)))
364364 then throw("Incorrect assets amount: amounts must have the contract ratio")
365365 else if ((shareTokenToPayAmount == 0))
366366 then throw("Too small amount to replenish")
367367 else if (!(hasEnoughBalance))
368368 then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
369369 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)]
370370 }
371371
372372
373373
374374 @Callable(i)
375375 func replenishWithOneToken (virtualSwapTokenPay,virtualSwapTokenGet) = {
376376 let $t01341013485 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
377377 let pmtAmount = $t01341013485._1
378378 let pmtAssetId = $t01341013485._2
379379 let pmtMinThreshold = 5000000
380380 let thresholdValueForMinTolerance = 50000000
381381 let tolerance = if ((thresholdValueForMinTolerance > pmtAmount))
382382 then 100000
383383 else 1
384384 let slippageValueMinForReplenish = (scale8 - ((scale8 * tolerance) / 10000000))
385385 let slippageValueMaxForReplenish = (scale8 + ((scale8 * tolerance) / 10000000))
386386 let slippageValueMinForSwap = (scale8 - ((scale8 * 1) / 10000000))
387387 if (!(isActive))
388388 then throwIsInactive()
389389 else if ((pmtMinThreshold > pmtAmount))
390390 then throw((((("Payment amount " + toString(pmtAmount)) + " does not exceed the minimum amount of ") + toString(pmtMinThreshold)) + " tokens"))
391391 else if ((size(i.payments) != 1))
392392 then throw("One attached payment expected")
393393 else if (!(hasEnoughBalance))
394394 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
395395 else if (if ((pmtAssetId != assetIdA))
396396 then (pmtAssetId != assetIdB)
397397 else false)
398398 then throwAssets()
399399 else {
400400 let $t01449715262 = if ((pmtAssetId == assetIdA))
401401 then $Tuple7((pmtAmount - virtualSwapTokenPay), virtualSwapTokenGet, (balanceA + virtualSwapTokenPay), (balanceB - virtualSwapTokenGet), invariantCalc((balanceA + pmtAmount), balanceB), (balanceA + pmtAmount), balanceB)
402402 else $Tuple7(virtualSwapTokenGet, (pmtAmount - virtualSwapTokenPay), (balanceA - virtualSwapTokenGet), (balanceB + virtualSwapTokenPay), invariantCalc(balanceA, (balanceB + pmtAmount)), balanceA, (balanceB + pmtAmount))
403403 let virtualReplenishA = $t01449715262._1
404404 let virtualReplenishB = $t01449715262._2
405405 let balanceAfterSwapA = $t01449715262._3
406406 let balanceAfterSwapB = $t01449715262._4
407407 let invariantCalculated = $t01449715262._5
408408 let newBalanceA = $t01449715262._6
409409 let newBalanceB = $t01449715262._7
410410 let newBalanceEntry = if ((pmtAssetId == assetIdA))
411411 then IntegerEntry(kBalanceA, newBalanceA)
412412 else IntegerEntry(kBalanceB, newBalanceB)
413413 let invariantNew = invariantCalc(balanceAfterSwapA, balanceAfterSwapB)
414414 let invariantEstimatedRatio = fraction(scale8, invariant, invariantNew)
415415 let ratioVirtualBalanceToVirtualReplenish = (fraction((scale8 * scale8), balanceAfterSwapA, balanceAfterSwapB) / fraction(scale8, virtualReplenishA, virtualReplenishB))
416416 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
417417 if (if ((slippageValueMinForSwap >= invariantEstimatedRatio))
418418 then true
419419 else (invariant > invariantNew))
420420 then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value")
421421 else if (if ((slippageValueMinForReplenish > ratioVirtualBalanceToVirtualReplenish))
422422 then true
423423 else (ratioVirtualBalanceToVirtualReplenish > slippageValueMaxForReplenish))
424424 then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect")
425425 else if (if ((dAppThresholdAmount > newBalanceA))
426426 then true
427427 else (dAppThresholdAmount > newBalanceB))
428428 then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
429429 else {
430430 let ratioShareTokensInA = fraction(deductStakingFee(virtualReplenishA, assetIdA), scale8, balanceAfterSwapA)
431431 let ratioShareTokensInB = fraction(deductStakingFee(virtualReplenishB, assetIdB), scale8, balanceAfterSwapB)
432432 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scale8)
433433 [Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), newBalanceEntry, IntegerEntry(kInvariant, invariantCalculated)]
434434 }
435435 }
436436 }
437437
438438
439439
440440 @Callable(i)
441441 func withdraw () = {
442442 let $t01740717550 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
443443 let pmtAmount = $t01740717550._1
444444 let pmtAssetId = $t01740717550._2
445445 let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA)
446446 let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB)
447447 let invariantCalculated = invariantCalc((balanceA - amountToPayA), (balanceB - amountToPayB))
448448 if (!(isActive))
449449 then throwIsInactive()
450450 else if ((size(i.payments) != 1))
451451 then throw("One attached payment expected")
452452 else if ((pmtAssetId != shareAssetId))
453453 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
454454 else if (!(hasEnoughBalance))
455455 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
456456 else if (if ((amountToPayA > availableBalanceA))
457457 then true
458458 else (amountToPayB > availableBalanceB))
459459 then throwInsufficientAvailableBalances(amountToPayA, amountToPayB)
460460 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)]
461461 }
462462
463463
464464
465465 @Callable(i)
466466 func exchange (estimatedAmountToReceive,minAmountToReceive) = {
467467 let $t01890818983 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
468468 let pmtAmount = $t01890818983._1
469469 let pmtAssetId = $t01890818983._2
470470 if (!(isActive))
471471 then throwIsInactive()
472472 else if ((0 >= estimatedAmountToReceive))
473473 then throw(("Estimated amount must be positive. Actual: " + toString(estimatedAmountToReceive)))
474474 else if ((minAmountToReceive > estimatedAmountToReceive))
475475 then throw(((("Minimal amount can't be greater than estimated. Estimated: " + toString(estimatedAmountToReceive)) + ". Minimal: ") + toString(minAmountToReceive)))
476476 else if ((size(i.payments) != 1))
477477 then throw("One attached payment expected")
478478 else if (!(hasEnoughBalance))
479479 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
480480 else if (if ((pmtAssetId != assetIdA))
481481 then (pmtAssetId != assetIdB)
482482 else false)
483483 then throwAssets()
484484 else if ((10000000 > pmtAmount))
485485 then throw("Only swap of 10.000000 or more tokens is allowed")
486486 else if (if ((exchangeRatioLimitMin > fraction(scale8, minAmountToReceive, pmtAmount)))
487487 then true
488488 else (fraction(scale8, estimatedAmountToReceive, pmtAmount) > exchangeRatioLimitMax))
489489 then throw("Incorrect args and pmt ratio")
490490 else {
491491 let sendAssetId = if ((pmtAssetId == assetIdA))
492492 then assetIdB
493493 else assetIdA
494494 let amount = calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, pmtAmount, pmtAssetId)
495495 let governanceReward = fraction(amount, feeGovernance, feeScale6)
496496 let amountMinusFee = fraction(amount, (feeScale6 - fee), feeScale6)
497497 let $t02040520667 = if ((pmtAssetId == assetIdA))
498498 then $Tuple2((balanceA + pmtAmount), ((balanceB - amountMinusFee) - governanceReward))
499499 else $Tuple2(((balanceA - amountMinusFee) - governanceReward), (balanceB + pmtAmount))
500500 let newBalanceA = $t02040520667._1
501501 let newBalanceB = $t02040520667._2
502502 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
503503 if (if ((dAppThresholdAmount > newBalanceA))
504504 then true
505505 else (dAppThresholdAmount > newBalanceB))
506506 then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
507507 else if (if (if ((assetIdA == USDN))
508508 then (sendAssetId == assetIdA)
509509 else false)
510510 then (stakedAmountUSDN >= newBalanceA)
511511 else false)
512512 then throwInsufficientAvailableBalance(amountMinusFee, availableBalanceA, assetNameA)
513513 else if (if (if ((assetIdB == USDN))
514514 then (sendAssetId == assetIdB)
515515 else false)
516516 then (stakedAmountUSDN >= newBalanceB)
517517 else false)
518518 then throwInsufficientAvailableBalance(amountMinusFee, availableBalanceB, assetNameB)
519519 else [IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kInvariant, invariantCalc(newBalanceA, newBalanceB)), ScriptTransfer(i.caller, amountMinusFee, sendAssetId), ScriptTransfer(govAddr, governanceReward, sendAssetId)]
520520 }
521521 }
522522
523523
524524
525525 @Callable(i)
526526 func shutdown () = if (!(isActive))
527527 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
528528 else if (!(containsElement([adm1, adm2, adm3, admStartStop], i.callerPublicKey)))
529529 then throwOnlyAdmin()
530530 else suspend("Paused by admin")
531531
532532
533533
534534 @Callable(i)
535535 func activate () = if (isActive)
536536 then throwIsActive()
537537 else if (!(containsElement([adm1, adm2, adm3, admStartStop], i.callerPublicKey)))
538538 then throwOnlyAdmin()
539539 else [BooleanEntry(kActive, true), DeleteEntry(kCause)]
540540
541541
542542
543543 @Callable(i)
544544 func takeIntoAccountExtraFunds (amountLeave) = {
545545 let uncountableA = (accountBalanceWithStakedA - balanceA)
546546 let uncountableB = (accountBalanceWithStakedB - balanceB)
547547 let amountEnrollA = (uncountableA - (if ((assetIdA == unit))
548548 then amountLeave
549549 else 0))
550550 let amountEnrollB = (uncountableB - (if ((assetIdB == unit))
551551 then amountLeave
552552 else 0))
553553 let invariantNew = invariantCalc((balanceA + amountEnrollA), (balanceB + amountEnrollB))
554554 if (!(isActive))
555555 then throwIsInactive()
556556 else if ((i.caller != this))
557557 then throwOnlyAdmin()
558558 else if ((0 > amountLeave))
559559 then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
560560 else if (if ((0 > uncountableA))
561561 then true
562562 else (0 > uncountableB))
563563 then suspend("Enroll amount negative")
564564 else if (if ((0 > amountEnrollA))
565565 then true
566566 else (0 > amountEnrollB))
567567 then throw("Too large amountLeave")
568568 else [IntegerEntry(kInvariant, invariantNew), IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
569569 }
570570
571571
572572 @Verifier(tx)
573573 func verify () = match tx {
574574 case inv: InvokeScriptTransaction =>
575575 let callTakeIntoAccount = if ((inv.dApp == this))
576576 then (inv.function == "takeIntoAccountExtraFunds")
577577 else false
578578 let callStaking = if ((inv.dApp == stakingAddress))
579579 then if (if (if ((inv.function == "lockNeutrino"))
580580 then (size(inv.payments) == 1)
581581 else false)
582582 then (inv.payments[0].assetId == USDN)
583583 else false)
584584 then true
585585 else if ((inv.function == "unlockNeutrino"))
586586 then (size(inv.payments) == 0)
587587 else false
588588 else false
589589 let exchangeToWaves = if (if (if ((inv.dApp == USDNToWavesExchanger))
590590 then (inv.function == "exchange")
591591 else false)
592592 then (assetIdA == USDN)
593593 else false)
594594 then true
595- else if ((assetIdB == USDN))
595+ else if (if ((assetIdB == USDN))
596+ then (size(inv.payments) == 1)
597+ else false)
596598 then (inv.payments[0].assetId == USDN)
597599 else false
598600 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adm1))
599601 then true
600602 else sigVerify(tx.bodyBytes, tx.proofs[0], adm2))
601603 then true
602604 else sigVerify(tx.bodyBytes, tx.proofs[0], adm3))
603605 then true
604606 else sigVerify(tx.bodyBytes, tx.proofs[0], admStaking)
605607 if (if (if (callTakeIntoAccount)
606608 then true
607609 else callStaking)
608610 then true
609611 else exchangeToWaves)
610612 then signedByAdmin
611613 else false
612614 case _ =>
613615 let adm1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adm1))
614616 then 1
615617 else 0
616618 let adm2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adm2))
617619 then 1
618620 else 0
619621 let adm3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adm3))
620622 then 1
621623 else 0
622624 (((adm1Signed + adm2Signed) + adm3Signed) >= 2)
623625 }
624626

github/deemru/w8io/169f3d6 
74.98 ms