tx · CbYtV3qbrNkxmttDqXF6W9FuHHsSeaH1gkuKxoS7YJiH

3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW:  -0.03000000 Waves

2022.09.14 17:32 [2228897] smart account 3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW > SELF 0.00000000 Waves

{ "type": 13, "id": "CbYtV3qbrNkxmttDqXF6W9FuHHsSeaH1gkuKxoS7YJiH", "fee": 3000000, "feeAssetId": null, "timestamp": 1663165984240, "version": 2, "chainId": 84, "sender": "3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW", "senderPublicKey": "DfbjpZJBbZwnUKysUkxCbWTE1ZWuoUb6Y6BZdu5iAE8j", "proofs": [ "5Wts8FCAyGG7yckMFTRYEnc4VHJYajrP3qEskGPqWnUxxiSmYCY54WCSZpQcA4iHaJFcq6UUvM9ezN8raUaQAtxs", "3NxUVZitqDsyu7LPZZx3LLdmrSeduSyY2GhwGjpRjysj7BfWvokv2xqBwcRVZwLvmDSqUagY6mNodokHVLWZZoMi" ], "script": "base64:BgIpCAISAwoBBBIAEgQKAgEBEgASBAoCAQESABIAEgASAwoBARIFCgMEAQhhAAd2ZXJzaW9uAgUyLjAuMAAIa1ZlcnNpb24CB3ZlcnNpb24AB2tBY3RpdmUCBmFjdGl2ZQAJa0Fzc2V0SWRBAgpBX2Fzc2V0X2lkAAlrQXNzZXRJZEICCkJfYXNzZXRfaWQACWtCYWxhbmNlQQIPQV9hc3NldF9iYWxhbmNlAAlrQmFsYW5jZUICD0JfYXNzZXRfYmFsYW5jZQANa1NoYXJlQXNzZXRJZAIOc2hhcmVfYXNzZXRfaWQAEWtTaGFyZUFzc2V0U3VwcGx5AhJzaGFyZV9hc3NldF9zdXBwbHkABGtGZWUCCmNvbW1pc3Npb24ACmtJbnZhcmlhbnQCCWludmFyaWFudAAGa0NhdXNlAg5zaHV0ZG93bl9jYXVzZQAMa1VTRE5BZGRyZXNzAhhzdGFraW5nX3VzZG5uc2J0X2FkZHJlc3MADGt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1pblB1YktleTMGCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABRFhZG1pblB1YktleUludm9rZQMDBRNjYWxsVGFrZUludG9BY2NvdW50BQ1zaWduZWRCeUFkbWluBwYFE211bHRpU2lnbmVkQnlBZG1pbnMFE211bHRpU2lnbmVkQnlBZG1pbnMV5lzM", "height": 2228897, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: aK6VykmbRS8JorCBzLxarS72x4eMGBMTqPYyVrkmXJW Next: none Diff:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let version = "2.0.0"
Full:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
1+{-# STDLIB_VERSION 6 #-}
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 kInvariant = "invariant"
2525
2626 let kCause = "shutdown_cause"
2727
2828 let kUSDNAddress = "staking_usdnnsbt_address"
2929
3030 let kEURNAddress = "staking_eurn_address"
3131
3232 let kDiscounts = "discounts"
3333
3434 let kDiscountValues = "discount_values"
3535
3636 let kUserSwopInGov = "_SWOP_amount"
3737
3838 let kFirstHarvest = "first_harvest"
3939
4040 let kFirstHarvestHeight = "first_harvest_height"
4141
4242 let kShareLimit = "share_limit_on_first_harvest"
4343
4444 let kBasePeriod = "base_period"
4545
4646 let kPeriodLength = "period_length"
4747
4848 let kStartHeight = "start_height"
4949
5050 let kAdminPubKey1 = "admin_pub_1"
5151
5252 let kAdminPubKey2 = "admin_pub_2"
5353
5454 let kAdminPubKey3 = "admin_pub_3"
5555
5656 let kAdminInvokePubKey = "admin_invoke_pub"
5757
5858 let kMoneyBoxAddress = "money_box_address"
5959
6060 let kGovAddress = "governance_address"
6161
6262 let kVotingAddress = "voting_address"
6363
6464 let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
6565
6666 func getBase58FromOracle (key) = match getString(oracle, key) {
6767 case string: String =>
6868 fromBase58String(string)
6969 case nothing =>
7070 throw((key + "is empty"))
7171 }
7272
7373
7474 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
7575
7676 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
7777
7878 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
7979
8080 let adminPubKeyInvoke = getBase58FromOracle(kAdminInvokePubKey)
8181
8282 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
8383
8484 let govAddress = Address(getBase58FromOracle(kGovAddress))
8585
8686 let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
8787
8888 let votingAddress = Address(getBase58FromOracle(kVotingAddress))
8989
9090 let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
9191
9292 let stakingAssets = [toBase58String(USDN)]
9393
9494 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
9595
9696 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
9797
9898 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
9999
100100 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
101101
102102 let active = getBooleanValue(this, kActive)
103103
104104 let strAssetIdA = getStringValue(this, kAssetIdA)
105105
106106 let strAssetIdB = getStringValue(this, kAssetIdB)
107107
108108 let assetIdA = if ((strAssetIdA == "WAVES"))
109109 then unit
110110 else fromBase58String(strAssetIdA)
111111
112112 let assetIdB = if ((strAssetIdB == "WAVES"))
113113 then unit
114114 else fromBase58String(strAssetIdB)
115115
116116 let assetNameA = match assetIdA {
117117 case id: ByteVector =>
118118 value(assetInfo(id)).name
119119 case waves: Unit =>
120120 "WAVES"
121121 case _ =>
122122 throw("Match error")
123123 }
124124
125125 let assetNameB = match assetIdB {
126126 case id: ByteVector =>
127127 value(assetInfo(id)).name
128128 case waves: Unit =>
129129 "WAVES"
130130 case _ =>
131131 throw("Match error")
132132 }
133133
134134 let balanceA = getIntegerValue(this, kBalanceA)
135135
136136 let balanceB = getIntegerValue(this, kBalanceB)
137137
138138 let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
139139
140140 let shareAssetSupply = getIntegerValue(this, kShareAssetSupply)
141141
142142 let invariant = getIntegerValue(this, kInvariant)
143143
144144 let fee = getIntegerValue(this, kFee)
145145
146146 let feeGovernance = fraction(fee, 40, 100)
147147
148148 let feeScale6 = 1000000
149149
150150 let scale3 = 1000
151151
152152 let scale8 = 100000000
153153
154154 let scale16 = 10000000000000000
155155
156156 let slippageScale3 = 1000
157157
158158 let digits8 = 8
159159
160160 let dAppThreshold = 50
161161
162162 let dAppThresholdScale2 = 100
163163
164164 let exchangeRatioLimitMin = 90000000
165165
166166 let exchangeRatioLimitMax = 110000000
167167
168168 let alpha = 50
169169
170170 let alphaDigits = 2
171171
172172 let beta = 4600000000000000
173173
174174 func accountBalance (assetId) = match assetId {
175175 case id: ByteVector =>
176176 assetBalance(this, id)
177177 case waves: Unit =>
178178 wavesBalance(this).available
179179 case _ =>
180180 throw("Match error")
181181 }
182182
183183
184184 func stakedAmount (assetId) = {
185185 let stakedAmountCalculated = match assetId {
186186 case aId: ByteVector =>
187187 if ((aId == USDN))
188188 then getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
189189 else 0
190190 case _: Unit =>
191191 0
192192 case _ =>
193193 throw("Match error")
194194 }
195195 match stakedAmountCalculated {
196196 case i: Int =>
197197 i
198198 case _ =>
199199 0
200200 }
201201 }
202202
203203
204204 let stakedAmountA = stakedAmount(assetIdA)
205205
206206 let stakedAmountB = stakedAmount(assetIdB)
207207
208208 let availableBalanceA = (balanceA - stakedAmountA)
209209
210210 let availableBalanceB = (balanceB - stakedAmountB)
211211
212212 let accountBalanceWithStakedA = (accountBalance(assetIdA) + stakedAmountA)
213213
214214 let accountBalanceWithStakedB = (accountBalance(assetIdB) + stakedAmountB)
215215
216216 let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
217217 then (accountBalanceWithStakedB >= balanceB)
218218 else false
219219
220220 func skewness (x,y) = ((fraction(scale16, x, y) + fraction(scale16, y, x)) / 2)
221221
222222
223223 func invariantCalc (x,y) = {
224224 let sk = skewness(x, y)
225225 (fraction((x + y), scale16, pow(sk, digits8, alpha, alphaDigits, digits8, CEILING)) + (2 * fraction(toInt(pow(fraction(toBigInt(x), toBigInt(y), toBigInt(scale8)), 0, toBigInt(5), 1, (digits8 / 2), DOWN)), pow((sk - beta), digits8, alpha, alphaDigits, digits8, DOWN), scale8)))
226226 }
227227
228228
229229 func calculateSendAmount (amountToSendEstimated,minTokenReceiveAmount,tokenReceiveAmount,tokenId) = {
230230 let worstAllowedNewInvariantRatio = (scale16 - ((scale16 * 1) / 10000000))
231231 let deltaBetweenMaxAndMinSendValue = (amountToSendEstimated - minTokenReceiveAmount)
232232 let x = (balanceA + tokenReceiveAmount)
233233 let y = (balanceB + tokenReceiveAmount)
234234 func getStepAmount (acc,step) = if ((acc._1 == -1))
235235 then {
236236 let amountToSend = (amountToSendEstimated - (((step * deltaBetweenMaxAndMinSendValue) / 3) / scale3))
237237 let stepInvariant = if ((tokenId == assetIdA))
238238 then invariantCalc(x, (balanceB - amountToSend))
239239 else invariantCalc((balanceA - amountToSend), y)
240240 if ((stepInvariant > invariant))
241241 then $Tuple2(amountToSend, stepInvariant)
242242 else $Tuple2(-1, 0)
243243 }
244244 else acc
245245
246246 let amountToSendMin = getStepAmount($Tuple2(-1, 0), 3000)
247247 if ((0 > amountToSendMin._1))
248248 then throw("Price is worse than minReceived")
249249 else {
250250 let invEstimated = if ((tokenId == assetIdA))
251251 then invariantCalc(x, (balanceB - amountToSendEstimated))
252252 else if ((tokenId == assetIdB))
253253 then invariantCalc((balanceA - amountToSendEstimated), y)
254254 else throw("Wrong asset in payment")
255255 if ((invariant > invEstimated))
256256 then if ((worstAllowedNewInvariantRatio >= fraction(scale16, invariant, invEstimated)))
257257 then throw("The requested price is too not profitable for user")
258258 else {
259259 let a = {
260260 let $l = [25, 200, 500]
261261 let $s = size($l)
262262 let $acc0 = $Tuple2(-1, 0)
263263 func $f0_1 ($a,$i) = if (($i >= $s))
264264 then $a
265265 else getStepAmount($a, $l[$i])
266266
267267 func $f0_2 ($a,$i) = if (($i >= $s))
268268 then $a
269269 else throw("List size exceeds 3")
270270
271271 $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3)
272272 }
273273 if ((0 > a._1))
274274 then amountToSendMin._1
275275 else a._1
276276 }
277277 else {
278278 let a = {
279279 let $l = [-500, -200, -25]
280280 let $s = size($l)
281281 let $acc0 = $Tuple2(-1, 0)
282282 func $f0_1 ($a,$i) = if (($i >= $s))
283283 then $a
284284 else getStepAmount($a, $l[$i])
285285
286286 func $f0_2 ($a,$i) = if (($i >= $s))
287287 then $a
288288 else throw("List size exceeds 3")
289289
290290 $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3)
291291 }
292292 let tupleSendBetter = if ((0 > a._1))
293293 then $Tuple2(amountToSendEstimated, invEstimated)
294294 else a
295295 if ((worstAllowedNewInvariantRatio >= fraction(scale16, invariant, tupleSendBetter._2)))
296296 then throw("The requested price is too not profitable for user")
297297 else tupleSendBetter._1
298298 }
299299 }
300300 }
301301
302302
303303 func getAssetInfo (assetId) = match assetId {
304304 case id: ByteVector =>
305305 let stringId = toBase58String(id)
306306 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
307307 $Tuple3(stringId, info.name, info.decimals)
308308 case waves: Unit =>
309309 $Tuple3("WAVES", "WAVES", 8)
310310 case _ =>
311311 throw("Match error")
312312 }
313313
314314
315315 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
316316
317317
318318 func throwIsActive () = throw("DApp is already active")
319319
320320
321321 func isActive () = if (active)
322322 then unit
323323 else throw("DApp is inactive at this moment")
324324
325325
326326 func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
327327 then unit
328328 else throw("Only admin can call this function")
329329
330330
331331 func throwAssets () = throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
332332
333333
334334 func throwOnePayment () = throw("One attached payment expected")
335335
336336
337337 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))
338338
339339
340340 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
341341
342342
343343 func calcStakingFuncAndAddres (stake,assetId) = if (stake)
344344 then $Tuple2("lockNeutrino", stakingUSDNAddress)
345345 else $Tuple2("unlockNeutrino", stakingUSDNAddress)
346346
347347
348348 func calcStakingParams (stake,amount,assetId) = if (stake)
349349 then {
350350 let $t01006410130 = calcStakingFuncAndAddres(stake, assetId)
351351 let call = $t01006410130._1
352352 let stakingAddr = $t01006410130._2
353353 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
354354 }
355355 else {
356356 let $t01021610282 = calcStakingFuncAndAddres(stake, assetId)
357357 let call = $t01021610282._1
358358 let stakingAddr = $t01021610282._2
359359 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
360360 }
361361
362362
363363 func calculateFeeDiscount (userAddr) = {
364364 let swopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserSwopInGov)), 0)
365365 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
366366 let discounts = split(getStringValue(oracle, kDiscounts), ",")
367367 if (if ((swopAmount >= parseIntValue(discountValues[0])))
368368 then (parseIntValue(discountValues[1]) > swopAmount)
369369 else false)
370370 then (feeScale6 - parseIntValue(discounts[0]))
371371 else if (if ((swopAmount >= parseIntValue(discountValues[1])))
372372 then (parseIntValue(discountValues[2]) > swopAmount)
373373 else false)
374374 then (feeScale6 - parseIntValue(discounts[1]))
375375 else if (if ((swopAmount >= parseIntValue(discountValues[2])))
376376 then (parseIntValue(discountValues[3]) > swopAmount)
377377 else false)
378378 then (feeScale6 - parseIntValue(discounts[2]))
379379 else if (if ((swopAmount >= parseIntValue(discountValues[3])))
380380 then (parseIntValue(discountValues[4]) > swopAmount)
381381 else false)
382382 then (feeScale6 - parseIntValue(discounts[3]))
383383 else if ((swopAmount >= parseIntValue(discountValues[4])))
384384 then (feeScale6 - parseIntValue(discounts[4]))
385385 else feeScale6
386386 }
387387
388388
389389 @Callable(i)
390390 func init (firstHarvest) = {
391391 let $t01147511552 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
392392 let pmtAmountA = $t01147511552._1
393393 let pmtAssetIdA = $t01147511552._2
394394 let $t01155711634 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
395395 let pmtAmountB = $t01155711634._1
396396 let pmtAssetIdB = $t01155711634._2
397397 let $t01163911716 = getAssetInfo(pmtAssetIdA)
398398 let pmtStrAssetIdA = $t01163911716._1
399399 let pmtAssetNameA = $t01163911716._2
400400 let pmtDecimalsA = $t01163911716._3
401401 let $t01172111798 = getAssetInfo(pmtAssetIdB)
402402 let pmtStrAssetIdB = $t01172111798._1
403403 let pmtAssetNameB = $t01172111798._2
404404 let pmtDecimalsB = $t01172111798._3
405405 if (isDefined(getBoolean(this, kActive)))
406406 then throwIsActive()
407407 else if ((pmtAssetIdA == pmtAssetIdB))
408408 then throw("Assets must be different")
409409 else {
410410 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
411411 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
412412 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
413413 let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
414414 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
415415 let shareIssueId = calculateAssetId(shareIssue)
416416 let invariantCalculated = invariantCalc(pmtAmountA, pmtAmountB)
417417 let stake1 = if (containsElement(stakingAssets, pmtStrAssetIdA))
418418 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
419419 else 0
420420 if ((stake1 == stake1))
421421 then {
422422 let stake2 = if (containsElement(stakingAssets, pmtStrAssetIdB))
423423 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
424424 else 0
425425 if ((stake2 == stake2))
426426 then {
427427 let baseEntry = [StringEntry(kVersion, version), BooleanEntry(kActive, true), StringEntry(kAssetIdA, pmtStrAssetIdA), StringEntry(kAssetIdB, pmtStrAssetIdB), IntegerEntry(kBalanceA, pmtAmountA), IntegerEntry(kBalanceB, pmtAmountB), IntegerEntry(kInvariant, invariantCalculated), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_flat")), shareIssue, StringEntry(kShareAssetId, toBase58String(shareIssueId)), IntegerEntry(kShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
428428 if (firstHarvest)
429429 then (baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
430430 else baseEntry
431431 }
432432 else throw("Strict value is not equal to itself.")
433433 }
434434 else throw("Strict value is not equal to itself.")
435435 }
436436 }
437437
438438
439439
440440 @Callable(i)
441441 func replenishWithTwoTokens () = valueOrElse(isActive(), {
442442 let pmtAssetIdA = i.payments[0].assetId
443443 let pmtAssetIdB = i.payments[1].assetId
444444 let ratioShareTokensInA = fraction(scale8, i.payments[0].amount, balanceA)
445445 let ratioShareTokensInB = fraction(scale8, i.payments[1].amount, balanceB)
446446 let $t01474614823 = getAssetInfo(pmtAssetIdA)
447447 let pmtStrAssetIdA = $t01474614823._1
448448 let pmtAssetNameA = $t01474614823._2
449449 let pmtDecimalsA = $t01474614823._3
450450 let $t01482814945 = getAssetInfo(pmtAssetIdB)
451451 let pmtStrAssetIdB = $t01482814945._1
452452 let pmtAssetNameB = $t01482814945._2
453453 let pmtDecimalsB = $t01482814945._3
454454 let $t01495015454 = if ((ratioShareTokensInB > ratioShareTokensInA))
455455 then {
456456 let pmt = fraction(balanceB, ratioShareTokensInA, scale8, CEILING)
457457 $Tuple5(i.payments[0].amount, pmt, (i.payments[1].amount - pmt), pmtAssetIdB, ratioShareTokensInA)
458458 }
459459 else {
460460 let pmt = fraction(balanceA, ratioShareTokensInB, scale8, CEILING)
461461 $Tuple5(pmt, i.payments[1].amount, (i.payments[0].amount - pmt), pmtAssetIdA, ratioShareTokensInB)
462462 }
463463 let pmtAmountA = $t01495015454._1
464464 let pmtAmountB = $t01495015454._2
465465 let change = $t01495015454._3
466466 let changeAssetId = $t01495015454._4
467467 let shareTokenRatio = $t01495015454._5
468468 let shareTokenToPayAmount = fraction(shareTokenRatio, shareAssetSupply, scale8)
469469 if ((size(i.payments) != 2))
470470 then throw("Two attached assets expected")
471471 else if (if ((pmtAssetIdA != assetIdA))
472472 then true
473473 else (pmtAssetIdB != assetIdB))
474474 then throwAssets()
475475 else if ((shareTokenToPayAmount == 0))
476476 then throw("Too small amount to replenish")
477477 else if ((0 > change))
478478 then throw("Change < 0")
479479 else if (!(hasEnoughBalance))
480480 then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
481481 else {
482482 let stake1 = if (containsElement(stakingAssets, pmtStrAssetIdA))
483483 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
484484 else 0
485485 if ((stake1 == stake1))
486486 then {
487487 let stake2 = if (containsElement(stakingAssets, pmtStrAssetIdB))
488488 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
489489 else 0
490490 if ((stake2 == stake2))
491491 then [IntegerEntry(kBalanceA, (balanceA + pmtAmountA)), IntegerEntry(kBalanceB, (balanceB + pmtAmountB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), IntegerEntry(kInvariant, invariantCalc((balanceA + pmtAmountA), (balanceB + pmtAmountB))), Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId), ScriptTransfer(i.caller, change, changeAssetId)]
492492 else throw("Strict value is not equal to itself.")
493493 }
494494 else throw("Strict value is not equal to itself.")
495495 }
496496 })
497497
498498
499499
500500 @Callable(i)
501501 func replenishWithOneToken (virtualSwapTokenPay,virtualSwapTokenGet) = valueOrElse(isActive(), {
502502 let $t01718717262 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
503503 let pmtAmount = $t01718717262._1
504504 let pmtAssetId = $t01718717262._2
505505 let $t01726717340 = getAssetInfo(pmtAssetId)
506506 let pmtStrAssetId = $t01726717340._1
507507 let pmtAssetName = $t01726717340._2
508508 let pmtDecimals = $t01726717340._3
509509 let pmtMinThreshold = 5000000
510510 let thresholdValueForMinTolerance = 50000000
511511 let tolerance = if ((thresholdValueForMinTolerance > pmtAmount))
512512 then 100000
513513 else 1
514514 let slippageValueMinForReplenish = (scale8 - ((scale8 * tolerance) / 10000000))
515515 let slippageValueMaxForReplenish = (scale8 + ((scale8 * tolerance) / 10000000))
516516 let slippageValueMinForSwap = (scale8 - ((scale8 * 1) / 10000000))
517517 if ((pmtMinThreshold > pmtAmount))
518518 then throw((((("Payment amount " + toString(pmtAmount)) + " does not exceed the minimum amount of ") + toString(pmtMinThreshold)) + " tokens"))
519519 else if ((size(i.payments) != 1))
520520 then throwOnePayment()
521521 else if (!(hasEnoughBalance))
522522 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
523523 else if (if ((pmtAssetId != assetIdA))
524524 then (pmtAssetId != assetIdB)
525525 else false)
526526 then throwAssets()
527527 else {
528528 let $t01831818960 = if ((pmtAssetId == assetIdA))
529529 then $Tuple6((pmtAmount - virtualSwapTokenPay), virtualSwapTokenGet, (balanceA + virtualSwapTokenPay), (balanceB - virtualSwapTokenGet), (balanceA + pmtAmount), balanceB)
530530 else $Tuple6(virtualSwapTokenGet, (pmtAmount - virtualSwapTokenPay), (balanceA - virtualSwapTokenGet), (balanceB + virtualSwapTokenPay), balanceA, (balanceB + pmtAmount))
531531 let virtualReplenishA = $t01831818960._1
532532 let virtualReplenishB = $t01831818960._2
533533 let balanceAfterSwapA = $t01831818960._3
534534 let balanceAfterSwapB = $t01831818960._4
535535 let newBalanceA = $t01831818960._5
536536 let newBalanceB = $t01831818960._6
537537 let invariantNew = invariantCalc(balanceAfterSwapA, balanceAfterSwapB)
538538 let ratioVirtualBalanceToVirtualReplenish = (fraction(scale16, balanceAfterSwapA, balanceAfterSwapB) / fraction(scale8, virtualReplenishA, virtualReplenishB))
539539 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
540540 if (if ((slippageValueMinForSwap >= fraction(scale8, invariant, invariantNew)))
541541 then true
542542 else (invariant > invariantNew))
543543 then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value")
544544 else if (if ((slippageValueMinForReplenish > ratioVirtualBalanceToVirtualReplenish))
545545 then true
546546 else (ratioVirtualBalanceToVirtualReplenish > slippageValueMaxForReplenish))
547547 then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect")
548548 else if (if ((dAppThresholdAmount > newBalanceA))
549549 then true
550550 else (dAppThresholdAmount > newBalanceB))
551551 then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
552552 else {
553553 let ratioShareTokensInA = fraction(virtualReplenishA, scale8, balanceAfterSwapA)
554554 let ratioShareTokensInB = fraction(virtualReplenishB, scale8, balanceAfterSwapB)
555555 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scale8)
556556 let shareTokenToPayAmountAfterFee = fraction(shareTokenToPayAmount, (feeScale6 - (fee / 2)), feeScale6)
557557 let shareTokenGovernanceReward = fraction(shareTokenToPayAmount, (feeGovernance / 2), feeScale6)
558558 let governanceRewardTokenA = fraction(shareTokenGovernanceReward, balanceA, shareAssetSupply)
559559 let governanceRewardTokenB = fraction(shareTokenGovernanceReward, balanceB, shareAssetSupply)
560560 let $t02094721242 = if ((pmtStrAssetId == strAssetIdA))
561561 then $Tuple3((pmtAmount - governanceRewardTokenA), governanceRewardTokenB, strAssetIdB)
562562 else $Tuple3((pmtAmount - governanceRewardTokenB), governanceRewardTokenA, strAssetIdA)
563563 let stakeAmount = $t02094721242._1
564564 let unstakeAmount = $t02094721242._2
565565 let unstakeAsset = $t02094721242._3
566566 let stake1 = if (containsElement(stakingAssets, pmtStrAssetId))
567567 then invoke(this, "stakeUnstake", [true, stakeAmount, pmtStrAssetId], nil)
568568 else 0
569569 if ((stake1 == stake1))
570570 then {
571571 let stake2 = if (containsElement(stakingAssets, unstakeAsset))
572572 then invoke(this, "stakeUnstake", [false, unstakeAmount, unstakeAsset], nil)
573573 else 0
574574 if ((stake2 == stake2))
575575 then [Reissue(shareAssetId, shareTokenToPayAmountAfterFee, true), ScriptTransfer(i.caller, shareTokenToPayAmountAfterFee, shareAssetId), ScriptTransfer(moneyBoxAddress, governanceRewardTokenA, assetIdA), ScriptTransfer(moneyBoxAddress, governanceRewardTokenB, assetIdB), IntegerEntry(kBalanceA, (newBalanceA - governanceRewardTokenA)), IntegerEntry(kBalanceB, (newBalanceB - governanceRewardTokenB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmountAfterFee)), IntegerEntry(kInvariant, invariantCalc((newBalanceA - governanceRewardTokenA), (newBalanceB - governanceRewardTokenB)))]
576576 else throw("Strict value is not equal to itself.")
577577 }
578578 else throw("Strict value is not equal to itself.")
579579 }
580580 }
581581 })
582582
583583
584584
585585 @Callable(i)
586586 func withdraw () = valueOrElse(isActive(), {
587587 let $t02252922604 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
588588 let pmtAmount = $t02252922604._1
589589 let pmtAssetId = $t02252922604._2
590590 let amountToPayA = fraction(pmtAmount, balanceA, shareAssetSupply)
591591 let amountToPayB = fraction(pmtAmount, balanceB, shareAssetSupply)
592592 let invariantCalculated = invariantCalc((balanceA - amountToPayA), (balanceB - amountToPayB))
593593 if ((size(i.payments) != 1))
594594 then throwOnePayment()
595595 else if ((pmtAssetId != shareAssetId))
596596 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
597597 else if (!(hasEnoughBalance))
598598 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
599599 else {
600600 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
601601 then invoke(this, "stakeUnstake", [false, amountToPayA, strAssetIdA], nil)
602602 else 0
603603 if ((stake1 == stake1))
604604 then {
605605 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
606606 then invoke(this, "stakeUnstake", [false, amountToPayB, strAssetIdB], nil)
607607 else 0
608608 if ((stake2 == stake2))
609609 then [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)]
610610 else throw("Strict value is not equal to itself.")
611611 }
612612 else throw("Strict value is not equal to itself.")
613613 }
614614 })
615615
616616
617617
618618 @Callable(i)
619619 func exchange (estimatedAmountToReceive,minAmountToReceive) = valueOrElse(isActive(), {
620620 let $t02415524230 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
621621 let pmtAmount = $t02415524230._1
622622 let pmtAssetId = $t02415524230._2
623623 if ((0 >= estimatedAmountToReceive))
624624 then throw(("Estimated amount must be positive. Actual: " + toString(estimatedAmountToReceive)))
625625 else if ((minAmountToReceive > estimatedAmountToReceive))
626626 then throw("Minimal amount can't be greater than estimated.")
627627 else if ((size(i.payments) != 1))
628628 then throwOnePayment()
629629 else if (!(hasEnoughBalance))
630630 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
631631 else if (if ((pmtAssetId != assetIdA))
632632 then (pmtAssetId != assetIdB)
633633 else false)
634634 then throwAssets()
635635 else if ((10000000 > pmtAmount))
636636 then throw("Only swap of 10.000000 or more tokens is allowed")
637637 else if (if ((exchangeRatioLimitMin > fraction(scale8, minAmountToReceive, pmtAmount)))
638638 then true
639639 else (fraction(scale8, estimatedAmountToReceive, pmtAmount) > exchangeRatioLimitMax))
640640 then throw("Incorrect args and pmt ratio")
641641 else {
642642 let sendAssetId = if ((pmtAssetId == assetIdA))
643643 then assetIdB
644644 else assetIdA
645645 let amount = calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, pmtAmount, pmtAssetId)
646646 let feeDiscount = calculateFeeDiscount(i.originCaller)
647647 let governanceReward = fraction(amount, fraction(feeGovernance, feeDiscount, feeScale6, CEILING), feeScale6)
648648 let amountMinusFee = fraction(amount, (feeScale6 - fraction(fee, feeDiscount, feeScale6, CEILING)), feeScale6)
649649 let $t02568325945 = if ((pmtAssetId == assetIdA))
650650 then $Tuple2((balanceA + pmtAmount), ((balanceB - amountMinusFee) - governanceReward))
651651 else $Tuple2(((balanceA - amountMinusFee) - governanceReward), (balanceB + pmtAmount))
652652 let newBalanceA = $t02568325945._1
653653 let newBalanceB = $t02568325945._2
654654 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
655655 if (if ((dAppThresholdAmount > newBalanceA))
656656 then true
657657 else (dAppThresholdAmount > newBalanceB))
658658 then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
659659 else {
660660 let $t02624426317 = getAssetInfo(pmtAssetId)
661661 let pmtStrAssetId = $t02624426317._1
662662 let pmtAssetName = $t02624426317._2
663663 let pmtDecimals = $t02624426317._3
664664 let $t02633026407 = getAssetInfo(sendAssetId)
665665 let sendStrAssetId = $t02633026407._1
666666 let sendAssetName = $t02633026407._2
667667 let sendDecimals = $t02633026407._3
668668 let stake1 = if (containsElement(stakingAssets, pmtStrAssetId))
669669 then invoke(this, "stakeUnstake", [true, pmtAmount, pmtStrAssetId], nil)
670670 else 0
671671 if ((stake1 == stake1))
672672 then {
673673 let stake2 = if (containsElement(stakingAssets, sendStrAssetId))
674674 then invoke(this, "stakeUnstake", [false, (amountMinusFee + governanceReward), sendStrAssetId], nil)
675675 else 0
676676 if ((stake2 == stake2))
677677 then $Tuple2([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kInvariant, invariantCalc(newBalanceA, newBalanceB)), ScriptTransfer(i.caller, amountMinusFee, sendAssetId), ScriptTransfer(moneyBoxAddress, governanceReward, sendAssetId)], [amountMinusFee, sendAssetId])
678678 else throw("Strict value is not equal to itself.")
679679 }
680680 else throw("Strict value is not equal to itself.")
681681 }
682682 }
683683 })
684684
685685
686686
687687 @Callable(i)
688688 func shutdown () = valueOrElse(isAdminCall(i), if (!(active))
689689 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
690690 else suspend("Paused by admin"))
691691
692692
693693
694694 @Callable(i)
695695 func activate () = valueOrElse(isAdminCall(i), if (active)
696696 then throwIsActive()
697697 else [BooleanEntry(kActive, true), DeleteEntry(kCause)])
698698
699699
700700
701701 @Callable(i)
702702 func takeIntoAccountExtraFunds () = valueOrElse(isActive(), {
703703 let amountEnrollA = (accountBalanceWithStakedA - balanceA)
704704 let amountEnrollB = (accountBalanceWithStakedB - balanceB)
705705 let invariantNew = invariantCalc((balanceA + amountEnrollA), (balanceB + amountEnrollB))
706706 if ((i.caller != moneyBoxAddress))
707707 then throw("Only the money box can call this function")
708708 else if (if ((0 > amountEnrollA))
709709 then true
710710 else (0 > amountEnrollB))
711711 then suspend("Enroll amount negative")
712712 else if (if ((amountEnrollA == 0))
713713 then (amountEnrollB == 0)
714714 else false)
715715 then throw("No money to take")
716716 else {
717717 let stake1 = if (if (containsElement(stakingAssets, strAssetIdA))
718718 then (amountEnrollA > 0)
719719 else false)
720720 then invoke(this, "stakeUnstake", [true, amountEnrollA, strAssetIdA], nil)
721721 else 0
722722 if ((stake1 == stake1))
723723 then {
724724 let stake2 = if (if (containsElement(stakingAssets, strAssetIdB))
725725 then (amountEnrollB > 0)
726726 else false)
727727 then invoke(this, "stakeUnstake", [true, amountEnrollB, strAssetIdB], nil)
728728 else 0
729729 if ((stake2 == stake2))
730730 then [IntegerEntry(kInvariant, invariantNew), IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB))]
731731 else throw("Strict value is not equal to itself.")
732732 }
733733 else throw("Strict value is not equal to itself.")
734734 }
735735 })
736736
737737
738738
739739 @Callable(i)
740740 func keepLimitForFirstHarvest (shareLimit) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), [IntegerEntry(kShareLimit, shareLimit)]))
741741
742742
743743
744744 @Callable(i)
745745 func stakeUnstake (stake,amount,assetIdString) = if ((i.caller != this))
746746 then throw("Only contract itself can invoke this function")
747747 else {
748748 let $t02961429717 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
749749 let call = $t02961429717._1
750750 let addr = $t02961429717._2
751751 let params = $t02961429717._3
752752 let payments = $t02961429717._4
753753 let inv = invoke(addr, call, params, payments)
754754 if ((inv == inv))
755755 then nil
756756 else throw("Strict value is not equal to itself.")
757757 }
758758
759759
760760 @Verifier(tx)
761761 func verify () = {
762762 let multiSignedByAdmins = {
763763 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
764764 then 1
765765 else 0
766766 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
767767 then 1
768768 else 0
769769 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
770770 then 1
771771 else 0
772772 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
773773 }
774774 match tx {
775775 case inv: InvokeScriptTransaction =>
776776 let callTakeIntoAccount = if ((inv.dApp == this))
777777 then (inv.function == "takeIntoAccountExtraFunds")
778778 else false
779779 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
780780 then true
781781 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
782782 then true
783783 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
784784 then true
785785 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyInvoke)
786786 if (if (callTakeIntoAccount)
787787 then signedByAdmin
788788 else false)
789789 then true
790790 else multiSignedByAdmins
791791 case _ =>
792792 multiSignedByAdmins
793793 }
794794 }
795795

github/deemru/w8io/169f3d6 
85.17 ms