tx · 4TuVx77Gw9N4vsNGS4WkvzxxuBPMPnHnT2qiAcnwdaYZ

3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT:  -0.01400000 Waves

2021.06.08 16:03 [1561414] smart account 3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT > SELF 0.00000000 Waves

{ "type": 13, "id": "4TuVx77Gw9N4vsNGS4WkvzxxuBPMPnHnT2qiAcnwdaYZ", "fee": 1400000, "feeAssetId": null, "timestamp": 1623157473002, "version": 2, "chainId": 84, "sender": "3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT", "senderPublicKey": "3ijdmxaYrpDFsKVbQH2kvB7i6JzHj9bep9bGWiQPra2D", "proofs": [ "2smM8KCPxs7jLdZvdsE6UcXznQjQBDGAdD6adb9VmPyviCwVF1SUsebXi8H4Z7zBpKwRyrPLafmdQQQK3NqLK4QZ" ], "script": "base64:AAIEAAAAAAAAACEIAhIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggBEgMKAQgAAABUAAAAAAxhZG1pblB1YktleTEBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTIBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTMBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAC2tTaGFyZUxpbWl0AgAAABxzaGFyZV9saW1pdF9vbl9maXJzdF9oYXJ2ZXN0AAAAABxrZXlSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50AgAAAB1fY3VycmVudF9wb29sX2ZyYWN0aW9uX3Jld2FyZAAAAAAda2V5UmV3YXJkUG9vbEZyYWN0aW9uUHJldmlvdXMCAAAAHl9wcmV2aW91c19wb29sX2ZyYWN0aW9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bGFpbWVkQW1vdW50TmV3CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAARwb29sAgAAAAFfCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgUAAAAca2V5VXNlclNXT1BMYXN0Q2xhaW1lZEFtb3VudAUAAAALY2xhaW1BbW91bnQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAA1hdmFpbGFibGVGdW5kBQAAAARTV09QBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkDJxf2", "height": 1561414, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4ZzKWWxeVCpKBDFrfkRRmziHWh5aGSzhY2D3sXNst7B6 Next: 8m8qDvUyiPewjxwFuGJvuW1cdPwMS1BW5PZb4n1srt4d Diff:
OldNewDifferences
385385 let rewardUpdateHeight = $t01511615219._2
386386 let previousRewardPerBlock = $t01511615219._3
387387 let poolRewardUpdateHeight = $t01511615219._4
388-[IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)]
388+[IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)]
389389 }
390390
391391
392392
393393 @Callable(i)
394394 func lockShareTokens (pool) = {
395- let $t01546515540 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
396- let pmtAmount = $t01546515540._1
397- let pmtAssetId = $t01546515540._2
398- let $t01554515618 = getAssetInfo(pmtAssetId)
399- let pmtStrAssetId = $t01554515618._1
400- let pmtAssetName = $t01554515618._2
401- let pmtDecimals = $t01554515618._3
402- let $t01562315731 = claimCalc(pool, i.caller, pmtAmount)
403- let userNewInterest = $t01562315731._1
404- let currentInterest = $t01562315731._2
405- let claimAmount = $t01562315731._3
406- let userShareTokensAmount = $t01562315731._4
395+ let $t01546615541 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
396+ let pmtAmount = $t01546615541._1
397+ let pmtAssetId = $t01546615541._2
398+ let $t01554615619 = getAssetInfo(pmtAssetId)
399+ let pmtStrAssetId = $t01554615619._1
400+ let pmtAssetName = $t01554615619._2
401+ let pmtDecimals = $t01554615619._3
402+ let $t01562415732 = claimCalc(pool, i.caller, pmtAmount)
403+ let userNewInterest = $t01562415732._1
404+ let currentInterest = $t01562415732._2
405+ let claimAmount = $t01562415732._3
406+ let userShareTokensAmount = $t01562415732._4
407407 let userShareAmountNew = (userShareTokensAmount + pmtAmount)
408408 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
409409 let totalShareAmount = getTotalShareTokenLocked(pool)
460460 @Callable(i)
461461 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = {
462462 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
463- let $t02002620126 = claimCalc(pool, i.caller, 1)
464- let userNewInterest = $t02002620126._1
465- let currentInterest = $t02002620126._2
466- let claimAmount = $t02002620126._3
467- let userShareTokensAmount = $t02002620126._4
463+ let $t02002720127 = claimCalc(pool, i.caller, 1)
464+ let userNewInterest = $t02002720127._1
465+ let currentInterest = $t02002720127._2
466+ let claimAmount = $t02002720127._3
467+ let userShareTokensAmount = $t02002720127._4
468468 let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount)
469469 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
470470 let totalShareAmount = getTotalShareTokenLocked(pool)
481481 @Callable(i)
482482 func claim (pool) = {
483483 let shareTokenLocked = getTotalShareTokenLocked(pool)
484- let $t02163921704 = getLastInterestInfo(pool)
485- let lastInterestHeight = $t02163921704._1
486- let lastInterest = $t02163921704._2
487- let $t02170921821 = rewardInfo(pool)
488- let currentRewardPerBlock = $t02170921821._1
489- let rewardUpdateHeight = $t02170921821._2
490- let previousRewardPerBlock = $t02170921821._3
491- let poolRewardUpdateHeight = $t02170921821._4
492- let $t02182621926 = claimCalc(pool, i.caller, 1)
493- let userNewInterest = $t02182621926._1
494- let currentInterest = $t02182621926._2
495- let claimAmount = $t02182621926._3
496- let userShareTokensAmount = $t02182621926._4
484+ let $t02164021705 = getLastInterestInfo(pool)
485+ let lastInterestHeight = $t02164021705._1
486+ let lastInterest = $t02164021705._2
487+ let $t02171021822 = rewardInfo(pool)
488+ let currentRewardPerBlock = $t02171021822._1
489+ let rewardUpdateHeight = $t02171021822._2
490+ let previousRewardPerBlock = $t02171021822._3
491+ let poolRewardUpdateHeight = $t02171021822._4
492+ let $t02182721927 = claimCalc(pool, i.caller, 1)
493+ let userNewInterest = $t02182721927._1
494+ let currentInterest = $t02182721927._2
495+ let claimAmount = $t02182721927._3
496+ let userShareTokensAmount = $t02182721927._4
497497 let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount)
498498 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
499499 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let adminPubKey1 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
55
66 let adminPubKey2 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
77
88 let adminPubKey3 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
99
1010 let keyShareTokensLocked = "_total_share_tokens_locked"
1111
1212 let kShareLimit = "share_limit_on_first_harvest"
1313
1414 let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward"
1515
1616 let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward"
1717
1818 let keyHeightPoolFraction = "_reward_update_height"
1919
2020 let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current"
2121
2222 let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous"
2323
2424 let keyRewardUpdateHeight = "reward_update_height"
2525
2626 let keyLastInterest = "_last_interest"
2727
2828 let keyLastInterestHeight = "_last_interest_height"
2929
3030 let keyUserShareTokensLocked = "_share_tokens_locked"
3131
3232 let keyUserLastInterest = "_last_interest"
3333
3434 let keySWOPid = "SWOP_id"
3535
3636 let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount"
3737
3838 let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount"
3939
4040 let keyAvailableSWOP = "_available_SWOP"
4141
4242 let keyFarmingStartHeight = "farming_start_height"
4343
4444 let keyAPY = "apy"
4545
4646 let kPreviousTotalVoteSWOP = "previous_total_vote_SWOP"
4747
4848 let keySwopYearEmission = "swop_year_emission"
4949
5050 let keyBalancecpmmA = "A_asset_balance"
5151
5252 let keyBalancecpmmB = "B_asset_balance"
5353
5454 let kHarvestPoolActiveVoteStrucVoting = "_harvest_pool_activeVote_struc"
5555
5656 let kHarvestUserPoolActiveVoteStrucVoting = "_harvest_user_pool_activeVote_struc"
5757
5858 let keyLimitShareFirstHarvest = "share_limit_on_first_harvest"
5959
6060 let keyAssetIdA = "A_asset_id"
6161
6262 let keyAssetIdB = "B_asset_id"
6363
6464 let keyFirstHarvestHeight = "first_harvest_height"
6565
6666 let keyfirstHarvestCpmm = "first_harvest"
6767
6868 let governanceAddress = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU')
6969
7070 let wallet = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7171
7272 let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
7373
7474 let adminIncreaseInterestAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7575
7676 let oneWeekInBlock = 10106
7777
7878 let totalVoteShare = 10000000000
7979
8080 let scaleValue1 = 10
8181
8282 let scaleValue3 = 1000
8383
8484 let scaleValue5 = 100000
8585
8686 let scaleValue6 = 1000000
8787
8888 let scaleValue8 = 100000000
8989
9090 let scaleValue11 = 100000000000
9191
9292 func strAssetIdA (pool) = getStringValue(pool, keyAssetIdA)
9393
9494
9595 func strAssetIdB (pool) = getStringValue(pool, keyAssetIdB)
9696
9797
9898 func assetIdA (pool) = if ((strAssetIdA(pool) == "WAVES"))
9999 then unit
100100 else fromBase58String(strAssetIdA(pool))
101101
102102
103103 func assetIdB (pool) = if ((strAssetIdB(pool) == "WAVES"))
104104 then unit
105105 else fromBase58String(strAssetIdB(pool))
106106
107107
108108 let kBasePeriod = "base_period"
109109
110110 let kPeriodLength = "period_length"
111111
112112 let kStartHeight = "start_height"
113113
114114 let kFirstHarvestHeight = "first_harvest_height"
115115
116116 let kDurationFullVotePower = "duration_full_vote_power"
117117
118118 let kMinVotePower = "min_vote_power"
119119
120120 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
121121
122122 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
123123
124124 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
125125
126126 let durationFullVotePower = valueOrErrorMessage(getInteger(votingAddress, kDurationFullVotePower), "Empty kDurationFullVotePower")
127127
128128 let minVotePower = valueOrErrorMessage(getInteger(votingAddress, kMinVotePower), "Empty kMinVotePower")
129129
130130 let currPeriod = (basePeriod + ((height - startHeight) / periodLength))
131131
132132 func getLimitToken (pool) = valueOrElse(getIntegerValue(pool, keyLimitShareFirstHarvest), 0)
133133
134134
135135 let APY = getIntegerValue(this, keyAPY)
136136
137137 let SwopYearEmission = getIntegerValue(this, keySwopYearEmission)
138138
139139 func assetNameA (pool) = match assetIdA(pool) {
140140 case id: ByteVector =>
141141 value(assetInfo(id)).name
142142 case waves: Unit =>
143143 "WAVES"
144144 case _ =>
145145 throw("Match error")
146146 }
147147
148148
149149 func assetNameB (pool) = match assetIdB(pool) {
150150 case id: ByteVector =>
151151 value(assetInfo(id)).name
152152 case waves: Unit =>
153153 "WAVES"
154154 case _ =>
155155 throw("Match error")
156156 }
157157
158158
159159 let SWOP = fromBase58String(getStringValue(this, keySWOPid))
160160
161161 func isFirstHarvest (pool) = valueOrElse(getBoolean(pool, keyfirstHarvestCpmm), false)
162162
163163
164164 func getHeightFirstHarvest (pool) = valueOrElse(getInteger(pool, keyFirstHarvestHeight), 0)
165165
166166
167167 func getBalanceA (pool) = valueOrErrorMessage(getInteger(pool, keyBalancecpmmA), ("No data on the key: " + keyBalancecpmmA))
168168
169169
170170 func getBalanceB (pool) = valueOrErrorMessage(getInteger(pool, keyBalancecpmmB), ("No data on the key: " + keyBalancecpmmB))
171171
172172
173173 func getShareLimitToken (pool) = valueOrErrorMessage(getInteger(pool, kShareLimit), ("No data on the key: " + kShareLimit))
174174
175175
176176 func getTotalShareTokenLocked (pool) = valueOrErrorMessage(getInteger(this, (pool + keyShareTokensLocked)), (("No data on the key: " + pool) + keyShareTokensLocked))
177177
178178
179179 func getShareAssetId (pool) = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
180180
181181
182182 func getAssetInfo (assetId) = match assetId {
183183 case id: ByteVector =>
184184 let stringId = toBase58String(id)
185185 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
186186 $Tuple3(stringId, info.name, info.decimals)
187187 case waves: Unit =>
188188 $Tuple3("WAVES", "WAVES", 8)
189189 case _ =>
190190 throw("Match error")
191191 }
192192
193193
194194 func calcScaleValue (assetId1,assetId2) = {
195195 let assetId1Decimals = value(assetInfo(assetId1)).decimals
196196 let assetId2Decimals = value(assetInfo(assetId2)).decimals
197197 let scaleDigits = ((assetId2Decimals - assetId1Decimals) + 8)
198198 pow(10, 0, scaleDigits, 0, 0, HALFDOWN)
199199 }
200200
201201
202202 func userAvailableSWOP (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyAvailableSWOP)), 0)
203203
204204
205205 func rewardInfo (pool) = {
206206 let totalRewardPerBlockCurrent = valueOrErrorMessage(getInteger(governanceAddress, keyTotalRewardPerBlockCurrent), ((("No data on the key: " + keyTotalRewardPerBlockCurrent) + " at address ") + toString(governanceAddress)))
207207 let totalRewardPerBlockPrevious = valueOrErrorMessage(getInteger(governanceAddress, keyTotalRewardPerBlockPrevious), ((("No data on the key: " + keyTotalRewardPerBlockPrevious) + " at address ") + toString(governanceAddress)))
208208 let rewardPoolFractionCurrent = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyRewardPoolFractionCurrent)), (((("No data on the key: " + pool) + keyRewardPoolFractionCurrent) + " at address ") + toString(governanceAddress)))
209209 let rewardUpdateHeight = valueOrErrorMessage(getInteger(governanceAddress, keyRewardUpdateHeight), ((("No data on the key: " + keyRewardUpdateHeight) + " at address ") + toString(governanceAddress)))
210210 let poolRewardUpdateHeight = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyHeightPoolFraction)), (((("No data on the key: " + pool) + keyHeightPoolFraction) + " at address ") + toString(governanceAddress)))
211211 let rewardPoolFractionPrevious = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyRewardPoolFractionPrevious)), (((("No data on the key: " + pool) + keyRewardPoolFractionPrevious) + " at address ") + toString(governanceAddress)))
212212 let rewardPoolCurrent = fraction(totalRewardPerBlockCurrent, rewardPoolFractionCurrent, totalVoteShare)
213213 let rewardPoolPrevious = fraction(totalRewardPerBlockPrevious, rewardPoolFractionPrevious, totalVoteShare)
214214 if (if ((rewardPoolCurrent > totalRewardPerBlockCurrent))
215215 then true
216216 else (rewardPoolPrevious > totalRewardPerBlockPrevious))
217217 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
218218 else $Tuple4(rewardPoolCurrent, rewardUpdateHeight, rewardPoolPrevious, poolRewardUpdateHeight)
219219 }
220220
221221
222222 func getLastInterestInfo (pool) = {
223223 let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest))
224224 let lastInterestHeight = valueOrElse(getInteger(this, (pool + keyLastInterestHeight)), height)
225225 $Tuple2(lastInterestHeight, lastInterest)
226226 }
227227
228228
229229 func getUserInterestInfo (pool,userAddress) = {
230230 let userLastInterest = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserLastInterest))
231231 let userShare = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserShareTokensLocked))
232232 let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest))
233233 let userLastInterestValue = match userLastInterest {
234234 case userLastInterest: Int =>
235235 userLastInterest
236236 case _ =>
237237 lastInterest
238238 }
239239 let userShareTokensAmount = match userShare {
240240 case userShare: Int =>
241241 userShare
242242 case _ =>
243243 0
244244 }
245245 $Tuple2(userLastInterestValue, userShareTokensAmount)
246246 }
247247
248248
249249 func calcInterest (lastInterestHeight,rewardUpdateHeight,poolRewardUpdateHeight,lastInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,shareAssetId,scaleValue,pmtAmount) = if ((shareTokenLocked == 0))
250250 then 0
251251 else if (if ((rewardUpdateHeight >= height))
252252 then (rewardUpdateHeight == poolRewardUpdateHeight)
253253 else false)
254254 then {
255255 let reward = (currentRewardPerBlock * (height - lastInterestHeight))
256256 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
257257 }
258258 else if (if ((height > rewardUpdateHeight))
259259 then (rewardUpdateHeight == poolRewardUpdateHeight)
260260 else false)
261261 then {
262262 let reward = (currentRewardPerBlock * (height - lastInterestHeight))
263263 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
264264 }
265265 else if (if ((height > rewardUpdateHeight))
266266 then (rewardUpdateHeight != poolRewardUpdateHeight)
267267 else false)
268268 then {
269269 let reward = (previousRewardPerBlock * (height - lastInterestHeight))
270270 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
271271 }
272272 else if ((lastInterestHeight > rewardUpdateHeight))
273273 then {
274274 let reward = (currentRewardPerBlock * (height - lastInterestHeight))
275275 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
276276 }
277277 else {
278278 let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
279279 let interestAfterUpdate = (lastInterest + fraction(rewardAfterLastInterestBeforeReawardUpdate, scaleValue, shareTokenLocked))
280280 let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
281281 (interestAfterUpdate + fraction(reward, scaleValue, shareTokenLocked))
282282 }
283283
284284
285285 func claimCalc (pool,caller,pmtAmount) = {
286286 let shareAssetId = getShareAssetId(pool)
287287 let scaleValue = calcScaleValue(SWOP, shareAssetId)
288288 let shareTokenLocked = getTotalShareTokenLocked(pool)
289289 let $t01185711922 = getLastInterestInfo(pool)
290290 let lastInterestHeight = $t01185711922._1
291291 let lastInterest = $t01185711922._2
292292 let $t01192712039 = rewardInfo(pool)
293293 let currentRewardPerBlock = $t01192712039._1
294294 let rewardUpdateHeight = $t01192712039._2
295295 let previousRewardPerBlock = $t01192712039._3
296296 let poolRewardUpdateHeight = $t01192712039._4
297297 let $t01204412123 = getUserInterestInfo(pool, caller)
298298 let userLastInterest = $t01204412123._1
299299 let userShareTokensAmount = $t01204412123._2
300300 let currentInterest = calcInterest(lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, lastInterest, currentRewardPerBlock, shareTokenLocked, previousRewardPerBlock, shareAssetId, scaleValue, pmtAmount)
301301 let claimAmount = fraction(userShareTokensAmount, (currentInterest - userLastInterest), scaleValue)
302302 let userNewInterest = currentInterest
303303 $Tuple4(userNewInterest, currentInterest, claimAmount, userShareTokensAmount)
304304 }
305305
306306
307307 func calculateProtocolReward (pool) = {
308308 let $t01261912684 = getLastInterestInfo(pool)
309309 let lastInterestHeight = $t01261912684._1
310310 let lastInterest = $t01261912684._2
311311 let $t01268912800 = rewardInfo(pool)
312312 let currentRewardPerBlock = $t01268912800._1
313313 let rewardUpdateHeight = $t01268912800._2
314314 let previousRewardPerBlock = $t01268912800._3
315315 let poolRewardUpdateHeight = $t01268912800._4
316316 let shareTokenLocked = getTotalShareTokenLocked(pool)
317317 if ((shareTokenLocked == 0))
318318 then if ((rewardUpdateHeight > height))
319319 then {
320320 let reward = (previousRewardPerBlock * (height - lastInterestHeight))
321321 reward
322322 }
323323 else if ((lastInterestHeight > rewardUpdateHeight))
324324 then {
325325 let reward = (currentRewardPerBlock * (height - lastInterestHeight))
326326 reward
327327 }
328328 else {
329329 let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
330330 let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
331331 (reward + rewardAfterLastInterestBeforeReawardUpdate)
332332 }
333333 else 0
334334 }
335335
336336
337337 func checkPmtAssetIdCorrect (pool,pmtAssetId) = {
338338 let poolShareAssetId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
339339 if ((pmtAssetId == poolShareAssetId))
340340 then true
341341 else false
342342 }
343343
344344
345345 func getUserSWOPClaimedAmount (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyUserSWOPClaimedAmount)), 0)
346346
347347
348348 @Callable(i)
349349 func init (earlyLP) = if (isDefined(getString(this, keySWOPid)))
350350 then throw("SWOP already initialized")
351351 else {
352352 let initAmount = 100000000000000
353353 let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true)
354354 let SWOPid = calculateAssetId(SWOPissue)
355355 [Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(keySWOPid, toBase58String(SWOPid))]
356356 }
357357
358358
359359
360360 @Callable(i)
361361 func initPoolShareFarming (pool) = if ((i.caller != this))
362362 then throw("Only the DApp itself can call this function")
363363 else {
364364 let $t01455014653 = rewardInfo(pool)
365365 let currentReward = $t01455014653._1
366366 let rewardUpdateHeight = $t01455014653._2
367367 let previousRewardPerBlock = $t01455014653._3
368368 let poolRewardUpdateHeight = $t01455014653._4
369369 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyLastInterestHeight), height)]
370370 }
371371
372372
373373
374374 @Callable(i)
375375 func updatePoolInterest (pool) = if ((i.caller != wallet))
376376 then throw("Only the Admin itself can call this function")
377377 else {
378378 let $t01499115111 = claimCalc(pool, adminIncreaseInterestAddress, 0)
379379 let userNewInterest = $t01499115111._1
380380 let currentInterest = $t01499115111._2
381381 let claimAmount = $t01499115111._3
382382 let userShareTokensAmount = $t01499115111._4
383383 let $t01511615219 = rewardInfo(pool)
384384 let currentReward = $t01511615219._1
385385 let rewardUpdateHeight = $t01511615219._2
386386 let previousRewardPerBlock = $t01511615219._3
387387 let poolRewardUpdateHeight = $t01511615219._4
388-[IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)]
388+[IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)]
389389 }
390390
391391
392392
393393 @Callable(i)
394394 func lockShareTokens (pool) = {
395- let $t01546515540 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
396- let pmtAmount = $t01546515540._1
397- let pmtAssetId = $t01546515540._2
398- let $t01554515618 = getAssetInfo(pmtAssetId)
399- let pmtStrAssetId = $t01554515618._1
400- let pmtAssetName = $t01554515618._2
401- let pmtDecimals = $t01554515618._3
402- let $t01562315731 = claimCalc(pool, i.caller, pmtAmount)
403- let userNewInterest = $t01562315731._1
404- let currentInterest = $t01562315731._2
405- let claimAmount = $t01562315731._3
406- let userShareTokensAmount = $t01562315731._4
395+ let $t01546615541 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
396+ let pmtAmount = $t01546615541._1
397+ let pmtAssetId = $t01546615541._2
398+ let $t01554615619 = getAssetInfo(pmtAssetId)
399+ let pmtStrAssetId = $t01554615619._1
400+ let pmtAssetName = $t01554615619._2
401+ let pmtDecimals = $t01554615619._3
402+ let $t01562415732 = claimCalc(pool, i.caller, pmtAmount)
403+ let userNewInterest = $t01562415732._1
404+ let currentInterest = $t01562415732._2
405+ let claimAmount = $t01562415732._3
406+ let userShareTokensAmount = $t01562415732._4
407407 let userShareAmountNew = (userShareTokensAmount + pmtAmount)
408408 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
409409 let totalShareAmount = getTotalShareTokenLocked(pool)
410410 let totalShareAmountNew = (totalShareAmount + pmtAmount)
411411 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
412412 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
413413 let baseEntry = [IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserLastInterest), userNewInterest), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserShareTokensLocked), userShareAmountNew), IntegerEntry((pool + keyShareTokensLocked), totalShareAmountNew), IntegerEntry((pool + keyLastInterest), currentInterest), IntegerEntry((pool + keyLastInterestHeight), height), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserSWOPLastClaimedAmount), claimAmount), IntegerEntry((((pool + "_") + toString(i.caller)) + keyAvailableSWOP), availableFundsNew)]
414414 if ((0 >= pmtAmount))
415415 then throw("You can't lock token")
416416 else if (!(checkPmtAssetIdCorrect(pool, pmtAssetId)))
417417 then throw("Incorrect pmtAssetId")
418418 else if (if (isFirstHarvest(Address(fromBase58String(pool))))
419419 then (getHeightFirstHarvest(Address(fromBase58String(pool))) > height)
420420 else false)
421421 then {
422422 let harvestPeriod = ((((getHeightFirstHarvest(Address(fromBase58String(pool))) - startHeight) + 1) / periodLength) - 1)
423423 let amountOfVoting = split(getStringValue(votingAddress, (((toString(i.caller) + "_") + pool) + "_user_pool_struc")), "_")
424424 let amountPoolStract = split(getStringValue(votingAddress, (pool + "_pool_struc")), "_")
425425 let amountActiveVoteUserPoolStract = split(valueOrElse(getString(votingAddress, (((toString(i.caller) + "_") + pool) + kHarvestUserPoolActiveVoteStrucVoting)), ""), "_")
426426 let amountPoolActiveVoteStract = split(valueOrElse(getString(votingAddress, (pool + kHarvestPoolActiveVoteStrucVoting)), ""), "_")
427427 let userShareTokenLocked = userShareTokensAmount
428428 let userPoolActiveVote = if ((toString(currPeriod) == amountOfVoting[2]))
429429 then valueOrElse(parseInt(amountActiveVoteUserPoolStract[0]), 0)
430430 else valueOrElse(parseInt(amountOfVoting[1]), 0)
431431 let poolActiveVote = if ((toString(currPeriod) == amountPoolStract[2]))
432432 then valueOrElse(parseInt(amountPoolActiveVoteStract[0]), 0)
433433 else valueOrElse(parseInt(amountPoolStract[1]), 0)
434434 let protocolReward = calculateProtocolReward(pool)
435435 if ((userPoolActiveVote != 0))
436436 then {
437437 let limitShareToken = getShareLimitToken(addressFromStringValue(pool))
438438 let shareToken = (fraction(limitShareToken, userPoolActiveVote, poolActiveVote) - userShareTokenLocked)
439439 if (if ((size(amountActiveVoteUserPoolStract) > 1))
440440 then (valueOrElse(parseInt(amountActiveVoteUserPoolStract[1]), 0) >= harvestPeriod)
441441 else false)
442442 then throw("You can't share token")
443443 else if ((pmtAmount > limitShareToken))
444444 then throw(("You can't share token more than " + toString(limitShareToken)))
445445 else if ((shareToken > 0))
446446 then if ((totalShareAmount == 0))
447447 then (baseEntry ++ [ScriptTransfer(wallet, protocolReward, SWOP)])
448448 else if ((shareToken >= pmtAmount))
449449 then baseEntry
450450 else throw(("Your maximum share token is " + toString(shareToken)))
451451 else throw("You can't share token")
452452 }
453453 else throw("Your amount of token less than 0")
454454 }
455455 else baseEntry
456456 }
457457
458458
459459
460460 @Callable(i)
461461 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = {
462462 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
463- let $t02002620126 = claimCalc(pool, i.caller, 1)
464- let userNewInterest = $t02002620126._1
465- let currentInterest = $t02002620126._2
466- let claimAmount = $t02002620126._3
467- let userShareTokensAmount = $t02002620126._4
463+ let $t02002720127 = claimCalc(pool, i.caller, 1)
464+ let userNewInterest = $t02002720127._1
465+ let currentInterest = $t02002720127._2
466+ let claimAmount = $t02002720127._3
467+ let userShareTokensAmount = $t02002720127._4
468468 let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount)
469469 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
470470 let totalShareAmount = getTotalShareTokenLocked(pool)
471471 let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount)
472472 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
473473 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
474474 if ((shareTokensWithdrawAmount > userShareTokensAmount))
475475 then throw("Withdraw amount more then user locked amount")
476476 else [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)]
477477 }
478478
479479
480480
481481 @Callable(i)
482482 func claim (pool) = {
483483 let shareTokenLocked = getTotalShareTokenLocked(pool)
484- let $t02163921704 = getLastInterestInfo(pool)
485- let lastInterestHeight = $t02163921704._1
486- let lastInterest = $t02163921704._2
487- let $t02170921821 = rewardInfo(pool)
488- let currentRewardPerBlock = $t02170921821._1
489- let rewardUpdateHeight = $t02170921821._2
490- let previousRewardPerBlock = $t02170921821._3
491- let poolRewardUpdateHeight = $t02170921821._4
492- let $t02182621926 = claimCalc(pool, i.caller, 1)
493- let userNewInterest = $t02182621926._1
494- let currentInterest = $t02182621926._2
495- let claimAmount = $t02182621926._3
496- let userShareTokensAmount = $t02182621926._4
484+ let $t02164021705 = getLastInterestInfo(pool)
485+ let lastInterestHeight = $t02164021705._1
486+ let lastInterest = $t02164021705._2
487+ let $t02171021822 = rewardInfo(pool)
488+ let currentRewardPerBlock = $t02171021822._1
489+ let rewardUpdateHeight = $t02171021822._2
490+ let previousRewardPerBlock = $t02171021822._3
491+ let poolRewardUpdateHeight = $t02171021822._4
492+ let $t02182721927 = claimCalc(pool, i.caller, 1)
493+ let userNewInterest = $t02182721927._1
494+ let currentInterest = $t02182721927._2
495+ let claimAmount = $t02182721927._3
496+ let userShareTokensAmount = $t02182721927._4
497497 let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount)
498498 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
499499 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
500500 if ((availableFund == 0))
501501 then throw("You have 0 available SWOP")
502502 else [IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterest), currentInterest), IntegerEntry((pool + keyLastInterestHeight), height), IntegerEntry((((pool + "_") + toString(i.caller)) + keyAvailableSWOP), 0), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((((pool + "_") + toString(i.caller)) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, availableFund, SWOP)]
503503 }
504504
505505
506506 @Verifier(tx)
507507 func verify () = match tx {
508508 case _ =>
509509 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
510510 }
511511

github/deemru/w8io/169f3d6 
83.26 ms