tx · FtxPsdRp8Xs4De2SaKZyzBtj6ZbVFQaZDqvbAz91H5KS

3MqpghDrn9X96AXTro1agBNF4bjPGjTFqQG:  -0.14000000 Waves

2022.06.02 14:51 [2078670] smart account 3MqpghDrn9X96AXTro1agBNF4bjPGjTFqQG > SELF 0.00000000 Waves

{ "type": 13, "id": "FtxPsdRp8Xs4De2SaKZyzBtj6ZbVFQaZDqvbAz91H5KS", "fee": 14000000, "feeAssetId": null, "timestamp": 1654170724062, "version": 2, "chainId": 84, "sender": "3MqpghDrn9X96AXTro1agBNF4bjPGjTFqQG", "senderPublicKey": "H7cLyENG3Lny5pE9EtuvpW7mUc8Ds92sQshADBVP4Zm6", "proofs": [ "54mq53RX3LJSfhw4Soeai5ohUvhNvgf3vGpVKmGad1C92WknBgLvs8HH3xxfUkpiASLJh7szSc2wWzjWKmeQJwWh", "3nowxYooHcKADg2LRnnjp1cCdtTgGREmnrBvmUQKMTnut6VtuFqBDsmy4VtZ6F7gn2HMDe3XbK6ZLZpyd2wKeg3x" ], "script": "base64:AAIFAAAAAAAAADAIAhIDCgEEEgcKBQEBCAgEEgMKAQESAwoBARIAEgMKAQESABIAEgASBQoDBAEIEgAAAABaAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAIa1ZlcnNpb24CAAAAB3ZlcnNpb24AAAAAB2tBY3RpdmUCAAAABmFjdGl2ZQAAAAAJa0Fzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAlrQXNzZXRJZEICAAAACkJfYXNzZXRfaWQAAAAACWtCYWxhbmNlQQIAAAAPQV9hc3NldF9iYWxhbmNlAAAAAAlrQmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAANa0JhbGFuY2VJbml0QQIAAAAMQV9hc3NldF9pbml0AAAAAA1rQmFsYW5jZUluaXRCAgAAAAxCX2Fzc2V0X2luaXQAAAAADWtTaGFyZUFzc2V0SWQCAAAADnNoYXJlX2Fzc2V0X2lkAAAAABFrU2hhcmVBc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BwBQAAAAR0aGlzCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAAGXRha2VJbnRvQWNjb3VudEV4dHJhRnVuZHMHBAAAAA1zaWduZWRCeUFkbWluAwMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMYWRtaW5QdWJLZXkxBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADGFkbWluUHViS2V5MgYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAxhZG1pblB1YktleTMGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAARYWRtaW5JbnZva2VQdWJLZXkDAwUAAAATY2FsbFRha2VJbnRvQWNjb3VudAUAAAANc2lnbmVkQnlBZG1pbgcGBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zgPebQQ==", "height": 2078670, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 41WgETWHJ9hiajecwrbZepWtyDHC9wR43QGUKzKCBxLi Next: none Diff:
OldNewDifferences
273273 if (if ((swopAmount >= parseIntValue(discountValues[0])))
274274 then (parseIntValue(discountValues[1]) > swopAmount)
275275 else false)
276- then (100 - parseIntValue(discounts[0]))
276+ then (feeScale6 - parseIntValue(discounts[0]))
277277 else if (if ((swopAmount >= parseIntValue(discountValues[1])))
278278 then (parseIntValue(discountValues[2]) > swopAmount)
279279 else false)
280- then (100 - parseIntValue(discounts[1]))
280+ then (feeScale6 - parseIntValue(discounts[1]))
281281 else if (if ((swopAmount >= parseIntValue(discountValues[2])))
282282 then (parseIntValue(discountValues[3]) > swopAmount)
283283 else false)
284- then (100 - parseIntValue(discounts[2]))
284+ then (feeScale6 - parseIntValue(discounts[2]))
285285 else if (if ((swopAmount >= parseIntValue(discountValues[3])))
286286 then (parseIntValue(discountValues[4]) > swopAmount)
287287 else false)
288- then (100 - parseIntValue(discounts[3]))
288+ then (feeScale6 - parseIntValue(discounts[3]))
289289 else if ((swopAmount >= parseIntValue(discountValues[4])))
290- then (100 - parseIntValue(discounts[4]))
291- else 100
290+ then (feeScale6 - parseIntValue(discounts[4]))
291+ else feeScale6
292292 }
293293
294294
295295 func calculateFees (pmtAmount,minAmountToReceive,tokenFrom,tokenTo,caller) = {
296296 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
297297 let feeDiscount = calculateFeeDiscount(caller)
298- let amountWithFee = fraction(amountWithoutFee, (feeScale6 - fraction(fee, feeDiscount, 100, CEILING)), feeScale6)
299- let governanceReward = fraction(amountWithoutFee, fraction(feeGovernance, feeDiscount, 100, CEILING), feeScale6)
298+ let amountWithFee = fraction(amountWithoutFee, (feeScale6 - fraction(fee, feeDiscount, feeScale6, CEILING)), feeScale6)
299+ let governanceReward = fraction(amountWithoutFee, fraction(feeGovernance, feeDiscount, feeScale6, CEILING), feeScale6)
300300 if ((minAmountToReceive > amountWithFee))
301301 then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
302302 else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
313313
314314 @Callable(i)
315315 func init (firstHarvest) = {
316- let $t087878864 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
317- let pmtAmountA = $t087878864._1
318- let pmtAssetIdA = $t087878864._2
319- let $t088698946 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
320- let pmtAmountB = $t088698946._1
321- let pmtAssetIdB = $t088698946._2
322- let $t089519028 = getAssetInfo(pmtAssetIdA)
323- let pmtStrAssetIdA = $t089519028._1
324- let pmtAssetNameA = $t089519028._2
325- let pmtDecimalsA = $t089519028._3
326- let $t090339110 = getAssetInfo(pmtAssetIdB)
327- let pmtStrAssetIdB = $t090339110._1
328- let pmtAssetNameB = $t090339110._2
329- let pmtDecimalsB = $t090339110._3
316+ let $t088358912 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
317+ let pmtAmountA = $t088358912._1
318+ let pmtAssetIdA = $t088358912._2
319+ let $t089178994 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
320+ let pmtAmountB = $t089178994._1
321+ let pmtAssetIdB = $t089178994._2
322+ let $t089999076 = getAssetInfo(pmtAssetIdA)
323+ let pmtStrAssetIdA = $t089999076._1
324+ let pmtAssetNameA = $t089999076._2
325+ let pmtDecimalsA = $t089999076._3
326+ let $t090819158 = getAssetInfo(pmtAssetIdB)
327+ let pmtStrAssetIdB = $t090819158._1
328+ let pmtAssetNameB = $t090819158._2
329+ let pmtDecimalsB = $t090819158._3
330330 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.callerPublicKey)))
331331 then throw("Only admin can call this function")
332332 else if (isDefined(getBoolean(this, kActive)))
368368
369369 @Callable(i)
370370 func initWithInitRatio (amtAssetA,amtAssetB,strAssetIdA,strAssetIdB,firstHarvest) = {
371- let $t01161511702 = getAssetInfoFromString(strAssetIdA)
372- let pmtStrAssetIdA = $t01161511702._1
373- let pmtAssetNameA = $t01161511702._2
374- let pmtDecimalsA = $t01161511702._3
375- let $t01170711794 = getAssetInfoFromString(strAssetIdB)
376- let pmtStrAssetIdB = $t01170711794._1
377- let pmtAssetNameB = $t01170711794._2
378- let pmtDecimalsB = $t01170711794._3
371+ let $t01166311750 = getAssetInfoFromString(strAssetIdA)
372+ let pmtStrAssetIdA = $t01166311750._1
373+ let pmtAssetNameA = $t01166311750._2
374+ let pmtDecimalsA = $t01166311750._3
375+ let $t01175511842 = getAssetInfoFromString(strAssetIdB)
376+ let pmtStrAssetIdB = $t01175511842._1
377+ let pmtAssetNameB = $t01175511842._2
378+ let pmtDecimalsB = $t01175511842._3
379379 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.callerPublicKey)))
380380 then throw("Only admin can call this function")
381381 else if (isDefined(getBoolean(this, kActive)))
411411 let pmtAssetIdB = i.payments[1].assetId
412412 let pmtAmountA = i.payments[0].amount
413413 let pmtAmountB = i.payments[1].amount
414- let $t01417314250 = getAssetInfo(pmtAssetIdA)
415- let pmtStrAssetIdA = $t01417314250._1
416- let pmtAssetNameA = $t01417314250._2
417- let pmtDecimalsA = $t01417314250._3
418- let $t01425514332 = getAssetInfo(pmtAssetIdB)
419- let pmtStrAssetIdB = $t01425514332._1
420- let pmtAssetNameB = $t01425514332._2
421- let pmtDecimalsB = $t01425514332._3
414+ let $t01422114298 = getAssetInfo(pmtAssetIdA)
415+ let pmtStrAssetIdA = $t01422114298._1
416+ let pmtAssetNameA = $t01422114298._2
417+ let pmtDecimalsA = $t01422114298._3
418+ let $t01430314380 = getAssetInfo(pmtAssetIdB)
419+ let pmtStrAssetIdB = $t01430314380._1
420+ let pmtAssetNameB = $t01430314380._2
421+ let pmtDecimalsB = $t01430314380._3
422422 let inital = if (if ((balanceA == 0))
423423 then (balanceB == 0)
424424 else false)
470470
471471 @Callable(i)
472472 func withdraw () = valueOrElse(isActive(), {
473- let $t01713217207 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
474- let pmtAmount = $t01713217207._1
475- let pmtAssetId = $t01713217207._2
473+ let $t01718017255 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
474+ let pmtAmount = $t01718017255._1
475+ let pmtAssetId = $t01718017255._2
476476 let amountToPayA = fraction(pmtAmount, balanceA, shareAssetSupply)
477477 let amountToPayB = fraction(pmtAmount, balanceB, shareAssetSupply)
478478 if ((size(i.payments) != 1))
502502
503503 @Callable(i)
504504 func exchange (minAmountToReceive) = valueOrElse(isActive(), {
505- let $t01850618581 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
506- let pmtAmount = $t01850618581._1
507- let pmtAssetId = $t01850618581._2
505+ let $t01855418629 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
506+ let pmtAmount = $t01855418629._1
507+ let pmtAssetId = $t01855418629._2
508508 if (if ((balanceA == 0))
509509 then true
510510 else (balanceB == 0))
518518 else if ((pmtAssetId == assetIdA))
519519 then {
520520 let assetIdSend = assetIdB
521- let $t01913219270 = calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB, i.originCaller)
522- let amountWithoutFee = $t01913219270._1
523- let amountWithFee = $t01913219270._2
524- let governanceReward = $t01913219270._3
521+ let $t01918019318 = calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB, i.originCaller)
522+ let amountWithoutFee = $t01918019318._1
523+ let amountWithFee = $t01918019318._2
524+ let governanceReward = $t01918019318._3
525525 let newBalanceA = (balanceA + pmtAmount)
526526 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
527527 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
541541 else if ((pmtAssetId == assetIdB))
542542 then {
543543 let assetIdSend = assetIdA
544- let $t02026220400 = calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA, i.originCaller)
545- let amountWithoutFee = $t02026220400._1
546- let amountWithFee = $t02026220400._2
547- let governanceReward = $t02026220400._3
544+ let $t02031020448 = calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA, i.originCaller)
545+ let amountWithoutFee = $t02031020448._1
546+ let amountWithFee = $t02031020448._2
547+ let governanceReward = $t02031020448._3
548548 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
549549 let newBalanceB = (balanceB + pmtAmount)
550550 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
639639 }
640640 }
641641 else {
642- let $t02415424257 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
643- let call = $t02415424257._1
644- let addr = $t02415424257._2
645- let params = $t02415424257._3
646- let payments = $t02415424257._4
642+ let $t02420224305 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
643+ let call = $t02420224305._1
644+ let addr = $t02420224305._2
645+ let params = $t02420224305._3
646+ let payments = $t02420224305._4
647647 let inv = invoke(addr, call, params, payments)
648648 if ((inv == inv))
649649 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 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 kBalanceInitA = "A_asset_init"
1919
2020 let kBalanceInitB = "B_asset_init"
2121
2222 let kShareAssetId = "share_asset_id"
2323
2424 let kShareAssetSupply = "share_asset_supply"
2525
2626 let kFee = "commission"
2727
2828 let kCause = "shutdown_cause"
2929
3030 let kFirstHarvest = "first_harvest"
3131
3232 let kFirstHarvestHeight = "first_harvest_height"
3333
3434 let kShareLimit = "share_limit_on_first_harvest"
3535
3636 let kBasePeriod = "base_period"
3737
3838 let kPeriodLength = "period_length"
3939
4040 let kStartHeight = "start_height"
4141
4242 let kUSDNAddress = "staking_usdnnsbt_address"
4343
4444 let kEURNAddress = "staking_eurn_address"
4545
4646 let kLeasingPool = "leasing_address"
4747
4848 let kLeasingAmount = "leasing_amount"
4949
5050 let kLeasingId = "leasing_id"
5151
5252 let kDiscounts = "discounts"
5353
5454 let kDiscountValues = "discount_values"
5555
5656 let kUserSwopInGov = "_SWOP_amount"
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 oracle = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9')
7171
7272 func getBase58FromOracle (key) = match getString(oracle, key) {
7373 case string: String =>
7474 fromBase58String(string)
7575 case nothing =>
7676 throw((key + "is empty"))
7777 }
7878
7979
8080 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
8181
8282 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
8383
8484 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
8585
8686 let adminInvokePubKey = getBase58FromOracle(kAdminInvokePubKey)
8787
8888 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
8989
9090 let govAddress = Address(getBase58FromOracle(kGovAddress))
9191
9292 let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
9393
9494 let USDN = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS'
9595
9696 let SWOP = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ'
9797
9898 let EURN = base58'ECBCkHS68DckpBrzLeoRgYbFg7sCVqR176mPqbXsj9pA'
9999
100100 let stakingAssets = ["WAVES", toBase58String(USDN), toBase58String(EURN)]
101101
102102 let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
103103
104104 let stakingEURNAddress = Address(getBase58FromOracle(kEURNAddress))
105105
106106 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
107107
108108 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
109109
110110 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
111111
112112 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
113113
114114 let active = getBooleanValue(this, kActive)
115115
116116 let strAssetIdA = getStringValue(this, kAssetIdA)
117117
118118 let strAssetIdB = getStringValue(this, kAssetIdB)
119119
120120 let assetIdA = if ((strAssetIdA == "WAVES"))
121121 then unit
122122 else fromBase58String(strAssetIdA)
123123
124124 let assetIdB = if ((strAssetIdB == "WAVES"))
125125 then unit
126126 else fromBase58String(strAssetIdB)
127127
128128 let assetNameA = match assetIdA {
129129 case id: ByteVector =>
130130 value(assetInfo(id)).name
131131 case waves: Unit =>
132132 "WAVES"
133133 case _ =>
134134 throw("Match error")
135135 }
136136
137137 let assetNameB = match assetIdB {
138138 case id: ByteVector =>
139139 value(assetInfo(id)).name
140140 case waves: Unit =>
141141 "WAVES"
142142 case _ =>
143143 throw("Match error")
144144 }
145145
146146 let balanceA = getIntegerValue(this, kBalanceA)
147147
148148 let balanceB = getIntegerValue(this, kBalanceB)
149149
150150 let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
151151
152152 let shareAssetSupply = getIntegerValue(this, kShareAssetSupply)
153153
154154 let fee = getIntegerValue(this, kFee)
155155
156156 let feeGovernance = fraction(fee, 40, 100)
157157
158158 let feeScale6 = 1000000
159159
160160 let scaleValue3 = 1000
161161
162162 let scaleValue8 = 100000000
163163
164164 let slippageToleranceDelimiter = 1000
165165
166166 let scaleValue8Digits = 8
167167
168168 func accountBalance (assetId) = match assetId {
169169 case id: ByteVector =>
170170 assetBalance(this, id)
171171 case waves: Unit =>
172172 wavesBalance(this).available
173173 case _ =>
174174 throw("Match error")
175175 }
176176
177177
178178 func stakedAmount (assetId) = {
179179 let stakedAmountCalculated = match assetId {
180180 case aId: ByteVector =>
181181 if ((aId == USDN))
182182 then getInteger(stakingUSDNAddress, ((("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, kLeasingAmount), 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, kBalanceInitA)
205205
206206 let assetInitB = getIntegerValue(this, kBalanceInitB)
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(kActive, false), StringEntry(kCause, cause)]
243243
244244
245245 func calcStakingFuncAndAddres (stake,assetId) = if (stake)
246246 then if ((assetId == USDN))
247247 then $Tuple2("lockNeutrino", stakingUSDNAddress)
248248 else $Tuple2("startStaking", stakingEURNAddress)
249249 else if ((assetId == USDN))
250250 then $Tuple2("unlockNeutrino", stakingUSDNAddress)
251251 else $Tuple2("stopStaking", stakingEURNAddress)
252252
253253
254254 func calcStakingParams (stake,amount,assetId) = if (stake)
255255 then {
256256 let $t062906356 = calcStakingFuncAndAddres(stake, assetId)
257257 let call = $t062906356._1
258258 let stakingAddr = $t062906356._2
259259 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
260260 }
261261 else {
262262 let $t064426508 = calcStakingFuncAndAddres(stake, assetId)
263263 let call = $t064426508._1
264264 let stakingAddr = $t064426508._2
265265 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
266266 }
267267
268268
269269 func calculateFeeDiscount (userAddr) = {
270270 let swopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserSwopInGov)), 0)
271271 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
272272 let discounts = split(getStringValue(oracle, kDiscounts), ",")
273273 if (if ((swopAmount >= parseIntValue(discountValues[0])))
274274 then (parseIntValue(discountValues[1]) > swopAmount)
275275 else false)
276- then (100 - parseIntValue(discounts[0]))
276+ then (feeScale6 - parseIntValue(discounts[0]))
277277 else if (if ((swopAmount >= parseIntValue(discountValues[1])))
278278 then (parseIntValue(discountValues[2]) > swopAmount)
279279 else false)
280- then (100 - parseIntValue(discounts[1]))
280+ then (feeScale6 - parseIntValue(discounts[1]))
281281 else if (if ((swopAmount >= parseIntValue(discountValues[2])))
282282 then (parseIntValue(discountValues[3]) > swopAmount)
283283 else false)
284- then (100 - parseIntValue(discounts[2]))
284+ then (feeScale6 - parseIntValue(discounts[2]))
285285 else if (if ((swopAmount >= parseIntValue(discountValues[3])))
286286 then (parseIntValue(discountValues[4]) > swopAmount)
287287 else false)
288- then (100 - parseIntValue(discounts[3]))
288+ then (feeScale6 - parseIntValue(discounts[3]))
289289 else if ((swopAmount >= parseIntValue(discountValues[4])))
290- then (100 - parseIntValue(discounts[4]))
291- else 100
290+ then (feeScale6 - parseIntValue(discounts[4]))
291+ else feeScale6
292292 }
293293
294294
295295 func calculateFees (pmtAmount,minAmountToReceive,tokenFrom,tokenTo,caller) = {
296296 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
297297 let feeDiscount = calculateFeeDiscount(caller)
298- let amountWithFee = fraction(amountWithoutFee, (feeScale6 - fraction(fee, feeDiscount, 100, CEILING)), feeScale6)
299- let governanceReward = fraction(amountWithoutFee, fraction(feeGovernance, feeDiscount, 100, CEILING), feeScale6)
298+ let amountWithFee = fraction(amountWithoutFee, (feeScale6 - fraction(fee, feeDiscount, feeScale6, CEILING)), feeScale6)
299+ let governanceReward = fraction(amountWithoutFee, fraction(feeGovernance, feeDiscount, feeScale6, CEILING), feeScale6)
300300 if ((minAmountToReceive > amountWithFee))
301301 then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
302302 else $Tuple3(amountWithoutFee, amountWithFee, governanceReward)
303303 }
304304
305305
306306 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(accountBalanceWithStakedA)) + " ") + assetNameA) + ", ") + toString(accountBalanceWithStakedB)) + " ") + assetNameB) + ". State: ") + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB))
307307
308308
309309 func isActive () = if (active)
310310 then unit
311311 else throw("DApp is inactive at this moment")
312312
313313
314314 @Callable(i)
315315 func init (firstHarvest) = {
316- let $t087878864 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
317- let pmtAmountA = $t087878864._1
318- let pmtAssetIdA = $t087878864._2
319- let $t088698946 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
320- let pmtAmountB = $t088698946._1
321- let pmtAssetIdB = $t088698946._2
322- let $t089519028 = getAssetInfo(pmtAssetIdA)
323- let pmtStrAssetIdA = $t089519028._1
324- let pmtAssetNameA = $t089519028._2
325- let pmtDecimalsA = $t089519028._3
326- let $t090339110 = getAssetInfo(pmtAssetIdB)
327- let pmtStrAssetIdB = $t090339110._1
328- let pmtAssetNameB = $t090339110._2
329- let pmtDecimalsB = $t090339110._3
316+ let $t088358912 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
317+ let pmtAmountA = $t088358912._1
318+ let pmtAssetIdA = $t088358912._2
319+ let $t089178994 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
320+ let pmtAmountB = $t089178994._1
321+ let pmtAssetIdB = $t089178994._2
322+ let $t089999076 = getAssetInfo(pmtAssetIdA)
323+ let pmtStrAssetIdA = $t089999076._1
324+ let pmtAssetNameA = $t089999076._2
325+ let pmtDecimalsA = $t089999076._3
326+ let $t090819158 = getAssetInfo(pmtAssetIdB)
327+ let pmtStrAssetIdB = $t090819158._1
328+ let pmtAssetNameB = $t090819158._2
329+ let pmtDecimalsB = $t090819158._3
330330 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.callerPublicKey)))
331331 then throw("Only admin can call this function")
332332 else if (isDefined(getBoolean(this, kActive)))
333333 then throw("DApp is already active")
334334 else if ((pmtAssetIdA == pmtAssetIdB))
335335 then throw("Assets must be different")
336336 else {
337337 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
338338 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
339339 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
340340 let arg1 = pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN)
341341 let arg2 = pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN)
342342 let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
343343 let shareInitialSupply = fraction(arg1, arg2, arg3)
344344 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
345345 let shareIssueId = calculateAssetId(shareIssue)
346346 let stake1 = if (containsElement(stakingAssets, pmtStrAssetIdA))
347347 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
348348 else 0
349349 if ((stake1 == stake1))
350350 then {
351351 let stake2 = if (containsElement(stakingAssets, pmtStrAssetIdB))
352352 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
353353 else 0
354354 if ((stake2 == stake2))
355355 then {
356356 let baseEntry = [StringEntry(kVersion, version), BooleanEntry(kActive, true), StringEntry(kAssetIdA, pmtStrAssetIdA), StringEntry(kAssetIdB, pmtStrAssetIdB), IntegerEntry(kBalanceA, pmtAmountA), IntegerEntry(kBalanceB, pmtAmountB), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_cpmm")), shareIssue, StringEntry(kShareAssetId, toBase58String(shareIssueId)), IntegerEntry(kShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
357357 if (firstHarvest)
358358 then (baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
359359 else baseEntry
360360 }
361361 else throw("Strict value is not equal to itself.")
362362 }
363363 else throw("Strict value is not equal to itself.")
364364 }
365365 }
366366
367367
368368
369369 @Callable(i)
370370 func initWithInitRatio (amtAssetA,amtAssetB,strAssetIdA,strAssetIdB,firstHarvest) = {
371- let $t01161511702 = getAssetInfoFromString(strAssetIdA)
372- let pmtStrAssetIdA = $t01161511702._1
373- let pmtAssetNameA = $t01161511702._2
374- let pmtDecimalsA = $t01161511702._3
375- let $t01170711794 = getAssetInfoFromString(strAssetIdB)
376- let pmtStrAssetIdB = $t01170711794._1
377- let pmtAssetNameB = $t01170711794._2
378- let pmtDecimalsB = $t01170711794._3
371+ let $t01166311750 = getAssetInfoFromString(strAssetIdA)
372+ let pmtStrAssetIdA = $t01166311750._1
373+ let pmtAssetNameA = $t01166311750._2
374+ let pmtDecimalsA = $t01166311750._3
375+ let $t01175511842 = getAssetInfoFromString(strAssetIdB)
376+ let pmtStrAssetIdB = $t01175511842._1
377+ let pmtAssetNameB = $t01175511842._2
378+ let pmtDecimalsB = $t01175511842._3
379379 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.callerPublicKey)))
380380 then throw("Only admin can call this function")
381381 else if (isDefined(getBoolean(this, kActive)))
382382 then throw("DApp is already active")
383383 else if ((strAssetIdA == strAssetIdB))
384384 then throw("Assets must be different")
385385 else {
386386 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
387387 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
388388 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
389389 let shareInitialSupply = 0
390390 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
391391 let shareIssueId = calculateAssetId(shareIssue)
392392 let baseEntry = [StringEntry(kVersion, version), BooleanEntry(kActive, true), StringEntry(kAssetIdA, pmtStrAssetIdA), StringEntry(kAssetIdB, pmtStrAssetIdB), IntegerEntry(kBalanceInitA, amtAssetA), IntegerEntry(kBalanceInitB, amtAssetB), IntegerEntry(kBalanceA, 0), IntegerEntry(kBalanceB, 0), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_cpmm")), shareIssue, StringEntry(kShareAssetId, toBase58String(shareIssueId)), IntegerEntry(kShareAssetSupply, shareInitialSupply)]
393393 if (firstHarvest)
394394 then (baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
395395 else baseEntry
396396 }
397397 }
398398
399399
400400
401401 @Callable(i)
402402 func keepLimitForFirstHarvest (shareLimit) = valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.callerPublicKey)))
403403 then throw("Only admin can call this function")
404404 else [IntegerEntry(kShareLimit, shareLimit)])
405405
406406
407407
408408 @Callable(i)
409409 func replenishWithTwoTokens (slippageTolerance) = valueOrElse(isActive(), {
410410 let pmtAssetIdA = i.payments[0].assetId
411411 let pmtAssetIdB = i.payments[1].assetId
412412 let pmtAmountA = i.payments[0].amount
413413 let pmtAmountB = i.payments[1].amount
414- let $t01417314250 = getAssetInfo(pmtAssetIdA)
415- let pmtStrAssetIdA = $t01417314250._1
416- let pmtAssetNameA = $t01417314250._2
417- let pmtDecimalsA = $t01417314250._3
418- let $t01425514332 = getAssetInfo(pmtAssetIdB)
419- let pmtStrAssetIdB = $t01425514332._1
420- let pmtAssetNameB = $t01425514332._2
421- let pmtDecimalsB = $t01425514332._3
414+ let $t01422114298 = getAssetInfo(pmtAssetIdA)
415+ let pmtStrAssetIdA = $t01422114298._1
416+ let pmtAssetNameA = $t01422114298._2
417+ let pmtDecimalsA = $t01422114298._3
418+ let $t01430314380 = getAssetInfo(pmtAssetIdB)
419+ let pmtStrAssetIdB = $t01430314380._1
420+ let pmtAssetNameB = $t01430314380._2
421+ let pmtDecimalsB = $t01430314380._3
422422 let inital = if (if ((balanceA == 0))
423423 then (balanceB == 0)
424424 else false)
425425 then true
426426 else false
427427 let tokenRatio = if (inital)
428428 then fraction(fraction(assetInitA, scaleValue8, pmtAmountA), scaleValue3, fraction(assetInitB, scaleValue8, pmtAmountB))
429429 else fraction(fraction(balanceA, scaleValue8, pmtAmountA), scaleValue3, fraction(balanceB, scaleValue8, pmtAmountB))
430430 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
431431 let shareTokenToPayAmount = if (inital)
432432 then fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
433433 else fraction(min([fraction(pmtAmountA, scaleValue8, balanceA), fraction(pmtAmountB, scaleValue8, balanceB)]), shareAssetSupply, scaleValue8)
434434 if (if ((0 > slippageTolerance))
435435 then true
436436 else (slippageTolerance > slippageToleranceDelimiter))
437437 then throw(((("Slippage tolerance must be between 0 and " + toString(slippageToleranceDelimiter)) + " inclusively. Actual: ") + toString(slippageTolerance)))
438438 else if ((size(i.payments) != 2))
439439 then throw("Two attached assets expected")
440440 else if (if ((pmtAssetIdA != assetIdA))
441441 then true
442442 else (pmtAssetIdB != assetIdB))
443443 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
444444 else if (if ((((scaleValue3 * (slippageToleranceDelimiter - slippageTolerance)) / slippageToleranceDelimiter) > tokenRatio))
445445 then true
446446 else (tokenRatio > ((scaleValue3 * (slippageToleranceDelimiter + slippageTolerance)) / slippageToleranceDelimiter)))
447447 then throw("Incorrect assets amount: amounts must have the contract ratio")
448448 else if ((shareTokenToPayAmount == 0))
449449 then throw("Too small amount to replenish")
450450 else if (!(hasEnoughBalance))
451451 then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
452452 else {
453453 let stake1 = if (containsElement(stakingAssets, pmtStrAssetIdA))
454454 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
455455 else 0
456456 if ((stake1 == stake1))
457457 then {
458458 let stake2 = if (containsElement(stakingAssets, pmtStrAssetIdB))
459459 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
460460 else 0
461461 if ((stake2 == stake2))
462462 then [Reissue(shareAssetId, shareTokenToPayAmount, true), IntegerEntry(kBalanceA, (balanceA + pmtAmountA)), IntegerEntry(kBalanceB, (balanceB + pmtAmountB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)]
463463 else throw("Strict value is not equal to itself.")
464464 }
465465 else throw("Strict value is not equal to itself.")
466466 }
467467 })
468468
469469
470470
471471 @Callable(i)
472472 func withdraw () = valueOrElse(isActive(), {
473- let $t01713217207 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
474- let pmtAmount = $t01713217207._1
475- let pmtAssetId = $t01713217207._2
473+ let $t01718017255 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
474+ let pmtAmount = $t01718017255._1
475+ let pmtAssetId = $t01718017255._2
476476 let amountToPayA = fraction(pmtAmount, balanceA, shareAssetSupply)
477477 let amountToPayB = fraction(pmtAmount, balanceB, shareAssetSupply)
478478 if ((size(i.payments) != 1))
479479 then throw("One attached payment expected")
480480 else if ((pmtAssetId != shareAssetId))
481481 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
482482 else if (!(hasEnoughBalance))
483483 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
484484 else {
485485 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
486486 then invoke(this, "stakeUnstake", [false, amountToPayA, strAssetIdA], nil)
487487 else 0
488488 if ((stake1 == stake1))
489489 then {
490490 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
491491 then invoke(this, "stakeUnstake", [false, amountToPayB, strAssetIdB], nil)
492492 else 0
493493 if ((stake2 == stake2))
494494 then [IntegerEntry(kBalanceA, (balanceA - amountToPayA)), IntegerEntry(kBalanceB, (balanceB - amountToPayB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply - pmtAmount)), Burn(shareAssetId, pmtAmount), ScriptTransfer(i.caller, amountToPayA, assetIdA), ScriptTransfer(i.caller, amountToPayB, assetIdB)]
495495 else throw("Strict value is not equal to itself.")
496496 }
497497 else throw("Strict value is not equal to itself.")
498498 }
499499 })
500500
501501
502502
503503 @Callable(i)
504504 func exchange (minAmountToReceive) = valueOrElse(isActive(), {
505- let $t01850618581 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
506- let pmtAmount = $t01850618581._1
507- let pmtAssetId = $t01850618581._2
505+ let $t01855418629 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
506+ let pmtAmount = $t01855418629._1
507+ let pmtAssetId = $t01855418629._2
508508 if (if ((balanceA == 0))
509509 then true
510510 else (balanceB == 0))
511511 then throw("Can't exchange with zero balance")
512512 else if ((0 >= minAmountToReceive))
513513 then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
514514 else if ((size(i.payments) != 1))
515515 then throw("One attached payment expected")
516516 else if (!(hasEnoughBalance))
517517 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
518518 else if ((pmtAssetId == assetIdA))
519519 then {
520520 let assetIdSend = assetIdB
521- let $t01913219270 = calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB, i.originCaller)
522- let amountWithoutFee = $t01913219270._1
523- let amountWithFee = $t01913219270._2
524- let governanceReward = $t01913219270._3
521+ let $t01918019318 = calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB, i.originCaller)
522+ let amountWithoutFee = $t01918019318._1
523+ let amountWithFee = $t01918019318._2
524+ let governanceReward = $t01918019318._3
525525 let newBalanceA = (balanceA + pmtAmount)
526526 let newBalanceB = ((balanceB - amountWithFee) - governanceReward)
527527 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
528528 then invoke(this, "stakeUnstake", [true, pmtAmount, strAssetIdA], nil)
529529 else 0
530530 if ((stake1 == stake1))
531531 then {
532532 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
533533 then invoke(this, "stakeUnstake", [false, (amountWithFee + governanceReward), strAssetIdB], nil)
534534 else 0
535535 if ((stake2 == stake2))
536536 then $Tuple2([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(moneyBoxAddress, governanceReward, assetIdSend)], $Tuple2(amountWithFee, assetIdSend))
537537 else throw("Strict value is not equal to itself.")
538538 }
539539 else throw("Strict value is not equal to itself.")
540540 }
541541 else if ((pmtAssetId == assetIdB))
542542 then {
543543 let assetIdSend = assetIdA
544- let $t02026220400 = calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA, i.originCaller)
545- let amountWithoutFee = $t02026220400._1
546- let amountWithFee = $t02026220400._2
547- let governanceReward = $t02026220400._3
544+ let $t02031020448 = calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA, i.originCaller)
545+ let amountWithoutFee = $t02031020448._1
546+ let amountWithFee = $t02031020448._2
547+ let governanceReward = $t02031020448._3
548548 let newBalanceA = ((balanceA - amountWithFee) - governanceReward)
549549 let newBalanceB = (balanceB + pmtAmount)
550550 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
551551 then invoke(this, "stakeUnstake", [false, (amountWithFee + governanceReward), strAssetIdA], nil)
552552 else 0
553553 if ((stake1 == stake1))
554554 then {
555555 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
556556 then invoke(this, "stakeUnstake", [true, pmtAmount, strAssetIdB], nil)
557557 else 0
558558 if ((stake2 == stake2))
559559 then $Tuple2([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), ScriptTransfer(i.caller, amountWithFee, assetIdSend), ScriptTransfer(moneyBoxAddress, governanceReward, assetIdSend)], $Tuple2(amountWithFee, assetIdSend))
560560 else throw("Strict value is not equal to itself.")
561561 }
562562 else throw("Strict value is not equal to itself.")
563563 }
564564 else throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
565565 })
566566
567567
568568
569569 @Callable(i)
570570 func shutdown () = if (!(active))
571571 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
572572 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)))
573573 then throw("Only admin can call this function")
574574 else suspend("Paused by admin")
575575
576576
577577
578578 @Callable(i)
579579 func activate () = if (active)
580580 then throw("DApp is already active")
581581 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)))
582582 then throw("Only admin can call this function")
583583 else [BooleanEntry(kActive, true), DeleteEntry(kCause)]
584584
585585
586586
587587 @Callable(i)
588588 func takeIntoAccountExtraFunds () = valueOrElse(isActive(), {
589589 let amountEnrollA = (accountBalanceWithStakedA - balanceA)
590590 let amountEnrollB = (accountBalanceWithStakedB - balanceB)
591591 if ((i.caller != moneyBoxAddress))
592592 then throw("Only the wallet can call this function")
593593 else if (if ((0 > amountEnrollA))
594594 then true
595595 else (0 > amountEnrollB))
596596 then suspend("Enroll amount negative")
597597 else if (if ((amountEnrollA == 0))
598598 then (amountEnrollB == 0)
599599 else false)
600600 then throw("No money to take")
601601 else {
602602 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
603603 then invoke(this, "stakeUnstake", [true, amountEnrollA, strAssetIdA], nil)
604604 else 0
605605 if ((stake1 == stake1))
606606 then {
607607 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
608608 then invoke(this, "stakeUnstake", [true, amountEnrollB, strAssetIdB], nil)
609609 else 0
610610 if ((stake2 == stake2))
611611 then [IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB)), IntegerEntry(("last_income_" + strAssetIdA), amountEnrollA), IntegerEntry(("last_income_" + strAssetIdB), amountEnrollB)]
612612 else throw("Strict value is not equal to itself.")
613613 }
614614 else throw("Strict value is not equal to itself.")
615615 }
616616 })
617617
618618
619619
620620 @Callable(i)
621621 func stakeUnstake (stake,amount,assetIdString) = if ((i.caller != this))
622622 then throw("Only contract itself can invoke this function")
623623 else if ((assetIdString == "WAVES"))
624624 then {
625625 let pool = addressFromStringValue(valueOrErrorMessage(getString(oracle, kLeasingPool), "No leasing pool in oracle"))
626626 let leasingId = getBinary(this, kLeasingId)
627627 let leasingAmount = valueOrElse(getInteger(this, kLeasingAmount), 0)
628628 let newLeaseAmount = if (stake)
629629 then (leasingAmount + amount)
630630 else (leasingAmount - amount)
631631 let newLease = Lease(pool, newLeaseAmount)
632632 let newLeaseId = calculateLeaseId(newLease)
633633 let baseEtry = [newLease, BinaryEntry(kLeasingId, newLeaseId), IntegerEntry(kLeasingAmount, newLeaseAmount)]
634634 match leasingId {
635635 case lId: ByteVector =>
636636 ([LeaseCancel(lId)] ++ baseEtry)
637637 case _ =>
638638 baseEtry
639639 }
640640 }
641641 else {
642- let $t02415424257 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
643- let call = $t02415424257._1
644- let addr = $t02415424257._2
645- let params = $t02415424257._3
646- let payments = $t02415424257._4
642+ let $t02420224305 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
643+ let call = $t02420224305._1
644+ let addr = $t02420224305._2
645+ let params = $t02420224305._3
646+ let payments = $t02420224305._4
647647 let inv = invoke(addr, call, params, payments)
648648 if ((inv == inv))
649649 then nil
650650 else throw("Strict value is not equal to itself.")
651651 }
652652
653653
654654
655655 @Callable(i)
656656 func stakeAll () = valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)))
657657 then throw("Only admin can call this function")
658658 else {
659659 let stake1 = if (containsElement(stakingAssets, strAssetIdA))
660660 then {
661661 let amountA = (balanceA - stakedAmountA)
662662 if ((amountA > 0))
663663 then invoke(this, "stakeUnstake", [true, amountA, strAssetIdA], nil)
664664 else 0
665665 }
666666 else 0
667667 if ((stake1 == stake1))
668668 then {
669669 let stake2 = if (containsElement(stakingAssets, strAssetIdB))
670670 then {
671671 let amountB = (balanceB - stakedAmountB)
672672 if ((amountB > 0))
673673 then invoke(this, "stakeUnstake", [true, amountB, strAssetIdB], nil)
674674 else 0
675675 }
676676 else 0
677677 if ((stake2 == stake2))
678678 then nil
679679 else throw("Strict value is not equal to itself.")
680680 }
681681 else throw("Strict value is not equal to itself.")
682682 })
683683
684684
685685 @Verifier(tx)
686686 func verify () = {
687687 let multiSignedByAdmins = {
688688 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
689689 then 1
690690 else 0
691691 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
692692 then 1
693693 else 0
694694 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
695695 then 1
696696 else 0
697697 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
698698 }
699699 match tx {
700700 case inv: InvokeScriptTransaction =>
701701 let callTakeIntoAccount = if ((inv.dApp == this))
702702 then (inv.function == "takeIntoAccountExtraFunds")
703703 else false
704704 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
705705 then true
706706 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
707707 then true
708708 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
709709 then true
710710 else sigVerify(tx.bodyBytes, tx.proofs[0], adminInvokePubKey)
711711 if (if (callTakeIntoAccount)
712712 then signedByAdmin
713713 else false)
714714 then true
715715 else multiSignedByAdmins
716716 case _ =>
717717 multiSignedByAdmins
718718 }
719719 }
720720

github/deemru/w8io/026f985 
92.42 ms