tx · 28EmePggwTkGWLhme7YgGg3qMXNec9JzwSoWJR2ogemC

3N18bq33YEjzWkoTDhZvc7zd7eRAyv6x4aZ:  -0.01400000 Waves

2021.03.07 17:17 [1427379] smart account 3N18bq33YEjzWkoTDhZvc7zd7eRAyv6x4aZ > SELF 0.00000000 Waves

{ "type": 13, "id": "28EmePggwTkGWLhme7YgGg3qMXNec9JzwSoWJR2ogemC", "fee": 1400000, "feeAssetId": null, "timestamp": 1615126751390, "version": 1, "sender": "3N18bq33YEjzWkoTDhZvc7zd7eRAyv6x4aZ", "senderPublicKey": "71DfVUys2KXcuEivd6kRxABvVQKB5k5c48qobMB1DzKN", "proofs": [ "2YhJvJ4jtfxEzBBkZxTdCAyRtxggbwmUALbY7vUWjyaJJ8GUpr51wEnecHdHbivqApxz64RLUww8Kecni1N8v16L" ], "script": "base64:AAIEAAAAAAAAACAIAhIAEgMKAQESBAoCAQESABIECgIBARIAEgASAwoBAQAAAEYAAAAAB3ZlcnNpb24CAAAABTIuMC4wAAAAAAhrVmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAHa0FjdGl2ZQIAAAAGYWN0aXZlAAAAAAlrQXNzZXRJZEECAAAACkFfYXNzZXRfaWQAAAAACWtBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAAJa0JhbGFuY2VBAgAAAA9BX2Fzc2V0X2JhbGFuY2UAAAAACWtCYWxhbmNlQgIAAAAPQl9hc3NldF9iYWxhbmNlAAAAAA1rU2hhcmVBc3NldElkAgAAAA5zaGFyZV9hc3NldF9pZAAAAAARa1NoYXJlQXNzZXRTdXBwbHkCAAAAEnNoYXJlX2Fzc2V0X3N1cHBseQAAAAAEa0ZlZQIAAAAKY29tbWlzc2lvbgAAAAASa0ZlZVNjYWxlRGVsaW1pdGVyAgAAABpjb21taXNzaW9uX3NjYWxlX2RlbGltaXRlcgAAAAAKa0ludmFyaWFudAIAAAAJaW52YXJpYW50AAAAAAZrQ2F1c2UCAAAADnNodXRkb3duX2NhdXNlA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AAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAADGxhc3RfaW5jb21lXwUAAAALc3RyQXNzZXRJZEEFAAAADWFtb3VudEVucm9sbEEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAAMbGFzdF9pbmNvbWVfBQAAAAtzdHJBc3NldElkQgUAAAANYW1vdW50RW5yb2xsQgUAAAADbmlsAAAAAKMJbAc=", "chainId": 84, "height": 1427379, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 12jfsgSAtAn3PwXQe2QNAn7fRaQBaXrXjY1k53FiZExJ Next: 8y9JJ95njDLc2aTHC9yCRvSWVVY6tgM9DsckQxJsp3RB Diff:
OldNewDifferences
413413 let ratioShareTokensInA = fraction(deductStakingFee(virtualReplenishA, assetIdA), scale8, balanceAfterSwapA)
414414 let ratioShareTokensInB = fraction(deductStakingFee(virtualReplenishB, assetIdB), scale8, balanceAfterSwapB)
415415 if (true)
416- then throw(toString(stakingFeeInUSDN))
416+ then throw(toString(value(value(assetInfo(USDN)).minSponsoredFee)))
417417 else {
418418 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scale8)
419419 if (true)
428428
429429 @Callable(i)
430430 func withdraw () = {
431- let $t01767617819 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
432- let pmtAmount = $t01767617819._1
433- let pmtAssetId = $t01767617819._2
431+ let $t01770817851 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
432+ let pmtAmount = $t01770817851._1
433+ let pmtAssetId = $t01770817851._2
434434 let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA)
435435 let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB)
436436 let invariantCalculated = invariantCalc((balanceA - amountToPayA), (balanceB - amountToPayB))
453453
454454 @Callable(i)
455455 func exchange (estimatedAmountToReceive,minAmountToReceive) = {
456- let $t01910219177 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
457- let pmtAmount = $t01910219177._1
458- let pmtAssetId = $t01910219177._2
456+ let $t01913419209 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
457+ let pmtAmount = $t01913419209._1
458+ let pmtAssetId = $t01913419209._2
459459 if (!(isActive))
460460 then throwIsInactive()
461461 else if ((0 >= estimatedAmountToReceive))
483483 let amountWithoutFee = calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, pmtAmount, pmtAssetId)
484484 let amountWithFee = fraction(amountWithoutFee, (feeScale6 - fee), feeScale6)
485485 let governanceReward = fraction(amountWithoutFee, feeGovernance, feeScale6)
486- let $t02055720818 = if ((pmtAssetId == assetIdA))
486+ let $t02058920850 = if ((pmtAssetId == assetIdA))
487487 then $Tuple2((balanceA + pmtAmount), ((balanceB - amountWithFee) - governanceReward))
488488 else $Tuple2(((balanceA - amountWithFee) - governanceReward), (balanceB + pmtAmount))
489- let newBalanceA = $t02055720818._1
490- let newBalanceB = $t02055720818._2
489+ let newBalanceA = $t02058920850._1
490+ let newBalanceB = $t02058920850._2
491491 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
492492 if (if ((dAppThresholdAmount > newBalanceA))
493493 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
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 adm1 = base58'7FhFLst7Htn4uYxGH7xYMTAmbydLVoiZef3eFghi7CG4'
3131
3232 let adm2 = base58'7FhFLst7Htn4uYxGH7xYMTAmbydLVoiZef3eFghi7CG4'
3333
3434 let adm3 = base58'7FhFLst7Htn4uYxGH7xYMTAmbydLVoiZef3eFghi7CG4'
3535
3636 let admStartStop = base58'7FhFLst7Htn4uYxGH7xYMTAmbydLVoiZef3eFghi7CG4'
3737
3838 let admStaking = base58'7FhFLst7Htn4uYxGH7xYMTAmbydLVoiZef3eFghi7CG4'
3939
4040 let govAddr = Address(base58'3MqhxbxHEMtp2Rwy1gUb6cPSJHQepdap1Yp')
4141
4242 let stakingAddress = Address(base58'3MqhxbxHEMtp2Rwy1gUb6cPSJHQepdap1Yp')
4343
4444 let USDN = base58'3FUNGbzfNsQ1AZfvumCUqARXvpjjLQrvCzorYuDryQAq'
4545
4646 let stakingFeeInUSDN = (9 * value(value(assetInfo(USDN)).minSponsoredFee))
4747
4848 let isActive = getBooleanValue(this, kActive)
4949
5050 let strAssetIdA = getStringValue(this, kAssetIdA)
5151
5252 let strAssetIdB = getStringValue(this, kAssetIdB)
5353
5454 let assetIdA = if ((strAssetIdA == "WAVES"))
5555 then unit
5656 else fromBase58String(strAssetIdA)
5757
5858 let assetIdB = if ((strAssetIdB == "WAVES"))
5959 then unit
6060 else fromBase58String(strAssetIdB)
6161
6262 let assetNameA = match assetIdA {
6363 case id: ByteVector =>
6464 value(assetInfo(id)).name
6565 case waves: Unit =>
6666 "WAVES"
6767 case _ =>
6868 throw("Match error")
6969 }
7070
7171 let assetNameB = match assetIdB {
7272 case id: ByteVector =>
7373 value(assetInfo(id)).name
7474 case waves: Unit =>
7575 "WAVES"
7676 case _ =>
7777 throw("Match error")
7878 }
7979
8080 let balanceA = getIntegerValue(this, kBalanceA)
8181
8282 let balanceB = getIntegerValue(this, kBalanceB)
8383
8484 let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
8585
8686 let shareAssetSupply = getIntegerValue(this, kShareAssetSupply)
8787
8888 let invariant = getIntegerValue(this, kInvariant)
8989
9090 let fee = 500
9191
9292 let feeGovernance = 200
9393
9494 let feeScale6 = 1000000
9595
9696 let scale3 = 1000
9797
9898 let scale8 = 100000000
9999
100100 let scale12 = 1000000000000
101101
102102 let slippageScale3 = 1000
103103
104104 let digits8 = 8
105105
106106 let dAppThreshold = 50
107107
108108 let dAppThresholdScale2 = 100
109109
110110 let exchangeRatioLimitMin = 90000000
111111
112112 let exchangeRatioLimitMax = 110000000
113113
114114 let alpha = 50
115115
116116 let alphaDigits = 2
117117
118118 let beta = 46000000
119119
120120 func accountBalance (assetId) = match assetId {
121121 case id: ByteVector =>
122122 assetBalance(this, id)
123123 case waves: Unit =>
124124 wavesBalance(this).available
125125 case _ =>
126126 throw("Match error")
127127 }
128128
129129
130130 let stakedAmountUSDN = match getInteger(stakingAddress, ((("rpd_balance_" + toBase58String(USDN)) + "_") + toString(this))) {
131131 case staked: Int =>
132132 staked
133133 case nothing: Unit =>
134134 0
135135 case _ =>
136136 throw("Match error")
137137 }
138138
139139 let availableBalanceA = (balanceA - (if ((assetIdA == USDN))
140140 then stakedAmountUSDN
141141 else 0))
142142
143143 let availableBalanceB = (balanceB - (if ((assetIdB == USDN))
144144 then stakedAmountUSDN
145145 else 0))
146146
147147 let accountBalanceWithStakedA = (accountBalance(assetIdA) + (if ((assetIdA == USDN))
148148 then stakedAmountUSDN
149149 else 0))
150150
151151 let accountBalanceWithStakedB = (accountBalance(assetIdB) + (if ((assetIdB == USDN))
152152 then stakedAmountUSDN
153153 else 0))
154154
155155 let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
156156 then (accountBalanceWithStakedB >= balanceB)
157157 else false
158158
159159 func skewness (x,y) = (((fraction(scale12, x, y) + fraction(scale12, y, x)) / 2) / 10000)
160160
161161
162162 func invariantCalc (x,y) = {
163163 let sk = skewness(x, y)
164164 (fraction((x + y), scale8, pow(sk, digits8, alpha, alphaDigits, digits8, UP)) + (2 * fraction(pow(fraction(x, y, scale8), 0, 5, 1, (digits8 / 2), DOWN), pow((sk - beta), digits8, alpha, alphaDigits, digits8, DOWN), scale8)))
165165 }
166166
167167
168168 func calculateSendAmount (amountToSendEstimated,minTokenReceiveAmount,tokenReceiveAmount,tokenId) = {
169169 let slippageValue = (scale8 - ((scale8 * 1) / 10000000))
170170 let deltaBetweenMaxAndMinSendValue = (amountToSendEstimated - minTokenReceiveAmount)
171171 let x = (balanceA + tokenReceiveAmount)
172172 let y = (balanceB + tokenReceiveAmount)
173173 let invariantNew = if ((tokenId == assetIdA))
174174 then invariantCalc(x, (balanceB - amountToSendEstimated))
175175 else if ((tokenId == assetIdB))
176176 then invariantCalc((balanceA - amountToSendEstimated), y)
177177 else throw("Wrong asset in payment")
178178 let invariantEstimatedRatio = fraction(scale8, invariant, invariantNew)
179179 func getStepAmount (acc,step) = if (true)
180180 then throw(((toString(acc) + " ") + toString(step)))
181181 else {
182182 let amountToSend = (amountToSendEstimated - ((step * deltaBetweenMaxAndMinSendValue) / 5))
183183 let stepInvariant = if ((tokenId == assetIdA))
184184 then invariantCalc(x, (balanceB - amountToSend))
185185 else invariantCalc((balanceA - amountToSend), y)
186186 if (true)
187187 then amountToSend
188188 else acc
189189 }
190190
191191 let stepAmount = {
192192 let $list58655908 = [1, 2, 3, 4, 5]
193193 let $size58655908 = size($list58655908)
194194 let $acc058655908 = -1
195195 if (($size58655908 == 0))
196196 then $acc058655908
197197 else {
198198 let $acc158655908 = getStepAmount($acc058655908, $list58655908[0])
199199 if (($size58655908 == 1))
200200 then $acc158655908
201201 else {
202202 let $acc258655908 = getStepAmount($acc158655908, $list58655908[1])
203203 if (($size58655908 == 2))
204204 then $acc258655908
205205 else {
206206 let $acc358655908 = getStepAmount($acc258655908, $list58655908[2])
207207 if (($size58655908 == 3))
208208 then $acc358655908
209209 else {
210210 let $acc458655908 = getStepAmount($acc358655908, $list58655908[3])
211211 if (($size58655908 == 4))
212212 then $acc458655908
213213 else {
214214 let $acc558655908 = getStepAmount($acc458655908, $list58655908[4])
215215 if (($size58655908 == 5))
216216 then $acc558655908
217217 else {
218218 let $acc658655908 = getStepAmount($acc558655908, $list58655908[5])
219219 throw("List size exceed 5")
220220 }
221221 }
222222 }
223223 }
224224 }
225225 }
226226 }
227227 if ((0 > stepAmount))
228228 then throw("something went wrong while working with amountToSend")
229229 else if (if ((invariantEstimatedRatio > slippageValue))
230230 then (invariantNew > invariant)
231231 else false)
232232 then amountToSendEstimated
233233 else ((stepAmount * (feeScale6 - fee)) / feeScale6)
234234 }
235235
236236
237237 func getAssetInfo (assetId) = match assetId {
238238 case id: ByteVector =>
239239 let stringId = toBase58String(id)
240240 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
241241 $Tuple3(stringId, info.name, info.decimals)
242242 case waves: Unit =>
243243 $Tuple3("WAVES", "WAVES", 8)
244244 case _ =>
245245 throw("Match error")
246246 }
247247
248248
249249 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
250250
251251
252252 func deductStakingFee (amount,assetId) = if ((assetId == USDN))
253253 then {
254254 let result = (amount - stakingFeeInUSDN)
255255 if ((0 >= result))
256256 then throw((((("Insufficient amount " + toString(amount)) + " to deduct staking fee ") + toString(stakingFeeInUSDN)) + " USD-N"))
257257 else result
258258 }
259259 else amount
260260
261261
262262 func throwIsActive () = throw("DApp is already active")
263263
264264
265265 func throwIsInactive () = throw("DApp is inactive at this moment")
266266
267267
268268 func throwOnlyAdmin () = throw("Only admin can call this function")
269269
270270
271271 func throwAssets () = throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
272272
273273
274274 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))
275275
276276
277277 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"))
278278
279279
280280 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"))
281281
282282
283283 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
284284
285285
286286 @Callable(i)
287287 func init () = {
288288 let $t086198696 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
289289 let pmtAmountA = $t086198696._1
290290 let pmtAssetIdA = $t086198696._2
291291 let $t087018778 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
292292 let pmtAmountB = $t087018778._1
293293 let pmtAssetIdB = $t087018778._2
294294 let $t087838860 = getAssetInfo(pmtAssetIdA)
295295 let pmtStrAssetIdA = $t087838860._1
296296 let pmtAssetNameA = $t087838860._2
297297 let pmtDecimalsA = $t087838860._3
298298 let $t088658942 = getAssetInfo(pmtAssetIdB)
299299 let pmtStrAssetIdB = $t088658942._1
300300 let pmtAssetNameB = $t088658942._2
301301 let pmtDecimalsB = $t088658942._3
302302 if (isDefined(getBoolean(this, kActive)))
303303 then throwIsActive()
304304 else if ((pmtAssetIdA == pmtAssetIdB))
305305 then throw("Assets must be different")
306306 else {
307307 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
308308 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
309309 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
310310 let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, HALFDOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, HALFDOWN), pow(10, 0, shareDecimals, 0, 0, HALFDOWN))
311311 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
312312 let shareIssueId = calculateAssetId(shareIssue)
313313 let invariantCalculated = invariantCalc(pmtAmountA, pmtAmountB)
314314 [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)]
315315 }
316316 }
317317
318318
319319
320320 @Callable(i)
321321 func replenishWithTwoTokens (slippageTolerance) = {
322322 let pmtAssetIdA = i.payments[0].assetId
323323 let pmtAssetIdB = i.payments[1].assetId
324324 let pmtAmountA = deductStakingFee(i.payments[0].amount, pmtAssetIdA)
325325 let pmtAmountB = deductStakingFee(i.payments[1].amount, pmtAssetIdB)
326326 let tokenRatio = fraction(fraction(scale8, balanceA, pmtAmountA), scale3, fraction(scale8, balanceB, pmtAmountB))
327327 let ratioShareTokensInA = fraction(scale8, pmtAmountA, balanceA)
328328 let ratioShareTokensInB = fraction(scale8, pmtAmountB, balanceB)
329329 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scale8)
330330 let invariantCalculated = invariantCalc((balanceA + pmtAmountA), (balanceB + pmtAmountB))
331331 if (!(isActive))
332332 then throwIsInactive()
333333 else if (if ((0 > slippageTolerance))
334334 then true
335335 else (slippageTolerance > 10))
336336 then throw("Slippage tolerance must be <= 1%")
337337 else if ((size(i.payments) != 2))
338338 then throw("Two attached assets expected")
339339 else if (if ((pmtAssetIdA != assetIdA))
340340 then true
341341 else (pmtAssetIdB != assetIdB))
342342 then throwAssets()
343343 else if (if ((((scale3 * (slippageScale3 - slippageTolerance)) / slippageScale3) > tokenRatio))
344344 then true
345345 else (tokenRatio > ((scale3 * (slippageScale3 + slippageTolerance)) / slippageScale3)))
346346 then throw("Incorrect assets amount: amounts must have the contract ratio")
347347 else if ((shareTokenToPayAmount == 0))
348348 then throw("Too small amount to replenish")
349349 else if (!(hasEnoughBalance))
350350 then suspendSuspicious()
351351 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)]
352352 }
353353
354354
355355
356356 @Callable(i)
357357 func replenishWithOneToken (virtualSwapTokenPay,virtualSwapTokenGet) = {
358358 let $t01315713232 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
359359 let pmtAmount = $t01315713232._1
360360 let pmtAssetId = $t01315713232._2
361361 let pmtMinThreshold = 5000000
362362 let thresholdValueForMinTolerance = 50000000
363363 let tolerance = if ((thresholdValueForMinTolerance > pmtAmount))
364364 then 100000
365365 else 1
366366 let slippageValueMinForReplenish = (scale8 - ((scale8 * tolerance) / 10000000))
367367 let slippageValueMaxForReplenish = (scale8 + ((scale8 * tolerance) / 10000000))
368368 let slippageValueMinForSwap = (scale8 - ((scale8 * 1) / 10000000))
369369 let slippageValueMaxForSwap = (scale8 + ((scale8 * 1) / 10000000))
370370 if (!(isActive))
371371 then throwIsInactive()
372372 else if ((pmtMinThreshold > pmtAmount))
373373 then throw((((("Payment amount " + toString(pmtAmount)) + " does not exceed the minimum amount of ") + toString(pmtMinThreshold)) + " tokens"))
374374 else if ((size(i.payments) != 1))
375375 then throw("One attached payment expected")
376376 else if (!(hasEnoughBalance))
377377 then suspendSuspicious()
378378 else if (if ((pmtAssetId != assetIdA))
379379 then (pmtAssetId != assetIdB)
380380 else false)
381381 then throwAssets()
382382 else {
383383 let $t01423414999 = if ((pmtAssetId == assetIdA))
384384 then $Tuple7((pmtAmount - virtualSwapTokenPay), virtualSwapTokenGet, (balanceA + virtualSwapTokenPay), (balanceB - virtualSwapTokenGet), invariantCalc((balanceA + pmtAmount), balanceB), (balanceA + pmtAmount), balanceB)
385385 else $Tuple7(virtualSwapTokenGet, (pmtAmount - virtualSwapTokenPay), (balanceA - virtualSwapTokenGet), (balanceB + virtualSwapTokenPay), invariantCalc(balanceA, (balanceB + pmtAmount)), balanceA, (balanceB + pmtAmount))
386386 let virtualReplenishA = $t01423414999._1
387387 let virtualReplenishB = $t01423414999._2
388388 let balanceAfterSwapA = $t01423414999._3
389389 let balanceAfterSwapB = $t01423414999._4
390390 let invariantCalculated = $t01423414999._5
391391 let newBalanceA = $t01423414999._6
392392 let newBalanceB = $t01423414999._7
393393 let newBalanceEntry = if ((pmtAssetId == assetIdA))
394394 then IntegerEntry(kBalanceA, newBalanceA)
395395 else IntegerEntry(kBalanceB, newBalanceB)
396396 let invariantNew = invariantCalc(balanceAfterSwapA, balanceAfterSwapB)
397397 let invariantEstimatedRatio = fraction(scale8, invariant, invariantNew)
398398 let ratioVirtualBalanceToVirtualReplenish = (fraction((scale8 * scale8), balanceAfterSwapA, balanceAfterSwapB) / fraction(scale8, virtualReplenishA, virtualReplenishB))
399399 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
400400 if (if ((slippageValueMinForSwap >= invariantEstimatedRatio))
401401 then true
402402 else (invariant > invariantNew))
403403 then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value")
404404 else if (if ((slippageValueMinForReplenish > ratioVirtualBalanceToVirtualReplenish))
405405 then true
406406 else (ratioVirtualBalanceToVirtualReplenish > slippageValueMaxForReplenish))
407407 then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect")
408408 else if (if ((dAppThresholdAmount > newBalanceA))
409409 then true
410410 else (dAppThresholdAmount > newBalanceB))
411411 then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
412412 else {
413413 let ratioShareTokensInA = fraction(deductStakingFee(virtualReplenishA, assetIdA), scale8, balanceAfterSwapA)
414414 let ratioShareTokensInB = fraction(deductStakingFee(virtualReplenishB, assetIdB), scale8, balanceAfterSwapB)
415415 if (true)
416- then throw(toString(stakingFeeInUSDN))
416+ then throw(toString(value(value(assetInfo(USDN)).minSponsoredFee)))
417417 else {
418418 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scale8)
419419 if (true)
420420 then throw(toString(shareTokenToPayAmount))
421421 else [Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), newBalanceEntry, IntegerEntry(kInvariant, invariantCalculated)]
422422 }
423423 }
424424 }
425425 }
426426
427427
428428
429429 @Callable(i)
430430 func withdraw () = {
431- let $t01767617819 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
432- let pmtAmount = $t01767617819._1
433- let pmtAssetId = $t01767617819._2
431+ let $t01770817851 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
432+ let pmtAmount = $t01770817851._1
433+ let pmtAssetId = $t01770817851._2
434434 let amountToPayA = deductStakingFee(fraction(pmtAmount, balanceA, shareAssetSupply), assetIdA)
435435 let amountToPayB = deductStakingFee(fraction(pmtAmount, balanceB, shareAssetSupply), assetIdB)
436436 let invariantCalculated = invariantCalc((balanceA - amountToPayA), (balanceB - amountToPayB))
437437 if (!(isActive))
438438 then throwIsInactive()
439439 else if ((size(i.payments) != 1))
440440 then throw("One attached payment expected")
441441 else if ((pmtAssetId != shareAssetId))
442442 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
443443 else if (!(hasEnoughBalance))
444444 then suspendSuspicious()
445445 else if (if ((amountToPayA > availableBalanceA))
446446 then true
447447 else (amountToPayB > availableBalanceB))
448448 then throwInsufficientAvailableBalances(amountToPayA, amountToPayB)
449449 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)]
450450 }
451451
452452
453453
454454 @Callable(i)
455455 func exchange (estimatedAmountToReceive,minAmountToReceive) = {
456- let $t01910219177 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
457- let pmtAmount = $t01910219177._1
458- let pmtAssetId = $t01910219177._2
456+ let $t01913419209 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
457+ let pmtAmount = $t01913419209._1
458+ let pmtAssetId = $t01913419209._2
459459 if (!(isActive))
460460 then throwIsInactive()
461461 else if ((0 >= estimatedAmountToReceive))
462462 then throw(("Estimated amount must be positive. Actual: " + toString(estimatedAmountToReceive)))
463463 else if ((minAmountToReceive > estimatedAmountToReceive))
464464 then throw(((("Minimal amount can't be greater than estimated. Estimated: " + toString(estimatedAmountToReceive)) + ". Minimal: ") + toString(minAmountToReceive)))
465465 else if ((size(i.payments) != 1))
466466 then throw("One attached payment expected")
467467 else if (!(hasEnoughBalance))
468468 then suspendSuspicious()
469469 else if (if ((pmtAssetId != assetIdA))
470470 then (pmtAssetId != assetIdB)
471471 else false)
472472 then throwAssets()
473473 else if ((10000000 > pmtAmount))
474474 then throw("Only swap of 10.000000 or more tokens is allowed")
475475 else if (if ((exchangeRatioLimitMin > fraction(scale8, minAmountToReceive, pmtAmount)))
476476 then true
477477 else (fraction(scale8, estimatedAmountToReceive, pmtAmount) > exchangeRatioLimitMax))
478478 then throw("Incorrect args and pmt ratio")
479479 else {
480480 let sendAssetId = if ((pmtAssetId == assetIdA))
481481 then assetIdB
482482 else assetIdA
483483 let amountWithoutFee = calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, pmtAmount, pmtAssetId)
484484 let amountWithFee = fraction(amountWithoutFee, (feeScale6 - fee), feeScale6)
485485 let governanceReward = fraction(amountWithoutFee, feeGovernance, feeScale6)
486- let $t02055720818 = if ((pmtAssetId == assetIdA))
486+ let $t02058920850 = if ((pmtAssetId == assetIdA))
487487 then $Tuple2((balanceA + pmtAmount), ((balanceB - amountWithFee) - governanceReward))
488488 else $Tuple2(((balanceA - amountWithFee) - governanceReward), (balanceB + pmtAmount))
489- let newBalanceA = $t02055720818._1
490- let newBalanceB = $t02055720818._2
489+ let newBalanceA = $t02058920850._1
490+ let newBalanceB = $t02058920850._2
491491 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
492492 if (if ((dAppThresholdAmount > newBalanceA))
493493 then true
494494 else (dAppThresholdAmount > newBalanceB))
495495 then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
496496 else if (if (if ((assetIdA == USDN))
497497 then (sendAssetId == assetIdA)
498498 else false)
499499 then (stakedAmountUSDN >= newBalanceA)
500500 else false)
501501 then throwInsufficientAvailableBalance(amountWithFee, availableBalanceA, assetNameA)
502502 else if (if (if ((assetIdB == USDN))
503503 then (sendAssetId == assetIdB)
504504 else false)
505505 then (stakedAmountUSDN >= newBalanceB)
506506 else false)
507507 then throwInsufficientAvailableBalance(amountWithFee, availableBalanceB, assetNameB)
508508 else [IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kInvariant, invariantCalc(newBalanceA, newBalanceB)), ScriptTransfer(i.caller, amountWithFee, sendAssetId), ScriptTransfer(govAddr, governanceReward, sendAssetId)]
509509 }
510510 }
511511
512512
513513
514514 @Callable(i)
515515 func shutdown () = if (!(isActive))
516516 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
517517 else if (!(containsElement([adm1, adm2, adm3, admStartStop], i.callerPublicKey)))
518518 then throwOnlyAdmin()
519519 else suspend("Paused by admin")
520520
521521
522522
523523 @Callable(i)
524524 func activate () = if (isActive)
525525 then throwIsActive()
526526 else if (!(containsElement([adm1, adm2, adm3, admStartStop], i.callerPublicKey)))
527527 then throwOnlyAdmin()
528528 else [BooleanEntry(kActive, true), DeleteEntry(kCause)]
529529
530530
531531
532532 @Callable(i)
533533 func takeIntoAccountExtraFunds (amountLeave) = {
534534 let uncountableA = (accountBalanceWithStakedA - balanceA)
535535 let uncountableB = (accountBalanceWithStakedB - balanceB)
536536 let amountEnrollA = (uncountableA - (if ((assetIdA == USDN))
537537 then amountLeave
538538 else 0))
539539 let amountEnrollB = (uncountableB - (if ((assetIdB == USDN))
540540 then amountLeave
541541 else 0))
542542 if (!(isActive))
543543 then throwIsInactive()
544544 else if ((i.caller != this))
545545 then throwOnlyAdmin()
546546 else if ((0 > amountLeave))
547547 then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
548548 else if (if ((0 > uncountableA))
549549 then true
550550 else (0 > uncountableB))
551551 then suspend("Enroll amount negative")
552552 else if (if ((0 > amountEnrollA))
553553 then true
554554 else (0 > amountEnrollB))
555555 then throw("Too large amountLeave")
556556 else [IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
557557 }
558558
559559

github/deemru/w8io/169f3d6 
69.27 ms