tx · EJC4wt8jYX2Lpk3BDgbCchqKH6MgTiQSiK8Tg8coK4Go

3MqEW3zCDwma9DFFZYt9JfZBC2NDrtUCErK:  -0.01400000 Waves

2021.06.20 15:13 [1578690] smart account 3MqEW3zCDwma9DFFZYt9JfZBC2NDrtUCErK > SELF 0.00000000 Waves

{ "type": 13, "id": "EJC4wt8jYX2Lpk3BDgbCchqKH6MgTiQSiK8Tg8coK4Go", "fee": 1400000, "feeAssetId": null, "timestamp": 1624191251855, "version": 1, "sender": "3MqEW3zCDwma9DFFZYt9JfZBC2NDrtUCErK", "senderPublicKey": "8hWTPR42P6jVJnWnPwTVrE8ji5Sdvzc9vCxDCXbDjoQJ", "proofs": [ "5Qm4wv68Qqbcq4XyakHeRiwXNK2BWmSE1Qs489vGuJjuNG8XDTtZ8yqhxAqLgDWe8EiTUH6AxT82LvUzpmHK7jGq" ], "script": "base64:AAIEAAAAAAAAACEIAhIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggBEgMKAQgAAABVAAAAAAxhZG1pblB1YktleTEBAAAAILoJ1zuJWaTRXaD/8bsz0KrhOWkPy+K9kdY77k9eqOATAAAAAAxhZG1pblB1YktleTIBAAAAIMKRRJmz0rC0DSKlkVi9iLyhN7sIy//djOaU71sWDn5AAAAAAAxhZG1pblB1YktleTMBAAAAII4eFy54sQc79EhOejMoYHYod/yZ5ZIwoyDCz6ir6Q5VAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAC2tTaGFyZUxpbWl0AgAAABxzaGFyZV9saW1pdF9vbl9maXJzdF9oYXJ2ZXN0AAAAABxrZXlSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50AgAAAB1fY3VycmVudF9wb29sX2ZyYWN0aW9uX3Jld2FyZAAAAAAda2V5UmV3YXJkUG9vbEZyYWN0aW9uUHJldmlvdXMCAAAAHl9wcmV2aW91c19wb29sX2ZyYWN0aW9uX3Jld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ludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8JAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABBrZXlBdmFpbGFibGVTV09QAAAAAAAAAAAACQAETAAAAAIJAQAAAAdSZWlzc3VlAAAAAwUAAAAEU1dPUAUAAAANYXZhaWxhYmxlRnVuZAYJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8JAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABhrZXlVc2VyU1dPUENsYWltZWRBbW91bnQFAAAAFHVzZXJDbGFpbWVkQW1vdW50TmV3CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAARwb29sAgAAAAFfCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgUAAAAca2V5VXNlclNXT1BMYXN0Q2xhaW1lZEFtb3VudAUAAAALY2xhaW1BbW91bnQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAA1hdmFpbGFibGVGdW5kBQAAAARTV09QBQAAAANuaWwAAAAA/T7RKg==", "chainId": 84, "height": 1578690, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: kN2wf6Q1yyinyAQN35pWpVGGXrDPfycLXa5vqy9nofK Next: none Diff:
OldNewDifferences
248248 }
249249
250250
251-func calcInterest (lastInterestHeight,rewardUpdateHeight,lastInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,shareAssetId,scaleValue,pmtAmount) = if ((shareTokenLocked == 0))
252- then 0
253- else if ((rewardUpdateHeight > height))
251+func calcInterest (lastInterestHeight,rewardUpdateHeight,lastInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,shareAssetId,scaleValue,pmtAmount) = if ((rewardUpdateHeight > height))
252+ then {
253+ let reward = (previousRewardPerBlock * (height - lastInterestHeight))
254+ (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
255+ }
256+ else if ((lastInterestHeight > rewardUpdateHeight))
254257 then {
255- let reward = (previousRewardPerBlock * (height - lastInterestHeight))
258+ let reward = (currentRewardPerBlock * (height - lastInterestHeight))
256259 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
257260 }
258- else if ((lastInterestHeight > rewardUpdateHeight))
259- then {
260- let reward = (currentRewardPerBlock * (height - lastInterestHeight))
261- (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
262- }
263- else {
264- let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
265- let interestAfterUpdate = (lastInterest + fraction(rewardAfterLastInterestBeforeReawardUpdate, scaleValue, shareTokenLocked))
266- let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
267- (interestAfterUpdate + fraction(reward, scaleValue, shareTokenLocked))
268- }
261+ else {
262+ let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
263+ let interestAfterUpdate = (lastInterest + fraction(rewardAfterLastInterestBeforeReawardUpdate, scaleValue, shareTokenLocked))
264+ let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
265+ (interestAfterUpdate + fraction(reward, scaleValue, shareTokenLocked))
266+ }
269267
270268
271269 func claimCalc (pool,caller,pmtAmount) = {
272270 let shareAssetId = getShareAssetId(pool)
273271 let scaleValue = calcScaleValue(SWOP, shareAssetId)
274272 let shareTokenLocked = getTotalShareTokenLocked(pool)
275- let $t01125311318 = getLastInterestInfo(pool)
276- let lastInterestHeight = $t01125311318._1
277- let lastInterest = $t01125311318._2
278- let $t01132311411 = rewardInfo(pool)
279- let currentRewardPerBlock = $t01132311411._1
280- let rewardUpdateHeight = $t01132311411._2
281- let previousRewardPerBlock = $t01132311411._3
282- let $t01141611495 = getUserInterestInfo(pool, caller)
283- let userLastInterest = $t01141611495._1
284- let userShareTokensAmount = $t01141611495._2
273+ let $t01125511320 = getLastInterestInfo(pool)
274+ let lastInterestHeight = $t01125511320._1
275+ let lastInterest = $t01125511320._2
276+ let $t01132511413 = rewardInfo(pool)
277+ let currentRewardPerBlock = $t01132511413._1
278+ let rewardUpdateHeight = $t01132511413._2
279+ let previousRewardPerBlock = $t01132511413._3
280+ let $t01141811497 = getUserInterestInfo(pool, caller)
281+ let userLastInterest = $t01141811497._1
282+ let userShareTokensAmount = $t01141811497._2
285283 let currentInterest = calcInterest(lastInterestHeight, rewardUpdateHeight, lastInterest, currentRewardPerBlock, shareTokenLocked, previousRewardPerBlock, shareAssetId, scaleValue, pmtAmount)
286284 let claimAmount = fraction(userShareTokensAmount, (currentInterest - userLastInterest), scaleValue)
287285 let userNewInterest = currentInterest
292290
293291
294292 func calculateProtocolReward (pool) = {
295- let $t01215112216 = getLastInterestInfo(pool)
296- let lastInterestHeight = $t01215112216._1
297- let lastInterest = $t01215112216._2
298- let $t01222112309 = rewardInfo(pool)
299- let currentRewardPerBlock = $t01222112309._1
300- let rewardUpdateHeight = $t01222112309._2
301- let previousRewardPerBlock = $t01222112309._3
293+ let $t01215312218 = getLastInterestInfo(pool)
294+ let lastInterestHeight = $t01215312218._1
295+ let lastInterest = $t01215312218._2
296+ let $t01222312311 = rewardInfo(pool)
297+ let currentRewardPerBlock = $t01222312311._1
298+ let rewardUpdateHeight = $t01222312311._2
299+ let previousRewardPerBlock = $t01222312311._3
302300 let shareTokenLocked = getTotalShareTokenLocked(pool)
303301 if ((shareTokenLocked == 0))
304302 then if ((rewardUpdateHeight > height))
347345 func initPoolShareFarming (pool) = if ((i.caller != this))
348346 then throw("Only the DApp itself can call this function")
349347 else {
350- let $t01409514175 = rewardInfo(pool)
351- let currentReward = $t01409514175._1
352- let rewardUpdateHeight = $t01409514175._2
353- let previousRewardPerBlock = $t01409514175._3
348+ let $t01409714177 = rewardInfo(pool)
349+ let currentReward = $t01409714177._1
350+ let rewardUpdateHeight = $t01409714177._2
351+ let previousRewardPerBlock = $t01409714177._3
354352 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyLastInterestHeight), (height - 10))]
355353 }
356354
360358 func updatePoolInterest (pool) = if ((i.caller != wallet))
361359 then throw("Only the Admin itself can call this function")
362360 else {
363- let $t01454714667 = claimCalc(pool, adminIncreaseInterestAddress, 0)
364- let userNewInterest = $t01454714667._1
365- let currentInterest = $t01454714667._2
366- let claimAmount = $t01454714667._3
367- let userShareTokensAmount = $t01454714667._4
368- let $t01467214752 = rewardInfo(pool)
369- let currentReward = $t01467214752._1
370- let rewardUpdateHeight = $t01467214752._2
371- let previousRewardPerBlock = $t01467214752._3
361+ let $t01454914669 = claimCalc(pool, adminIncreaseInterestAddress, 0)
362+ let userNewInterest = $t01454914669._1
363+ let currentInterest = $t01454914669._2
364+ let claimAmount = $t01454914669._3
365+ let userShareTokensAmount = $t01454914669._4
366+ let $t01467414754 = rewardInfo(pool)
367+ let currentReward = $t01467414754._1
368+ let rewardUpdateHeight = $t01467414754._2
369+ let previousRewardPerBlock = $t01467414754._3
372370 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)]
373371 }
374372
376374
377375 @Callable(i)
378376 func lockShareTokens (pool) = {
379- let $t01499815073 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
380- let pmtAmount = $t01499815073._1
381- let pmtAssetId = $t01499815073._2
382- let $t01507815151 = getAssetInfo(pmtAssetId)
383- let pmtStrAssetId = $t01507815151._1
384- let pmtAssetName = $t01507815151._2
385- let pmtDecimals = $t01507815151._3
386- let $t01515615264 = claimCalc(pool, i.caller, pmtAmount)
387- let userNewInterest = $t01515615264._1
388- let currentInterest = $t01515615264._2
389- let claimAmount = $t01515615264._3
390- let userShareTokensAmount = $t01515615264._4
377+ let $t01500015075 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
378+ let pmtAmount = $t01500015075._1
379+ let pmtAssetId = $t01500015075._2
380+ let $t01508015153 = getAssetInfo(pmtAssetId)
381+ let pmtStrAssetId = $t01508015153._1
382+ let pmtAssetName = $t01508015153._2
383+ let pmtDecimals = $t01508015153._3
384+ let $t01515815266 = claimCalc(pool, i.caller, pmtAmount)
385+ let userNewInterest = $t01515815266._1
386+ let currentInterest = $t01515815266._2
387+ let claimAmount = $t01515815266._3
388+ let userShareTokensAmount = $t01515815266._4
391389 let userShareAmountNew = (userShareTokensAmount + pmtAmount)
392390 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
393391 let totalShareAmount = getTotalShareTokenLocked(pool)
444442 @Callable(i)
445443 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = {
446444 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
447- let $t01946019560 = claimCalc(pool, i.caller, 1)
448- let userNewInterest = $t01946019560._1
449- let currentInterest = $t01946019560._2
450- let claimAmount = $t01946019560._3
451- let userShareTokensAmount = $t01946019560._4
445+ let $t01946219562 = claimCalc(pool, i.caller, 1)
446+ let userNewInterest = $t01946219562._1
447+ let currentInterest = $t01946219562._2
448+ let claimAmount = $t01946219562._3
449+ let userShareTokensAmount = $t01946219562._4
452450 let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount)
453451 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
454452 let totalShareAmount = getTotalShareTokenLocked(pool)
465463 @Callable(i)
466464 func claim (pool) = {
467465 let shareTokenLocked = getTotalShareTokenLocked(pool)
468- let $t02107321138 = getLastInterestInfo(pool)
469- let lastInterestHeight = $t02107321138._1
470- let lastInterest = $t02107321138._2
471- let $t02114321232 = rewardInfo(pool)
472- let currentRewardPerBlock = $t02114321232._1
473- let rewardUpdateHeight = $t02114321232._2
474- let previousRewardPerBlock = $t02114321232._3
475- let $t02123721337 = claimCalc(pool, i.caller, 1)
476- let userNewInterest = $t02123721337._1
477- let currentInterest = $t02123721337._2
478- let claimAmount = $t02123721337._3
479- let userShareTokensAmount = $t02123721337._4
466+ let $t02107521140 = getLastInterestInfo(pool)
467+ let lastInterestHeight = $t02107521140._1
468+ let lastInterest = $t02107521140._2
469+ let $t02114521234 = rewardInfo(pool)
470+ let currentRewardPerBlock = $t02114521234._1
471+ let rewardUpdateHeight = $t02114521234._2
472+ let previousRewardPerBlock = $t02114521234._3
473+ let $t02123921339 = claimCalc(pool, i.caller, 1)
474+ let userNewInterest = $t02123921339._1
475+ let currentInterest = $t02123921339._2
476+ let claimAmount = $t02123921339._3
477+ let userShareTokensAmount = $t02123921339._4
480478 let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount)
481479 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
482480 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
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 keyTotalRewardPerBlockCurrent = "total_reward_per_block_current"
1919
2020 let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous"
2121
2222 let keyRewardUpdateHeight = "reward_update_height"
2323
2424 let keyLastInterest = "_last_interest"
2525
2626 let keyLastInterestHeight = "_last_interest_height"
2727
2828 let keyUserShareTokensLocked = "_share_tokens_locked"
2929
3030 let keyUserLastInterest = "_last_interest"
3131
3232 let keySWOPid = "SWOP_id"
3333
3434 let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount"
3535
3636 let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount"
3737
3838 let keyAvailableSWOP = "_available_SWOP"
3939
4040 let keyFarmingStartHeight = "farming_start_height"
4141
4242 let keyAPY = "apy"
4343
4444 let kPreviousTotalVoteSWOP = "previous_total_vote_SWOP"
4545
4646 let keySwopYearEmission = "swop_year_emission"
4747
4848 let keyBalancecpmmA = "A_asset_balance"
4949
5050 let keyBalancecpmmB = "B_asset_balance"
5151
5252 let kHarvestPoolActiveVoteStrucVoting = "_harvest_pool_activeVote_struc"
5353
5454 let kHarvestUserPoolActiveVoteStrucVoting = "_harvest_user_pool_activeVote_struc"
5555
5656 let keyLimitShareFirstHarvest = "share_limit_on_first_harvest"
5757
5858 let keyAssetIdA = "A_asset_id"
5959
6060 let keyAssetIdB = "B_asset_id"
6161
6262 let keyFirstHarvestHeight = "first_harvest_height"
6363
6464 let keyfirstHarvestCpmm = "first_harvest"
6565
6666 let governanceAddress = Address(base58'3MqhxbxHEMtp2Rwy1gUb6cPSJHQepdap1Yp')
6767
6868 let wallet = Address(base58'3P6J84oH51DzY6xk2mT5TheXRbrCwBMxonp')
6969
7070 let votingAddress = Address(base58'3PQZWxShKGRgBN1qoJw6B4s9YWS9FneZTPg')
7171
7272 let adminIncreaseInterestAddress = Address(base58'3PPupsBVHgDXaRhyMbkTxminzAotp8AMsr6')
7373
7474 let oneWeekInBlock = 10106
7575
7676 let thresholdRewardValue = 190000000
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) = valueOrErrorMessage(getStringValue(pool, keyAssetIdA), "Empty keyAssetIdA")
9393
9494
9595 func strAssetIdB (pool) = valueOrErrorMessage(getStringValue(pool, keyAssetIdB), "Empty 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(valueOrErrorMessage(getStringValue(this, keySWOPid), "Empty 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 throwRewardCalcError (pool) = throw((("Mistake while working with rewards. Pool: " + pool) + ". Please contact support in Telegram: https://t.me/swopfisupport"))
195195
196196
197197 func calcScaleValue (assetId1,assetId2) = {
198198 let assetId1Decimals = value(assetInfo(assetId1)).decimals
199199 let assetId2Decimals = value(assetInfo(assetId2)).decimals
200200 let scaleDigits = ((assetId2Decimals - assetId1Decimals) + 8)
201201 pow(10, 0, scaleDigits, 0, 0, HALFDOWN)
202202 }
203203
204204
205205 func userAvailableSWOP (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyAvailableSWOP)), 0)
206206
207207
208208 func rewardInfo (pool) = {
209209 let totalRewardPerBlockCurrent = valueOrErrorMessage(getInteger(governanceAddress, keyTotalRewardPerBlockCurrent), ((("No data on the key: " + keyTotalRewardPerBlockCurrent) + " at address ") + toString(governanceAddress)))
210210 let totalRewardPerBlockPrevious = valueOrErrorMessage(getInteger(governanceAddress, keyTotalRewardPerBlockPrevious), ((("No data on the key: " + keyTotalRewardPerBlockPrevious) + " at address ") + toString(governanceAddress)))
211211 let rewardPoolFractionCurrent = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyRewardPoolFractionCurrent)), (((("No data on the key: " + pool) + keyRewardPoolFractionCurrent) + " at address ") + toString(governanceAddress)))
212212 let rewardUpdateHeight = valueOrErrorMessage(getInteger(governanceAddress, keyRewardUpdateHeight), ((("No data on the key: " + keyRewardUpdateHeight) + " at address ") + toString(governanceAddress)))
213213 let rewardPoolFractionPrevious = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyRewardPoolFractionPrevious)), (((("No data on the key: " + pool) + keyRewardPoolFractionPrevious) + " at address ") + toString(governanceAddress)))
214214 let rewardPoolCurrent = fraction(totalRewardPerBlockCurrent, rewardPoolFractionCurrent, totalVoteShare)
215215 let rewardPoolPrevious = fraction(totalRewardPerBlockPrevious, rewardPoolFractionPrevious, totalVoteShare)
216216 if (if ((rewardPoolCurrent > totalRewardPerBlockCurrent))
217217 then true
218218 else (rewardPoolPrevious > totalRewardPerBlockPrevious))
219219 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
220220 else $Tuple3(rewardPoolCurrent, rewardUpdateHeight, rewardPoolPrevious)
221221 }
222222
223223
224224 func getLastInterestInfo (pool) = {
225225 let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest))
226226 let lastInterestHeight = valueOrElse(getInteger(this, (pool + keyLastInterestHeight)), height)
227227 $Tuple2(lastInterestHeight, lastInterest)
228228 }
229229
230230
231231 func getUserInterestInfo (pool,userAddress) = {
232232 let userLastInterest = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserLastInterest))
233233 let userShare = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserShareTokensLocked))
234234 let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest))
235235 let userLastInterestValue = match userLastInterest {
236236 case userLastInterest: Int =>
237237 userLastInterest
238238 case _ =>
239239 lastInterest
240240 }
241241 let userShareTokensAmount = match userShare {
242242 case userShare: Int =>
243243 userShare
244244 case _ =>
245245 0
246246 }
247247 $Tuple2(userLastInterestValue, userShareTokensAmount)
248248 }
249249
250250
251-func calcInterest (lastInterestHeight,rewardUpdateHeight,lastInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,shareAssetId,scaleValue,pmtAmount) = if ((shareTokenLocked == 0))
252- then 0
253- else if ((rewardUpdateHeight > height))
251+func calcInterest (lastInterestHeight,rewardUpdateHeight,lastInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,shareAssetId,scaleValue,pmtAmount) = if ((rewardUpdateHeight > height))
252+ then {
253+ let reward = (previousRewardPerBlock * (height - lastInterestHeight))
254+ (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
255+ }
256+ else if ((lastInterestHeight > rewardUpdateHeight))
254257 then {
255- let reward = (previousRewardPerBlock * (height - lastInterestHeight))
258+ let reward = (currentRewardPerBlock * (height - lastInterestHeight))
256259 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
257260 }
258- else if ((lastInterestHeight > rewardUpdateHeight))
259- then {
260- let reward = (currentRewardPerBlock * (height - lastInterestHeight))
261- (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
262- }
263- else {
264- let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
265- let interestAfterUpdate = (lastInterest + fraction(rewardAfterLastInterestBeforeReawardUpdate, scaleValue, shareTokenLocked))
266- let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
267- (interestAfterUpdate + fraction(reward, scaleValue, shareTokenLocked))
268- }
261+ else {
262+ let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
263+ let interestAfterUpdate = (lastInterest + fraction(rewardAfterLastInterestBeforeReawardUpdate, scaleValue, shareTokenLocked))
264+ let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
265+ (interestAfterUpdate + fraction(reward, scaleValue, shareTokenLocked))
266+ }
269267
270268
271269 func claimCalc (pool,caller,pmtAmount) = {
272270 let shareAssetId = getShareAssetId(pool)
273271 let scaleValue = calcScaleValue(SWOP, shareAssetId)
274272 let shareTokenLocked = getTotalShareTokenLocked(pool)
275- let $t01125311318 = getLastInterestInfo(pool)
276- let lastInterestHeight = $t01125311318._1
277- let lastInterest = $t01125311318._2
278- let $t01132311411 = rewardInfo(pool)
279- let currentRewardPerBlock = $t01132311411._1
280- let rewardUpdateHeight = $t01132311411._2
281- let previousRewardPerBlock = $t01132311411._3
282- let $t01141611495 = getUserInterestInfo(pool, caller)
283- let userLastInterest = $t01141611495._1
284- let userShareTokensAmount = $t01141611495._2
273+ let $t01125511320 = getLastInterestInfo(pool)
274+ let lastInterestHeight = $t01125511320._1
275+ let lastInterest = $t01125511320._2
276+ let $t01132511413 = rewardInfo(pool)
277+ let currentRewardPerBlock = $t01132511413._1
278+ let rewardUpdateHeight = $t01132511413._2
279+ let previousRewardPerBlock = $t01132511413._3
280+ let $t01141811497 = getUserInterestInfo(pool, caller)
281+ let userLastInterest = $t01141811497._1
282+ let userShareTokensAmount = $t01141811497._2
285283 let currentInterest = calcInterest(lastInterestHeight, rewardUpdateHeight, lastInterest, currentRewardPerBlock, shareTokenLocked, previousRewardPerBlock, shareAssetId, scaleValue, pmtAmount)
286284 let claimAmount = fraction(userShareTokensAmount, (currentInterest - userLastInterest), scaleValue)
287285 let userNewInterest = currentInterest
288286 if ((fraction(shareTokenLocked, (currentInterest - lastInterest), scaleValue) > (thresholdRewardValue * (height - lastInterestHeight))))
289287 then throwRewardCalcError(pool)
290288 else $Tuple4(userNewInterest, currentInterest, claimAmount, userShareTokensAmount)
291289 }
292290
293291
294292 func calculateProtocolReward (pool) = {
295- let $t01215112216 = getLastInterestInfo(pool)
296- let lastInterestHeight = $t01215112216._1
297- let lastInterest = $t01215112216._2
298- let $t01222112309 = rewardInfo(pool)
299- let currentRewardPerBlock = $t01222112309._1
300- let rewardUpdateHeight = $t01222112309._2
301- let previousRewardPerBlock = $t01222112309._3
293+ let $t01215312218 = getLastInterestInfo(pool)
294+ let lastInterestHeight = $t01215312218._1
295+ let lastInterest = $t01215312218._2
296+ let $t01222312311 = rewardInfo(pool)
297+ let currentRewardPerBlock = $t01222312311._1
298+ let rewardUpdateHeight = $t01222312311._2
299+ let previousRewardPerBlock = $t01222312311._3
302300 let shareTokenLocked = getTotalShareTokenLocked(pool)
303301 if ((shareTokenLocked == 0))
304302 then if ((rewardUpdateHeight > height))
305303 then {
306304 let reward = (previousRewardPerBlock * (height - lastInterestHeight))
307305 reward
308306 }
309307 else if ((lastInterestHeight > rewardUpdateHeight))
310308 then {
311309 let reward = (currentRewardPerBlock * (height - lastInterestHeight))
312310 reward
313311 }
314312 else {
315313 let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
316314 let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
317315 (reward + rewardAfterLastInterestBeforeReawardUpdate)
318316 }
319317 else 0
320318 }
321319
322320
323321 func checkPmtAssetIdCorrect (pool,pmtAssetId) = {
324322 let poolShareAssetId = fromBase58String(getStringValue(valueOrErrorMessage(addressFromString(pool), "poolShareAssetId"), "share_asset_id"))
325323 if ((pmtAssetId == poolShareAssetId))
326324 then true
327325 else false
328326 }
329327
330328
331329 func getUserSWOPClaimedAmount (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyUserSWOPClaimedAmount)), 0)
332330
333331
334332 @Callable(i)
335333 func init (earlyLP) = if (isDefined(getString(this, keySWOPid)))
336334 then throw("SWOP already initialized")
337335 else {
338336 let initAmount = 100000000000000
339337 let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true)
340338 let SWOPid = calculateAssetId(SWOPissue)
341339 [Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(keySWOPid, toBase58String(SWOPid))]
342340 }
343341
344342
345343
346344 @Callable(i)
347345 func initPoolShareFarming (pool) = if ((i.caller != this))
348346 then throw("Only the DApp itself can call this function")
349347 else {
350- let $t01409514175 = rewardInfo(pool)
351- let currentReward = $t01409514175._1
352- let rewardUpdateHeight = $t01409514175._2
353- let previousRewardPerBlock = $t01409514175._3
348+ let $t01409714177 = rewardInfo(pool)
349+ let currentReward = $t01409714177._1
350+ let rewardUpdateHeight = $t01409714177._2
351+ let previousRewardPerBlock = $t01409714177._3
354352 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyLastInterestHeight), (height - 10))]
355353 }
356354
357355
358356
359357 @Callable(i)
360358 func updatePoolInterest (pool) = if ((i.caller != wallet))
361359 then throw("Only the Admin itself can call this function")
362360 else {
363- let $t01454714667 = claimCalc(pool, adminIncreaseInterestAddress, 0)
364- let userNewInterest = $t01454714667._1
365- let currentInterest = $t01454714667._2
366- let claimAmount = $t01454714667._3
367- let userShareTokensAmount = $t01454714667._4
368- let $t01467214752 = rewardInfo(pool)
369- let currentReward = $t01467214752._1
370- let rewardUpdateHeight = $t01467214752._2
371- let previousRewardPerBlock = $t01467214752._3
361+ let $t01454914669 = claimCalc(pool, adminIncreaseInterestAddress, 0)
362+ let userNewInterest = $t01454914669._1
363+ let currentInterest = $t01454914669._2
364+ let claimAmount = $t01454914669._3
365+ let userShareTokensAmount = $t01454914669._4
366+ let $t01467414754 = rewardInfo(pool)
367+ let currentReward = $t01467414754._1
368+ let rewardUpdateHeight = $t01467414754._2
369+ let previousRewardPerBlock = $t01467414754._3
372370 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)]
373371 }
374372
375373
376374
377375 @Callable(i)
378376 func lockShareTokens (pool) = {
379- let $t01499815073 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
380- let pmtAmount = $t01499815073._1
381- let pmtAssetId = $t01499815073._2
382- let $t01507815151 = getAssetInfo(pmtAssetId)
383- let pmtStrAssetId = $t01507815151._1
384- let pmtAssetName = $t01507815151._2
385- let pmtDecimals = $t01507815151._3
386- let $t01515615264 = claimCalc(pool, i.caller, pmtAmount)
387- let userNewInterest = $t01515615264._1
388- let currentInterest = $t01515615264._2
389- let claimAmount = $t01515615264._3
390- let userShareTokensAmount = $t01515615264._4
377+ let $t01500015075 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
378+ let pmtAmount = $t01500015075._1
379+ let pmtAssetId = $t01500015075._2
380+ let $t01508015153 = getAssetInfo(pmtAssetId)
381+ let pmtStrAssetId = $t01508015153._1
382+ let pmtAssetName = $t01508015153._2
383+ let pmtDecimals = $t01508015153._3
384+ let $t01515815266 = claimCalc(pool, i.caller, pmtAmount)
385+ let userNewInterest = $t01515815266._1
386+ let currentInterest = $t01515815266._2
387+ let claimAmount = $t01515815266._3
388+ let userShareTokensAmount = $t01515815266._4
391389 let userShareAmountNew = (userShareTokensAmount + pmtAmount)
392390 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
393391 let totalShareAmount = getTotalShareTokenLocked(pool)
394392 let totalShareAmountNew = (totalShareAmount + pmtAmount)
395393 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
396394 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
397395 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)]
398396 if ((0 >= pmtAmount))
399397 then throw("You can't lock token")
400398 else if (!(checkPmtAssetIdCorrect(pool, pmtAssetId)))
401399 then throw("Incorrect pmtAssetId")
402400 else if (if (isFirstHarvest(Address(fromBase58String(pool))))
403401 then (getHeightFirstHarvest(Address(fromBase58String(pool))) > height)
404402 else false)
405403 then {
406404 let harvestPeriod = ((((getHeightFirstHarvest(Address(fromBase58String(pool))) - startHeight) + 1) / periodLength) - 1)
407405 let amountOfVoting = split(getStringValue(votingAddress, (((toString(i.caller) + "_") + pool) + "_user_pool_struc")), "_")
408406 let amountPoolStract = split(getStringValue(votingAddress, (pool + "_pool_struc")), "_")
409407 let amountActiveVoteUserPoolStract = split(valueOrElse(getString(votingAddress, (((toString(i.caller) + "_") + pool) + kHarvestUserPoolActiveVoteStrucVoting)), ""), "_")
410408 let amountPoolActiveVoteStract = split(valueOrElse(getString(votingAddress, (pool + kHarvestPoolActiveVoteStrucVoting)), ""), "_")
411409 let userShareTokenLocked = userShareTokensAmount
412410 let userPoolActiveVote = if ((toString(currPeriod) == amountOfVoting[2]))
413411 then valueOrElse(parseInt(amountActiveVoteUserPoolStract[0]), 0)
414412 else valueOrElse(parseInt(amountOfVoting[1]), 0)
415413 let poolActiveVote = if ((toString(currPeriod) == amountPoolStract[2]))
416414 then valueOrElse(parseInt(amountPoolActiveVoteStract[0]), 0)
417415 else valueOrElse(parseInt(amountPoolStract[1]), 0)
418416 let protocolReward = calculateProtocolReward(pool)
419417 if ((userPoolActiveVote != 0))
420418 then {
421419 let limitShareToken = getShareLimitToken(addressFromStringValue(pool))
422420 let shareToken = (fraction(limitShareToken, userPoolActiveVote, poolActiveVote) - userShareTokenLocked)
423421 if (if ((size(amountActiveVoteUserPoolStract) > 1))
424422 then (valueOrElse(parseInt(amountActiveVoteUserPoolStract[1]), 0) >= harvestPeriod)
425423 else false)
426424 then throw("You can't share token")
427425 else if ((pmtAmount > limitShareToken))
428426 then throw(("You can't share token more than " + toString(limitShareToken)))
429427 else if ((shareToken > 0))
430428 then if ((totalShareAmount == 0))
431429 then (baseEntry ++ [Reissue(SWOP, protocolReward, true), ScriptTransfer(wallet, protocolReward, SWOP)])
432430 else if ((shareToken >= pmtAmount))
433431 then baseEntry
434432 else throw(("Your maximum share token is " + toString(shareToken)))
435433 else throw("You can't share token")
436434 }
437435 else throw("Your amount of token less than 0")
438436 }
439437 else baseEntry
440438 }
441439
442440
443441
444442 @Callable(i)
445443 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = {
446444 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
447- let $t01946019560 = claimCalc(pool, i.caller, 1)
448- let userNewInterest = $t01946019560._1
449- let currentInterest = $t01946019560._2
450- let claimAmount = $t01946019560._3
451- let userShareTokensAmount = $t01946019560._4
445+ let $t01946219562 = claimCalc(pool, i.caller, 1)
446+ let userNewInterest = $t01946219562._1
447+ let currentInterest = $t01946219562._2
448+ let claimAmount = $t01946219562._3
449+ let userShareTokensAmount = $t01946219562._4
452450 let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount)
453451 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
454452 let totalShareAmount = getTotalShareTokenLocked(pool)
455453 let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount)
456454 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
457455 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
458456 if ((shareTokensWithdrawAmount > userShareTokensAmount))
459457 then throw("Withdraw amount more then user locked amount")
460458 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)]
461459 }
462460
463461
464462
465463 @Callable(i)
466464 func claim (pool) = {
467465 let shareTokenLocked = getTotalShareTokenLocked(pool)
468- let $t02107321138 = getLastInterestInfo(pool)
469- let lastInterestHeight = $t02107321138._1
470- let lastInterest = $t02107321138._2
471- let $t02114321232 = rewardInfo(pool)
472- let currentRewardPerBlock = $t02114321232._1
473- let rewardUpdateHeight = $t02114321232._2
474- let previousRewardPerBlock = $t02114321232._3
475- let $t02123721337 = claimCalc(pool, i.caller, 1)
476- let userNewInterest = $t02123721337._1
477- let currentInterest = $t02123721337._2
478- let claimAmount = $t02123721337._3
479- let userShareTokensAmount = $t02123721337._4
466+ let $t02107521140 = getLastInterestInfo(pool)
467+ let lastInterestHeight = $t02107521140._1
468+ let lastInterest = $t02107521140._2
469+ let $t02114521234 = rewardInfo(pool)
470+ let currentRewardPerBlock = $t02114521234._1
471+ let rewardUpdateHeight = $t02114521234._2
472+ let previousRewardPerBlock = $t02114521234._3
473+ let $t02123921339 = claimCalc(pool, i.caller, 1)
474+ let userNewInterest = $t02123921339._1
475+ let currentInterest = $t02123921339._2
476+ let claimAmount = $t02123921339._3
477+ let userShareTokensAmount = $t02123921339._4
480478 let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount)
481479 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
482480 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
483481 if ((availableFund == 0))
484482 then throw("You have 0 available SWOP")
485483 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)]
486484 }
487485
488486

github/deemru/w8io/026f985 
82.03 ms