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