tx · FPLqNsQCbKV7arCqGsu7nvZXTMWAjW8dpvHGkyZWbvxs

3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT:  -0.01000000 Waves

2021.05.31 10:31 [1549551] smart account 3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
32.58 ms