tx · BGz57hmGhhVjf9igQ9y9v1uQnLWLYbcbARMpXLxtpFE8

3MpygN8qm376tUAHB6mhC5BxG5NKYortiyX:  -0.10000000 Waves

2023.01.24 12:09 [2418841] smart account 3MpygN8qm376tUAHB6mhC5BxG5NKYortiyX > SELF 0.00000000 Waves

{ "type": 13, "id": "BGz57hmGhhVjf9igQ9y9v1uQnLWLYbcbARMpXLxtpFE8", "fee": 10000000, "feeAssetId": null, "timestamp": 1674551423792, "version": 2, "chainId": 84, "sender": "3MpygN8qm376tUAHB6mhC5BxG5NKYortiyX", "senderPublicKey": "BjnLnkAMaJLYAK36vQqSepUNjGeMDHfZGfmdYwGcLbmg", "proofs": [ "24anPUuYA5RXVUnCoDiQAkCjjYtQjPcnnw7vY6xGSpvBzMXZkns8BKwNXYExx5haX5HrX9WBB8dtWLRwLSkBzFZZ", "4wwzSuryxsizMtWb2C631WsjZ4VBQMsC9Y9DicC9jqZuNsmBYwh7e2uGnw8dcRjwqb45y8awnwGqoFe8tF1f7xqT" ], "script": "base64:BgJJCAISAwoBBBIECgIEARIGCgQBAQQBEgMKAQESBgoEAQgBARIECgIBARIDCgEBEgASABIAEgMKAQESBQoDBAEIEgASBAoCAQESAG0AB3ZlcnNpb24CBTIuMC4wAAhrVmVyc2lvbgIHdmVyc2lvbgAHa0FjdGl2ZQIGYWN0aXZlAAtrQWN0aXZlR2xvYgIUYWN0aXZlX2FsbF9jb250cmFjdHMAC2tEZXByZWNhdGVkAgtkZXByZWNhdGVkXwAJa0Fzc2V0SWRBAgpBX2Fzc2V0X2lkAAlrQXNzZXRJZEICCkJfYXNzZXRfaWQACWtCYWxhbmNlQQIPQV9hc3NldF9iYWxhbmNlAAlrQmFsYW5jZUICD0JfYXNzZXRfYmFsYW5jZQANa1NoYXJlQXNzZXRJZAIOc2hhcmVfYXNzZXRfaWQAEWtTaGFyZUFzc2V0U3VwcGx5AhJzaGFyZV9hc3NldF9zdXBwbHkABGtGZWUCCmNvbW1pc3Npb24ACmtJbn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52CGZ1bmN0aW9uAhl0YWtlSW50b0FjY291bnRFeHRyYUZ1bmRzBwQNc2lnbmVkQnlBZG1pbgMDAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUMYWRtaW5QdWJLZXkxBgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUMYWRtaW5QdWJLZXkyBgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUMYWRtaW5QdWJLZXkzBgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAURYWRtaW5QdWJLZXlJbnZva2UDAwUTY2FsbFRha2VJbnRvQWNjb3VudAUNc2lnbmVkQnlBZG1pbgcGBRNtdWx0aVNpZ25lZEJ5QWRtaW5zBRNtdWx0aVNpZ25lZEJ5QWRtaW5zvhr87A==", "height": 2418841, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DTkeuiaWyQGRdw5pq5R9CRxJB5qk4hxC1egj86hqmBDc Next: 9YDcawhmDMtZ7wPHuCF2fvnAidcEHv8QMXz329ReBwiE Full:
OldNewDifferences
11 {-# 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 kActiveGlob = "active_all_contracts"
1111
1212 let kDeprecated = "deprecated_"
1313
1414 let kAssetIdA = "A_asset_id"
1515
1616 let kAssetIdB = "B_asset_id"
1717
1818 let kBalanceA = "A_asset_balance"
1919
2020 let kBalanceB = "B_asset_balance"
2121
2222 let kShareAssetId = "share_asset_id"
2323
2424 let kShareAssetSupply = "share_asset_supply"
2525
2626 let kFee = "commission"
2727
2828 let kInvariant = "invariant"
2929
3030 let kCause = "shutdown_cause"
3131
3232 let kUSDNAddress = "staking_usdnnsbt_address"
3333
3434 let kEURNAddress = "staking_eurn_address"
3535
3636 let kDiscounts = "discounts"
3737
3838 let kDiscountValues = "discount_values"
3939
4040 let kUserSwopInGov = "_SWOP_amount"
4141
4242 let kUserGSwopInGov = "_GSwop_amount"
4343
4444 let kFirstHarvest = "first_harvest"
4545
4646 let kFirstHarvestHeight = "first_harvest_height"
4747
4848 let kShareLimit = "share_limit_on_first_harvest"
4949
5050 let kBasePeriod = "base_period"
5151
5252 let kPeriodLength = "period_length"
5353
5454 let kStartHeight = "start_height"
5555
5656 let kDAppThreshold = "dApp_threshold"
5757
5858 let kAdminPubKey1 = "admin_pub_1"
5959
6060 let kAdminPubKey2 = "admin_pub_2"
6161
6262 let kAdminPubKey3 = "admin_pub_3"
6363
6464 let kAdminInvokePubKey = "admin_invoke_pub"
6565
6666 let kMoneyBoxAddress = "money_box_address"
6767
6868 let kGovAddress = "governance_address"
6969
7070 let kFarmingAddress = "farming_address"
7171
7272 let kVotingAddress = "voting_address"
7373
7474 let kUSDNAssetId = "usdn_asset_id"
7575
7676 let kStakingAssets = "staking_assets"
7777
7878 let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
7979
8080 func getBase58FromOracle (key) = match getString(oracle, key) {
8181 case string: String =>
8282 fromBase58String(string)
8383 case nothing =>
8484 throw((key + "is empty"))
8585 }
8686
8787
8888 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
8989
9090 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
9191
9292 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
9393
9494 let adminPubKeyInvoke = getBase58FromOracle(kAdminInvokePubKey)
9595
9696 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
9797
9898 let govAddress = Address(getBase58FromOracle(kGovAddress))
9999
100100 let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
101101
102102 let votingAddress = Address(getBase58FromOracle(kVotingAddress))
103103
104104 let farmingAddress = Address(getBase58FromOracle(kFarmingAddress))
105105
106106 let USDN = getBase58FromOracle(kUSDNAssetId)
107107
108108 let stakingAssets = getStringValue(oracle, kStakingAssets)
109109
110110 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
111111
112112 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
113113
114114 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
115115
116116 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
117117
118118 let active = getBooleanValue(this, kActive)
119119
120120 let activeGlob = valueOrElse(getBoolean(oracle, kActiveGlob), true)
121121
122122 let deprecatedPool = valueOrElse(getBoolean(oracle, (kDeprecated + toString(this))), false)
123123
124124 let strAssetIdA = getStringValue(this, kAssetIdA)
125125
126126 let strAssetIdB = getStringValue(this, kAssetIdB)
127127
128128 let assetIdA = if ((strAssetIdA == "WAVES"))
129129 then unit
130130 else fromBase58String(strAssetIdA)
131131
132132 let assetIdB = if ((strAssetIdB == "WAVES"))
133133 then unit
134134 else fromBase58String(strAssetIdB)
135135
136136 let assetNameA = match assetIdA {
137137 case id: ByteVector =>
138138 value(assetInfo(id)).name
139139 case waves: Unit =>
140140 "WAVES"
141141 case _ =>
142142 throw("Match error")
143143 }
144144
145145 let assetNameB = match assetIdB {
146146 case id: ByteVector =>
147147 value(assetInfo(id)).name
148148 case waves: Unit =>
149149 "WAVES"
150150 case _ =>
151151 throw("Match error")
152152 }
153153
154154 let balanceA = getIntegerValue(this, kBalanceA)
155155
156156 let balanceB = getIntegerValue(this, kBalanceB)
157157
158158 let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
159159
160160 let shareAssetSupply = getIntegerValue(this, kShareAssetSupply)
161161
162162 let invariant = getIntegerValue(this, kInvariant)
163163
164164 let fee = getIntegerValue(this, kFee)
165165
166166 let feeGovernance = fraction(fee, 40, 100)
167167
168168 let feeScale6 = 1000000
169169
170170 let scale3 = 1000
171171
172172 let scale8 = 100000000
173173
174174 let scale16 = 10000000000000000
175175
176176 let digits8 = 8
177177
178178 let exchangeRatioLimitMin = 60000000
179179
180180 let exchangeRatioLimitMax = 140000000
181181
182182 let alpha = 50
183183
184184 let alphaDigits = 2
185185
186186 let beta = 4600000000000000
187187
188188 func accountBalance (assetId) = match assetId {
189189 case id: ByteVector =>
190190 assetBalance(this, id)
191191 case waves: Unit =>
192192 wavesBalance(this).available
193193 case _ =>
194194 throw("Match error")
195195 }
196196
197197
198198 func stakedAmount (assetId) = {
199199 let stakedAmountCalculated = match assetId {
200200 case aId: ByteVector =>
201201 if ((aId == USDN))
202202 then getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
203203 else 0
204204 case _: Unit =>
205205 0
206206 case _ =>
207207 throw("Match error")
208208 }
209209 match stakedAmountCalculated {
210210 case i: Int =>
211211 i
212212 case _ =>
213213 0
214214 }
215215 }
216216
217217
218218 let stakedAmountA = stakedAmount(assetIdA)
219219
220220 let stakedAmountB = stakedAmount(assetIdB)
221221
222222 let availableBalanceA = (balanceA - stakedAmountA)
223223
224224 let availableBalanceB = (balanceB - stakedAmountB)
225225
226226 let accountBalanceWithStakedA = (accountBalance(assetIdA) + stakedAmountA)
227227
228228 let accountBalanceWithStakedB = (accountBalance(assetIdB) + stakedAmountB)
229229
230230 let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
231231 then (accountBalanceWithStakedB >= balanceB)
232232 else false
233233
234234 func skewness (x,y) = ((fraction(scale16, x, y) + fraction(scale16, y, x)) / 2)
235235
236236
237237 func invariantCalc (x,y) = {
238238 let sk = skewness(x, y)
239239 (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)))
240240 }
241241
242242
243243 func calculateSendAmount (amountToSendEstimated,minTokenReceiveAmount,tokenReceiveAmount,tokenId,balcA,balcB,invCur) = {
244244 let worstAllowedNewInvariantRatio = (scale16 - ((scale16 * 1) / 10000000))
245245 let deltaBetweenMaxAndMinSendValue = (amountToSendEstimated - minTokenReceiveAmount)
246246 let x = (balcA + tokenReceiveAmount)
247247 let y = (balcB + tokenReceiveAmount)
248248 func getStepAmount (acc,step) = if ((acc._1 == -1))
249249 then {
250250 let amountToSend = (amountToSendEstimated - (((step * deltaBetweenMaxAndMinSendValue) / 3) / scale3))
251251 let stepInvariant = if ((tokenId == assetIdA))
252252 then invariantCalc(x, (balcB - amountToSend))
253253 else invariantCalc((balcA - amountToSend), y)
254254 if ((stepInvariant > invCur))
255255 then $Tuple2(amountToSend, stepInvariant)
256256 else $Tuple2(-1, 0)
257257 }
258258 else acc
259259
260260 let amountToSendMin = getStepAmount($Tuple2(-1, 0), 3000)
261261 if ((0 > amountToSendMin._1))
262262 then throw("Price is worse than minReceived")
263263 else {
264264 let invEstimated = if ((tokenId == assetIdA))
265265 then invariantCalc(x, (balcB - amountToSendEstimated))
266266 else if ((tokenId == assetIdB))
267267 then invariantCalc((balcA - amountToSendEstimated), y)
268268 else throw("Wrong asset in payment")
269269 if ((invCur > invEstimated))
270270 then if ((worstAllowedNewInvariantRatio >= fraction(scale16, invCur, invEstimated)))
271271 then throw("The requested price is too not profitable for user")
272272 else {
273273 let a = {
274274 let $l = [25, 200, 500]
275275 let $s = size($l)
276276 let $acc0 = $Tuple2(-1, 0)
277277 func $f0_1 ($a,$i) = if (($i >= $s))
278278 then $a
279279 else getStepAmount($a, $l[$i])
280280
281281 func $f0_2 ($a,$i) = if (($i >= $s))
282282 then $a
283283 else throw("List size exceeds 3")
284284
285285 $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3)
286286 }
287287 if ((0 > a._1))
288288 then amountToSendMin._1
289289 else a._1
290290 }
291291 else {
292292 let a = {
293293 let $l = [-500, -200, -25]
294294 let $s = size($l)
295295 let $acc0 = $Tuple2(-1, 0)
296296 func $f0_1 ($a,$i) = if (($i >= $s))
297297 then $a
298298 else getStepAmount($a, $l[$i])
299299
300300 func $f0_2 ($a,$i) = if (($i >= $s))
301301 then $a
302302 else throw("List size exceeds 3")
303303
304304 $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3)
305305 }
306306 let tupleSendBetter = if ((0 > a._1))
307307 then $Tuple2(amountToSendEstimated, invEstimated)
308308 else a
309309 if ((worstAllowedNewInvariantRatio >= fraction(scale16, invCur, tupleSendBetter._2)))
310310 then throw("The requested price is too not profitable for user")
311311 else tupleSendBetter._1
312312 }
313313 }
314314 }
315315
316316
317317 func getAssetInfo (assetId) = match assetId {
318318 case id: ByteVector =>
319319 let stringId = toBase58String(id)
320320 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
321321 $Tuple3(stringId, info.name, info.decimals)
322322 case waves: Unit =>
323323 $Tuple3("WAVES", "WAVES", 8)
324324 case _ =>
325325 throw("Match error")
326326 }
327327
328328
329329 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
330330
331331
332332 func throwIsActive () = throw("DApp is already active")
333333
334334
335335 func isActive () = if (if (active)
336336 then activeGlob
337337 else false)
338338 then unit
339339 else throw("DApp is inactive at this moment")
340340
341341
342342 func isDepricated () = if (!(deprecatedPool))
343343 then unit
344344 else throw("Pool is deprecated. Only withdraw action allowed.")
345345
346346
347347 func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
348348 then unit
349349 else throw("Only admin can call this function")
350350
351351
352352 func isSelfCall (i) = if ((this == i.caller))
353353 then unit
354354 else throw("Only contract itself can call this function")
355355
356356
357357 func throwAssets () = throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
358358
359359
360360 func throwOnePayment () = throw("One attached payment expected")
361361
362362
363363 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
364364
365365
366366 func calcStakingFuncAndAddres (stake,assetId) = if (stake)
367367 then $Tuple2("lockNeutrino", stakingUSDNAddress)
368368 else $Tuple2("unlockNeutrino", stakingUSDNAddress)
369369
370370
371371 func calcStakingParams (stake,amount,assetId) = if (stake)
372372 then {
373373 let $t01044410510 = calcStakingFuncAndAddres(stake, assetId)
374374 let call = $t01044410510._1
375375 let stakingAddr = $t01044410510._2
376376 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
377377 }
378378 else {
379379 let $t01059610662 = calcStakingFuncAndAddres(stake, assetId)
380380 let call = $t01059610662._1
381381 let stakingAddr = $t01059610662._2
382382 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
383383 }
384384
385385
386386 func calculateFeeDiscount (userAddr) = {
387387 let swopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserSwopInGov)), 0)
388388 let gSwopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserGSwopInGov)), swopAmount)
389389 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
390390 let discounts = split(getStringValue(oracle, kDiscounts), ",")
391391 if (if ((gSwopAmount >= parseIntValue(discountValues[0])))
392392 then (parseIntValue(discountValues[1]) > gSwopAmount)
393393 else false)
394394 then (feeScale6 - parseIntValue(discounts[0]))
395395 else if (if ((gSwopAmount >= parseIntValue(discountValues[1])))
396396 then (parseIntValue(discountValues[2]) > gSwopAmount)
397397 else false)
398398 then (feeScale6 - parseIntValue(discounts[1]))
399399 else if (if ((gSwopAmount >= parseIntValue(discountValues[2])))
400400 then (parseIntValue(discountValues[3]) > gSwopAmount)
401401 else false)
402402 then (feeScale6 - parseIntValue(discounts[2]))
403403 else if (if ((gSwopAmount >= parseIntValue(discountValues[3])))
404404 then (parseIntValue(discountValues[4]) > gSwopAmount)
405405 else false)
406406 then (feeScale6 - parseIntValue(discounts[3]))
407407 else if ((gSwopAmount >= parseIntValue(discountValues[4])))
408408 then (feeScale6 - parseIntValue(discounts[4]))
409409 else feeScale6
410410 }
411411
412412
413413 func checkDAppThreshold (newBalanceA,newBalanceB,pmtAssetId) = {
414414 let dAppThreshold = getIntegerValue(this, kDAppThreshold)
415415 let ratio = if (if ((pmtAssetId == assetIdA))
416416 then (newBalanceA > newBalanceB)
417417 else false)
418418 then fraction(newBalanceA, 1, newBalanceB, CEILING)
419419 else if (if ((pmtAssetId == assetIdB))
420420 then (newBalanceB > newBalanceA)
421421 else false)
422422 then fraction(newBalanceB, 1, newBalanceA, CEILING)
423423 else 0
424424 if ((ratio > dAppThreshold))
425425 then {
426426 let $t01240712515 = if ((pmtAssetId == assetIdA))
427427 then $Tuple2(assetNameB, assetNameA)
428428 else $Tuple2(assetNameA, assetNameB)
429429 let token1 = $t01240712515._1
430430 let token2 = $t01240712515._2
431431 throw((((("Buying " + token1) + " is temporarily unavailable due to the ") + token2) + " depeg"))
432432 }
433433 else true
434434 }
435435
436436
437437 func replenishWithTwoTokensCalc (i,stakeFarming,lockType) = {
438438 let pmtAssetIdA = i.payments[0].assetId
439439 let pmtAssetIdB = i.payments[1].assetId
440440 let ratioShareTokensInA = fraction(scale8, i.payments[0].amount, balanceA)
441441 let ratioShareTokensInB = fraction(scale8, i.payments[1].amount, balanceB)
442442 let $t01297513052 = getAssetInfo(pmtAssetIdA)
443443 let pmtStrAssetIdA = $t01297513052._1
444444 let pmtAssetNameA = $t01297513052._2
445445 let pmtDecimalsA = $t01297513052._3
446446 let $t01305713174 = getAssetInfo(pmtAssetIdB)
447447 let pmtStrAssetIdB = $t01305713174._1
448448 let pmtAssetNameB = $t01305713174._2
449449 let pmtDecimalsB = $t01305713174._3
450450 let $t01317913683 = if ((ratioShareTokensInB > ratioShareTokensInA))
451451 then {
452452 let pmt = fraction(balanceB, ratioShareTokensInA, scale8, CEILING)
453453 $Tuple5(i.payments[0].amount, pmt, (i.payments[1].amount - pmt), pmtAssetIdB, ratioShareTokensInA)
454454 }
455455 else {
456456 let pmt = fraction(balanceA, ratioShareTokensInB, scale8, CEILING)
457457 $Tuple5(pmt, i.payments[1].amount, (i.payments[0].amount - pmt), pmtAssetIdA, ratioShareTokensInB)
458458 }
459459 let pmtAmountA = $t01317913683._1
460460 let pmtAmountB = $t01317913683._2
461461 let change = $t01317913683._3
462462 let changeAssetId = $t01317913683._4
463463 let shareTokenRatio = $t01317913683._5
464464 let shareTokenToPayAmount = fraction(shareTokenRatio, shareAssetSupply, scale8)
465465 if (if ((size(i.payments) != 2))
466466 then (size(i.payments) != 3)
467467 else false)
468468 then throw("Two or three payments expected")
469469 else if (if ((pmtAssetIdA != assetIdA))
470470 then true
471471 else (pmtAssetIdB != assetIdB))
472472 then throwAssets()
473473 else if ((shareTokenToPayAmount == 0))
474474 then throw("Too small amount to replenish")
475475 else if ((0 > change))
476476 then throw("Change < 0")
477477 else if (!(hasEnoughBalance))
478478 then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
479479 else {
480480 let stake1 = if (contains(stakingAssets, pmtStrAssetIdA))
481481 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
482482 else 0
483483 if ((stake1 == stake1))
484484 then {
485485 let stake2 = if (contains(stakingAssets, pmtStrAssetIdB))
486486 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
487487 else 0
488488 if ((stake2 == stake2))
489489 then {
490490 let scriptActions = [IntegerEntry(kBalanceA, (balanceA + pmtAmountA)), IntegerEntry(kBalanceB, (balanceB + pmtAmountB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), IntegerEntry(kInvariant, invariantCalc((balanceA + pmtAmountA), (balanceB + pmtAmountB))), ScriptTransfer(i.caller, change, changeAssetId)]
491491 if (stakeFarming)
492492 then {
493493 let stPayments = ([AttachedPayment(shareAssetId, shareTokenToPayAmount)] ++ (if ((size(i.payments) == 3))
494494 then [AttachedPayment(if ((i.payments[2].assetId == base58''))
495495 then unit
496496 else i.payments[2].assetId, i.payments[2].amount)]
497497 else nil))
498498 let re = invoke(this, "reissueShare", [shareTokenToPayAmount], nil)
499499 if ((re == re))
500500 then {
501501 let s = invoke(farmingAddress, "lockShareTokensFromPool", [i.caller.bytes, toString(this), lockType], stPayments)
502502 if ((s == s))
503503 then scriptActions
504504 else throw("Strict value is not equal to itself.")
505505 }
506506 else throw("Strict value is not equal to itself.")
507507 }
508508 else (scriptActions ++ [Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)])
509509 }
510510 else throw("Strict value is not equal to itself.")
511511 }
512512 else throw("Strict value is not equal to itself.")
513513 }
514514 }
515515
516516
517517 func replenishWithOneTokenCalc (i,virtualSwapTokenPay,virtualSwapTokenGet,stakeFarming,lockType) = {
518518 let $t01607316148 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
519519 let pmtAmount = $t01607316148._1
520520 let pmtAssetId = $t01607316148._2
521521 let $t01615316226 = getAssetInfo(pmtAssetId)
522522 let pmtStrAssetId = $t01615316226._1
523523 let pmtAssetName = $t01615316226._2
524524 let pmtDecimals = $t01615316226._3
525525 let pmtMinThreshold = 5000000
526526 let thresholdValueForMinTolerance = 50000000
527527 let tolerance = if ((thresholdValueForMinTolerance > pmtAmount))
528528 then 100000
529529 else 1
530530 let slippageValueMinForReplenish = (scale8 - ((scale8 * tolerance) / 10000000))
531531 let slippageValueMaxForReplenish = (scale8 + ((scale8 * tolerance) / 10000000))
532532 let slippageValueMinForSwap = (scale8 - ((scale8 * 1) / 10000000))
533533 if ((pmtMinThreshold > pmtAmount))
534534 then throw((((("Payment amount " + toString(pmtAmount)) + " does not exceed the minimum amount of ") + toString(pmtMinThreshold)) + " tokens"))
535535 else if (if ((size(i.payments) != 1))
536536 then (size(i.payments) != 2)
537537 else false)
538538 then throw("One or two payments expected")
539539 else if (!(hasEnoughBalance))
540540 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
541541 else if (if ((pmtAssetId != assetIdA))
542542 then (pmtAssetId != assetIdB)
543543 else false)
544544 then throwAssets()
545545 else {
546546 let $t01722817870 = if ((pmtAssetId == assetIdA))
547547 then $Tuple6((pmtAmount - virtualSwapTokenPay), virtualSwapTokenGet, (balanceA + virtualSwapTokenPay), (balanceB - virtualSwapTokenGet), (balanceA + pmtAmount), balanceB)
548548 else $Tuple6(virtualSwapTokenGet, (pmtAmount - virtualSwapTokenPay), (balanceA - virtualSwapTokenGet), (balanceB + virtualSwapTokenPay), balanceA, (balanceB + pmtAmount))
549549 let virtualReplenishA = $t01722817870._1
550550 let virtualReplenishB = $t01722817870._2
551551 let balanceAfterSwapA = $t01722817870._3
552552 let balanceAfterSwapB = $t01722817870._4
553553 let newBalanceA = $t01722817870._5
554554 let newBalanceB = $t01722817870._6
555555 let invariantNew = invariantCalc(balanceAfterSwapA, balanceAfterSwapB)
556556 let ratioVirtualBalanceToVirtualReplenish = (fraction(scale16, balanceAfterSwapA, balanceAfterSwapB) / fraction(scale8, virtualReplenishA, virtualReplenishB))
557557 if (if ((slippageValueMinForSwap >= fraction(scale8, invariant, invariantNew)))
558558 then true
559559 else (invariant > invariantNew))
560560 then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value")
561561 else if (if ((slippageValueMinForReplenish > ratioVirtualBalanceToVirtualReplenish))
562562 then true
563563 else (ratioVirtualBalanceToVirtualReplenish > slippageValueMaxForReplenish))
564564 then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect")
565565 else if (!(checkDAppThreshold(newBalanceA, newBalanceB, pmtAssetId)))
566566 then throw()
567567 else {
568568 let ratioShareTokensInA = fraction(virtualReplenishA, scale8, balanceAfterSwapA)
569569 let ratioShareTokensInB = fraction(virtualReplenishB, scale8, balanceAfterSwapB)
570570 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scale8)
571571 let shareTokenToPayAmountAfterFee = fraction(shareTokenToPayAmount, (feeScale6 - (fee / 2)), feeScale6)
572572 let shareTokenGovernanceReward = fraction(shareTokenToPayAmount, (feeGovernance / 2), feeScale6)
573573 let governanceRewardTokenA = fraction(shareTokenGovernanceReward, balanceA, shareAssetSupply)
574574 let governanceRewardTokenB = fraction(shareTokenGovernanceReward, balanceB, shareAssetSupply)
575575 let $t01962119904 = if ((pmtStrAssetId == strAssetIdA))
576576 then $Tuple3((pmtAmount - governanceRewardTokenA), governanceRewardTokenB, strAssetIdB)
577577 else $Tuple3((pmtAmount - governanceRewardTokenB), governanceRewardTokenA, strAssetIdA)
578578 let stakeAmount = $t01962119904._1
579579 let unstakeAmount = $t01962119904._2
580580 let unstakeAsset = $t01962119904._3
581581 let stake1 = if (contains(stakingAssets, pmtStrAssetId))
582582 then invoke(this, "stakeUnstake", [true, stakeAmount, pmtStrAssetId], nil)
583583 else 0
584584 if ((stake1 == stake1))
585585 then {
586586 let stake2 = if (contains(stakingAssets, unstakeAsset))
587587 then invoke(this, "stakeUnstake", [false, unstakeAmount, unstakeAsset], nil)
588588 else 0
589589 if ((stake2 == stake2))
590590 then {
591591 let scriptActions = [IntegerEntry(kBalanceA, (newBalanceA - governanceRewardTokenA)), IntegerEntry(kBalanceB, (newBalanceB - governanceRewardTokenB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmountAfterFee)), IntegerEntry(kInvariant, invariantCalc((newBalanceA - governanceRewardTokenA), (newBalanceB - governanceRewardTokenB))), ScriptTransfer(moneyBoxAddress, governanceRewardTokenA, assetIdA), ScriptTransfer(moneyBoxAddress, governanceRewardTokenB, assetIdB)]
592592 if (stakeFarming)
593593 then {
594594 let stPayments = ([AttachedPayment(shareAssetId, shareTokenToPayAmountAfterFee)] ++ (if ((size(i.payments) == 2))
595595 then [AttachedPayment(if ((i.payments[1].assetId == base58''))
596596 then unit
597597 else i.payments[1].assetId, i.payments[1].amount)]
598598 else nil))
599599 let re = invoke(this, "reissueShare", [shareTokenToPayAmountAfterFee], nil)
600600 if ((re == re))
601601 then {
602602 let s = invoke(farmingAddress, "lockShareTokensFromPool", [i.caller.bytes, toString(this), lockType], stPayments)
603603 if ((s == s))
604604 then scriptActions
605605 else throw("Strict value is not equal to itself.")
606606 }
607607 else throw("Strict value is not equal to itself.")
608608 }
609609 else (scriptActions ++ [Reissue(shareAssetId, shareTokenToPayAmountAfterFee, true), ScriptTransfer(i.caller, shareTokenToPayAmountAfterFee, shareAssetId)])
610610 }
611611 else throw("Strict value is not equal to itself.")
612612 }
613613 else throw("Strict value is not equal to itself.")
614614 }
615615 }
616616 }
617617
618618
619619 func withdrawCalc (i,unlockAmount) = {
620620 let $t02175322088 = if ((size(i.payments) == 1))
621621 then if ((i.payments[0].assetId != shareAssetId))
622622 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
623623 else $Tuple2(i.payments[0].amount, i.payments[0].assetId)
624624 else $Tuple2(0, shareAssetId)
625625 let pmtAmount = $t02175322088._1
626626 let pmtAssetId = $t02175322088._2
627627 if (!(hasEnoughBalance))
628628 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
629629 else {
630630 let unlock = if ((unlockAmount > 0))
631631 then invoke(farmingAddress, "withdrawShareTokensFromPool", [i.caller.bytes, toString(this), unlockAmount], nil)
632632 else 0
633633 if ((unlock == unlock))
634634 then {
635635 let withdrawAmount = (pmtAmount + unlockAmount)
636636 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
637637 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
638638 let invariantCalculated = invariantCalc((balanceA - amountToPayA), (balanceB - amountToPayB))
639639 let stake1 = if (contains(stakingAssets, strAssetIdA))
640640 then invoke(this, "stakeUnstake", [false, amountToPayA, strAssetIdA], nil)
641641 else 0
642642 if ((stake1 == stake1))
643643 then {
644644 let stake2 = if (contains(stakingAssets, strAssetIdB))
645645 then invoke(this, "stakeUnstake", [false, amountToPayB, strAssetIdB], nil)
646646 else 0
647647 if ((stake2 == stake2))
648648 then [IntegerEntry(kBalanceA, (balanceA - amountToPayA)), IntegerEntry(kBalanceB, (balanceB - amountToPayB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply - withdrawAmount)), IntegerEntry(kInvariant, invariantCalculated), Burn(shareAssetId, withdrawAmount), ScriptTransfer(i.caller, amountToPayA, assetIdA), ScriptTransfer(i.caller, amountToPayB, assetIdB)]
649649 else throw("Strict value is not equal to itself.")
650650 }
651651 else throw("Strict value is not equal to itself.")
652652 }
653653 else throw("Strict value is not equal to itself.")
654654 }
655655 }
656656
657657
658658 @Callable(i)
659659 func init (firstHarvest) = {
660660 let $t02364023717 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
661661 let pmtAmountA = $t02364023717._1
662662 let pmtAssetIdA = $t02364023717._2
663663 let $t02372223799 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
664664 let pmtAmountB = $t02372223799._1
665665 let pmtAssetIdB = $t02372223799._2
666666 let $t02380423881 = getAssetInfo(pmtAssetIdA)
667667 let pmtStrAssetIdA = $t02380423881._1
668668 let pmtAssetNameA = $t02380423881._2
669669 let pmtDecimalsA = $t02380423881._3
670670 let $t02388623963 = getAssetInfo(pmtAssetIdB)
671671 let pmtStrAssetIdB = $t02388623963._1
672672 let pmtAssetNameB = $t02388623963._2
673673 let pmtDecimalsB = $t02388623963._3
674674 if (isDefined(getBoolean(this, kActive)))
675675 then throwIsActive()
676676 else if ((pmtAssetIdA == pmtAssetIdB))
677677 then throw("Assets must be different")
678678 else {
679679 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
680680 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
681681 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
682682 let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
683683 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
684684 let shareIssueId = calculateAssetId(shareIssue)
685685 let invariantCalculated = invariantCalc(pmtAmountA, pmtAmountB)
686686 let stake1 = if (contains(stakingAssets, pmtStrAssetIdA))
687687 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
688688 else 0
689689 if ((stake1 == stake1))
690690 then {
691691 let stake2 = if (contains(stakingAssets, pmtStrAssetIdB))
692692 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
693693 else 0
694694 if ((stake2 == stake2))
695695 then {
696696 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")), IntegerEntry(kDAppThreshold, 3), shareIssue, StringEntry(kShareAssetId, toBase58String(shareIssueId)), IntegerEntry(kShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
697697 if (firstHarvest)
698698 then (baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
699699 else baseEntry
700700 }
701701 else throw("Strict value is not equal to itself.")
702702 }
703703 else throw("Strict value is not equal to itself.")
704704 }
705705 }
706706
707707
708708
709709 @Callable(i)
710710 func replenishWithTwoTokensV2 (stakeFarming,lockType) = valueOrElse(isActive(), valueOrElse(isDepricated(), replenishWithTwoTokensCalc(i, stakeFarming, lockType)))
711711
712712
713713
714714 @Callable(i)
715715 func replenishWithOneTokenV2 (virtualSwapTokenPay,virtualSwapTokenGet,stakeFarming,lockType) = valueOrElse(isActive(), valueOrElse(isDepricated(), replenishWithOneTokenCalc(i, virtualSwapTokenPay, virtualSwapTokenGet, stakeFarming, lockType)))
716716
717717
718718
719719 @Callable(i)
720720 func withdrawV2 (unlockAmount) = valueOrElse(isActive(), withdrawCalc(i, unlockAmount))
721721
722722
723723
724724 @Callable(i)
725725 func withdrawOneToken (unlockAmount,withdrawAsset,estimatedAmountToReceive,minAmountToReceive) = valueOrElse(isActive(), valueOrElse(isDepricated(), {
726726 let $t02752527884 = if ((size(i.payments) == 1))
727727 then if ((i.payments[0].assetId != shareAssetId))
728728 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
729729 else $Tuple2(i.payments[0].amount, i.payments[0].assetId)
730730 else $Tuple2(0, shareAssetId)
731731 let pmtAmount = $t02752527884._1
732732 let pmtAssetId = $t02752527884._2
733733 let withdrawAmount = (pmtAmount + unlockAmount)
734734 if (if ((withdrawAsset != strAssetIdA))
735735 then (withdrawAsset != strAssetIdB)
736736 else false)
737737 then throw("Incorrect withdraw asset")
738738 else if ((0 >= withdrawAmount))
739739 then throw("withdraw amount must be grater than 0")
740740 else if (!(hasEnoughBalance))
741741 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
742742 else {
743743 let unlock = if ((unlockAmount > 0))
744744 then invoke(farmingAddress, "withdrawShareTokensFromPool", [i.caller.bytes, toString(this), unlockAmount], nil)
745745 else 0
746746 if ((unlock == unlock))
747747 then {
748748 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
749749 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
750750 let newVirtBalcA = (balanceA - amountToPayA)
751751 let newVirtBalcB = (balanceB - amountToPayB)
752752 let feeDiscount = calculateFeeDiscount(i.originCaller)
753753 let amountExchangedWithFee = if ((withdrawAsset == strAssetIdA))
754754 then calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, amountToPayB, assetIdB, newVirtBalcA, newVirtBalcB, invariantCalc(newVirtBalcA, newVirtBalcB))
755755 else calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, amountToPayA, assetIdA, newVirtBalcA, newVirtBalcB, invariantCalc(newVirtBalcA, newVirtBalcB))
756756 let govReward = fraction(amountExchangedWithFee, fraction(feeGovernance, feeDiscount, feeScale6, CEILING), feeScale6)
757757 let amountExchanged = fraction(amountExchangedWithFee, (feeScale6 - fraction(fee, feeDiscount, feeScale6, CEILING)), feeScale6)
758758 let $t02957529949 = if ((withdrawAsset == strAssetIdA))
759759 then $Tuple4((amountToPayA + amountExchanged), (((balanceA - amountToPayA) - amountExchanged) - govReward), balanceB, assetIdB)
760760 else $Tuple4((amountToPayB + amountExchanged), balanceA, (((balanceB - amountToPayB) - amountExchanged) - govReward), assetIdA)
761761 let amountToPay = $t02957529949._1
762762 let balanceANew = $t02957529949._2
763763 let balanceBNew = $t02957529949._3
764764 let virtAssetId = $t02957529949._4
765765 if (!(checkDAppThreshold(balanceANew, balanceBNew, virtAssetId)))
766766 then throw()
767767 else {
768768 let invariantCalculated = invariantCalc(balanceANew, balanceBNew)
769769 let stake1 = if (contains(stakingAssets, withdrawAsset))
770770 then invoke(this, "stakeUnstake", [false, (amountToPay + govReward), withdrawAsset], nil)
771771 else 0
772772 if ((stake1 == stake1))
773773 then [IntegerEntry(kBalanceA, balanceANew), IntegerEntry(kBalanceB, balanceBNew), IntegerEntry(kShareAssetSupply, (shareAssetSupply - withdrawAmount)), IntegerEntry(kInvariant, invariantCalculated), Burn(shareAssetId, withdrawAmount), ScriptTransfer(i.caller, amountToPay, fromBase58String(withdrawAsset)), ScriptTransfer(moneyBoxAddress, govReward, fromBase58String(withdrawAsset))]
774774 else throw("Strict value is not equal to itself.")
775775 }
776776 }
777777 else throw("Strict value is not equal to itself.")
778778 }
779779 }))
780780
781781
782782
783783 @Callable(i)
784784 func exchange (estimatedAmountToReceive,minAmountToReceive) = valueOrElse(isActive(), valueOrElse(isDepricated(), {
785785 let $t03101931094 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
786786 let pmtAmount = $t03101931094._1
787787 let pmtAssetId = $t03101931094._2
788788 if ((0 >= estimatedAmountToReceive))
789789 then throw(("Estimated amount must be positive. Actual: " + toString(estimatedAmountToReceive)))
790790 else if ((minAmountToReceive > estimatedAmountToReceive))
791791 then throw("Minimal amount can't be greater than estimated.")
792792 else if ((size(i.payments) != 1))
793793 then throwOnePayment()
794794 else if (!(hasEnoughBalance))
795795 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
796796 else if (if ((pmtAssetId != assetIdA))
797797 then (pmtAssetId != assetIdB)
798798 else false)
799799 then throwAssets()
800800 else if ((10000000 > pmtAmount))
801801 then throw("Only swap of 10.000000 or more tokens is allowed")
802802 else if (if ((exchangeRatioLimitMin > fraction(scale8, minAmountToReceive, pmtAmount)))
803803 then true
804804 else (fraction(scale8, estimatedAmountToReceive, pmtAmount) > exchangeRatioLimitMax))
805805 then throw("Incorrect args and pmt ratio")
806806 else {
807807 let sendAssetId = if ((pmtAssetId == assetIdA))
808808 then assetIdB
809809 else assetIdA
810810 let amount = calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, pmtAmount, pmtAssetId, balanceA, balanceB, invariant)
811811 let feeDiscount = calculateFeeDiscount(i.originCaller)
812812 let governanceReward = fraction(amount, fraction(feeGovernance, feeDiscount, feeScale6, CEILING), feeScale6)
813813 let amountMinusFee = fraction(amount, (feeScale6 - fraction(fee, feeDiscount, feeScale6, CEILING)), feeScale6)
814814 let $t03269032968 = if ((pmtAssetId == assetIdA))
815815 then $Tuple2((balanceA + pmtAmount), ((balanceB - amountMinusFee) - governanceReward))
816816 else $Tuple2(((balanceA - amountMinusFee) - governanceReward), (balanceB + pmtAmount))
817817 let newBalanceA = $t03269032968._1
818818 let newBalanceB = $t03269032968._2
819819 if (!(checkDAppThreshold(newBalanceA, newBalanceB, pmtAssetId)))
820820 then throw()
821821 else {
822822 let $t03307433147 = getAssetInfo(pmtAssetId)
823823 let pmtStrAssetId = $t03307433147._1
824824 let pmtAssetName = $t03307433147._2
825825 let pmtDecimals = $t03307433147._3
826826 let $t03316033237 = getAssetInfo(sendAssetId)
827827 let sendStrAssetId = $t03316033237._1
828828 let sendAssetName = $t03316033237._2
829829 let sendDecimals = $t03316033237._3
830830 let stake1 = if (contains(stakingAssets, pmtStrAssetId))
831831 then invoke(this, "stakeUnstake", [true, pmtAmount, pmtStrAssetId], nil)
832832 else 0
833833 if ((stake1 == stake1))
834834 then {
835835 let stake2 = if (contains(stakingAssets, sendStrAssetId))
836836 then invoke(this, "stakeUnstake", [false, (amountMinusFee + governanceReward), sendStrAssetId], nil)
837837 else 0
838838 if ((stake2 == stake2))
839839 then $Tuple2([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kInvariant, invariantCalc(newBalanceA, newBalanceB)), ScriptTransfer(i.caller, amountMinusFee, sendAssetId), ScriptTransfer(moneyBoxAddress, governanceReward, sendAssetId)], [amountMinusFee, sendAssetId])
840840 else throw("Strict value is not equal to itself.")
841841 }
842842 else throw("Strict value is not equal to itself.")
843843 }
844844 }
845845 }))
846846
847847
848848
849849 @Callable(msg)
850850 func reissueShare (amount) = valueOrElse(isSelfCall(msg), [Reissue(shareAssetId, amount, true)])
851851
852852
853853
854854 @Callable(i)
855855 func shutdown () = valueOrElse(isAdminCall(i), if (!(active))
856856 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
857857 else suspend("Paused by admin"))
858858
859859
860860
861861 @Callable(i)
862862 func activate () = valueOrElse(isAdminCall(i), if (active)
863863 then throwIsActive()
864864 else [BooleanEntry(kActive, true), DeleteEntry(kCause)])
865865
866866
867867
868868 @Callable(i)
869869 func takeIntoAccountExtraFunds () = valueOrElse(isActive(), {
870870 let claim = if (if ((assetIdA == USDN))
871871 then true
872872 else (assetIdB == USDN))
873873 then invoke(stakingUSDNAddress, "claimRewards", nil, nil)
874874 else 0
875875 if ((claim == claim))
876876 then {
877877 let amountEnrollA = (accountBalanceWithStakedA - balanceA)
878878 let amountEnrollB = (accountBalanceWithStakedB - balanceB)
879879 let invariantNew = invariantCalc((balanceA + amountEnrollA), (balanceB + amountEnrollB))
880880 if ((i.caller != moneyBoxAddress))
881881 then throw("Only the money box can call this function")
882882 else if (if ((0 > amountEnrollA))
883883 then true
884884 else (0 > amountEnrollB))
885885 then suspend("Enroll amount negative")
886886 else if (if ((amountEnrollA == 0))
887887 then (amountEnrollB == 0)
888888 else false)
889889 then throw("No money to take")
890890 else {
891891 let stake1 = if (if (contains(stakingAssets, strAssetIdA))
892892 then (amountEnrollA > 0)
893893 else false)
894894 then invoke(this, "stakeUnstake", [true, amountEnrollA, strAssetIdA], nil)
895895 else 0
896896 if ((stake1 == stake1))
897897 then {
898898 let stake2 = if (if (contains(stakingAssets, strAssetIdB))
899899 then (amountEnrollB > 0)
900900 else false)
901901 then invoke(this, "stakeUnstake", [true, amountEnrollB, strAssetIdB], nil)
902902 else 0
903903 if ((stake2 == stake2))
904904 then [IntegerEntry(kInvariant, invariantNew), IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB))]
905905 else throw("Strict value is not equal to itself.")
906906 }
907907 else throw("Strict value is not equal to itself.")
908908 }
909909 }
910910 else throw("Strict value is not equal to itself.")
911911 })
912912
913913
914914
915915 @Callable(i)
916916 func keepLimitForFirstHarvest (shareLimit) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), [IntegerEntry(kShareLimit, shareLimit)]))
917917
918918
919919
920920 @Callable(i)
921921 func stakeUnstake (stake,amount,assetIdString) = if ((i.caller != this))
922922 then throw("Only contract itself can invoke this function")
923923 else {
924924 let $t03688936992 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
925925 let call = $t03688936992._1
926926 let addr = $t03688936992._2
927927 let params = $t03688936992._3
928928 let payments = $t03688936992._4
929929 let inv = invoke(addr, call, params, payments)
930930 if ((inv == inv))
931931 then nil
932932 else throw("Strict value is not equal to itself.")
933933 }
934934
935935
936936
937937 @Callable(i)
938938 func replenishWithTwoTokens () = valueOrElse(isActive(), valueOrElse(isDepricated(), replenishWithTwoTokensCalc(i, false, 0)))
939939
940940
941941
942942 @Callable(i)
943943 func replenishWithOneToken (virtualSwapTokenPay,virtualSwapTokenGet) = valueOrElse(isActive(), valueOrElse(isDepricated(), replenishWithOneTokenCalc(i, virtualSwapTokenPay, virtualSwapTokenGet, false, 0)))
944944
945945
946946
947947 @Callable(i)
948948 func withdraw () = valueOrElse(isActive(), withdrawCalc(i, 0))
949949
950950
951951 @Verifier(tx)
952952 func verify () = {
953953 let multiSignedByAdmins = {
954954 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
955955 then 1
956956 else 0
957957 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
958958 then 1
959959 else 0
960960 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
961961 then 1
962962 else 0
963963 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
964964 }
965965 match tx {
966966 case inv: InvokeScriptTransaction =>
967967 let callTakeIntoAccount = if ((inv.dApp == this))
968968 then (inv.function == "takeIntoAccountExtraFunds")
969969 else false
970970 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
971971 then true
972972 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
973973 then true
974974 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
975975 then true
976976 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyInvoke)
977977 if (if (callTakeIntoAccount)
978978 then signedByAdmin
979979 else false)
980980 then true
981981 else multiSignedByAdmins
982982 case _ =>
983983 multiSignedByAdmins
984984 }
985985 }
986986

github/deemru/w8io/026f985 
86.75 ms