tx · 9kSVPccAqNy6i9voTV2RoB6ELgB2DmFQWXPrxzTjnspa

3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy:  -0.02500000 Waves

2023.08.21 17:52 [2720518] smart account 3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy > SELF 0.00000000 Waves

{ "type": 13, "id": "9kSVPccAqNy6i9voTV2RoB6ELgB2DmFQWXPrxzTjnspa", "fee": 2500000, "feeAssetId": null, "timestamp": 1692629525387, "version": 2, "chainId": 84, "sender": "3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy", "senderPublicKey": "9W33iCCNfmFxUbiC6XZcH5x7f6xfwC7Jb3BoExT5q2PV", "proofs": [ "51ZkCKM3LWgSNYXcztQN3EA32j2fmcK7sasBLKNp2c1UiLxoXyy7iU2JZC5cxD7UuGKUdFdcRuEvYU1wYbtVE9dH" ], "script": "base64:BgLNLAgCEgUKAwEIAhIDCgEBEgQKAggIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgQKAggBEgMKAQgSABIAEgUKAwgIBBIDCgEIEgMKAQgSBAoCCAgSBAoCCAgiA1NFUCIGU0NBTEU4IgVNVUxUOCIOUE9PTFdFSUdIVE1VTFQiEGNvbnRyYWN0RmlsZW5hbWUiB1NDQUxFMTgiBk1VTFQxOCIITVVMVDE4QkkiB3dyYXBFcnIiA21zZyIIdGhyb3dFcnIiD2dldFN0cmluZ09yRmFpbCIHYWRkcmVzcyIDa2V5IgxnZXRJbnRPclplcm8iD2dldEludE9yRGVmYXVsdCIKZGVmYXVsdFZhbCIMZ2V0SW50T3JGYWlsIgNhYnMiA3ZhbCIOZW5zdXJlUG9zaXRpdmUiAXYiAW0iG2tleVJlZmVycmFsc0NvbnRyYWN0QWRkcmVzcyIecmVmZXJyYWxzQ29udHJhY3RBZGRyZXNzT3JGYWlsIhZrZXlSZWZlcnJhbFByb2dyYW1OYW1lIhpyZWZlcnJhbFByb2dyYW1OYW1lRGVmYXVsdCITcmVmZXJyYWxQ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XJWb3RlRmluYWxpemVkUkVBRE9OTFkCAmJDAmJLCQCUCgIFA25pbAkBAmNLAgUCYkMFAmJLAmFLASFnZXRVc2VyVm90ZVN0YWtlZEludGVncmFsUkVBRE9OTFkCAmJDAmJLCQCUCgIFA25pbAkBAmRmAgUCYkMFAmJLAQJlUAECZVEABAJlUgQCYUYJAQJhSAADCQABAgUCYUYCCkJ5dGVWZWN0b3IEAmFNBQJhRgUCYU0DCQABAgUCYUYCBFVuaXQIBQJlUA9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgkA9AMDCAUCZVAJYm9keUJ5dGVzCQCRAwIIBQJlUAZwcm9vZnMAAAUCZVKg8+6Q", "height": 2720518, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EhrxZMR8DBwz6KJvD8G2Mg9bT8i5LCAWaoKFRNxycYn3 Next: FSh4apSqk4CHYgJ6cjQxEpJdHyyNGeUDJDKd7Q8tkqro Diff:
OldNewDifferences
796796 let eJ = min([fraction((eu * aC), ej, aA), bd])
797797 let eK = u((bd - eJ), "gwxRemaining")
798798 let eL = bX(aU)
799- if ((0 >= er))
799+ if ((0 >= ew))
800800 then k("nothing to unlock")
801801 else {
802802 let ek = bW()
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = 8
77
88 let c = 100000000
99
1010 let d = c
1111
1212 let e = "boosting.ride"
1313
1414 let f = 18
1515
1616 let g = 1000000000000000000
1717
1818 let h = toBigInt(g)
1919
2020 func i (j) = makeString([e, ": ", j], "")
2121
2222
2323 func k (j) = throw(i(j))
2424
2525
2626 func l (m,n) = valueOrErrorMessage(getString(m, n), i((("mandatory this." + n) + " is not defined")))
2727
2828
2929 func o (m,n) = valueOrElse(getInteger(m, n), 0)
3030
3131
3232 func p (m,n,q) = valueOrElse(getInteger(m, n), q)
3333
3434
3535 func r (m,n) = valueOrErrorMessage(getInteger(m, n), i((("mandatory this." + n) + " is not defined")))
3636
3737
3838 func s (t) = if ((0 > t))
3939 then -(t)
4040 else t
4141
4242
4343 func u (v,w) = if ((v >= 0))
4444 then v
4545 else k((valueOrElse(w, "value") + " should be positive"))
4646
4747
4848 func x () = makeString(["%s%s", "config", "referralsContractAddress"], a)
4949
5050
5151 let y = addressFromStringValue(l(this, x()))
5252
5353 let z = makeString(["%s%s", "referral", "programName"], a)
5454
5555 let A = "wxlock"
5656
5757 let B = valueOrElse(getString(this, z), A)
5858
5959 func C () = "%s%s__config__factoryAddress"
6060
6161
6262 let D = 1
6363
6464 let E = 2
6565
6666 let F = 3
6767
6868 let G = 4
6969
7070 let H = 5
7171
7272 let I = 6
7373
7474 let J = 7
7575
7676 let K = 8
7777
7878 let L = 9
7979
8080 let M = 10
8181
8282 let N = 11
8383
8484 func O () = "%s__factoryConfig"
8585
8686
8787 func P (Q) = makeString(["%s%s%s", Q, "mappings__lpAsset2PoolContract"], a)
8888
8989
9090 func R (S) = makeString(["%s%s", "poolWeight", S], a)
9191
9292
9393 func T (U,V) = ((("%s%s__poolWeight__" + U) + "__") + toString(V))
9494
9595
9696 func W () = addressFromStringValue(l(this, C()))
9797
9898
9999 func X (Y) = split(l(Y, O()), a)
100100
101101
102102 func Z (aa) = addressFromStringValue(aa[E])
103103
104104
105105 func ab (aa) = addressFromStringValue(aa[H])
106106
107107
108108 func ac (aa) = addressFromStringValue(aa[D])
109109
110110
111111 func ad (aa) = addressFromStringValue(aa[M])
112112
113113
114114 func ae () = "%s__managerPublicKey"
115115
116116
117117 func af () = "%s__managerVaultAddress"
118118
119119
120120 func ag () = "%s%s__ratePerBlock__current"
121121
122122
123123 func ah () = "%s%s__ratePerBlockMax__current"
124124
125125
126126 func ai () = "%s%s__emission__startBlock"
127127
128128
129129 func aj () = "%s%s__boostingV2__startBlock"
130130
131131
132132 func ak () = "%s%s__boostingV2__integral"
133133
134134
135135 func al () = "%s%s__emission__duration"
136136
137137
138138 func am () = "%s%s__emission__endBlock"
139139
140140
141141 let an = 1
142142
143143 let ao = 2
144144
145145 let ap = 3
146146
147147 let aq = 4
148148
149149 let ar = 5
150150
151151 let as = 6
152152
153153 let at = 7
154154
155155 func au () = "%s__config"
156156
157157
158158 func av () = split(l(this, au()), a)
159159
160160
161161 let aw = av()
162162
163163 let ax = fromBase58String(aw[an])
164164
165165 let ay = valueOrErrorMessage(parseInt(aw[ao]), i("invalid min lock amount"))
166166
167167 let az = valueOrErrorMessage(parseInt(aw[ap]), i("invalid min lock duration"))
168168
169169 let aA = valueOrErrorMessage(parseInt(aw[aq]), i("invalid max lock duration"))
170170
171171 let aB = valueOrErrorMessage(addressFromString(aw[ar]), i("invalid math contract address"))
172172
173173 let aC = valueOrErrorMessage(parseInt(aw[as]), i("invalid blocks in period"))
174174
175175 let aD = valueOrErrorMessage(parseInt(aw[at]), i("invalid lock step blocks"))
176176
177177 func aE () = {
178178 let aF = getString(af())
179179 if ($isInstanceOf(aF, "String"))
180180 then {
181181 let aG = aF
182182 addressFromStringValue(aG)
183183 }
184184 else this
185185 }
186186
187187
188188 func aH () = {
189189 let aI = aE()
190190 let aF = getString(aI, ae())
191191 if ($isInstanceOf(aF, "String"))
192192 then {
193193 let aG = aF
194194 fromBase58String(aG)
195195 }
196196 else if ($isInstanceOf(aF, "Unit"))
197197 then unit
198198 else throw("Match error")
199199 }
200200
201201
202202 func aJ (aK) = {
203203 let aL = k("Permission denied")
204204 let aF = aH()
205205 if ($isInstanceOf(aF, "ByteVector"))
206206 then {
207207 let aM = aF
208208 if ((aK.callerPublicKey == aM))
209209 then true
210210 else aL
211211 }
212212 else if ($isInstanceOf(aF, "Unit"))
213213 then if ((aK.caller == this))
214214 then true
215215 else aL
216216 else throw("Match error")
217217 }
218218
219219
220220 let aN = 1
221221
222222 let aO = 2
223223
224224 let aP = 3
225225
226226 let aQ = 4
227227
228228 let aR = 5
229229
230230 let aS = 6
231231
232232 func aT (aU,aV) = makeString(["%s%s%s__lock", toString(aU), {
233233 let aF = aV
234234 if ($isInstanceOf(aF, "ByteVector"))
235235 then {
236236 let aW = aF
237237 toBase58String(aW)
238238 }
239239 else if ($isInstanceOf(aF, "Unit"))
240240 then "legacy"
241241 else throw("Match error")
242242 }], a)
243243
244244
245245 func aX (aU,aV) = split(l(this, aT(aU, aV)), a)
246246
247247
248248 func aY (aU) = makeString(["%s%s__gwxAmountTotal", toString(aU)], a)
249249
250250
251251 func aZ (ba,bb,bc,bd,be) = makeString(["%d%d%d%d%d%d", toString(ba), toString(bb), toString(bc), toString(lastBlock.timestamp), toString(bd), toString(be)], a)
252252
253253
254254 func bf () = "%s__nextUserNum"
255255
256256
257257 func bg (aU) = makeString(["%s%s%s__mapping__user2num", aU], a)
258258
259259
260260 func bh (V) = makeString(["%s%s%s__mapping__num2user", V], a)
261261
262262
263263 func bi () = "%s%s__stats__activeTotalLocked"
264264
265265
266266 func bj () = "%s%s__stats__locksDurationSumInBlocks"
267267
268268
269269 func bk () = "%s%s__stats__locksCount"
270270
271271
272272 func bl () = "%s%s__stats__activeUsersCount"
273273
274274
275275 func bm (bn) = makeString(["%s%d__userBoostEmissionLastIntV2", toString(bn)], a)
276276
277277
278278 func bo (bn,bp) = makeString(["%s%d__userBoostEmissionLastIntV2", toString(bn), bp], a)
279279
280280
281281 func bq (bn) = makeString(["%s%d__maxBoostInt", toString(bn)], a)
282282
283283
284284 func br () = "%s%s__maxBoostInt__total"
285285
286286
287287 func bs (bn) = makeString(["%s%d__userBoostAvaliableToClaimTotal", toString(bn)], a)
288288
289289
290290 func bt (bn) = makeString(["%s%d__userBoostClaimed", toString(bn)], a)
291291
292292
293293 func bu () = "%s%s__gwx__total"
294294
295295
296296 func bv (bw,bx,m,by) = makeString(["%s%s%s%s%d", "vote", bw, bx, toString(m), toString(by)], a)
297297
298298
299299 func bz (by) = makeString(["%s%d", "startHeight", toString(by)], a)
300300
301301
302302 func bA () = makeString(["%s", "currentEpochUi"], a)
303303
304304
305305 func bB (bC,by) = makeString(["%s%s%d", "votingResultStaked", bC, toString(by)], a)
306306
307307
308308 func bD (bC,by) = makeString(["%s%s%d", "votingResultStakedIntegral", bC, toString(by)], a)
309309
310310
311311 func bE (bC,by) = makeString(["%s%s%d", "votingResultStakedIntegralLastUpdateHeight", bC, toString(by)], a)
312312
313313
314314 func bF (bC,m,by) = makeString(["%s%s%s%d", "votingResultStakedIntegralLast", bC, toString(m), toString(by)], a)
315315
316316
317317 func bG (bC,m,by) = makeString(["%s%s%s%d", "voteStakedIntegral", bC, toString(m), toString(by)], a)
318318
319319
320320 func bH (bC,m,by) = makeString(["%s%s%s%d", "voteStakedIntegralLastUpdateHeight", bC, toString(m), toString(by)], a)
321321
322322
323323 func bI (bC,m,by) = makeString(["%s%s%s%d", "voteStakedIntegralLast", bC, toString(m), toString(by)], a)
324324
325325
326326 func bJ (bK,bC) = makeString(["%s%s%s", "staked", bK, bC], a)
327327
328328
329329 let bL = W()
330330
331331 let aa = X(bL)
332332
333333 let bM = ab(aa)
334334
335335 let bN = ac(aa)
336336
337337 let bO = ad(aa)
338338
339339 let bP = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(makeString(["%s", "lpStakingPoolsContract"], a)), i("lp_staking_pools contract address is undefined"))), i("invalid lp_staking_pools contract address"))
340340
341341 let bQ = makeString(["%s", "votingEmissionContract"], a)
342342
343343 let bR = addressFromStringValue(getStringValue(bL, bQ))
344344
345345 let bS = makeString(["%s", "votingEmissionRateContract"], a)
346346
347347 let bT = {
348348 let bU = invoke(bM, "getBoostCoeffREADONLY", nil, nil)
349349 if ($isInstanceOf(bU, "Int"))
350350 then bU
351351 else throw(($getType(bU) + " couldn't be cast to Int"))
352352 }
353353
354354 func bV (aU) = {
355355 let aF = getString(this, bg(toString(aU)))
356356 if ($isInstanceOf(aF, "String"))
357357 then {
358358 let aG = aF
359359 valueOrErrorMessage(parseInt(aG), i("invalid user number"))
360360 }
361361 else if ($isInstanceOf(aF, "Unit"))
362362 then k("invalid user")
363363 else throw("Match error")
364364 }
365365
366366
367367 func bW () = valueOrElse(getInteger(this, bu()), 0)
368368
369369
370370 func bX (aU) = {
371371 let bY = "getLockedGwxAmount"
372372 let bZ = valueOrErrorMessage({
373373 let aF = getString(bR, bS)
374374 if ($isInstanceOf(aF, "Unit"))
375375 then unit
376376 else if ($isInstanceOf(aF, "String"))
377377 then {
378378 let aG = aF
379379 addressFromString(aG)
380380 }
381381 else throw("Match error")
382382 }, i("invalid voting emission rate address"))
383383 let ca = {
384384 let bU = invoke(bR, bY, [toString(aU)], nil)
385385 if ($isInstanceOf(bU, "Int"))
386386 then bU
387387 else throw(($getType(bU) + " couldn't be cast to Int"))
388388 }
389389 let cb = {
390390 let bU = invoke(bZ, bY, [toString(aU)], nil)
391391 if ($isInstanceOf(bU, "Int"))
392392 then bU
393393 else throw(($getType(bU) + " couldn't be cast to Int"))
394394 }
395395 let cc = max([ca, cb])
396396 cc
397397 }
398398
399399
400400 func cd (ce,cf,ba,cg,bc,bd,aK) = {
401401 let ch = makeString(["%s%s%s%s__history", ce, cf, toBase58String(aK.transactionId)], a)
402402 let ci = makeString(["%d%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(ba), toString(cg), toString(bc), toString(bd)], a)
403403 StringEntry(ch, ci)
404404 }
405405
406406
407407 func cj (ck,cl,cm,cn) = {
408408 let co = bj()
409409 let cp = bk()
410410 let cq = bl()
411411 let cr = bi()
412412 let cs = o(this, co)
413413 let ct = o(this, cp)
414414 let cu = o(this, cq)
415415 let cv = o(this, cr)
416416 [IntegerEntry(co, (cs + cl)), IntegerEntry(cp, (ct + cm)), IntegerEntry(cq, (cu + cn)), IntegerEntry(cr, (cv + ck))]
417417 }
418418
419419
420420 func cw (aU,aV,ba,bb,bc,bd,be) = [StringEntry(aT(aU, aV), aZ(ba, bb, bc, bd, be))]
421421
422422
423423 func cx (aK,cy) = if ((size(aK.payments) > 1))
424424 then k("only one payment is allowed")
425425 else if ((size(aK.payments) == 0))
426426 then 0
427427 else {
428428 let cz = aK.payments[0]
429429 if ((value(cz.assetId) != cy))
430430 then k("invalid asset id in payment")
431431 else cz.amount
432432 }
433433
434434
435435 func cA (aU) = valueOrElse(getInteger(this, aY(aU)), 0)
436436
437437
438438 func cB () = {
439439 let cC = {
440440 let cD = value(getInteger(bR, bA()))
441441 let cE = (cD - 1)
442442 if ((0 > cE))
443443 then k("invalid epoch")
444444 else $Tuple2(cD, cE)
445445 }
446446 let cD = cC._1
447447 let cE = cC._2
448448 let cF = value(getInteger(bR, bz(cD)))
449449 $Tuple2(cE, cF)
450450 }
451451
452452
453453 func cG (bC) = {
454454 let cH = 4
455455 let cI = 5
456456 let cJ = {
457457 let bU = invoke(bL, "getPoolConfigByLpAssetIdREADONLY", [bC], nil)
458458 if ($isInstanceOf(bU, "List[Any]"))
459459 then bU
460460 else throw(($getType(bU) + " couldn't be cast to List[Any]"))
461461 }
462462 let bw = {
463463 let bU = cJ[cH]
464464 if ($isInstanceOf(bU, "String"))
465465 then bU
466466 else throw(($getType(bU) + " couldn't be cast to String"))
467467 }
468468 let bx = {
469469 let bU = cJ[cI]
470470 if ($isInstanceOf(bU, "String"))
471471 then bU
472472 else throw(($getType(bU) + " couldn't be cast to String"))
473473 }
474474 $Tuple2(bw, bx)
475475 }
476476
477477
478478 func cK (bC,bK) = {
479479 let aU = addressFromStringValue(bK)
480480 let cL = cB()
481481 let cE = cL._1
482482 let cF = cL._2
483483 let cM = cG(bC)
484484 let bw = cM._1
485485 let bx = cM._2
486486 let cN = bv(bw, bx, aU, cE)
487487 let cO = valueOrElse(getInteger(bR, cN), 0)
488488 cO
489489 }
490490
491491
492492 func cP (bC,bK) = {
493493 let cQ = valueOrElse(getInteger(bN, bJ(bK, bC)), 0)
494494 let cO = cK(bC, bK)
495495 if ((cQ == 0))
496496 then 0
497497 else cO
498498 }
499499
500500
501501 func cR (bC) = {
502502 let cS = cB()
503503 let cE = cS._1
504504 let cF = cS._2
505505 let cT = valueOrElse(getInteger(bR, bB(bC, cE)), 0)
506506 let cU = valueOrElse(getInteger(this, bB(bC, cE)), cT)
507507 cU
508508 }
509509
510510
511511 func cV (bC) = {
512512 let cW = cB()
513513 let cE = cW._1
514514 let cF = cW._2
515515 let cU = cR(bC)
516516 let cX = valueOrElse(getInteger(this, bD(bC, cE)), 0)
517517 let cY = valueOrElse(getInteger(this, bE(bC, cE)), cF)
518518 let cZ = (height - cY)
519519 let da = ((cZ * cU) + cX)
520520 da
521521 }
522522
523523
524524 func db (bC,dc) = {
525525 let dd = cB()
526526 let cE = dd._1
527527 let cF = dd._2
528528 let cU = cR(bC)
529529 let de = (cU + dc)
530530 let da = cV(bC)
531531 [IntegerEntry(bB(bC, cE), de), IntegerEntry(bE(bC, cE), height), IntegerEntry(bD(bC, cE), da)]
532532 }
533533
534534
535535 func df (bC,bK) = {
536536 let dg = cB()
537537 let cE = dg._1
538538 let cF = dg._2
539539 let aU = addressFromStringValue(bK)
540540 let dh = cP(bC, bK)
541541 let di = valueOrElse(getInteger(this, bG(bC, aU, cE)), 0)
542542 let dj = valueOrElse(getInteger(this, bH(bC, aU, cE)), cF)
543543 let dk = (height - dj)
544544 let dl = ((dk * dh) + di)
545545 dl
546546 }
547547
548548
549549 func dm (bC,bK,dn) = {
550550 let do = cB()
551551 let cE = do._1
552552 let cF = do._2
553553 let aU = addressFromStringValue(bK)
554554 let dp = cK(bC, bK)
555555 let dq = if ((dp == 0))
556556 then nil
557557 else {
558558 let dc = if (dn)
559559 then dp
560560 else -(dp)
561561 let dr = db(bC, dc)
562562 let dl = df(bC, bK)
563563 let ds = [IntegerEntry(bH(bC, aU, cE), height), IntegerEntry(bG(bC, aU, cE), dl)]
564564 (dr ++ ds)
565565 }
566566 dq
567567 }
568568
569569
570570 func dt (bC,bK) = {
571571 let du = cB()
572572 let cE = du._1
573573 let cF = du._2
574574 let aU = addressFromStringValue(bK)
575575 let dv = bI(bC, aU, cE)
576576 let dw = valueOrElse(getInteger(this, dv), 0)
577577 let dx = bF(bC, aU, cE)
578578 let dy = valueOrElse(getInteger(this, dx), 0)
579579 let dl = df(bC, bK)
580580 let da = cV(bC)
581581 let dz = (dl - dw)
582582 let dA = (da - dy)
583583 $Tuple3([IntegerEntry(dv, dl), IntegerEntry(dx, da)], dz, dA)
584584 }
585585
586586
587587 func dB () = {
588588 let dC = r(bM, ag())
589589 let dD = getInteger(this, aj())
590590 let dE = getInteger(this, ak())
591591 let dF = r(bM, am())
592592 let dG = if ((height > dF))
593593 then dF
594594 else height
595595 let dH = {
596596 let aF = dD
597597 if ($isInstanceOf(aF, "Int"))
598598 then {
599599 let dI = aF
600600 max([(dG - dI), 0])
601601 }
602602 else if ($isInstanceOf(aF, "Unit"))
603603 then 0
604604 else throw("Match error")
605605 }
606606 let dJ = ((dC * (bT - 1)) / bT)
607607 let dK = valueOrElse(dE, 0)
608608 let dL = ((dJ * dH) + dK)
609609 $Tuple2([IntegerEntry(ak(), dL), IntegerEntry(aj(), height)], dL)
610610 }
611611
612612
613613 func dM (bC,bK,dN) = {
614614 let aU = valueOrErrorMessage(addressFromString(bK), i("invalid user address"))
615615 let bn = bV(aU)
616616 if ((bn == bn))
617617 then {
618618 let dO = "empty"
619619 let dP = if ((bC != dO))
620620 then {
621621 let dQ = valueOrErrorMessage(getString(bL, P(bC)), i(("unsupported lp asset " + bC)))
622622 getIntegerValue(bL, R(dQ))
623623 }
624624 else if (dN)
625625 then 0
626626 else k(("not readonly mode: unsupported lp asset " + bC))
627627 let dR = bo(bn, bC)
628628 let dS = bm(bn)
629629 let dT = valueOrElse(getInteger(this, dR), o(this, dS))
630630 let dL = dB()._2
631631 let dU = (dL - dT)
632632 if ((0 > dU))
633633 then k("wrong calculations")
634634 else {
635635 let dV = dt(bC, bK)
636636 let dW = dV._1
637637 let dX = dV._2
638638 let dY = dV._3
639639 let dZ = fraction(dU, dP, d)
640640 let ea = if ((dY == 0))
641641 then 0
642642 else fraction(dZ, dX, dY)
643643 let eb = ([IntegerEntry(dR, dL)] ++ dW)
644644 let ec = makeString([toString(dT), toString(dU), toString(dP), toString(dX), toString(dY)], ":")
645645 $Tuple3(ea, eb, ec)
646646 }
647647 }
648648 else throw("Strict value is not equal to itself.")
649649 }
650650
651651
652652 func ed (aK,bc) = {
653653 let ee = toBase58String(ax)
654654 if ((size(aK.payments) != 1))
655655 then k("invalid payment - exact one payment must be attached")
656656 else {
657657 let cz = aK.payments[0]
658658 let ef = cz.amount
659659 if ((ax != value(cz.assetId)))
660660 then k((("invalid asset is in payment - " + ee) + " is expected"))
661661 else {
662662 let eg = bf()
663663 let aU = aK.caller
664664 let bK = toString(aU)
665665 let eh = isDefined(getString(bg(bK)))
666666 let ei = if (eh)
667667 then value(getString(bg(bK)))
668668 else toString(r(this, eg))
669669 let bn = parseIntValue(ei)
670670 let cg = height
671671 if (if ((ay > ef))
672672 then (aU != bP)
673673 else false)
674674 then k(("amount is less then minLockAmount=" + toString(ay)))
675675 else if ((az > bc))
676676 then k(("passed duration is less then minLockDuration=" + toString(az)))
677677 else if ((bc > aA))
678678 then k(("passed duration is greater then maxLockDuration=" + toString(aA)))
679679 else if (((bc % aD) != 0))
680680 then k(("duration must be multiple of lockStepBlocks=" + toString(aD)))
681681 else {
682682 let ej = fraction(ef, bc, aA)
683683 let ek = bW()
684684 let dS = bm(bn)
685685 let dL = dB()._2
686686 let el = cA(aU)
687687 let em = invoke(bO, "refreshUserReward", [aU.bytes, bn], nil)
688688 if ((em == em))
689689 then {
690690 let en = if (eh)
691691 then nil
692692 else [IntegerEntry(eg, (bn + 1)), StringEntry(bg(bK), ei), StringEntry(bh(ei), bK)]
693693 $Tuple2(((((en ++ cw(aU, aK.transactionId, ef, cg, bc, ej, 0)) ++ cj(ef, bc, 1, if (eh)
694694 then 0
695695 else 1)) :+ cd("lock", bK, ef, cg, bc, ej, aK)) ++ [IntegerEntry(dS, dL), IntegerEntry(bu(), (ek + ej)), IntegerEntry(aY(aU), (el + ej))]), ej)
696696 }
697697 else throw("Strict value is not equal to itself.")
698698 }
699699 }
700700 }
701701 }
702702
703703
704704 func eo (aU,ep) = {
705705 let eq = aX(aU, ep)
706706 let er = parseIntValue(eq[aN])
707707 let cg = parseIntValue(eq[aO])
708708 let es = parseIntValue(eq[aP])
709709 let et = (cg + es)
710710 let be = parseIntValue(eq[aS])
711711 let eu = ((height - cg) / aC)
712712 let ev = fraction(toBigInt(eu), (toBigInt((8 * aC)) * h), toBigInt(es))
713713 let ew = if ((height > et))
714714 then er
715715 else (toInt(fraction(toBigInt(er), (h - pow(toBigInt(5), 1, ev, f, f, DOWN)), h)) - be)
716716 ew
717717 }
718718
719719
720720 @Callable(aK)
721721 func lockRef (bc,ex,ey) = {
722722 let ez = ed(aK, bc)
723723 let eA = ez._1
724724 let ej = ez._2
725725 let eB = toString(aK.caller)
726726 let eC = if (if ((ex == ""))
727727 then true
728728 else (ey == base58''))
729729 then unit
730730 else invoke(y, "createPair", [B, ex, eB, ey], nil)
731731 if ((eC == eC))
732732 then {
733733 let eD = invoke(aB, "updateReferralActivity", [toString(aK.caller), ej], nil)
734734 if ((eD == eD))
735735 then $Tuple2(eA, unit)
736736 else throw("Strict value is not equal to itself.")
737737 }
738738 else throw("Strict value is not equal to itself.")
739739 }
740740
741741
742742
743743 @Callable(aK)
744744 func lock (bc) = {
745745 let eE = ed(aK, bc)
746746 let eA = eE._1
747747 let ej = eE._2
748748 let eD = invoke(aB, "updateReferralActivity", [toString(aK.caller), ej], nil)
749749 if ((eD == eD))
750750 then $Tuple2(eA, unit)
751751 else throw("Strict value is not equal to itself.")
752752 }
753753
754754
755755
756756 @Callable(aK)
757757 func claimWxBoost (bC,bK) = if ((bN != aK.caller))
758758 then k("permissions denied")
759759 else {
760760 let eF = dM(bC, bK, false)
761761 let eG = eF._1
762762 let eb = eF._2
763763 let ec = eF._3
764764 $Tuple2(eb, [eG])
765765 }
766766
767767
768768
769769 @Callable(aK)
770770 func claimWxBoostREADONLY (bC,bK) = {
771771 let eH = dM(bC, bK, true)
772772 let eG = eH._1
773773 let eb = eH._2
774774 let ec = eH._3
775775 $Tuple2(nil, [eG, ec])
776776 }
777777
778778
779779
780780 @Callable(aK)
781781 func unlock (eI) = {
782782 let aU = aK.caller
783783 let bK = toString(aU)
784784 let ep = if ((eI == ""))
785785 then unit
786786 else fromBase58String(eI)
787787 let eq = aX(aU, ep)
788788 let er = parseIntValue(eq[aN])
789789 let cg = parseIntValue(eq[aO])
790790 let es = parseIntValue(eq[aP])
791791 let be = parseIntValue(eq[aS])
792792 let bd = parseIntValue(eq[aR])
793793 let eu = ((height - cg) / aC)
794794 let ew = eo(aU, ep)
795795 let ej = fraction(er, es, aA)
796796 let eJ = min([fraction((eu * aC), ej, aA), bd])
797797 let eK = u((bd - eJ), "gwxRemaining")
798798 let eL = bX(aU)
799- if ((0 >= er))
799+ if ((0 >= ew))
800800 then k("nothing to unlock")
801801 else {
802802 let ek = bW()
803803 let el = cA(aU)
804804 let eM = u((el - eJ), "userGwxAmountTotalNew")
805805 if ((eL > eM))
806806 then k(("locked gwx amount: " + toString(eL)))
807807 else {
808808 let bn = parseIntValue(valueOrErrorMessage(getString(bg(bK)), i("invalid user number")))
809809 let em = invoke(bO, "refreshUserReward", [aU.bytes, bn], nil)
810810 if ((em == em))
811811 then ((((cw(aU, ep, er, cg, es, eK, (be + ew)) ++ cj(-(ew), 0, 0, 0)) :+ cd("unlock", bK, ew, cg, es, eJ, aK)) :+ ScriptTransfer(aU, ew, ax)) ++ [IntegerEntry(bu(), u((ek - eJ), "gwxTotal")), IntegerEntry(aY(aU), eM)])
812812 else throw("Strict value is not equal to itself.")
813813 }
814814 }
815815 }
816816
817817
818818
819819 @Callable(aK)
820820 func gwxUserInfoREADONLY (bK) = {
821821 let aU = valueOrErrorMessage(addressFromString(bK), i("invalid user address"))
822822 let bd = cA(aU)
823823 $Tuple2(nil, [bd])
824824 }
825825
826826
827827
828828 @Callable(aK)
829829 func userMaxDurationREADONLY (bK) = $Tuple2(nil, $Tuple2("lock", aA))
830830
831831
832832
833833 @Callable(aK)
834834 func getUserGwxAmountAtHeightREADONLY (bK,eN) = {
835835 let aU = valueOrErrorMessage(addressFromString(bK), i("invalid user address"))
836836 let bd = cA(aU)
837837 $Tuple2(nil, bd)
838838 }
839839
840840
841841
842842 @Callable(aK)
843843 func getUserGwxAmount (bK) = {
844844 let aU = valueOrErrorMessage(addressFromString(bK), i("invalid user address"))
845845 let bd = cA(aU)
846846 $Tuple2(nil, bd)
847847 }
848848
849849
850850
851851 @Callable(aK)
852852 func getGwxTotalREADONLY () = $Tuple2(nil, bW())
853853
854854
855855
856856 @Callable(aK)
857857 func onBoostEmissionUpdate () = {
858858 let eO = if ((aK.caller == bM))
859859 then true
860860 else aJ(aK)
861861 if ((eO == eO))
862862 then dB()
863863 else throw("Strict value is not equal to itself.")
864864 }
865865
866866
867867
868868 @Callable(aK)
869869 func onStakedVoteUpdate (bC,bK,dn) = {
870870 let eO = if ((aK.caller == bN))
871871 then true
872872 else aJ(aK)
873873 if ((eO == eO))
874874 then {
875875 let dq = dm(bC, bK, dn)
876876 $Tuple2(dq, unit)
877877 }
878878 else throw("Strict value is not equal to itself.")
879879 }
880880
881881
882882
883883 @Callable(aK)
884884 func getVotingResultStakedREADONLY (bC) = $Tuple2(nil, cR(bC))
885885
886886
887887
888888 @Callable(aK)
889889 func getVotingResultStakedIntegralREADONLY (bC) = $Tuple2(nil, cV(bC))
890890
891891
892892
893893 @Callable(aK)
894894 func getUserVoteFinalizedREADONLY (bC,bK) = $Tuple2(nil, cK(bC, bK))
895895
896896
897897
898898 @Callable(aK)
899899 func getUserVoteStakedIntegralREADONLY (bC,bK) = $Tuple2(nil, df(bC, bK))
900900
901901
902902 @Verifier(eP)
903903 func eQ () = {
904904 let eR = {
905905 let aF = aH()
906906 if ($isInstanceOf(aF, "ByteVector"))
907907 then {
908908 let aM = aF
909909 aM
910910 }
911911 else if ($isInstanceOf(aF, "Unit"))
912912 then eP.senderPublicKey
913913 else throw("Match error")
914914 }
915915 sigVerify(eP.bodyBytes, eP.proofs[0], eR)
916916 }
917917

github/deemru/w8io/026f985 
116.39 ms