tx · HT1o8kaQLrJahFFqVZ83YoNTc8em6KgsBABweM8tkaAm 3N8E9LU71MDkdP8FWtbP4TBXCNhoc15hWfs: -0.10000000 Waves 2022.10.11 11:51 [2267466] smart account 3N8E9LU71MDkdP8FWtbP4TBXCNhoc15hWfs > SELF 0.00000000 Waves
{ "type": 13, "id": "HT1o8kaQLrJahFFqVZ83YoNTc8em6KgsBABweM8tkaAm", "fee": 10000000, "feeAssetId": null, "timestamp": 1665478252565, "version": 2, "chainId": 84, "sender": "3N8E9LU71MDkdP8FWtbP4TBXCNhoc15hWfs", "senderPublicKey": "2EDucEDvqYfn6hdx4PbvykQFRoNgPMWX6SiVPjM8AyxM", "proofs": [ "36yViAfz5LzUAY5AvmqUeEELp9WYNbyPVgzPzCErzxAcDJoeiVXrNNZgadZZfn4ADs2kbuiWXoACsT1LLJ7u62Qh" ], "script": "base64:AAIFAAAAAAAAABsIAhIAEgASAwoBARIAEgASBgoEGBEBARIAEgAAAABkAAAAAAdrQWN0aXZlAgAAAAZhY3RpdmUAAAAABmtDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAADWtMYXN0SW50ZXJlc3QCAAAADWxhc3RfaW50ZXJlc3QAAAAAEWtVc2VyTGFzdEludGVyZXN0AgAAAA5fbGFzdF9pbnRlcmVzdAAAAAAPa1VzZXJTV09QTG9ja2VkAgAAAAxfU1dPUF9hbW91bnQAAAAAEmtVc2VyR2V0QmFja0hlaWdodAIAAAAOX2dldEJhY2tIZWlnaHQAAAAAEGtUb3RhbFNXT1BMb2NrZWQCAAAAEXRvdGFsX1NXT1BfYW1vdW50AAAAABJrVXNlclRvdGFsVm90ZVNXT1ACAAAAFV91c2VyX3RvdGFsX1NXT1Bfdm90ZQAAAAAVa1VzZXJWb3RlT3B0aW9uQW1vdW50AgAAABNfU1dPUF9vcHRpb25fYW1vdW50AAAAABZrVG90YWxWb3RlT3B0aW9uQW1vdW50AgAAABh0b3RhbF9TV09QX29wdGlvbl9hbW91bnQAAAAAFm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gAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAxhZG1pblB1YktleTMAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACCQAAZAAAAAIFAAAAEmFkbWluUHViS2V5MVNpZ25lZAUAAAASYWRtaW5QdWJLZXkyU2lnbmVkBQAAABJhZG1pblB1YktleTNTaWduZWQAAAAAAAAAAAJ5QkBK", "height": 2267466, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: FyHkarCnBzEjCo6XAg9Bj2dZs7pPz62Mwb9fqAii9fcP Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let kActive = "active" | |
5 | + | ||
6 | + | let kCause = "shutdown_cause" | |
7 | + | ||
8 | + | let kLastInterest = "last_interest" | |
9 | + | ||
10 | + | let kUserLastInterest = "_last_interest" | |
11 | + | ||
12 | + | let kUserSWOPLocked = "_SWOP_amount" | |
13 | + | ||
14 | + | let kUserGetBackHeight = "_getBackHeight" | |
15 | + | ||
16 | + | let kTotalSWOPLocked = "total_SWOP_amount" | |
17 | + | ||
18 | + | let kUserTotalVoteSWOP = "_user_total_SWOP_vote" | |
19 | + | ||
20 | + | let kUserVoteOptionAmount = "_SWOP_option_amount" | |
21 | + | ||
22 | + | let kTotalVoteOptionAmount = "total_SWOP_option_amount" | |
23 | + | ||
24 | + | let kUserSWOPClaimedAmount = "_SWOP_claimed_amount" | |
25 | + | ||
26 | + | let kUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount" | |
27 | + | ||
28 | + | let kVoteName = "vote_name" | |
29 | + | ||
30 | + | let kOptionName = "_option_name" | |
31 | + | ||
32 | + | let kVotingStartHeight = "_startHeight" | |
33 | + | ||
34 | + | let kVoteDuration = "_vote_duration" | |
35 | + | ||
36 | + | let kRewardPoolFractionCurrent = "_current_pool_fraction_reward" | |
37 | + | ||
38 | + | let kRewardPoolFractionPrevious = "_previous_pool_fraction_reward" | |
39 | + | ||
40 | + | let kHeightPoolFraction = "_pool_reward_update_height" | |
41 | + | ||
42 | + | let kTotalRewardPerBlockCurrent = "total_reward_per_block_current" | |
43 | + | ||
44 | + | let kTotalRewardPerBlockPrevious = "total_reward_per_block_previous" | |
45 | + | ||
46 | + | let kRewardUpdateHeight = "reward_update_height" | |
47 | + | ||
48 | + | let kRewardUpdateFirstPaginationHeight = "reward_update_height_first_pagination" | |
49 | + | ||
50 | + | let kNoVotingForNewPool = "_vote_no" | |
51 | + | ||
52 | + | let kYesVotingForNewPool = "_vote_yes" | |
53 | + | ||
54 | + | let kAmountOfVotingForNewPool = "max_amount_voting" | |
55 | + | ||
56 | + | let kStatusOfVotingForNewPool = "_status" | |
57 | + | ||
58 | + | let kHeightOfPoolVotingForNewPool = "_finish_height" | |
59 | + | ||
60 | + | let activeVoteFirst = "voting_active_cell_1" | |
61 | + | ||
62 | + | let activeVoteSecond = "voting_active_cell_2" | |
63 | + | ||
64 | + | let activeVoteThird = "voting_active_cell_3" | |
65 | + | ||
66 | + | let kTempCurSum = "sum_reward_current" | |
67 | + | ||
68 | + | let kLaunchpadBoughtTickets = "_bought_tickets" | |
69 | + | ||
70 | + | let kLaunchpadSwopPerTickets = "_swop_per_ticket" | |
71 | + | ||
72 | + | let kLaunchpadActiveId = "launchpad_active_id" | |
73 | + | ||
74 | + | let kLaunchpadDuration = "_duration" | |
75 | + | ||
76 | + | let kLaunchpadStartHeight = "_start_height" | |
77 | + | ||
78 | + | let kStartHeight = "start_height" | |
79 | + | ||
80 | + | let kBasePeriod = "base_period" | |
81 | + | ||
82 | + | let kPeriodLength = "period_length" | |
83 | + | ||
84 | + | let kUserTotalStruc = "_user_total_struc" | |
85 | + | ||
86 | + | let kLauchpadFreezSwopDuration = "_freeze_swop_duration" | |
87 | + | ||
88 | + | let kSWOPid = "SWOP_id" | |
89 | + | ||
90 | + | let kAirdropFee = "airdrop_fee" | |
91 | + | ||
92 | + | let kAdminPubKey1 = "admin_pub_1" | |
93 | + | ||
94 | + | let kAdminPubKey2 = "admin_pub_2" | |
95 | + | ||
96 | + | let kAdminPubKey3 = "admin_pub_3" | |
97 | + | ||
98 | + | let kMoneyBoxPubKey = "money_box_pub_key" | |
99 | + | ||
100 | + | let kFarmingAddr = "farming_address" | |
101 | + | ||
102 | + | let kVotingAddr = "voting_address" | |
103 | + | ||
104 | + | let kVotingNewPoolAddr = "voting_new_pool_address" | |
105 | + | ||
106 | + | let kLaunchpadAddr = "launchpad_address" | |
107 | + | ||
108 | + | let kAirdropMoneyBoxAddr = "airdrop_fee_money_box" | |
109 | + | ||
110 | + | let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz') | |
111 | + | ||
112 | + | func getBase58FromOracle (key) = match getString(oracle, key) { | |
113 | + | case string: String => | |
114 | + | fromBase58String(string) | |
115 | + | case nothing => | |
116 | + | throw((key + "is empty")) | |
117 | + | } | |
118 | + | ||
119 | + | ||
120 | + | let adminPubKey1 = getBase58FromOracle(kAdminPubKey1) | |
121 | + | ||
122 | + | let adminPubKey2 = getBase58FromOracle(kAdminPubKey2) | |
123 | + | ||
124 | + | let adminPubKey3 = getBase58FromOracle(kAdminPubKey3) | |
125 | + | ||
126 | + | let moneyBoxPubKey = getBase58FromOracle(kMoneyBoxPubKey) | |
127 | + | ||
128 | + | let farmingAddr = Address(getBase58FromOracle(kFarmingAddr)) | |
129 | + | ||
130 | + | let votingAddr = Address(getBase58FromOracle(kVotingAddr)) | |
131 | + | ||
132 | + | let votingNewPoolAddr = Address(getBase58FromOracle(kVotingNewPoolAddr)) | |
133 | + | ||
134 | + | let launchpadAddr = Address(getBase58FromOracle(kLaunchpadAddr)) | |
135 | + | ||
136 | + | let airdropMoneyBoxAddr = Address(getBase58FromOracle(kAirdropMoneyBoxAddr)) | |
137 | + | ||
138 | + | let SWOP = fromBase58String(getStringValue(farmingAddr, kSWOPid)) | |
139 | + | ||
140 | + | let scaleValue = 100000000 | |
141 | + | ||
142 | + | let totalVoteShare = 10000000000 | |
143 | + | ||
144 | + | let feeSacle6 = 1000000 | |
145 | + | ||
146 | + | let basePeriod = valueOrErrorMessage(getInteger(votingAddr, kBasePeriod), "Empty kBasePeriod at voting contract") | |
147 | + | ||
148 | + | let startHeight = valueOrErrorMessage(getInteger(votingAddr, kStartHeight), "Empty kStartHeight at voting contract") | |
149 | + | ||
150 | + | let periodLength = valueOrErrorMessage(getInteger(votingAddr, kPeriodLength), "Empty kPeriodLength at voting contract") | |
151 | + | ||
152 | + | let firstActiveVote = valueOrElse(getString(votingNewPoolAddr, activeVoteFirst), "") | |
153 | + | ||
154 | + | let secondActiveVote = valueOrElse(getString(votingNewPoolAddr, activeVoteSecond), "") | |
155 | + | ||
156 | + | let thirdActiveVote = valueOrElse(getString(votingNewPoolAddr, activeVoteThird), "") | |
157 | + | ||
158 | + | let isActive = valueOrElse(getBoolean(this, kActive), true) | |
159 | + | ||
160 | + | let airdropFee = getIntegerValue(oracle, kAirdropFee) | |
161 | + | ||
162 | + | let currVotingPeriod = (basePeriod + ((height - startHeight) / periodLength)) | |
163 | + | ||
164 | + | func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)] | |
165 | + | ||
166 | + | ||
167 | + | func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
168 | + | ||
169 | + | ||
170 | + | func getLastInterestInfo () = valueOrElse(getInteger(this, kLastInterest), 0) | |
171 | + | ||
172 | + | ||
173 | + | func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + kUserSWOPLocked)), 0) | |
174 | + | ||
175 | + | ||
176 | + | func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + kUserSWOPClaimedAmount)), 0) | |
177 | + | ||
178 | + | ||
179 | + | func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingAddr, (toString(user) + kUserTotalVoteSWOP)), 0) | |
180 | + | ||
181 | + | ||
182 | + | func getUserInterestInfo (user,lastInterest) = { | |
183 | + | let userSWOPAmount = getUserSWOPLocked(user) | |
184 | + | let userLastInterest = getInteger(this, (toString(user) + kUserLastInterest)) | |
185 | + | let userLastInterestValue = match userLastInterest { | |
186 | + | case userLastInterest: Int => | |
187 | + | userLastInterest | |
188 | + | case _ => | |
189 | + | lastInterest | |
190 | + | } | |
191 | + | $Tuple2(userLastInterestValue, userSWOPAmount) | |
192 | + | } | |
193 | + | ||
194 | + | ||
195 | + | func getUserTotalVoteAmountForOnePool (pool,user) = { | |
196 | + | let voting = valueOrElse(getInteger(votingNewPoolAddr, pool), -1) | |
197 | + | let heightOfVoting = valueOrElse(getInteger(votingNewPoolAddr, (toString(voting) + kHeightOfPoolVotingForNewPool)), 0) | |
198 | + | let statusOfVoting = valueOrElse(getBoolean(votingNewPoolAddr, (toString(voting) + kStatusOfVotingForNewPool)), true) | |
199 | + | let currentHeight = height | |
200 | + | if ((0 > voting)) | |
201 | + | then 0 | |
202 | + | else if (!(statusOfVoting)) | |
203 | + | then 0 | |
204 | + | else if ((heightOfVoting > currentHeight)) | |
205 | + | then (valueOrElse(getInteger(votingNewPoolAddr, (((toString(user) + "_") + toString(voting)) + kYesVotingForNewPool)), 0) + valueOrElse(getInteger(votingNewPoolAddr, (((toString(user) + "_") + toString(voting)) + kNoVotingForNewPool)), 0)) | |
206 | + | else 0 | |
207 | + | } | |
208 | + | ||
209 | + | ||
210 | + | func getUserTotalVoteForNewPoolAmount (user) = { | |
211 | + | let listOfVoting = [getUserTotalVoteAmountForOnePool(firstActiveVote, user), getUserTotalVoteAmountForOnePool(secondActiveVote, user), getUserTotalVoteAmountForOnePool(thirdActiveVote, user)] | |
212 | + | max(listOfVoting) | |
213 | + | } | |
214 | + | ||
215 | + | ||
216 | + | func getUserBlockedInLauchpad (user) = { | |
217 | + | let lauchpadId = toString(valueOrElse(getInteger(launchpadAddr, kLaunchpadActiveId), 0)) | |
218 | + | if ((lauchpadId == "0")) | |
219 | + | then 0 | |
220 | + | else { | |
221 | + | let lStartHeight = valueOrElse(getInteger(launchpadAddr, (lauchpadId + kLaunchpadStartHeight)), 0) | |
222 | + | let lDuration = valueOrElse(getInteger(launchpadAddr, (lauchpadId + kLaunchpadDuration)), 0) | |
223 | + | let lFreezeSwopDuration = valueOrElse(getInteger(launchpadAddr, (lauchpadId + kLauchpadFreezSwopDuration)), 0) | |
224 | + | let blockEndHeight = ((lStartHeight + lDuration) + lFreezeSwopDuration) | |
225 | + | if ((height > blockEndHeight)) | |
226 | + | then 0 | |
227 | + | else { | |
228 | + | let boughtTickets = valueOrElse(getInteger(launchpadAddr, (((toString(user) + "_") + lauchpadId) + kLaunchpadBoughtTickets)), 0) | |
229 | + | let swopPerTicket = valueOrElse(getInteger(launchpadAddr, (lauchpadId + kLaunchpadSwopPerTickets)), 0) | |
230 | + | (boughtTickets * swopPerTicket) | |
231 | + | } | |
232 | + | } | |
233 | + | } | |
234 | + | ||
235 | + | ||
236 | + | func getTotalSWOPLocked () = valueOrElse(getInteger(this, kTotalSWOPLocked), 0) | |
237 | + | ||
238 | + | ||
239 | + | func getUserVoteInfo (user) = { | |
240 | + | let $t076068139 = if (isDefined(getString(votingAddr, (toString(user) + kUserTotalStruc)))) | |
241 | + | then { | |
242 | + | let data = split(valueOrErrorMessage(getString(votingAddr, (toString(user) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_") | |
243 | + | $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2])) | |
244 | + | } | |
245 | + | else { | |
246 | + | let uPoolTotalSWOP = valueOrElse(getInteger(votingAddr, (toString(user) + kUserTotalVoteSWOP)), 0) | |
247 | + | $Tuple3(uPoolTotalSWOP, 0, currVotingPeriod) | |
248 | + | } | |
249 | + | let userTotalVoteSWOP = $t076068139._1 | |
250 | + | let userUnvoted = $t076068139._2 | |
251 | + | let userUnvotedPeriod = $t076068139._3 | |
252 | + | let userUnvotedActual = if ((userUnvotedPeriod == currVotingPeriod)) | |
253 | + | then userUnvoted | |
254 | + | else 0 | |
255 | + | $Tuple2(userTotalVoteSWOP, userUnvotedActual) | |
256 | + | } | |
257 | + | ||
258 | + | ||
259 | + | func getUserVoteOptionAmount (user) = valueOrElse(getInteger(this, (toString(user) + kUserVoteOptionAmount)), 0) | |
260 | + | ||
261 | + | ||
262 | + | func getVotingStartHeight (voteName) = valueOrElse(getInteger(this, (voteName + kVotingStartHeight)), 0) | |
263 | + | ||
264 | + | ||
265 | + | func getPoolUpdateHeight (pool) = valueOrElse(getInteger(this, (pool + kHeightPoolFraction)), 0) | |
266 | + | ||
267 | + | ||
268 | + | func isDefinePoolUpdateHeight (pool) = isDefined(getInteger(this, (pool + kHeightPoolFraction))) | |
269 | + | ||
270 | + | ||
271 | + | func getCurPoolWeight (pool) = valueOrElse(getInteger(this, (pool + kRewardPoolFractionCurrent)), 0) | |
272 | + | ||
273 | + | ||
274 | + | func getPrevPoolWeight (pool) = valueOrElse(getInteger(this, (pool + kRewardPoolFractionPrevious)), 0) | |
275 | + | ||
276 | + | ||
277 | + | func getVoteOptionAmount (user,voteName,option) = { | |
278 | + | let userVoteOptionAmount = getInteger(this, (((voteName + option) + toString(user)) + kUserVoteOptionAmount)) | |
279 | + | let uvoa = match userVoteOptionAmount { | |
280 | + | case uvoa: Int => | |
281 | + | uvoa | |
282 | + | case uvoa: Unit => | |
283 | + | 0 | |
284 | + | case _ => | |
285 | + | throw("Match error") | |
286 | + | } | |
287 | + | valueOrErrorMessage(uvoa, (((("No data on the key: " + voteName) + option) + toString(user)) + kUserVoteOptionAmount)) | |
288 | + | } | |
289 | + | ||
290 | + | ||
291 | + | func getVoteDuration (voteName) = valueOrErrorMessage(getInteger(this, (voteName + kVoteDuration)), (("No data on the key: " + voteName) + kVoteDuration)) | |
292 | + | ||
293 | + | ||
294 | + | func getTotalVoteOptionAmount (voteName,option) = { | |
295 | + | let totalVoteOptionAmount = getInteger(this, ((voteName + option) + kTotalVoteOptionAmount)) | |
296 | + | let tvoa = match totalVoteOptionAmount { | |
297 | + | case tvoa: Int => | |
298 | + | tvoa | |
299 | + | case tvoa: Unit => | |
300 | + | 0 | |
301 | + | case _ => | |
302 | + | throw("Match error") | |
303 | + | } | |
304 | + | tvoa | |
305 | + | } | |
306 | + | ||
307 | + | ||
308 | + | func getUserGetBackAmount (voteName,option,user,getBackSWOPHeight) = { | |
309 | + | let key = ((((((voteName + "_") + option) + "_") + toString(user)) + "_") + toString(getBackSWOPHeight)) | |
310 | + | valueOrErrorMessage(getInteger(this, key), ("No data on the key: " + key)) | |
311 | + | } | |
312 | + | ||
313 | + | ||
314 | + | func claimCalc (caller) = { | |
315 | + | let lastInterest = getLastInterestInfo() | |
316 | + | let $t01053010612 = getUserInterestInfo(caller, lastInterest) | |
317 | + | let userLastInterest = $t01053010612._1 | |
318 | + | let userSWOPLocked = $t01053010612._2 | |
319 | + | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
320 | + | let userNewInterest = lastInterest | |
321 | + | $Tuple2(userNewInterest, claimAmount) | |
322 | + | } | |
323 | + | ||
324 | + | ||
325 | + | @Callable(i) | |
326 | + | func airDrop () = if (!(isActive)) | |
327 | + | then throw("DApp is inactive at this moment") | |
328 | + | else { | |
329 | + | let $t01088010955 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
330 | + | let pmtAmount = $t01088010955._1 | |
331 | + | let pmtAssetId = $t01088010955._2 | |
332 | + | if ((pmtAssetId != SWOP)) | |
333 | + | then throw("Incorrect pmtAssetId") | |
334 | + | else { | |
335 | + | let airdropFeeAmount = fraction(pmtAmount, airdropFee, feeSacle6, CEILING) | |
336 | + | let totalSWOPLocked = getTotalSWOPLocked() | |
337 | + | let lastInterest = getLastInterestInfo() | |
338 | + | let interestNew = (lastInterest + fraction((pmtAmount - airdropFeeAmount), scaleValue, totalSWOPLocked)) | |
339 | + | [IntegerEntry(kLastInterest, interestNew), ScriptTransfer(airdropMoneyBoxAddr, airdropFeeAmount, SWOP)] | |
340 | + | } | |
341 | + | } | |
342 | + | ||
343 | + | ||
344 | + | ||
345 | + | @Callable(i) | |
346 | + | func lockSWOP () = if (!(isActive)) | |
347 | + | then throw("DApp is inactive at this moment") | |
348 | + | else { | |
349 | + | let $t01158811663 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
350 | + | let pmtAmount = $t01158811663._1 | |
351 | + | let pmtAssetId = $t01158811663._2 | |
352 | + | if ((pmtAssetId != SWOP)) | |
353 | + | then throw("Incorrect pmtAssetId") | |
354 | + | else { | |
355 | + | let lastInterest = getLastInterestInfo() | |
356 | + | let $t01177911863 = getUserInterestInfo(i.caller, lastInterest) | |
357 | + | let userLastInterest = $t01177911863._1 | |
358 | + | let userSWOPLocked = $t01177911863._2 | |
359 | + | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
360 | + | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
361 | + | let userNewInterest = lastInterest | |
362 | + | let totalSWOPLocked = getTotalSWOPLocked() | |
363 | + | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
364 | + | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
365 | + | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
366 | + | [IntegerEntry((toString(i.caller) + kUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + kUserSWOPLocked), userSWOPLockedNew), IntegerEntry(kTotalSWOPLocked, totalSWOPLockedNew), IntegerEntry((toString(i.caller) + kUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + kUserSWOPLastClaimedAmount), claimAmount)] | |
367 | + | } | |
368 | + | } | |
369 | + | ||
370 | + | ||
371 | + | ||
372 | + | @Callable(i) | |
373 | + | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
374 | + | then throw("DApp is inactive at this moment") | |
375 | + | else if ((0 >= withdrawAmount)) | |
376 | + | then throw("withdrawAmount <= 0") | |
377 | + | else { | |
378 | + | let totalSWOPLocked = getTotalSWOPLocked() | |
379 | + | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
380 | + | let $t01300413059 = claimCalc(i.caller) | |
381 | + | let userNewInterest = $t01300413059._1 | |
382 | + | let claimAmount = $t01300413059._2 | |
383 | + | let $t01306413129 = getUserVoteInfo(i.caller) | |
384 | + | let userVoteAmount = $t01306413129._1 | |
385 | + | let userUnvoteAmount = $t01306413129._2 | |
386 | + | let userVoteAmountForNewPool = getUserTotalVoteForNewPoolAmount(i.caller) | |
387 | + | let blockedInLaunchpad = getUserBlockedInLauchpad(i.caller) | |
388 | + | if (if (if ((0 > userUnvoteAmount)) | |
389 | + | then true | |
390 | + | else (0 > userVoteAmount)) | |
391 | + | then true | |
392 | + | else (0 > userVoteAmountForNewPool)) | |
393 | + | then throw("userUnvoteAmount < 0 || userVoteAmount < 0 || userVoteAmountForNewPool < 0") | |
394 | + | else { | |
395 | + | let availableToUnstake = (userSWOPLocked - max([userVoteAmountForNewPool, (userVoteAmount + userUnvoteAmount), blockedInLaunchpad])) | |
396 | + | if ((withdrawAmount > availableToUnstake)) | |
397 | + | then throw("withdrawAmount > availableToUnstake") | |
398 | + | else { | |
399 | + | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
400 | + | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
401 | + | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
402 | + | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
403 | + | [IntegerEntry((toString(i.caller) + kUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + kUserSWOPLocked), userSWOPamountNew), IntegerEntry(kTotalSWOPLocked, totalSWOPLockedNew), ScriptTransfer(i.caller, withdrawAmount, SWOP), IntegerEntry((toString(i.caller) + kUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + kUserSWOPLastClaimedAmount), claimAmount)] | |
404 | + | } | |
405 | + | } | |
406 | + | } | |
407 | + | ||
408 | + | ||
409 | + | ||
410 | + | @Callable(i) | |
411 | + | func claimAndWithdrawSWOP () = if (!(isActive)) | |
412 | + | then throw("DApp is inactive at this moment") | |
413 | + | else { | |
414 | + | let lastInterest = getLastInterestInfo() | |
415 | + | let $t01457914634 = claimCalc(i.caller) | |
416 | + | let userNewInterest = $t01457914634._1 | |
417 | + | let claimAmount = $t01457914634._2 | |
418 | + | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
419 | + | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
420 | + | if ((claimAmount == 0)) | |
421 | + | then throw("You have 0 available SWOP") | |
422 | + | else [IntegerEntry((toString(i.caller) + kUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + kUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + kUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)] | |
423 | + | } | |
424 | + | ||
425 | + | ||
426 | + | ||
427 | + | @Callable(i) | |
428 | + | func claimAndStakeSWOP () = if (!(isActive)) | |
429 | + | then throw("DApp is inactive at this moment") | |
430 | + | else { | |
431 | + | let totalSWOPLocked = getTotalSWOPLocked() | |
432 | + | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
433 | + | let lastInterest = getLastInterestInfo() | |
434 | + | let $t01540715462 = claimCalc(i.caller) | |
435 | + | let userNewInterest = $t01540715462._1 | |
436 | + | let claimAmount = $t01540715462._2 | |
437 | + | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
438 | + | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
439 | + | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
440 | + | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
441 | + | if ((claimAmount == 0)) | |
442 | + | then throw("You have 0 available SWOP") | |
443 | + | else [IntegerEntry((toString(i.caller) + kUserLastInterest), userNewInterest), IntegerEntry(kTotalSWOPLocked, totalSWOPLockedNew), IntegerEntry((toString(i.caller) + kUserSWOPLocked), userSWOPLockedNew), IntegerEntry((toString(i.caller) + kUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + kUserSWOPLastClaimedAmount), claimAmount)] | |
444 | + | } | |
445 | + | ||
446 | + | ||
447 | + | ||
448 | + | @Callable(i) | |
449 | + | func updateWeights (currentPools,currentRewards,rewardUpdateHeight,pagination) = if (!(isActive)) | |
450 | + | then throw("DApp is inactive at this moment") | |
451 | + | else { | |
452 | + | let amountPools = 10 | |
453 | + | let totalRewardUpdateHeight = valueOrElse(getInteger(this, kRewardUpdateHeight), 0) | |
454 | + | if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, moneyBoxPubKey], i.callerPublicKey))) | |
455 | + | then throw("Only admin can call this function") | |
456 | + | else if ((size(currentPools) > amountPools)) | |
457 | + | then throw(("Max amount of pool is " + toString(amountPools))) | |
458 | + | else if ((totalRewardUpdateHeight >= rewardUpdateHeight)) | |
459 | + | then throw("rewardUpdateHeight <= totalRewardUpdateHeight") | |
460 | + | else if ((height >= rewardUpdateHeight)) | |
461 | + | then throw("height >= rewardUpdateHeight") | |
462 | + | else if ((0 >= rewardUpdateHeight)) | |
463 | + | then throw("0 >= rewardUpdateHeight ") | |
464 | + | else { | |
465 | + | func sum (a,b) = (a + b) | |
466 | + | ||
467 | + | func changePreviousRewardEntry (accumulated,pool) = { | |
468 | + | let poolRewardUpdateHeight = getPoolUpdateHeight(pool) | |
469 | + | if (if (!(isDefinePoolUpdateHeight(pool))) | |
470 | + | then true | |
471 | + | else if ((rewardUpdateHeight != poolRewardUpdateHeight)) | |
472 | + | then (poolRewardUpdateHeight == totalRewardUpdateHeight) | |
473 | + | else false) | |
474 | + | then { | |
475 | + | let poolReward = getCurPoolWeight(pool) | |
476 | + | IntegerEntry((pool + kRewardPoolFractionPrevious), poolReward) :: accumulated | |
477 | + | } | |
478 | + | else { | |
479 | + | let poolReward = getPrevPoolWeight(pool) | |
480 | + | IntegerEntry((pool + kRewardPoolFractionPrevious), poolReward) :: accumulated | |
481 | + | } | |
482 | + | } | |
483 | + | ||
484 | + | func changeCurrentRewardEntry (accumulated,pool) = { | |
485 | + | let poolIndex = value(indexOf(currentPools, pool)) | |
486 | + | let poolReward = currentRewards[poolIndex] | |
487 | + | if ((0 > poolReward)) | |
488 | + | then throw("PoolReward < 0") | |
489 | + | else IntegerEntry((pool + kRewardPoolFractionCurrent), poolReward) :: accumulated | |
490 | + | } | |
491 | + | ||
492 | + | func changeHeightEntry (accumulated,pool) = { | |
493 | + | let poolHeight = rewardUpdateHeight | |
494 | + | IntegerEntry((pool + kHeightPoolFraction), poolHeight) :: accumulated | |
495 | + | } | |
496 | + | ||
497 | + | func getSumReward (curTempSum,pagination) = if ((pagination == 0)) | |
498 | + | then if ((curTempSum > totalVoteShare)) | |
499 | + | then throw(((("sumRewardPrevious > totalVoteShare or sumRewardCurrent > totalVoteShare - " + toString(pagination)) + " ") + toString(curTempSum))) | |
500 | + | else $Tuple2([IntegerEntry(kTempCurSum, curTempSum)], [IntegerEntry(kRewardUpdateFirstPaginationHeight, rewardUpdateHeight)]) | |
501 | + | else if ((pagination == 1)) | |
502 | + | then { | |
503 | + | let curTempSumFromKey = valueOrElse(getInteger(this, kTempCurSum), 0) | |
504 | + | let rewardUpdateHeightFirstPaginationEntry = valueOrElse(getInteger(this, kRewardUpdateFirstPaginationHeight), 0) | |
505 | + | if (((curTempSum + curTempSumFromKey) > totalVoteShare)) | |
506 | + | then throw(((("sumRewardPrevious > totalVoteShare or sumRewardCurrent > totalVoteShare - " + toString(pagination)) + " ") + toString((curTempSum + curTempSumFromKey)))) | |
507 | + | else if ((rewardUpdateHeightFirstPaginationEntry != rewardUpdateHeight)) | |
508 | + | then throw("current rewardUpdateHeight != rewardUpdateHeightFirstPaginationEntry") | |
509 | + | else $Tuple2([IntegerEntry(kTempCurSum, (curTempSum + curTempSumFromKey))], nil) | |
510 | + | } | |
511 | + | else if ((pagination == 2)) | |
512 | + | then { | |
513 | + | let curSum = (valueOrElse(getInteger(this, kTempCurSum), 0) + curTempSum) | |
514 | + | let rewardUpdateHeightFirstPaginationEntry = valueOrElse(getInteger(this, kRewardUpdateFirstPaginationHeight), 0) | |
515 | + | if ((curSum != totalVoteShare)) | |
516 | + | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
517 | + | else if ((rewardUpdateHeightFirstPaginationEntry != rewardUpdateHeight)) | |
518 | + | then throw("current rewardUpdateHeight != rewardUpdateHeightFirstPaginationEntry") | |
519 | + | else $Tuple2([IntegerEntry(kTempCurSum, curSum)], nil) | |
520 | + | } | |
521 | + | else throw("Incorrect pagination") | |
522 | + | ||
523 | + | let previousRewardEntryNew = { | |
524 | + | let $l = currentPools | |
525 | + | let $s = size($l) | |
526 | + | let $acc0 = nil | |
527 | + | func $f0_1 ($a,$i) = if (($i >= $s)) | |
528 | + | then $a | |
529 | + | else changePreviousRewardEntry($a, $l[$i]) | |
530 | + | ||
531 | + | func $f0_2 ($a,$i) = if (($i >= $s)) | |
532 | + | then $a | |
533 | + | else throw("List size exceeds 10") | |
534 | + | ||
535 | + | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
536 | + | } | |
537 | + | let currentRewardEntryNew = { | |
538 | + | let $l = currentPools | |
539 | + | let $s = size($l) | |
540 | + | let $acc0 = nil | |
541 | + | func $f1_1 ($a,$i) = if (($i >= $s)) | |
542 | + | then $a | |
543 | + | else changeCurrentRewardEntry($a, $l[$i]) | |
544 | + | ||
545 | + | func $f1_2 ($a,$i) = if (($i >= $s)) | |
546 | + | then $a | |
547 | + | else throw("List size exceeds 10") | |
548 | + | ||
549 | + | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
550 | + | } | |
551 | + | let heightEntryNewCur = { | |
552 | + | let $l = currentPools | |
553 | + | let $s = size($l) | |
554 | + | let $acc0 = nil | |
555 | + | func $f2_1 ($a,$i) = if (($i >= $s)) | |
556 | + | then $a | |
557 | + | else changeHeightEntry($a, $l[$i]) | |
558 | + | ||
559 | + | func $f2_2 ($a,$i) = if (($i >= $s)) | |
560 | + | then $a | |
561 | + | else throw("List size exceeds 10") | |
562 | + | ||
563 | + | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
564 | + | } | |
565 | + | let sumRewardCurrentTemp = { | |
566 | + | let $l = currentRewards | |
567 | + | let $s = size($l) | |
568 | + | let $acc0 = 0 | |
569 | + | func $f3_1 ($a,$i) = if (($i >= $s)) | |
570 | + | then $a | |
571 | + | else sum($a, $l[$i]) | |
572 | + | ||
573 | + | func $f3_2 ($a,$i) = if (($i >= $s)) | |
574 | + | then $a | |
575 | + | else throw("List size exceeds 10") | |
576 | + | ||
577 | + | $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
578 | + | } | |
579 | + | let $t02055720668 = getSumReward(sumRewardCurrentTemp, pagination) | |
580 | + | let sumRewardCurrent = $t02055720668._1 | |
581 | + | let rewardUpdateHeightFirstPaginationEntry = $t02055720668._2 | |
582 | + | let rewardUpdateHeightEntry = if ((pagination == 2)) | |
583 | + | then [IntegerEntry(kRewardUpdateHeight, rewardUpdateHeight)] | |
584 | + | else nil | |
585 | + | if ((height > rewardUpdateHeight)) | |
586 | + | then throw("rewardUpdateHeight < height") | |
587 | + | else (((((previousRewardEntryNew ++ currentRewardEntryNew) ++ heightEntryNewCur) ++ sumRewardCurrent) ++ rewardUpdateHeightEntry) ++ rewardUpdateHeightFirstPaginationEntry) | |
588 | + | } | |
589 | + | } | |
590 | + | ||
591 | + | ||
592 | + | ||
593 | + | @Callable(i) | |
594 | + | func shutdown () = if (!(isActive)) | |
595 | + | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified"))) | |
596 | + | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))) | |
597 | + | then throw("Only admin can call this function") | |
598 | + | else suspend("Paused by admin") | |
599 | + | ||
600 | + | ||
601 | + | ||
602 | + | @Callable(i) | |
603 | + | func activate () = if (isActive) | |
604 | + | then throw("DApp is already active") | |
605 | + | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))) | |
606 | + | then throw("Only admin can call this function") | |
607 | + | else [BooleanEntry(kActive, true), DeleteEntry(kCause)] | |
608 | + | ||
609 | + | ||
610 | + | @Verifier(tx) | |
611 | + | func verify () = { | |
612 | + | let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
613 | + | then 1 | |
614 | + | else 0 | |
615 | + | let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2)) | |
616 | + | then 1 | |
617 | + | else 0 | |
618 | + | let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3)) | |
619 | + | then 1 | |
620 | + | else 0 | |
621 | + | (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2) | |
622 | + | } | |
623 | + |
github/deemru/w8io/026f985 33.49 ms ◑