tx · 3RohkzdFAr8vMGFcNWgmXdQa4A8v3dQFsJqi1dSxVkir

3Mq63YubY7UKJEobhDuXfsnXaPDJZT1fDhx:  -0.01400000 Waves

2021.12.29 19:59 [1855777] smart account 3Mq63YubY7UKJEobhDuXfsnXaPDJZT1fDhx > SELF 0.00000000 Waves

{ "type": 13, "id": "3RohkzdFAr8vMGFcNWgmXdQa4A8v3dQFsJqi1dSxVkir", "fee": 1400000, "feeAssetId": null, "timestamp": 1640797230833, "version": 2, "chainId": 84, "sender": "3Mq63YubY7UKJEobhDuXfsnXaPDJZT1fDhx", "senderPublicKey": "HXfVyeXgXUtHD3uSP6yjsk6JQcTwmU9qQTvhXzFpPw2T", "proofs": [ "56mBWRkVWLErmQ9eEGG8391cFXtXVSz5PHDv5hCnkoi5riib33bwoZwAh15GrrwmjResY16zrxbgJkp94ThB4bRw", "5dq77WyyeSjtd8SKKT3oCU6V6DXKfRcX6yD5vCh136exf4mHKwfC2V38b17Vt17L4HRta265R64cz71c3heZZsNP" ], "script": "base64:AAIFAAAAAAAAADMIAhIDCgEEEgcKBQEBCAgEEgMKAQESAwoBARIAEgMKAQESABIAEgMKAQESBQoDBAEIEgAAAABYAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAC2tleUFzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAtrZXlBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAALa2V5QmFsYW5jZUECAAAAD0FfYXNzZXRfYmFsYW5jZQAAAAALa2V5QmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAAPa2V5QmFsYW5jZUluaXRBAgAAAAxBX2Fzc2V0X2luaXQAAAAAD2tleUJhbGFuY2VJbml0QgIAAAAMQl9hc3NldF9pbml0AAAAAA9rZXlTaGFyZUFzc2V0SWQCAAAADnNoYXJlX2Fzc2V0X2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bWVudHMAAAAAAAAAAAEHCQAAAAAAAAIICQABkQAAAAIIBQAAAANpbnYAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAUAAAAEVVNETgcEAAAADXNpZ25lZEJ5QWRtaW4DAwMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAxhZG1pblB1YktleTEGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMYWRtaW5QdWJLZXkyBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADGFkbWluUHViS2V5MwYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABJhZG1pblB1YktleVN0YWtpbmcDAwMDBQAAABNjYWxsVGFrZUludG9BY2NvdW50BgUAAAAPZXhjaGFuZ2VUb1dhdmVzBgUAAAAPZXhjaGFuZ2VUb05TQlRzBQAAAA1zaWduZWRCeUFkbWluBwYFAAAAE211bHRpU2lnbmVkQnlBZG1pbnMFAAAAE211bHRpU2lnbmVkQnlBZG1pbnO6pua+", "height": 1855777, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2VVe3JYquT2gW3tbyiMscaMkEbg4KAbn5P5aonaHxeAG Next: 9N9ZqKs5z1unpKR3LC1mX1czcDNU8jCeD4BAX568wHXn Diff:
OldNewDifferences
257257
258258 func calcStakingParams (stake,amount,assetId) = if (stake)
259259 then {
260- let $t069286994 = calcStakingFuncAndAddres(stake, assetId)
261- let call = $t069286994._1
262- let stakingAddr = $t069286994._2
260+ let $t069216987 = calcStakingFuncAndAddres(stake, assetId)
261+ let call = $t069216987._1
262+ let stakingAddr = $t069216987._2
263263 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
264264 }
265265 else {
266- let $t070807146 = calcStakingFuncAndAddres(stake, assetId)
267- let call = $t070807146._1
268- let stakingAddr = $t070807146._2
266+ let $t070737139 = calcStakingFuncAndAddres(stake, assetId)
267+ let call = $t070737139._1
268+ let stakingAddr = $t070737139._2
269269 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
270270 }
271+
272+
273+func calculateFees (pmtAmount,minAmountToReceive,tokenFrom,tokenTo) = {
274+ let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
275+ let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
276+ let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
277+ if ((minAmountToReceive > amountWithFee))
278+ then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
279+ else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
280+ }
271281
272282
273283 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(accountBalanceWithStakedA)) + " ") + assetNameA) + ", ") + toString(accountBalanceWithStakedB)) + " ") + assetNameB) + ". State: ") + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB))
280290
281291 @Callable(i)
282292 func init (firstHarvest) = {
283- let $t076627739 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
284- let pmtAmountA = $t076627739._1
285- let pmtAssetIdA = $t076627739._2
286- let $t077447821 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
287- let pmtAmountB = $t077447821._1
288- let pmtAssetIdB = $t077447821._2
289- let $t078267903 = getAssetInfo(pmtAssetIdA)
290- let pmtStrAssetIdA = $t078267903._1
291- let pmtAssetNameA = $t078267903._2
292- let pmtDecimalsA = $t078267903._3
293- let $t079087985 = getAssetInfo(pmtAssetIdB)
294- let pmtStrAssetIdB = $t079087985._1
295- let pmtAssetNameB = $t079087985._2
296- let pmtDecimalsB = $t079087985._3
293+ let $t083098386 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
294+ let pmtAmountA = $t083098386._1
295+ let pmtAssetIdA = $t083098386._2
296+ let $t083918468 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
297+ let pmtAmountB = $t083918468._1
298+ let pmtAssetIdB = $t083918468._2
299+ let $t084738550 = getAssetInfo(pmtAssetIdA)
300+ let pmtStrAssetIdA = $t084738550._1
301+ let pmtAssetNameA = $t084738550._2
302+ let pmtDecimalsA = $t084738550._3
303+ let $t085558632 = getAssetInfo(pmtAssetIdB)
304+ let pmtStrAssetIdB = $t085558632._1
305+ let pmtAssetNameB = $t085558632._2
306+ let pmtDecimalsB = $t085558632._3
297307 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
298308 then throw("Only admin can call this function")
299309 else if (isDefined(getBoolean(this, keyActive)))
335345
336346 @Callable(i)
337347 func initWithInitRatio (amtAssetA,amtAssetB,strAssetIdA,strAssetIdB,firstHarvest) = {
338- let $t01057410661 = getAssetInfoFromString(strAssetIdA)
339- let pmtStrAssetIdA = $t01057410661._1
340- let pmtAssetNameA = $t01057410661._2
341- let pmtDecimalsA = $t01057410661._3
342- let $t01066610753 = getAssetInfoFromString(strAssetIdB)
343- let pmtStrAssetIdB = $t01066610753._1
344- let pmtAssetNameB = $t01066610753._2
345- let pmtDecimalsB = $t01066610753._3
348+ let $t01122111308 = getAssetInfoFromString(strAssetIdA)
349+ let pmtStrAssetIdA = $t01122111308._1
350+ let pmtAssetNameA = $t01122111308._2
351+ let pmtDecimalsA = $t01122111308._3
352+ let $t01131311400 = getAssetInfoFromString(strAssetIdB)
353+ let pmtStrAssetIdB = $t01131311400._1
354+ let pmtAssetNameB = $t01131311400._2
355+ let pmtDecimalsB = $t01131311400._3
346356 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
347357 then throw("Only admin can call this function")
348358 else if (isDefined(getBoolean(this, keyActive)))
378388 let pmtAssetIdB = i.payments[1].assetId
379389 let pmtAmountA = i.payments[0].amount
380390 let pmtAmountB = i.payments[1].amount
381- let $t01322113298 = getAssetInfo(pmtAssetIdA)
382- let pmtStrAssetIdA = $t01322113298._1
383- let pmtAssetNameA = $t01322113298._2
384- let pmtDecimalsA = $t01322113298._3
385- let $t01330313380 = getAssetInfo(pmtAssetIdB)
386- let pmtStrAssetIdB = $t01330313380._1
387- let pmtAssetNameB = $t01330313380._2
388- let pmtDecimalsB = $t01330313380._3
391+ let $t01386813945 = getAssetInfo(pmtAssetIdA)
392+ let pmtStrAssetIdA = $t01386813945._1
393+ let pmtAssetNameA = $t01386813945._2
394+ let pmtDecimalsA = $t01386813945._3
395+ let $t01395014027 = getAssetInfo(pmtAssetIdB)
396+ let pmtStrAssetIdB = $t01395014027._1
397+ let pmtAssetNameB = $t01395014027._2
398+ let pmtDecimalsB = $t01395014027._3
389399 let inital = if (if ((balanceA == 0))
390400 then (balanceB == 0)
391401 else false)
437447
438448 @Callable(i)
439449 func withdraw () = valueOrElse(isActive(), {
440- let $t01614616221 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
441- let pmtAmount = $t01614616221._1
442- let pmtAssetId = $t01614616221._2
450+ let $t01679316868 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
451+ let pmtAmount = $t01679316868._1
452+ let pmtAssetId = $t01679316868._2
443453 let amountToPayA = fraction(pmtAmount, balanceA, shareAssetSupply)
444454 let amountToPayB = fraction(pmtAmount, balanceB, shareAssetSupply)
445455 if ((size(i.payments) != 1))
469479
470480 @Callable(i)
471481 func exchange (minAmountToReceive) = valueOrElse(isActive(), {
472- let $t01752717602 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
473- let pmtAmount = $t01752717602._1
474- let pmtAssetId = $t01752717602._2
475- func calculateFees (tokenFrom,tokenTo) = {
476- let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
477- let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
478- let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
479- if ((minAmountToReceive > amountWithFee))
480- then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
481- else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
482- }
483-
482+ let $t01817418249 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
483+ let pmtAmount = $t01817418249._1
484+ let pmtAssetId = $t01817418249._2
484485 if (if ((balanceA == 0))
485486 then true
486487 else (balanceB == 0))
494495 else if ((pmtAssetId == assetIdA))
495496 then {
496497 let assetIdSend = assetIdB
497- let $t01880018891 = calculateFees(balanceA, balanceB)
498- let amountWithoutFee = $t01880018891._1
499- let amountWithFee = $t01880018891._2
500- let governanceReward = $t01880018891._3
498+ let $t01880418926 = calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB)
499+ let amountWithoutFee = $t01880418926._1
500+ let amountWithFee = $t01880418926._2
501+ let governanceReward = $t01880418926._3
501502 let newBalanceA = (balanceA + pmtAmount)
502503 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
503504 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
517518 else if ((pmtAssetId == assetIdB))
518519 then {
519520 let assetIdSend = assetIdA
520- let $t01984619937 = calculateFees(balanceB, balanceA)
521- let amountWithoutFee = $t01984619937._1
522- let amountWithFee = $t01984619937._2
523- let governanceReward = $t01984619937._3
521+ let $t01988120003 = calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA)
522+ let amountWithoutFee = $t01988120003._1
523+ let amountWithFee = $t01988120003._2
524+ let governanceReward = $t01988120003._3
524525 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
525526 let newBalanceB = (balanceB + pmtAmount)
526527 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
625626 }
626627 }
627628 else {
628- let $t02408524188 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
629- let call = $t02408524188._1
630- let addr = $t02408524188._2
631- let params = $t02408524188._3
632- let payments = $t02408524188._4
629+ let $t02415124254 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
630+ let call = $t02415124254._1
631+ let addr = $t02415124254._2
632+ let params = $t02415124254._3
633+ let payments = $t02415124254._4
633634 let inv = invoke(addr, call, params, payments)
634635 if ((inv == inv))
635636 then nil
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let version = "1.0.0"
55
66 let keyVersion = "version"
77
88 let keyActive = "active"
99
1010 let keyAssetIdA = "A_asset_id"
1111
1212 let keyAssetIdB = "B_asset_id"
1313
1414 let keyBalanceA = "A_asset_balance"
1515
1616 let keyBalanceB = "B_asset_balance"
1717
1818 let keyBalanceInitA = "A_asset_init"
1919
2020 let keyBalanceInitB = "B_asset_init"
2121
2222 let keyShareAssetId = "share_asset_id"
2323
2424 let keyShareAssetSupply = "share_asset_supply"
2525
2626 let keyCommission = "commission"
2727
2828 let keyCommissionScaleDelimiter = "commission_scale_delimiter"
2929
3030 let keyCause = "shutdown_cause"
3131
3232 let keyFirstHarvest = "first_harvest"
3333
3434 let keyFirstHarvestHeight = "first_harvest_height"
3535
3636 let kShareLimit = "share_limit_on_first_harvest"
3737
3838 let kBasePeriod = "base_period"
3939
4040 let kPeriodLength = "period_length"
4141
4242 let kStartHeight = "start_height"
4343
4444 let kFirstHarvestHeight = "first_harvest_height"
4545
4646 let keyUSDNNSBTAddress = "staking_usdnnsbt_address"
4747
4848 let keyEURNAddress = "staking_eurn_address"
4949
5050 let keyLeasingPool = "leasing_address"
5151
5252 let keyLeasingAmount = "leasing_amount"
5353
5454 let keyLeasingId = "leasing_id"
5555
5656 let keyAdminPubKey1 = "admin_pub_1"
5757
5858 let keyAdminPubKey2 = "admin_pub_2"
5959
6060 let keyAdminPubKey3 = "admin_pub_3"
6161
6262 let oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
6363
6464 func getAdminPub (keyAdminPub) = match getString(oracle, keyAdminPub) {
6565 case string: String =>
6666 fromBase58String(string)
6767 case nothing =>
6868 throw("Admin public key is empty")
6969 }
7070
7171
7272 let adminPubKey1 = getAdminPub(keyAdminPubKey1)
7373
7474 let adminPubKey2 = getAdminPub(keyAdminPubKey2)
7575
7676 let adminPubKey3 = getAdminPub(keyAdminPubKey3)
7777
7878 let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
7979
8080 let adminPubKeyStaking = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
8181
8282 let walletAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
8383
8484 let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
8585
8686 let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
8787
8888 let NSBT = base58'36mg8NZTaFRDygiVwb8uBnLR51hetJruUCZcxhaVcHj9'
8989
9090 let SWOP = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
9191
9292 let EURN = base58'ECBCkHS68DckpBrzLeoRgYbFg7sCVqR176mPqbXsj9pA'
9393
9494 let stakingAssets = ["WAVES", toBase58String(USDN), toBase58String(NSBT), toBase58String(EURN)]
9595
9696 let stakingUSDNNSBTAddress = Address(fromBase58String(valueOrErrorMessage(getString(oracle, keyUSDNNSBTAddress), "no usdn staking address")))
9797
9898 let stakingEURNAddress = Address(fromBase58String(valueOrErrorMessage(getString(oracle, keyEURNAddress), "no usdn staking address")))
9999
100100 let USDNToWavesExchanger = Address(base58'3N8PGkzXhbtTvEwEQTtE2xiTJmsDEQ9XfoZ')
101101
102102 let USDNToNSBTExchanger = Address(base58'3MqW1t2cxdYy2emEMk3YtZkRwQPhHaTfWRe')
103103
104104 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
105105
106106 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
107107
108108 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
109109
110110 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
111111
112112 let active = getBooleanValue(this, keyActive)
113113
114114 let strAssetIdA = getStringValue(this, keyAssetIdA)
115115
116116 let strAssetIdB = getStringValue(this, keyAssetIdB)
117117
118118 let assetIdA = if ((strAssetIdA == "WAVES"))
119119 then unit
120120 else fromBase58String(strAssetIdA)
121121
122122 let assetIdB = if ((strAssetIdB == "WAVES"))
123123 then unit
124124 else fromBase58String(strAssetIdB)
125125
126126 let assetNameA = match assetIdA {
127127 case id: ByteVector =>
128128 value(assetInfo(id)).name
129129 case waves: Unit =>
130130 "WAVES"
131131 case _ =>
132132 throw("Match error")
133133 }
134134
135135 let assetNameB = match assetIdB {
136136 case id: ByteVector =>
137137 value(assetInfo(id)).name
138138 case waves: Unit =>
139139 "WAVES"
140140 case _ =>
141141 throw("Match error")
142142 }
143143
144144 let balanceA = getIntegerValue(this, keyBalanceA)
145145
146146 let balanceB = getIntegerValue(this, keyBalanceB)
147147
148148 let shareAssetId = fromBase58String(getStringValue(this, keyShareAssetId))
149149
150150 let shareAssetSupply = getIntegerValue(this, keyShareAssetSupply)
151151
152152 let commission = 3000
153153
154154 let commissionGovernance = 1200
155155
156156 let commissionScaleDelimiter = 1000000
157157
158158 let scaleValue3 = 1000
159159
160160 let scaleValue8 = 100000000
161161
162162 let slippageToleranceDelimiter = 1000
163163
164164 let scaleValue8Digits = 8
165165
166166 func accountBalance (assetId) = match assetId {
167167 case id: ByteVector =>
168168 assetBalance(this, id)
169169 case waves: Unit =>
170170 wavesBalance(this).available
171171 case _ =>
172172 throw("Match error")
173173 }
174174
175175
176176 func stakedAmount (assetId) = {
177177 let stakedAmountCalculated = match assetId {
178178 case aId: ByteVector =>
179179 if (if ((aId == USDN))
180180 then true
181181 else (aId == NSBT))
182182 then getInteger(stakingUSDNNSBTAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
183183 else if ((aId == EURN))
184184 then getInteger(stakingEURNAddress, ((("%s%s%s__stakingBalance__" + toBase58String(aId)) + "__") + toString(this)))
185185 else 0
186186 case _: Unit =>
187187 valueOrElse(getInteger(this, keyLeasingAmount), 0)
188188 case _ =>
189189 throw("Match error")
190190 }
191191 match stakedAmountCalculated {
192192 case i: Int =>
193193 i
194194 case _ =>
195195 0
196196 }
197197 }
198198
199199
200200 let stakedAmountA = stakedAmount(assetIdA)
201201
202202 let stakedAmountB = stakedAmount(assetIdB)
203203
204204 let assetInitA = getIntegerValue(this, keyBalanceInitA)
205205
206206 let assetInitB = getIntegerValue(this, keyBalanceInitB)
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 getAssetInfo (assetId) = match assetId {
221221 case id: ByteVector =>
222222 let stringId = toBase58String(id)
223223 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
224224 $Tuple3(stringId, info.name, info.decimals)
225225 case waves: Unit =>
226226 $Tuple3("WAVES", "WAVES", 8)
227227 case _ =>
228228 throw("Match error")
229229 }
230230
231231
232232 func getAssetInfoFromString (assetStr) = if ((assetStr == "WAVES"))
233233 then $Tuple3("WAVES", "WAVES", 8)
234234 else {
235235 let stringId = assetStr
236236 let id = fromBase58String(assetStr)
237237 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
238238 $Tuple3(stringId, info.name, info.decimals)
239239 }
240240
241241
242242 func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
243243
244244
245245 func calcStakingFuncAndAddres (stake,assetId) = if (stake)
246246 then if ((assetId == USDN))
247247 then $Tuple2("lockNeutrino", stakingUSDNNSBTAddress)
248248 else if ((assetId == NSBT))
249249 then $Tuple2("lockNsbt", stakingUSDNNSBTAddress)
250250 else $Tuple2("startStaking", stakingEURNAddress)
251251 else if ((assetId == USDN))
252252 then $Tuple2("unlockNeutrino", stakingUSDNNSBTAddress)
253253 else if ((assetId == NSBT))
254254 then $Tuple2("unlockNsbt", stakingUSDNNSBTAddress)
255255 else $Tuple2("stopStaking", stakingEURNAddress)
256256
257257
258258 func calcStakingParams (stake,amount,assetId) = if (stake)
259259 then {
260- let $t069286994 = calcStakingFuncAndAddres(stake, assetId)
261- let call = $t069286994._1
262- let stakingAddr = $t069286994._2
260+ let $t069216987 = calcStakingFuncAndAddres(stake, assetId)
261+ let call = $t069216987._1
262+ let stakingAddr = $t069216987._2
263263 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
264264 }
265265 else {
266- let $t070807146 = calcStakingFuncAndAddres(stake, assetId)
267- let call = $t070807146._1
268- let stakingAddr = $t070807146._2
266+ let $t070737139 = calcStakingFuncAndAddres(stake, assetId)
267+ let call = $t070737139._1
268+ let stakingAddr = $t070737139._2
269269 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
270270 }
271+
272+
273+func calculateFees (pmtAmount,minAmountToReceive,tokenFrom,tokenTo) = {
274+ let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
275+ let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
276+ let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
277+ if ((minAmountToReceive > amountWithFee))
278+ then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
279+ else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
280+ }
271281
272282
273283 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(accountBalanceWithStakedA)) + " ") + assetNameA) + ", ") + toString(accountBalanceWithStakedB)) + " ") + assetNameB) + ". State: ") + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB))
274284
275285
276286 func isActive () = if (active)
277287 then unit
278288 else throw("DApp is inactive at this moment")
279289
280290
281291 @Callable(i)
282292 func init (firstHarvest) = {
283- let $t076627739 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
284- let pmtAmountA = $t076627739._1
285- let pmtAssetIdA = $t076627739._2
286- let $t077447821 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
287- let pmtAmountB = $t077447821._1
288- let pmtAssetIdB = $t077447821._2
289- let $t078267903 = getAssetInfo(pmtAssetIdA)
290- let pmtStrAssetIdA = $t078267903._1
291- let pmtAssetNameA = $t078267903._2
292- let pmtDecimalsA = $t078267903._3
293- let $t079087985 = getAssetInfo(pmtAssetIdB)
294- let pmtStrAssetIdB = $t079087985._1
295- let pmtAssetNameB = $t079087985._2
296- let pmtDecimalsB = $t079087985._3
293+ let $t083098386 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
294+ let pmtAmountA = $t083098386._1
295+ let pmtAssetIdA = $t083098386._2
296+ let $t083918468 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
297+ let pmtAmountB = $t083918468._1
298+ let pmtAssetIdB = $t083918468._2
299+ let $t084738550 = getAssetInfo(pmtAssetIdA)
300+ let pmtStrAssetIdA = $t084738550._1
301+ let pmtAssetNameA = $t084738550._2
302+ let pmtDecimalsA = $t084738550._3
303+ let $t085558632 = getAssetInfo(pmtAssetIdB)
304+ let pmtStrAssetIdB = $t085558632._1
305+ let pmtAssetNameB = $t085558632._2
306+ let pmtDecimalsB = $t085558632._3
297307 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
298308 then throw("Only admin can call this function")
299309 else if (isDefined(getBoolean(this, keyActive)))
300310 then throw("DApp is already active")
301311 else if ((pmtAssetIdA == pmtAssetIdB))
302312 then throw("Assets must be different")
303313 else {
304314 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
305315 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
306316 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
307317 let arg1 = pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN)
308318 let arg2 = pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN)
309319 let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
310320 let shareInitialSupply = fraction(arg1, arg2, arg3)
311321 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
312322 let shareIssueId = calculateAssetId(shareIssue)
313323 let stake1 = if (containsElement(stakingAssets, pmtStrAssetIdA))
314324 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
315325 else 0
316326 if ((stake1 == stake1))
317327 then {
318328 let stake2 = if (containsElement(stakingAssets, pmtStrAssetIdB))
319329 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
320330 else 0
321331 if ((stake2 == stake2))
322332 then {
323333 let baseEntry = [StringEntry(keyVersion, version), BooleanEntry(keyActive, true), StringEntry(keyAssetIdA, pmtStrAssetIdA), StringEntry(keyAssetIdB, pmtStrAssetIdB), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyCommission, commission), IntegerEntry(keyCommissionScaleDelimiter, commissionScaleDelimiter), shareIssue, StringEntry(keyShareAssetId, toBase58String(shareIssueId)), IntegerEntry(keyShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
324334 if (firstHarvest)
325335 then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
326336 else baseEntry
327337 }
328338 else throw("Strict value is not equal to itself.")
329339 }
330340 else throw("Strict value is not equal to itself.")
331341 }
332342 }
333343
334344
335345
336346 @Callable(i)
337347 func initWithInitRatio (amtAssetA,amtAssetB,strAssetIdA,strAssetIdB,firstHarvest) = {
338- let $t01057410661 = getAssetInfoFromString(strAssetIdA)
339- let pmtStrAssetIdA = $t01057410661._1
340- let pmtAssetNameA = $t01057410661._2
341- let pmtDecimalsA = $t01057410661._3
342- let $t01066610753 = getAssetInfoFromString(strAssetIdB)
343- let pmtStrAssetIdB = $t01066610753._1
344- let pmtAssetNameB = $t01066610753._2
345- let pmtDecimalsB = $t01066610753._3
348+ let $t01122111308 = getAssetInfoFromString(strAssetIdA)
349+ let pmtStrAssetIdA = $t01122111308._1
350+ let pmtAssetNameA = $t01122111308._2
351+ let pmtDecimalsA = $t01122111308._3
352+ let $t01131311400 = getAssetInfoFromString(strAssetIdB)
353+ let pmtStrAssetIdB = $t01131311400._1
354+ let pmtAssetNameB = $t01131311400._2
355+ let pmtDecimalsB = $t01131311400._3
346356 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
347357 then throw("Only admin can call this function")
348358 else if (isDefined(getBoolean(this, keyActive)))
349359 then throw("DApp is already active")
350360 else if ((strAssetIdA == strAssetIdB))
351361 then throw("Assets must be different")
352362 else {
353363 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
354364 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
355365 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
356366 let shareInitialSupply = 0
357367 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
358368 let shareIssueId = calculateAssetId(shareIssue)
359369 let baseEntry = [StringEntry(keyVersion, version), BooleanEntry(keyActive, true), StringEntry(keyAssetIdA, pmtStrAssetIdA), StringEntry(keyAssetIdB, pmtStrAssetIdB), IntegerEntry(keyBalanceInitA, amtAssetA), IntegerEntry(keyBalanceInitB, amtAssetB), IntegerEntry(keyBalanceA, 0), IntegerEntry(keyBalanceB, 0), IntegerEntry(keyCommission, commission), IntegerEntry(keyCommissionScaleDelimiter, commissionScaleDelimiter), shareIssue, StringEntry(keyShareAssetId, toBase58String(shareIssueId)), IntegerEntry(keyShareAssetSupply, shareInitialSupply)]
360370 if (firstHarvest)
361371 then (baseEntry ++ [BooleanEntry(keyFirstHarvest, firstHarvest), IntegerEntry(keyFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
362372 else baseEntry
363373 }
364374 }
365375
366376
367377
368378 @Callable(i)
369379 func keepLimitForFirstHarvest (shareLimit) = valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStaking], i.callerPublicKey)))
370380 then throw("Only admin can call this function")
371381 else [IntegerEntry(kShareLimit, shareLimit)])
372382
373383
374384
375385 @Callable(i)
376386 func replenishWithTwoTokens (slippageTolerance) = valueOrElse(isActive(), {
377387 let pmtAssetIdA = i.payments[0].assetId
378388 let pmtAssetIdB = i.payments[1].assetId
379389 let pmtAmountA = i.payments[0].amount
380390 let pmtAmountB = i.payments[1].amount
381- let $t01322113298 = getAssetInfo(pmtAssetIdA)
382- let pmtStrAssetIdA = $t01322113298._1
383- let pmtAssetNameA = $t01322113298._2
384- let pmtDecimalsA = $t01322113298._3
385- let $t01330313380 = getAssetInfo(pmtAssetIdB)
386- let pmtStrAssetIdB = $t01330313380._1
387- let pmtAssetNameB = $t01330313380._2
388- let pmtDecimalsB = $t01330313380._3
391+ let $t01386813945 = getAssetInfo(pmtAssetIdA)
392+ let pmtStrAssetIdA = $t01386813945._1
393+ let pmtAssetNameA = $t01386813945._2
394+ let pmtDecimalsA = $t01386813945._3
395+ let $t01395014027 = getAssetInfo(pmtAssetIdB)
396+ let pmtStrAssetIdB = $t01395014027._1
397+ let pmtAssetNameB = $t01395014027._2
398+ let pmtDecimalsB = $t01395014027._3
389399 let inital = if (if ((balanceA == 0))
390400 then (balanceB == 0)
391401 else false)
392402 then true
393403 else false
394404 let tokenRatio = if (inital)
395405 then fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
396406 else fraction(fraction(balanceA, scaleValue8, pmtAmountA), scaleValue3, fraction(balanceB, scaleValue8, pmtAmountB))
397407 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
398408 let shareTokenToPayAmount = if (inital)
399409 then fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
400410 else fraction(min([fraction(pmtAmountA, scaleValue8, balanceA), fraction(pmtAmountB, scaleValue8, balanceB)]), shareAssetSupply, scaleValue8)
401411 if (if ((0 > slippageTolerance))
402412 then true
403413 else (slippageTolerance > slippageToleranceDelimiter))
404414 then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
405415 else if ((size(i.payments) != 2))
406416 then throw("Two attached assets expected")
407417 else if (if ((pmtAssetIdA != assetIdA))
408418 then true
409419 else (pmtAssetIdB != assetIdB))
410420 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
411421 else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
412422 then true
413423 else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
414424 then throw("Incorrect assets amount: amounts must have the contract ratio")
415425 else if ((shareTokenToPayAmount == 0))
416426 then throw("Too small amount to replenish")
417427 else if (!(hasEnoughBalance))
418428 then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
419429 else {
420430 let stake1 = if (containsElement(stakingAssets, pmtStrAssetIdA))
421431 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
422432 else 0
423433 if ((stake1 == stake1))
424434 then {
425435 let stake2 = if (containsElement(stakingAssets, pmtStrAssetIdB))
426436 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
427437 else 0
428438 if ((stake2 == stake2))
429439 then [Reissue(shareAssetId, shareTokenToPayAmount, true), IntegerEntry(keyBalanceA, pmtAmountA), IntegerEntry(keyBalanceB, pmtAmountB), IntegerEntry(keyShareAssetSupply, shareTokenToPayAmount), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
430440 else throw("Strict value is not equal to itself.")
431441 }
432442 else throw("Strict value is not equal to itself.")
433443 }
434444 })
435445
436446
437447
438448 @Callable(i)
439449 func withdraw () = valueOrElse(isActive(), {
440- let $t01614616221 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
441- let pmtAmount = $t01614616221._1
442- let pmtAssetId = $t01614616221._2
450+ let $t01679316868 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
451+ let pmtAmount = $t01679316868._1
452+ let pmtAssetId = $t01679316868._2
443453 let amountToPayA = fraction(pmtAmount, balanceA, shareAssetSupply)
444454 let amountToPayB = fraction(pmtAmount, balanceB, shareAssetSupply)
445455 if ((size(i.payments) != 1))
446456 then throw("One attached payment expected")
447457 else if ((pmtAssetId != shareAssetId))
448458 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
449459 else if (!(hasEnoughBalance))
450460 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
451461 else {
452462 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
453463 then invoke(this, "stakeUnstake", [false, amountToPayA, strAssetIdA], nil)
454464 else 0
455465 if ((stake1 == stake1))
456466 then {
457467 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
458468 then invoke(this, "stakeUnstake", [false, amountToPayB, strAssetIdB], nil)
459469 else 0
460470 if ((stake2 == stake2))
461471 then [IntegerEntry(keyBalanceA, (balanceA - amountToPayA)), IntegerEntry(keyBalanceB, (balanceB - amountToPayB)), IntegerEntry(keyShareAssetSupply, (shareAssetSupply - pmtAmount)), Burn(shareAssetId, pmtAmount), ScriptTransfer(i.caller, amountToPayA, assetIdA), ScriptTransfer(i.caller, amountToPayB, assetIdB)]
462472 else throw("Strict value is not equal to itself.")
463473 }
464474 else throw("Strict value is not equal to itself.")
465475 }
466476 })
467477
468478
469479
470480 @Callable(i)
471481 func exchange (minAmountToReceive) = valueOrElse(isActive(), {
472- let $t01752717602 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
473- let pmtAmount = $t01752717602._1
474- let pmtAssetId = $t01752717602._2
475- func calculateFees (tokenFrom,tokenTo) = {
476- let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
477- let amountWithFee = fraction(amountWithoutFee, (commissionScaleDelimiter - commission), commissionScaleDelimiter)
478- let governanceReward = fraction(amountWithoutFee, commissionGovernance, commissionScaleDelimiter)
479- if ((minAmountToReceive > amountWithFee))
480- then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
481- else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
482- }
483-
482+ let $t01817418249 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
483+ let pmtAmount = $t01817418249._1
484+ let pmtAssetId = $t01817418249._2
484485 if (if ((balanceA == 0))
485486 then true
486487 else (balanceB == 0))
487488 then throw("Can't exchange with zero balance")
488489 else if ((0 >= minAmountToReceive))
489490 then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
490491 else if ((size(i.payments) != 1))
491492 then throw("One attached payment expected")
492493 else if (!(hasEnoughBalance))
493494 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
494495 else if ((pmtAssetId == assetIdA))
495496 then {
496497 let assetIdSend = assetIdB
497- let $t01880018891 = calculateFees(balanceA, balanceB)
498- let amountWithoutFee = $t01880018891._1
499- let amountWithFee = $t01880018891._2
500- let governanceReward = $t01880018891._3
498+ let $t01880418926 = calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB)
499+ let amountWithoutFee = $t01880418926._1
500+ let amountWithFee = $t01880418926._2
501+ let governanceReward = $t01880418926._3
501502 let newBalanceA = (balanceA + pmtAmount)
502503 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
503504 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
504505 then invoke(this, "stakeUnstake", [true, pmtAmount, strAssetIdA], nil)
505506 else 0
506507 if ((stake1 == stake1))
507508 then {
508509 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
509510 then invoke(this, "stakeUnstake", [false, (amountWithFee + governanceReward), strAssetIdB], nil)
510511 else 0
511512 if ((stake2 == stake2))
512513 then [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
513514 else throw("Strict value is not equal to itself.")
514515 }
515516 else throw("Strict value is not equal to itself.")
516517 }
517518 else if ((pmtAssetId == assetIdB))
518519 then {
519520 let assetIdSend = assetIdA
520- let $t01984619937 = calculateFees(balanceB, balanceA)
521- let amountWithoutFee = $t01984619937._1
522- let amountWithFee = $t01984619937._2
523- let governanceReward = $t01984619937._3
521+ let $t01988120003 = calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA)
522+ let amountWithoutFee = $t01988120003._1
523+ let amountWithFee = $t01988120003._2
524+ let governanceReward = $t01988120003._3
524525 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
525526 let newBalanceB = (balanceB + pmtAmount)
526527 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
527528 then invoke(this, "stakeUnstake", [false, (amountWithFee + governanceReward), strAssetIdA], nil)
528529 else 0
529530 if ((stake1 == stake1))
530531 then {
531532 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
532533 then invoke(this, "stakeUnstake", [true, pmtAmount, strAssetIdB], nil)
533534 else 0
534535 if ((stake2 == stake2))
535536 then [IntegerEntry(keyBalanceA, newBalanceA), IntegerEntry(keyBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(walletAddress, governanceReward, assetIdSend)]
536537 else throw("Strict value is not equal to itself.")
537538 }
538539 else throw("Strict value is not equal to itself.")
539540 }
540541 else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
541542 })
542543
543544
544545
545546 @Callable(i)
546547 func shutdown () = if (!(active))
547548 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
548549 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
549550 then throw("Only admin can call this function")
550551 else suspend("Paused by admin")
551552
552553
553554
554555 @Callable(i)
555556 func activate () = valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
556557 then throw("Only admin can call this function")
557558 else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)])
558559
559560
560561
561562 @Callable(i)
562563 func takeIntoAccountExtraFunds (amountLeave) = valueOrElse(isActive(), {
563564 let uncountableAmountEnrollAssetA = (accountBalanceWithStakedA - balanceA)
564565 let uncountableAmountEnrollAssetB = (accountBalanceWithStakedB - balanceB)
565566 let amountEnrollA = (uncountableAmountEnrollAssetA - (if ((assetIdA == unit))
566567 then amountLeave
567568 else 0))
568569 let amountEnrollB = (uncountableAmountEnrollAssetB - (if ((assetIdB == unit))
569570 then amountLeave
570571 else 0))
571572 if ((i.caller != this))
572573 then throw("Only the DApp itself can call this function")
573574 else if ((0 > amountLeave))
574575 then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(amountLeave)))
575576 else if (if ((0 > uncountableAmountEnrollAssetA))
576577 then true
577578 else (0 > uncountableAmountEnrollAssetB))
578579 then suspend("Enroll amount negative")
579580 else if (if ((0 > amountEnrollA))
580581 then true
581582 else (0 > amountEnrollB))
582583 then throw("Too large amountLeave")
583584 else {
584585 let stake1 = if (if (containsElement(stakingAssets, strAssetIdA))
585586 then (amountEnrollA > 0)
586587 else false)
587588 then invoke(this, "stakeUnstake", [true, amountEnrollA, strAssetIdA], nil)
588589 else 0
589590 if ((stake1 == stake1))
590591 then {
591592 let stake2 = if (if (containsElement(stakingAssets, strAssetIdB))
592593 then (amountEnrollB > 0)
593594 else false)
594595 then invoke(this, "stakeUnstake", [true, amountEnrollB, strAssetIdB], nil)
595596 else 0
596597 if ((stake2 == stake2))
597598 then [IntegerEntry(keyBalanceA, (balanceA + amountEnrollA)), IntegerEntry(keyBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
598599 else throw("Strict value is not equal to itself.")
599600 }
600601 else throw("Strict value is not equal to itself.")
601602 }
602603 })
603604
604605
605606
606607 @Callable(i)
607608 func stakeUnstake (stake,amount,assetIdString) = if ((i.caller != this))
608609 then throw("Only contract itself can invoke this function")
609610 else if ((assetIdString == "WAVES"))
610611 then {
611612 let pool = addressFromStringValue(valueOrErrorMessage(getString(oracle, keyLeasingPool), "No leasing pool in oracle"))
612613 let leasingId = getBinary(this, keyLeasingId)
613614 let leasingAmount = valueOrElse(getInteger(this, keyLeasingAmount), 0)
614615 let newLeaseAmount = if (stake)
615616 then (leasingAmount + amount)
616617 else (leasingAmount - amount)
617618 let newLease = Lease(pool, newLeaseAmount)
618619 let newLeaseId = calculateLeaseId(newLease)
619620 let baseEtry = [newLease, BinaryEntry(keyLeasingId, newLeaseId), IntegerEntry(keyLeasingAmount, newLeaseAmount)]
620621 match leasingId {
621622 case lId: ByteVector =>
622623 ([LeaseCancel(lId)] ++ baseEtry)
623624 case _ =>
624625 baseEtry
625626 }
626627 }
627628 else {
628- let $t02408524188 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
629- let call = $t02408524188._1
630- let addr = $t02408524188._2
631- let params = $t02408524188._3
632- let payments = $t02408524188._4
629+ let $t02415124254 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
630+ let call = $t02415124254._1
631+ let addr = $t02415124254._2
632+ let params = $t02415124254._3
633+ let payments = $t02415124254._4
633634 let inv = invoke(addr, call, params, payments)
634635 if ((inv == inv))
635636 then nil
636637 else throw("Strict value is not equal to itself.")
637638 }
638639
639640
640641
641642 @Callable(i)
642643 func stakeAll () = valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
643644 then throw("Only admin can call this function")
644645 else {
645646 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
646647 then {
647648 let amountA = (balanceA - stakedAmountA)
648649 if ((amountA > 0))
649650 then invoke(this, "stakeUnstake", [true, amountA, strAssetIdA], nil)
650651 else 0
651652 }
652653 else 0
653654 if ((stake1 == stake1))
654655 then {
655656 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
656657 then {
657658 let amountB = (balanceB - stakedAmountB)
658659 if ((amountB > 0))
659660 then invoke(this, "stakeUnstake", [true, amountB, strAssetIdB], nil)
660661 else 0
661662 }
662663 else 0
663664 if ((stake2 == stake2))
664665 then nil
665666 else throw("Strict value is not equal to itself.")
666667 }
667668 else throw("Strict value is not equal to itself.")
668669 })
669670
670671
671672 @Verifier(tx)
672673 func verify () = {
673674 let multiSignedByAdmins = {
674675 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
675676 then 1
676677 else 0
677678 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
678679 then 1
679680 else 0
680681 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
681682 then 1
682683 else 0
683684 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
684685 }
685686 match tx {
686687 case inv: InvokeScriptTransaction =>
687688 let callTakeIntoAccount = if ((inv.dApp == this))
688689 then (inv.function == "takeIntoAccountExtraFunds")
689690 else false
690691 let exchangeToWaves = if (if (if ((inv.dApp == USDNToWavesExchanger))
691692 then (inv.function == "exchange")
692693 else false)
693694 then (assetIdA == USDN)
694695 else false)
695696 then true
696697 else if (if ((assetIdB == USDN))
697698 then (size(inv.payments) == 1)
698699 else false)
699700 then (inv.payments[0].assetId == USDN)
700701 else false
701702 let exchangeToNSBTs = if (if (if ((inv.dApp == USDNToNSBTExchanger))
702703 then (inv.function == "exchange")
703704 else false)
704705 then (assetIdA == NSBT)
705706 else false)
706707 then true
707708 else if (if ((assetIdB == NSBT))
708709 then (size(inv.payments) == 1)
709710 else false)
710711 then (inv.payments[0].assetId == USDN)
711712 else false
712713 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
713714 then true
714715 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
715716 then true
716717 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
717718 then true
718719 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyStaking)
719720 if (if (if (if (callTakeIntoAccount)
720721 then true
721722 else exchangeToWaves)
722723 then true
723724 else exchangeToNSBTs)
724725 then signedByAdmin
725726 else false)
726727 then true
727728 else multiSignedByAdmins
728729 case _ =>
729730 multiSignedByAdmins
730731 }
731732 }
732733

github/deemru/w8io/169f3d6 
98.50 ms