tx · 7zysV1oJwr55scQNNnkwRsoLL1GfbUwnfJuRytY3B7ci

3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT:  -0.01400000 Waves

2021.05.31 11:23 [1549608] smart account 3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT > SELF 0.00000000 Waves

{ "type": 13, "id": "7zysV1oJwr55scQNNnkwRsoLL1GfbUwnfJuRytY3B7ci", "fee": 1400000, "feeAssetId": null, "timestamp": 1622449462126, "version": 2, "chainId": 84, "sender": "3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT", "senderPublicKey": "3ijdmxaYrpDFsKVbQH2kvB7i6JzHj9bep9bGWiQPra2D", "proofs": [ "4Cohoqgsq4oXTsXPjbRMwMExZXGhFw8fnCzCYCw9oCZmRpAQmeNGp2hRmvVrpTnjppqgm7c4C9d8W5biFnAYX3n8" ], "script": "base64:AAIEAAAAAAAAACEIAhIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggBEgMKAQgAAABXAAAAAAxhZG1pblB1YktleTEBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTIBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTMBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAC2tTaGFyZUxpbWl0AgAAABxzaGFyZV9saW1pdF9vbl9maXJzdF9oYXJ2ZXN0AAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAca2V5UmV3YXJkUG9vbEZyYWN0aW9uQ3VycmVudAIAAAAdX2N1cnJlbnRfcG9vbF9mcmFjdGlvbl9yZXdhcmQAAAAAHWtleVJld2FyZFBvb2xGcmFjdGlvblByZXZpb3VzAgAAAB5fc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1dPUAAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAEcG9vbAIAAAABXwkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAGGtleVVzZXJTV09QQ2xhaW1lZEFtb3VudAUAAAAUdXNlckNsYWltZWRBbW91bnROZXcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8JAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABxrZXlVc2VyU1dPUExhc3RDbGFpbWVkQW1vdW50BQAAAAtjbGFpbUFtb3VudAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAADWF2YWlsYWJsZUZ1bmQFAAAABFNXT1AFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleT9Z6O4=", "height": 1549608, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FPLqNsQCbKV7arCqGsu7nvZXTMWAjW8dpvHGkyZWbvxs Next: 8EMpJE2Psfvxzx5fhsyDwpZmgMJftasypxNuCS5tqRan Diff:
OldNewDifferences
6969
7070 let keyfirstHarvestCpmm = "first_harvest"
7171
72-let governanceAddress = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
72+let governanceAddress = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU')
7373
7474 let wallet = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7575
76-let votingAddress = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
76+let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
7777
7878 let adminIncreaseInterestAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7979
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 keyActive = "active"
1515
1616 let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward"
1717
1818 let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward"
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 kHarvestPoolPrevActiveVoteStruc = "_harvest_pool_previous_activeVote_struc"
5959
6060 let kHarvestUserPoolPrevActiveVoteStruc = "_harvest_user_pool_previous_activeVote_struc"
6161
6262 let keyLimitShareFirstHarvest = "share_limit_on_first_harvest"
6363
6464 let keyAssetIdA = "A_asset_id"
6565
6666 let keyAssetIdB = "B_asset_id"
6767
6868 let keyFirstHarvestHeight = "first_harvest_height"
6969
7070 let keyfirstHarvestCpmm = "first_harvest"
7171
72-let governanceAddress = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS')
72+let governanceAddress = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU')
7373
7474 let wallet = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7575
76-let votingAddress = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
76+let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
7777
7878 let adminIncreaseInterestAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7979
8080 let oneWeekInBlock = 10106
8181
8282 let totalVoteShare = 10000000000
8383
8484 let scaleValue1 = 10
8585
8686 let scaleValue3 = 1000
8787
8888 let scaleValue5 = 100000
8989
9090 let scaleValue6 = 1000000
9191
9292 let scaleValue8 = 100000000
9393
9494 let scaleValue11 = 100000000000
9595
9696 func strAssetIdA (pool) = getStringValue(pool, keyAssetIdA)
9797
9898
9999 func strAssetIdB (pool) = getStringValue(pool, keyAssetIdB)
100100
101101
102102 func assetIdA (pool) = if ((strAssetIdA(pool) == "WAVES"))
103103 then unit
104104 else fromBase58String(strAssetIdA(pool))
105105
106106
107107 func assetIdB (pool) = if ((strAssetIdB(pool) == "WAVES"))
108108 then unit
109109 else fromBase58String(strAssetIdB(pool))
110110
111111
112112 let kBasePeriod = "base_period"
113113
114114 let kPeriodLength = "period_length"
115115
116116 let kStartHeight = "start_height"
117117
118118 let kFirstHarvestHeight = "first_harvest_height"
119119
120120 let kDurationFullVotePower = "duration_full_vote_power"
121121
122122 let kMinVotePower = "min_vote_power"
123123
124124 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
125125
126126 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
127127
128128 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
129129
130130 let durationFullVotePower = valueOrErrorMessage(getInteger(votingAddress, kDurationFullVotePower), "Empty kDurationFullVotePower")
131131
132132 let minVotePower = valueOrErrorMessage(getInteger(votingAddress, kMinVotePower), "Empty kMinVotePower")
133133
134134 let isActive = getBooleanValue(this, keyActive)
135135
136136 let currPeriod = (basePeriod + ((height - startHeight) / periodLength))
137137
138138 func getLimitToken (pool) = valueOrElse(getIntegerValue(pool, keyLimitShareFirstHarvest), 0)
139139
140140
141141 let APY = getIntegerValue(this, keyAPY)
142142
143143 let SwopYearEmission = getIntegerValue(this, keySwopYearEmission)
144144
145145 func assetNameA (pool) = match assetIdA(pool) {
146146 case id: ByteVector =>
147147 value(assetInfo(id)).name
148148 case waves: Unit =>
149149 "WAVES"
150150 case _ =>
151151 throw("Match error")
152152 }
153153
154154
155155 func assetNameB (pool) = match assetIdB(pool) {
156156 case id: ByteVector =>
157157 value(assetInfo(id)).name
158158 case waves: Unit =>
159159 "WAVES"
160160 case _ =>
161161 throw("Match error")
162162 }
163163
164164
165165 let SWOP = fromBase58String(getStringValue(this, keySWOPid))
166166
167167 func isFirstHarvest (pool) = valueOrElse(getBoolean(pool, keyfirstHarvestCpmm), false)
168168
169169
170170 func getHeightFirstHarvest (pool) = valueOrElse(getInteger(pool, keyFirstHarvestHeight), 0)
171171
172172
173173 func getBalanceA (pool) = valueOrErrorMessage(getInteger(pool, keyBalancecpmmA), ("No data on the key: " + keyBalancecpmmA))
174174
175175
176176 func getBalanceB (pool) = valueOrErrorMessage(getInteger(pool, keyBalancecpmmB), ("No data on the key: " + keyBalancecpmmB))
177177
178178
179179 func getShareLimitToken (pool) = valueOrErrorMessage(getInteger(pool, kShareLimit), ("No data on the key: " + kShareLimit))
180180
181181
182182 func getTotalShareTokenLocked (pool) = valueOrErrorMessage(getInteger(this, (pool + keyShareTokensLocked)), (("No data on the key: " + pool) + keyShareTokensLocked))
183183
184184
185185 func getShareAssetId (pool) = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
186186
187187
188188 func getAssetInfo (assetId) = match assetId {
189189 case id: ByteVector =>
190190 let stringId = toBase58String(id)
191191 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
192192 $Tuple3(stringId, info.name, info.decimals)
193193 case waves: Unit =>
194194 $Tuple3("WAVES", "WAVES", 8)
195195 case _ =>
196196 throw("Match error")
197197 }
198198
199199
200200 func calcScaleValue (assetId1,assetId2) = {
201201 let assetId1Decimals = value(assetInfo(assetId1)).decimals
202202 let assetId2Decimals = value(assetInfo(assetId2)).decimals
203203 let scaleDigits = ((assetId2Decimals - assetId1Decimals) + 8)
204204 pow(10, 0, scaleDigits, 0, 0, HALFDOWN)
205205 }
206206
207207
208208 func userAvailableSWOP (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyAvailableSWOP)), 0)
209209
210210
211211 func rewardInfo (pool) = {
212212 let totalRewardPerBlockCurrent = valueOrErrorMessage(getInteger(governanceAddress, keyTotalRewardPerBlockCurrent), ((("No data on the key: " + keyTotalRewardPerBlockCurrent) + " at address ") + toString(governanceAddress)))
213213 let totalRewardPerBlockPrevious = valueOrErrorMessage(getInteger(governanceAddress, keyTotalRewardPerBlockPrevious), ((("No data on the key: " + keyTotalRewardPerBlockPrevious) + " at address ") + toString(governanceAddress)))
214214 let rewardPoolFractionCurrent = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyRewardPoolFractionCurrent)), (((("No data on the key: " + pool) + keyRewardPoolFractionCurrent) + " at address ") + toString(governanceAddress)))
215215 let rewardUpdateHeight = valueOrErrorMessage(getInteger(governanceAddress, keyRewardUpdateHeight), ((("No data on the key: " + keyRewardUpdateHeight) + " at address ") + toString(governanceAddress)))
216216 let rewardPoolFractionPrevious = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyRewardPoolFractionPrevious)), (((("No data on the key: " + pool) + keyRewardPoolFractionPrevious) + " at address ") + toString(governanceAddress)))
217217 let rewardPoolCurrent = fraction(totalRewardPerBlockCurrent, rewardPoolFractionCurrent, totalVoteShare)
218218 let rewardPoolPrevious = fraction(totalRewardPerBlockPrevious, rewardPoolFractionPrevious, totalVoteShare)
219219 if (if ((rewardPoolCurrent > totalRewardPerBlockCurrent))
220220 then true
221221 else (rewardPoolPrevious > totalRewardPerBlockPrevious))
222222 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
223223 else $Tuple3(rewardPoolCurrent, rewardUpdateHeight, rewardPoolPrevious)
224224 }
225225
226226
227227 func getLastInterestInfo (pool) = {
228228 let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest))
229229 let lastInterestHeight = valueOrElse(getInteger(this, (pool + keyLastInterestHeight)), height)
230230 $Tuple2(lastInterestHeight, lastInterest)
231231 }
232232
233233
234234 func getUserInterestInfo (pool,userAddress) = {
235235 let userLastInterest = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserLastInterest))
236236 let userShare = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserShareTokensLocked))
237237 let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest))
238238 let userLastInterestValue = match userLastInterest {
239239 case userLastInterest: Int =>
240240 userLastInterest
241241 case _ =>
242242 lastInterest
243243 }
244244 let userShareTokensAmount = match userShare {
245245 case userShare: Int =>
246246 userShare
247247 case _ =>
248248 0
249249 }
250250 $Tuple2(userLastInterestValue, userShareTokensAmount)
251251 }
252252
253253
254254 func calcInterest (lastInterestHeight,rewardUpdateHeight,lastInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,shareAssetId,scaleValue,pmtAmount) = if ((shareTokenLocked == 0))
255255 then 0
256256 else if ((rewardUpdateHeight > height))
257257 then {
258258 let reward = (previousRewardPerBlock * (height - lastInterestHeight))
259259 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
260260 }
261261 else if ((lastInterestHeight > rewardUpdateHeight))
262262 then {
263263 let reward = (currentRewardPerBlock * (height - lastInterestHeight))
264264 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
265265 }
266266 else {
267267 let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
268268 let interestAfterUpdate = (lastInterest + fraction(rewardAfterLastInterestBeforeReawardUpdate, scaleValue, shareTokenLocked))
269269 let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
270270 (interestAfterUpdate + fraction(reward, scaleValue, shareTokenLocked))
271271 }
272272
273273
274274 func claimCalc (pool,caller,pmtAmount) = {
275275 let shareAssetId = getShareAssetId(pool)
276276 let scaleValue = calcScaleValue(SWOP, shareAssetId)
277277 let shareTokenLocked = getTotalShareTokenLocked(pool)
278278 let $t01109311158 = getLastInterestInfo(pool)
279279 let lastInterestHeight = $t01109311158._1
280280 let lastInterest = $t01109311158._2
281281 let $t01116311251 = rewardInfo(pool)
282282 let currentRewardPerBlock = $t01116311251._1
283283 let rewardUpdateHeight = $t01116311251._2
284284 let previousRewardPerBlock = $t01116311251._3
285285 let $t01125611335 = getUserInterestInfo(pool, caller)
286286 let userLastInterest = $t01125611335._1
287287 let userShareTokensAmount = $t01125611335._2
288288 let currentInterest = calcInterest(lastInterestHeight, rewardUpdateHeight, lastInterest, currentRewardPerBlock, shareTokenLocked, previousRewardPerBlock, shareAssetId, scaleValue, pmtAmount)
289289 let claimAmount = fraction(userShareTokensAmount, (currentInterest - userLastInterest), scaleValue)
290290 let userNewInterest = currentInterest
291291 $Tuple4(userNewInterest, currentInterest, claimAmount, userShareTokensAmount)
292292 }
293293
294294
295295 func calculateProtocolReward (pool) = {
296296 let $t01180811873 = getLastInterestInfo(pool)
297297 let lastInterestHeight = $t01180811873._1
298298 let lastInterest = $t01180811873._2
299299 let $t01187811966 = rewardInfo(pool)
300300 let currentRewardPerBlock = $t01187811966._1
301301 let rewardUpdateHeight = $t01187811966._2
302302 let previousRewardPerBlock = $t01187811966._3
303303 let shareTokenLocked = getTotalShareTokenLocked(pool)
304304 if ((shareTokenLocked == 0))
305305 then if ((rewardUpdateHeight > height))
306306 then {
307307 let reward = (previousRewardPerBlock * (height - lastInterestHeight))
308308 reward
309309 }
310310 else if ((lastInterestHeight > rewardUpdateHeight))
311311 then {
312312 let reward = (currentRewardPerBlock * (height - lastInterestHeight))
313313 reward
314314 }
315315 else {
316316 let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
317317 let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
318318 (reward + rewardAfterLastInterestBeforeReawardUpdate)
319319 }
320320 else 0
321321 }
322322
323323
324324 func checkPmtAssetIdCorrect (pool,pmtAssetId) = {
325325 let poolShareAssetId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
326326 if ((pmtAssetId == poolShareAssetId))
327327 then true
328328 else false
329329 }
330330
331331
332332 func getUserSWOPClaimedAmount (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyUserSWOPClaimedAmount)), 0)
333333
334334
335335 @Callable(i)
336336 func init (earlyLP) = if (isDefined(getString(this, keySWOPid)))
337337 then throw("SWOP already initialized")
338338 else {
339339 let initAmount = 100000000000000
340340 let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true)
341341 let SWOPid = calculateAssetId(SWOPissue)
342342 [BooleanEntry(keyActive, true), Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(keySWOPid, toBase58String(SWOPid))]
343343 }
344344
345345
346346
347347 @Callable(i)
348348 func initPoolShareFarming (pool) = if ((i.caller != this))
349349 then throw("Only the DApp itself can call this function")
350350 else {
351351 let $t01394014020 = rewardInfo(pool)
352352 let currentReward = $t01394014020._1
353353 let rewardUpdateHeight = $t01394014020._2
354354 let previousRewardPerBlock = $t01394014020._3
355355 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyLastInterestHeight), height)]
356356 }
357357
358358
359359
360360 @Callable(i)
361361 func updatePoolInterest (pool) = if ((i.caller != wallet))
362362 then throw("Only the Admin itself can call this function")
363363 else {
364364 let $t01443614556 = claimCalc(pool, adminIncreaseInterestAddress, 0)
365365 let userNewInterest = $t01443614556._1
366366 let currentInterest = $t01443614556._2
367367 let claimAmount = $t01443614556._3
368368 let userShareTokensAmount = $t01443614556._4
369369 let $t01456114641 = rewardInfo(pool)
370370 let currentReward = $t01456114641._1
371371 let rewardUpdateHeight = $t01456114641._2
372372 let previousRewardPerBlock = $t01456114641._3
373373 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)]
374374 }
375375
376376
377377
378378 @Callable(i)
379379 func lockShareTokens (pool) = {
380380 let $t01488714962 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
381381 let pmtAmount = $t01488714962._1
382382 let pmtAssetId = $t01488714962._2
383383 let $t01496715040 = getAssetInfo(pmtAssetId)
384384 let pmtStrAssetId = $t01496715040._1
385385 let pmtAssetName = $t01496715040._2
386386 let pmtDecimals = $t01496715040._3
387387 let $t01504515153 = claimCalc(pool, i.caller, pmtAmount)
388388 let userNewInterest = $t01504515153._1
389389 let currentInterest = $t01504515153._2
390390 let claimAmount = $t01504515153._3
391391 let userShareTokensAmount = $t01504515153._4
392392 let userShareAmountNew = (userShareTokensAmount + pmtAmount)
393393 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
394394 let totalShareAmount = getTotalShareTokenLocked(pool)
395395 let totalShareAmountNew = (totalShareAmount + pmtAmount)
396396 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
397397 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
398398 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)]
399399 if ((0 >= pmtAmount))
400400 then throw("You can't lock token")
401401 else if (!(checkPmtAssetIdCorrect(pool, pmtAssetId)))
402402 then throw("Incorrect pmtAssetId")
403403 else if (if (isFirstHarvest(Address(fromBase58String(pool))))
404404 then (getHeightFirstHarvest(Address(fromBase58String(pool))) > height)
405405 else false)
406406 then {
407407 let harvestPeriod = ((((getHeightFirstHarvest(Address(fromBase58String(pool))) - startHeight) + 1) / periodLength) - 1)
408408 let amountOfVoting = split(getStringValue(votingAddress, (((toString(i.caller) + "_") + pool) + "_user_pool_struc")), "_")
409409 let amountPoolStract = split(getStringValue(votingAddress, (pool + "_pool_struc")), "_")
410410 let amountActiveVoteUserPoolStract = split(getStringValue(votingAddress, (((toString(i.caller) + "_") + pool) + kHarvestUserPoolActiveVoteStrucVoting)), "_")
411411 let amountPoolActiveVoteStract = split(getStringValue(votingAddress, (pool + kHarvestPoolActiveVoteStrucVoting)), "_")
412412 let amountActiveVoteUserPoolPrevStract = split(getStringValue(votingAddress, (((toString(i.caller) + "_") + pool) + kHarvestPoolPrevActiveVoteStruc)), "_")
413413 let amountPoolActiveVotePrevStract = split(getStringValue(votingAddress, (pool + kHarvestUserPoolPrevActiveVoteStruc)), "_")
414414 let userShareTokenLocked = userShareTokensAmount
415415 let userPoolActiveVote = if ((toString(currPeriod) == amountOfVoting[2]))
416416 then valueOrElse(parseInt(amountActiveVoteUserPoolStract[0]), 0)
417417 else valueOrElse(parseInt(amountOfVoting[1]), 0)
418418 let poolActiveVote = if ((toString(currPeriod) == amountPoolStract[2]))
419419 then valueOrElse(parseInt(amountPoolActiveVoteStract[0]), 0)
420420 else valueOrElse(parseInt(amountPoolStract[1]), 0)
421421 let protocolReward = calculateProtocolReward(pool)
422422 if ((userPoolActiveVote != 0))
423423 then {
424424 let limitShareToken = getShareLimitToken(addressFromStringValue(pool))
425425 let shareToken = (fraction(limitShareToken, userPoolActiveVote, poolActiveVote) - userShareTokenLocked)
426426 if ((amountActiveVoteUserPoolStract[1] != toString(harvestPeriod)))
427427 then throw("You can't share token")
428428 else if ((pmtAmount > limitShareToken))
429429 then throw(("You can't share token more than " + toString(limitShareToken)))
430430 else if ((shareToken > 0))
431431 then if ((totalShareAmount == 0))
432432 then (baseEntry ++ [ScriptTransfer(wallet, protocolReward, SWOP)])
433433 else if ((shareToken >= pmtAmount))
434434 then baseEntry
435435 else throw(("Your maximum share token is " + toString(shareToken)))
436436 else throw("You can't share token")
437437 }
438438 else throw("Your amount of token less than 0")
439439 }
440440 else baseEntry
441441 }
442442
443443
444444
445445 @Callable(i)
446446 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = {
447447 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
448448 let $t01955919659 = claimCalc(pool, i.caller, 1)
449449 let userNewInterest = $t01955919659._1
450450 let currentInterest = $t01955919659._2
451451 let claimAmount = $t01955919659._3
452452 let userShareTokensAmount = $t01955919659._4
453453 let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount)
454454 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
455455 let totalShareAmount = getTotalShareTokenLocked(pool)
456456 let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount)
457457 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
458458 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
459459 if ((shareTokensWithdrawAmount > userShareTokensAmount))
460460 then throw("Withdraw amount more then user locked amount")
461461 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)]
462462 }
463463
464464
465465
466466 @Callable(i)
467467 func claim (pool) = {
468468 let shareTokenLocked = getTotalShareTokenLocked(pool)
469469 let $t02126021325 = getLastInterestInfo(pool)
470470 let lastInterestHeight = $t02126021325._1
471471 let lastInterest = $t02126021325._2
472472 let $t02133021419 = rewardInfo(pool)
473473 let currentRewardPerBlock = $t02133021419._1
474474 let rewardUpdateHeight = $t02133021419._2
475475 let previousRewardPerBlock = $t02133021419._3
476476 let $t02142421524 = claimCalc(pool, i.caller, 1)
477477 let userNewInterest = $t02142421524._1
478478 let currentInterest = $t02142421524._2
479479 let claimAmount = $t02142421524._3
480480 let userShareTokensAmount = $t02142421524._4
481481 let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount)
482482 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
483483 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
484484 if ((availableFund == 0))
485485 then throw("You have 0 available SWOP")
486486 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)]
487487 }
488488
489489
490490 @Verifier(tx)
491491 func verify () = match tx {
492492 case _ =>
493493 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
494494 }
495495

github/deemru/w8io/169f3d6 
86.00 ms