tx · 9NqmNaM7iAQVeN9yr9Gc7mmDvwcM5VuDqYACoVPsFpjQ 3MqFJzfGrz3R75CJjRx3v6vJPZxZTzj9rfS: -0.01400000 Waves 2021.06.20 17:11 [1578798] smart account 3MqFJzfGrz3R75CJjRx3v6vJPZxZTzj9rfS > SELF 0.00000000 Waves
{ "type": 13, "id": "9NqmNaM7iAQVeN9yr9Gc7mmDvwcM5VuDqYACoVPsFpjQ", "fee": 1400000, "feeAssetId": null, "timestamp": 1624198338367, "version": 1, "sender": "3MqFJzfGrz3R75CJjRx3v6vJPZxZTzj9rfS", "senderPublicKey": "FSs4APCwgvcApgQS7kxM7Y8NQdux9CZjTC2pToiKFXSV", "proofs": [ "5S4QWd3o8xP5AkBuMDi4HNbfgQ5URRno8V2TxyaoJszgnhyVZQDU4B5oXH2WteXd1mExoVThGRYYBfEpX33pLf9s" ], "script": "base64:AAIEAAAAAAAAACEIAhIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggBEgMKAQgAAABVAAAAAAxhZG1pblB1YktleTEBAAAAILoJ1zuJWaTRXaD/8bsz0KrhOWkPy+K9kdY77k9eqOATAAAAAAxhZG1pblB1YktleTIBAAAAIMKRRJmz0rC0DSKlkVi9iLyhN7sIy//djOaU71sWDn5AAAAAAAxhZG1pblB1YktleTMBAAAAII4eFy54sQc79EhOejMoYHYod/yZ5ZIwoyDCz6ir6Q5VAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAC2tTaGFyZUxpbWl0AgAAABxzaGFyZV9saW1pdF9vbl9maXJzdF9oYXJ2ZXN0AAAAABxrZXlSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50AgAAAB1fY3VycmVudF9wb29sX2ZyYWN0aW9uX3Jld2FyZAAAAAAda2V5UmV3YXJkUG9vbEZyYWN0aW9uUHJldmlvdXMCAAAAHl9wcmV2aW91c19wb29sX2ZyYWN0aW9uX3Jld2FyZ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dodAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAEcG9vbAIAAAABXwkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAEGtleUF2YWlsYWJsZVNXT1AAAAAAAAAAAAAJAARMAAAAAgkBAAAAB1JlaXNzdWUAAAADBQAAAARTV09QBQAAAA1hdmFpbGFibGVGdW5kBgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAEcG9vbAIAAAABXwkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAGGtleVVzZXJTV09QQ2xhaW1lZEFtb3VudAUAAAAUdXNlckNsYWltZWRBbW91bnROZXcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8JAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABxrZXlVc2VyU1dPUExhc3RDbGFpbWVkQW1vdW50BQAAAAtjbGFpbUFtb3VudAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAADWF2YWlsYWJsZUZ1bmQFAAAABFNXT1AFAAAAA25pbAAAAADjzw1B", "chainId": 84, "height": 1578798, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7UQhSESU5284s1WWePBiBR683whq3Jwq2WGmXn6iSpDz Next: 6amZAVXJz3b5KTAYUhZoNu7B3GhUpwcaCusdJSQ1KkuD Diff:
Old | New | Differences | |
---|---|---|---|
285 | 285 | let currentInterest = calcInterest(lastInterestHeight, rewardUpdateHeight, lastInterest, currentRewardPerBlock, shareTokenLocked, previousRewardPerBlock, shareAssetId, scaleValue, pmtAmount) | |
286 | 286 | let claimAmount = fraction(userShareTokensAmount, (currentInterest - userLastInterest), scaleValue) | |
287 | 287 | let userNewInterest = currentInterest | |
288 | - | if ((fraction(shareTokenLocked, (currentInterest - lastInterest), scaleValue) > (thresholdRewardValue * (height - lastInterestHeight)))) | |
289 | - | then throwRewardCalcError(pool) | |
290 | - | else $Tuple4(userNewInterest, currentInterest, claimAmount, userShareTokensAmount) | |
288 | + | if (true) | |
289 | + | then throw(toString((thresholdRewardValue * (height - lastInterestHeight)))) | |
290 | + | else if ((fraction(shareTokenLocked, (currentInterest - lastInterest), scaleValue) > (thresholdRewardValue * (height - lastInterestHeight)))) | |
291 | + | then throwRewardCalcError(pool) | |
292 | + | else $Tuple4(userNewInterest, currentInterest, claimAmount, userShareTokensAmount) | |
291 | 293 | } | |
292 | 294 | ||
293 | 295 | ||
294 | 296 | func calculateProtocolReward (pool) = { | |
295 | - | let $ | |
296 | - | let lastInterestHeight = $ | |
297 | - | let lastInterest = $ | |
298 | - | let $ | |
299 | - | let currentRewardPerBlock = $ | |
300 | - | let rewardUpdateHeight = $ | |
301 | - | let previousRewardPerBlock = $ | |
297 | + | let $t01224112306 = getLastInterestInfo(pool) | |
298 | + | let lastInterestHeight = $t01224112306._1 | |
299 | + | let lastInterest = $t01224112306._2 | |
300 | + | let $t01231112399 = rewardInfo(pool) | |
301 | + | let currentRewardPerBlock = $t01231112399._1 | |
302 | + | let rewardUpdateHeight = $t01231112399._2 | |
303 | + | let previousRewardPerBlock = $t01231112399._3 | |
302 | 304 | let shareTokenLocked = getTotalShareTokenLocked(pool) | |
303 | 305 | if ((shareTokenLocked == 0)) | |
304 | 306 | then if ((rewardUpdateHeight > height)) | |
347 | 349 | func initPoolShareFarming (pool) = if ((i.caller != this)) | |
348 | 350 | then throw("Only the DApp itself can call this function") | |
349 | 351 | else { | |
350 | - | let $ | |
351 | - | let currentReward = $ | |
352 | - | let rewardUpdateHeight = $ | |
353 | - | let previousRewardPerBlock = $ | |
352 | + | let $t01418514265 = rewardInfo(pool) | |
353 | + | let currentReward = $t01418514265._1 | |
354 | + | let rewardUpdateHeight = $t01418514265._2 | |
355 | + | let previousRewardPerBlock = $t01418514265._3 | |
354 | 356 | [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyLastInterestHeight), height)] | |
355 | 357 | } | |
356 | 358 | ||
358 | 360 | ||
359 | 361 | @Callable(i) | |
360 | 362 | func updatePoolInterest (pool) = { | |
361 | - | let $ | |
362 | - | let userNewInterest = $ | |
363 | - | let currentInterest = $ | |
364 | - | let claimAmount = $ | |
365 | - | let userShareTokensAmount = $ | |
366 | - | let $ | |
367 | - | let currentReward = $ | |
368 | - | let rewardUpdateHeight = $ | |
369 | - | let previousRewardPerBlock = $ | |
363 | + | let $t01450314623 = claimCalc(pool, adminIncreaseInterestAddress, 0) | |
364 | + | let userNewInterest = $t01450314623._1 | |
365 | + | let currentInterest = $t01450314623._2 | |
366 | + | let claimAmount = $t01450314623._3 | |
367 | + | let userShareTokensAmount = $t01450314623._4 | |
368 | + | let $t01462814708 = rewardInfo(pool) | |
369 | + | let currentReward = $t01462814708._1 | |
370 | + | let rewardUpdateHeight = $t01462814708._2 | |
371 | + | let previousRewardPerBlock = $t01462814708._3 | |
370 | 372 | [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)] | |
371 | 373 | } | |
372 | 374 | ||
374 | 376 | ||
375 | 377 | @Callable(i) | |
376 | 378 | func lockShareTokens (pool) = { | |
377 | - | let $ | |
378 | - | let pmtAmount = $ | |
379 | - | let pmtAssetId = $ | |
380 | - | let $ | |
381 | - | let pmtStrAssetId = $ | |
382 | - | let pmtAssetName = $ | |
383 | - | let pmtDecimals = $ | |
384 | - | let $ | |
385 | - | let userNewInterest = $ | |
386 | - | let currentInterest = $ | |
387 | - | let claimAmount = $ | |
388 | - | let userShareTokensAmount = $ | |
379 | + | let $t01495415029 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
380 | + | let pmtAmount = $t01495415029._1 | |
381 | + | let pmtAssetId = $t01495415029._2 | |
382 | + | let $t01503415107 = getAssetInfo(pmtAssetId) | |
383 | + | let pmtStrAssetId = $t01503415107._1 | |
384 | + | let pmtAssetName = $t01503415107._2 | |
385 | + | let pmtDecimals = $t01503415107._3 | |
386 | + | let $t01511215220 = claimCalc(pool, i.caller, pmtAmount) | |
387 | + | let userNewInterest = $t01511215220._1 | |
388 | + | let currentInterest = $t01511215220._2 | |
389 | + | let claimAmount = $t01511215220._3 | |
390 | + | let userShareTokensAmount = $t01511215220._4 | |
389 | 391 | let userShareAmountNew = (userShareTokensAmount + pmtAmount) | |
390 | 392 | let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount) | |
391 | 393 | let totalShareAmount = getTotalShareTokenLocked(pool) | |
442 | 444 | @Callable(i) | |
443 | 445 | func withdrawShareTokens (pool,shareTokensWithdrawAmount) = { | |
444 | 446 | let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id")) | |
445 | - | let $ | |
446 | - | let userNewInterest = $ | |
447 | - | let currentInterest = $ | |
448 | - | let claimAmount = $ | |
449 | - | let userShareTokensAmount = $ | |
447 | + | let $t01941619516 = claimCalc(pool, i.caller, 1) | |
448 | + | let userNewInterest = $t01941619516._1 | |
449 | + | let currentInterest = $t01941619516._2 | |
450 | + | let claimAmount = $t01941619516._3 | |
451 | + | let userShareTokensAmount = $t01941619516._4 | |
450 | 452 | let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount) | |
451 | 453 | let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount) | |
452 | 454 | let totalShareAmount = getTotalShareTokenLocked(pool) | |
463 | 465 | @Callable(i) | |
464 | 466 | func claim (pool) = { | |
465 | 467 | let shareTokenLocked = getTotalShareTokenLocked(pool) | |
466 | - | let $ | |
467 | - | let lastInterestHeight = $ | |
468 | - | let lastInterest = $ | |
469 | - | let $ | |
470 | - | let currentRewardPerBlock = $ | |
471 | - | let rewardUpdateHeight = $ | |
472 | - | let previousRewardPerBlock = $ | |
473 | - | let $ | |
474 | - | let userNewInterest = $ | |
475 | - | let currentInterest = $ | |
476 | - | let claimAmount = $ | |
477 | - | let userShareTokensAmount = $ | |
468 | + | let $t02102921094 = getLastInterestInfo(pool) | |
469 | + | let lastInterestHeight = $t02102921094._1 | |
470 | + | let lastInterest = $t02102921094._2 | |
471 | + | let $t02109921188 = rewardInfo(pool) | |
472 | + | let currentRewardPerBlock = $t02109921188._1 | |
473 | + | let rewardUpdateHeight = $t02109921188._2 | |
474 | + | let previousRewardPerBlock = $t02109921188._3 | |
475 | + | let $t02119321293 = claimCalc(pool, i.caller, 1) | |
476 | + | let userNewInterest = $t02119321293._1 | |
477 | + | let currentInterest = $t02119321293._2 | |
478 | + | let claimAmount = $t02119321293._3 | |
479 | + | let userShareTokensAmount = $t02119321293._4 | |
478 | 480 | let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount) | |
479 | 481 | let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller) | |
480 | 482 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let adminPubKey1 = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA' | |
5 | 5 | ||
6 | 6 | let adminPubKey2 = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7' | |
7 | 7 | ||
8 | 8 | let adminPubKey3 = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ' | |
9 | 9 | ||
10 | 10 | let keyShareTokensLocked = "_total_share_tokens_locked" | |
11 | 11 | ||
12 | 12 | let kShareLimit = "share_limit_on_first_harvest" | |
13 | 13 | ||
14 | 14 | let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward" | |
15 | 15 | ||
16 | 16 | let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward" | |
17 | 17 | ||
18 | 18 | let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current" | |
19 | 19 | ||
20 | 20 | let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous" | |
21 | 21 | ||
22 | 22 | let keyRewardUpdateHeight = "reward_update_height" | |
23 | 23 | ||
24 | 24 | let keyLastInterest = "_last_interest" | |
25 | 25 | ||
26 | 26 | let keyLastInterestHeight = "_last_interest_height" | |
27 | 27 | ||
28 | 28 | let keyUserShareTokensLocked = "_share_tokens_locked" | |
29 | 29 | ||
30 | 30 | let keyUserLastInterest = "_last_interest" | |
31 | 31 | ||
32 | 32 | let keySWOPid = "SWOP_id" | |
33 | 33 | ||
34 | 34 | let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount" | |
35 | 35 | ||
36 | 36 | let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount" | |
37 | 37 | ||
38 | 38 | let keyAvailableSWOP = "_available_SWOP" | |
39 | 39 | ||
40 | 40 | let keyFarmingStartHeight = "farming_start_height" | |
41 | 41 | ||
42 | 42 | let keyAPY = "apy" | |
43 | 43 | ||
44 | 44 | let kPreviousTotalVoteSWOP = "previous_total_vote_SWOP" | |
45 | 45 | ||
46 | 46 | let keySwopYearEmission = "swop_year_emission" | |
47 | 47 | ||
48 | 48 | let keyBalancecpmmA = "A_asset_balance" | |
49 | 49 | ||
50 | 50 | let keyBalancecpmmB = "B_asset_balance" | |
51 | 51 | ||
52 | 52 | let kHarvestPoolActiveVoteStrucVoting = "_harvest_pool_activeVote_struc" | |
53 | 53 | ||
54 | 54 | let kHarvestUserPoolActiveVoteStrucVoting = "_harvest_user_pool_activeVote_struc" | |
55 | 55 | ||
56 | 56 | let keyLimitShareFirstHarvest = "share_limit_on_first_harvest" | |
57 | 57 | ||
58 | 58 | let keyAssetIdA = "A_asset_id" | |
59 | 59 | ||
60 | 60 | let keyAssetIdB = "B_asset_id" | |
61 | 61 | ||
62 | 62 | let keyFirstHarvestHeight = "first_harvest_height" | |
63 | 63 | ||
64 | 64 | let keyfirstHarvestCpmm = "first_harvest" | |
65 | 65 | ||
66 | 66 | let governanceAddress = Address(base58'3MqhxbxHEMtp2Rwy1gUb6cPSJHQepdap1Yp') | |
67 | 67 | ||
68 | 68 | let wallet = Address(base58'3P6J84oH51DzY6xk2mT5TheXRbrCwBMxonp') | |
69 | 69 | ||
70 | 70 | let votingAddress = Address(base58'3PQZWxShKGRgBN1qoJw6B4s9YWS9FneZTPg') | |
71 | 71 | ||
72 | 72 | let adminIncreaseInterestAddress = Address(base58'3PPupsBVHgDXaRhyMbkTxminzAotp8AMsr6') | |
73 | 73 | ||
74 | 74 | let oneWeekInBlock = 10106 | |
75 | 75 | ||
76 | 76 | let thresholdRewardValue = 190000000 | |
77 | 77 | ||
78 | 78 | let totalVoteShare = 10000000000 | |
79 | 79 | ||
80 | 80 | let scaleValue1 = 10 | |
81 | 81 | ||
82 | 82 | let scaleValue3 = 1000 | |
83 | 83 | ||
84 | 84 | let scaleValue5 = 100000 | |
85 | 85 | ||
86 | 86 | let scaleValue6 = 1000000 | |
87 | 87 | ||
88 | 88 | let scaleValue8 = 100000000 | |
89 | 89 | ||
90 | 90 | let scaleValue11 = 100000000000 | |
91 | 91 | ||
92 | 92 | func strAssetIdA (pool) = valueOrErrorMessage(getStringValue(pool, keyAssetIdA), "Empty keyAssetIdA") | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func strAssetIdB (pool) = valueOrErrorMessage(getStringValue(pool, keyAssetIdB), "Empty keyAssetIdB") | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func assetIdA (pool) = if ((strAssetIdA(pool) == "WAVES")) | |
99 | 99 | then unit | |
100 | 100 | else fromBase58String(strAssetIdA(pool)) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func assetIdB (pool) = if ((strAssetIdB(pool) == "WAVES")) | |
104 | 104 | then unit | |
105 | 105 | else fromBase58String(strAssetIdB(pool)) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | let kBasePeriod = "base_period" | |
109 | 109 | ||
110 | 110 | let kPeriodLength = "period_length" | |
111 | 111 | ||
112 | 112 | let kStartHeight = "start_height" | |
113 | 113 | ||
114 | 114 | let kFirstHarvestHeight = "first_harvest_height" | |
115 | 115 | ||
116 | 116 | let kDurationFullVotePower = "duration_full_vote_power" | |
117 | 117 | ||
118 | 118 | let kMinVotePower = "min_vote_power" | |
119 | 119 | ||
120 | 120 | let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod") | |
121 | 121 | ||
122 | 122 | let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight") | |
123 | 123 | ||
124 | 124 | let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength") | |
125 | 125 | ||
126 | 126 | let durationFullVotePower = valueOrErrorMessage(getInteger(votingAddress, kDurationFullVotePower), "Empty kDurationFullVotePower") | |
127 | 127 | ||
128 | 128 | let minVotePower = valueOrErrorMessage(getInteger(votingAddress, kMinVotePower), "Empty kMinVotePower") | |
129 | 129 | ||
130 | 130 | let currPeriod = (basePeriod + ((height - startHeight) / periodLength)) | |
131 | 131 | ||
132 | 132 | func getLimitToken (pool) = valueOrElse(getIntegerValue(pool, keyLimitShareFirstHarvest), 0) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | let APY = getIntegerValue(this, keyAPY) | |
136 | 136 | ||
137 | 137 | let SwopYearEmission = getIntegerValue(this, keySwopYearEmission) | |
138 | 138 | ||
139 | 139 | func assetNameA (pool) = match assetIdA(pool) { | |
140 | 140 | case id: ByteVector => | |
141 | 141 | value(assetInfo(id)).name | |
142 | 142 | case waves: Unit => | |
143 | 143 | "WAVES" | |
144 | 144 | case _ => | |
145 | 145 | throw("Match error") | |
146 | 146 | } | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func assetNameB (pool) = match assetIdB(pool) { | |
150 | 150 | case id: ByteVector => | |
151 | 151 | value(assetInfo(id)).name | |
152 | 152 | case waves: Unit => | |
153 | 153 | "WAVES" | |
154 | 154 | case _ => | |
155 | 155 | throw("Match error") | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | let SWOP = fromBase58String(valueOrErrorMessage(getStringValue(this, keySWOPid), "Empty keySWOPid")) | |
160 | 160 | ||
161 | 161 | func isFirstHarvest (pool) = valueOrElse(getBoolean(pool, keyfirstHarvestCpmm), false) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func getHeightFirstHarvest (pool) = valueOrElse(getInteger(pool, keyFirstHarvestHeight), 0) | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func getBalanceA (pool) = valueOrErrorMessage(getInteger(pool, keyBalancecpmmA), ("No data on the key: " + keyBalancecpmmA)) | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func getBalanceB (pool) = valueOrErrorMessage(getInteger(pool, keyBalancecpmmB), ("No data on the key: " + keyBalancecpmmB)) | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func getShareLimitToken (pool) = valueOrErrorMessage(getInteger(pool, kShareLimit), ("No data on the key: " + kShareLimit)) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func getTotalShareTokenLocked (pool) = valueOrErrorMessage(getInteger(this, (pool + keyShareTokensLocked)), (("No data on the key: " + pool) + keyShareTokensLocked)) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func getShareAssetId (pool) = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id")) | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func getAssetInfo (assetId) = match assetId { | |
183 | 183 | case id: ByteVector => | |
184 | 184 | let stringId = toBase58String(id) | |
185 | 185 | let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist")) | |
186 | 186 | $Tuple3(stringId, info.name, info.decimals) | |
187 | 187 | case waves: Unit => | |
188 | 188 | $Tuple3("WAVES", "WAVES", 8) | |
189 | 189 | case _ => | |
190 | 190 | throw("Match error") | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func throwRewardCalcError (pool) = throw((("Mistake while working with rewards. Pool: " + pool) + ". Please contact support in Telegram: https://t.me/swopfisupport")) | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | func calcScaleValue (assetId1,assetId2) = { | |
198 | 198 | let assetId1Decimals = value(assetInfo(assetId1)).decimals | |
199 | 199 | let assetId2Decimals = value(assetInfo(assetId2)).decimals | |
200 | 200 | let scaleDigits = ((assetId2Decimals - assetId1Decimals) + 8) | |
201 | 201 | pow(10, 0, scaleDigits, 0, 0, HALFDOWN) | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func userAvailableSWOP (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyAvailableSWOP)), 0) | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func rewardInfo (pool) = { | |
209 | 209 | let totalRewardPerBlockCurrent = valueOrErrorMessage(getInteger(governanceAddress, keyTotalRewardPerBlockCurrent), ((("No data on the key: " + keyTotalRewardPerBlockCurrent) + " at address ") + toString(governanceAddress))) | |
210 | 210 | let totalRewardPerBlockPrevious = valueOrErrorMessage(getInteger(governanceAddress, keyTotalRewardPerBlockPrevious), ((("No data on the key: " + keyTotalRewardPerBlockPrevious) + " at address ") + toString(governanceAddress))) | |
211 | 211 | let rewardPoolFractionCurrent = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyRewardPoolFractionCurrent)), (((("No data on the key: " + pool) + keyRewardPoolFractionCurrent) + " at address ") + toString(governanceAddress))) | |
212 | 212 | let rewardUpdateHeight = valueOrErrorMessage(getInteger(governanceAddress, keyRewardUpdateHeight), ((("No data on the key: " + keyRewardUpdateHeight) + " at address ") + toString(governanceAddress))) | |
213 | 213 | let rewardPoolFractionPrevious = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyRewardPoolFractionPrevious)), (((("No data on the key: " + pool) + keyRewardPoolFractionPrevious) + " at address ") + toString(governanceAddress))) | |
214 | 214 | let rewardPoolCurrent = fraction(totalRewardPerBlockCurrent, rewardPoolFractionCurrent, totalVoteShare) | |
215 | 215 | let rewardPoolPrevious = fraction(totalRewardPerBlockPrevious, rewardPoolFractionPrevious, totalVoteShare) | |
216 | 216 | if (if ((rewardPoolCurrent > totalRewardPerBlockCurrent)) | |
217 | 217 | then true | |
218 | 218 | else (rewardPoolPrevious > totalRewardPerBlockPrevious)) | |
219 | 219 | then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious") | |
220 | 220 | else $Tuple3(rewardPoolCurrent, rewardUpdateHeight, rewardPoolPrevious) | |
221 | 221 | } | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | func getLastInterestInfo (pool) = { | |
225 | 225 | let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest)) | |
226 | 226 | let lastInterestHeight = valueOrElse(getInteger(this, (pool + keyLastInterestHeight)), height) | |
227 | 227 | $Tuple2(lastInterestHeight, lastInterest) | |
228 | 228 | } | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func getUserInterestInfo (pool,userAddress) = { | |
232 | 232 | let userLastInterest = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserLastInterest)) | |
233 | 233 | let userShare = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserShareTokensLocked)) | |
234 | 234 | let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest)) | |
235 | 235 | let userLastInterestValue = match userLastInterest { | |
236 | 236 | case userLastInterest: Int => | |
237 | 237 | userLastInterest | |
238 | 238 | case _ => | |
239 | 239 | lastInterest | |
240 | 240 | } | |
241 | 241 | let userShareTokensAmount = match userShare { | |
242 | 242 | case userShare: Int => | |
243 | 243 | userShare | |
244 | 244 | case _ => | |
245 | 245 | 0 | |
246 | 246 | } | |
247 | 247 | $Tuple2(userLastInterestValue, userShareTokensAmount) | |
248 | 248 | } | |
249 | 249 | ||
250 | 250 | ||
251 | 251 | func calcInterest (lastInterestHeight,rewardUpdateHeight,lastInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,shareAssetId,scaleValue,pmtAmount) = if ((shareTokenLocked == 0)) | |
252 | 252 | then 0 | |
253 | 253 | else if ((rewardUpdateHeight > height)) | |
254 | 254 | then { | |
255 | 255 | let reward = (previousRewardPerBlock * (height - lastInterestHeight)) | |
256 | 256 | (lastInterest + fraction(reward, scaleValue, shareTokenLocked)) | |
257 | 257 | } | |
258 | 258 | else if ((lastInterestHeight > rewardUpdateHeight)) | |
259 | 259 | then { | |
260 | 260 | let reward = (currentRewardPerBlock * (height - lastInterestHeight)) | |
261 | 261 | (lastInterest + fraction(reward, scaleValue, shareTokenLocked)) | |
262 | 262 | } | |
263 | 263 | else { | |
264 | 264 | let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight)) | |
265 | 265 | let interestAfterUpdate = (lastInterest + fraction(rewardAfterLastInterestBeforeReawardUpdate, scaleValue, shareTokenLocked)) | |
266 | 266 | let reward = (currentRewardPerBlock * (height - rewardUpdateHeight)) | |
267 | 267 | (interestAfterUpdate + fraction(reward, scaleValue, shareTokenLocked)) | |
268 | 268 | } | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func claimCalc (pool,caller,pmtAmount) = { | |
272 | 272 | let shareAssetId = getShareAssetId(pool) | |
273 | 273 | let scaleValue = calcScaleValue(SWOP, shareAssetId) | |
274 | 274 | let shareTokenLocked = getTotalShareTokenLocked(pool) | |
275 | 275 | let $t01125211317 = getLastInterestInfo(pool) | |
276 | 276 | let lastInterestHeight = $t01125211317._1 | |
277 | 277 | let lastInterest = $t01125211317._2 | |
278 | 278 | let $t01132211410 = rewardInfo(pool) | |
279 | 279 | let currentRewardPerBlock = $t01132211410._1 | |
280 | 280 | let rewardUpdateHeight = $t01132211410._2 | |
281 | 281 | let previousRewardPerBlock = $t01132211410._3 | |
282 | 282 | let $t01141511494 = getUserInterestInfo(pool, caller) | |
283 | 283 | let userLastInterest = $t01141511494._1 | |
284 | 284 | let userShareTokensAmount = $t01141511494._2 | |
285 | 285 | let currentInterest = calcInterest(lastInterestHeight, rewardUpdateHeight, lastInterest, currentRewardPerBlock, shareTokenLocked, previousRewardPerBlock, shareAssetId, scaleValue, pmtAmount) | |
286 | 286 | let claimAmount = fraction(userShareTokensAmount, (currentInterest - userLastInterest), scaleValue) | |
287 | 287 | let userNewInterest = currentInterest | |
288 | - | if ((fraction(shareTokenLocked, (currentInterest - lastInterest), scaleValue) > (thresholdRewardValue * (height - lastInterestHeight)))) | |
289 | - | then throwRewardCalcError(pool) | |
290 | - | else $Tuple4(userNewInterest, currentInterest, claimAmount, userShareTokensAmount) | |
288 | + | if (true) | |
289 | + | then throw(toString((thresholdRewardValue * (height - lastInterestHeight)))) | |
290 | + | else if ((fraction(shareTokenLocked, (currentInterest - lastInterest), scaleValue) > (thresholdRewardValue * (height - lastInterestHeight)))) | |
291 | + | then throwRewardCalcError(pool) | |
292 | + | else $Tuple4(userNewInterest, currentInterest, claimAmount, userShareTokensAmount) | |
291 | 293 | } | |
292 | 294 | ||
293 | 295 | ||
294 | 296 | func calculateProtocolReward (pool) = { | |
295 | - | let $ | |
296 | - | let lastInterestHeight = $ | |
297 | - | let lastInterest = $ | |
298 | - | let $ | |
299 | - | let currentRewardPerBlock = $ | |
300 | - | let rewardUpdateHeight = $ | |
301 | - | let previousRewardPerBlock = $ | |
297 | + | let $t01224112306 = getLastInterestInfo(pool) | |
298 | + | let lastInterestHeight = $t01224112306._1 | |
299 | + | let lastInterest = $t01224112306._2 | |
300 | + | let $t01231112399 = rewardInfo(pool) | |
301 | + | let currentRewardPerBlock = $t01231112399._1 | |
302 | + | let rewardUpdateHeight = $t01231112399._2 | |
303 | + | let previousRewardPerBlock = $t01231112399._3 | |
302 | 304 | let shareTokenLocked = getTotalShareTokenLocked(pool) | |
303 | 305 | if ((shareTokenLocked == 0)) | |
304 | 306 | then if ((rewardUpdateHeight > height)) | |
305 | 307 | then { | |
306 | 308 | let reward = (previousRewardPerBlock * (height - lastInterestHeight)) | |
307 | 309 | reward | |
308 | 310 | } | |
309 | 311 | else if ((lastInterestHeight > rewardUpdateHeight)) | |
310 | 312 | then { | |
311 | 313 | let reward = (currentRewardPerBlock * (height - lastInterestHeight)) | |
312 | 314 | reward | |
313 | 315 | } | |
314 | 316 | else { | |
315 | 317 | let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight)) | |
316 | 318 | let reward = (currentRewardPerBlock * (height - rewardUpdateHeight)) | |
317 | 319 | (reward + rewardAfterLastInterestBeforeReawardUpdate) | |
318 | 320 | } | |
319 | 321 | else 0 | |
320 | 322 | } | |
321 | 323 | ||
322 | 324 | ||
323 | 325 | func checkPmtAssetIdCorrect (pool,pmtAssetId) = { | |
324 | 326 | let poolShareAssetId = fromBase58String(getStringValue(valueOrErrorMessage(addressFromString(pool), "poolShareAssetId"), "share_asset_id")) | |
325 | 327 | if ((pmtAssetId == poolShareAssetId)) | |
326 | 328 | then true | |
327 | 329 | else false | |
328 | 330 | } | |
329 | 331 | ||
330 | 332 | ||
331 | 333 | func getUserSWOPClaimedAmount (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyUserSWOPClaimedAmount)), 0) | |
332 | 334 | ||
333 | 335 | ||
334 | 336 | @Callable(i) | |
335 | 337 | func init (earlyLP) = if (isDefined(getString(this, keySWOPid))) | |
336 | 338 | then throw("SWOP already initialized") | |
337 | 339 | else { | |
338 | 340 | let initAmount = 100000000000000 | |
339 | 341 | let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true) | |
340 | 342 | let SWOPid = calculateAssetId(SWOPissue) | |
341 | 343 | [Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(keySWOPid, toBase58String(SWOPid))] | |
342 | 344 | } | |
343 | 345 | ||
344 | 346 | ||
345 | 347 | ||
346 | 348 | @Callable(i) | |
347 | 349 | func initPoolShareFarming (pool) = if ((i.caller != this)) | |
348 | 350 | then throw("Only the DApp itself can call this function") | |
349 | 351 | else { | |
350 | - | let $ | |
351 | - | let currentReward = $ | |
352 | - | let rewardUpdateHeight = $ | |
353 | - | let previousRewardPerBlock = $ | |
352 | + | let $t01418514265 = rewardInfo(pool) | |
353 | + | let currentReward = $t01418514265._1 | |
354 | + | let rewardUpdateHeight = $t01418514265._2 | |
355 | + | let previousRewardPerBlock = $t01418514265._3 | |
354 | 356 | [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyLastInterestHeight), height)] | |
355 | 357 | } | |
356 | 358 | ||
357 | 359 | ||
358 | 360 | ||
359 | 361 | @Callable(i) | |
360 | 362 | func updatePoolInterest (pool) = { | |
361 | - | let $ | |
362 | - | let userNewInterest = $ | |
363 | - | let currentInterest = $ | |
364 | - | let claimAmount = $ | |
365 | - | let userShareTokensAmount = $ | |
366 | - | let $ | |
367 | - | let currentReward = $ | |
368 | - | let rewardUpdateHeight = $ | |
369 | - | let previousRewardPerBlock = $ | |
363 | + | let $t01450314623 = claimCalc(pool, adminIncreaseInterestAddress, 0) | |
364 | + | let userNewInterest = $t01450314623._1 | |
365 | + | let currentInterest = $t01450314623._2 | |
366 | + | let claimAmount = $t01450314623._3 | |
367 | + | let userShareTokensAmount = $t01450314623._4 | |
368 | + | let $t01462814708 = rewardInfo(pool) | |
369 | + | let currentReward = $t01462814708._1 | |
370 | + | let rewardUpdateHeight = $t01462814708._2 | |
371 | + | let previousRewardPerBlock = $t01462814708._3 | |
370 | 372 | [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)] | |
371 | 373 | } | |
372 | 374 | ||
373 | 375 | ||
374 | 376 | ||
375 | 377 | @Callable(i) | |
376 | 378 | func lockShareTokens (pool) = { | |
377 | - | let $ | |
378 | - | let pmtAmount = $ | |
379 | - | let pmtAssetId = $ | |
380 | - | let $ | |
381 | - | let pmtStrAssetId = $ | |
382 | - | let pmtAssetName = $ | |
383 | - | let pmtDecimals = $ | |
384 | - | let $ | |
385 | - | let userNewInterest = $ | |
386 | - | let currentInterest = $ | |
387 | - | let claimAmount = $ | |
388 | - | let userShareTokensAmount = $ | |
379 | + | let $t01495415029 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
380 | + | let pmtAmount = $t01495415029._1 | |
381 | + | let pmtAssetId = $t01495415029._2 | |
382 | + | let $t01503415107 = getAssetInfo(pmtAssetId) | |
383 | + | let pmtStrAssetId = $t01503415107._1 | |
384 | + | let pmtAssetName = $t01503415107._2 | |
385 | + | let pmtDecimals = $t01503415107._3 | |
386 | + | let $t01511215220 = claimCalc(pool, i.caller, pmtAmount) | |
387 | + | let userNewInterest = $t01511215220._1 | |
388 | + | let currentInterest = $t01511215220._2 | |
389 | + | let claimAmount = $t01511215220._3 | |
390 | + | let userShareTokensAmount = $t01511215220._4 | |
389 | 391 | let userShareAmountNew = (userShareTokensAmount + pmtAmount) | |
390 | 392 | let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount) | |
391 | 393 | let totalShareAmount = getTotalShareTokenLocked(pool) | |
392 | 394 | let totalShareAmountNew = (totalShareAmount + pmtAmount) | |
393 | 395 | let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller) | |
394 | 396 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
395 | 397 | 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)] | |
396 | 398 | if ((0 >= pmtAmount)) | |
397 | 399 | then throw("You can't lock token") | |
398 | 400 | else if (!(checkPmtAssetIdCorrect(pool, pmtAssetId))) | |
399 | 401 | then throw("Incorrect pmtAssetId") | |
400 | 402 | else if (if (isFirstHarvest(Address(fromBase58String(pool)))) | |
401 | 403 | then (getHeightFirstHarvest(Address(fromBase58String(pool))) > height) | |
402 | 404 | else false) | |
403 | 405 | then { | |
404 | 406 | let harvestPeriod = ((((getHeightFirstHarvest(Address(fromBase58String(pool))) - startHeight) + 1) / periodLength) - 1) | |
405 | 407 | let amountOfVoting = split(getStringValue(votingAddress, (((toString(i.caller) + "_") + pool) + "_user_pool_struc")), "_") | |
406 | 408 | let amountPoolStract = split(getStringValue(votingAddress, (pool + "_pool_struc")), "_") | |
407 | 409 | let amountActiveVoteUserPoolStract = split(valueOrElse(getString(votingAddress, (((toString(i.caller) + "_") + pool) + kHarvestUserPoolActiveVoteStrucVoting)), ""), "_") | |
408 | 410 | let amountPoolActiveVoteStract = split(valueOrElse(getString(votingAddress, (pool + kHarvestPoolActiveVoteStrucVoting)), ""), "_") | |
409 | 411 | let userShareTokenLocked = userShareTokensAmount | |
410 | 412 | let userPoolActiveVote = if ((toString(currPeriod) == amountOfVoting[2])) | |
411 | 413 | then valueOrElse(parseInt(amountActiveVoteUserPoolStract[0]), 0) | |
412 | 414 | else valueOrElse(parseInt(amountOfVoting[1]), 0) | |
413 | 415 | let poolActiveVote = if ((toString(currPeriod) == amountPoolStract[2])) | |
414 | 416 | then valueOrElse(parseInt(amountPoolActiveVoteStract[0]), 0) | |
415 | 417 | else valueOrElse(parseInt(amountPoolStract[1]), 0) | |
416 | 418 | let protocolReward = calculateProtocolReward(pool) | |
417 | 419 | if ((userPoolActiveVote != 0)) | |
418 | 420 | then { | |
419 | 421 | let limitShareToken = getShareLimitToken(addressFromStringValue(pool)) | |
420 | 422 | let shareToken = (fraction(limitShareToken, userPoolActiveVote, poolActiveVote) - userShareTokenLocked) | |
421 | 423 | if (if ((size(amountActiveVoteUserPoolStract) > 1)) | |
422 | 424 | then (valueOrElse(parseInt(amountActiveVoteUserPoolStract[1]), 0) >= harvestPeriod) | |
423 | 425 | else false) | |
424 | 426 | then throw("You can't share token") | |
425 | 427 | else if ((pmtAmount > limitShareToken)) | |
426 | 428 | then throw(("You can't share token more than " + toString(limitShareToken))) | |
427 | 429 | else if ((shareToken > 0)) | |
428 | 430 | then if ((totalShareAmount == 0)) | |
429 | 431 | then (baseEntry ++ [Reissue(SWOP, protocolReward, true), ScriptTransfer(wallet, protocolReward, SWOP)]) | |
430 | 432 | else if ((shareToken >= pmtAmount)) | |
431 | 433 | then baseEntry | |
432 | 434 | else throw(("Your maximum share token is " + toString(shareToken))) | |
433 | 435 | else throw("You can't share token") | |
434 | 436 | } | |
435 | 437 | else throw("Your amount of token less than 0") | |
436 | 438 | } | |
437 | 439 | else baseEntry | |
438 | 440 | } | |
439 | 441 | ||
440 | 442 | ||
441 | 443 | ||
442 | 444 | @Callable(i) | |
443 | 445 | func withdrawShareTokens (pool,shareTokensWithdrawAmount) = { | |
444 | 446 | let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id")) | |
445 | - | let $ | |
446 | - | let userNewInterest = $ | |
447 | - | let currentInterest = $ | |
448 | - | let claimAmount = $ | |
449 | - | let userShareTokensAmount = $ | |
447 | + | let $t01941619516 = claimCalc(pool, i.caller, 1) | |
448 | + | let userNewInterest = $t01941619516._1 | |
449 | + | let currentInterest = $t01941619516._2 | |
450 | + | let claimAmount = $t01941619516._3 | |
451 | + | let userShareTokensAmount = $t01941619516._4 | |
450 | 452 | let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount) | |
451 | 453 | let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount) | |
452 | 454 | let totalShareAmount = getTotalShareTokenLocked(pool) | |
453 | 455 | let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount) | |
454 | 456 | let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller) | |
455 | 457 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
456 | 458 | if ((shareTokensWithdrawAmount > userShareTokensAmount)) | |
457 | 459 | then throw("Withdraw amount more then user locked amount") | |
458 | 460 | 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)] | |
459 | 461 | } | |
460 | 462 | ||
461 | 463 | ||
462 | 464 | ||
463 | 465 | @Callable(i) | |
464 | 466 | func claim (pool) = { | |
465 | 467 | let shareTokenLocked = getTotalShareTokenLocked(pool) | |
466 | - | let $ | |
467 | - | let lastInterestHeight = $ | |
468 | - | let lastInterest = $ | |
469 | - | let $ | |
470 | - | let currentRewardPerBlock = $ | |
471 | - | let rewardUpdateHeight = $ | |
472 | - | let previousRewardPerBlock = $ | |
473 | - | let $ | |
474 | - | let userNewInterest = $ | |
475 | - | let currentInterest = $ | |
476 | - | let claimAmount = $ | |
477 | - | let userShareTokensAmount = $ | |
468 | + | let $t02102921094 = getLastInterestInfo(pool) | |
469 | + | let lastInterestHeight = $t02102921094._1 | |
470 | + | let lastInterest = $t02102921094._2 | |
471 | + | let $t02109921188 = rewardInfo(pool) | |
472 | + | let currentRewardPerBlock = $t02109921188._1 | |
473 | + | let rewardUpdateHeight = $t02109921188._2 | |
474 | + | let previousRewardPerBlock = $t02109921188._3 | |
475 | + | let $t02119321293 = claimCalc(pool, i.caller, 1) | |
476 | + | let userNewInterest = $t02119321293._1 | |
477 | + | let currentInterest = $t02119321293._2 | |
478 | + | let claimAmount = $t02119321293._3 | |
479 | + | let userShareTokensAmount = $t02119321293._4 | |
478 | 480 | let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount) | |
479 | 481 | let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller) | |
480 | 482 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
481 | 483 | if ((availableFund == 0)) | |
482 | 484 | then throw("You have 0 available SWOP") | |
483 | 485 | 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)] | |
484 | 486 | } | |
485 | 487 | ||
486 | 488 |
github/deemru/w8io/026f985 66.30 ms ◑