tx · EkaYoJhzQK1Vq2KaGyhnDVSRwXN4SKMFCX7suPHT9thJ 3NBY6E5pTR9RcMikZzigRz9f1fWsmwTvH79: -0.01400000 Waves 2021.10.24 13:46 [1760297] smart account 3NBY6E5pTR9RcMikZzigRz9f1fWsmwTvH79 > SELF 0.00000000 Waves
{ "type": 13, "id": "EkaYoJhzQK1Vq2KaGyhnDVSRwXN4SKMFCX7suPHT9thJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1635072406232, "version": 1, "sender": "3NBY6E5pTR9RcMikZzigRz9f1fWsmwTvH79", "senderPublicKey": "Bd1weo41q8pKyZQ49EmLgqmZ6xyB9Nc2hTspiiR1Wvt6", "proofs": [ "3QjXxTztPyyfYV8iLT7zQyWQs3DN6tdWEw1NV7Zr7qkojaSdJ6nfFHxLPVgDj8YupP2eB8Dg9FcSk7MB7QC9Eznc" ], "script": "base64:AAIEAAAAAAAAABsIAhIAEgASAwoBARIAEgASBgoEGBEBARIAEgAAAABOAAAAAAxhZG1pblB1YktleTEBAAAAILoJ1zuJWaTRXaD/8bsz0KrhOWkPy+K9kdY77k9eqOATAAAAAAxhZG1pblB1YktleTIBAAAAIMKRRJmz0rC0DSKlkVi9iLyhN7sIy//djOaU71sWDn5AAAAAAAxhZG1pblB1YktleTMBAAAAII4eFy54sQc79EhOejMoYHYod/yZ5ZIwoyDCz6ir6Q5VAAAAABRhZG1pblB1YktleVN0YXJ0U3RvcAEAAAAgzlkO3OqzXqOuG/1XXufreRE1KXRGMps8FV88BRsoYXsAAAAAEWFkbWluUHViS2V5V2FsbGV0AQAAACDlq5yzCbXuMxTezUwhJrkFBGEjGqw4ZaqMUbXFoZ/PHAAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAACGtleUNhdXNlAgAAAA5zaHV0ZG93bl9jYXVzZQAAAAAPa2V5TGFzdEludGVyZXN0AgAAAA1sYXN0X2ludGVyZXN0AAAAABNrZXlVc2VyTGFzdEludGVyZXN0AgAAAA5fbGFzdF9p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0aGlzIGZ1bmN0aW9uCQEAAAAHc3VzcGVuZAAAAAECAAAAD1BhdXNlZCBieSBhZG1pbgAAAAFpAQAAAAhhY3RpdmF0ZQAAAAADBQAAAAhpc0FjdGl2ZQkAAAIAAAABAgAAABZEQXBwIGlzIGFscmVhZHkgYWN0aXZlAwkBAAAAASEAAAABCQEAAAAPY29udGFpbnNFbGVtZW50AAAAAgkABEwAAAACBQAAAAxhZG1pblB1YktleTEJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkyCQAETAAAAAIFAAAADGFkbWluUHViS2V5MwkABEwAAAACBQAAABRhZG1pblB1YktleVN0YXJ0U3RvcAUAAAADbmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAAALz+Pnw==", "chainId": 84, "height": 1760297, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3tKmW2Gpu2bkFhUpJFkNZUnxXAhhdLF8xLi3JQDj8Ytn Next: DB3aZhJppDvAF1TgHCEEugAxyEARV8wNtuhn4Ws81XXz Diff:
Old | New | Differences | |
---|---|---|---|
358 | 358 | @Callable(bh) | |
359 | 359 | func claimAndWithdrawSWOP () = if (!(L)) | |
360 | 360 | then throw("DApp is inactive at this moment") | |
361 | - | else { | |
362 | - | let ai = ah() | |
363 | - | let bB = bb(bh.caller) | |
364 | - | let bg = bB._1 | |
365 | - | let bf = bB._2 | |
366 | - | let br = al(bh.caller) | |
367 | - | let bs = (br + bf) | |
368 | - | if ((bf == 0)) | |
369 | - | then throw("You have 0 available SWOP") | |
370 | - | else [IntegerEntry((toString(bh.caller) + i), bg), IntegerEntry((toString(bh.caller) + p), bs), IntegerEntry((toString(bh.caller) + q), bf), ScriptTransfer(bh.caller, bf, Q)] | |
371 | - | } | |
361 | + | else if (true) | |
362 | + | then throw(toString(bh.caller)) | |
363 | + | else { | |
364 | + | let ai = ah() | |
365 | + | let bB = bb(bh.caller) | |
366 | + | let bg = bB._1 | |
367 | + | let bf = bB._2 | |
368 | + | let br = al(bh.caller) | |
369 | + | let bs = (br + bf) | |
370 | + | if ((bf == 0)) | |
371 | + | then throw("You have 0 available SWOP") | |
372 | + | else [IntegerEntry((toString(bh.caller) + i), bg), IntegerEntry((toString(bh.caller) + p), bs), IntegerEntry((toString(bh.caller) + q), bf), ScriptTransfer(bh.caller, bf, Q)] | |
373 | + | } | |
372 | 374 | ||
373 | 375 | ||
374 | 376 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA' | |
5 | 5 | ||
6 | 6 | let b = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7' | |
7 | 7 | ||
8 | 8 | let c = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ' | |
9 | 9 | ||
10 | 10 | let d = base58'EtVkT6ed8GtbUiVVEqdmEqsp2J4qbb3rre2HFgxeVYdg' | |
11 | 11 | ||
12 | 12 | let e = base58'GTY8yEJ2S4heRompxyvbJoBN1Td5BM5Pp4JgVbj9tmCw' | |
13 | 13 | ||
14 | 14 | let f = "active" | |
15 | 15 | ||
16 | 16 | let g = "shutdown_cause" | |
17 | 17 | ||
18 | 18 | let h = "last_interest" | |
19 | 19 | ||
20 | 20 | let i = "_last_interest" | |
21 | 21 | ||
22 | 22 | let j = "_SWOP_amount" | |
23 | 23 | ||
24 | 24 | let k = "_getBackHeight" | |
25 | 25 | ||
26 | 26 | let l = "total_SWOP_amount" | |
27 | 27 | ||
28 | 28 | let m = "_user_total_SWOP_vote" | |
29 | 29 | ||
30 | 30 | let n = "_SWOP_option_amount" | |
31 | 31 | ||
32 | 32 | let o = "total_SWOP_option_amount" | |
33 | 33 | ||
34 | 34 | let p = "_SWOP_claimed_amount" | |
35 | 35 | ||
36 | 36 | let q = "_SWOP_last_claimed_amount" | |
37 | 37 | ||
38 | 38 | let r = "vote_name" | |
39 | 39 | ||
40 | 40 | let s = "_option_name" | |
41 | 41 | ||
42 | 42 | let t = "_startHeight" | |
43 | 43 | ||
44 | 44 | let u = "_vote_duration" | |
45 | 45 | ||
46 | 46 | let v = "_current_pool_fraction_reward" | |
47 | 47 | ||
48 | 48 | let w = "_previous_pool_fraction_reward" | |
49 | 49 | ||
50 | 50 | let x = "_pool_reward_update_height" | |
51 | 51 | ||
52 | 52 | let y = "total_reward_per_block_current" | |
53 | 53 | ||
54 | 54 | let z = "total_reward_per_block_previous" | |
55 | 55 | ||
56 | 56 | let A = "reward_update_height" | |
57 | 57 | ||
58 | 58 | let B = "reward_update_height_first_pagination" | |
59 | 59 | ||
60 | 60 | let C = "_vote_no" | |
61 | 61 | ||
62 | 62 | let D = "_vote_yes" | |
63 | 63 | ||
64 | 64 | let E = "max_amount_voting" | |
65 | 65 | ||
66 | 66 | let F = "_status" | |
67 | 67 | ||
68 | 68 | let G = "_finish_height" | |
69 | 69 | ||
70 | 70 | let H = "voting_active_cell_1" | |
71 | 71 | ||
72 | 72 | let I = "voting_active_cell_2" | |
73 | 73 | ||
74 | 74 | let J = "voting_active_cell_3" | |
75 | 75 | ||
76 | 76 | let K = "sum_reward_current" | |
77 | 77 | ||
78 | 78 | let L = valueOrElse(getBoolean(this, f), true) | |
79 | 79 | ||
80 | 80 | let M = Address(base58'3P73HDkPqG15nLXevjCbmXtazHYTZbpPoPw') | |
81 | 81 | ||
82 | 82 | let N = Address(base58'3PQZWxShKGRgBN1qoJw6B4s9YWS9FneZTPg') | |
83 | 83 | ||
84 | 84 | let O = Address(base58'3PHgHf5C4WvHJucSHrjoVnMFsP1EhWffVLt') | |
85 | 85 | ||
86 | 86 | let P = "SWOP_id" | |
87 | 87 | ||
88 | 88 | let Q = fromBase58String("Ccgesc9iWMSg1f8CqFP5nZwgF6xsGirReDhpvNp1JAWW") | |
89 | 89 | ||
90 | 90 | let R = 100000000 | |
91 | 91 | ||
92 | 92 | let S = 10000000000 | |
93 | 93 | ||
94 | 94 | let T = "start_height" | |
95 | 95 | ||
96 | 96 | let U = "base_period" | |
97 | 97 | ||
98 | 98 | let V = "period_length" | |
99 | 99 | ||
100 | 100 | let W = "_user_total_struc" | |
101 | 101 | ||
102 | 102 | let X = valueOrErrorMessage(getInteger(N, U), "Empty kBasePeriod at voting contract") | |
103 | 103 | ||
104 | 104 | let Y = valueOrErrorMessage(getInteger(N, T), "Empty kStartHeight at voting contract") | |
105 | 105 | ||
106 | 106 | let Z = valueOrErrorMessage(getInteger(N, V), "Empty kPeriodLength at voting contract") | |
107 | 107 | ||
108 | 108 | let aa = valueOrElse(getString(O, H), "") | |
109 | 109 | ||
110 | 110 | let ab = valueOrElse(getString(O, I), "") | |
111 | 111 | ||
112 | 112 | let ac = valueOrElse(getString(O, J), "") | |
113 | 113 | ||
114 | 114 | let ad = (X + ((height - Y) / Z)) | |
115 | 115 | ||
116 | 116 | func ae (af) = [BooleanEntry(f, false), StringEntry(g, af)] | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func ag () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func ah () = { | |
123 | 123 | let ai = valueOrElse(getInteger(this, h), 0) | |
124 | 124 | ai | |
125 | 125 | } | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func aj (ak) = valueOrElse(getInteger(this, (toString(ak) + j)), 0) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func al (ak) = valueOrElse(getInteger(this, (toString(ak) + p)), 0) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func am (ak) = valueOrElse(getInteger(N, (toString(ak) + m)), 0) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func an (ak,ai) = { | |
138 | 138 | let ao = aj(ak) | |
139 | 139 | let ap = getInteger(this, (toString(ak) + i)) | |
140 | 140 | let aq = { | |
141 | 141 | let ar = ap | |
142 | 142 | if ($isInstanceOf(ar, "Int")) | |
143 | 143 | then { | |
144 | 144 | let ap = ar | |
145 | 145 | ap | |
146 | 146 | } | |
147 | 147 | else ai | |
148 | 148 | } | |
149 | 149 | $Tuple2(aq, ao) | |
150 | 150 | } | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func as (at,ak) = { | |
154 | 154 | let au = valueOrElse(getInteger(O, at), -1) | |
155 | 155 | let av = valueOrElse(getInteger(O, (toString(au) + G)), 0) | |
156 | 156 | let aw = valueOrElse(getBoolean(O, (toString(au) + F)), true) | |
157 | 157 | let ax = height | |
158 | 158 | if ((0 > au)) | |
159 | 159 | then 0 | |
160 | 160 | else if (!(aw)) | |
161 | 161 | then 0 | |
162 | 162 | else if ((av > ax)) | |
163 | 163 | then (valueOrElse(getInteger(O, (((toString(ak) + "_") + toString(au)) + D)), 0) + valueOrElse(getInteger(O, (((toString(ak) + "_") + toString(au)) + C)), 0)) | |
164 | 164 | else 0 | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func ay (ak) = { | |
169 | 169 | let az = [as(aa, ak), as(ab, ak), as(ac, ak)] | |
170 | 170 | max(az) | |
171 | 171 | } | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func aA () = valueOrElse(getInteger(this, l), 0) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aB (ak) = { | |
178 | 178 | let aC = if (isDefined(getString(N, (toString(ak) + W)))) | |
179 | 179 | then { | |
180 | 180 | let aD = split(valueOrErrorMessage(getString(N, (toString(ak) + W)), "Empty kUserTotalStruc"), "_") | |
181 | 181 | $Tuple3(parseIntValue(aD[0]), parseIntValue(aD[1]), parseIntValue(aD[2])) | |
182 | 182 | } | |
183 | 183 | else { | |
184 | 184 | let aE = valueOrElse(getInteger(N, (toString(ak) + m)), 0) | |
185 | 185 | $Tuple3(aE, 0, ad) | |
186 | 186 | } | |
187 | 187 | let aF = aC._1 | |
188 | 188 | let aG = aC._2 | |
189 | 189 | let aH = aC._3 | |
190 | 190 | let aI = if ((aH == ad)) | |
191 | 191 | then aG | |
192 | 192 | else 0 | |
193 | 193 | $Tuple2(aF, aI) | |
194 | 194 | } | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | func aJ (ak) = valueOrElse(getInteger(this, (toString(ak) + n)), 0) | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | func aK (aL) = valueOrElse(getInteger(this, (aL + t)), 0) | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | func aM (at) = valueOrElse(getInteger(this, (at + x)), 0) | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func aN (at) = isDefined(getInteger(this, (at + x))) | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func aO (at) = valueOrElse(getInteger(this, (at + v)), 0) | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | func aP (at) = valueOrElse(getInteger(this, (at + w)), 0) | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | func aQ (ak,aL,aR) = { | |
216 | 216 | let aS = getInteger(this, (((aL + aR) + toString(ak)) + n)) | |
217 | 217 | let aT = { | |
218 | 218 | let ar = aS | |
219 | 219 | if ($isInstanceOf(ar, "Int")) | |
220 | 220 | then { | |
221 | 221 | let aT = ar | |
222 | 222 | aT | |
223 | 223 | } | |
224 | 224 | else if ($isInstanceOf(ar, "Unit")) | |
225 | 225 | then { | |
226 | 226 | let aT = ar | |
227 | 227 | 0 | |
228 | 228 | } | |
229 | 229 | else throw("Match error") | |
230 | 230 | } | |
231 | 231 | valueOrErrorMessage(aT, (((("No data on the key: " + aL) + aR) + toString(ak)) + n)) | |
232 | 232 | } | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | func aU (aL) = valueOrErrorMessage(getInteger(this, (aL + u)), (("No data on the key: " + aL) + u)) | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func aV (aL,aR) = { | |
239 | 239 | let aW = getInteger(this, ((aL + aR) + o)) | |
240 | 240 | let aX = { | |
241 | 241 | let ar = aW | |
242 | 242 | if ($isInstanceOf(ar, "Int")) | |
243 | 243 | then { | |
244 | 244 | let aX = ar | |
245 | 245 | aX | |
246 | 246 | } | |
247 | 247 | else if ($isInstanceOf(ar, "Unit")) | |
248 | 248 | then { | |
249 | 249 | let aX = ar | |
250 | 250 | 0 | |
251 | 251 | } | |
252 | 252 | else throw("Match error") | |
253 | 253 | } | |
254 | 254 | aX | |
255 | 255 | } | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | func aY (aL,aR,ak,aZ) = { | |
259 | 259 | let ba = ((((((aL + "_") + aR) + "_") + toString(ak)) + "_") + toString(aZ)) | |
260 | 260 | valueOrErrorMessage(getInteger(this, ba), ("No data on the key: " + ba)) | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | func bb (bc) = { | |
265 | 265 | let ai = ah() | |
266 | 266 | let bd = an(bc, ai) | |
267 | 267 | let ap = bd._1 | |
268 | 268 | let be = bd._2 | |
269 | 269 | let bf = fraction(be, (ai - ap), R) | |
270 | 270 | let bg = ai | |
271 | 271 | $Tuple2(bg, bf) | |
272 | 272 | } | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | @Callable(bh) | |
276 | 276 | func airDrop () = if (!(L)) | |
277 | 277 | then throw("DApp is inactive at this moment") | |
278 | 278 | else { | |
279 | 279 | let bi = $Tuple2(bh.payments[0].amount, bh.payments[0].assetId) | |
280 | 280 | let bj = bi._1 | |
281 | 281 | let bk = bi._2 | |
282 | 282 | if ((bk != Q)) | |
283 | 283 | then throw("Incorrect pmtAssetId") | |
284 | 284 | else { | |
285 | 285 | let bl = aA() | |
286 | 286 | let ai = ah() | |
287 | 287 | let bm = (ai + fraction(bj, R, bl)) | |
288 | 288 | [IntegerEntry(h, bm)] | |
289 | 289 | } | |
290 | 290 | } | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | ||
294 | 294 | @Callable(bh) | |
295 | 295 | func lockSWOP () = if (!(L)) | |
296 | 296 | then throw("DApp is inactive at this moment") | |
297 | 297 | else { | |
298 | 298 | let bn = $Tuple2(bh.payments[0].amount, bh.payments[0].assetId) | |
299 | 299 | let bj = bn._1 | |
300 | 300 | let bk = bn._2 | |
301 | 301 | if ((bk != Q)) | |
302 | 302 | then throw("Incorrect pmtAssetId") | |
303 | 303 | else { | |
304 | 304 | let ai = ah() | |
305 | 305 | let bo = an(bh.caller, ai) | |
306 | 306 | let ap = bo._1 | |
307 | 307 | let be = bo._2 | |
308 | 308 | let bf = fraction(be, (ai - ap), R) | |
309 | 309 | let bp = ((be + bj) + bf) | |
310 | 310 | let bg = ai | |
311 | 311 | let bl = aA() | |
312 | 312 | let bq = ((bl + bj) + bf) | |
313 | 313 | let br = al(bh.caller) | |
314 | 314 | let bs = (br + bf) | |
315 | 315 | [IntegerEntry((toString(bh.caller) + i), bg), IntegerEntry((toString(bh.caller) + j), bp), IntegerEntry(l, bq), IntegerEntry((toString(bh.caller) + p), bs), IntegerEntry((toString(bh.caller) + q), bf)] | |
316 | 316 | } | |
317 | 317 | } | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | ||
321 | 321 | @Callable(bh) | |
322 | 322 | func withdrawSWOP (bt) = if (!(L)) | |
323 | 323 | then throw("DApp is inactive at this moment") | |
324 | 324 | else if ((0 >= bt)) | |
325 | 325 | then throw("withdrawAmount <= 0") | |
326 | 326 | else { | |
327 | 327 | let bl = aA() | |
328 | 328 | let be = aj(bh.caller) | |
329 | 329 | let bu = bb(bh.caller) | |
330 | 330 | let bg = bu._1 | |
331 | 331 | let bf = bu._2 | |
332 | 332 | let bv = aB(bh.caller) | |
333 | 333 | let bw = bv._1 | |
334 | 334 | let bx = bv._2 | |
335 | 335 | let by = ay(bh.caller) | |
336 | 336 | if (if (if ((0 > bx)) | |
337 | 337 | then true | |
338 | 338 | else (0 > bw)) | |
339 | 339 | then true | |
340 | 340 | else (0 > by)) | |
341 | 341 | then throw("userUnvoteAmount < 0 || userVoteAmount < 0 || userVoteAmountForNewPool < 0") | |
342 | 342 | else { | |
343 | 343 | let bz = (be - max([by, (bw + bx)])) | |
344 | 344 | if ((bt > bz)) | |
345 | 345 | then throw("withdrawAmount > availableToUnstake") | |
346 | 346 | else { | |
347 | 347 | let bq = ((bl + bf) - bt) | |
348 | 348 | let bA = ((be + bf) - bt) | |
349 | 349 | let br = al(bh.caller) | |
350 | 350 | let bs = (br + bf) | |
351 | 351 | [IntegerEntry((toString(bh.caller) + i), bg), IntegerEntry((toString(bh.caller) + j), bA), IntegerEntry(l, bq), ScriptTransfer(bh.caller, bt, Q), IntegerEntry((toString(bh.caller) + p), bs), IntegerEntry((toString(bh.caller) + q), bf)] | |
352 | 352 | } | |
353 | 353 | } | |
354 | 354 | } | |
355 | 355 | ||
356 | 356 | ||
357 | 357 | ||
358 | 358 | @Callable(bh) | |
359 | 359 | func claimAndWithdrawSWOP () = if (!(L)) | |
360 | 360 | then throw("DApp is inactive at this moment") | |
361 | - | else { | |
362 | - | let ai = ah() | |
363 | - | let bB = bb(bh.caller) | |
364 | - | let bg = bB._1 | |
365 | - | let bf = bB._2 | |
366 | - | let br = al(bh.caller) | |
367 | - | let bs = (br + bf) | |
368 | - | if ((bf == 0)) | |
369 | - | then throw("You have 0 available SWOP") | |
370 | - | else [IntegerEntry((toString(bh.caller) + i), bg), IntegerEntry((toString(bh.caller) + p), bs), IntegerEntry((toString(bh.caller) + q), bf), ScriptTransfer(bh.caller, bf, Q)] | |
371 | - | } | |
361 | + | else if (true) | |
362 | + | then throw(toString(bh.caller)) | |
363 | + | else { | |
364 | + | let ai = ah() | |
365 | + | let bB = bb(bh.caller) | |
366 | + | let bg = bB._1 | |
367 | + | let bf = bB._2 | |
368 | + | let br = al(bh.caller) | |
369 | + | let bs = (br + bf) | |
370 | + | if ((bf == 0)) | |
371 | + | then throw("You have 0 available SWOP") | |
372 | + | else [IntegerEntry((toString(bh.caller) + i), bg), IntegerEntry((toString(bh.caller) + p), bs), IntegerEntry((toString(bh.caller) + q), bf), ScriptTransfer(bh.caller, bf, Q)] | |
373 | + | } | |
372 | 374 | ||
373 | 375 | ||
374 | 376 | ||
375 | 377 | @Callable(bh) | |
376 | 378 | func claimAndStakeSWOP () = if (!(L)) | |
377 | 379 | then throw("DApp is inactive at this moment") | |
378 | 380 | else { | |
379 | 381 | let bl = aA() | |
380 | 382 | let be = aj(bh.caller) | |
381 | 383 | let ai = ah() | |
382 | 384 | let bC = bb(bh.caller) | |
383 | 385 | let bg = bC._1 | |
384 | 386 | let bf = bC._2 | |
385 | 387 | let bp = (be + bf) | |
386 | 388 | let bq = (bl + bf) | |
387 | 389 | let br = al(bh.caller) | |
388 | 390 | let bs = (br + bf) | |
389 | 391 | if ((bf == 0)) | |
390 | 392 | then throw("You have 0 available SWOP") | |
391 | 393 | else [IntegerEntry((toString(bh.caller) + i), bg), IntegerEntry(l, bq), IntegerEntry((toString(bh.caller) + j), bp), IntegerEntry((toString(bh.caller) + p), bs), IntegerEntry((toString(bh.caller) + q), bf)] | |
392 | 394 | } | |
393 | 395 | ||
394 | 396 | ||
395 | 397 | ||
396 | 398 | @Callable(bh) | |
397 | 399 | func updateWeights (bD,bE,bF,bG) = if (!(L)) | |
398 | 400 | then throw("DApp is inactive at this moment") | |
399 | 401 | else { | |
400 | 402 | let bH = 10 | |
401 | 403 | let bI = valueOrElse(getInteger(this, A), 0) | |
402 | 404 | if (!(containsElement([a, b, c, d, e], bh.callerPublicKey))) | |
403 | 405 | then throw("Only admin can call this function") | |
404 | 406 | else if ((size(bD) > bH)) | |
405 | 407 | then throw(("Max amount of pool is " + toString(bH))) | |
406 | 408 | else if ((bI >= bF)) | |
407 | 409 | then throw("rewardUpdateHeight <= totalRewardUpdateHeight") | |
408 | 410 | else if ((height >= bF)) | |
409 | 411 | then throw("height >= rewardUpdateHeight") | |
410 | 412 | else if ((0 >= bF)) | |
411 | 413 | then throw("0 >= rewardUpdateHeight ") | |
412 | 414 | else { | |
413 | 415 | func bJ (bK,bL) = (bK + bL) | |
414 | 416 | ||
415 | 417 | func bM (bN,at) = { | |
416 | 418 | let bO = aM(at) | |
417 | 419 | if (if (!(aN(at))) | |
418 | 420 | then true | |
419 | 421 | else if ((bF != bO)) | |
420 | 422 | then (bO == bI) | |
421 | 423 | else false) | |
422 | 424 | then { | |
423 | 425 | let bP = aO(at) | |
424 | 426 | IntegerEntry((at + w), bP) :: bN | |
425 | 427 | } | |
426 | 428 | else { | |
427 | 429 | let bP = aP(at) | |
428 | 430 | IntegerEntry((at + w), bP) :: bN | |
429 | 431 | } | |
430 | 432 | } | |
431 | 433 | ||
432 | 434 | func bQ (bN,at) = { | |
433 | 435 | let bR = value(indexOf(bD, at)) | |
434 | 436 | let bP = bE[bR] | |
435 | 437 | if ((0 > bP)) | |
436 | 438 | then throw("PoolReward < 0") | |
437 | 439 | else IntegerEntry((at + v), bP) :: bN | |
438 | 440 | } | |
439 | 441 | ||
440 | 442 | func bS (bN,at) = { | |
441 | 443 | let bT = bF | |
442 | 444 | IntegerEntry((at + x), bT) :: bN | |
443 | 445 | } | |
444 | 446 | ||
445 | 447 | func bU (bV,bG) = if ((bG == 0)) | |
446 | 448 | then if ((bV > S)) | |
447 | 449 | then throw(((("sumRewardPrevious > totalVoteShare or sumRewardCurrent > totalVoteShare - " + toString(bG)) + " ") + toString(bV))) | |
448 | 450 | else $Tuple2([IntegerEntry(K, bV)], [IntegerEntry(B, bF)]) | |
449 | 451 | else if ((bG == 1)) | |
450 | 452 | then { | |
451 | 453 | let bW = valueOrElse(getInteger(this, K), 0) | |
452 | 454 | let bX = valueOrElse(getInteger(this, B), 0) | |
453 | 455 | if (((bV + bW) > S)) | |
454 | 456 | then throw(((("sumRewardPrevious > totalVoteShare or sumRewardCurrent > totalVoteShare - " + toString(bG)) + " ") + toString((bV + bW)))) | |
455 | 457 | else if ((bX != bF)) | |
456 | 458 | then throw("current rewardUpdateHeight != rewardUpdateHeightFirstPaginationEntry") | |
457 | 459 | else $Tuple2([IntegerEntry(K, (bV + bW))], nil) | |
458 | 460 | } | |
459 | 461 | else if ((bG == 2)) | |
460 | 462 | then { | |
461 | 463 | let bY = (valueOrElse(getInteger(this, K), 0) + bV) | |
462 | 464 | let bX = valueOrElse(getInteger(this, B), 0) | |
463 | 465 | if ((bY != S)) | |
464 | 466 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
465 | 467 | else if ((bX != bF)) | |
466 | 468 | then throw("current rewardUpdateHeight != rewardUpdateHeightFirstPaginationEntry") | |
467 | 469 | else $Tuple2([IntegerEntry(K, bY)], nil) | |
468 | 470 | } | |
469 | 471 | else throw("Incorrect pagination") | |
470 | 472 | ||
471 | 473 | let bZ = { | |
472 | 474 | let ca = bD | |
473 | 475 | let cb = size(ca) | |
474 | 476 | let cc = nil | |
475 | 477 | func cd (ce,cf) = if ((cf >= cb)) | |
476 | 478 | then ce | |
477 | 479 | else bM(ce, ca[cf]) | |
478 | 480 | ||
479 | 481 | func cg (ce,cf) = if ((cf >= cb)) | |
480 | 482 | then ce | |
481 | 483 | else throw("List size exceeds 10") | |
482 | 484 | ||
483 | 485 | cg(cd(cd(cd(cd(cd(cd(cd(cd(cd(cd(cc, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
484 | 486 | } | |
485 | 487 | let ch = { | |
486 | 488 | let ca = bD | |
487 | 489 | let cb = size(ca) | |
488 | 490 | let cc = nil | |
489 | 491 | func cd (ce,cf) = if ((cf >= cb)) | |
490 | 492 | then ce | |
491 | 493 | else bQ(ce, ca[cf]) | |
492 | 494 | ||
493 | 495 | func cg (ce,cf) = if ((cf >= cb)) | |
494 | 496 | then ce | |
495 | 497 | else throw("List size exceeds 10") | |
496 | 498 | ||
497 | 499 | cg(cd(cd(cd(cd(cd(cd(cd(cd(cd(cd(cc, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
498 | 500 | } | |
499 | 501 | let ci = { | |
500 | 502 | let ca = bD | |
501 | 503 | let cb = size(ca) | |
502 | 504 | let cc = nil | |
503 | 505 | func cd (ce,cf) = if ((cf >= cb)) | |
504 | 506 | then ce | |
505 | 507 | else bS(ce, ca[cf]) | |
506 | 508 | ||
507 | 509 | func cg (ce,cf) = if ((cf >= cb)) | |
508 | 510 | then ce | |
509 | 511 | else throw("List size exceeds 10") | |
510 | 512 | ||
511 | 513 | cg(cd(cd(cd(cd(cd(cd(cd(cd(cd(cd(cc, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
512 | 514 | } | |
513 | 515 | let cj = { | |
514 | 516 | let ca = bE | |
515 | 517 | let cb = size(ca) | |
516 | 518 | let cc = 0 | |
517 | 519 | func cd (ce,cf) = if ((cf >= cb)) | |
518 | 520 | then ce | |
519 | 521 | else bJ(ce, ca[cf]) | |
520 | 522 | ||
521 | 523 | func cg (ce,cf) = if ((cf >= cb)) | |
522 | 524 | then ce | |
523 | 525 | else throw("List size exceeds 10") | |
524 | 526 | ||
525 | 527 | cg(cd(cd(cd(cd(cd(cd(cd(cd(cd(cd(cc, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
526 | 528 | } | |
527 | 529 | let ck = bU(cj, bG) | |
528 | 530 | let cl = ck._1 | |
529 | 531 | let bX = ck._2 | |
530 | 532 | let cm = if ((bG == 2)) | |
531 | 533 | then [IntegerEntry(A, bF)] | |
532 | 534 | else nil | |
533 | 535 | if ((height > bF)) | |
534 | 536 | then throw("rewardUpdateHeight < height") | |
535 | 537 | else (((((bZ ++ ch) ++ ci) ++ cl) ++ cm) ++ bX) | |
536 | 538 | } | |
537 | 539 | } | |
538 | 540 | ||
539 | 541 | ||
540 | 542 | ||
541 | 543 | @Callable(bh) | |
542 | 544 | func shutdown () = if (!(L)) | |
543 | 545 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, g), "the cause wasn't specified"))) | |
544 | 546 | else if (!(containsElement([a, b, c, d], bh.callerPublicKey))) | |
545 | 547 | then throw("Only admin can call this function") | |
546 | 548 | else ae("Paused by admin") | |
547 | 549 | ||
548 | 550 | ||
549 | 551 | ||
550 | 552 | @Callable(bh) | |
551 | 553 | func activate () = if (L) | |
552 | 554 | then throw("DApp is already active") | |
553 | 555 | else if (!(containsElement([a, b, c, d], bh.callerPublicKey))) | |
554 | 556 | then throw("Only admin can call this function") | |
555 | 557 | else [BooleanEntry(f, true), DeleteEntry(g)] | |
556 | 558 | ||
557 | 559 |
github/deemru/w8io/169f3d6 58.18 ms ◑