tx · 8EMpJE2Psfvxzx5fhsyDwpZmgMJftasypxNuCS5tqRan

3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT:  -0.01400000 Waves

2021.05.31 14:09 [1549772] smart account 3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT > SELF 0.00000000 Waves

{ "type": 13, "id": "8EMpJE2Psfvxzx5fhsyDwpZmgMJftasypxNuCS5tqRan", "fee": 1400000, "feeAssetId": null, "timestamp": 1622459371180, "version": 2, "chainId": 84, "sender": "3MsxHxruYWoddB4HRiPBYAWtMXMtCF1V9XT", "senderPublicKey": "3ijdmxaYrpDFsKVbQH2kvB7i6JzHj9bep9bGWiQPra2D", "proofs": [ "4ZwsSprBAUXXatVWnkMcLA1vi1ddg4SgoXLZkh8qXunpYSYsxwbgBS2ykZn44ajHqYj8ZFcwurQCs6AdDtGRh6im" ], "script": "base64:AAIEAAAAAAAAACEIAhIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggBEgMKAQgAAABTAAAAAAxhZG1pblB1YktleTEBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTIBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAAAxhZG1pblB1YktleTMBAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABRrZXlTaGFyZVRva2Vuc0xvY2tlZAIAAAAaX3RvdGFsX3NoYXJlX3Rva2Vuc19sb2NrZWQAAAAAC2tTaGFyZUxpbWl0AgAAABxzaGFyZV9saW1pdF9vbl9maXJzdF9oYXJ2ZXN0AAAAABxrZXlSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50AgAAAB1fY3VycmVudF9wb29sX2ZyYWN0aW9uX3Jld2FyZAAAAAAda2V5UmV3YXJkUG9vbEZyYWN0aW9uUHJldmlvdXMCAAAAHl9wcmV2aW91c19wb29sX2ZyYWN0aW9uX3Jld2FyZ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EwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAARwb29sBQAAABVrZXlMYXN0SW50ZXJlc3RIZWlnaHQFAAAABmhlaWdodAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAEcG9vbAIAAAABXwkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAEGtleUF2YWlsYWJsZVNXT1AAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABHBvb2wCAAAAAV8JAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABhrZXlVc2VyU1dPUENsYWltZWRBbW91bnQFAAAAFHVzZXJDbGFpbWVkQW1vdW50TmV3CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAARwb29sAgAAAAFfCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgUAAAAca2V5VXNlclNXT1BMYXN0Q2xhaW1lZEFtb3VudAUAAAALY2xhaW1BbW91bnQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAA1hdmFpbGFibGVGdW5kBQAAAARTV09QBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXli5tvK", "height": 1549772, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7zysV1oJwr55scQNNnkwRsoLL1GfbUwnfJuRytY3B7ci Next: HNbPDUqwjx799hmRNxZsesubPNv6KecHMdguGpUCtrje Diff:
OldNewDifferences
1010 let keyShareTokensLocked = "_total_share_tokens_locked"
1111
1212 let kShareLimit = "share_limit_on_first_harvest"
13-
14-let keyActive = "active"
1513
1614 let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward"
1715
5452 let kHarvestPoolActiveVoteStrucVoting = "_harvest_pool_activeVote_struc"
5553
5654 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"
6155
6256 let keyLimitShareFirstHarvest = "share_limit_on_first_harvest"
6357
130124 let durationFullVotePower = valueOrErrorMessage(getInteger(votingAddress, kDurationFullVotePower), "Empty kDurationFullVotePower")
131125
132126 let minVotePower = valueOrErrorMessage(getInteger(votingAddress, kMinVotePower), "Empty kMinVotePower")
133-
134-let isActive = getBooleanValue(this, keyActive)
135127
136128 let currPeriod = (basePeriod + ((height - startHeight) / periodLength))
137129
275267 let shareAssetId = getShareAssetId(pool)
276268 let scaleValue = calcScaleValue(SWOP, shareAssetId)
277269 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
270+ let $t01085710922 = getLastInterestInfo(pool)
271+ let lastInterestHeight = $t01085710922._1
272+ let lastInterest = $t01085710922._2
273+ let $t01092711015 = rewardInfo(pool)
274+ let currentRewardPerBlock = $t01092711015._1
275+ let rewardUpdateHeight = $t01092711015._2
276+ let previousRewardPerBlock = $t01092711015._3
277+ let $t01102011099 = getUserInterestInfo(pool, caller)
278+ let userLastInterest = $t01102011099._1
279+ let userShareTokensAmount = $t01102011099._2
288280 let currentInterest = calcInterest(lastInterestHeight, rewardUpdateHeight, lastInterest, currentRewardPerBlock, shareTokenLocked, previousRewardPerBlock, shareAssetId, scaleValue, pmtAmount)
289281 let claimAmount = fraction(userShareTokensAmount, (currentInterest - userLastInterest), scaleValue)
290282 let userNewInterest = currentInterest
293285
294286
295287 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
288+ let $t01157211637 = getLastInterestInfo(pool)
289+ let lastInterestHeight = $t01157211637._1
290+ let lastInterest = $t01157211637._2
291+ let $t01164211730 = rewardInfo(pool)
292+ let currentRewardPerBlock = $t01164211730._1
293+ let rewardUpdateHeight = $t01164211730._2
294+ let previousRewardPerBlock = $t01164211730._3
303295 let shareTokenLocked = getTotalShareTokenLocked(pool)
304296 if ((shareTokenLocked == 0))
305297 then if ((rewardUpdateHeight > height))
339331 let initAmount = 100000000000000
340332 let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true)
341333 let SWOPid = calculateAssetId(SWOPissue)
342-[BooleanEntry(keyActive, true), Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(keySWOPid, toBase58String(SWOPid))]
334+[Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(keySWOPid, toBase58String(SWOPid))]
343335 }
344336
345337
348340 func initPoolShareFarming (pool) = if ((i.caller != this))
349341 then throw("Only the DApp itself can call this function")
350342 else {
351- let $t01394014020 = rewardInfo(pool)
352- let currentReward = $t01394014020._1
353- let rewardUpdateHeight = $t01394014020._2
354- let previousRewardPerBlock = $t01394014020._3
343+ let $t01348413564 = rewardInfo(pool)
344+ let currentReward = $t01348413564._1
345+ let rewardUpdateHeight = $t01348413564._2
346+ let previousRewardPerBlock = $t01348413564._3
355347 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyLastInterestHeight), height)]
356348 }
357349
361353 func updatePoolInterest (pool) = if ((i.caller != wallet))
362354 then throw("Only the Admin itself can call this function")
363355 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
356+ let $t01390214022 = claimCalc(pool, adminIncreaseInterestAddress, 0)
357+ let userNewInterest = $t01390214022._1
358+ let currentInterest = $t01390214022._2
359+ let claimAmount = $t01390214022._3
360+ let userShareTokensAmount = $t01390214022._4
361+ let $t01402714107 = rewardInfo(pool)
362+ let currentReward = $t01402714107._1
363+ let rewardUpdateHeight = $t01402714107._2
364+ let previousRewardPerBlock = $t01402714107._3
373365 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)]
374366 }
375367
377369
378370 @Callable(i)
379371 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
372+ let $t01435314428 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
373+ let pmtAmount = $t01435314428._1
374+ let pmtAssetId = $t01435314428._2
375+ let $t01443314506 = getAssetInfo(pmtAssetId)
376+ let pmtStrAssetId = $t01443314506._1
377+ let pmtAssetName = $t01443314506._2
378+ let pmtDecimals = $t01443314506._3
379+ let $t01451114619 = claimCalc(pool, i.caller, pmtAmount)
380+ let userNewInterest = $t01451114619._1
381+ let currentInterest = $t01451114619._2
382+ let claimAmount = $t01451114619._3
383+ let userShareTokensAmount = $t01451114619._4
392384 let userShareAmountNew = (userShareTokensAmount + pmtAmount)
393385 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
394386 let totalShareAmount = getTotalShareTokenLocked(pool)
407399 let harvestPeriod = ((((getHeightFirstHarvest(Address(fromBase58String(pool))) - startHeight) + 1) / periodLength) - 1)
408400 let amountOfVoting = split(getStringValue(votingAddress, (((toString(i.caller) + "_") + pool) + "_user_pool_struc")), "_")
409401 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)), "_")
402+ let amountActiveVoteUserPoolStract = split(valueOrElse(getString(votingAddress, (((toString(i.caller) + "_") + pool) + kHarvestUserPoolActiveVoteStrucVoting)), ""), "_")
403+ let amountPoolActiveVoteStract = split(valueOrElse(getString(votingAddress, (pool + kHarvestPoolActiveVoteStrucVoting)), ""), "_")
414404 let userShareTokenLocked = userShareTokensAmount
415405 let userPoolActiveVote = if ((toString(currPeriod) == amountOfVoting[2]))
416406 then valueOrElse(parseInt(amountActiveVoteUserPoolStract[0]), 0)
423413 then {
424414 let limitShareToken = getShareLimitToken(addressFromStringValue(pool))
425415 let shareToken = (fraction(limitShareToken, userPoolActiveVote, poolActiveVote) - userShareTokenLocked)
426- if ((amountActiveVoteUserPoolStract[1] != toString(harvestPeriod)))
416+ if ((valueOrElse(parseInt(amountActiveVoteUserPoolStract[1]), 0) >= harvestPeriod))
427417 then throw("You can't share token")
428418 else if ((pmtAmount > limitShareToken))
429419 then throw(("You can't share token more than " + toString(limitShareToken)))
445435 @Callable(i)
446436 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = {
447437 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
438+ let $t01869818798 = claimCalc(pool, i.caller, 1)
439+ let userNewInterest = $t01869818798._1
440+ let currentInterest = $t01869818798._2
441+ let claimAmount = $t01869818798._3
442+ let userShareTokensAmount = $t01869818798._4
453443 let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount)
454444 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
455445 let totalShareAmount = getTotalShareTokenLocked(pool)
466456 @Callable(i)
467457 func claim (pool) = {
468458 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
459+ let $t02031320378 = getLastInterestInfo(pool)
460+ let lastInterestHeight = $t02031320378._1
461+ let lastInterest = $t02031320378._2
462+ let $t02038320472 = rewardInfo(pool)
463+ let currentRewardPerBlock = $t02038320472._1
464+ let rewardUpdateHeight = $t02038320472._2
465+ let previousRewardPerBlock = $t02038320472._3
466+ let $t02047720577 = claimCalc(pool, i.caller, 1)
467+ let userNewInterest = $t02047720577._1
468+ let currentInterest = $t02047720577._2
469+ let claimAmount = $t02047720577._3
470+ let userShareTokensAmount = $t02047720577._4
481471 let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount)
482472 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
483473 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let adminPubKey1 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
55
66 let adminPubKey2 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
77
88 let adminPubKey3 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
99
1010 let keyShareTokensLocked = "_total_share_tokens_locked"
1111
1212 let kShareLimit = "share_limit_on_first_harvest"
13-
14-let keyActive = "active"
1513
1614 let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward"
1715
1816 let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward"
1917
2018 let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current"
2119
2220 let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous"
2321
2422 let keyRewardUpdateHeight = "reward_update_height"
2523
2624 let keyLastInterest = "_last_interest"
2725
2826 let keyLastInterestHeight = "_last_interest_height"
2927
3028 let keyUserShareTokensLocked = "_share_tokens_locked"
3129
3230 let keyUserLastInterest = "_last_interest"
3331
3432 let keySWOPid = "SWOP_id"
3533
3634 let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount"
3735
3836 let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount"
3937
4038 let keyAvailableSWOP = "_available_SWOP"
4139
4240 let keyFarmingStartHeight = "farming_start_height"
4341
4442 let keyAPY = "apy"
4543
4644 let kPreviousTotalVoteSWOP = "previous_total_vote_SWOP"
4745
4846 let keySwopYearEmission = "swop_year_emission"
4947
5048 let keyBalancecpmmA = "A_asset_balance"
5149
5250 let keyBalancecpmmB = "B_asset_balance"
5351
5452 let kHarvestPoolActiveVoteStrucVoting = "_harvest_pool_activeVote_struc"
5553
5654 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"
6155
6256 let keyLimitShareFirstHarvest = "share_limit_on_first_harvest"
6357
6458 let keyAssetIdA = "A_asset_id"
6559
6660 let keyAssetIdB = "B_asset_id"
6761
6862 let keyFirstHarvestHeight = "first_harvest_height"
6963
7064 let keyfirstHarvestCpmm = "first_harvest"
7165
7266 let governanceAddress = Address(base58'3N5W8da2iiijVieA6qLGo7KzCJj8B19smWU')
7367
7468 let wallet = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7569
7670 let votingAddress = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ')
7771
7872 let adminIncreaseInterestAddress = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4')
7973
8074 let oneWeekInBlock = 10106
8175
8276 let totalVoteShare = 10000000000
8377
8478 let scaleValue1 = 10
8579
8680 let scaleValue3 = 1000
8781
8882 let scaleValue5 = 100000
8983
9084 let scaleValue6 = 1000000
9185
9286 let scaleValue8 = 100000000
9387
9488 let scaleValue11 = 100000000000
9589
9690 func strAssetIdA (pool) = getStringValue(pool, keyAssetIdA)
9791
9892
9993 func strAssetIdB (pool) = getStringValue(pool, keyAssetIdB)
10094
10195
10296 func assetIdA (pool) = if ((strAssetIdA(pool) == "WAVES"))
10397 then unit
10498 else fromBase58String(strAssetIdA(pool))
10599
106100
107101 func assetIdB (pool) = if ((strAssetIdB(pool) == "WAVES"))
108102 then unit
109103 else fromBase58String(strAssetIdB(pool))
110104
111105
112106 let kBasePeriod = "base_period"
113107
114108 let kPeriodLength = "period_length"
115109
116110 let kStartHeight = "start_height"
117111
118112 let kFirstHarvestHeight = "first_harvest_height"
119113
120114 let kDurationFullVotePower = "duration_full_vote_power"
121115
122116 let kMinVotePower = "min_vote_power"
123117
124118 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
125119
126120 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
127121
128122 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
129123
130124 let durationFullVotePower = valueOrErrorMessage(getInteger(votingAddress, kDurationFullVotePower), "Empty kDurationFullVotePower")
131125
132126 let minVotePower = valueOrErrorMessage(getInteger(votingAddress, kMinVotePower), "Empty kMinVotePower")
133-
134-let isActive = getBooleanValue(this, keyActive)
135127
136128 let currPeriod = (basePeriod + ((height - startHeight) / periodLength))
137129
138130 func getLimitToken (pool) = valueOrElse(getIntegerValue(pool, keyLimitShareFirstHarvest), 0)
139131
140132
141133 let APY = getIntegerValue(this, keyAPY)
142134
143135 let SwopYearEmission = getIntegerValue(this, keySwopYearEmission)
144136
145137 func assetNameA (pool) = match assetIdA(pool) {
146138 case id: ByteVector =>
147139 value(assetInfo(id)).name
148140 case waves: Unit =>
149141 "WAVES"
150142 case _ =>
151143 throw("Match error")
152144 }
153145
154146
155147 func assetNameB (pool) = match assetIdB(pool) {
156148 case id: ByteVector =>
157149 value(assetInfo(id)).name
158150 case waves: Unit =>
159151 "WAVES"
160152 case _ =>
161153 throw("Match error")
162154 }
163155
164156
165157 let SWOP = fromBase58String(getStringValue(this, keySWOPid))
166158
167159 func isFirstHarvest (pool) = valueOrElse(getBoolean(pool, keyfirstHarvestCpmm), false)
168160
169161
170162 func getHeightFirstHarvest (pool) = valueOrElse(getInteger(pool, keyFirstHarvestHeight), 0)
171163
172164
173165 func getBalanceA (pool) = valueOrErrorMessage(getInteger(pool, keyBalancecpmmA), ("No data on the key: " + keyBalancecpmmA))
174166
175167
176168 func getBalanceB (pool) = valueOrErrorMessage(getInteger(pool, keyBalancecpmmB), ("No data on the key: " + keyBalancecpmmB))
177169
178170
179171 func getShareLimitToken (pool) = valueOrErrorMessage(getInteger(pool, kShareLimit), ("No data on the key: " + kShareLimit))
180172
181173
182174 func getTotalShareTokenLocked (pool) = valueOrErrorMessage(getInteger(this, (pool + keyShareTokensLocked)), (("No data on the key: " + pool) + keyShareTokensLocked))
183175
184176
185177 func getShareAssetId (pool) = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
186178
187179
188180 func getAssetInfo (assetId) = match assetId {
189181 case id: ByteVector =>
190182 let stringId = toBase58String(id)
191183 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
192184 $Tuple3(stringId, info.name, info.decimals)
193185 case waves: Unit =>
194186 $Tuple3("WAVES", "WAVES", 8)
195187 case _ =>
196188 throw("Match error")
197189 }
198190
199191
200192 func calcScaleValue (assetId1,assetId2) = {
201193 let assetId1Decimals = value(assetInfo(assetId1)).decimals
202194 let assetId2Decimals = value(assetInfo(assetId2)).decimals
203195 let scaleDigits = ((assetId2Decimals - assetId1Decimals) + 8)
204196 pow(10, 0, scaleDigits, 0, 0, HALFDOWN)
205197 }
206198
207199
208200 func userAvailableSWOP (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyAvailableSWOP)), 0)
209201
210202
211203 func rewardInfo (pool) = {
212204 let totalRewardPerBlockCurrent = valueOrErrorMessage(getInteger(governanceAddress, keyTotalRewardPerBlockCurrent), ((("No data on the key: " + keyTotalRewardPerBlockCurrent) + " at address ") + toString(governanceAddress)))
213205 let totalRewardPerBlockPrevious = valueOrErrorMessage(getInteger(governanceAddress, keyTotalRewardPerBlockPrevious), ((("No data on the key: " + keyTotalRewardPerBlockPrevious) + " at address ") + toString(governanceAddress)))
214206 let rewardPoolFractionCurrent = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyRewardPoolFractionCurrent)), (((("No data on the key: " + pool) + keyRewardPoolFractionCurrent) + " at address ") + toString(governanceAddress)))
215207 let rewardUpdateHeight = valueOrErrorMessage(getInteger(governanceAddress, keyRewardUpdateHeight), ((("No data on the key: " + keyRewardUpdateHeight) + " at address ") + toString(governanceAddress)))
216208 let rewardPoolFractionPrevious = valueOrErrorMessage(getInteger(governanceAddress, (pool + keyRewardPoolFractionPrevious)), (((("No data on the key: " + pool) + keyRewardPoolFractionPrevious) + " at address ") + toString(governanceAddress)))
217209 let rewardPoolCurrent = fraction(totalRewardPerBlockCurrent, rewardPoolFractionCurrent, totalVoteShare)
218210 let rewardPoolPrevious = fraction(totalRewardPerBlockPrevious, rewardPoolFractionPrevious, totalVoteShare)
219211 if (if ((rewardPoolCurrent > totalRewardPerBlockCurrent))
220212 then true
221213 else (rewardPoolPrevious > totalRewardPerBlockPrevious))
222214 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
223215 else $Tuple3(rewardPoolCurrent, rewardUpdateHeight, rewardPoolPrevious)
224216 }
225217
226218
227219 func getLastInterestInfo (pool) = {
228220 let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest))
229221 let lastInterestHeight = valueOrElse(getInteger(this, (pool + keyLastInterestHeight)), height)
230222 $Tuple2(lastInterestHeight, lastInterest)
231223 }
232224
233225
234226 func getUserInterestInfo (pool,userAddress) = {
235227 let userLastInterest = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserLastInterest))
236228 let userShare = getInteger(this, (((pool + "_") + toString(userAddress)) + keyUserShareTokensLocked))
237229 let lastInterest = valueOrErrorMessage(getInteger(this, (pool + keyLastInterest)), (("No data on the key: " + pool) + keyLastInterest))
238230 let userLastInterestValue = match userLastInterest {
239231 case userLastInterest: Int =>
240232 userLastInterest
241233 case _ =>
242234 lastInterest
243235 }
244236 let userShareTokensAmount = match userShare {
245237 case userShare: Int =>
246238 userShare
247239 case _ =>
248240 0
249241 }
250242 $Tuple2(userLastInterestValue, userShareTokensAmount)
251243 }
252244
253245
254246 func calcInterest (lastInterestHeight,rewardUpdateHeight,lastInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,shareAssetId,scaleValue,pmtAmount) = if ((shareTokenLocked == 0))
255247 then 0
256248 else if ((rewardUpdateHeight > height))
257249 then {
258250 let reward = (previousRewardPerBlock * (height - lastInterestHeight))
259251 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
260252 }
261253 else if ((lastInterestHeight > rewardUpdateHeight))
262254 then {
263255 let reward = (currentRewardPerBlock * (height - lastInterestHeight))
264256 (lastInterest + fraction(reward, scaleValue, shareTokenLocked))
265257 }
266258 else {
267259 let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
268260 let interestAfterUpdate = (lastInterest + fraction(rewardAfterLastInterestBeforeReawardUpdate, scaleValue, shareTokenLocked))
269261 let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
270262 (interestAfterUpdate + fraction(reward, scaleValue, shareTokenLocked))
271263 }
272264
273265
274266 func claimCalc (pool,caller,pmtAmount) = {
275267 let shareAssetId = getShareAssetId(pool)
276268 let scaleValue = calcScaleValue(SWOP, shareAssetId)
277269 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
270+ let $t01085710922 = getLastInterestInfo(pool)
271+ let lastInterestHeight = $t01085710922._1
272+ let lastInterest = $t01085710922._2
273+ let $t01092711015 = rewardInfo(pool)
274+ let currentRewardPerBlock = $t01092711015._1
275+ let rewardUpdateHeight = $t01092711015._2
276+ let previousRewardPerBlock = $t01092711015._3
277+ let $t01102011099 = getUserInterestInfo(pool, caller)
278+ let userLastInterest = $t01102011099._1
279+ let userShareTokensAmount = $t01102011099._2
288280 let currentInterest = calcInterest(lastInterestHeight, rewardUpdateHeight, lastInterest, currentRewardPerBlock, shareTokenLocked, previousRewardPerBlock, shareAssetId, scaleValue, pmtAmount)
289281 let claimAmount = fraction(userShareTokensAmount, (currentInterest - userLastInterest), scaleValue)
290282 let userNewInterest = currentInterest
291283 $Tuple4(userNewInterest, currentInterest, claimAmount, userShareTokensAmount)
292284 }
293285
294286
295287 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
288+ let $t01157211637 = getLastInterestInfo(pool)
289+ let lastInterestHeight = $t01157211637._1
290+ let lastInterest = $t01157211637._2
291+ let $t01164211730 = rewardInfo(pool)
292+ let currentRewardPerBlock = $t01164211730._1
293+ let rewardUpdateHeight = $t01164211730._2
294+ let previousRewardPerBlock = $t01164211730._3
303295 let shareTokenLocked = getTotalShareTokenLocked(pool)
304296 if ((shareTokenLocked == 0))
305297 then if ((rewardUpdateHeight > height))
306298 then {
307299 let reward = (previousRewardPerBlock * (height - lastInterestHeight))
308300 reward
309301 }
310302 else if ((lastInterestHeight > rewardUpdateHeight))
311303 then {
312304 let reward = (currentRewardPerBlock * (height - lastInterestHeight))
313305 reward
314306 }
315307 else {
316308 let rewardAfterLastInterestBeforeReawardUpdate = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
317309 let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
318310 (reward + rewardAfterLastInterestBeforeReawardUpdate)
319311 }
320312 else 0
321313 }
322314
323315
324316 func checkPmtAssetIdCorrect (pool,pmtAssetId) = {
325317 let poolShareAssetId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
326318 if ((pmtAssetId == poolShareAssetId))
327319 then true
328320 else false
329321 }
330322
331323
332324 func getUserSWOPClaimedAmount (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + keyUserSWOPClaimedAmount)), 0)
333325
334326
335327 @Callable(i)
336328 func init (earlyLP) = if (isDefined(getString(this, keySWOPid)))
337329 then throw("SWOP already initialized")
338330 else {
339331 let initAmount = 100000000000000
340332 let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true)
341333 let SWOPid = calculateAssetId(SWOPissue)
342-[BooleanEntry(keyActive, true), Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(keySWOPid, toBase58String(SWOPid))]
334+[Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(keySWOPid, toBase58String(SWOPid))]
343335 }
344336
345337
346338
347339 @Callable(i)
348340 func initPoolShareFarming (pool) = if ((i.caller != this))
349341 then throw("Only the DApp itself can call this function")
350342 else {
351- let $t01394014020 = rewardInfo(pool)
352- let currentReward = $t01394014020._1
353- let rewardUpdateHeight = $t01394014020._2
354- let previousRewardPerBlock = $t01394014020._3
343+ let $t01348413564 = rewardInfo(pool)
344+ let currentReward = $t01348413564._1
345+ let rewardUpdateHeight = $t01348413564._2
346+ let previousRewardPerBlock = $t01348413564._3
355347 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), 0), IntegerEntry((pool + keyLastInterestHeight), height)]
356348 }
357349
358350
359351
360352 @Callable(i)
361353 func updatePoolInterest (pool) = if ((i.caller != wallet))
362354 then throw("Only the Admin itself can call this function")
363355 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
356+ let $t01390214022 = claimCalc(pool, adminIncreaseInterestAddress, 0)
357+ let userNewInterest = $t01390214022._1
358+ let currentInterest = $t01390214022._2
359+ let claimAmount = $t01390214022._3
360+ let userShareTokensAmount = $t01390214022._4
361+ let $t01402714107 = rewardInfo(pool)
362+ let currentReward = $t01402714107._1
363+ let rewardUpdateHeight = $t01402714107._2
364+ let previousRewardPerBlock = $t01402714107._3
373365 [IntegerEntry((pool + keyShareTokensLocked), 0), IntegerEntry((pool + keyLastInterest), userNewInterest), IntegerEntry((pool + keyLastInterestHeight), height)]
374366 }
375367
376368
377369
378370 @Callable(i)
379371 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
372+ let $t01435314428 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
373+ let pmtAmount = $t01435314428._1
374+ let pmtAssetId = $t01435314428._2
375+ let $t01443314506 = getAssetInfo(pmtAssetId)
376+ let pmtStrAssetId = $t01443314506._1
377+ let pmtAssetName = $t01443314506._2
378+ let pmtDecimals = $t01443314506._3
379+ let $t01451114619 = claimCalc(pool, i.caller, pmtAmount)
380+ let userNewInterest = $t01451114619._1
381+ let currentInterest = $t01451114619._2
382+ let claimAmount = $t01451114619._3
383+ let userShareTokensAmount = $t01451114619._4
392384 let userShareAmountNew = (userShareTokensAmount + pmtAmount)
393385 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
394386 let totalShareAmount = getTotalShareTokenLocked(pool)
395387 let totalShareAmountNew = (totalShareAmount + pmtAmount)
396388 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
397389 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
398390 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)]
399391 if ((0 >= pmtAmount))
400392 then throw("You can't lock token")
401393 else if (!(checkPmtAssetIdCorrect(pool, pmtAssetId)))
402394 then throw("Incorrect pmtAssetId")
403395 else if (if (isFirstHarvest(Address(fromBase58String(pool))))
404396 then (getHeightFirstHarvest(Address(fromBase58String(pool))) > height)
405397 else false)
406398 then {
407399 let harvestPeriod = ((((getHeightFirstHarvest(Address(fromBase58String(pool))) - startHeight) + 1) / periodLength) - 1)
408400 let amountOfVoting = split(getStringValue(votingAddress, (((toString(i.caller) + "_") + pool) + "_user_pool_struc")), "_")
409401 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)), "_")
402+ let amountActiveVoteUserPoolStract = split(valueOrElse(getString(votingAddress, (((toString(i.caller) + "_") + pool) + kHarvestUserPoolActiveVoteStrucVoting)), ""), "_")
403+ let amountPoolActiveVoteStract = split(valueOrElse(getString(votingAddress, (pool + kHarvestPoolActiveVoteStrucVoting)), ""), "_")
414404 let userShareTokenLocked = userShareTokensAmount
415405 let userPoolActiveVote = if ((toString(currPeriod) == amountOfVoting[2]))
416406 then valueOrElse(parseInt(amountActiveVoteUserPoolStract[0]), 0)
417407 else valueOrElse(parseInt(amountOfVoting[1]), 0)
418408 let poolActiveVote = if ((toString(currPeriod) == amountPoolStract[2]))
419409 then valueOrElse(parseInt(amountPoolActiveVoteStract[0]), 0)
420410 else valueOrElse(parseInt(amountPoolStract[1]), 0)
421411 let protocolReward = calculateProtocolReward(pool)
422412 if ((userPoolActiveVote != 0))
423413 then {
424414 let limitShareToken = getShareLimitToken(addressFromStringValue(pool))
425415 let shareToken = (fraction(limitShareToken, userPoolActiveVote, poolActiveVote) - userShareTokenLocked)
426- if ((amountActiveVoteUserPoolStract[1] != toString(harvestPeriod)))
416+ if ((valueOrElse(parseInt(amountActiveVoteUserPoolStract[1]), 0) >= harvestPeriod))
427417 then throw("You can't share token")
428418 else if ((pmtAmount > limitShareToken))
429419 then throw(("You can't share token more than " + toString(limitShareToken)))
430420 else if ((shareToken > 0))
431421 then if ((totalShareAmount == 0))
432422 then (baseEntry ++ [ScriptTransfer(wallet, protocolReward, SWOP)])
433423 else if ((shareToken >= pmtAmount))
434424 then baseEntry
435425 else throw(("Your maximum share token is " + toString(shareToken)))
436426 else throw("You can't share token")
437427 }
438428 else throw("Your amount of token less than 0")
439429 }
440430 else baseEntry
441431 }
442432
443433
444434
445435 @Callable(i)
446436 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = {
447437 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
438+ let $t01869818798 = claimCalc(pool, i.caller, 1)
439+ let userNewInterest = $t01869818798._1
440+ let currentInterest = $t01869818798._2
441+ let claimAmount = $t01869818798._3
442+ let userShareTokensAmount = $t01869818798._4
453443 let userShareAmountNew = (userShareTokensAmount - shareTokensWithdrawAmount)
454444 let availableFundsNew = (userAvailableSWOP(pool, i.caller) + claimAmount)
455445 let totalShareAmount = getTotalShareTokenLocked(pool)
456446 let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount)
457447 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
458448 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
459449 if ((shareTokensWithdrawAmount > userShareTokensAmount))
460450 then throw("Withdraw amount more then user locked amount")
461451 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)]
462452 }
463453
464454
465455
466456 @Callable(i)
467457 func claim (pool) = {
468458 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
459+ let $t02031320378 = getLastInterestInfo(pool)
460+ let lastInterestHeight = $t02031320378._1
461+ let lastInterest = $t02031320378._2
462+ let $t02038320472 = rewardInfo(pool)
463+ let currentRewardPerBlock = $t02038320472._1
464+ let rewardUpdateHeight = $t02038320472._2
465+ let previousRewardPerBlock = $t02038320472._3
466+ let $t02047720577 = claimCalc(pool, i.caller, 1)
467+ let userNewInterest = $t02047720577._1
468+ let currentInterest = $t02047720577._2
469+ let claimAmount = $t02047720577._3
470+ let userShareTokensAmount = $t02047720577._4
481471 let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount)
482472 let userClaimedAmount = getUserSWOPClaimedAmount(pool, i.caller)
483473 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
484474 if ((availableFund == 0))
485475 then throw("You have 0 available SWOP")
486476 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)]
487477 }
488478
489479
490480 @Verifier(tx)
491481 func verify () = match tx {
492482 case _ =>
493483 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
494484 }
495485

github/deemru/w8io/169f3d6 
106.19 ms