tx · BNVB57meXJfDs9b84EiZy38QtcwA985VTPvHrQYR916z 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz: -0.01000000 Waves 2021.12.02 10:24 [1816352] smart account 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz > SELF 0.00000000 Waves
{ "type": 13, "id": "BNVB57meXJfDs9b84EiZy38QtcwA985VTPvHrQYR916z", "fee": 1000000, "feeAssetId": null, "timestamp": 1638429879136, "version": 1, "sender": "3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz", "senderPublicKey": "D28XoueZWsMfm8Y5pa6C5ZFuYoWgre2Wm8tzJANJgMnq", "proofs": [ "5wHhDCXqfngpoqebfJesHB8utNDE8R5EBuXUjAhZgXobQgYeWhHy9gc4WSXGZsZ6ZT6AedmVBesxp76TFXjjW55i" ], "script": "base64:AAIFAAAAAAAAABoIAhIDCgEIEgASBAoCCAESAwoBCBIECgIICAAAAEYAAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QAAAAAAB1NDQUxFMTgAAAAAAAAAABIAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAANTRVACAAAAAl9fAAAAAA5QT09MV0VJR0hUTVVMVAUAAAAFTVVMVDgBAAAACWFzQW55TGlzdAAAAAEAAAADdmFsBAAAAAckbWF0Y2gwBQAAAAN2YWwDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACUxpc3RbQW55XQQAAAAKdmFsQW55THlzdAUAAAAHJG1hdGNoMAUAAAAKdmFsQW55THlzdAkAAAIAAAABAgAAABtmYWlsIHRvIGNhc3QgaW50byBMaXN0W0FueV0BAAAABWFzSW50AAAAAQAAAAN2YWwEAAAAByRtYXRjaDAFAAAAA3ZhbAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAZ2YWxJbnQFAAAAByRtYXRjaDAFAAAABnZhbEludAkAAAIAAAABAgAAABVmYWlsIHRvIGNhc3QgaW50by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RQYXJ0BQAAAA9ib29zdFJld2FyZFBhcnQJAAUUAAAAAgUAAAADbmlsCQAEuQAAAAIJAARMAAAAAgIAAAAOJXMlcyVkJWQlZCVkJXMJAARMAAAAAgUAAAAMbHBBc3NldElkU3RyCQAETAAAAAIFAAAADnVzZXJBZGRyZXNzU3RyCQAETAAAAAIJAAGkAAAAAQUAAAALdG90YWxSZXdhcmQJAARMAAAAAgkAAaQAAAABBQAAAA1jbGFpbWVkQnlVc2VyCQAETAAAAAIJAAGkAAAAAQUAAAANbWluUmV3YXJkUGFydAkABEwAAAACCQABpAAAAAEFAAAAD2Jvb3N0UmV3YXJkUGFydAkABEwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABWRlYnVnAgAAAAI6OgkAAaQAAAABBQAAAAx1c2VyV3hSZXdhcmQCAAAADjo6Qk9PU1RERUJVRzo6BQAAAApib29zdERlYnVnBQAAAANuaWwFAAAAA1NFUAAAAACiOiLG", "chainId": 84, "height": 1816352, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 85rBEYTPrXVcxTusPkbMoxgh5TkXzXXQNM5Rxhwt6ABE Next: 9wKCYTbP9qP7TAR2TCZeaNWC8MdUDFvaR899wW69SeuS Diff:
Old | New | Differences | |
---|---|---|---|
220 | 220 | ||
221 | 221 | let aM = W(X) | |
222 | 222 | ||
223 | - | func aN (aO,aP,aQ,aR | |
223 | + | func aN (aO,aP,aQ,aR) = if (if ((aP == 0)) | |
224 | 224 | then (aO > 0) | |
225 | 225 | else false) | |
226 | 226 | then 0 | |
229 | 229 | else if (if ((aP > 0)) | |
230 | 230 | then (aO > 0) | |
231 | 231 | else false) | |
232 | - | then | |
232 | + | then x(this, aR) | |
233 | 233 | else throw("calcWxPerLpIntegralUserLast: unexpected state") | |
234 | 234 | ||
235 | 235 | ||
236 | - | func aT (ah,ag,aU,aV) = { | |
237 | - | let aW = af(ag, ah) | |
238 | - | let aX = ai(ah) | |
239 | - | let aO = an(aW) | |
240 | - | let aY = an(aX) | |
241 | - | let aZ = getIntegerValue(aK, Q(aU)) | |
242 | - | let ba = x(aL, ac()) | |
243 | - | let bb = 1000 | |
244 | - | let bc = (x(aL, aa()) * bb) | |
245 | - | let bd = fraction(bc, aZ, (f * 3)) | |
246 | - | let be = "isMigrated_to_X3" | |
247 | - | let aS = if ((u(this, be) == 0)) | |
248 | - | then bb | |
249 | - | else 1 | |
250 | - | let bf = aw(ah) | |
251 | - | let bg = ax(ah) | |
252 | - | let bh = ay(ah, ag) | |
253 | - | let bi = az(ah, ag) | |
254 | - | let bj = aA(ah) | |
236 | + | func aS (ah,ag,aT,aU) = { | |
237 | + | let aV = af(ag, ah) | |
238 | + | let aW = ai(ah) | |
239 | + | let aO = an(aV) | |
240 | + | let aX = an(aW) | |
241 | + | let aY = getIntegerValue(aK, Q(aT)) | |
242 | + | let aZ = x(aL, ac()) | |
243 | + | let ba = 1000 | |
244 | + | let bb = (x(aL, aa()) * ba) | |
245 | + | let bc = fraction(bb, aY, (f * 3)) | |
246 | + | let bd = aw(ah) | |
247 | + | let be = ax(ah) | |
248 | + | let bf = ay(ah, ag) | |
249 | + | let bg = az(ah, ag) | |
250 | + | let bh = aA(ah) | |
255 | 251 | let aR = aC(ah, ag) | |
256 | - | let | |
257 | - | let | |
258 | - | let | |
259 | - | let aP = u(this, | |
260 | - | let | |
261 | - | let | |
262 | - | let | |
263 | - | then | |
264 | - | else fraction( | |
265 | - | let | |
266 | - | let aQ = ( | |
267 | - | let | |
268 | - | let | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | let | |
274 | - | $Tuple3( | |
252 | + | let bi = v(this, be, aZ) | |
253 | + | let bj = u(this, bd) | |
254 | + | let bk = u(this, bf) | |
255 | + | let aP = u(this, bg) | |
256 | + | let bl = u(this, bh) | |
257 | + | let bm = max([(height - bi), 0]) | |
258 | + | let bn = if ((bl != 0)) | |
259 | + | then bl | |
260 | + | else fraction(bc, b, aX) | |
261 | + | let bo = (aX + aU) | |
262 | + | let aQ = (bj + (bn * bm)) | |
263 | + | let bp = aN(aO, aP, aQ, aR) | |
264 | + | let bq = (bk + fraction((aQ - bp), aO, (b * ba))) | |
265 | + | let br = aQ | |
266 | + | let bs = (bc / bo) | |
267 | + | let bt = height | |
268 | + | let bu = height | |
269 | + | let bv = makeString([toString(bq), toString(aQ), toString(bp), toString(aO), toString(bm), toString(bn), toString(aX), toString(bc), toString(bb), toString(aY), toString(height)], "::") | |
270 | + | $Tuple3(bq, [IntegerEntry(bd, aQ), IntegerEntry(be, bt), IntegerEntry(bf, bq), IntegerEntry(bg, bu), IntegerEntry(bh, bs), IntegerEntry(aR, br)], bv) | |
275 | 271 | } | |
276 | 272 | ||
277 | 273 | ||
278 | - | @Callable( | |
279 | - | func constructor ( | |
274 | + | @Callable(bw) | |
275 | + | func constructor (bx) = if ((bw.caller != this)) | |
280 | 276 | then throw("not authorized") | |
281 | - | else [StringEntry(D(), | |
277 | + | else [StringEntry(D(), bx)] | |
282 | 278 | ||
283 | 279 | ||
284 | 280 | ||
285 | - | @Callable( | |
286 | - | func stake () = if ((size( | |
281 | + | @Callable(bw) | |
282 | + | func stake () = if ((size(bw.payments) != 1)) | |
287 | 283 | then throw("invalid payment - exact one payment must be attached") | |
288 | 284 | else { | |
289 | - | let | |
290 | - | let ap = value( | |
285 | + | let by = bw.payments[0] | |
286 | + | let ap = value(by.assetId) | |
291 | 287 | let ah = toBase58String(ap) | |
292 | - | let aH = | |
293 | - | let | |
294 | - | let | |
295 | - | let ag = if (( | |
296 | - | then toString( | |
297 | - | else | |
298 | - | let | |
299 | - | let | |
300 | - | let aO = an( | |
301 | - | let | |
302 | - | let | |
303 | - | let | |
304 | - | let | |
305 | - | let | |
306 | - | ([IntegerEntry( | |
288 | + | let aH = by.amount | |
289 | + | let aT = valueOrErrorMessage(getString(aK, M(ah)), ("unsupported lp asset " + ah)) | |
290 | + | let bz = toString(bw.caller) | |
291 | + | let ag = if ((bz == aT)) | |
292 | + | then toString(bw.originCaller) | |
293 | + | else bz | |
294 | + | let aV = af(ag, ah) | |
295 | + | let aW = ai(ah) | |
296 | + | let aO = an(aV) | |
297 | + | let aX = an(aW) | |
298 | + | let bA = aS(ah, ag, aT, aH) | |
299 | + | let bq = bA._1 | |
300 | + | let bB = bA._2 | |
301 | + | let bv = bA._3 | |
302 | + | ([IntegerEntry(aV, (aO + aH)), IntegerEntry(aW, (aX + aH)), aI("stake", ag, ah, aH, bw.transactionId)] ++ bB) | |
307 | 303 | } | |
308 | 304 | ||
309 | 305 | ||
310 | 306 | ||
311 | - | @Callable( | |
307 | + | @Callable(bw) | |
312 | 308 | func unstake (ah,aH) = { | |
313 | - | let ag = toString( | |
309 | + | let ag = toString(bw.caller) | |
314 | 310 | let ap = fromBase58String(ah) | |
315 | - | let | |
316 | - | let | |
317 | - | let | |
318 | - | let aO = an( | |
319 | - | let | |
320 | - | let | |
321 | - | let | |
322 | - | let | |
323 | - | let | |
311 | + | let aT = valueOrErrorMessage(getString(aK, M(ah)), ("unsupported lp asset " + ah)) | |
312 | + | let aV = af(ag, ah) | |
313 | + | let aW = ai(ah) | |
314 | + | let aO = an(aV) | |
315 | + | let aX = an(aW) | |
316 | + | let bC = aS(ah, ag, aT, -(aH)) | |
317 | + | let bq = bC._1 | |
318 | + | let bB = bC._2 | |
319 | + | let bv = bC._3 | |
324 | 320 | if ((aH > aO)) | |
325 | 321 | then throw("passed amount is less then available") | |
326 | - | else ([IntegerEntry( | |
322 | + | else ([IntegerEntry(aV, (aO - aH)), IntegerEntry(aW, (aX - aH)), ScriptTransfer(bw.caller, aH, ap), aI("unstake", ag, ah, aH, bw.transactionId)] ++ bB) | |
327 | 323 | } | |
328 | 324 | ||
329 | 325 | ||
330 | 326 | ||
331 | - | @Callable( | |
327 | + | @Callable(bw) | |
332 | 328 | func claimWx (ah) = { | |
333 | - | let ar = | |
334 | - | let ag = toString( | |
335 | - | let | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | let | |
341 | - | let | |
342 | - | let | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | if ((0 >= | |
329 | + | let ar = bw.caller | |
330 | + | let ag = toString(bw.caller) | |
331 | + | let aT = s(aK, P(ah)) | |
332 | + | let bD = aj(ah, ag) | |
333 | + | let bE = am(ah) | |
334 | + | let bF = ak(ah, ag) | |
335 | + | let bG = al(ah, ag) | |
336 | + | let bH = u(this, bD) | |
337 | + | let bI = u(this, bF) | |
338 | + | let bJ = u(this, bG) | |
339 | + | let bK = u(this, bE) | |
340 | + | let bL = aS(ah, ag, aT, 0) | |
341 | + | let bq = bL._1 | |
342 | + | let bB = bL._2 | |
343 | + | let bv = bL._3 | |
344 | + | let bM = (bq - bH) | |
345 | + | if ((0 >= bM)) | |
350 | 346 | then throw("nothing to claim") | |
351 | 347 | else { | |
352 | - | let | |
353 | - | let | |
354 | - | let | |
355 | - | let | |
356 | - | let | |
357 | - | let | |
358 | - | let | |
359 | - | if (( | |
360 | - | then [IntegerEntry( | |
348 | + | let bN = k(g(invoke(aM, "claimWxBoost", [ah, ag], nil))[0]) | |
349 | + | let aY = getIntegerValue(aK, Q(aT)) | |
350 | + | let bO = fraction(bN, aY, f) | |
351 | + | let bP = bM | |
352 | + | let bQ = min([(bP * 2), bO]) | |
353 | + | let bR = o(g(invoke(aL, "emit", [bP], nil))[0]) | |
354 | + | let bS = g(invoke(aL, "emit", [bQ], nil)) | |
355 | + | if ((bS == bS)) | |
356 | + | then [IntegerEntry(bD, (bH + bM)), IntegerEntry(bF, (bI + bP)), IntegerEntry(bG, (bJ + bQ)), IntegerEntry(bE, (bK + bM)), ScriptTransfer(ar, bP, bR), ScriptTransfer(ar, bQ, bR), aI("claim", ag, ah, bM, bw.transactionId)] | |
361 | 357 | else throw("Strict value is not equal to itself.") | |
362 | 358 | } | |
363 | 359 | } | |
364 | 360 | ||
365 | 361 | ||
366 | 362 | ||
367 | - | @Callable( | |
363 | + | @Callable(bw) | |
368 | 364 | func claimWxREADONLY (ah,ag) = { | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let aO = an( | |
373 | - | let | |
374 | - | let | |
375 | - | let | |
376 | - | let | |
377 | - | let | |
378 | - | let | |
379 | - | let | |
380 | - | let | |
365 | + | let aV = af(ag, ah) | |
366 | + | let aW = ai(ah) | |
367 | + | let bD = aj(ah, ag) | |
368 | + | let aO = an(aV) | |
369 | + | let aX = an(aW) | |
370 | + | let bH = u(this, bD) | |
371 | + | let aT = s(aK, P(ah)) | |
372 | + | let bT = b | |
373 | + | let aY = getIntegerValue(aK, Q(aT)) | |
374 | + | let bb = x(aL, aa()) | |
375 | + | let aZ = x(aL, ac()) | |
376 | + | let bU = if ((aZ > height)) | |
381 | 377 | then 0 | |
382 | - | else (height - | |
383 | - | let | |
384 | - | let | |
385 | - | let | |
386 | - | let | |
387 | - | let | |
388 | - | let | |
389 | - | let | |
390 | - | let | |
391 | - | let | |
392 | - | let | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
396 | - | let | |
397 | - | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", ah, ag, toString( | |
378 | + | else (height - aZ) | |
379 | + | let bV = fraction((bb * bU), aY, bT) | |
380 | + | let bW = fraction(bV, aO, aX) | |
381 | + | let bX = aS(ah, ag, aT, 0) | |
382 | + | let bq = bX._1 | |
383 | + | let bB = bX._2 | |
384 | + | let bv = bX._3 | |
385 | + | let bM = (bq - bH) | |
386 | + | let bY = g(invoke(aM, "claimWxBoostREADONLY", [ah, ag], nil)) | |
387 | + | let bN = k(bY[0]) | |
388 | + | let bZ = m(bY[1]) | |
389 | + | let bO = fraction(bN, aY, f) | |
390 | + | let bP = bM | |
391 | + | let bQ = min([(bP * 2), bO]) | |
392 | + | let ca = (bP + bQ) | |
393 | + | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", ah, ag, toString(ca), toString(bH), toString(bP), toString(bQ), ((((bv + "::") + toString(bW)) + "::BOOSTDEBUG::") + bZ)], e)) | |
398 | 394 | } | |
399 | 395 | ||
400 | 396 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 8 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 18 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = "__" | |
13 | 13 | ||
14 | 14 | let f = b | |
15 | 15 | ||
16 | 16 | func g (h) = { | |
17 | 17 | let i = h | |
18 | 18 | if ($isInstanceOf(i, "List[Any]")) | |
19 | 19 | then { | |
20 | 20 | let j = i | |
21 | 21 | j | |
22 | 22 | } | |
23 | 23 | else throw("fail to cast into List[Any]") | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func k (h) = { | |
28 | 28 | let i = h | |
29 | 29 | if ($isInstanceOf(i, "Int")) | |
30 | 30 | then { | |
31 | 31 | let l = i | |
32 | 32 | l | |
33 | 33 | } | |
34 | 34 | else throw("fail to cast into Int") | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func m (h) = { | |
39 | 39 | let i = h | |
40 | 40 | if ($isInstanceOf(i, "String")) | |
41 | 41 | then { | |
42 | 42 | let n = i | |
43 | 43 | n | |
44 | 44 | } | |
45 | 45 | else throw("fail to cast into Int") | |
46 | 46 | } | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func o (h) = { | |
50 | 50 | let i = h | |
51 | 51 | if ($isInstanceOf(i, "ByteVector")) | |
52 | 52 | then { | |
53 | 53 | let p = i | |
54 | 54 | p | |
55 | 55 | } | |
56 | 56 | else throw("fail to cast into Int") | |
57 | 57 | } | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func q (r) = valueOrErrorMessage(getString(r), (("mandatory this." + r) + " is not defined")) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func s (t,r) = valueOrErrorMessage(getString(t, r), (((("mandatory " + toString(t)) + ".") + r) + " is not defined")) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func u (t,r) = valueOrElse(getInteger(t, r), 0) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func v (t,r,w) = valueOrElse(getInteger(t, r), w) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func x (t,r) = valueOrErrorMessage(getInteger(t, r), (("mandatory this." + r) + " is not defined")) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func y (z,A) = fraction(toBigInt(z), d, toBigInt(A)) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func B (h,C) = toInt(fraction(h, toBigInt(C), d)) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func D () = "%s%s__config__factoryAddress" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | let E = 1 | |
85 | 85 | ||
86 | 86 | let F = 2 | |
87 | 87 | ||
88 | 88 | let G = 3 | |
89 | 89 | ||
90 | 90 | let H = 4 | |
91 | 91 | ||
92 | 92 | let I = 5 | |
93 | 93 | ||
94 | 94 | let J = 6 | |
95 | 95 | ||
96 | 96 | let K = 7 | |
97 | 97 | ||
98 | 98 | func L () = "%s__factoryConfig" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func M (N) = makeString(["%s%s%s", N, "mappings__lpAsset2PoolContract"], e) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func O () = "%s__lpTokensList" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func P (N) = makeString(["%s%s%s", N, "mappings__lpAsset2PoolContract"], e) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func Q (R) = makeString(["%s%s", "poolWeight", R], e) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func S () = addressFromStringValue(q(D())) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func T () = split(valueOrElse(getString(S(), O()), ""), e) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func U (V) = split(s(V, L()), e) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func W (X) = addressFromStringValue(X[F]) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func Y (X) = addressFromStringValue(X[I]) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func Z (X) = addressFromStringValue(X[E]) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func aa () = "%s%s__ratePerBlock__current" | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func ab () = "%s%s__ratePerBlockMax__current" | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func ac () = "%s%s__emission__startBlock" | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func ad () = "%s%s__emission__duration" | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func ae () = "%s%s__emission__endBlock" | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func af (ag,ah) = makeString(["%s%s%s__staked", ag, ah], e) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func ai (ah) = ("%s%s%s__staked__total__" + ah) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func aj (ah,ag) = makeString(["%s%s%s__claimed", ag, ah], e) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func ak (ah,ag) = makeString(["%s%s%s__claimedMinReward", ag, ah], e) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func al (ah,ag) = makeString(["%s%s%s__claimedBoostReward", ag, ah], e) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func am (ah) = makeString(["%s%s%s__claimed", "total", ah], e) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func an (r) = valueOrElse(getInteger(this, r), 0) | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func ao (ap) = makeString(["%s%s%s", ap, "total", "bal"], e) | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func aq (ap,ar) = makeString(["%s%s%s", ap, ar, "bal"], e) | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func as (ap) = makeString(["%s%s%s", ap, "total", "balINT"], e) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func at (ap,ar) = makeString(["%s%s%s", ap, ar, "balINT"], e) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func au (ap) = makeString(["%s%s%s", ap, "total", "lastUpd"], e) | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func av (ap,ar) = makeString(["%s%s%s", ap, ar, "lastUpd"], e) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func aw (ap) = makeString(["%s%s%s%s", ap, "common", "lpInt"], e) | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func ax (ap) = makeString(["%s%s%s%s", ap, "common", "lpIntH"], e) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func ay (ap,ar) = makeString(["%s%s%s%s", ap, ar, "lpInt"], e) | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func az (ap,ar) = makeString(["%s%s%s%s", ap, ar, "lpIntH"], e) | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | func aA (ap) = makeString(["%s", ap, "wxPerLp"], e) | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | func aB (ap) = makeString(["%s", ap, "wxPerLpX18"], e) | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | func aC (ap,ar) = makeString(["%s%s%s%s", ap, ar, "uIntL"], e) | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func aD (aE,ar,aF) = makeString(["%s%s%s%s__history", aE, ar, aF], e) | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func aG (ar,ap,aE,aH) = makeString(["%s%s%s%d%d%d", ar, ap, aE, toString(height), toString(lastBlock.timestamp), toString(aH)], e) | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | func aI (aE,ar,ap,aH,aJ) = StringEntry(aD(aE, ar, toBase58String(aJ)), aG(ar, ap, aE, aH)) | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | let aK = S() | |
216 | 216 | ||
217 | 217 | let X = U(aK) | |
218 | 218 | ||
219 | 219 | let aL = Y(X) | |
220 | 220 | ||
221 | 221 | let aM = W(X) | |
222 | 222 | ||
223 | - | func aN (aO,aP,aQ,aR | |
223 | + | func aN (aO,aP,aQ,aR) = if (if ((aP == 0)) | |
224 | 224 | then (aO > 0) | |
225 | 225 | else false) | |
226 | 226 | then 0 | |
227 | 227 | else if ((aO == 0)) | |
228 | 228 | then aQ | |
229 | 229 | else if (if ((aP > 0)) | |
230 | 230 | then (aO > 0) | |
231 | 231 | else false) | |
232 | - | then | |
232 | + | then x(this, aR) | |
233 | 233 | else throw("calcWxPerLpIntegralUserLast: unexpected state") | |
234 | 234 | ||
235 | 235 | ||
236 | - | func aT (ah,ag,aU,aV) = { | |
237 | - | let aW = af(ag, ah) | |
238 | - | let aX = ai(ah) | |
239 | - | let aO = an(aW) | |
240 | - | let aY = an(aX) | |
241 | - | let aZ = getIntegerValue(aK, Q(aU)) | |
242 | - | let ba = x(aL, ac()) | |
243 | - | let bb = 1000 | |
244 | - | let bc = (x(aL, aa()) * bb) | |
245 | - | let bd = fraction(bc, aZ, (f * 3)) | |
246 | - | let be = "isMigrated_to_X3" | |
247 | - | let aS = if ((u(this, be) == 0)) | |
248 | - | then bb | |
249 | - | else 1 | |
250 | - | let bf = aw(ah) | |
251 | - | let bg = ax(ah) | |
252 | - | let bh = ay(ah, ag) | |
253 | - | let bi = az(ah, ag) | |
254 | - | let bj = aA(ah) | |
236 | + | func aS (ah,ag,aT,aU) = { | |
237 | + | let aV = af(ag, ah) | |
238 | + | let aW = ai(ah) | |
239 | + | let aO = an(aV) | |
240 | + | let aX = an(aW) | |
241 | + | let aY = getIntegerValue(aK, Q(aT)) | |
242 | + | let aZ = x(aL, ac()) | |
243 | + | let ba = 1000 | |
244 | + | let bb = (x(aL, aa()) * ba) | |
245 | + | let bc = fraction(bb, aY, (f * 3)) | |
246 | + | let bd = aw(ah) | |
247 | + | let be = ax(ah) | |
248 | + | let bf = ay(ah, ag) | |
249 | + | let bg = az(ah, ag) | |
250 | + | let bh = aA(ah) | |
255 | 251 | let aR = aC(ah, ag) | |
256 | - | let | |
257 | - | let | |
258 | - | let | |
259 | - | let aP = u(this, | |
260 | - | let | |
261 | - | let | |
262 | - | let | |
263 | - | then | |
264 | - | else fraction( | |
265 | - | let | |
266 | - | let aQ = ( | |
267 | - | let | |
268 | - | let | |
269 | - | let | |
270 | - | let | |
271 | - | let | |
272 | - | let | |
273 | - | let | |
274 | - | $Tuple3( | |
252 | + | let bi = v(this, be, aZ) | |
253 | + | let bj = u(this, bd) | |
254 | + | let bk = u(this, bf) | |
255 | + | let aP = u(this, bg) | |
256 | + | let bl = u(this, bh) | |
257 | + | let bm = max([(height - bi), 0]) | |
258 | + | let bn = if ((bl != 0)) | |
259 | + | then bl | |
260 | + | else fraction(bc, b, aX) | |
261 | + | let bo = (aX + aU) | |
262 | + | let aQ = (bj + (bn * bm)) | |
263 | + | let bp = aN(aO, aP, aQ, aR) | |
264 | + | let bq = (bk + fraction((aQ - bp), aO, (b * ba))) | |
265 | + | let br = aQ | |
266 | + | let bs = (bc / bo) | |
267 | + | let bt = height | |
268 | + | let bu = height | |
269 | + | let bv = makeString([toString(bq), toString(aQ), toString(bp), toString(aO), toString(bm), toString(bn), toString(aX), toString(bc), toString(bb), toString(aY), toString(height)], "::") | |
270 | + | $Tuple3(bq, [IntegerEntry(bd, aQ), IntegerEntry(be, bt), IntegerEntry(bf, bq), IntegerEntry(bg, bu), IntegerEntry(bh, bs), IntegerEntry(aR, br)], bv) | |
275 | 271 | } | |
276 | 272 | ||
277 | 273 | ||
278 | - | @Callable( | |
279 | - | func constructor ( | |
274 | + | @Callable(bw) | |
275 | + | func constructor (bx) = if ((bw.caller != this)) | |
280 | 276 | then throw("not authorized") | |
281 | - | else [StringEntry(D(), | |
277 | + | else [StringEntry(D(), bx)] | |
282 | 278 | ||
283 | 279 | ||
284 | 280 | ||
285 | - | @Callable( | |
286 | - | func stake () = if ((size( | |
281 | + | @Callable(bw) | |
282 | + | func stake () = if ((size(bw.payments) != 1)) | |
287 | 283 | then throw("invalid payment - exact one payment must be attached") | |
288 | 284 | else { | |
289 | - | let | |
290 | - | let ap = value( | |
285 | + | let by = bw.payments[0] | |
286 | + | let ap = value(by.assetId) | |
291 | 287 | let ah = toBase58String(ap) | |
292 | - | let aH = | |
293 | - | let | |
294 | - | let | |
295 | - | let ag = if (( | |
296 | - | then toString( | |
297 | - | else | |
298 | - | let | |
299 | - | let | |
300 | - | let aO = an( | |
301 | - | let | |
302 | - | let | |
303 | - | let | |
304 | - | let | |
305 | - | let | |
306 | - | ([IntegerEntry( | |
288 | + | let aH = by.amount | |
289 | + | let aT = valueOrErrorMessage(getString(aK, M(ah)), ("unsupported lp asset " + ah)) | |
290 | + | let bz = toString(bw.caller) | |
291 | + | let ag = if ((bz == aT)) | |
292 | + | then toString(bw.originCaller) | |
293 | + | else bz | |
294 | + | let aV = af(ag, ah) | |
295 | + | let aW = ai(ah) | |
296 | + | let aO = an(aV) | |
297 | + | let aX = an(aW) | |
298 | + | let bA = aS(ah, ag, aT, aH) | |
299 | + | let bq = bA._1 | |
300 | + | let bB = bA._2 | |
301 | + | let bv = bA._3 | |
302 | + | ([IntegerEntry(aV, (aO + aH)), IntegerEntry(aW, (aX + aH)), aI("stake", ag, ah, aH, bw.transactionId)] ++ bB) | |
307 | 303 | } | |
308 | 304 | ||
309 | 305 | ||
310 | 306 | ||
311 | - | @Callable( | |
307 | + | @Callable(bw) | |
312 | 308 | func unstake (ah,aH) = { | |
313 | - | let ag = toString( | |
309 | + | let ag = toString(bw.caller) | |
314 | 310 | let ap = fromBase58String(ah) | |
315 | - | let | |
316 | - | let | |
317 | - | let | |
318 | - | let aO = an( | |
319 | - | let | |
320 | - | let | |
321 | - | let | |
322 | - | let | |
323 | - | let | |
311 | + | let aT = valueOrErrorMessage(getString(aK, M(ah)), ("unsupported lp asset " + ah)) | |
312 | + | let aV = af(ag, ah) | |
313 | + | let aW = ai(ah) | |
314 | + | let aO = an(aV) | |
315 | + | let aX = an(aW) | |
316 | + | let bC = aS(ah, ag, aT, -(aH)) | |
317 | + | let bq = bC._1 | |
318 | + | let bB = bC._2 | |
319 | + | let bv = bC._3 | |
324 | 320 | if ((aH > aO)) | |
325 | 321 | then throw("passed amount is less then available") | |
326 | - | else ([IntegerEntry( | |
322 | + | else ([IntegerEntry(aV, (aO - aH)), IntegerEntry(aW, (aX - aH)), ScriptTransfer(bw.caller, aH, ap), aI("unstake", ag, ah, aH, bw.transactionId)] ++ bB) | |
327 | 323 | } | |
328 | 324 | ||
329 | 325 | ||
330 | 326 | ||
331 | - | @Callable( | |
327 | + | @Callable(bw) | |
332 | 328 | func claimWx (ah) = { | |
333 | - | let ar = | |
334 | - | let ag = toString( | |
335 | - | let | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | let | |
341 | - | let | |
342 | - | let | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | if ((0 >= | |
329 | + | let ar = bw.caller | |
330 | + | let ag = toString(bw.caller) | |
331 | + | let aT = s(aK, P(ah)) | |
332 | + | let bD = aj(ah, ag) | |
333 | + | let bE = am(ah) | |
334 | + | let bF = ak(ah, ag) | |
335 | + | let bG = al(ah, ag) | |
336 | + | let bH = u(this, bD) | |
337 | + | let bI = u(this, bF) | |
338 | + | let bJ = u(this, bG) | |
339 | + | let bK = u(this, bE) | |
340 | + | let bL = aS(ah, ag, aT, 0) | |
341 | + | let bq = bL._1 | |
342 | + | let bB = bL._2 | |
343 | + | let bv = bL._3 | |
344 | + | let bM = (bq - bH) | |
345 | + | if ((0 >= bM)) | |
350 | 346 | then throw("nothing to claim") | |
351 | 347 | else { | |
352 | - | let | |
353 | - | let | |
354 | - | let | |
355 | - | let | |
356 | - | let | |
357 | - | let | |
358 | - | let | |
359 | - | if (( | |
360 | - | then [IntegerEntry( | |
348 | + | let bN = k(g(invoke(aM, "claimWxBoost", [ah, ag], nil))[0]) | |
349 | + | let aY = getIntegerValue(aK, Q(aT)) | |
350 | + | let bO = fraction(bN, aY, f) | |
351 | + | let bP = bM | |
352 | + | let bQ = min([(bP * 2), bO]) | |
353 | + | let bR = o(g(invoke(aL, "emit", [bP], nil))[0]) | |
354 | + | let bS = g(invoke(aL, "emit", [bQ], nil)) | |
355 | + | if ((bS == bS)) | |
356 | + | then [IntegerEntry(bD, (bH + bM)), IntegerEntry(bF, (bI + bP)), IntegerEntry(bG, (bJ + bQ)), IntegerEntry(bE, (bK + bM)), ScriptTransfer(ar, bP, bR), ScriptTransfer(ar, bQ, bR), aI("claim", ag, ah, bM, bw.transactionId)] | |
361 | 357 | else throw("Strict value is not equal to itself.") | |
362 | 358 | } | |
363 | 359 | } | |
364 | 360 | ||
365 | 361 | ||
366 | 362 | ||
367 | - | @Callable( | |
363 | + | @Callable(bw) | |
368 | 364 | func claimWxREADONLY (ah,ag) = { | |
369 | - | let | |
370 | - | let | |
371 | - | let | |
372 | - | let aO = an( | |
373 | - | let | |
374 | - | let | |
375 | - | let | |
376 | - | let | |
377 | - | let | |
378 | - | let | |
379 | - | let | |
380 | - | let | |
365 | + | let aV = af(ag, ah) | |
366 | + | let aW = ai(ah) | |
367 | + | let bD = aj(ah, ag) | |
368 | + | let aO = an(aV) | |
369 | + | let aX = an(aW) | |
370 | + | let bH = u(this, bD) | |
371 | + | let aT = s(aK, P(ah)) | |
372 | + | let bT = b | |
373 | + | let aY = getIntegerValue(aK, Q(aT)) | |
374 | + | let bb = x(aL, aa()) | |
375 | + | let aZ = x(aL, ac()) | |
376 | + | let bU = if ((aZ > height)) | |
381 | 377 | then 0 | |
382 | - | else (height - | |
383 | - | let | |
384 | - | let | |
385 | - | let | |
386 | - | let | |
387 | - | let | |
388 | - | let | |
389 | - | let | |
390 | - | let | |
391 | - | let | |
392 | - | let | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
396 | - | let | |
397 | - | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", ah, ag, toString( | |
378 | + | else (height - aZ) | |
379 | + | let bV = fraction((bb * bU), aY, bT) | |
380 | + | let bW = fraction(bV, aO, aX) | |
381 | + | let bX = aS(ah, ag, aT, 0) | |
382 | + | let bq = bX._1 | |
383 | + | let bB = bX._2 | |
384 | + | let bv = bX._3 | |
385 | + | let bM = (bq - bH) | |
386 | + | let bY = g(invoke(aM, "claimWxBoostREADONLY", [ah, ag], nil)) | |
387 | + | let bN = k(bY[0]) | |
388 | + | let bZ = m(bY[1]) | |
389 | + | let bO = fraction(bN, aY, f) | |
390 | + | let bP = bM | |
391 | + | let bQ = min([(bP * 2), bO]) | |
392 | + | let ca = (bP + bQ) | |
393 | + | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", ah, ag, toString(ca), toString(bH), toString(bP), toString(bQ), ((((bv + "::") + toString(bW)) + "::BOOSTDEBUG::") + bZ)], e)) | |
398 | 394 | } | |
399 | 395 | ||
400 | 396 |
github/deemru/w8io/169f3d6 123.94 ms ◑