tx · BskLMfXpLaR9V9pDsWzAWTWriKeW8XPeQk4d2whGb51u 3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy: -0.02300000 Waves 2023.02.15 16:04 [2450760] smart account 3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy > SELF 0.00000000 Waves
{ "type": 13, "id": "BskLMfXpLaR9V9pDsWzAWTWriKeW8XPeQk4d2whGb51u", "fee": 2300000, "feeAssetId": null, "timestamp": 1676466294820, "version": 2, "chainId": 84, "sender": "3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy", "senderPublicKey": "9W33iCCNfmFxUbiC6XZcH5x7f6xfwC7Jb3BoExT5q2PV", "proofs": [ "3jYWzrxQby6f6sQRf3wK9RkTAwqqixDTGPWjk38jb4s7E4pQTwGaiWCuwnSpPHpeDuz8uLE3jhDmKcVHpSR6q2di" ], "script": "base64:BgKbJggCEggKBggIAQEBCBIFCgMBCAISAwoBARIDCgEBEgQKAggIEgQKAggIEgMKAQgSAwoBCBIECgIIARIAEgMKAQgSACIDU0VQIgZTQ0FMRTgiBU1VTFQ4Ig5QT09MV0VJR0hUTVVMVCIHd3JhcEVyciIDbXNnIgh0aHJvd0VyciIEc3RyZiIHYWRkcmVzcyIDa2V5IgNpb3oiA2lvZCIKZGVmYXVsdFZhbCIDaW9mIgNhYnMiA3ZhbCIDYWFsIgckbWF0Y2gwIgp2YWxBbnlMeXN0IgJhaSIGdmFsSW50IhtrZXlSZWZlcnJhbHNDb250cmFjdEFkZHJlc3MiHnJlZmVycmFsc0NvbnRyYWN0QWRkcmVzc09yRmFpbCIWa2V5UmVmZXJyYWxQcm9ncmFtTmFtZSIacmVmZXJyYWxQcm9ncmFtTmFtZURlZmF1bHQiE3JlZmVycmFsUHJvZ3JhbU5hbWUiEWtleUZhY3RvcnlBZGRyZXNzIhhJZHhGYWN0b3J5Q2ZnU3Rha2luZ0RhcHAiGUlkeEZhY3RvcnlDZmdCb29zdGluZ0RhcHAiFElkeEZhY3R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BQJlQQZwcm9vZnMAAAUCZUO7K12R", "height": 2450760, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Exks2UkriPFqjRP5E8F3QS8vd8gYfCLqdJdYVVTQQwU1 Next: 5tog8x7bSLC6iuCsZ5peaA914TR6cERf2aVHu9YZoL3C Diff:
Old | New | Differences | |
---|---|---|---|
448 | 448 | } | |
449 | 449 | let cR = makeString(["%s", "currentEpoch"], a) | |
450 | 450 | let cS = { | |
451 | - | let cT = (value(getInteger( | |
451 | + | let cT = (value(getInteger(bG, cR)) - 1) | |
452 | 452 | if ((0 > cT)) | |
453 | 453 | then g("invalid epoch") | |
454 | 454 | else cT | |
458 | 458 | func cW (cV,cT) = makeString(["%s%s%s%d", "votingResult", cP, cQ, toString(cT)], a) | |
459 | 459 | ||
460 | 460 | let cV = $Tuple2(cP, cQ) | |
461 | - | let cX = valueOrElse(getInteger( | |
462 | - | let cY = valueOrElse(getInteger( | |
461 | + | let cX = valueOrElse(getInteger(bG, cU(cV, aR, cS)), 0) | |
462 | + | let cY = valueOrElse(getInteger(bG, cW(cV, cS)), 0) | |
463 | 463 | $Tuple2(cX, cY) | |
464 | 464 | } | |
465 | 465 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = 8 | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = c | |
11 | 11 | ||
12 | 12 | func e (f) = makeString(["boosting.ride:", f], " ") | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func g (f) = throw(e(f)) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func h (i,j) = valueOrErrorMessage(getString(i, j), (("mandatory this." + j) + " is not defined")) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func k (i,j) = valueOrElse(getInteger(i, j), 0) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func l (i,j,m) = valueOrElse(getInteger(i, j), m) | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func n (i,j) = valueOrErrorMessage(getInteger(i, j), (("mandatory this." + j) + " is not defined")) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func o (p) = if ((0 > p)) | |
31 | 31 | then -(p) | |
32 | 32 | else p | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func q (p) = { | |
36 | 36 | let r = p | |
37 | 37 | if ($isInstanceOf(r, "List[Any]")) | |
38 | 38 | then { | |
39 | 39 | let s = r | |
40 | 40 | s | |
41 | 41 | } | |
42 | 42 | else throw("fail to cast into List[Any]") | |
43 | 43 | } | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func t (p) = { | |
47 | 47 | let r = p | |
48 | 48 | if ($isInstanceOf(r, "Int")) | |
49 | 49 | then { | |
50 | 50 | let u = r | |
51 | 51 | u | |
52 | 52 | } | |
53 | 53 | else throw("fail to cast into Int") | |
54 | 54 | } | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func v () = makeString(["%s%s", "config", "referralsContractAddress"], a) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | let w = addressFromStringValue(h(this, v())) | |
61 | 61 | ||
62 | 62 | let x = makeString(["%s%s", "referral", "programName"], a) | |
63 | 63 | ||
64 | 64 | let y = "wxlock" | |
65 | 65 | ||
66 | 66 | let z = valueOrElse(getString(this, x), y) | |
67 | 67 | ||
68 | 68 | func A () = "%s%s__config__factoryAddress" | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | let B = 1 | |
72 | 72 | ||
73 | 73 | let C = 2 | |
74 | 74 | ||
75 | 75 | let D = 3 | |
76 | 76 | ||
77 | 77 | let E = 4 | |
78 | 78 | ||
79 | 79 | let F = 5 | |
80 | 80 | ||
81 | 81 | let G = 6 | |
82 | 82 | ||
83 | 83 | let H = 7 | |
84 | 84 | ||
85 | 85 | let I = 8 | |
86 | 86 | ||
87 | 87 | let J = 9 | |
88 | 88 | ||
89 | 89 | let K = 10 | |
90 | 90 | ||
91 | 91 | let L = 11 | |
92 | 92 | ||
93 | 93 | func M () = "%s__factoryConfig" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func N (O) = makeString(["%s%s%s", O, "mappings__lpAsset2PoolContract"], a) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func P () = "%s__lpTokensList" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func Q (O) = makeString(["%s%s%s", O, "mappings__lpAsset2PoolContract"], a) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func R (S) = makeString(["%s%s", "poolWeight", S], a) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func T (U,V) = ((("%s%s__poolWeight__" + U) + "__") + toString(V)) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func W () = addressFromStringValue(h(this, A())) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func X () = split(valueOrElse(getString(W(), P()), ""), a) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func Y (Z) = split(h(Z, M()), a) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func aa (ab) = addressFromStringValue(ab[C]) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func ac (ab) = addressFromStringValue(ab[F]) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func ad (ab) = addressFromStringValue(ab[B]) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func ae (ab) = addressFromStringValue(ab[K]) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func af () = "%s__managerPublicKey" | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func ag () = "%s__pendingManagerPublicKey" | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ah () = "%s%s__ratePerBlock__current" | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func ai () = "%s%s__ratePerBlockMax__current" | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func aj () = "%s%s__emission__startBlock" | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func ak () = "%s%s__boostingV2__startBlock" | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func al () = "%s%s__emission__duration" | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func am () = "%s%s__emission__endBlock" | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func an () = "%s__nextPeriod" | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func ao () = "%s%s__gwxRewardEmissionPart__startHeight" | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | let ap = 1 | |
163 | 163 | ||
164 | 164 | let aq = 2 | |
165 | 165 | ||
166 | 166 | let ar = 3 | |
167 | 167 | ||
168 | 168 | let as = 4 | |
169 | 169 | ||
170 | 170 | let at = 5 | |
171 | 171 | ||
172 | 172 | func au () = "%s__config" | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func av () = split(h(this, au()), a) | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | let aw = addressFromStringValue(av()[at]) | |
179 | 179 | ||
180 | 180 | func ax (ay,az,aA,aB,aw) = makeString(["%s%d%d%d", ay, az, aA, aB, aw], a) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func aC (ay,az,aA,aB,aw) = ax(ay, toString(az), toString(aA), toString(aB), aw) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func aD () = { | |
187 | 187 | let r = getString(af()) | |
188 | 188 | if ($isInstanceOf(r, "String")) | |
189 | 189 | then { | |
190 | 190 | let aE = r | |
191 | 191 | fromBase58String(aE) | |
192 | 192 | } | |
193 | 193 | else if ($isInstanceOf(r, "Unit")) | |
194 | 194 | then unit | |
195 | 195 | else throw("Match error") | |
196 | 196 | } | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func aF () = { | |
200 | 200 | let r = getString(ag()) | |
201 | 201 | if ($isInstanceOf(r, "String")) | |
202 | 202 | then { | |
203 | 203 | let aE = r | |
204 | 204 | fromBase58String(aE) | |
205 | 205 | } | |
206 | 206 | else if ($isInstanceOf(r, "Unit")) | |
207 | 207 | then unit | |
208 | 208 | else throw("Match error") | |
209 | 209 | } | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | func aG (aH) = { | |
213 | 213 | let aI = throw("Permission denied") | |
214 | 214 | let r = aD() | |
215 | 215 | if ($isInstanceOf(r, "ByteVector")) | |
216 | 216 | then { | |
217 | 217 | let aJ = r | |
218 | 218 | if ((aH.callerPublicKey == aJ)) | |
219 | 219 | then true | |
220 | 220 | else aI | |
221 | 221 | } | |
222 | 222 | else if ($isInstanceOf(r, "Unit")) | |
223 | 223 | then if ((aH.caller == this)) | |
224 | 224 | then true | |
225 | 225 | else aI | |
226 | 226 | else throw("Match error") | |
227 | 227 | } | |
228 | 228 | ||
229 | 229 | ||
230 | 230 | let aK = 1 | |
231 | 231 | ||
232 | 232 | let aL = 2 | |
233 | 233 | ||
234 | 234 | let aM = 3 | |
235 | 235 | ||
236 | 236 | let aN = 4 | |
237 | 237 | ||
238 | 238 | let aO = 5 | |
239 | 239 | ||
240 | 240 | let aP = 6 | |
241 | 241 | ||
242 | 242 | func aQ (aR) = makeString(["%s%s__lock", aR], a) | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | func aS (aR) = split(h(this, aQ(aR)), a) | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | func aT (aU,aV,aW,aX,aY,aZ,ba,bb) = makeString(["%d%d%d%d%d%d%d%d", aU, aV, aW, aX, aY, aZ, ba, bb], a) | |
249 | 249 | ||
250 | 250 | ||
251 | 251 | func bc (aU,aV,aW,aX,aY,aZ,bb) = aT(aU, toString(aV), toString(aW), toString(aX), toString(aY), toString(aZ), toString(lastBlock.timestamp), toString(bb)) | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | func bd () = "%s__nextUserNum" | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func be (aR) = makeString(["%s%s%s__mapping__user2num", aR], a) | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func bf (V) = makeString(["%s%s%s__mapping__num2user", V], a) | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func bg (aU) = makeString(["%s%d%s__paramByUserNum", aU, "amount"], a) | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func bh (aU) = makeString(["%s%d%s__paramByUserNum", aU, "start"], a) | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | func bi (aU) = makeString(["%s%d%s__paramByUserNum", aU, "duration"], a) | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func bj (aU) = makeString(["%s%d%s__paramByUserNum", aU, "k"], a) | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func bk (aU) = makeString(["%s%d%s__paramByUserNum", aU, "b"], a) | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | func bl (aU,bm) = makeString(["%s%d%s%d__paramByPeriod", aU, "k", bm], a) | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | func bn (aU,bm) = makeString(["%s%d%s%d__paramByPeriod", aU, "b", bm], a) | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func bo () = "%s%s__stats__activeTotalLocked" | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func bp () = "%s%s__stats__locksDurationSumInBlocks" | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func bq () = "%s%s__stats__locksCount" | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | func br () = "%s%s__stats__activeUsersCount" | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | func bs (aU) = makeString(["%s%d__userBoostEmissionLastIntV2", aU], a) | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | func bt (aU,bu) = makeString(["%s%d__userBoostEmissionLastIntV2", aU, bu], a) | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | func bv (aU) = makeString(["%s%d__maxBoostInt", aU], a) | |
303 | 303 | ||
304 | 304 | ||
305 | 305 | func bw () = "%s%s__maxBoostInt__total" | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | func bx (aU) = makeString(["%s%d__userBoostAvaliableToClaimTotal", aU], a) | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | func by (aU) = makeString(["%s%d__userBoostClaimed", aU], a) | |
312 | 312 | ||
313 | 313 | ||
314 | 314 | func bz () = "%s%s__gwxCached__total" | |
315 | 315 | ||
316 | 316 | ||
317 | 317 | func bA () = "%s__gwxCachedTotalCorrective" | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | let bB = W() | |
321 | 321 | ||
322 | 322 | let ab = Y(bB) | |
323 | 323 | ||
324 | 324 | let bC = ac(ab) | |
325 | 325 | ||
326 | 326 | let bD = ad(ab) | |
327 | 327 | ||
328 | 328 | let bE = ae(ab) | |
329 | 329 | ||
330 | 330 | let bF = makeString(["%s", "votingEmissionContract"], a) | |
331 | 331 | ||
332 | 332 | let bG = addressFromStringValue(getStringValue(bB, bF)) | |
333 | 333 | ||
334 | 334 | let bH = { | |
335 | 335 | let bI = invoke(bC, "getBoostCoeffREADONLY", nil, nil) | |
336 | 336 | if ($isInstanceOf(bI, "Int")) | |
337 | 337 | then bI | |
338 | 338 | else throw(($getType(bI) + " couldn't be cast to Int")) | |
339 | 339 | } | |
340 | 340 | ||
341 | 341 | func bJ (bK) = { | |
342 | 342 | let bL = makeString(["%s", "currentEpochUi"], a) | |
343 | 343 | let bM = getIntegerValue(bG, bL) | |
344 | 344 | let bN = makeString(["%s%s", "totalCachedGwxCorrection__activationEpoch"], a) | |
345 | 345 | let bO = getInteger(this, bN) | |
346 | 346 | let bP = valueOrElse(getInteger(this, bz()), 0) | |
347 | 347 | let bQ = if (isDefined(bO)) | |
348 | 348 | then (bM >= value(bO)) | |
349 | 349 | else false | |
350 | 350 | let bR = if (if (bQ) | |
351 | 351 | then bK | |
352 | 352 | else false) | |
353 | 353 | then valueOrElse(getInteger(this, bA()), 0) | |
354 | 354 | else 0 | |
355 | 355 | max([0, (bP + bR)]) | |
356 | 356 | } | |
357 | 357 | ||
358 | 358 | ||
359 | 359 | func bS (bT,bU,aV,bV,aX,bW,bX,aH) = { | |
360 | 360 | let bY = makeString(["%s%s%s%s__history", bT, bU, toBase58String(aH.transactionId)], a) | |
361 | 361 | let bZ = makeString(["%d%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(aV), toString(bV), toString(aX), toString(bW), toString(bX)], a) | |
362 | 362 | StringEntry(bY, bZ) | |
363 | 363 | } | |
364 | 364 | ||
365 | 365 | ||
366 | 366 | func ca (cb,cc,cd,ce) = { | |
367 | 367 | let cf = bp() | |
368 | 368 | let cg = bq() | |
369 | 369 | let ch = br() | |
370 | 370 | let ci = bo() | |
371 | 371 | let cj = k(this, cf) | |
372 | 372 | let ck = k(this, cg) | |
373 | 373 | let cl = k(this, ch) | |
374 | 374 | let cm = k(this, ci) | |
375 | 375 | [IntegerEntry(cf, (cj + cc)), IntegerEntry(cg, (ck + cd)), IntegerEntry(ch, (cl + ce)), IntegerEntry(ci, (cm + cb))] | |
376 | 376 | } | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | func cn (co,cp,cq) = { | |
380 | 380 | let cr = 1000 | |
381 | 381 | (((co * cq) + cp) / cr) | |
382 | 382 | } | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | func cs (aR,aU,aV,aW,aX,bW,bX,bm) = { | |
386 | 386 | let ct = bg(aU) | |
387 | 387 | let cu = bh(aU) | |
388 | 388 | let cv = bi(aU) | |
389 | 389 | let cw = bj(aU) | |
390 | 390 | let cx = bk(aU) | |
391 | 391 | let cy = bl(aU, bm) | |
392 | 392 | let cz = bn(aU, bm) | |
393 | 393 | let bb = cn(bW, bX, height) | |
394 | 394 | [IntegerEntry(ct, aV), IntegerEntry(cu, aW), IntegerEntry(cv, aX), IntegerEntry(cw, bW), IntegerEntry(cx, bX), IntegerEntry(cy, bW), IntegerEntry(cz, bX), StringEntry(aQ(aR), bc(aU, aV, aW, aX, bW, bX, bb))] | |
395 | 395 | } | |
396 | 396 | ||
397 | 397 | ||
398 | 398 | func cA (aH,cB) = if ((size(aH.payments) > 1)) | |
399 | 399 | then throw("only one payment is allowed") | |
400 | 400 | else if ((size(aH.payments) == 0)) | |
401 | 401 | then 0 | |
402 | 402 | else { | |
403 | 403 | let cC = aH.payments[0] | |
404 | 404 | if ((value(cC.assetId) != cB)) | |
405 | 405 | then throw("invalid asset id in payment") | |
406 | 406 | else cC.amount | |
407 | 407 | } | |
408 | 408 | ||
409 | 409 | ||
410 | 410 | func cD (aR,cE) = { | |
411 | 411 | let cF = "empty" | |
412 | 412 | let cG = be(aR) | |
413 | 413 | let aU = valueOrElse(getString(cG), cF) | |
414 | 414 | let bW = valueOrElse(getInteger(bj(aU)), 0) | |
415 | 415 | let bX = valueOrElse(getInteger(bk(aU)), 0) | |
416 | 416 | let cH = cn(bW, bX, cE) | |
417 | 417 | let bb = if ((0 > cH)) | |
418 | 418 | then 0 | |
419 | 419 | else cH | |
420 | 420 | bb | |
421 | 421 | } | |
422 | 422 | ||
423 | 423 | ||
424 | 424 | func cI (aR) = cD(aR, height) | |
425 | 425 | ||
426 | 426 | ||
427 | 427 | func cJ (cK,cL) = { | |
428 | 428 | let aR = addressFromStringValue(cL) | |
429 | 429 | let cM = 4 | |
430 | 430 | let cN = 5 | |
431 | 431 | let cO = { | |
432 | 432 | let bI = invoke(bB, "getPoolConfigByLpAssetId", [cK], nil) | |
433 | 433 | if ($isInstanceOf(bI, "List[Any]")) | |
434 | 434 | then bI | |
435 | 435 | else throw(($getType(bI) + " couldn't be cast to List[Any]")) | |
436 | 436 | } | |
437 | 437 | let cP = { | |
438 | 438 | let bI = cO[cM] | |
439 | 439 | if ($isInstanceOf(bI, "String")) | |
440 | 440 | then bI | |
441 | 441 | else throw(($getType(bI) + " couldn't be cast to String")) | |
442 | 442 | } | |
443 | 443 | let cQ = { | |
444 | 444 | let bI = cO[cN] | |
445 | 445 | if ($isInstanceOf(bI, "String")) | |
446 | 446 | then bI | |
447 | 447 | else throw(($getType(bI) + " couldn't be cast to String")) | |
448 | 448 | } | |
449 | 449 | let cR = makeString(["%s", "currentEpoch"], a) | |
450 | 450 | let cS = { | |
451 | - | let cT = (value(getInteger( | |
451 | + | let cT = (value(getInteger(bG, cR)) - 1) | |
452 | 452 | if ((0 > cT)) | |
453 | 453 | then g("invalid epoch") | |
454 | 454 | else cT | |
455 | 455 | } | |
456 | 456 | func cU (cV,i,cT) = makeString(["%s%s%s%s%d", "vote", cP, cQ, toString(i), toString(cT)], a) | |
457 | 457 | ||
458 | 458 | func cW (cV,cT) = makeString(["%s%s%s%d", "votingResult", cP, cQ, toString(cT)], a) | |
459 | 459 | ||
460 | 460 | let cV = $Tuple2(cP, cQ) | |
461 | - | let cX = valueOrElse(getInteger( | |
462 | - | let cY = valueOrElse(getInteger( | |
461 | + | let cX = valueOrElse(getInteger(bG, cU(cV, aR, cS)), 0) | |
462 | + | let cY = valueOrElse(getInteger(bG, cW(cV, cS)), 0) | |
463 | 463 | $Tuple2(cX, cY) | |
464 | 464 | } | |
465 | 465 | ||
466 | 466 | ||
467 | 467 | func cZ (cK,cL,da) = { | |
468 | 468 | let cF = "EMPTY" | |
469 | 469 | let db = valueOrElse(getString(this, aQ(cL)), cF) | |
470 | 470 | if ((db == cF)) | |
471 | 471 | then $Tuple3(0, nil, "userRecord::is::empty") | |
472 | 472 | else { | |
473 | 473 | let dc = split(db, a) | |
474 | 474 | let dd = dc[aK] | |
475 | 475 | let de = "empty" | |
476 | 476 | let df = if ((cK != de)) | |
477 | 477 | then { | |
478 | 478 | let dg = valueOrErrorMessage(getString(bB, N(cK)), ("unsupported lp asset " + cK)) | |
479 | 479 | getIntegerValue(bB, R(dg)) | |
480 | 480 | } | |
481 | 481 | else if (da) | |
482 | 482 | then 0 | |
483 | 483 | else throw(("not readonly mode: unsupported lp asset " + cK)) | |
484 | 484 | let dh = n(bC, ah()) | |
485 | 485 | let di = n(bC, ak()) | |
486 | 486 | let dj = n(bC, am()) | |
487 | 487 | let cq = if ((height > dj)) | |
488 | 488 | then dj | |
489 | 489 | else height | |
490 | 490 | let dk = max([(cq - di), 0]) | |
491 | 491 | let dl = bt(dd, cK) | |
492 | 492 | let dm = bs(dd) | |
493 | 493 | let dn = valueOrElse(getInteger(this, dl), k(this, dm)) | |
494 | 494 | let do = (((dh * dk) * (bH - 1)) / bH) | |
495 | 495 | let dp = (do - dn) | |
496 | 496 | let dq = fraction(dp, bH, ((bH - 1) * dh)) | |
497 | 497 | let dr = (cq - dq) | |
498 | 498 | if ((0 > dp)) | |
499 | 499 | then throw("wrong calculations") | |
500 | 500 | else { | |
501 | 501 | let ds = bv(dd) | |
502 | 502 | let dt = bw() | |
503 | 503 | let du = k(this, ds) | |
504 | 504 | let dv = k(this, dt) | |
505 | 505 | let dw = cJ(cK, cL) | |
506 | 506 | let cX = dw._1 | |
507 | 507 | let dx = dw._2 | |
508 | 508 | let dy = bx(dd) | |
509 | 509 | let dz = k(this, dy) | |
510 | 510 | let dA = fraction(dp, df, d) | |
511 | 511 | let dB = if ((dx == 0)) | |
512 | 512 | then 0 | |
513 | 513 | else fraction(dA, cX, dx) | |
514 | 514 | let dC = by(dd) | |
515 | 515 | let dD = k(this, dC) | |
516 | 516 | let dE = (dB - dD) | |
517 | 517 | let dF = [IntegerEntry(dl, do)] | |
518 | 518 | let dG = makeString([toString(dn), toString(dp), toString(dD), toString(dE), toString(df), toString(cq), toString(dq), toString(dr), toString(cX), toString(dx)], ":") | |
519 | 519 | $Tuple3(dB, dF, dG) | |
520 | 520 | } | |
521 | 521 | } | |
522 | 522 | } | |
523 | 523 | ||
524 | 524 | ||
525 | 525 | func dH (aH,aX) = { | |
526 | 526 | let dI = av() | |
527 | 527 | let dJ = dI[ap] | |
528 | 528 | let ay = fromBase58String(dJ) | |
529 | 529 | let az = parseIntValue(dI[aq]) | |
530 | 530 | let aA = parseIntValue(dI[ar]) | |
531 | 531 | let aB = parseIntValue(dI[as]) | |
532 | 532 | if ((size(aH.payments) != 1)) | |
533 | 533 | then throw("invalid payment - exact one payment must be attached") | |
534 | 534 | else { | |
535 | 535 | let cC = aH.payments[0] | |
536 | 536 | let dK = cC.amount | |
537 | 537 | if ((ay != value(cC.assetId))) | |
538 | 538 | then throw((("invalid asset is in payment - " + dJ) + " is expected")) | |
539 | 539 | else { | |
540 | 540 | let dL = bd() | |
541 | 541 | let cL = toString(aH.caller) | |
542 | 542 | let dM = isDefined(getString(be(cL))) | |
543 | 543 | let dd = if (dM) | |
544 | 544 | then value(getString(be(cL))) | |
545 | 545 | else toString(n(this, dL)) | |
546 | 546 | let aU = parseIntValue(dd) | |
547 | 547 | let bV = height | |
548 | 548 | let cu = bh(dd) | |
549 | 549 | let cv = bi(dd) | |
550 | 550 | let ct = bg(dd) | |
551 | 551 | if ((az > dK)) | |
552 | 552 | then throw(("amount is less then minLockAmount=" + toString(az))) | |
553 | 553 | else if ((aA > aX)) | |
554 | 554 | then throw(("passed duration is less then minLockDuration=" + toString(aA))) | |
555 | 555 | else if ((aX > aB)) | |
556 | 556 | then throw(("passed duration is greater then maxLockDuration=" + toString(aB))) | |
557 | 557 | else if (if (dM) | |
558 | 558 | then ((n(this, cu) + n(this, cv)) >= bV) | |
559 | 559 | else false) | |
560 | 560 | then throw("there is an active lock - consider to use increaseLock") | |
561 | 561 | else if ((k(this, ct) > 0)) | |
562 | 562 | then throw(("there are locked WXs - consider to use increaseLock " + ct)) | |
563 | 563 | else { | |
564 | 564 | let dN = fraction(aX, c, aB) | |
565 | 565 | let dO = fraction(dK, dN, c) | |
566 | 566 | let dP = q(invoke(aw, "calcGwxParamsREADONLY", [dO, bV, aX], nil)) | |
567 | 567 | let bW = t(dP[0]) | |
568 | 568 | let bX = t(dP[1]) | |
569 | 569 | let bm = toString(t(dP[2])) | |
570 | 570 | let dh = n(bC, ah()) | |
571 | 571 | let dQ = n(bC, aj()) | |
572 | 572 | let dj = n(bC, am()) | |
573 | 573 | let cq = if ((height > dj)) | |
574 | 574 | then dj | |
575 | 575 | else height | |
576 | 576 | let dk = max([(cq - dQ), 0]) | |
577 | 577 | let dm = bs(dd) | |
578 | 578 | let do = (((dh * dk) * 2) / 3) | |
579 | 579 | let ds = bv(dd) | |
580 | 580 | let dt = bw() | |
581 | 581 | let du = ((dO * aX) / 2) | |
582 | 582 | let dv = k(this, dt) | |
583 | 583 | let bP = bJ(false) | |
584 | 584 | let dR = if (dM) | |
585 | 585 | then nil | |
586 | 586 | else [IntegerEntry(dL, (aU + 1)), StringEntry(be(cL), dd), StringEntry(bf(dd), cL)] | |
587 | 587 | $Tuple2(((((dR ++ cs(cL, dd, dK, bV, aX, bW, bX, bm)) ++ ca(dK, aX, 1, if (dM) | |
588 | 588 | then 0 | |
589 | 589 | else 1)) :+ bS("lock", cL, dK, bV, aX, bW, bX, aH)) ++ [IntegerEntry(dm, do), IntegerEntry(bz(), (bP + dO))]), dO) | |
590 | 590 | } | |
591 | 591 | } | |
592 | 592 | } | |
593 | 593 | } | |
594 | 594 | ||
595 | 595 | ||
596 | 596 | @Callable(aH) | |
597 | 597 | func constructor (dS,dT,az,dU,dV,aw) = { | |
598 | 598 | let dW = aG(aH) | |
599 | 599 | if ((dW == dW)) | |
600 | 600 | then ([IntegerEntry(bd(), 0), StringEntry(au(), aC(dT, az, dU, dV, aw)), StringEntry(A(), dS)] ++ ca(0, 0, 0, 0)) | |
601 | 601 | else throw("Strict value is not equal to itself.") | |
602 | 602 | } | |
603 | 603 | ||
604 | 604 | ||
605 | 605 | ||
606 | 606 | @Callable(aH) | |
607 | 607 | func lockRef (aX,dX,dY) = { | |
608 | 608 | let dZ = dH(aH, aX) | |
609 | 609 | let ea = dZ._1 | |
610 | 610 | let dO = dZ._2 | |
611 | 611 | let eb = toString(aH.caller) | |
612 | 612 | let ec = if (if ((dX == "")) | |
613 | 613 | then true | |
614 | 614 | else (dY == base58'')) | |
615 | 615 | then unit | |
616 | 616 | else invoke(w, "createPair", [z, dX, eb, dY], nil) | |
617 | 617 | if ((ec == ec)) | |
618 | 618 | then { | |
619 | 619 | let ed = invoke(aw, "updateReferralActivity", [toString(aH.caller), dO], nil) | |
620 | 620 | if ((ed == ed)) | |
621 | 621 | then $Tuple2(ea, unit) | |
622 | 622 | else throw("Strict value is not equal to itself.") | |
623 | 623 | } | |
624 | 624 | else throw("Strict value is not equal to itself.") | |
625 | 625 | } | |
626 | 626 | ||
627 | 627 | ||
628 | 628 | ||
629 | 629 | @Callable(aH) | |
630 | 630 | func lock (aX) = { | |
631 | 631 | let ee = dH(aH, aX) | |
632 | 632 | let ea = ee._1 | |
633 | 633 | let dO = ee._2 | |
634 | 634 | let ed = invoke(aw, "updateReferralActivity", [toString(aH.caller), dO], nil) | |
635 | 635 | if ((ed == ed)) | |
636 | 636 | then $Tuple2(ea, unit) | |
637 | 637 | else throw("Strict value is not equal to itself.") | |
638 | 638 | } | |
639 | 639 | ||
640 | 640 | ||
641 | 641 | ||
642 | 642 | @Callable(aH) | |
643 | 643 | func increaseLock (ef) = { | |
644 | 644 | let dI = av() | |
645 | 645 | let dJ = dI[ap] | |
646 | 646 | let ay = fromBase58String(dJ) | |
647 | 647 | let aA = parseIntValue(dI[ar]) | |
648 | 648 | let aB = parseIntValue(dI[as]) | |
649 | 649 | let dK = cA(aH, ay) | |
650 | 650 | let cL = toString(aH.caller) | |
651 | 651 | let dc = aS(cL) | |
652 | 652 | let dd = dc[aK] | |
653 | 653 | let eg = parseIntValue(dc[aL]) | |
654 | 654 | let bV = parseIntValue(dc[aM]) | |
655 | 655 | let eh = parseIntValue(dc[aN]) | |
656 | 656 | let ei = (bV + eh) | |
657 | 657 | let ej = max([(ei - height), 0]) | |
658 | 658 | let ek = (eg + dK) | |
659 | 659 | let el = (ej + ef) | |
660 | 660 | if ((0 > ef)) | |
661 | 661 | then throw("duration is less then zero") | |
662 | 662 | else if ((aA > el)) | |
663 | 663 | then throw(("lockDurationNew is less then minLockDuration=" + toString(aA))) | |
664 | 664 | else if ((el > aB)) | |
665 | 665 | then throw(("deltaDuration + existedLockDuration is greater then maxLockDuration=" + toString(aB))) | |
666 | 666 | else { | |
667 | 667 | let dN = fraction(el, c, aB) | |
668 | 668 | let dO = fraction(ek, dN, c) | |
669 | 669 | let ed = invoke(aw, "updateReferralActivity", [toString(aH.caller), dO], nil) | |
670 | 670 | if ((ed == ed)) | |
671 | 671 | then { | |
672 | 672 | let em = height | |
673 | 673 | let dP = q(invoke(aw, "calcGwxParamsREADONLY", [dO, em, el], nil)) | |
674 | 674 | let bW = t(dP[0]) | |
675 | 675 | let bX = t(dP[1]) | |
676 | 676 | let bm = toString(t(dP[2])) | |
677 | 677 | let dh = n(bC, ah()) | |
678 | 678 | let dQ = n(bC, aj()) | |
679 | 679 | let dj = n(bC, am()) | |
680 | 680 | let cq = if ((height > dj)) | |
681 | 681 | then dj | |
682 | 682 | else height | |
683 | 683 | let dk = max([(cq - dQ), 0]) | |
684 | 684 | let dm = bs(dd) | |
685 | 685 | let dn = k(this, dm) | |
686 | 686 | let do = (((dh * dk) * 2) / 3) | |
687 | 687 | let dp = (do - dn) | |
688 | 688 | if ((0 > dp)) | |
689 | 689 | then throw("wrong calculations") | |
690 | 690 | else { | |
691 | 691 | let ds = bv(dd) | |
692 | 692 | let dt = bw() | |
693 | 693 | let du = k(this, ds) | |
694 | 694 | let dv = k(this, dt) | |
695 | 695 | let en = cI(cL) | |
696 | 696 | let eo = (dO - en) | |
697 | 697 | if ((0 > eo)) | |
698 | 698 | then throw(("gwxDiff is less then 0: " + toString(eo))) | |
699 | 699 | else { | |
700 | 700 | let bP = bJ(false) | |
701 | 701 | let ep = bJ(true) | |
702 | 702 | let dy = bx(dd) | |
703 | 703 | let dz = k(this, dy) | |
704 | 704 | let dB = fraction(dp, en, ep) | |
705 | 705 | let eq = ((dO * el) / 2) | |
706 | 706 | let er = ((en * ej) / 2) | |
707 | 707 | let es = (eq - er) | |
708 | 708 | (((cs(cL, dd, ek, em, el, bW, bX, bm) ++ ca(dK, ef, 0, 0)) :+ bS("lock", cL, dK, bV, el, bW, bX, aH)) ++ [IntegerEntry(bz(), (bP + eo))]) | |
709 | 709 | } | |
710 | 710 | } | |
711 | 711 | } | |
712 | 712 | else throw("Strict value is not equal to itself.") | |
713 | 713 | } | |
714 | 714 | } | |
715 | 715 | ||
716 | 716 | ||
717 | 717 | ||
718 | 718 | @Callable(aH) | |
719 | 719 | func claimWxBoost (cK,cL) = if ((bD != aH.caller)) | |
720 | 720 | then throw("permissions denied") | |
721 | 721 | else { | |
722 | 722 | let et = cZ(cK, cL, false) | |
723 | 723 | let dE = et._1 | |
724 | 724 | let dF = et._2 | |
725 | 725 | let dG = et._3 | |
726 | 726 | $Tuple2(dF, [dE]) | |
727 | 727 | } | |
728 | 728 | ||
729 | 729 | ||
730 | 730 | ||
731 | 731 | @Callable(aH) | |
732 | 732 | func claimWxBoostREADONLY (cK,cL) = { | |
733 | 733 | let eu = cZ(cK, cL, true) | |
734 | 734 | let dE = eu._1 | |
735 | 735 | let dF = eu._2 | |
736 | 736 | let dG = eu._3 | |
737 | 737 | $Tuple2(nil, [dE, dG]) | |
738 | 738 | } | |
739 | 739 | ||
740 | 740 | ||
741 | 741 | ||
742 | 742 | @Callable(aH) | |
743 | 743 | func unlock (aR) = { | |
744 | 744 | let dc = aS(aR) | |
745 | 745 | let dd = dc[aK] | |
746 | 746 | let eg = parseIntValue(dc[aL]) | |
747 | 747 | let bV = parseIntValue(dc[aM]) | |
748 | 748 | let eh = parseIntValue(dc[aN]) | |
749 | 749 | let ei = (bV + eh) | |
750 | 750 | let dI = av() | |
751 | 751 | let ay = fromBase58String(dI[ap]) | |
752 | 752 | if ((ei >= height)) | |
753 | 753 | then throw((("wait " + toString(ei)) + " to unlock")) | |
754 | 754 | else if ((0 >= eg)) | |
755 | 755 | then throw("nothing to unlock") | |
756 | 756 | else { | |
757 | 757 | let bm = valueOrElse(getInteger(aw, an()), 0) | |
758 | 758 | (((cs(aR, dd, 0, bV, eh, 0, 0, toString(bm)) ++ ca(-(eg), 0, 0, -1)) :+ bS("unlock", aR, eg, bV, eh, 0, 0, aH)) :+ ScriptTransfer(addressFromStringValue(aR), eg, ay)) | |
759 | 759 | } | |
760 | 760 | } | |
761 | 761 | ||
762 | 762 | ||
763 | 763 | ||
764 | 764 | @Callable(aH) | |
765 | 765 | func gwxUserInfoREADONLY (aR) = { | |
766 | 766 | let bb = cI(aR) | |
767 | 767 | $Tuple2(nil, [bb]) | |
768 | 768 | } | |
769 | 769 | ||
770 | 770 | ||
771 | 771 | ||
772 | 772 | @Callable(aH) | |
773 | 773 | func getUserGwxAmountAtHeightREADONLY (aR,cE) = { | |
774 | 774 | let bb = cD(aR, cE) | |
775 | 775 | $Tuple2(nil, bb) | |
776 | 776 | } | |
777 | 777 | ||
778 | 778 | ||
779 | 779 | ||
780 | 780 | @Callable(aH) | |
781 | 781 | func getTotalCachedGwxREADONLY () = $Tuple2(nil, bJ(true)) | |
782 | 782 | ||
783 | 783 | ||
784 | 784 | ||
785 | 785 | @Callable(aH) | |
786 | 786 | func setManager (ev) = { | |
787 | 787 | let dW = aG(aH) | |
788 | 788 | if ((dW == dW)) | |
789 | 789 | then { | |
790 | 790 | let ew = fromBase58String(ev) | |
791 | 791 | if ((ew == ew)) | |
792 | 792 | then [StringEntry(ag(), ev)] | |
793 | 793 | else throw("Strict value is not equal to itself.") | |
794 | 794 | } | |
795 | 795 | else throw("Strict value is not equal to itself.") | |
796 | 796 | } | |
797 | 797 | ||
798 | 798 | ||
799 | 799 | ||
800 | 800 | @Callable(aH) | |
801 | 801 | func confirmManager () = { | |
802 | 802 | let ex = aF() | |
803 | 803 | let ey = if (isDefined(ex)) | |
804 | 804 | then true | |
805 | 805 | else throw("No pending manager") | |
806 | 806 | if ((ey == ey)) | |
807 | 807 | then { | |
808 | 808 | let ez = if ((aH.callerPublicKey == value(ex))) | |
809 | 809 | then true | |
810 | 810 | else throw("You are not pending manager") | |
811 | 811 | if ((ez == ez)) | |
812 | 812 | then [StringEntry(af(), toBase58String(value(ex))), DeleteEntry(ag())] | |
813 | 813 | else throw("Strict value is not equal to itself.") | |
814 | 814 | } | |
815 | 815 | else throw("Strict value is not equal to itself.") | |
816 | 816 | } | |
817 | 817 | ||
818 | 818 | ||
819 | 819 | @Verifier(eA) | |
820 | 820 | func eB () = { | |
821 | 821 | let eC = { | |
822 | 822 | let r = aD() | |
823 | 823 | if ($isInstanceOf(r, "ByteVector")) | |
824 | 824 | then { | |
825 | 825 | let aJ = r | |
826 | 826 | aJ | |
827 | 827 | } | |
828 | 828 | else if ($isInstanceOf(r, "Unit")) | |
829 | 829 | then eA.senderPublicKey | |
830 | 830 | else throw("Match error") | |
831 | 831 | } | |
832 | 832 | sigVerify(eA.bodyBytes, eA.proofs[0], eC) | |
833 | 833 | } | |
834 | 834 |
github/deemru/w8io/026f985 79.18 ms ◑