tx · Dp3ZrvmGenWXb9isLsWpWbas4K25dEpJJxpxuy6aHxDL

3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK:  -0.04100000 Waves

2023.03.17 17:08 [2494094] smart account 3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK > SELF 0.00000000 Waves

{ "type": 13, "id": "Dp3ZrvmGenWXb9isLsWpWbas4K25dEpJJxpxuy6aHxDL", "fee": 4100000, "feeAssetId": null, "timestamp": 1679062163168, "version": 2, "chainId": 84, "sender": "3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK", "senderPublicKey": "FFdBua5rzzMkZebvsvmN7sAdU7XhFK8QNJ3hiwwxAYRA", "proofs": [ "5x484RUHyaT8NCNneCT9UMbpn2VT7R28QXc1Msa6JAqohcYoQ2wGwuKGhmNHBJ64vr8cryL2sxi7pg98pE3ivXeP", "488gfTp3p79vA5B6iQHmznhKDaXcSWP9ngmbUqP4cEr7RQrD9VUPZz1YKYYxyPb44JJSonjsuX5gMvxDsUdnxab2" ], "script": "base64:BgJiCAISAwoBCBIDCgEIEgMKAQgSBAoCCAESBQoDAggBEgUKAwgBARIECgIICBIECgIICBIECgIIARIFCgMCCAESAwoBCBIECgIIAhIDCgEIEgMKARgSAwoBGBIECgIICBIAEgBkAAdrQWN0aXZlAgZhY3RpdmUAC2tBY3RpdmVHbG9iAhRhY3RpdmVfYWxsX2NvbnRyYWN0cwAPa0RlcHJlY2F0ZWRQb29sAgtkZXByZWNhdGVkXwAGa0NhdXNlAg5zaHV0ZG93bl9jYXVzZQAaa1Jld2FyZFBvb2xGcmFjdGlvbkN1cnJlbnQCHV9jdXJyZW50X3Bvb2xfZnJhY3Rpb25fcmV3YXJkABtrUmV3YXJkUG9vbEZyYWN0aW9uUHJldmlvdXMCHl9wcmV2aW91c19wb29sX2ZyYWN0aW9uX3Jld2FyZAATa0hlaWdodFBvb2xGcmFjdGlvbgIaX3Bvb2xfcmV3YXJkX3VwZGF0ZV9oZWlnaHQA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MlNpZ25lZAUSYWRtaW5QdWJLZXkzU2lnbmVkAAKgy/bc", "height": 2494094, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: APS9CBryVDiQcjrQYu2gCksDfbCLLVSrVsiuDioDZtij Next: HRDFC4ah94Ar9JCX9iHWRotevaExRvf4mS7aoPaWMraD Diff:
OldNewDifferences
622622 then throw("Only Governance can call this function")
623623 else {
624624 let user = toString(addressFromPublicKey(adminInvokePubKey))
625- let $t02986929943 = claimCalc(pool, user)
626- let farmInterest = $t02986929943._1
627- let boostInterest = $t02986929943._2
628- let boostLPinterest = $t02986929943._3
625+ let $t02986829942 = claimCalc(pool, user)
626+ let farmInterest = $t02986829942._1
627+ let boostInterest = $t02986829942._2
628+ let boostLPinterest = $t02986829942._3
629629 [IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kLastInterestHeight), height)]
630630 })
631631
652652 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
653653 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
654654 let totalUserShareTokens = (userStakedAmount + userLockedAmount)
655- let $t03157231624 = getLockParams(lockType)
656- let lockPeriod = $t03157231624._1
657- let lockCoef = $t03157231624._2
655+ let $t03157131623 = getLockParams(lockType)
656+ let lockPeriod = $t03157131623._1
657+ let lockCoef = $t03157131623._2
658658 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
659659 if ((getHeightFirstHarvest(pool) > height))
660660 then throw("You can't lock shareTokens till first harvest end.")
685685 let userStakedAmountNew = (userStakedAmount - lockAmount)
686686 let userLockedHeigtNew = (height + lockPeriod)
687687 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmountNew)
688- let $t03297033064 = claimCalc(pool, user)
689- let farmInterest = $t03297033064._1
690- let boostInterest = $t03297033064._2
691- let claimAmount = $t03297033064._3
692- let toTreasure = $t03297033064._4
693- let teamReward = $t03297033064._5
688+ let $t03296933063 = claimCalc(pool, user)
689+ let farmInterest = $t03296933063._1
690+ let boostInterest = $t03296933063._2
691+ let claimAmount = $t03296933063._3
692+ let toTreasure = $t03296933063._4
693+ let teamReward = $t03296933063._5
694694 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
695695 [IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), userStakedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLocked), userLockedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedHeight), userLockedHeigtNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedType), lockType), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userAmountVirtualNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual - userAmountVirtual) + userAmountVirtualNew)), IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, (toTreasure + teamReward), true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(teamBoxAddress, teamReward, SWOP)]
696696 }
843843 func updateUserBoostInterest (pool,user) = valueOrElse(isActive(), if ((i.caller != votingAddress))
844844 then throw("Only voiting can call this function")
845845 else {
846- let $t03788837982 = claimCalc(pool, user)
847- let farmInterest = $t03788837982._1
848- let boostInterest = $t03788837982._2
849- let claimAmount = $t03788837982._3
850- let toTreasure = $t03788837982._4
851- let teamReward = $t03788837982._5
846+ let $t03788737981 = claimCalc(pool, user)
847+ let farmInterest = $t03788737981._1
848+ let boostInterest = $t03788737981._2
849+ let claimAmount = $t03788737981._3
850+ let toTreasure = $t03788737981._4
851+ let teamReward = $t03788737981._5
852852 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
853853 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, (toTreasure + teamReward), true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(teamBoxAddress, teamReward, SWOP)]
854854 })
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let kActive = "active"
55
66 let kActiveGlob = "active_all_contracts"
77
88 let kDeprecatedPool = "deprecated_"
99
1010 let kCause = "shutdown_cause"
1111
1212 let kRewardPoolFractionCurrent = "_current_pool_fraction_reward"
1313
1414 let kRewardPoolFractionPrevious = "_previous_pool_fraction_reward"
1515
1616 let kHeightPoolFraction = "_pool_reward_update_height"
1717
1818 let kRewardUpdateHeight = "reward_update_height"
1919
2020 let kUserShareTokensStaked = "_share_tokens_locked"
2121
2222 let kUserShareTokensLocked = "_share_tokens_blocked"
2323
2424 let kUserShareTokensLockedType = "_share_tokens_blocked_type"
2525
2626 let kUserShareTokensLockedHeight = "_share_tokens_blocked_height"
2727
2828 let kUserShareTokensVirtual = "_share_tokens_virtual"
2929
3030 let kShareTotalShareTokens = "_total_share_tokens_locked"
3131
3232 let kShareTokensVirtual = "_total_share_tokens_virtual"
3333
3434 let kLockParams = "_lock_params"
3535
3636 let kLockWavesFee = "lock_waves_fee"
3737
3838 let kPoolBoostCoef = "_boost_coef"
3939
4040 let kFarmLastInterest = "_last_interest"
4141
4242 let kFarmUserLastInterest = "_last_interest"
4343
4444 let kBoostLastInterest = "_last_interest_b"
4545
4646 let kBoostUserLastInterest = "_last_interest_u_b"
4747
4848 let kLastInterestHeight = "_last_interest_height"
4949
5050 let kSWOPid = "SWOP_id"
5151
5252 let kAvailableSWOP = "_available_SWOP"
5353
5454 let kHarvestPoolVote = "_harvest_pool_vote_gSWOP"
5555
5656 let kPoolVote = "_pool_vote_gSWOP"
5757
5858 let kUserPoolVote = "_user_vote_gSWOP"
5959
6060 let kPoolStruc = "_pool_struc"
6161
6262 let kUserPoolStruc = "_user_pool_struc"
6363
6464 let kHarvestUserPoolVote = "_harvest_user_pool_vote_gSWOP"
6565
6666 let kFirstHarvestHeight = "first_harvest_height"
6767
6868 let kShareLimitFH = "share_limit_on_first_harvest"
6969
7070 let kStratBFarmInterest = "_strat_b_farm_interest"
7171
7272 let kCpmmContract = "cpmm_contract"
7373
7474 let kAdminPubKey1 = "admin_pub_1"
7575
7676 let kAdminPubKey2 = "admin_pub_2"
7777
7878 let kAdminPubKey3 = "admin_pub_3"
7979
8080 let kAdminInvokePubKey = "admin_invoke_pub"
8181
8282 let kMoneyBoxAddress = "money_box_address"
8383
8484 let kTeamBoxAddress = "team_box_address"
8585
8686 let kVotingAddress = "voting_address"
8787
8888 let kGovAddress = "governance_address"
8989
9090 let kLPFarmingAddress = "lp_farming"
9191
9292 let kFarmingTreasureAddr = "farming_treasure"
9393
9494 let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
9595
9696 let totalVoteShare = 10000000000
9797
9898 let scaleValue8 = 100000000
9999
100100 let scaleValue6 = 1000000
101101
102102 let lockBoostCoefScale = 1000
103103
104104 let defPoolBoostCoef = 500
105105
106106 let startEmissionH = 2976848
107107
108108 let swopYearEmission = 100000000000000
109109
110110 let blocksPerYear = 526330
111111
112112 let teamFee = 25
113113
114114 func getBase58FromOracle (key) = match getString(oracle, key) {
115115 case string: String =>
116116 fromBase58String(string)
117117 case nothing =>
118118 throw((key + "is empty"))
119119 }
120120
121121
122122 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
123123
124124 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
125125
126126 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
127127
128128 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
129129
130130 let teamBoxAddress = Address(getBase58FromOracle(kTeamBoxAddress))
131131
132132 let votingAddress = Address(getBase58FromOracle(kVotingAddress))
133133
134134 let govAddress = Address(getBase58FromOracle(kGovAddress))
135135
136136 let adminInvokePubKey = getBase58FromOracle(kAdminInvokePubKey)
137137
138138 let lpFarmingAddress = Address(getBase58FromOracle(kLPFarmingAddress))
139139
140140 let farmingTreasureAddr = Address(getBase58FromOracle(kFarmingTreasureAddr))
141141
142142 let cpmmContract = Address(getBase58FromOracle(kCpmmContract))
143143
144144 let active = getBooleanValue(this, kActive)
145145
146146 let activeGlob = valueOrElse(getBoolean(oracle, kActiveGlob), true)
147147
148148 let SWOP = fromBase58String(getStringValue(this, kSWOPid))
149149
150150 func getRewardsPerBlockInfo () = {
151151 let emissionPeriods = ((height - startEmissionH) / blocksPerYear)
152152 func calcEmission (acc,i) = {
153153 let $t049284965 = acc
154154 let curEmission = $t049284965._1
155155 let prevEmission = $t049284965._2
156156 if ((emissionPeriods > i))
157157 then $Tuple2(fraction(curEmission, 75, 100), curEmission)
158158 else $Tuple2(curEmission, prevEmission)
159159 }
160160
161161 let $t051235289 = {
162162 let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
163163 let $s = size($l)
164164 let $acc0 = $Tuple2(swopYearEmission, swopYearEmission)
165165 func $f0_1 ($a,$i) = if (($i >= $s))
166166 then $a
167167 else calcEmission($a, $l[$i])
168168
169169 func $f0_2 ($a,$i) = if (($i >= $s))
170170 then $a
171171 else throw("List size exceeds 20")
172172
173173 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
174174 }
175175 let curEmission = $t051235289._1
176176 let prevEmission = $t051235289._2
177177 $Tuple3((curEmission / blocksPerYear), (prevEmission / blocksPerYear), (startEmissionH + (blocksPerYear * emissionPeriods)))
178178 }
179179
180180
181181 func getHeightFirstHarvest (pool) = valueOrElse(getInteger(Address(fromBase58String(pool)), kFirstHarvestHeight), 0)
182182
183183
184184 func getFHShareLimitToken (pool) = valueOrErrorMessage(getInteger(pool, kShareLimitFH), ("No data on the key: " + kShareLimitFH))
185185
186186
187187 func getTotalShareToken (pool) = valueOrErrorMessage(getInteger(this, (pool + kShareTotalShareTokens)), (("No data on the key: " + pool) + kShareTotalShareTokens))
188188
189189
190190 func getPoolVoted (pool) = valueOrElse(getInteger(votingAddress, (pool + kPoolVote)), valueOrElse(parseInt(split(valueOrElse(getString(votingAddress, (pool + kPoolStruc)), ""), "_")[0]), 0))
191191
192192
193193 func getUserPoolVoted (pool,user) = valueOrElse(getInteger(votingAddress, (((user + "_") + pool) + kUserPoolVote)), valueOrElse(parseInt(split(valueOrElse(getString(votingAddress, (((user + "_") + pool) + kUserPoolStruc)), ""), "_")[0]), 0))
194194
195195
196196 func getShareAssetId (pool) = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
197197
198198
199199 func accountBalance (assetId) = match assetId {
200200 case id: ByteVector =>
201201 assetBalance(this, id)
202202 case waves: Unit =>
203203 wavesBalance(this).available
204204 case _ =>
205205 throw("Match error")
206206 }
207207
208208
209209 func calcScaleValue (assetId1,assetId2) = {
210210 let assetId1Decimals = value(assetInfo(assetId1)).decimals
211211 let assetId2Decimals = value(assetInfo(assetId2)).decimals
212212 let scaleDigits = ((assetId2Decimals - assetId1Decimals) + 8)
213213 pow(10, 0, scaleDigits, 0, 0, DOWN)
214214 }
215215
216216
217217 func userAvailableSWOP (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + user) + kAvailableSWOP)), 0)
218218
219219
220220 func rewardInfo (pool) = {
221221 let $t071047219 = getRewardsPerBlockInfo()
222222 let totalRewardPerBlockCurrent = $t071047219._1
223223 let totalRewardPerBlockPrevious = $t071047219._2
224224 let lastEmissionUpdateHeight = $t071047219._3
225225 let rewardPoolFractionCurrent = valueOrErrorMessage(getInteger(govAddress, (pool + kRewardPoolFractionCurrent)), (((("No data on the key: " + pool) + kRewardPoolFractionCurrent) + " at address ") + toString(govAddress)))
226226 let rewardUpdateHeight = valueOrErrorMessage(getInteger(govAddress, kRewardUpdateHeight), ((("No data on the key: " + kRewardUpdateHeight) + " at address ") + toString(govAddress)))
227227 let poolRewardUpdateHeight = valueOrElse(getInteger(govAddress, (pool + kHeightPoolFraction)), rewardUpdateHeight)
228228 let rewardPoolFractionPrevious = valueOrErrorMessage(getInteger(govAddress, (pool + kRewardPoolFractionPrevious)), (((("No data on the key: " + pool) + kRewardPoolFractionPrevious) + " at address ") + toString(govAddress)))
229229 let rewardPoolCurrent = fraction(totalRewardPerBlockCurrent, rewardPoolFractionCurrent, totalVoteShare)
230230 let rewardPoolPrevious = fraction(totalRewardPerBlockCurrent, rewardPoolFractionPrevious, totalVoteShare)
231231 let rewardPoolPrevCurrent = fraction(totalRewardPerBlockPrevious, rewardPoolFractionCurrent, totalVoteShare)
232232 let rewardPoolPrevPrevious = fraction(totalRewardPerBlockPrevious, rewardPoolFractionPrevious, totalVoteShare)
233233 if (if ((rewardPoolCurrent > totalRewardPerBlockCurrent))
234234 then true
235235 else (rewardPoolPrevious > totalRewardPerBlockPrevious))
236236 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
237237 else $Tuple7(rewardPoolCurrent, rewardUpdateHeight, rewardPoolPrevious, poolRewardUpdateHeight, lastEmissionUpdateHeight, rewardPoolPrevCurrent, rewardPoolPrevPrevious)
238238 }
239239
240240
241241 func getLastInterestInfo (pool) = {
242242 let farmInterest = valueOrErrorMessage(getInteger(this, (pool + kFarmLastInterest)), (("No data on the key: " + pool) + kFarmLastInterest))
243243 let boostInterest = valueOrElse(getInteger(this, (pool + kBoostLastInterest)), 0)
244244 let lastInterestHeight = valueOrElse(getInteger(this, (pool + kLastInterestHeight)), height)
245245 $Tuple3(lastInterestHeight, farmInterest, boostInterest)
246246 }
247247
248248
249249 func calcFarmRwd (pool,curTotalReward) = {
250250 let poolBoostCoef = valueOrElse(getInteger(this, (pool + kPoolBoostCoef)), defPoolBoostCoef)
251251 fraction(curTotalReward, lockBoostCoefScale, (poolBoostCoef + lockBoostCoefScale))
252252 }
253253
254254
255255 func calcBoostRwd (pool,curTotalReward) = {
256256 let poolBoostCoef = valueOrElse(getInteger(this, (pool + kPoolBoostCoef)), defPoolBoostCoef)
257257 fraction(curTotalReward, poolBoostCoef, (poolBoostCoef + lockBoostCoefScale))
258258 }
259259
260260
261261 func calcInterest (pool,lastInterestHeight,rewardUpdateHeight,poolRewardUpdateHeight,farmInterest,boostInterest,poolVoted,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,scaleValue,toHeight) = {
262262 let $t01023311418 = if (if (if ((rewardUpdateHeight > toHeight))
263263 then (rewardUpdateHeight == poolRewardUpdateHeight)
264264 else false)
265265 then true
266266 else if ((toHeight > rewardUpdateHeight))
267267 then (rewardUpdateHeight != poolRewardUpdateHeight)
268268 else false)
269269 then {
270270 let r = (previousRewardPerBlock * (toHeight - lastInterestHeight))
271271 $Tuple3(r, farmInterest, boostInterest)
272272 }
273273 else if (if (if ((toHeight > rewardUpdateHeight))
274274 then (rewardUpdateHeight == poolRewardUpdateHeight)
275275 else false)
276276 then (lastInterestHeight > rewardUpdateHeight)
277277 else false)
278278 then {
279279 let r = (currentRewardPerBlock * (toHeight - lastInterestHeight))
280280 $Tuple3(r, farmInterest, boostInterest)
281281 }
282282 else {
283283 let rwdBfrUpd = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
284284 let fBfrUp = (farmInterest + fraction(calcFarmRwd(pool, rwdBfrUpd), scaleValue, shareTokenLocked))
285285 let bBfrUp = (boostInterest + (if ((poolVoted > 0))
286286 then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue8, poolVoted)
287287 else 0))
288288 let rwd = (currentRewardPerBlock * (toHeight - rewardUpdateHeight))
289289 $Tuple3(rwd, fBfrUp, bBfrUp)
290290 }
291291 let reward = $t01023311418._1
292292 let farmIntrBefore = $t01023311418._2
293293 let boostIntrBefore = $t01023311418._3
294294 let newFarmInterest = (farmIntrBefore + fraction(calcFarmRwd(pool, reward), scaleValue, shareTokenLocked))
295295 let newBoostInterest = (boostIntrBefore + (if ((poolVoted > 0))
296296 then fraction(calcBoostRwd(pool, reward), scaleValue8, poolVoted)
297297 else 0))
298298 $Tuple2(newFarmInterest, newBoostInterest)
299299 }
300300
301301
302302 func claimCalc (pool,user) = {
303303 let scaleValue = calcScaleValue(SWOP, getShareAssetId(pool))
304304 let poolVoted = getPoolVoted(pool)
305305 let uPoolVoted = getUserPoolVoted(pool, user)
306306 let shareToken = getTotalShareToken(pool)
307307 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), shareToken)
308308 let stratBFarmInterest = valueOrElse(getInteger(this, (pool + kStratBFarmInterest)), 0)
309309 let $t01225612337 = getLastInterestInfo(pool)
310310 let lastInterestHeight = $t01225612337._1
311311 let farmInterest = $t01225612337._2
312312 let boostInterest = $t01225612337._3
313313 let $t01234212599 = rewardInfo(pool)
314314 let currentRewardPerBlock = $t01234212599._1
315315 let rewardUpdateHeight = $t01234212599._2
316316 let previousRewardPerBlock = $t01234212599._3
317317 let poolRewardUpdateHeight = $t01234212599._4
318318 let emissionUpdateHeight = $t01234212599._5
319319 let prevCurrentRewardPerBlock = $t01234212599._6
320320 let prevPreviousRewardPerBlock = $t01234212599._7
321321 let uFarmInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kFarmUserLastInterest)), farmInterest)
322322 let uBoostInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kBoostUserLastInterest)), if (if ((stratBFarmInterest > uFarmInterest))
323323 then (uPoolVoted > 0)
324324 else false)
325325 then 0
326326 else boostInterest)
327327 let uShareTokensStaked = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
328328 let uShareTokensVirt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), uShareTokensStaked)
329329 if ((totalShareVirtual == 0))
330330 then {
331331 let toTreasury = if ((emissionUpdateHeight > lastInterestHeight))
332332 then ((prevCurrentRewardPerBlock * (emissionUpdateHeight - lastInterestHeight)) + (currentRewardPerBlock * (height - emissionUpdateHeight)))
333333 else (currentRewardPerBlock * (height - lastInterestHeight))
334334 let teamReward = fraction(toTreasury, teamFee, 100)
335335 $Tuple5(farmInterest, boostInterest, 0, (toTreasury - teamReward), teamReward)
336336 }
337337 else {
338338 let $t01364214779 = if ((emissionUpdateHeight > lastInterestHeight))
339339 then {
340340 let $t01405514614 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, prevCurrentRewardPerBlock, totalShareVirtual, prevPreviousRewardPerBlock, scaleValue, emissionUpdateHeight)
341341 let prevNewFarmInterest = $t01405514614._1
342342 let prevNewBoostInterest = $t01405514614._2
343343 $Tuple3(prevNewFarmInterest, prevNewBoostInterest, emissionUpdateHeight)
344344 }
345345 else $Tuple3(farmInterest, boostInterest, lastInterestHeight)
346346 let prevFarmInterest = $t01364214779._1
347347 let prevBoostInterest = $t01364214779._2
348348 let LIHeight = $t01364214779._3
349349 let $t01478815211 = calcInterest(pool, LIHeight, rewardUpdateHeight, poolRewardUpdateHeight, prevFarmInterest, prevBoostInterest, poolVoted, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue, height)
350350 let newFarmInterest = $t01478815211._1
351351 let newBoostInterest = $t01478815211._2
352352 let farmRwd = fraction(uShareTokensVirt, (newFarmInterest - uFarmInterest), scaleValue)
353353 let poolBoostCoef = valueOrElse(getInteger(this, (pool + kPoolBoostCoef)), defPoolBoostCoef)
354354 let boostRwdMax = fraction(fraction(uShareTokensVirt, (newFarmInterest - max([uFarmInterest, stratBFarmInterest])), scaleValue), poolBoostCoef, lockBoostCoefScale)
355355 let curBoostRwd = fraction((newBoostInterest - uBoostInterest), uPoolVoted, scaleValue8)
356356 let boostRwd = min([boostRwdMax, curBoostRwd])
357357 let toTreasury = (boostRwdMax - boostRwd)
358358 let teamReward = fraction(toTreasury, teamFee, 100)
359359 if ((0 > toTreasury))
360360 then throw("toTreasury < 0")
361361 else $Tuple5(newFarmInterest, newBoostInterest, (farmRwd + boostRwd), (toTreasury - teamReward), teamReward)
362362 }
363363 }
364364
365365
366366 func availableClaimCalcAllByUser (pools,user) = {
367367 func calcAvailable (acc,pool) = {
368368 let $t01616516194 = acc
369369 let newPools = $t01616516194._1
370370 let amounts = $t01616516194._2
371371 let $t01620316256 = claimCalc(pool, user)
372372 let fi = $t01620316256._1
373373 let bi = $t01620316256._2
374374 let claimAmount = $t01620316256._3
375375 let tt = $t01620316256._4
376376 let availableFund = (userAvailableSWOP(pool, user) + claimAmount)
377377 $Tuple2((newPools :+ pool), (amounts :+ availableFund))
378378 }
379379
380380 let $l = pools
381381 let $s = size($l)
382382 let $acc0 = $Tuple2(nil, nil)
383383 func $f0_1 ($a,$i) = if (($i >= $s))
384384 then $a
385385 else calcAvailable($a, $l[$i])
386386
387387 func $f0_2 ($a,$i) = if (($i >= $s))
388388 then $a
389389 else throw("List size exceeds 60")
390390
391391 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
392392 }
393393
394394
395395 func canLockInFirstHarvest (pool,user,userShareTokensStaked,pmtAmount,lockType) = if ((getHeightFirstHarvest(pool) > height))
396396 then {
397397 let totalVoteAmount = valueOrElse(getInteger(votingAddress, (pool + kHarvestPoolVote)), 0)
398398 let userVoteAmount = valueOrElse(getInteger(votingAddress, (((user + "_") + pool) + kHarvestUserPoolVote)), 0)
399399 let FHShareTokenLimit = getFHShareLimitToken(addressFromStringValue(pool))
400400 let FHShareTokenUserLimit = (fraction(FHShareTokenLimit, userVoteAmount, totalVoteAmount) - userShareTokensStaked)
401401 if ((lockType > 0))
402402 then throw("You can't lock shareTokens till first harvest end.")
403403 else if ((userVoteAmount == 0))
404404 then 0
405405 else if ((pmtAmount >= FHShareTokenUserLimit))
406406 then (pmtAmount - FHShareTokenUserLimit)
407407 else 0
408408 }
409409 else 0
410410
411411
412412 func getLockParams (type) = {
413413 let lockParams = split(valueOrErrorMessage(getString(this, (toString(type) + kLockParams)), ("There are no key for lock type" + toString(type))), "_")
414414 $Tuple2(parseIntValue(lockParams[0]), parseIntValue(lockParams[1]))
415415 }
416416
417417
418418 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
419419
420420
421421 func isActive () = if (if (active)
422422 then activeGlob
423423 else false)
424424 then unit
425425 else throw("DApp is inactive at this moment")
426426
427427
428428 func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
429429 then unit
430430 else throw("Only admin can call this function")
431431
432432
433433 func isPoolCall (i,pool) = if (if ((toString(i.caller) == pool))
434434 then true
435435 else (i.caller == cpmmContract))
436436 then unit
437437 else throw("Only pool can call this function")
438438
439439
440440 func getDeprecatedPool (pool) = valueOrElse(getBoolean(oracle, (kDeprecatedPool + pool)), false)
441441
442442
443443 func isDeprecatedPool (pool) = if (!(getDeprecatedPool(pool)))
444444 then unit
445445 else throw("Pool is deprecated. Only unlock action allowed.")
446446
447447
448448 func isSelfCall (i) = if ((i.caller == this))
449449 then unit
450450 else throw("Only contract itself can call this function")
451451
452452
453453 func calcLockShareTokens (i,caller,pool,lockType) = {
454454 let shareAssetId = getShareAssetId(pool)
455455 let user = toString(caller)
456456 let totalShare = getTotalShareToken(pool)
457457 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShare)
458458 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
459459 let userLockedHeigt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), 0)
460460 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
461461 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
462462 let totalUserShareTokens = ((userStakedAmount + userLockedAmount) + i.payments[0].amount)
463463 let $t01930519357 = getLockParams(lockType)
464464 let lockPeriod = $t01930519357._1
465465 let lockCoef = $t01930519357._2
466466 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
467467 if ((i.payments[0].assetId != shareAssetId))
468468 then throw("Wrong sharetoken in payment")
469469 else if ((0 >= i.payments[0].amount))
470470 then throw("Payment amount must be greater than 0")
471471 else if ((0 > lockType))
472472 then throw("lockType must be >= 0")
473473 else {
474474 let shareTokensChangeOnFH = canLockInFirstHarvest(pool, user, userStakedAmount, i.payments[0].amount, lockType)
475475 if ((shareTokensChangeOnFH == shareTokensChangeOnFH))
476476 then {
477477 let $t01978421718 = if ((lockType == 0))
478478 then {
479479 let userAmountVirtualNew = ((userAmountVirtual + i.payments[0].amount) - shareTokensChangeOnFH)
480480 $Tuple2([IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), ((userStakedAmount + i.payments[0].amount) - shareTokensChangeOnFH)), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userAmountVirtualNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual + i.payments[0].amount) - shareTokensChangeOnFH)), ScriptTransfer(caller, shareTokensChangeOnFH, i.payments[0].assetId)], ((totalShare + i.payments[0].amount) - shareTokensChangeOnFH))
481481 }
482482 else if (if ((userLockedHeigt == 0))
483483 then if (if ((2 > size(i.payments)))
484484 then true
485485 else (i.payments[1].assetId != unit))
486486 then true
487487 else (lockWavesFee > i.payments[1].amount)
488488 else false)
489489 then throw((("You need to pay additional waves comission " + toString(lockWavesFee)) + "WAVES"))
490490 else if ((userLockedHeigt > (height + lockPeriod)))
491491 then throw("You cannot lock sharetokens for a period less than what you have already locked")
492492 else {
493493 let userLockedAmountNew = (userLockedAmount + i.payments[0].amount)
494494 let userLockedHeigtNew = (height + lockPeriod)
495495 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount)
496496 $Tuple2([IntegerEntry((((pool + "_") + user) + kUserShareTokensLocked), userLockedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedHeight), userLockedHeigtNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedType), lockType), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userAmountVirtualNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual - userAmountVirtual) + userAmountVirtualNew))], (totalShare + i.payments[0].amount))
497497 }
498498 let lockEntries = $t01978421718._1
499499 let totalShareNew = $t01978421718._2
500500 if ((totalShareNew > accountBalance(shareAssetId)))
501501 then throw("Balance of share-token is lower than totalAmount")
502502 else {
503503 let $t02184321937 = claimCalc(pool, user)
504504 let farmInterest = $t02184321937._1
505505 let boostInterest = $t02184321937._2
506506 let claimAmount = $t02184321937._3
507507 let toTreasure = $t02184321937._4
508508 let teamReward = $t02184321937._5
509509 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
510510 let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0"))
511511 then invoke(lpFarmingAddress, "updateUserInterest", [user, pool, totalUserShareTokens], nil)
512512 else 0
513513 if ((uplp == uplp))
514514 then ([IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((pool + kShareTotalShareTokens), totalShareNew), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, (toTreasure + teamReward), true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(teamBoxAddress, teamReward, SWOP)] ++ lockEntries)
515515 else throw("Strict value is not equal to itself.")
516516 }
517517 }
518518 else throw("Strict value is not equal to itself.")
519519 }
520520 }
521521
522522
523523 func calcWithdrawShareTokens (i,caller,pool,shareTokensWithdrawAmount) = {
524524 let inv = if (getDeprecatedPool(pool))
525525 then invoke(this, "unlockUserLockDeprecated", [pool, toString(caller)], nil)
526526 else 0
527527 if ((inv == inv))
528528 then {
529529 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
530530 let user = toString(caller)
531531 let $t02330523399 = claimCalc(pool, user)
532532 let farmInterest = $t02330523399._1
533533 let boostInterest = $t02330523399._2
534534 let claimAmount = $t02330523399._3
535535 let toTreasure = $t02330523399._4
536536 let teamReward = $t02330523399._5
537537 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
538538 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
539539 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
540540 let userStakedAmountNew = (userStakedAmount - shareTokensWithdrawAmount)
541541 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
542542 let totalShareAmount = getTotalShareToken(pool)
543543 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShareAmount)
544544 let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount)
545545 let totalShareVirtualNew = (totalShareVirtual - shareTokensWithdrawAmount)
546546 let userAmountVirtualNew = (userAmountVirtual - shareTokensWithdrawAmount)
547547 if ((shareTokensWithdrawAmount > userStakedAmount))
548548 then throw("Withdraw amount more then user locked amount")
549549 else if ((accountBalance(shareTokensId) > totalShareAmount))
550550 then throw("Balance of share-token is lower than totalAmount")
551551 else {
552552 let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0"))
553553 then invoke(lpFarmingAddress, "updateUserInterest", [user, pool, (userStakedAmount + userLockedAmount)], nil)
554554 else 0
555555 if ((uplp == uplp))
556556 then [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), userStakedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userAmountVirtualNew), IntegerEntry((pool + kShareTotalShareTokens), totalShareAmountNew), IntegerEntry((pool + kShareTokensVirtual), totalShareVirtualNew), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, toTreasure, true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(teamBoxAddress, teamReward, SWOP), ScriptTransfer(i.caller, shareTokensWithdrawAmount, shareTokensId)]
557557 else throw("Strict value is not equal to itself.")
558558 }
559559 }
560560 else throw("Strict value is not equal to itself.")
561561 }
562562
563563
564564 func calcClaim (i,pool,caller) = {
565565 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
566566 let user = toString(caller)
567567 let shareTokenLocked = getTotalShareToken(pool)
568568 let $t02596926063 = claimCalc(pool, user)
569569 let farmInterest = $t02596926063._1
570570 let boostInterest = $t02596926063._2
571571 let claimAmount = $t02596926063._3
572572 let toTreasure = $t02596926063._4
573573 let teamReward = $t02596926063._5
574574 let availableFund = (userAvailableSWOP(pool, user) + claimAmount)
575575 if ((accountBalance(shareTokensId) > shareTokenLocked))
576576 then throw("Balance of share-token is lower than totalAmount")
577577 else {
578578 let uTrans = if ((i.caller != this))
579579 then [ScriptTransfer(i.caller, availableFund, SWOP)]
580580 else nil
581581 $Tuple2(([IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), 0), Reissue(SWOP, ((toTreasure + availableFund) + teamReward), true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(teamBoxAddress, teamReward, SWOP)] ++ uTrans), availableFund)
582582 }
583583 }
584584
585585
586586 func unlockUserLockCalc (i,pool,user) = {
587587 let totalShareVirtual = getIntegerValue(this, (pool + kShareTokensVirtual))
588588 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
589589 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
590590 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
591591 let userStakedAmountNew = (userStakedAmount + userLockedAmount)
592592 let $t02753727631 = claimCalc(pool, user)
593593 let farmInterest = $t02753727631._1
594594 let boostInterest = $t02753727631._2
595595 let claimAmount = $t02753727631._3
596596 let toTreasure = $t02753727631._4
597597 let teamReward = $t02753727631._5
598598 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
599599 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), userStakedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userStakedAmountNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual - userAmountVirtual) + userStakedAmountNew)), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), DeleteEntry((((pool + "_") + user) + kUserShareTokensLocked)), DeleteEntry((((pool + "_") + user) + kUserShareTokensLockedHeight)), DeleteEntry((((pool + "_") + user) + kUserShareTokensLockedType)), Reissue(SWOP, (toTreasure + teamReward), true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(teamBoxAddress, teamReward, SWOP)]
600600 }
601601
602602
603603 @Callable(i)
604604 func init (earlyLP) = if (isDefined(getString(this, kSWOPid)))
605605 then throw("SWOP already initialized")
606606 else {
607607 let initAmount = 100000000000000
608608 let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true)
609609 let SWOPid = calculateAssetId(SWOPissue)
610610 [BooleanEntry(kActive, true), Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(kSWOPid, toBase58String(SWOPid))]
611611 }
612612
613613
614614
615615 @Callable(i)
616616 func initPoolShareFarming (pool) = valueOrElse(isAdminCall(i), [IntegerEntry((pool + kShareTotalShareTokens), 0), IntegerEntry((pool + kFarmLastInterest), 0), IntegerEntry((pool + kBoostLastInterest), 0), IntegerEntry((pool + kLastInterestHeight), height)])
617617
618618
619619
620620 @Callable(i)
621621 func updatePoolInterest (pool) = valueOrElse(isActive(), if ((i.caller != govAddress))
622622 then throw("Only Governance can call this function")
623623 else {
624624 let user = toString(addressFromPublicKey(adminInvokePubKey))
625- let $t02986929943 = claimCalc(pool, user)
626- let farmInterest = $t02986929943._1
627- let boostInterest = $t02986929943._2
628- let boostLPinterest = $t02986929943._3
625+ let $t02986829942 = claimCalc(pool, user)
626+ let farmInterest = $t02986829942._1
627+ let boostInterest = $t02986829942._2
628+ let boostLPinterest = $t02986829942._3
629629 [IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kLastInterestHeight), height)]
630630 })
631631
632632
633633
634634 @Callable(i)
635635 func lockShareTokens (pool,lockType) = valueOrElse(isDeprecatedPool(pool), valueOrElse(isActive(), calcLockShareTokens(i, i.caller, pool, lockType)))
636636
637637
638638
639639 @Callable(i)
640640 func lockShareTokensFromPool (callerBytes,pool,lockType) = valueOrElse(isDeprecatedPool(pool), valueOrElse(isActive(), valueOrElse(isPoolCall(i, pool), calcLockShareTokens(i, Address(callerBytes), pool, lockType))))
641641
642642
643643
644644 @Callable(i)
645645 func lockStakedShareTokens (pool,lockType,lockAmount) = valueOrElse(isDeprecatedPool(pool), valueOrElse(isActive(), {
646646 let shareAssetId = getShareAssetId(pool)
647647 let user = toString(i.caller)
648648 let totalShare = getTotalShareToken(pool)
649649 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShare)
650650 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
651651 let userLockedHeigt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), 0)
652652 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
653653 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
654654 let totalUserShareTokens = (userStakedAmount + userLockedAmount)
655- let $t03157231624 = getLockParams(lockType)
656- let lockPeriod = $t03157231624._1
657- let lockCoef = $t03157231624._2
655+ let $t03157131623 = getLockParams(lockType)
656+ let lockPeriod = $t03157131623._1
657+ let lockCoef = $t03157131623._2
658658 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
659659 if ((getHeightFirstHarvest(pool) > height))
660660 then throw("You can't lock shareTokens till first harvest end.")
661661 else if ((0 >= lockType))
662662 then throw("lockType must be > 0")
663663 else if ((lockAmount > userStakedAmount))
664664 then throw(("You can't lock more than " + toString(userStakedAmount)))
665665 else if ((accountBalance(shareAssetId) > totalShare))
666666 then throw("Balance of share-token is lower than totalAmount")
667667 else if (if ((userLockedHeigt == 0))
668668 then if (if ((1 > size(i.payments)))
669669 then true
670670 else (i.payments[0].assetId != unit))
671671 then true
672672 else (lockWavesFee > i.payments[0].amount)
673673 else false)
674674 then throw((("You need to pay additional waves comission " + toString(lockWavesFee)) + "WAVES"))
675675 else if (if ((userLockedHeigt == 0))
676676 then (0 >= lockAmount)
677677 else false)
678678 then throw("lockAmount must be greater than 0")
679679 else if ((0 > lockAmount))
680680 then throw("lockAmount must be positive")
681681 else if ((userLockedHeigt > (height + lockPeriod)))
682682 then throw("You cannot lock sharetokens for a period less than what you have already locked")
683683 else {
684684 let userLockedAmountNew = (userLockedAmount + lockAmount)
685685 let userStakedAmountNew = (userStakedAmount - lockAmount)
686686 let userLockedHeigtNew = (height + lockPeriod)
687687 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmountNew)
688- let $t03297033064 = claimCalc(pool, user)
689- let farmInterest = $t03297033064._1
690- let boostInterest = $t03297033064._2
691- let claimAmount = $t03297033064._3
692- let toTreasure = $t03297033064._4
693- let teamReward = $t03297033064._5
688+ let $t03296933063 = claimCalc(pool, user)
689+ let farmInterest = $t03296933063._1
690+ let boostInterest = $t03296933063._2
691+ let claimAmount = $t03296933063._3
692+ let toTreasure = $t03296933063._4
693+ let teamReward = $t03296933063._5
694694 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
695695 [IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), userStakedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLocked), userLockedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedHeight), userLockedHeigtNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedType), lockType), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userAmountVirtualNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual - userAmountVirtual) + userAmountVirtualNew)), IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, (toTreasure + teamReward), true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(teamBoxAddress, teamReward, SWOP)]
696696 }
697697 }))
698698
699699
700700
701701 @Callable(i)
702702 func unlockUserLock (pool,user) = valueOrElse(isActive(), {
703703 let userLockedHeigt = valueOrErrorMessage(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), (((("There is no pool " + pool) + " or user ") + user) + "with lock"))
704704 if ((userLockedHeigt > height))
705705 then throw(("You can't unlock sharetokens till " + toString(userLockedHeigt)))
706706 else (unlockUserLockCalc(i, pool, user) ++ [ScriptTransfer(i.caller, getIntegerValue(this, kLockWavesFee), unit)])
707707 })
708708
709709
710710
711711 @Callable(i)
712712 func unlockUserLockDeprecated (pool,user) = valueOrElse(isActive(), valueOrElse(isSelfCall(i), if (!(getDeprecatedPool(pool)))
713713 then throw("Pool must be deprecated")
714714 else if (isDefined(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight))))
715715 then (unlockUserLockCalc(i, pool, user) ++ [ScriptTransfer(moneyBoxAddress, getIntegerValue(this, kLockWavesFee), unit)])
716716 else nil))
717717
718718
719719
720720 @Callable(i)
721721 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = valueOrElse(isActive(), calcWithdrawShareTokens(i, i.caller, pool, shareTokensWithdrawAmount))
722722
723723
724724
725725 @Callable(i)
726726 func withdrawShareTokensFromPool (callerBytes,pool,shareTokensWithdrawAmount) = valueOrElse(isActive(), valueOrElse(isPoolCall(i, pool), calcWithdrawShareTokens(i, Address(callerBytes), pool, shareTokensWithdrawAmount)))
727727
728728
729729
730730 @Callable(i)
731731 func claim (pool) = valueOrElse(isActive(), {
732732 let r = calcClaim(i, pool, i.caller)
733733 if ((r._2 == 0))
734734 then throw("You have 0 available SWOP")
735735 else r
736736 })
737737
738738
739739
740740 @Callable(i)
741741 func claimInternal (pool,caller) = valueOrElse(isActive(), valueOrElse(isSelfCall(i), calcClaim(i, pool, Address(caller))))
742742
743743
744744
745745 @Callable(i)
746746 func claimAndStake (pool) = valueOrElse(isActive(), {
747747 let claimAmount = {
748748 let @ = invoke(this, "claimInternal", [pool, i.caller.bytes], nil)
749749 if ($isInstanceOf(@, "Int"))
750750 then @
751751 else throw(($getType(@) + " couldn't be cast to Int"))
752752 }
753753 if ((claimAmount == claimAmount))
754754 then if ((claimAmount == 0))
755755 then throw("You have 0 available SWOP")
756756 else {
757757 let stakeToGov = invoke(govAddress, "lockSWOPFromFarming", nil, [AttachedPayment(SWOP, claimAmount)])
758758 if ((stakeToGov == stakeToGov))
759759 then nil
760760 else throw("Strict value is not equal to itself.")
761761 }
762762 else throw("Strict value is not equal to itself.")
763763 })
764764
765765
766766
767767 @Callable(i)
768768 func claimAll (pools) = valueOrElse(isActive(), {
769769 func claimInv (claimTotal,pool) = {
770770 let claimAmount = {
771771 let @ = invoke(this, "claimInternal", [pool, i.caller.bytes], nil)
772772 if ($isInstanceOf(@, "Int"))
773773 then @
774774 else throw(($getType(@) + " couldn't be cast to Int"))
775775 }
776776 if ((claimAmount == claimAmount))
777777 then (claimTotal + claimAmount)
778778 else throw("Strict value is not equal to itself.")
779779 }
780780
781781 let claimTotal = {
782782 let $l = pools
783783 let $s = size($l)
784784 let $acc0 = 0
785785 func $f0_1 ($a,$i) = if (($i >= $s))
786786 then $a
787787 else claimInv($a, $l[$i])
788788
789789 func $f0_2 ($a,$i) = if (($i >= $s))
790790 then $a
791791 else throw("List size exceeds 60")
792792
793793 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
794794 }
795795 if ((claimTotal == 0))
796796 then throw("You have 0 available SWOP")
797797 else [ScriptTransfer(i.caller, claimTotal, SWOP)]
798798 })
799799
800800
801801
802802 @Callable(i)
803803 func claimAllAndStake (pools) = valueOrElse(isActive(), {
804804 func claimInv (claimTotal,pool) = {
805805 let claimAmount = {
806806 let @ = invoke(this, "claimInternal", [pool, i.caller.bytes], nil)
807807 if ($isInstanceOf(@, "Int"))
808808 then @
809809 else throw(($getType(@) + " couldn't be cast to Int"))
810810 }
811811 if ((claimAmount == claimAmount))
812812 then (claimTotal + claimAmount)
813813 else throw("Strict value is not equal to itself.")
814814 }
815815
816816 let claimTotal = {
817817 let $l = pools
818818 let $s = size($l)
819819 let $acc0 = 0
820820 func $f0_1 ($a,$i) = if (($i >= $s))
821821 then $a
822822 else claimInv($a, $l[$i])
823823
824824 func $f0_2 ($a,$i) = if (($i >= $s))
825825 then $a
826826 else throw("List size exceeds 60")
827827
828828 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
829829 }
830830 if ((claimTotal == 0))
831831 then throw("You have 0 available SWOP")
832832 else {
833833 let stakeToGov = invoke(govAddress, "lockSWOPFromFarming", nil, [AttachedPayment(SWOP, claimTotal)])
834834 if ((stakeToGov == stakeToGov))
835835 then nil
836836 else throw("Strict value is not equal to itself.")
837837 }
838838 })
839839
840840
841841
842842 @Callable(i)
843843 func updateUserBoostInterest (pool,user) = valueOrElse(isActive(), if ((i.caller != votingAddress))
844844 then throw("Only voiting can call this function")
845845 else {
846- let $t03788837982 = claimCalc(pool, user)
847- let farmInterest = $t03788837982._1
848- let boostInterest = $t03788837982._2
849- let claimAmount = $t03788837982._3
850- let toTreasure = $t03788837982._4
851- let teamReward = $t03788837982._5
846+ let $t03788737981 = claimCalc(pool, user)
847+ let farmInterest = $t03788737981._1
848+ let boostInterest = $t03788737981._2
849+ let claimAmount = $t03788737981._3
850+ let toTreasure = $t03788737981._4
851+ let teamReward = $t03788737981._5
852852 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
853853 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, (toTreasure + teamReward), true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(teamBoxAddress, teamReward, SWOP)]
854854 })
855855
856856
857857
858858 @Callable(i)
859859 func shutdown () = valueOrElse(isAdminCall(i), if (!(active))
860860 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
861861 else suspend("Paused by admin"))
862862
863863
864864
865865 @Callable(i)
866866 func activate () = valueOrElse(isAdminCall(i), if (active)
867867 then throw("DApp is already active")
868868 else [BooleanEntry(kActive, true), DeleteEntry(kCause)])
869869
870870
871871 @Verifier(tx)
872872 func verify () = match tx {
873873 case _ =>
874874 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
875875 then 1
876876 else 0
877877 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
878878 then 1
879879 else 0
880880 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
881881 then 1
882882 else 0
883883 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
884884 }
885885

github/deemru/w8io/026f985 
112.45 ms