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