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