tx · DUg3371WqvKdHqXYPo6PGFt8PPWKGKBNPRSqTTLwGgqb 3N8E9LU71MDkdP8FWtbP4TBXCNhoc15hWfs: -0.14000000 Waves 2022.10.19 12:42 [2279106] smart account 3N8E9LU71MDkdP8FWtbP4TBXCNhoc15hWfs > SELF 0.00000000 Waves
{ "type": 13, "id": "DUg3371WqvKdHqXYPo6PGFt8PPWKGKBNPRSqTTLwGgqb", "fee": 14000000, "feeAssetId": null, "timestamp": 1666172583996, "version": 2, "chainId": 84, "sender": "3N8E9LU71MDkdP8FWtbP4TBXCNhoc15hWfs", "senderPublicKey": "2EDucEDvqYfn6hdx4PbvykQFRoNgPMWX6SiVPjM8AyxM", "proofs": [ "3Tg5aRYW5kHAsMLY4iYdahHNoNGtffMSL8VPW7rBX6DB9YmbdcLJCb947qKfk71pLT79NLkaLe3gyyibF3w3qY6q", "3CTbR7mxz3s7QqD6Gc9z9Bd2M8Rjv7LqsjZzNYK4kUjwVaVb7LsH8qrehWzszRfRrjzeRA5WMBV2pLiNzxB6712G" ], "script": "base64:BgIdCAISABIAEgMKAQESABIAEgASBgoEGBEBARIAEgBXAAdrQWN0aXZlAgZhY3RpdmUABmtDYXVzZQIOc2h1dGRvd25fY2F1c2UADWtMYXN0SW50ZXJlc3QCDWxhc3RfaW50ZXJlc3QAEWtVc2VyTGFzdEludGVyZXN0Ag5fbGFzdF9pbnRlcmVzdAAPa1VzZXJTV09QTG9ja2VkAgxfU1dPUF9hbW91bnQAEGtUb3RhbFNXT1BMb2NrZWQCEXRvdGFsX1NXT1BfYW1vdW50ABVrVXNlclN3b3BVbmxvY2tIZWlnaHQCE19TV09QX3VubG9ja19oZWlnaHQAEGtVc2VyR1N3b3BMb2NrZWQCDV9HU3dvcF9hbW91bnQAEWtUb3RhbEdTd29wTG9ja2VkAhJ0b3RhbF9HU3dvcF9hbW91bnQAEmtVc2VyVG90YWxWb3RlU1dPUAIWX3VzZXJfdG90YWxfdm90ZV9nU1dPUAAWa1VzZXJBdmFpb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aXZlCQDMCAIJAQxCb29sZWFuRW50cnkCBQdrQWN0aXZlBgkAzAgCCQELRGVsZXRlRW50cnkBBQZrQ2F1c2UFA25pbAECdHgBBnZlcmlmeQAEEmFkbWluUHViS2V5MVNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MQABAAAEEmFkbWluUHViS2V5MlNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFDGFkbWluUHViS2V5MgABAAAEEmFkbWluUHViS2V5M1NpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFDGFkbWluUHViS2V5MwABAAAJAGcCCQBkAgkAZAIFEmFkbWluUHViS2V5MVNpZ25lZAUSYWRtaW5QdWJLZXkyU2lnbmVkBRJhZG1pblB1YktleTNTaWduZWQAAmOSPtY=", "height": 2279106, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FyHkarCnBzEjCo6XAg9Bj2dZs7pPz62Mwb9fqAii9fcP Next: CZHRW83L3jrKgPjrDp9UJ1zCjV27zQSKPpuoHnoTfvMn Diff:
Old | New | Differences | |
---|---|---|---|
325 | 325 | let aE = bM._2 | |
326 | 326 | let bN = (bC + by) | |
327 | 327 | let bO = (aE + by) | |
328 | - | [IntegerEntry((aG + g), (height + ai)), IntegerEntry((aG + d), bw), IntegerEntry((aG + e), bK), IntegerEntry((aG + h), | |
328 | + | [IntegerEntry((aG + g), (height + ai)), IntegerEntry((aG + d), bw), IntegerEntry((aG + e), bK), IntegerEntry((aG + h), bL), IntegerEntry((aG + k), bJ), IntegerEntry(f, bN), IntegerEntry(i, bO)] | |
329 | 329 | } | |
330 | 330 | }) | |
331 | 331 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "active" | |
5 | 5 | ||
6 | 6 | let b = "shutdown_cause" | |
7 | 7 | ||
8 | 8 | let c = "last_interest" | |
9 | 9 | ||
10 | 10 | let d = "_last_interest" | |
11 | 11 | ||
12 | 12 | let e = "_SWOP_amount" | |
13 | 13 | ||
14 | 14 | let f = "total_SWOP_amount" | |
15 | 15 | ||
16 | 16 | let g = "_SWOP_unlock_height" | |
17 | 17 | ||
18 | 18 | let h = "_GSwop_amount" | |
19 | 19 | ||
20 | 20 | let i = "total_GSwop_amount" | |
21 | 21 | ||
22 | 22 | let j = "_user_total_vote_gSWOP" | |
23 | 23 | ||
24 | 24 | let k = "_user_available_for_claim" | |
25 | 25 | ||
26 | 26 | let l = "_current_pool_fraction_reward" | |
27 | 27 | ||
28 | 28 | let m = "_previous_pool_fraction_reward" | |
29 | 29 | ||
30 | 30 | let n = "_pool_reward_update_height" | |
31 | 31 | ||
32 | 32 | let o = "reward_update_height" | |
33 | 33 | ||
34 | 34 | let p = "reward_update_height_first_pagination" | |
35 | 35 | ||
36 | 36 | let q = "_vote_no" | |
37 | 37 | ||
38 | 38 | let r = "_vote_yes" | |
39 | 39 | ||
40 | 40 | let s = "_status" | |
41 | 41 | ||
42 | 42 | let t = "_finish_height" | |
43 | 43 | ||
44 | 44 | let u = "voting_active_cell_1" | |
45 | 45 | ||
46 | 46 | let v = "voting_active_cell_2" | |
47 | 47 | ||
48 | 48 | let w = "voting_active_cell_3" | |
49 | 49 | ||
50 | 50 | let x = "sum_reward_current" | |
51 | 51 | ||
52 | 52 | let y = "_bought_tickets" | |
53 | 53 | ||
54 | 54 | let z = "_swop_per_ticket" | |
55 | 55 | ||
56 | 56 | let A = "launchpad_active_id" | |
57 | 57 | ||
58 | 58 | let B = "_duration" | |
59 | 59 | ||
60 | 60 | let C = "_start_height" | |
61 | 61 | ||
62 | 62 | let D = "start_height" | |
63 | 63 | ||
64 | 64 | let E = "base_period" | |
65 | 65 | ||
66 | 66 | let F = "period_length" | |
67 | 67 | ||
68 | 68 | let G = "_user_total_struc" | |
69 | 69 | ||
70 | 70 | let H = "_freeze_swop_duration" | |
71 | 71 | ||
72 | 72 | let I = "SWOP_id" | |
73 | 73 | ||
74 | 74 | let J = "airdrop_fee" | |
75 | 75 | ||
76 | 76 | let K = "admin_pub_1" | |
77 | 77 | ||
78 | 78 | let L = "admin_pub_2" | |
79 | 79 | ||
80 | 80 | let M = "admin_pub_3" | |
81 | 81 | ||
82 | 82 | let N = "money_box_pub_key" | |
83 | 83 | ||
84 | 84 | let O = "farming_address" | |
85 | 85 | ||
86 | 86 | let P = "voting_address" | |
87 | 87 | ||
88 | 88 | let Q = "voting_new_pool_address" | |
89 | 89 | ||
90 | 90 | let R = "launchpad_address" | |
91 | 91 | ||
92 | 92 | let S = "airdrop_fee_money_box" | |
93 | 93 | ||
94 | 94 | let T = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz') | |
95 | 95 | ||
96 | 96 | func U (V) = { | |
97 | 97 | let W = getString(T, V) | |
98 | 98 | if ($isInstanceOf(W, "String")) | |
99 | 99 | then { | |
100 | 100 | let X = W | |
101 | 101 | fromBase58String(X) | |
102 | 102 | } | |
103 | 103 | else { | |
104 | 104 | let Y = W | |
105 | 105 | throw((V + "is empty")) | |
106 | 106 | } | |
107 | 107 | } | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | let Z = U(K) | |
111 | 111 | ||
112 | 112 | let aa = U(L) | |
113 | 113 | ||
114 | 114 | let ab = U(M) | |
115 | 115 | ||
116 | 116 | let ac = U(N) | |
117 | 117 | ||
118 | 118 | let ad = Address(U(O)) | |
119 | 119 | ||
120 | 120 | let ae = Address(U(P)) | |
121 | 121 | ||
122 | 122 | let af = Address(U(Q)) | |
123 | 123 | ||
124 | 124 | let ag = Address(U(R)) | |
125 | 125 | ||
126 | 126 | let ah = Address(U(S)) | |
127 | 127 | ||
128 | 128 | let ai = (10102 * 4) | |
129 | 129 | ||
130 | 130 | let aj = fromBase58String(getStringValue(ad, I)) | |
131 | 131 | ||
132 | 132 | let ak = 100000000 | |
133 | 133 | ||
134 | 134 | let al = 10000000000 | |
135 | 135 | ||
136 | 136 | let am = 1000000 | |
137 | 137 | ||
138 | 138 | let an = valueOrErrorMessage(getInteger(ae, E), "Empty kBasePeriod at voting contract") | |
139 | 139 | ||
140 | 140 | let ao = valueOrErrorMessage(getInteger(ae, D), "Empty kStartHeight at voting contract") | |
141 | 141 | ||
142 | 142 | let ap = valueOrErrorMessage(getInteger(ae, F), "Empty kPeriodLength at voting contract") | |
143 | 143 | ||
144 | 144 | let aq = valueOrElse(getString(af, u), "") | |
145 | 145 | ||
146 | 146 | let ar = valueOrElse(getString(af, v), "") | |
147 | 147 | ||
148 | 148 | let as = valueOrElse(getString(af, w), "") | |
149 | 149 | ||
150 | 150 | let at = valueOrElse(getBoolean(this, a), true) | |
151 | 151 | ||
152 | 152 | let au = getIntegerValue(T, J) | |
153 | 153 | ||
154 | 154 | let av = (an + ((height - ao) / ap)) | |
155 | 155 | ||
156 | 156 | func aw (ax) = [BooleanEntry(a, false), StringEntry(b, ax)] | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func ay () = if (at) | |
160 | 160 | then unit | |
161 | 161 | else throw("DApp is inactive at this moment") | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func az (aA) = if (containsElement([Z, aa, ab], aA.callerPublicKey)) | |
165 | 165 | then unit | |
166 | 166 | else throw("Only admin can call this function") | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func aB () = valueOrElse(getInteger(this, c), 0) | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func aC () = { | |
173 | 173 | let aD = valueOrElse(getInteger(this, f), 0) | |
174 | 174 | let aE = valueOrElse(getInteger(this, i), aD) | |
175 | 175 | $Tuple2(aD, aE) | |
176 | 176 | } | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func aF (aG) = { | |
180 | 180 | let aH = valueOrElse(getInteger(this, (aG + e)), 0) | |
181 | 181 | let aI = valueOrElse(getInteger(this, (aG + h)), aH) | |
182 | 182 | $Tuple2(aH, aI) | |
183 | 183 | } | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func aJ (aG,aK) = { | |
187 | 187 | let aL = aF(aG) | |
188 | 188 | let aM = aL._1 | |
189 | 189 | let aN = aL._2 | |
190 | 190 | let aO = valueOrElse(getInteger(this, (aG + d)), aK) | |
191 | 191 | $Tuple3(aO, aM, aN) | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aP (aG) = valueOrElse(getInteger(this, (aG + k)), 0) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aQ (aR,aG) = { | |
199 | 199 | let aS = valueOrElse(getInteger(af, aR), -1) | |
200 | 200 | let aT = valueOrElse(getInteger(af, (toString(aS) + t)), 0) | |
201 | 201 | let aU = valueOrElse(getBoolean(af, (toString(aS) + s)), true) | |
202 | 202 | let aV = height | |
203 | 203 | if ((0 > aS)) | |
204 | 204 | then 0 | |
205 | 205 | else if (!(aU)) | |
206 | 206 | then 0 | |
207 | 207 | else if ((aT > aV)) | |
208 | 208 | then (valueOrElse(getInteger(af, (((toString(aG) + "_") + toString(aS)) + r)), 0) + valueOrElse(getInteger(af, (((toString(aG) + "_") + toString(aS)) + q)), 0)) | |
209 | 209 | else 0 | |
210 | 210 | } | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func aW (aG) = { | |
214 | 214 | let aX = [aQ(aq, aG), aQ(ar, aG), aQ(as, aG)] | |
215 | 215 | max(aX) | |
216 | 216 | } | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func aY (aG) = { | |
220 | 220 | let aZ = toString(valueOrElse(getInteger(ag, A), 0)) | |
221 | 221 | if ((aZ == "0")) | |
222 | 222 | then 0 | |
223 | 223 | else { | |
224 | 224 | let ba = valueOrElse(getInteger(ag, (aZ + C)), 0) | |
225 | 225 | let bb = valueOrElse(getInteger(ag, (aZ + B)), 0) | |
226 | 226 | let bc = valueOrElse(getInteger(ag, (aZ + H)), 0) | |
227 | 227 | let bd = ((ba + bb) + bc) | |
228 | 228 | if ((height > bd)) | |
229 | 229 | then 0 | |
230 | 230 | else { | |
231 | 231 | let be = valueOrElse(getInteger(ag, (((toString(aG) + "_") + aZ) + y)), 0) | |
232 | 232 | let bf = valueOrElse(getInteger(ag, (aZ + z)), 0) | |
233 | 233 | (be * bf) | |
234 | 234 | } | |
235 | 235 | } | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func bg (aG) = { | |
240 | 240 | let bh = if (isDefined(getString(ae, (toString(aG) + G)))) | |
241 | 241 | then { | |
242 | 242 | let bi = split(valueOrErrorMessage(getString(ae, (toString(aG) + G)), "Empty kUserTotalStruc"), "_") | |
243 | 243 | $Tuple3(parseIntValue(bi[0]), parseIntValue(bi[1]), parseIntValue(bi[2])) | |
244 | 244 | } | |
245 | 245 | else { | |
246 | 246 | let bj = valueOrElse(getInteger(ae, (toString(aG) + j)), 0) | |
247 | 247 | $Tuple3(bj, 0, av) | |
248 | 248 | } | |
249 | 249 | let bk = bh._1 | |
250 | 250 | let bl = bh._2 | |
251 | 251 | let bm = bh._3 | |
252 | 252 | let bn = if ((bm == av)) | |
253 | 253 | then bl | |
254 | 254 | else 0 | |
255 | 255 | $Tuple2(bk, bn) | |
256 | 256 | } | |
257 | 257 | ||
258 | 258 | ||
259 | 259 | func bo (aR) = valueOrElse(getInteger(this, (aR + n)), 0) | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func bp (aR) = isDefined(getInteger(this, (aR + n))) | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func bq (aR) = valueOrElse(getInteger(this, (aR + l)), 0) | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func br (aR) = valueOrElse(getInteger(this, (aR + m)), 0) | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func bs (aG) = { | |
272 | 272 | let aK = aB() | |
273 | 273 | let bt = aJ(aG, aK) | |
274 | 274 | let aO = bt._1 | |
275 | 275 | let bu = bt._2 | |
276 | 276 | let aN = bt._3 | |
277 | 277 | let bv = fraction(aN, (aK - aO), ak) | |
278 | 278 | let bw = aK | |
279 | 279 | $Tuple2(bw, bv) | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | @Callable(aA) | |
284 | 284 | func airDrop () = valueOrElse(ay(), { | |
285 | 285 | let bx = $Tuple2(aA.payments[0].amount, aA.payments[0].assetId) | |
286 | 286 | let by = bx._1 | |
287 | 287 | let bz = bx._2 | |
288 | 288 | if ((bz != aj)) | |
289 | 289 | then throw("Incorrect pmtAssetId") | |
290 | 290 | else { | |
291 | 291 | let bA = fraction(by, au, am, CEILING) | |
292 | 292 | let bB = aC() | |
293 | 293 | let bC = bB._1 | |
294 | 294 | let aE = bB._2 | |
295 | 295 | let aK = aB() | |
296 | 296 | let bD = (aK + fraction((by - bA), ak, aE)) | |
297 | 297 | [IntegerEntry(c, bD), ScriptTransfer(ah, bA, aj)] | |
298 | 298 | } | |
299 | 299 | }) | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | ||
303 | 303 | @Callable(aA) | |
304 | 304 | func lockSWOP () = valueOrElse(ay(), { | |
305 | 305 | let bE = $Tuple2(aA.payments[0].amount, aA.payments[0].assetId) | |
306 | 306 | let by = bE._1 | |
307 | 307 | let bz = bE._2 | |
308 | 308 | if ((bz != aj)) | |
309 | 309 | then throw("Incorrect pmtAssetId") | |
310 | 310 | else { | |
311 | 311 | let aG = toString(aA.caller) | |
312 | 312 | let aK = aB() | |
313 | 313 | let bF = aF(aG) | |
314 | 314 | let bu = bF._1 | |
315 | 315 | let aI = bF._2 | |
316 | 316 | let bG = bs(aG) | |
317 | 317 | let bw = bG._1 | |
318 | 318 | let bH = bG._2 | |
319 | 319 | let bI = aP(aG) | |
320 | 320 | let bJ = (bI + bH) | |
321 | 321 | let bK = (bu + by) | |
322 | 322 | let bL = (aI + by) | |
323 | 323 | let bM = aC() | |
324 | 324 | let bC = bM._1 | |
325 | 325 | let aE = bM._2 | |
326 | 326 | let bN = (bC + by) | |
327 | 327 | let bO = (aE + by) | |
328 | - | [IntegerEntry((aG + g), (height + ai)), IntegerEntry((aG + d), bw), IntegerEntry((aG + e), bK), IntegerEntry((aG + h), | |
328 | + | [IntegerEntry((aG + g), (height + ai)), IntegerEntry((aG + d), bw), IntegerEntry((aG + e), bK), IntegerEntry((aG + h), bL), IntegerEntry((aG + k), bJ), IntegerEntry(f, bN), IntegerEntry(i, bO)] | |
329 | 329 | } | |
330 | 330 | }) | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | ||
334 | 334 | @Callable(aA) | |
335 | 335 | func withdrawSWOP (bP) = valueOrElse(ay(), { | |
336 | 336 | let aG = toString(aA.caller) | |
337 | 337 | let bQ = valueOrElse(getInteger(this, (aG + g)), 0) | |
338 | 338 | if ((0 >= bP)) | |
339 | 339 | then throw("withdrawAmount <= 0") | |
340 | 340 | else if ((bQ > height)) | |
341 | 341 | then throw(("You can't withdraw till " + toString(bQ))) | |
342 | 342 | else { | |
343 | 343 | let bR = aC() | |
344 | 344 | let bC = bR._1 | |
345 | 345 | let aE = bR._2 | |
346 | 346 | let bS = aF(aG) | |
347 | 347 | let bu = bS._1 | |
348 | 348 | let aI = bS._2 | |
349 | 349 | let bT = bs(aG) | |
350 | 350 | let bw = bT._1 | |
351 | 351 | let bH = bT._2 | |
352 | 352 | let bU = bg(aA.caller) | |
353 | 353 | let bV = bU._1 | |
354 | 354 | let bW = bU._2 | |
355 | 355 | let bX = aW(aA.caller) | |
356 | 356 | let bY = aY(aA.caller) | |
357 | 357 | if (if (if ((0 > bW)) | |
358 | 358 | then true | |
359 | 359 | else (0 > bV)) | |
360 | 360 | then true | |
361 | 361 | else (0 > bX)) | |
362 | 362 | then throw("userUnvoteAmount < 0 || userVoteAmount < 0 || userVoteAmountForNewPool < 0") | |
363 | 363 | else { | |
364 | 364 | let bZ = (bu - max([bX, (bV + bW), bY])) | |
365 | 365 | if ((bP > bZ)) | |
366 | 366 | then throw("withdrawAmount > availableToUnstake") | |
367 | 367 | else { | |
368 | 368 | let bI = aP(aG) | |
369 | 369 | let bJ = (bI + bH) | |
370 | 370 | let bN = (bC - bP) | |
371 | 371 | let ca = (bu - bP) | |
372 | 372 | let bO = ((aE - aI) + ca) | |
373 | 373 | [IntegerEntry((aG + d), bw), IntegerEntry((aG + e), ca), IntegerEntry((aG + h), ca), IntegerEntry((aG + k), bJ), IntegerEntry(f, bN), IntegerEntry(i, bO), ScriptTransfer(aA.caller, bP, aj)] | |
374 | 374 | } | |
375 | 375 | } | |
376 | 376 | } | |
377 | 377 | }) | |
378 | 378 | ||
379 | 379 | ||
380 | 380 | ||
381 | 381 | @Callable(aA) | |
382 | 382 | func claimAndWithdrawSWOP () = valueOrElse(ay(), { | |
383 | 383 | let aG = toString(aA.caller) | |
384 | 384 | let bI = aP(aG) | |
385 | 385 | let cb = bs(aG) | |
386 | 386 | let bw = cb._1 | |
387 | 387 | let bv = cb._2 | |
388 | 388 | let cc = (bI + bv) | |
389 | 389 | if ((cc == 0)) | |
390 | 390 | then throw("You have 0 available SWOP") | |
391 | 391 | else [IntegerEntry((aG + d), bw), ScriptTransfer(aA.caller, cc, aj)] | |
392 | 392 | }) | |
393 | 393 | ||
394 | 394 | ||
395 | 395 | ||
396 | 396 | @Callable(aA) | |
397 | 397 | func claimAndStakeSWOP () = valueOrElse(ay(), { | |
398 | 398 | let aG = toString(aA.caller) | |
399 | 399 | let cd = aC() | |
400 | 400 | let bC = cd._1 | |
401 | 401 | let aE = cd._2 | |
402 | 402 | let ce = aF(aG) | |
403 | 403 | let bu = ce._1 | |
404 | 404 | let aI = ce._2 | |
405 | 405 | let bI = aP(aG) | |
406 | 406 | let cf = bs(aG) | |
407 | 407 | let bw = cf._1 | |
408 | 408 | let bv = cf._2 | |
409 | 409 | let cc = (bI + bv) | |
410 | 410 | let bK = (bu + cc) | |
411 | 411 | let bL = (aI + (cc * 2)) | |
412 | 412 | let bN = (bC + cc) | |
413 | 413 | let bO = (aE + (cc * 2)) | |
414 | 414 | if ((cc == 0)) | |
415 | 415 | then throw("You have 0 available SWOP") | |
416 | 416 | else [IntegerEntry((toString(aA.caller) + g), (height + ai)), IntegerEntry((toString(aA.caller) + d), bw), IntegerEntry(f, bN), IntegerEntry(i, bO), IntegerEntry((toString(aA.caller) + e), bK), IntegerEntry((toString(aA.caller) + h), bL)] | |
417 | 417 | }) | |
418 | 418 | ||
419 | 419 | ||
420 | 420 | ||
421 | 421 | @Callable(aA) | |
422 | 422 | func lockSWOPFromFarming () = valueOrElse(ay(), { | |
423 | 423 | let cg = $Tuple2(aA.payments[0].amount, aA.payments[0].assetId) | |
424 | 424 | let by = cg._1 | |
425 | 425 | let bz = cg._2 | |
426 | 426 | if ((aA.caller != ad)) | |
427 | 427 | then throw("Only farming can call this function") | |
428 | 428 | else if ((bz != aj)) | |
429 | 429 | then throw("Incorrect pmtAssetId") | |
430 | 430 | else { | |
431 | 431 | let aG = toString(aA.originCaller) | |
432 | 432 | let aK = aB() | |
433 | 433 | let ch = aF(aG) | |
434 | 434 | let bu = ch._1 | |
435 | 435 | let aI = ch._2 | |
436 | 436 | let ci = bs(aG) | |
437 | 437 | let bw = ci._1 | |
438 | 438 | let bH = ci._2 | |
439 | 439 | let bI = aP(aG) | |
440 | 440 | let bJ = (bI + bH) | |
441 | 441 | let bK = (bu + by) | |
442 | 442 | let bL = (aI + (by * 2)) | |
443 | 443 | let cj = aC() | |
444 | 444 | let bC = cj._1 | |
445 | 445 | let aE = cj._2 | |
446 | 446 | let bN = (bC + by) | |
447 | 447 | let bO = (aE + (by * 2)) | |
448 | 448 | [IntegerEntry((aG + g), (height + ai)), IntegerEntry((aG + d), bw), IntegerEntry((aG + e), bK), IntegerEntry((aG + h), aI), IntegerEntry((aG + k), bJ), IntegerEntry(f, bN), IntegerEntry(i, bO)] | |
449 | 449 | } | |
450 | 450 | }) | |
451 | 451 | ||
452 | 452 | ||
453 | 453 | ||
454 | 454 | @Callable(aA) | |
455 | 455 | func updateWeights (ck,cl,cm,cn) = valueOrElse(ay(), { | |
456 | 456 | let co = 10 | |
457 | 457 | let cp = valueOrElse(getInteger(this, o), 0) | |
458 | 458 | if (!(containsElement([Z, aa, ab, ac], aA.callerPublicKey))) | |
459 | 459 | then throw("Only admin can call this function") | |
460 | 460 | else if ((size(ck) > co)) | |
461 | 461 | then throw(("Max amount of pool is " + toString(co))) | |
462 | 462 | else if ((cp >= cm)) | |
463 | 463 | then throw("rewardUpdateHeight <= totalRewardUpdateHeight") | |
464 | 464 | else if ((height >= cm)) | |
465 | 465 | then throw("height >= rewardUpdateHeight") | |
466 | 466 | else if ((0 >= cm)) | |
467 | 467 | then throw("0 >= rewardUpdateHeight ") | |
468 | 468 | else { | |
469 | 469 | func cq (cr,cs) = (cr + cs) | |
470 | 470 | ||
471 | 471 | func ct (cu,aR) = { | |
472 | 472 | let cv = bo(aR) | |
473 | 473 | if (if (!(bp(aR))) | |
474 | 474 | then true | |
475 | 475 | else if ((cm != cv)) | |
476 | 476 | then (cv == cp) | |
477 | 477 | else false) | |
478 | 478 | then { | |
479 | 479 | let cw = bq(aR) | |
480 | 480 | IntegerEntry((aR + m), cw) :: cu | |
481 | 481 | } | |
482 | 482 | else { | |
483 | 483 | let cw = br(aR) | |
484 | 484 | IntegerEntry((aR + m), cw) :: cu | |
485 | 485 | } | |
486 | 486 | } | |
487 | 487 | ||
488 | 488 | func cx (cu,aR) = { | |
489 | 489 | let cy = value(indexOf(ck, aR)) | |
490 | 490 | let cw = cl[cy] | |
491 | 491 | if ((0 > cw)) | |
492 | 492 | then throw("PoolReward < 0") | |
493 | 493 | else IntegerEntry((aR + l), cw) :: cu | |
494 | 494 | } | |
495 | 495 | ||
496 | 496 | func cz (cu,aR) = { | |
497 | 497 | let cA = cm | |
498 | 498 | let cB = invoke(ad, "updatePoolInterest", [aR], nil) | |
499 | 499 | if ((cB == cB)) | |
500 | 500 | then IntegerEntry((aR + n), cA) :: cu | |
501 | 501 | else throw("Strict value is not equal to itself.") | |
502 | 502 | } | |
503 | 503 | ||
504 | 504 | func cC (cD,cn) = if ((cn == 0)) | |
505 | 505 | then if ((cD > al)) | |
506 | 506 | then throw(((("sumRewardPrevious > totalVoteShare or sumRewardCurrent > totalVoteShare - " + toString(cn)) + " ") + toString(cD))) | |
507 | 507 | else $Tuple2([IntegerEntry(x, cD)], [IntegerEntry(p, cm)]) | |
508 | 508 | else if ((cn == 1)) | |
509 | 509 | then { | |
510 | 510 | let cE = valueOrElse(getInteger(this, x), 0) | |
511 | 511 | let cF = valueOrElse(getInteger(this, p), 0) | |
512 | 512 | if (((cD + cE) > al)) | |
513 | 513 | then throw(((("sumRewardPrevious > totalVoteShare or sumRewardCurrent > totalVoteShare - " + toString(cn)) + " ") + toString((cD + cE)))) | |
514 | 514 | else if ((cF != cm)) | |
515 | 515 | then throw("current rewardUpdateHeight != rewardUpdateHeightFirstPaginationEntry") | |
516 | 516 | else $Tuple2([IntegerEntry(x, (cD + cE))], nil) | |
517 | 517 | } | |
518 | 518 | else if ((cn == 2)) | |
519 | 519 | then { | |
520 | 520 | let cG = (valueOrElse(getInteger(this, x), 0) + cD) | |
521 | 521 | let cF = valueOrElse(getInteger(this, p), 0) | |
522 | 522 | if ((cG != al)) | |
523 | 523 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
524 | 524 | else if ((cF != cm)) | |
525 | 525 | then throw("current rewardUpdateHeight != rewardUpdateHeightFirstPaginationEntry") | |
526 | 526 | else $Tuple2([IntegerEntry(x, cG)], nil) | |
527 | 527 | } | |
528 | 528 | else throw("Incorrect pagination") | |
529 | 529 | ||
530 | 530 | let cH = { | |
531 | 531 | let cI = ck | |
532 | 532 | let cJ = size(cI) | |
533 | 533 | let cK = nil | |
534 | 534 | func cL (cM,cN) = if ((cN >= cJ)) | |
535 | 535 | then cM | |
536 | 536 | else ct(cM, cI[cN]) | |
537 | 537 | ||
538 | 538 | func cO (cM,cN) = if ((cN >= cJ)) | |
539 | 539 | then cM | |
540 | 540 | else throw("List size exceeds 10") | |
541 | 541 | ||
542 | 542 | cO(cL(cL(cL(cL(cL(cL(cL(cL(cL(cL(cK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
543 | 543 | } | |
544 | 544 | let cP = { | |
545 | 545 | let cI = ck | |
546 | 546 | let cJ = size(cI) | |
547 | 547 | let cK = nil | |
548 | 548 | func cQ (cM,cN) = if ((cN >= cJ)) | |
549 | 549 | then cM | |
550 | 550 | else cx(cM, cI[cN]) | |
551 | 551 | ||
552 | 552 | func cR (cM,cN) = if ((cN >= cJ)) | |
553 | 553 | then cM | |
554 | 554 | else throw("List size exceeds 10") | |
555 | 555 | ||
556 | 556 | cR(cQ(cQ(cQ(cQ(cQ(cQ(cQ(cQ(cQ(cQ(cK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
557 | 557 | } | |
558 | 558 | let cS = { | |
559 | 559 | let cI = ck | |
560 | 560 | let cJ = size(cI) | |
561 | 561 | let cK = nil | |
562 | 562 | func cT (cM,cN) = if ((cN >= cJ)) | |
563 | 563 | then cM | |
564 | 564 | else cz(cM, cI[cN]) | |
565 | 565 | ||
566 | 566 | func cU (cM,cN) = if ((cN >= cJ)) | |
567 | 567 | then cM | |
568 | 568 | else throw("List size exceeds 10") | |
569 | 569 | ||
570 | 570 | cU(cT(cT(cT(cT(cT(cT(cT(cT(cT(cT(cK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
571 | 571 | } | |
572 | 572 | let cV = { | |
573 | 573 | let cI = cl | |
574 | 574 | let cJ = size(cI) | |
575 | 575 | let cK = 0 | |
576 | 576 | func cW (cM,cN) = if ((cN >= cJ)) | |
577 | 577 | then cM | |
578 | 578 | else cq(cM, cI[cN]) | |
579 | 579 | ||
580 | 580 | func cX (cM,cN) = if ((cN >= cJ)) | |
581 | 581 | then cM | |
582 | 582 | else throw("List size exceeds 10") | |
583 | 583 | ||
584 | 584 | cX(cW(cW(cW(cW(cW(cW(cW(cW(cW(cW(cK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
585 | 585 | } | |
586 | 586 | let cY = cC(cV, cn) | |
587 | 587 | let cZ = cY._1 | |
588 | 588 | let cF = cY._2 | |
589 | 589 | let da = if ((cn == 2)) | |
590 | 590 | then [IntegerEntry(o, cm)] | |
591 | 591 | else nil | |
592 | 592 | if ((height > cm)) | |
593 | 593 | then throw("rewardUpdateHeight < height") | |
594 | 594 | else (((((cH ++ cP) ++ cS) ++ cZ) ++ da) ++ cF) | |
595 | 595 | } | |
596 | 596 | }) | |
597 | 597 | ||
598 | 598 | ||
599 | 599 | ||
600 | 600 | @Callable(aA) | |
601 | 601 | func shutdown () = valueOrElse(az(aA), if (!(at)) | |
602 | 602 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, b), "the cause wasn't specified"))) | |
603 | 603 | else aw("Paused by admin")) | |
604 | 604 | ||
605 | 605 | ||
606 | 606 | ||
607 | 607 | @Callable(aA) | |
608 | 608 | func activate () = valueOrElse(az(aA), if (at) | |
609 | 609 | then throw("DApp is already active") | |
610 | 610 | else [BooleanEntry(a, true), DeleteEntry(b)]) | |
611 | 611 | ||
612 | 612 | ||
613 | 613 | @Verifier(db) | |
614 | 614 | func dc () = { | |
615 | 615 | let dd = if (sigVerify(db.bodyBytes, db.proofs[0], Z)) | |
616 | 616 | then 1 | |
617 | 617 | else 0 | |
618 | 618 | let de = if (sigVerify(db.bodyBytes, db.proofs[1], aa)) | |
619 | 619 | then 1 | |
620 | 620 | else 0 | |
621 | 621 | let df = if (sigVerify(db.bodyBytes, db.proofs[2], ab)) | |
622 | 622 | then 1 | |
623 | 623 | else 0 | |
624 | 624 | (((dd + de) + df) >= 2) | |
625 | 625 | } | |
626 | 626 |
github/deemru/w8io/026f985 66.42 ms ◑