tx · CKHpwmhq2gCMmkWukBLCa3ZD5gksQKqas9J2ZLZgCkKQ

3N7NyhNuAsjhx5uFqDqt4Y51hK4FBVi4MHn:  -0.01400000 Waves

2021.03.08 01:00 [1427843] smart account 3N7NyhNuAsjhx5uFqDqt4Y51hK4FBVi4MHn > SELF 0.00000000 Waves

{ "type": 13, "id": "CKHpwmhq2gCMmkWukBLCa3ZD5gksQKqas9J2ZLZgCkKQ", "fee": 1400000, "feeAssetId": null, "timestamp": 1615154463662, "version": 1, "sender": "3N7NyhNuAsjhx5uFqDqt4Y51hK4FBVi4MHn", "senderPublicKey": "79j6PNv9aCQZpss88M5Y7J41MDsKbMrG2Lf69wQ6R6Rd", "proofs": [ "Jw2ck9Rj9K4FiKMKg2tjXaprxkfzrYJsb44XDnQFjwpGN3QQvdZzRGy4utW5NNsVDyH2uNvokzv2pWjjpksdoUG" ], "script": "base64:AAIEAAAAAAAAABwIAhIDCgEIEgMKAQgSAwoBCBIECgIIARIDCgEIAAAAIwAAAAAMYWRtaW5QdWJLZXkxAQAAACC6Cdc7iVmk0V2g//G7M9Cq4TlpD8vivZHWO+5PXqjgEwAAAAAMYWRtaW5QdWJLZXkyAQAAACDCkUSZs9KwtA0ipZFYvYi8oTe7CMv/3YzmlO9bFg5+QAAAAAAMYWRtaW5QdWJLZXkzAQAAACCOHhcueLEHO/RITnozKGB2KHf8meWSMKMgws+oq+kOVQAAAAAUa2V5U2hhcmVUb2tlbnNMb2NrZWQCAAAAGl90b3RhbF9zaGFyZV90b2tlbnNfbG9ja2VkAAAAABxrZXlSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50AgAAABxwb29sX2ZyYWN0aW9uX3Jld2FyZF9jdXJyZW50AAAAAB1rZXlSZXdhcmRQb29sRnJhY3Rpb25QcmV2aW91cwIAAAAdcG9vbF9mcmFjdGlvbl9yZXdhcmRfcHJldmlvdXMAAAAAHWtleVRvdGFsUmV3YXJkUGVyQmxvY2tDdXJyZW50AgAAAB50b3RhbF9yZX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ABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAHGtleVVzZXJTV09QTGFzdENsYWltZWRBbW91bnQFAAAAC2NsYWltQW1vdW50CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAANYXZhaWxhYmxlRnVuZAUAAAAEU1dPUAUAAAADbmlsAAAAADznDyo=", "chainId": 84, "height": 1427843, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 14Ba7An86rtvw8hPDBGPvokU9nDj5BCmA8Lcvfujd3KY Next: 9EREG3YvHBKNeUZabCphL3YjVMyd9q1XbQVudNo9N91s Diff:
OldNewDifferences
99
1010 let keyShareTokensLocked = "_total_share_tokens_locked"
1111
12-let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward"
12+let keyRewardPoolFractionCurrent = "pool_fraction_reward_current"
1313
14-let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward"
14+let keyRewardPoolFractionPrevious = "pool_fraction_reward_previous"
1515
1616 let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current"
1717
133133 let shareAssetId = getShareAssetId(pool)
134134 let scaleValue = calcScaleValue(SWOP, shareAssetId)
135135 let shareTokenLocked = getTotalShareTokenLocked(pool)
136- let $t071667231 = getLastInterestInfo(pool)
137- let lastInterestHeight = $t071667231._1
138- let lastInterest = $t071667231._2
139- let $t072367324 = rewardInfo(pool)
140- let currentRewardPerBlock = $t072367324._1
141- let rewardUpdateHeight = $t072367324._2
142- let previousRewardPerBlock = $t072367324._3
143- let $t073297408 = getUserInterestInfo(pool, caller)
144- let userLastInterest = $t073297408._1
145- let userShareTokensAmount = $t073297408._2
136+ let $t071647229 = getLastInterestInfo(pool)
137+ let lastInterestHeight = $t071647229._1
138+ let lastInterest = $t071647229._2
139+ let $t072347322 = rewardInfo(pool)
140+ let currentRewardPerBlock = $t072347322._1
141+ let rewardUpdateHeight = $t072347322._2
142+ let previousRewardPerBlock = $t072347322._3
143+ let $t073277406 = getUserInterestInfo(pool, caller)
144+ let userLastInterest = $t073277406._1
145+ let userShareTokensAmount = $t073277406._2
146146 let currentInterest = calcInterest(lastInterestHeight, rewardUpdateHeight, lastInterest, currentRewardPerBlock, shareTokenLocked, previousRewardPerBlock, shareAssetId, scaleValue, pmtAmount)
147147 let claimAmount = fraction(userShareTokensAmount, (currentInterest - userLastInterest), scaleValue)
148148 let userNewInterest = currentInterest
175175
176176 @Callable(i)
177177 func initPoolShareFarming (pool) = {
178- let $t089469026 = rewardInfo(pool)
179- let currentReward = $t089469026._1
180- let rewardUpdateHeight = $t089469026._2
181- let previousRewardPerBlock = $t089469026._3
178+ let $t089449024 = rewardInfo(pool)
179+ let currentReward = $t089449024._1
180+ let rewardUpdateHeight = $t089449024._2
181+ let previousRewardPerBlock = $t089449024._3
182182 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyRewardPoolFractionCurrent), currentReward), IntegerEntry((pool + keyRewardUpdateHeight), rewardUpdateHeight), IntegerEntry((pool + keyRewardPoolFractionPrevious), previousRewardPerBlock)]
183183 }
184184
186186
187187 @Callable(i)
188188 func lockShareTokens (pool) = {
189- let $t094299504 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
190- let pmtAmount = $t094299504._1
191- let pmtAssetId = $t094299504._2
189+ let $t094279502 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
190+ let pmtAmount = $t094279502._1
191+ let pmtAssetId = $t094279502._2
192192 if ((farmingStartHeight > height))
193193 then if (!(checkPmtAssetIdCorrect(pool, pmtAssetId)))
194194 then throw("Incorrect pmtAssetId")
203203 else if (!(checkPmtAssetIdCorrect(pool, pmtAssetId)))
204204 then throw("Incorrect pmtAssetId")
205205 else {
206- let $t01053110639 = claimCalc(pool, i.caller, pmtAmount)
207- let userNewInterest = $t01053110639._1
208- let currentInterest = $t01053110639._2
209- let claimAmount = $t01053110639._3
210- let userShareTokensAmount = $t01053110639._4
206+ let $t01052910637 = claimCalc(pool, i.caller, pmtAmount)
207+ let userNewInterest = $t01052910637._1
208+ let currentInterest = $t01052910637._2
209+ let claimAmount = $t01052910637._3
210+ let userShareTokensAmount = $t01052910637._4
211211 let userShareAmountNew = (userShareTokensAmount + pmtAmount)
212212 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
213213 let totalShareAmount = getTotalShareTokenLocked(pool)
237237 }
238238 }
239239 else {
240- let $t01306513165 = claimCalc(pool, i.caller, 1)
241- let userNewInterest = $t01306513165._1
242- let currentInterest = $t01306513165._2
243- let claimAmount = $t01306513165._3
244- let userShareTokensAmount = $t01306513165._4
240+ let $t01306313163 = claimCalc(pool, i.caller, 1)
241+ let userNewInterest = $t01306313163._1
242+ let currentInterest = $t01306313163._2
243+ let claimAmount = $t01306313163._3
244+ let userShareTokensAmount = $t01306313163._4
245245 if ((shareTokensWithdrawAmount > userShareTokensAmount))
246246 then throw("Withdraw amount more then user locked amount")
247247 else {
263263 then throw((("This method will be active after " + toString(farmingStartHeight)) + " height"))
264264 else {
265265 let shareTokenLocked = getTotalShareTokenLocked(pool)
266- let $t01478914854 = getLastInterestInfo(pool)
267- let lastInterestHeight = $t01478914854._1
268- let lastInterest = $t01478914854._2
269- let $t01485914948 = rewardInfo(pool)
270- let currentRewardPerBlock = $t01485914948._1
271- let rewardUpdateHeight = $t01485914948._2
272- let previousRewardPerBlock = $t01485914948._3
273- let $t01495315053 = claimCalc(pool, i.caller, 1)
274- let userNewInterest = $t01495315053._1
275- let currentInterest = $t01495315053._2
276- let claimAmount = $t01495315053._3
277- let userShareTokensAmount = $t01495315053._4
266+ let $t01478714852 = getLastInterestInfo(pool)
267+ let lastInterestHeight = $t01478714852._1
268+ let lastInterest = $t01478714852._2
269+ let $t01485714946 = rewardInfo(pool)
270+ let currentRewardPerBlock = $t01485714946._1
271+ let rewardUpdateHeight = $t01485714946._2
272+ let previousRewardPerBlock = $t01485714946._3
273+ let $t01495115051 = claimCalc(pool, i.caller, 1)
274+ let userNewInterest = $t01495115051._1
275+ let currentInterest = $t01495115051._2
276+ let claimAmount = $t01495115051._3
277+ let userShareTokensAmount = $t01495115051._4
278278 let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount)
279279 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
280280 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let adminPubKey1 = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA'
55
66 let adminPubKey2 = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7'
77
88 let adminPubKey3 = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ'
99
1010 let keyShareTokensLocked = "_total_share_tokens_locked"
1111
12-let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward"
12+let keyRewardPoolFractionCurrent = "pool_fraction_reward_current"
1313
14-let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward"
14+let keyRewardPoolFractionPrevious = "pool_fraction_reward_previous"
1515
1616 let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current"
1717
1818 let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous"
1919
2020 let keyRewardUpdateHeight = "_reward_update_height"
2121
2222 let keyLastInterest = "_last_interest"
2323
2424 let keyLastInterestHeight = "_last_interest_height"
2525
2626 let keyUserShareTokensLocked = "_share_tokens_locked"
2727
2828 let keyUserLastInterest = "_last_interest"
2929
3030 let keySWOPid = "SWOP_id"
3131
3232 let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount"
3333
3434 let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount"
3535
3636 let keyAvailableSWOP = "_available_SWOP"
3737
3838 let keyFarmingStartHeight = "farming_start_height"
3939
4040 let votingAddress = Address(base58'3MqhxbxHEMtp2Rwy1gUb6cPSJHQepdap1Yp')
4141
4242 let oneWeekInBlock = 10106
4343
4444 let totalVoteShare = 10000000000
4545
4646 let SWOP = fromBase58String(getStringValue(this, keySWOPid))
4747
4848 let farmingStartHeight = valueOrErrorMessage(getInteger(this, keyFarmingStartHeight), ("No data on the key: " + keyFarmingStartHeight))
4949
5050 let farmingPreStartHeight = (farmingStartHeight - oneWeekInBlock)
5151
5252 func getTotalShareTokenLocked (pool) = valueOrErrorMessage(getInteger(this, (pool + keyShareTokensLocked)), (("No data on the key: " + pool) + keyShareTokensLocked))
5353
5454
5555 func getShareAssetId (pool) = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
5656
5757
5858 func calcScaleValue (assetId1,assetId2) = {
5959 let assetId1Decimals = value(assetInfo(assetId1)).decimals
6060 let assetId2Decimals = value(assetInfo(assetId2)).decimals
6161 let scaleDigits = ((assetId2Decimals - assetId1Decimals) + 8)
6262 pow(10, 0, scaleDigits, 0, 0, HALFDOWN)
6363 }
6464
6565
6666 func userAvailableSWOP (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyAvailableSWOP)), 0)
6767
6868
6969 func rewardInfo (pool) = {
7070 let totalRewardPerBlockCurrent = valueOrErrorMessage(getInteger(votingAddress, keyTotalRewardPerBlockCurrent), ((("No data on the key: " + keyTotalRewardPerBlockCurrent) + " at address ") + toString(votingAddress)))
7171 let totalRewardPerBlockPrevious = valueOrErrorMessage(getInteger(votingAddress, keyTotalRewardPerBlockPrevious), ((("No data on the key: " + keyTotalRewardPerBlockPrevious) + " at address ") + toString(votingAddress)))
7272 let rewardPoolFractionCurrent = valueOrErrorMessage(getInteger(votingAddress, (pool + keyRewardPoolFractionCurrent)), (((("No data on the key: " + pool) + keyRewardPoolFractionCurrent) + " at address ") + toString(votingAddress)))
7373 let rewardUpdateHeight = valueOrErrorMessage(getInteger(votingAddress, (pool + keyRewardUpdateHeight)), (((("No data on the key: " + pool) + keyRewardUpdateHeight) + " at address ") + toString(votingAddress)))
7474 let rewardPoolFractionPrevious = valueOrErrorMessage(getInteger(votingAddress, (pool + keyRewardPoolFractionPrevious)), (((("No data on the key: " + pool) + keyRewardPoolFractionPrevious) + " at address ") + toString(votingAddress)))
7575 let rewardPoolCurrent = fraction(totalRewardPerBlockCurrent, rewardPoolFractionCurrent, totalVoteShare)
7676 let rewardPoolPrevious = fraction(totalRewardPerBlockPrevious, rewardPoolFractionPrevious, totalVoteShare)
7777 if (if ((rewardPoolCurrent > totalRewardPerBlockCurrent))
7878 then true
7979 else (rewardPoolPrevious > totalRewardPerBlockPrevious))
8080 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
8181 else $Tuple3(rewardPoolCurrent, rewardUpdateHeight, rewardPoolPrevious)
8282 }
8383
8484
8585 func getLastInterestInfo (pool) = {
8686 let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest))
8787 let lastInterestHeight = valueOrElse(getInteger(this, (pool + keyLastInterestHeight)), farmingPreStartHeight)
8888 $Tuple2(lastInterestHeight, lastInterest)
8989 }
9090
9191
9292 func getUserInterestInfo (pool,userAddress) = {
9393 let userLastInterest = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserLastInterest))
9494 let userShare = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserShareTokensLocked))
9595 let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest))
9696 let userLastInterestValue = match userLastInterest {
9797 case userLastInterest: Int =>
9898 userLastInterest
9999 case _ =>
100100 lastInterest
101101 }
102102 let userShareTokensAmount = match userShare {
103103 case userShare: Int =>
104104 userShare
105105 case _ =>
106106 0
107107 }
108108 $Tuple2(userLastInterestValue, userShareTokensAmount)
109109 }
110110
111111
112112 func calcInterest (lastInterestHeight,rewardUpdateHeight,lastInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,shareAssetId,scaleValue,pmtAmount) = if ((shareTokenLocked == 0))
113113 then 0
114114 else if ((rewardUpdateHeight > height))
115115 then {
116116 let reward = (previousRewardPerBlock * (height - lastInterestHeight))
117117 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
118118 }
119119 else if ((lastInterestHeight > rewardUpdateHeight))
120120 then {
121121 let reward = (currentRewardPerBlock * (height - lastInterestHeight))
122122 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
123123 }
124124 else {
125125 let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
126126 let interestAfterUpdate = (lastInterest + fraction(rewardAfterLastInterestBeforeReawardUpdate, scaleValue, shareTokenLocked))
127127 let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
128128 (interestAfterUpdate + fraction(reward, scaleValue, shareTokenLocked))
129129 }
130130
131131
132132 func claimCalc (pool,caller,pmtAmount) = {
133133 let shareAssetId = getShareAssetId(pool)
134134 let scaleValue = calcScaleValue(SWOP, shareAssetId)
135135 let shareTokenLocked = getTotalShareTokenLocked(pool)
136- let $t071667231 = getLastInterestInfo(pool)
137- let lastInterestHeight = $t071667231._1
138- let lastInterest = $t071667231._2
139- let $t072367324 = rewardInfo(pool)
140- let currentRewardPerBlock = $t072367324._1
141- let rewardUpdateHeight = $t072367324._2
142- let previousRewardPerBlock = $t072367324._3
143- let $t073297408 = getUserInterestInfo(pool, caller)
144- let userLastInterest = $t073297408._1
145- let userShareTokensAmount = $t073297408._2
136+ let $t071647229 = getLastInterestInfo(pool)
137+ let lastInterestHeight = $t071647229._1
138+ let lastInterest = $t071647229._2
139+ let $t072347322 = rewardInfo(pool)
140+ let currentRewardPerBlock = $t072347322._1
141+ let rewardUpdateHeight = $t072347322._2
142+ let previousRewardPerBlock = $t072347322._3
143+ let $t073277406 = getUserInterestInfo(pool, caller)
144+ let userLastInterest = $t073277406._1
145+ let userShareTokensAmount = $t073277406._2
146146 let currentInterest = calcInterest(lastInterestHeight, rewardUpdateHeight, lastInterest, currentRewardPerBlock, shareTokenLocked, previousRewardPerBlock, shareAssetId, scaleValue, pmtAmount)
147147 let claimAmount = fraction(userShareTokensAmount, (currentInterest - userLastInterest), scaleValue)
148148 let userNewInterest = currentInterest
149149 $Tuple4(userNewInterest, currentInterest, claimAmount, userShareTokensAmount)
150150 }
151151
152152
153153 func checkPmtAssetIdCorrect (pool,pmtAssetId) = {
154154 let poolShareAssetId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
155155 if ((pmtAssetId == poolShareAssetId))
156156 then true
157157 else false
158158 }
159159
160160
161161 func getUserSWOPClaimedAmount (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyUserSWOPClaimedAmount)), 0)
162162
163163
164164 @Callable(i)
165165 func init (earlyLP) = if (isDefined(getString(this, "keySWOPid")))
166166 then throw("SWOP already initialized")
167167 else {
168168 let initAmount = 100000000000000
169169 let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true)
170170 let SWOPid = calculateAssetId(SWOPissue)
171171 nil
172172 }
173173
174174
175175
176176 @Callable(i)
177177 func initPoolShareFarming (pool) = {
178- let $t089469026 = rewardInfo(pool)
179- let currentReward = $t089469026._1
180- let rewardUpdateHeight = $t089469026._2
181- let previousRewardPerBlock = $t089469026._3
178+ let $t089449024 = rewardInfo(pool)
179+ let currentReward = $t089449024._1
180+ let rewardUpdateHeight = $t089449024._2
181+ let previousRewardPerBlock = $t089449024._3
182182 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyRewardPoolFractionCurrent), currentReward), IntegerEntry((pool + keyRewardUpdateHeight), rewardUpdateHeight), IntegerEntry((pool + keyRewardPoolFractionPrevious), previousRewardPerBlock)]
183183 }
184184
185185
186186
187187 @Callable(i)
188188 func lockShareTokens (pool) = {
189- let $t094299504 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
190- let pmtAmount = $t094299504._1
191- let pmtAssetId = $t094299504._2
189+ let $t094279502 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
190+ let pmtAmount = $t094279502._1
191+ let pmtAssetId = $t094279502._2
192192 if ((farmingStartHeight > height))
193193 then if (!(checkPmtAssetIdCorrect(pool, pmtAssetId)))
194194 then throw("Incorrect pmtAssetId")
195195 else {
196196 let userShareTokensAmount = valueOrElse(getInteger(this, (((pool + "_") + toString(i.caller)) + keyUserShareTokensLocked)), 0)
197197 let userNewInterest = 0
198198 let userShareAmountNew = (userShareTokensAmount + pmtAmount)
199199 let totalShareAmount = getTotalShareTokenLocked(pool)
200200 let totalShareAmountNew = (totalShareAmount + pmtAmount)
201201 [IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserLastInterest), userNewInterest), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserShareTokensLocked), userShareAmountNew), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyShareTokensLocked), totalShareAmountNew), IntegerEntry((((pool + "_") + toString(i.caller)) + keyAvailableSWOP), 0)]
202202 }
203203 else if (!(checkPmtAssetIdCorrect(pool, pmtAssetId)))
204204 then throw("Incorrect pmtAssetId")
205205 else {
206- let $t01053110639 = claimCalc(pool, i.caller, pmtAmount)
207- let userNewInterest = $t01053110639._1
208- let currentInterest = $t01053110639._2
209- let claimAmount = $t01053110639._3
210- let userShareTokensAmount = $t01053110639._4
206+ let $t01052910637 = claimCalc(pool, i.caller, pmtAmount)
207+ let userNewInterest = $t01052910637._1
208+ let currentInterest = $t01052910637._2
209+ let claimAmount = $t01052910637._3
210+ let userShareTokensAmount = $t01052910637._4
211211 let userShareAmountNew = (userShareTokensAmount + pmtAmount)
212212 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
213213 let totalShareAmount = getTotalShareTokenLocked(pool)
214214 let totalShareAmountNew = (totalShareAmount + pmtAmount)
215215 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
216216 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
217217 [IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserLastInterest), userNewInterest), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserShareTokensLocked), userShareAmountNew), IntegerEntry((pool + keyLastInterest), currentInterest), IntegerEntry((pool + keyLastInterestHeight), height), IntegerEntry((pool + keyShareTokensLocked), totalShareAmountNew), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserSWOPLastClaimedAmount), claimAmount), IntegerEntry((((pool + "_") + toString(i.caller)) + keyAvailableSWOP), availableFundsNew)]
218218 }
219219 }
220220
221221
222222
223223 @Callable(i)
224224 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = {
225225 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
226226 if ((farmingStartHeight > height))
227227 then {
228228 let userShareTokensAmount = valueOrElse(getInteger(this, (((pool + "_") + toString(i.caller)) + keyUserShareTokensLocked)), 0)
229229 if ((shareTokensWithdrawAmount > userShareTokensAmount))
230230 then throw("Withdraw amount more then user locked amount")
231231 else {
232232 let userNewInterest = 0
233233 let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount)
234234 let totalShareAmount = getTotalShareTokenLocked(pool)
235235 let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount)
236236 [IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserLastInterest), userNewInterest), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserShareTokensLocked), userShareAmountNew), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyShareTokensLocked), totalShareAmountNew), IntegerEntry((((pool + "_") + toString(i.caller)) + keyAvailableSWOP), 0), ScriptTransfer(i.caller, shareTokensWithdrawAmount, shareTokensId)]
237237 }
238238 }
239239 else {
240- let $t01306513165 = claimCalc(pool, i.caller, 1)
241- let userNewInterest = $t01306513165._1
242- let currentInterest = $t01306513165._2
243- let claimAmount = $t01306513165._3
244- let userShareTokensAmount = $t01306513165._4
240+ let $t01306313163 = claimCalc(pool, i.caller, 1)
241+ let userNewInterest = $t01306313163._1
242+ let currentInterest = $t01306313163._2
243+ let claimAmount = $t01306313163._3
244+ let userShareTokensAmount = $t01306313163._4
245245 if ((shareTokensWithdrawAmount > userShareTokensAmount))
246246 then throw("Withdraw amount more then user locked amount")
247247 else {
248248 let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount)
249249 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
250250 let totalShareAmount = getTotalShareTokenLocked(pool)
251251 let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount)
252252 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
253253 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
254254 [IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserLastInterest), userNewInterest), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserShareTokensLocked), userShareAmountNew), IntegerEntry((pool + keyLastInterest), currentInterest), IntegerEntry((pool + keyLastInterestHeight), height), IntegerEntry((pool + keyShareTokensLocked), totalShareAmountNew), IntegerEntry((((pool + "_") + toString(i.caller)) + keyAvailableSWOP), availableFundsNew), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, shareTokensWithdrawAmount, shareTokensId)]
255255 }
256256 }
257257 }
258258
259259
260260
261261 @Callable(i)
262262 func claim (pool) = if ((farmingStartHeight > height))
263263 then throw((("This method will be active after " + toString(farmingStartHeight)) + " height"))
264264 else {
265265 let shareTokenLocked = getTotalShareTokenLocked(pool)
266- let $t01478914854 = getLastInterestInfo(pool)
267- let lastInterestHeight = $t01478914854._1
268- let lastInterest = $t01478914854._2
269- let $t01485914948 = rewardInfo(pool)
270- let currentRewardPerBlock = $t01485914948._1
271- let rewardUpdateHeight = $t01485914948._2
272- let previousRewardPerBlock = $t01485914948._3
273- let $t01495315053 = claimCalc(pool, i.caller, 1)
274- let userNewInterest = $t01495315053._1
275- let currentInterest = $t01495315053._2
276- let claimAmount = $t01495315053._3
277- let userShareTokensAmount = $t01495315053._4
266+ let $t01478714852 = getLastInterestInfo(pool)
267+ let lastInterestHeight = $t01478714852._1
268+ let lastInterest = $t01478714852._2
269+ let $t01485714946 = rewardInfo(pool)
270+ let currentRewardPerBlock = $t01485714946._1
271+ let rewardUpdateHeight = $t01485714946._2
272+ let previousRewardPerBlock = $t01485714946._3
273+ let $t01495115051 = claimCalc(pool, i.caller, 1)
274+ let userNewInterest = $t01495115051._1
275+ let currentInterest = $t01495115051._2
276+ let claimAmount = $t01495115051._3
277+ let userShareTokensAmount = $t01495115051._4
278278 let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount)
279279 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
280280 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
281281 if ((availableFund == 0))
282282 then throw("You have 0 available SWOP")
283283 else [IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterest), currentInterest), IntegerEntry((pool + keyLastInterestHeight), height), IntegerEntry((((pool + "_") + toString(i.caller)) + keyAvailableSWOP), 0), Reissue(SWOP, availableFund, true), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, availableFund, SWOP)]
284284 }
285285
286286

github/deemru/w8io/169f3d6 
69.13 ms