tx · 9qUJaoWgwnqcJp1GHWhNckqxGHLkTvEWejJPTpsYF6n1 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp: -0.02900000 Waves 2022.09.21 16:55 [2238986] smart account 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp > SELF 0.00000000 Waves
{ "type": 13, "id": "9qUJaoWgwnqcJp1GHWhNckqxGHLkTvEWejJPTpsYF6n1", "fee": 2900000, "feeAssetId": null, "timestamp": 1663768553644, "version": 1, "sender": "3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp", "senderPublicKey": "86RHVxKovtU7yKnepY8wKsd8niDxGAsiwuA1XA1DNqrS", "proofs": [ "tZngfqqHgcsiJAgPBu2fLdMTQ1Y9Xe1hxFgqSE2TosJCEjoRFLkCJVoomsJUV3Vn4vVpYSUpVHCHYrWp2pzfWUy" ], "script": "base64:BgJfCAISAwoBCBIDCgEIEgQKAggIEgkKBwEREREYCBgSBwoFERERGAgSBwoFAQEBCAgSABIDCgEIEgQKAggBEgQKAggBEgQKAggBEgMKAQgSCQoHCAEBAQEIARIDCgEIEgBbAAZTQ0FMRTgACAAFTVVMVDgAgMLXLwAHU0NBTEUxOAASAAZNVUxUMTgJALYCAQCAgJC7utat8A0AA1NFUAICX18ADlBPT0xXRUlHSFRNVUxUBQVNVUxUOAAKemVyb0JpZ0ludAkAtgIBAAAADmlkeFBvb2xBZGRyZXNzAAEADWlkeFBvb2xTdGF0dXMAAgAQaWR4UG9vbExQQXNzZXRJZAADAA1pZHhBbXRBc3NldElkAAQAD2lkeFByaWNlQXNzZXRJZAAFAA5pZHhBbXRBc3NldERjbQAGABBpZHhQcmljZUFzc2V0RGNtAAcADmlkeElBbXRBc3NldElkAAgAEGlkeElQcmljZUFzc2V0SWQACQANaWR4TFBBc3NldERjbQAKAQ9nZXRTdHJpbmdPckZhaWwBA2tleQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCiCAEFA2tleQkArAICCQCsAgICD21hbmRhdG9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0JAMwIAgkBC0RlbGV0ZUVudHJ5AQkBGmtleVBlbmRpbmdNYW5hZ2VyUHVibGljS2V5AAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQPdGFyZ2V0UHVibGljS2V5BAckbWF0Y2gwCQEWbWFuYWdlclB1YmxpY0tleU9yVW5pdAADCQABAgUHJG1hdGNoMAIKQnl0ZVZlY3RvcgQCcGsFByRtYXRjaDAFAnBrAwkAAQIFByRtYXRjaDACBFVuaXQIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUPdGFyZ2V0UHVibGljS2V5LmneQQ==", "chainId": 84, "height": 2238986, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GAz5qJeexwtxMn3XVi1oWXmh7oEPwHwR4db9rnxCt9Kg Next: Es8ETfAtXaxVP2jM559cb6rZ3EBC4vueqrGDYktHDLfU Diff:
Old | New | Differences | |
---|---|---|---|
237 | 237 | func aS () = "%s__addonAddr" | |
238 | 238 | ||
239 | 239 | ||
240 | - | let aT = X() | |
241 | - | ||
242 | - | let aU = Z(aT) | |
243 | - | ||
244 | - | let aV = ad(aU) | |
245 | - | ||
246 | - | let aM = ae(aU) | |
247 | - | ||
248 | - | let aW = af(aU) | |
249 | - | ||
250 | - | let aX = ab(aU) | |
251 | - | ||
252 | - | func aY (aZ) = { | |
253 | - | let ba = t(aT, U(aZ)) | |
254 | - | let bb = b | |
255 | - | let bc = getIntegerValue(aT, V(ba)) | |
256 | - | let bd = w(aV, aN()) | |
257 | - | let be = w(aV, aO()) | |
258 | - | let bf = 3 | |
259 | - | let bg = (fraction(bd, bc, bb) / bf) | |
260 | - | let bh = fraction(be, bc, bb) | |
261 | - | let bi = (bf * b) | |
262 | - | let bj = v(aM, aH(aZ)) | |
263 | - | [bg, bi, bj] | |
240 | + | func aT (aU) = { | |
241 | + | let aV = fraction(5, a, 10000) | |
242 | + | let aW = "%s__fee" | |
243 | + | valueOrElse(getInteger(aU, aW), aV) | |
264 | 244 | } | |
265 | 245 | ||
266 | 246 | ||
267 | - | func bk (bl,bm,bn) = { | |
268 | - | let bo = fraction(bm, b, bn) | |
269 | - | let bp = fraction(bl, bo, b) | |
270 | - | [bp] | |
247 | + | let aX = X() | |
248 | + | ||
249 | + | let aY = Z(aX) | |
250 | + | ||
251 | + | let aZ = ad(aY) | |
252 | + | ||
253 | + | let aM = ae(aY) | |
254 | + | ||
255 | + | let ba = af(aY) | |
256 | + | ||
257 | + | let bb = ab(aY) | |
258 | + | ||
259 | + | func bc (bd) = { | |
260 | + | let be = t(aX, U(bd)) | |
261 | + | let bf = b | |
262 | + | let bg = getIntegerValue(aX, V(be)) | |
263 | + | let bh = w(aZ, aN()) | |
264 | + | let bi = w(aZ, aO()) | |
265 | + | let bj = 3 | |
266 | + | let bk = (fraction(bh, bg, bf) / bj) | |
267 | + | let bl = fraction(bi, bg, bf) | |
268 | + | let bm = (bj * b) | |
269 | + | let bn = v(aM, aH(bd)) | |
270 | + | [bk, bm, bn] | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | - | func bq () = { | |
274 | + | func bo (bp,bq,br) = { | |
275 | + | let bs = fraction(bq, b, br) | |
276 | + | let bt = fraction(bp, bs, b) | |
277 | + | [bt] | |
278 | + | } | |
279 | + | ||
280 | + | ||
281 | + | func bu () = { | |
275 | 282 | let z = getString(G()) | |
276 | 283 | if ($isInstanceOf(z, "String")) | |
277 | 284 | then { | |
278 | - | let | |
279 | - | fromBase58String( | |
285 | + | let bv = z | |
286 | + | fromBase58String(bv) | |
280 | 287 | } | |
281 | 288 | else if ($isInstanceOf(z, "Unit")) | |
282 | 289 | then unit | |
284 | 291 | } | |
285 | 292 | ||
286 | 293 | ||
287 | - | func | |
294 | + | func bw () = { | |
288 | 295 | let z = getString(H()) | |
289 | 296 | if ($isInstanceOf(z, "String")) | |
290 | 297 | then { | |
291 | - | let | |
292 | - | fromBase58String( | |
298 | + | let bv = z | |
299 | + | fromBase58String(bv) | |
293 | 300 | } | |
294 | 301 | else if ($isInstanceOf(z, "Unit")) | |
295 | 302 | then unit | |
297 | 304 | } | |
298 | 305 | ||
299 | 306 | ||
300 | - | func | |
301 | - | let | |
302 | - | let z = | |
307 | + | func bx (by) = { | |
308 | + | let bz = throw("Permission denied") | |
309 | + | let z = bu() | |
303 | 310 | if ($isInstanceOf(z, "ByteVector")) | |
304 | 311 | then { | |
305 | - | let | |
306 | - | if (( | |
312 | + | let bA = z | |
313 | + | if ((by.callerPublicKey == bA)) | |
307 | 314 | then true | |
308 | - | else | |
315 | + | else bz | |
309 | 316 | } | |
310 | 317 | else if ($isInstanceOf(z, "Unit")) | |
311 | - | then if (( | |
318 | + | then if ((by.caller == this)) | |
312 | 319 | then true | |
313 | - | else | |
320 | + | else bz | |
314 | 321 | else throw("Match error") | |
315 | 322 | } | |
316 | 323 | ||
317 | 324 | ||
318 | - | @Callable( | |
319 | - | func constructor ( | |
320 | - | let | |
321 | - | if (( | |
322 | - | then [StringEntry(F(), | |
325 | + | @Callable(by) | |
326 | + | func constructor (bB) = { | |
327 | + | let bC = bx(by) | |
328 | + | if ((bC == bC)) | |
329 | + | then [StringEntry(F(), bB)] | |
323 | 330 | else throw("Strict value is not equal to itself.") | |
324 | 331 | } | |
325 | 332 | ||
326 | 333 | ||
327 | 334 | ||
328 | - | @Callable( | |
329 | - | func currentRewardRateREADONLY ( | |
330 | - | let | |
331 | - | let | |
332 | - | let | |
333 | - | let | |
334 | - | $Tuple2(nil, makeString(["%d%d%d", toString( | |
335 | + | @Callable(by) | |
336 | + | func currentRewardRateREADONLY (bd) = { | |
337 | + | let bD = bc(bd) | |
338 | + | let bh = bD[0] | |
339 | + | let bm = bD[1] | |
340 | + | let bn = bD[2] | |
341 | + | $Tuple2(nil, makeString(["%d%d%d", toString(bh), toString(bm), toString(bn)], e)) | |
335 | 342 | } | |
336 | 343 | ||
337 | 344 | ||
338 | 345 | ||
339 | - | @Callable( | |
340 | - | func currentUserRewardRateREADONLY ( | |
341 | - | let | |
342 | - | let | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | let | |
350 | - | let | |
346 | + | @Callable(by) | |
347 | + | func currentUserRewardRateREADONLY (bd,am) = { | |
348 | + | let bD = bc(bd) | |
349 | + | let bh = bD[0] | |
350 | + | let bm = bD[1] | |
351 | + | let bn = bD[2] | |
352 | + | let bE = v(aM, aE(am, bd)) | |
353 | + | let bF = split(D(invoke(aM, "claimWxREADONLY", [bd, am], nil)), e) | |
354 | + | let bG = valueOrErrorMessage(parseInt(bF[5]), "couldn't parse minRewardPart") | |
355 | + | let bH = valueOrErrorMessage(parseInt(bF[6]), "couldn't parse boostRewardPart") | |
356 | + | let bI = bF[7] | |
357 | + | let bJ = if ((bH == 0)) | |
351 | 358 | then (1 * b) | |
352 | - | else fraction(( | |
353 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString( | |
359 | + | else fraction((bG + bH), b, bG) | |
360 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(bh), toString(bm), toString(bn), toString(bE), toString(bJ), bI], e)) | |
354 | 361 | } | |
355 | 362 | ||
356 | 363 | ||
357 | 364 | ||
358 | - | @Callable( | |
359 | - | func calcBoostBulkInternalREADONLY ( | |
360 | - | then $Tuple2(nil, | |
365 | + | @Callable(by) | |
366 | + | func calcBoostBulkInternalREADONLY (bK,bL,bM,bN,bO,bP,bQ) = if ((bK == size(bL))) | |
367 | + | then $Tuple2(nil, bQ) | |
361 | 368 | else { | |
362 | - | let | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | let | |
367 | - | let | |
368 | - | if ($isInstanceOf( | |
369 | - | then | |
370 | - | else throw(($getType(invoke(this, "calcBoostREADONLY", [ | |
369 | + | let bR = bL[bK] | |
370 | + | let bS = bM[bK] | |
371 | + | let bT = bN[bK] | |
372 | + | let bU = bO[bK] | |
373 | + | let bV = { | |
374 | + | let bW = invoke(this, "calcBoostREADONLY", [bR, bS, bT, bU, bP], nil) | |
375 | + | if ($isInstanceOf(bW, "String")) | |
376 | + | then bW | |
377 | + | else throw(($getType(invoke(this, "calcBoostREADONLY", [bR, bS, bT, bU, bP], nil)) + " couldn't be cast to String")) | |
371 | 378 | } | |
372 | - | let | |
373 | - | let | |
374 | - | let | |
375 | - | if ($isInstanceOf( | |
376 | - | then | |
377 | - | else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [( | |
379 | + | let bX = (bQ :+ bV) | |
380 | + | let bY = { | |
381 | + | let bW = invoke(this, "calcBoostBulkInternalREADONLY", [(bK + 1), bL, bM, bN, bO, bP, bX], nil) | |
382 | + | if ($isInstanceOf(bW, "List[Any]")) | |
383 | + | then bW | |
384 | + | else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [(bK + 1), bL, bM, bN, bO, bP, bX], nil)) + " couldn't be cast to List[Any]")) | |
378 | 385 | } | |
379 | - | if (( | |
380 | - | then $Tuple2(nil, | |
386 | + | if ((bY == bY)) | |
387 | + | then $Tuple2(nil, bY) | |
381 | 388 | else throw("Strict value is not equal to itself.") | |
382 | 389 | } | |
383 | 390 | ||
384 | 391 | ||
385 | 392 | ||
386 | - | @Callable( | |
387 | - | func calcBoostBulkREADONLY ( | |
388 | - | let | |
389 | - | $Tuple2(nil, | |
393 | + | @Callable(by) | |
394 | + | func calcBoostBulkREADONLY (bR,bS,bT,bU,bP) = { | |
395 | + | let bX = invoke(this, "calcBoostBulkInternalREADONLY", [0, bR, bS, bT, bU, bP, nil], nil) | |
396 | + | $Tuple2(nil, bX) | |
390 | 397 | } | |
391 | 398 | ||
392 | 399 | ||
393 | 400 | ||
394 | - | @Callable( | |
395 | - | func calcBoostREADONLY ( | |
396 | - | let | |
397 | - | let | |
398 | - | let | |
399 | - | let aG = if (( | |
400 | - | then | |
401 | - | else | |
402 | - | let aF = if (( | |
403 | - | then | |
404 | - | else | |
405 | - | let | |
406 | - | let | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | let | |
411 | - | let | |
412 | - | let | |
413 | - | let | |
414 | - | let | |
415 | - | let | |
416 | - | let | |
417 | - | let | |
418 | - | let | |
419 | - | let aw = toString(B( | |
420 | - | let | |
421 | - | let | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
401 | + | @Callable(by) | |
402 | + | func calcBoostREADONLY (bR,bS,bT,bU,bP) = { | |
403 | + | let bZ = ba | |
404 | + | let ca = "empty" | |
405 | + | let cb = parseIntValue(split(t(bb, ag()), e)[4]) | |
406 | + | let aG = if ((bU == "")) | |
407 | + | then ca | |
408 | + | else bU | |
409 | + | let aF = if ((bP == "")) | |
410 | + | then ca | |
411 | + | else bP | |
412 | + | let cc = valueOrElse(getString(bb, al(bP)), ca) | |
413 | + | let cd = valueOrElse(getInteger(bb, ap(cc)), 0) | |
414 | + | let ce = valueOrElse(getInteger(bb, ar(cc)), height) | |
415 | + | let bq = valueOrElse(getInteger(bb, as(cc)), 0) | |
416 | + | let cf = (ce + bq) | |
417 | + | let cg = max([(cf - height), 0]) | |
418 | + | let ch = (cd + bR) | |
419 | + | let ci = min([(cg + bS), cb]) | |
420 | + | let cj = B(x(invoke(bb, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
421 | + | let ck = bo(ch, ci, cb)[0] | |
422 | + | let cl = x(invoke(bZ, "calcGwxParamsREADONLY", [ck, height, ci], nil)) | |
423 | + | let cm = (ck - cj) | |
424 | + | let cn = B(cl[0]) | |
425 | + | let co = B(cl[1]) | |
426 | + | let aw = toString(B(cl[2])) | |
427 | + | let cp = aA() | |
428 | + | let cq = aD() | |
429 | + | let cr = ((ck * ci) / 2) | |
430 | + | let cs = v(bb, cp) | |
431 | + | let ct = valueOrElse(getInteger(bb, cq), 0) | |
432 | + | let cu = 1000 | |
433 | + | let cv = (w(aZ, aN()) * cu) | |
434 | + | let cw = aE(aF, aG) | |
435 | + | let cx = aH(aG) | |
436 | + | let cy = aL(aM, cw) | |
437 | + | let cz = aL(aM, cx) | |
438 | + | let cA = (cy + bT) | |
439 | + | let cB = (cz + bT) | |
440 | + | let bg = if ((aG != ca)) | |
434 | 441 | then { | |
435 | - | let | |
436 | - | getIntegerValue( | |
442 | + | let be = valueOrErrorMessage(getString(aX, R(aG)), ("unsupported lp asset " + aG)) | |
443 | + | getIntegerValue(aX, V(be)) | |
437 | 444 | } | |
438 | 445 | else 0 | |
439 | - | let | |
440 | - | let | |
441 | - | then fraction( | |
446 | + | let cC = fraction(cv, bg, (f * 3)) | |
447 | + | let cD = if ((cB != 0)) | |
448 | + | then fraction(cC, b, cB) | |
442 | 449 | else 0 | |
443 | - | let | |
444 | - | let | |
445 | - | let | |
446 | - | let | |
447 | - | let | |
450 | + | let cE = fraction(cD, cA, b) | |
451 | + | let cF = (cC * 2) | |
452 | + | let cG = fraction(ck, cF, (ct + cm)) | |
453 | + | let cH = min([cG, (cE * 2)]) | |
454 | + | let cI = if ((cE == 0)) | |
448 | 455 | then (1 * b) | |
449 | - | else fraction(( | |
450 | - | $Tuple2(nil, makeString(["%d%d%s", toString( | |
456 | + | else fraction((cH + cE), b, cE) | |
457 | + | $Tuple2(nil, makeString(["%d%d%s", toString(ck), toString(cI), "d"], e)) | |
451 | 458 | } | |
452 | 459 | ||
453 | 460 | ||
454 | 461 | ||
455 | - | @Callable( | |
462 | + | @Callable(by) | |
456 | 463 | func wxEmissionStatsREADONLY () = { | |
457 | - | let | |
458 | - | let | |
459 | - | let | |
460 | - | let | |
461 | - | let | |
464 | + | let cJ = toString(b) | |
465 | + | let cK = "1" | |
466 | + | let bh = w(aZ, aN()) | |
467 | + | let cL = w(aZ, aP()) | |
468 | + | let cM = if ((cL > height)) | |
462 | 469 | then 0 | |
463 | - | else (height - | |
464 | - | let | |
465 | - | let | |
466 | - | let | |
467 | - | then | |
468 | - | else fraction( | |
469 | - | let | |
470 | - | let | |
471 | - | let | |
472 | - | let | |
473 | - | $Tuple2(nil, makeString(["%d%d%d%d", toString( | |
470 | + | else (height - cL) | |
471 | + | let cN = (1440 * 365) | |
472 | + | let cO = (201000000 * b) | |
473 | + | let cP = if ((cM > cN)) | |
474 | + | then cO | |
475 | + | else fraction(cO, cM, cN) | |
476 | + | let cQ = ((bh * cM) + cP) | |
477 | + | let cR = v(bb, ah()) | |
478 | + | let cS = v(bb, ai()) | |
479 | + | let cT = v(bb, aj()) | |
480 | + | $Tuple2(nil, makeString(["%d%d%d%d", toString(cQ), toString(cR), toString(cS), toString(cT)], e)) | |
474 | 481 | } | |
475 | 482 | ||
476 | 483 | ||
477 | 484 | ||
478 | - | @Callable( | |
479 | - | func poolStatsREADONLY ( | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
485 | + | @Callable(by) | |
486 | + | func poolStatsREADONLY (cU) = { | |
487 | + | let aU = addressFromStringValue(t(aX, U(cU))) | |
488 | + | let cV = x(invoke(aU, "getPoolConfigWrapperREADONLY", nil, nil)) | |
489 | + | let bd = fromBase58String(D(cV[j])) | |
490 | + | let cW = D(cV[k]) | |
491 | + | let cX = D(cV[l]) | |
492 | + | let cY = D(cV[o]) | |
493 | + | let cZ = D(cV[p]) | |
494 | + | let da = parseIntValue(D(cV[m])) | |
495 | + | let db = parseIntValue(D(cV[n])) | |
496 | + | let dc = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
497 | + | let dd = B(invoke(aU, "getAccBalanceWrapperREADONLY", [cW], nil)) | |
498 | + | let de = B(invoke(aU, "getAccBalanceWrapperREADONLY", [cX], nil)) | |
499 | + | let df = if ((dc == 0)) | |
493 | 500 | then [toString(g), toString(g), toString(g)] | |
494 | - | else x(invoke(cR, "calcPricesWrapperREADONLY", [da, db, cZ], nil)) | |
495 | - | let dd = 0 | |
496 | - | let de = B(invoke(cR, "fromX18WrapperREADONLY", [dc[1], b], nil)) | |
497 | - | let df = B(invoke(cR, "fromX18WrapperREADONLY", [dc[2], b], nil)) | |
498 | - | let bc = getIntegerValue(aT, V(toString(cR))) | |
499 | - | let dg = { | |
500 | - | let bS = invoke(cR, "getFeeREADONLY", nil, nil) | |
501 | - | if ($isInstanceOf(bS, "Int")) | |
502 | - | then bS | |
503 | - | else throw(($getType(invoke(cR, "getFeeREADONLY", nil, nil)) + " couldn't be cast to Int")) | |
504 | - | } | |
505 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(da), toString(db), toString(cZ), toString(dd), toString(de), toString(df), toString(bc), toString(dg)], e)) | |
501 | + | else x(invoke(aU, "calcPricesWrapperREADONLY", [dd, de, dc], nil)) | |
502 | + | let dg = 0 | |
503 | + | let dh = B(invoke(aU, "fromX18WrapperREADONLY", [df[1], b], nil)) | |
504 | + | let di = B(invoke(aU, "fromX18WrapperREADONLY", [df[2], b], nil)) | |
505 | + | let bg = getIntegerValue(aX, V(toString(aU))) | |
506 | + | let dj = aT(aU) | |
507 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dd), toString(de), toString(dc), toString(dg), toString(dh), toString(di), toString(bg), toString(dj)], e)) | |
506 | 508 | } | |
507 | 509 | ||
508 | 510 | ||
509 | 511 | ||
510 | - | @Callable( | |
511 | - | func poolEvaluatePutByAmountAssetREADONLY ( | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | let | |
517 | - | let | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let | |
525 | - | let | |
526 | - | let | |
527 | - | let | |
512 | + | @Callable(by) | |
513 | + | func poolEvaluatePutByAmountAssetREADONLY (cU,dk) = { | |
514 | + | let aU = addressFromStringValue(t(aX, U(cU))) | |
515 | + | let cV = x(invoke(aU, "getPoolConfigWrapperREADONLY", nil, nil)) | |
516 | + | let bd = fromBase58String(D(cV[j])) | |
517 | + | let dl = D(cV[k]) | |
518 | + | let dm = fromBase58String(dl) | |
519 | + | let dn = D(cV[l]) | |
520 | + | let do = fromBase58String(dn) | |
521 | + | let da = parseIntValue(D(cV[m])) | |
522 | + | let db = parseIntValue(D(cV[n])) | |
523 | + | let dp = D(cV[i]) | |
524 | + | let dc = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
525 | + | let dd = B(invoke(aU, "getAccBalanceWrapperREADONLY", [dl], nil)) | |
526 | + | let de = B(invoke(aU, "getAccBalanceWrapperREADONLY", [dn], nil)) | |
527 | + | let dq = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dd, da], nil))) | |
528 | + | let dr = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [de, db], nil))) | |
529 | + | let ds = if ((dc == 0)) | |
528 | 530 | then g | |
529 | - | else parseBigIntValue(D(invoke( | |
530 | - | let | |
531 | - | let | |
532 | - | let | |
533 | - | let | |
534 | - | let | |
535 | - | let | |
536 | - | let z = | |
531 | + | else parseBigIntValue(D(invoke(aU, "calcPriceBigIntWrapperREADONLY", [toString(dr), toString(dq)], nil))) | |
532 | + | let dg = B(invoke(aU, "fromX18WrapperREADONLY", [toString(ds), b], nil)) | |
533 | + | let dt = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dk, da], nil))) | |
534 | + | let du = fraction(dt, ds, d) | |
535 | + | let dv = B(invoke(aU, "fromX18WrapperREADONLY", [toString(du), db], nil)) | |
536 | + | let bX = invoke(aU, "estimatePutOperationWrapperREADONLY", ["", 500000, dk, dm, dv, do, "", true, false], nil) | |
537 | + | let dw = { | |
538 | + | let z = bX | |
537 | 539 | if (if (if ($isInstanceOf(z._1, "Int")) | |
538 | 540 | then if ($isInstanceOf(z._3, "Int")) | |
539 | 541 | then if ($isInstanceOf(z._4, "Int")) | |
546 | 548 | then (size(z) == 13) | |
547 | 549 | else false) | |
548 | 550 | then { | |
549 | - | let | |
550 | - | let | |
551 | - | let | |
552 | - | let | |
553 | - | let | |
554 | - | $Tuple5( | |
551 | + | let dx = z._1 | |
552 | + | let dy = z._3 | |
553 | + | let dz = z._4 | |
554 | + | let dA = z._5 | |
555 | + | let dB = z._6 | |
556 | + | $Tuple5(dx, dy, dz, dA, dB) | |
555 | 557 | } | |
556 | 558 | else throw("Couldn't cast types") | |
557 | 559 | } | |
558 | - | let | |
559 | - | let | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
560 | + | let dx = dw._1 | |
561 | + | let dy = dw._2 | |
562 | + | let dz = dw._3 | |
563 | + | let dA = dw._4 | |
564 | + | let dB = dw._5 | |
565 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dx), toString(dg), toString(dz), toString(dA), toString(dB), dp, toString(dk), toString(dv)], e)) | |
564 | 566 | } | |
565 | 567 | ||
566 | 568 | ||
567 | 569 | ||
568 | - | @Callable( | |
569 | - | func poolEvaluatePutByPriceAssetREADONLY ( | |
570 | - | let | |
571 | - | let | |
572 | - | let | |
573 | - | let | |
574 | - | let | |
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | let | |
580 | - | let | |
581 | - | let | |
582 | - | let | |
583 | - | let | |
584 | - | let | |
585 | - | let | |
570 | + | @Callable(by) | |
571 | + | func poolEvaluatePutByPriceAssetREADONLY (cU,dv) = { | |
572 | + | let aU = addressFromStringValue(t(aX, U(cU))) | |
573 | + | let cV = x(invoke(aU, "getPoolConfigWrapperREADONLY", nil, nil)) | |
574 | + | let bd = fromBase58String(D(cV[j])) | |
575 | + | let dl = D(cV[k]) | |
576 | + | let dm = fromBase58String(dl) | |
577 | + | let dn = D(cV[l]) | |
578 | + | let do = fromBase58String(dn) | |
579 | + | let da = parseIntValue(D(cV[m])) | |
580 | + | let db = parseIntValue(D(cV[n])) | |
581 | + | let dp = D(cV[i]) | |
582 | + | let dc = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
583 | + | let dC = B(invoke(aU, "getAccBalanceWrapperREADONLY", [dl], nil)) | |
584 | + | let dD = B(invoke(aU, "getAccBalanceWrapperREADONLY", [dn], nil)) | |
585 | + | let dE = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dC, da], nil))) | |
586 | + | let dF = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dD, db], nil))) | |
587 | + | let ds = if ((dc == 0)) | |
586 | 588 | then g | |
587 | - | else parseBigIntValue(D(invoke( | |
588 | - | let | |
589 | - | let | |
590 | - | let | |
591 | - | let | |
592 | - | let | |
593 | - | let | |
594 | - | let z = | |
589 | + | else parseBigIntValue(D(invoke(aU, "calcPriceBigIntWrapperREADONLY", [toString(dF), toString(dE)], nil))) | |
590 | + | let dg = B(invoke(aU, "fromX18WrapperREADONLY", [toString(ds), b], nil)) | |
591 | + | let du = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dv, db], nil))) | |
592 | + | let dt = fraction(du, d, ds) | |
593 | + | let dk = B(invoke(aU, "fromX18WrapperREADONLY", [toString(dt), da], nil)) | |
594 | + | let bX = invoke(aU, "estimatePutOperationWrapperREADONLY", ["", 500000, dk, dm, dv, do, "", true, false], nil) | |
595 | + | let dG = { | |
596 | + | let z = bX | |
595 | 597 | if (if (if ($isInstanceOf(z._1, "Int")) | |
596 | 598 | then if ($isInstanceOf(z._3, "Int")) | |
597 | 599 | then if ($isInstanceOf(z._4, "Int")) | |
604 | 606 | then (size(z) == 13) | |
605 | 607 | else false) | |
606 | 608 | then { | |
607 | - | let | |
608 | - | let | |
609 | - | let | |
610 | - | let | |
611 | - | let | |
612 | - | $Tuple5( | |
609 | + | let dx = z._1 | |
610 | + | let dy = z._3 | |
611 | + | let dz = z._4 | |
612 | + | let dA = z._5 | |
613 | + | let dB = z._6 | |
614 | + | $Tuple5(dx, dy, dz, dA, dB) | |
613 | 615 | } | |
614 | 616 | else throw("Couldn't cast types") | |
615 | 617 | } | |
616 | - | let | |
617 | - | let | |
618 | - | let | |
619 | - | let | |
620 | - | let | |
621 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
618 | + | let dx = dG._1 | |
619 | + | let dy = dG._2 | |
620 | + | let dz = dG._3 | |
621 | + | let dA = dG._4 | |
622 | + | let dB = dG._5 | |
623 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dx), toString(dg), toString(dz), toString(dA), toString(dB), dp, toString(dk), toString(dv)], e)) | |
622 | 624 | } | |
623 | 625 | ||
624 | 626 | ||
625 | 627 | ||
626 | - | @Callable( | |
627 | - | func poolEvaluateGetREADONLY ( | |
628 | - | let | |
629 | - | let | |
630 | - | let | |
631 | - | let z = | |
628 | + | @Callable(by) | |
629 | + | func poolEvaluateGetREADONLY (dH,dI) = { | |
630 | + | let aU = addressFromStringValue(t(aX, U(dH))) | |
631 | + | let bX = invoke(aU, "estimateGetOperationWrapperREADONLY", ["", dH, dI, toString(aU)], nil) | |
632 | + | let dJ = { | |
633 | + | let z = bX | |
632 | 634 | if (if (if ($isInstanceOf(z._1, "Int")) | |
633 | 635 | then if ($isInstanceOf(z._2, "Int")) | |
634 | 636 | then if ($isInstanceOf(z._5, "Int")) | |
645 | 647 | then (size(z) == 10) | |
646 | 648 | else false) | |
647 | 649 | then { | |
648 | - | let | |
649 | - | let | |
650 | - | let | |
651 | - | let | |
652 | - | let | |
653 | - | let | |
654 | - | let | |
655 | - | $Tuple7( | |
650 | + | let dK = z._1 | |
651 | + | let dL = z._2 | |
652 | + | let dz = z._5 | |
653 | + | let dA = z._6 | |
654 | + | let dB = z._7 | |
655 | + | let dg = z._8 | |
656 | + | let dp = z._9 | |
657 | + | $Tuple7(dK, dL, dz, dA, dB, dg, dp) | |
656 | 658 | } | |
657 | 659 | else throw("Couldn't cast types") | |
658 | 660 | } | |
659 | - | let | |
660 | - | let | |
661 | - | let | |
662 | - | let | |
663 | - | let | |
664 | - | let | |
665 | - | let | |
666 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString( | |
661 | + | let dK = dJ._1 | |
662 | + | let dL = dJ._2 | |
663 | + | let dz = dJ._3 | |
664 | + | let dA = dJ._4 | |
665 | + | let dB = dJ._5 | |
666 | + | let dg = dJ._6 | |
667 | + | let dp = dJ._7 | |
668 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dK), toString(dL), toString(dz), toString(dA), toString(dB), dg, dp], e)) | |
667 | 669 | } | |
668 | 670 | ||
669 | 671 | ||
670 | 672 | ||
671 | - | @Callable( | |
673 | + | @Callable(by) | |
672 | 674 | func gwxUserInfoREADONLY (am) = { | |
673 | - | let | |
674 | - | let | |
675 | - | $Tuple2(nil, makeString(["%d", toString( | |
675 | + | let dM = x(invoke(bb, "gwxUserInfoREADONLY", [am], nil)) | |
676 | + | let dN = B(dM[0]) | |
677 | + | $Tuple2(nil, makeString(["%d", toString(dN)], e)) | |
676 | 678 | } | |
677 | 679 | ||
678 | 680 | ||
679 | 681 | ||
680 | - | @Callable( | |
681 | - | func unstakeAndGetOneTkn ( | |
682 | - | let | |
683 | - | if (( | |
682 | + | @Callable(by) | |
683 | + | func unstakeAndGetOneTkn (aU,dO,dP,dQ,dR,dS,dT) = { | |
684 | + | let bY = invoke(addressFromStringValue(value(getString(addressFromStringValue(aU), aS()))), "unstakeAndGetOneTkn", [dO, dP, dQ, dR, dS, dT], nil) | |
685 | + | if ((bY == bY)) | |
684 | 686 | then $Tuple2(nil, unit) | |
685 | 687 | else throw("Strict value is not equal to itself.") | |
686 | 688 | } | |
687 | 689 | ||
688 | 690 | ||
689 | 691 | ||
690 | - | @Callable( | |
691 | - | func setManager ( | |
692 | - | let | |
693 | - | if (( | |
692 | + | @Callable(by) | |
693 | + | func setManager (dU) = { | |
694 | + | let bC = bx(by) | |
695 | + | if ((bC == bC)) | |
694 | 696 | then { | |
695 | - | let | |
696 | - | if (( | |
697 | - | then [StringEntry(H(), | |
697 | + | let dV = fromBase58String(dU) | |
698 | + | if ((dV == dV)) | |
699 | + | then [StringEntry(H(), dU)] | |
698 | 700 | else throw("Strict value is not equal to itself.") | |
699 | 701 | } | |
700 | 702 | else throw("Strict value is not equal to itself.") | |
702 | 704 | ||
703 | 705 | ||
704 | 706 | ||
705 | - | @Callable( | |
707 | + | @Callable(by) | |
706 | 708 | func confirmManager () = { | |
707 | - | let | |
708 | - | let | |
709 | + | let dW = bw() | |
710 | + | let dX = if (isDefined(dW)) | |
709 | 711 | then true | |
710 | 712 | else throw("No pending manager") | |
711 | - | if (( | |
713 | + | if ((dX == dX)) | |
712 | 714 | then { | |
713 | - | let | |
715 | + | let dY = if ((by.callerPublicKey == value(dW))) | |
714 | 716 | then true | |
715 | 717 | else throw("You are not pending manager") | |
716 | - | if (( | |
717 | - | then [StringEntry(G(), toBase58String(value( | |
718 | + | if ((dY == dY)) | |
719 | + | then [StringEntry(G(), toBase58String(value(dW))), DeleteEntry(H())] | |
718 | 720 | else throw("Strict value is not equal to itself.") | |
719 | 721 | } | |
720 | 722 | else throw("Strict value is not equal to itself.") | |
721 | 723 | } | |
722 | 724 | ||
723 | 725 | ||
724 | - | @Verifier( | |
725 | - | func | |
726 | - | let | |
727 | - | let z = | |
726 | + | @Verifier(dZ) | |
727 | + | func ea () = { | |
728 | + | let eb = { | |
729 | + | let z = bu() | |
728 | 730 | if ($isInstanceOf(z, "ByteVector")) | |
729 | 731 | then { | |
730 | - | let | |
731 | - | | |
732 | + | let bA = z | |
733 | + | bA | |
732 | 734 | } | |
733 | 735 | else if ($isInstanceOf(z, "Unit")) | |
734 | - | then | |
736 | + | then dZ.senderPublicKey | |
735 | 737 | else throw("Match error") | |
736 | 738 | } | |
737 | - | sigVerify( | |
739 | + | sigVerify(dZ.bodyBytes, dZ.proofs[0], eb) | |
738 | 740 | } | |
739 | 741 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
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 | let g = toBigInt(0) | |
17 | 17 | ||
18 | 18 | let h = 1 | |
19 | 19 | ||
20 | 20 | let i = 2 | |
21 | 21 | ||
22 | 22 | let j = 3 | |
23 | 23 | ||
24 | 24 | let k = 4 | |
25 | 25 | ||
26 | 26 | let l = 5 | |
27 | 27 | ||
28 | 28 | let m = 6 | |
29 | 29 | ||
30 | 30 | let n = 7 | |
31 | 31 | ||
32 | 32 | let o = 8 | |
33 | 33 | ||
34 | 34 | let p = 9 | |
35 | 35 | ||
36 | 36 | let q = 10 | |
37 | 37 | ||
38 | 38 | func r (s) = valueOrErrorMessage(getString(s), (("mandatory this." + s) + " is not defined")) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func t (u,s) = valueOrErrorMessage(getString(u, s), (((("mandatory " + toString(u)) + ".") + s) + " is not defined")) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func v (u,s) = valueOrElse(getInteger(u, s), 0) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func w (u,s) = valueOrErrorMessage(getInteger(u, s), (("mandatory this." + s) + " is not defined")) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func x (y) = { | |
51 | 51 | let z = y | |
52 | 52 | if ($isInstanceOf(z, "List[Any]")) | |
53 | 53 | then { | |
54 | 54 | let A = z | |
55 | 55 | A | |
56 | 56 | } | |
57 | 57 | else throw("fail to cast into List[Any]") | |
58 | 58 | } | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func B (y) = { | |
62 | 62 | let z = y | |
63 | 63 | if ($isInstanceOf(z, "Int")) | |
64 | 64 | then { | |
65 | 65 | let C = z | |
66 | 66 | C | |
67 | 67 | } | |
68 | 68 | else throw("fail to cast into Int") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func D (y) = { | |
73 | 73 | let z = y | |
74 | 74 | if ($isInstanceOf(z, "String")) | |
75 | 75 | then { | |
76 | 76 | let E = z | |
77 | 77 | E | |
78 | 78 | } | |
79 | 79 | else throw("fail to cast into String") | |
80 | 80 | } | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func F () = "%s%s__config__factoryAddress" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func G () = "%s__managerPublicKey" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func H () = "%s__pendingManagerPublicKey" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | let I = 1 | |
93 | 93 | ||
94 | 94 | let J = 2 | |
95 | 95 | ||
96 | 96 | let K = 3 | |
97 | 97 | ||
98 | 98 | let L = 4 | |
99 | 99 | ||
100 | 100 | let M = 5 | |
101 | 101 | ||
102 | 102 | let N = 6 | |
103 | 103 | ||
104 | 104 | let O = 7 | |
105 | 105 | ||
106 | 106 | let P = 8 | |
107 | 107 | ||
108 | 108 | func Q () = "%s__factoryConfig" | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func R (S) = makeString(["%s%s%s", S, "mappings__lpAsset2PoolContract"], e) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func T () = "%s__lpTokensList" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func U (S) = makeString(["%s%s%s", S, "mappings__lpAsset2PoolContract"], e) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func V (W) = makeString(["%s%s", "poolWeight", W], e) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func X () = addressFromStringValue(r(F())) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func Y () = split(valueOrElse(getString(X(), T()), ""), e) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func Z (aa) = split(t(aa, Q()), e) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ab (ac) = addressFromStringValue(ac[J]) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func ad (ac) = addressFromStringValue(ac[M]) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ae (ac) = addressFromStringValue(ac[I]) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func af (ac) = addressFromStringValue(ac[P]) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ag () = "%s__config" | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func ah () = "%s%s__stats__activeTotalLocked" | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func ai () = "%s%s__stats__locksDurationSumInBlocks" | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func aj () = "%s%s__stats__locksCount" | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func ak () = "%s%s__stats__activeUsersCount" | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func al (am) = makeString(["%s%s%s__mapping__user2num", am], e) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func an (ao) = makeString(["%s%s%s__mapping__num2user", ao], e) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ap (aq) = makeString(["%s%d%s__paramByUserNum", aq, "amount"], e) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func ar (aq) = makeString(["%s%d%s__paramByUserNum", aq, "start"], e) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func as (aq) = makeString(["%s%d%s__paramByUserNum", aq, "duration"], e) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func at (aq) = makeString(["%s%d%s__paramByUserNum", aq, "k"], e) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func au (aq) = makeString(["%s%d%s__paramByUserNum", aq, "b"], e) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func av (aq,aw) = makeString(["%s%d%s%d__paramByPeriod", aq, "k", aw], e) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func ax (aq,aw) = makeString(["%s%d%s%d__paramByPeriod", aq, "b", aw], e) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func ay (aq) = makeString(["%s%d__userBoostEmissionLastInt", aq], e) | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func az (aq) = makeString(["%s%d__maxBoostInt", aq], e) | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func aA () = "%s%s__maxBoostInt__total" | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aB (aq) = makeString(["%s%d__userBoostAvaliableToClaimTotal", aq], e) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aC (aq) = makeString(["%s%d__userBoostClaimed", aq], e) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func aD () = "%s%s__gwxCached__total" | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func aE (aF,aG) = makeString(["%s%s%s__staked", aF, aG], e) | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func aH (aG) = ("%s%s%s__staked__total__" + aG) | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func aI (aG,aF) = makeString(["%s%s%s__claimed", aF, aG], e) | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func aJ (aG,aF) = makeString(["%s%s%s__claimedMinReward", aF, aG], e) | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func aK (aG,aF) = makeString(["%s%s%s__claimedBoostReward", aF, aG], e) | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func aL (aM,s) = valueOrElse(getInteger(aM, s), 0) | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func aN () = "%s%s__ratePerBlock__current" | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func aO () = "%s%s__ratePerBlockMax__current" | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func aP () = "%s%s__emission__startBlock" | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func aQ () = "%s%s__emission__duration" | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func aR () = "%s%s__emission__endBlock" | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func aS () = "%s__addonAddr" | |
238 | 238 | ||
239 | 239 | ||
240 | - | let aT = X() | |
241 | - | ||
242 | - | let aU = Z(aT) | |
243 | - | ||
244 | - | let aV = ad(aU) | |
245 | - | ||
246 | - | let aM = ae(aU) | |
247 | - | ||
248 | - | let aW = af(aU) | |
249 | - | ||
250 | - | let aX = ab(aU) | |
251 | - | ||
252 | - | func aY (aZ) = { | |
253 | - | let ba = t(aT, U(aZ)) | |
254 | - | let bb = b | |
255 | - | let bc = getIntegerValue(aT, V(ba)) | |
256 | - | let bd = w(aV, aN()) | |
257 | - | let be = w(aV, aO()) | |
258 | - | let bf = 3 | |
259 | - | let bg = (fraction(bd, bc, bb) / bf) | |
260 | - | let bh = fraction(be, bc, bb) | |
261 | - | let bi = (bf * b) | |
262 | - | let bj = v(aM, aH(aZ)) | |
263 | - | [bg, bi, bj] | |
240 | + | func aT (aU) = { | |
241 | + | let aV = fraction(5, a, 10000) | |
242 | + | let aW = "%s__fee" | |
243 | + | valueOrElse(getInteger(aU, aW), aV) | |
264 | 244 | } | |
265 | 245 | ||
266 | 246 | ||
267 | - | func bk (bl,bm,bn) = { | |
268 | - | let bo = fraction(bm, b, bn) | |
269 | - | let bp = fraction(bl, bo, b) | |
270 | - | [bp] | |
247 | + | let aX = X() | |
248 | + | ||
249 | + | let aY = Z(aX) | |
250 | + | ||
251 | + | let aZ = ad(aY) | |
252 | + | ||
253 | + | let aM = ae(aY) | |
254 | + | ||
255 | + | let ba = af(aY) | |
256 | + | ||
257 | + | let bb = ab(aY) | |
258 | + | ||
259 | + | func bc (bd) = { | |
260 | + | let be = t(aX, U(bd)) | |
261 | + | let bf = b | |
262 | + | let bg = getIntegerValue(aX, V(be)) | |
263 | + | let bh = w(aZ, aN()) | |
264 | + | let bi = w(aZ, aO()) | |
265 | + | let bj = 3 | |
266 | + | let bk = (fraction(bh, bg, bf) / bj) | |
267 | + | let bl = fraction(bi, bg, bf) | |
268 | + | let bm = (bj * b) | |
269 | + | let bn = v(aM, aH(bd)) | |
270 | + | [bk, bm, bn] | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | - | func bq () = { | |
274 | + | func bo (bp,bq,br) = { | |
275 | + | let bs = fraction(bq, b, br) | |
276 | + | let bt = fraction(bp, bs, b) | |
277 | + | [bt] | |
278 | + | } | |
279 | + | ||
280 | + | ||
281 | + | func bu () = { | |
275 | 282 | let z = getString(G()) | |
276 | 283 | if ($isInstanceOf(z, "String")) | |
277 | 284 | then { | |
278 | - | let | |
279 | - | fromBase58String( | |
285 | + | let bv = z | |
286 | + | fromBase58String(bv) | |
280 | 287 | } | |
281 | 288 | else if ($isInstanceOf(z, "Unit")) | |
282 | 289 | then unit | |
283 | 290 | else throw("Match error") | |
284 | 291 | } | |
285 | 292 | ||
286 | 293 | ||
287 | - | func | |
294 | + | func bw () = { | |
288 | 295 | let z = getString(H()) | |
289 | 296 | if ($isInstanceOf(z, "String")) | |
290 | 297 | then { | |
291 | - | let | |
292 | - | fromBase58String( | |
298 | + | let bv = z | |
299 | + | fromBase58String(bv) | |
293 | 300 | } | |
294 | 301 | else if ($isInstanceOf(z, "Unit")) | |
295 | 302 | then unit | |
296 | 303 | else throw("Match error") | |
297 | 304 | } | |
298 | 305 | ||
299 | 306 | ||
300 | - | func | |
301 | - | let | |
302 | - | let z = | |
307 | + | func bx (by) = { | |
308 | + | let bz = throw("Permission denied") | |
309 | + | let z = bu() | |
303 | 310 | if ($isInstanceOf(z, "ByteVector")) | |
304 | 311 | then { | |
305 | - | let | |
306 | - | if (( | |
312 | + | let bA = z | |
313 | + | if ((by.callerPublicKey == bA)) | |
307 | 314 | then true | |
308 | - | else | |
315 | + | else bz | |
309 | 316 | } | |
310 | 317 | else if ($isInstanceOf(z, "Unit")) | |
311 | - | then if (( | |
318 | + | then if ((by.caller == this)) | |
312 | 319 | then true | |
313 | - | else | |
320 | + | else bz | |
314 | 321 | else throw("Match error") | |
315 | 322 | } | |
316 | 323 | ||
317 | 324 | ||
318 | - | @Callable( | |
319 | - | func constructor ( | |
320 | - | let | |
321 | - | if (( | |
322 | - | then [StringEntry(F(), | |
325 | + | @Callable(by) | |
326 | + | func constructor (bB) = { | |
327 | + | let bC = bx(by) | |
328 | + | if ((bC == bC)) | |
329 | + | then [StringEntry(F(), bB)] | |
323 | 330 | else throw("Strict value is not equal to itself.") | |
324 | 331 | } | |
325 | 332 | ||
326 | 333 | ||
327 | 334 | ||
328 | - | @Callable( | |
329 | - | func currentRewardRateREADONLY ( | |
330 | - | let | |
331 | - | let | |
332 | - | let | |
333 | - | let | |
334 | - | $Tuple2(nil, makeString(["%d%d%d", toString( | |
335 | + | @Callable(by) | |
336 | + | func currentRewardRateREADONLY (bd) = { | |
337 | + | let bD = bc(bd) | |
338 | + | let bh = bD[0] | |
339 | + | let bm = bD[1] | |
340 | + | let bn = bD[2] | |
341 | + | $Tuple2(nil, makeString(["%d%d%d", toString(bh), toString(bm), toString(bn)], e)) | |
335 | 342 | } | |
336 | 343 | ||
337 | 344 | ||
338 | 345 | ||
339 | - | @Callable( | |
340 | - | func currentUserRewardRateREADONLY ( | |
341 | - | let | |
342 | - | let | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | let | |
350 | - | let | |
346 | + | @Callable(by) | |
347 | + | func currentUserRewardRateREADONLY (bd,am) = { | |
348 | + | let bD = bc(bd) | |
349 | + | let bh = bD[0] | |
350 | + | let bm = bD[1] | |
351 | + | let bn = bD[2] | |
352 | + | let bE = v(aM, aE(am, bd)) | |
353 | + | let bF = split(D(invoke(aM, "claimWxREADONLY", [bd, am], nil)), e) | |
354 | + | let bG = valueOrErrorMessage(parseInt(bF[5]), "couldn't parse minRewardPart") | |
355 | + | let bH = valueOrErrorMessage(parseInt(bF[6]), "couldn't parse boostRewardPart") | |
356 | + | let bI = bF[7] | |
357 | + | let bJ = if ((bH == 0)) | |
351 | 358 | then (1 * b) | |
352 | - | else fraction(( | |
353 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString( | |
359 | + | else fraction((bG + bH), b, bG) | |
360 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(bh), toString(bm), toString(bn), toString(bE), toString(bJ), bI], e)) | |
354 | 361 | } | |
355 | 362 | ||
356 | 363 | ||
357 | 364 | ||
358 | - | @Callable( | |
359 | - | func calcBoostBulkInternalREADONLY ( | |
360 | - | then $Tuple2(nil, | |
365 | + | @Callable(by) | |
366 | + | func calcBoostBulkInternalREADONLY (bK,bL,bM,bN,bO,bP,bQ) = if ((bK == size(bL))) | |
367 | + | then $Tuple2(nil, bQ) | |
361 | 368 | else { | |
362 | - | let | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | let | |
367 | - | let | |
368 | - | if ($isInstanceOf( | |
369 | - | then | |
370 | - | else throw(($getType(invoke(this, "calcBoostREADONLY", [ | |
369 | + | let bR = bL[bK] | |
370 | + | let bS = bM[bK] | |
371 | + | let bT = bN[bK] | |
372 | + | let bU = bO[bK] | |
373 | + | let bV = { | |
374 | + | let bW = invoke(this, "calcBoostREADONLY", [bR, bS, bT, bU, bP], nil) | |
375 | + | if ($isInstanceOf(bW, "String")) | |
376 | + | then bW | |
377 | + | else throw(($getType(invoke(this, "calcBoostREADONLY", [bR, bS, bT, bU, bP], nil)) + " couldn't be cast to String")) | |
371 | 378 | } | |
372 | - | let | |
373 | - | let | |
374 | - | let | |
375 | - | if ($isInstanceOf( | |
376 | - | then | |
377 | - | else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [( | |
379 | + | let bX = (bQ :+ bV) | |
380 | + | let bY = { | |
381 | + | let bW = invoke(this, "calcBoostBulkInternalREADONLY", [(bK + 1), bL, bM, bN, bO, bP, bX], nil) | |
382 | + | if ($isInstanceOf(bW, "List[Any]")) | |
383 | + | then bW | |
384 | + | else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [(bK + 1), bL, bM, bN, bO, bP, bX], nil)) + " couldn't be cast to List[Any]")) | |
378 | 385 | } | |
379 | - | if (( | |
380 | - | then $Tuple2(nil, | |
386 | + | if ((bY == bY)) | |
387 | + | then $Tuple2(nil, bY) | |
381 | 388 | else throw("Strict value is not equal to itself.") | |
382 | 389 | } | |
383 | 390 | ||
384 | 391 | ||
385 | 392 | ||
386 | - | @Callable( | |
387 | - | func calcBoostBulkREADONLY ( | |
388 | - | let | |
389 | - | $Tuple2(nil, | |
393 | + | @Callable(by) | |
394 | + | func calcBoostBulkREADONLY (bR,bS,bT,bU,bP) = { | |
395 | + | let bX = invoke(this, "calcBoostBulkInternalREADONLY", [0, bR, bS, bT, bU, bP, nil], nil) | |
396 | + | $Tuple2(nil, bX) | |
390 | 397 | } | |
391 | 398 | ||
392 | 399 | ||
393 | 400 | ||
394 | - | @Callable( | |
395 | - | func calcBoostREADONLY ( | |
396 | - | let | |
397 | - | let | |
398 | - | let | |
399 | - | let aG = if (( | |
400 | - | then | |
401 | - | else | |
402 | - | let aF = if (( | |
403 | - | then | |
404 | - | else | |
405 | - | let | |
406 | - | let | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | let | |
411 | - | let | |
412 | - | let | |
413 | - | let | |
414 | - | let | |
415 | - | let | |
416 | - | let | |
417 | - | let | |
418 | - | let | |
419 | - | let aw = toString(B( | |
420 | - | let | |
421 | - | let | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
401 | + | @Callable(by) | |
402 | + | func calcBoostREADONLY (bR,bS,bT,bU,bP) = { | |
403 | + | let bZ = ba | |
404 | + | let ca = "empty" | |
405 | + | let cb = parseIntValue(split(t(bb, ag()), e)[4]) | |
406 | + | let aG = if ((bU == "")) | |
407 | + | then ca | |
408 | + | else bU | |
409 | + | let aF = if ((bP == "")) | |
410 | + | then ca | |
411 | + | else bP | |
412 | + | let cc = valueOrElse(getString(bb, al(bP)), ca) | |
413 | + | let cd = valueOrElse(getInteger(bb, ap(cc)), 0) | |
414 | + | let ce = valueOrElse(getInteger(bb, ar(cc)), height) | |
415 | + | let bq = valueOrElse(getInteger(bb, as(cc)), 0) | |
416 | + | let cf = (ce + bq) | |
417 | + | let cg = max([(cf - height), 0]) | |
418 | + | let ch = (cd + bR) | |
419 | + | let ci = min([(cg + bS), cb]) | |
420 | + | let cj = B(x(invoke(bb, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
421 | + | let ck = bo(ch, ci, cb)[0] | |
422 | + | let cl = x(invoke(bZ, "calcGwxParamsREADONLY", [ck, height, ci], nil)) | |
423 | + | let cm = (ck - cj) | |
424 | + | let cn = B(cl[0]) | |
425 | + | let co = B(cl[1]) | |
426 | + | let aw = toString(B(cl[2])) | |
427 | + | let cp = aA() | |
428 | + | let cq = aD() | |
429 | + | let cr = ((ck * ci) / 2) | |
430 | + | let cs = v(bb, cp) | |
431 | + | let ct = valueOrElse(getInteger(bb, cq), 0) | |
432 | + | let cu = 1000 | |
433 | + | let cv = (w(aZ, aN()) * cu) | |
434 | + | let cw = aE(aF, aG) | |
435 | + | let cx = aH(aG) | |
436 | + | let cy = aL(aM, cw) | |
437 | + | let cz = aL(aM, cx) | |
438 | + | let cA = (cy + bT) | |
439 | + | let cB = (cz + bT) | |
440 | + | let bg = if ((aG != ca)) | |
434 | 441 | then { | |
435 | - | let | |
436 | - | getIntegerValue( | |
442 | + | let be = valueOrErrorMessage(getString(aX, R(aG)), ("unsupported lp asset " + aG)) | |
443 | + | getIntegerValue(aX, V(be)) | |
437 | 444 | } | |
438 | 445 | else 0 | |
439 | - | let | |
440 | - | let | |
441 | - | then fraction( | |
446 | + | let cC = fraction(cv, bg, (f * 3)) | |
447 | + | let cD = if ((cB != 0)) | |
448 | + | then fraction(cC, b, cB) | |
442 | 449 | else 0 | |
443 | - | let | |
444 | - | let | |
445 | - | let | |
446 | - | let | |
447 | - | let | |
450 | + | let cE = fraction(cD, cA, b) | |
451 | + | let cF = (cC * 2) | |
452 | + | let cG = fraction(ck, cF, (ct + cm)) | |
453 | + | let cH = min([cG, (cE * 2)]) | |
454 | + | let cI = if ((cE == 0)) | |
448 | 455 | then (1 * b) | |
449 | - | else fraction(( | |
450 | - | $Tuple2(nil, makeString(["%d%d%s", toString( | |
456 | + | else fraction((cH + cE), b, cE) | |
457 | + | $Tuple2(nil, makeString(["%d%d%s", toString(ck), toString(cI), "d"], e)) | |
451 | 458 | } | |
452 | 459 | ||
453 | 460 | ||
454 | 461 | ||
455 | - | @Callable( | |
462 | + | @Callable(by) | |
456 | 463 | func wxEmissionStatsREADONLY () = { | |
457 | - | let | |
458 | - | let | |
459 | - | let | |
460 | - | let | |
461 | - | let | |
464 | + | let cJ = toString(b) | |
465 | + | let cK = "1" | |
466 | + | let bh = w(aZ, aN()) | |
467 | + | let cL = w(aZ, aP()) | |
468 | + | let cM = if ((cL > height)) | |
462 | 469 | then 0 | |
463 | - | else (height - | |
464 | - | let | |
465 | - | let | |
466 | - | let | |
467 | - | then | |
468 | - | else fraction( | |
469 | - | let | |
470 | - | let | |
471 | - | let | |
472 | - | let | |
473 | - | $Tuple2(nil, makeString(["%d%d%d%d", toString( | |
470 | + | else (height - cL) | |
471 | + | let cN = (1440 * 365) | |
472 | + | let cO = (201000000 * b) | |
473 | + | let cP = if ((cM > cN)) | |
474 | + | then cO | |
475 | + | else fraction(cO, cM, cN) | |
476 | + | let cQ = ((bh * cM) + cP) | |
477 | + | let cR = v(bb, ah()) | |
478 | + | let cS = v(bb, ai()) | |
479 | + | let cT = v(bb, aj()) | |
480 | + | $Tuple2(nil, makeString(["%d%d%d%d", toString(cQ), toString(cR), toString(cS), toString(cT)], e)) | |
474 | 481 | } | |
475 | 482 | ||
476 | 483 | ||
477 | 484 | ||
478 | - | @Callable( | |
479 | - | func poolStatsREADONLY ( | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
485 | + | @Callable(by) | |
486 | + | func poolStatsREADONLY (cU) = { | |
487 | + | let aU = addressFromStringValue(t(aX, U(cU))) | |
488 | + | let cV = x(invoke(aU, "getPoolConfigWrapperREADONLY", nil, nil)) | |
489 | + | let bd = fromBase58String(D(cV[j])) | |
490 | + | let cW = D(cV[k]) | |
491 | + | let cX = D(cV[l]) | |
492 | + | let cY = D(cV[o]) | |
493 | + | let cZ = D(cV[p]) | |
494 | + | let da = parseIntValue(D(cV[m])) | |
495 | + | let db = parseIntValue(D(cV[n])) | |
496 | + | let dc = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
497 | + | let dd = B(invoke(aU, "getAccBalanceWrapperREADONLY", [cW], nil)) | |
498 | + | let de = B(invoke(aU, "getAccBalanceWrapperREADONLY", [cX], nil)) | |
499 | + | let df = if ((dc == 0)) | |
493 | 500 | then [toString(g), toString(g), toString(g)] | |
494 | - | else x(invoke(cR, "calcPricesWrapperREADONLY", [da, db, cZ], nil)) | |
495 | - | let dd = 0 | |
496 | - | let de = B(invoke(cR, "fromX18WrapperREADONLY", [dc[1], b], nil)) | |
497 | - | let df = B(invoke(cR, "fromX18WrapperREADONLY", [dc[2], b], nil)) | |
498 | - | let bc = getIntegerValue(aT, V(toString(cR))) | |
499 | - | let dg = { | |
500 | - | let bS = invoke(cR, "getFeeREADONLY", nil, nil) | |
501 | - | if ($isInstanceOf(bS, "Int")) | |
502 | - | then bS | |
503 | - | else throw(($getType(invoke(cR, "getFeeREADONLY", nil, nil)) + " couldn't be cast to Int")) | |
504 | - | } | |
505 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(da), toString(db), toString(cZ), toString(dd), toString(de), toString(df), toString(bc), toString(dg)], e)) | |
501 | + | else x(invoke(aU, "calcPricesWrapperREADONLY", [dd, de, dc], nil)) | |
502 | + | let dg = 0 | |
503 | + | let dh = B(invoke(aU, "fromX18WrapperREADONLY", [df[1], b], nil)) | |
504 | + | let di = B(invoke(aU, "fromX18WrapperREADONLY", [df[2], b], nil)) | |
505 | + | let bg = getIntegerValue(aX, V(toString(aU))) | |
506 | + | let dj = aT(aU) | |
507 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dd), toString(de), toString(dc), toString(dg), toString(dh), toString(di), toString(bg), toString(dj)], e)) | |
506 | 508 | } | |
507 | 509 | ||
508 | 510 | ||
509 | 511 | ||
510 | - | @Callable( | |
511 | - | func poolEvaluatePutByAmountAssetREADONLY ( | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | let | |
517 | - | let | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let | |
525 | - | let | |
526 | - | let | |
527 | - | let | |
512 | + | @Callable(by) | |
513 | + | func poolEvaluatePutByAmountAssetREADONLY (cU,dk) = { | |
514 | + | let aU = addressFromStringValue(t(aX, U(cU))) | |
515 | + | let cV = x(invoke(aU, "getPoolConfigWrapperREADONLY", nil, nil)) | |
516 | + | let bd = fromBase58String(D(cV[j])) | |
517 | + | let dl = D(cV[k]) | |
518 | + | let dm = fromBase58String(dl) | |
519 | + | let dn = D(cV[l]) | |
520 | + | let do = fromBase58String(dn) | |
521 | + | let da = parseIntValue(D(cV[m])) | |
522 | + | let db = parseIntValue(D(cV[n])) | |
523 | + | let dp = D(cV[i]) | |
524 | + | let dc = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
525 | + | let dd = B(invoke(aU, "getAccBalanceWrapperREADONLY", [dl], nil)) | |
526 | + | let de = B(invoke(aU, "getAccBalanceWrapperREADONLY", [dn], nil)) | |
527 | + | let dq = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dd, da], nil))) | |
528 | + | let dr = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [de, db], nil))) | |
529 | + | let ds = if ((dc == 0)) | |
528 | 530 | then g | |
529 | - | else parseBigIntValue(D(invoke( | |
530 | - | let | |
531 | - | let | |
532 | - | let | |
533 | - | let | |
534 | - | let | |
535 | - | let | |
536 | - | let z = | |
531 | + | else parseBigIntValue(D(invoke(aU, "calcPriceBigIntWrapperREADONLY", [toString(dr), toString(dq)], nil))) | |
532 | + | let dg = B(invoke(aU, "fromX18WrapperREADONLY", [toString(ds), b], nil)) | |
533 | + | let dt = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dk, da], nil))) | |
534 | + | let du = fraction(dt, ds, d) | |
535 | + | let dv = B(invoke(aU, "fromX18WrapperREADONLY", [toString(du), db], nil)) | |
536 | + | let bX = invoke(aU, "estimatePutOperationWrapperREADONLY", ["", 500000, dk, dm, dv, do, "", true, false], nil) | |
537 | + | let dw = { | |
538 | + | let z = bX | |
537 | 539 | if (if (if ($isInstanceOf(z._1, "Int")) | |
538 | 540 | then if ($isInstanceOf(z._3, "Int")) | |
539 | 541 | then if ($isInstanceOf(z._4, "Int")) | |
540 | 542 | then if ($isInstanceOf(z._5, "Int")) | |
541 | 543 | then $isInstanceOf(z._6, "Int") | |
542 | 544 | else false | |
543 | 545 | else false | |
544 | 546 | else false | |
545 | 547 | else false) | |
546 | 548 | then (size(z) == 13) | |
547 | 549 | else false) | |
548 | 550 | then { | |
549 | - | let | |
550 | - | let | |
551 | - | let | |
552 | - | let | |
553 | - | let | |
554 | - | $Tuple5( | |
551 | + | let dx = z._1 | |
552 | + | let dy = z._3 | |
553 | + | let dz = z._4 | |
554 | + | let dA = z._5 | |
555 | + | let dB = z._6 | |
556 | + | $Tuple5(dx, dy, dz, dA, dB) | |
555 | 557 | } | |
556 | 558 | else throw("Couldn't cast types") | |
557 | 559 | } | |
558 | - | let | |
559 | - | let | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
560 | + | let dx = dw._1 | |
561 | + | let dy = dw._2 | |
562 | + | let dz = dw._3 | |
563 | + | let dA = dw._4 | |
564 | + | let dB = dw._5 | |
565 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dx), toString(dg), toString(dz), toString(dA), toString(dB), dp, toString(dk), toString(dv)], e)) | |
564 | 566 | } | |
565 | 567 | ||
566 | 568 | ||
567 | 569 | ||
568 | - | @Callable( | |
569 | - | func poolEvaluatePutByPriceAssetREADONLY ( | |
570 | - | let | |
571 | - | let | |
572 | - | let | |
573 | - | let | |
574 | - | let | |
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | let | |
580 | - | let | |
581 | - | let | |
582 | - | let | |
583 | - | let | |
584 | - | let | |
585 | - | let | |
570 | + | @Callable(by) | |
571 | + | func poolEvaluatePutByPriceAssetREADONLY (cU,dv) = { | |
572 | + | let aU = addressFromStringValue(t(aX, U(cU))) | |
573 | + | let cV = x(invoke(aU, "getPoolConfigWrapperREADONLY", nil, nil)) | |
574 | + | let bd = fromBase58String(D(cV[j])) | |
575 | + | let dl = D(cV[k]) | |
576 | + | let dm = fromBase58String(dl) | |
577 | + | let dn = D(cV[l]) | |
578 | + | let do = fromBase58String(dn) | |
579 | + | let da = parseIntValue(D(cV[m])) | |
580 | + | let db = parseIntValue(D(cV[n])) | |
581 | + | let dp = D(cV[i]) | |
582 | + | let dc = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
583 | + | let dC = B(invoke(aU, "getAccBalanceWrapperREADONLY", [dl], nil)) | |
584 | + | let dD = B(invoke(aU, "getAccBalanceWrapperREADONLY", [dn], nil)) | |
585 | + | let dE = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dC, da], nil))) | |
586 | + | let dF = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dD, db], nil))) | |
587 | + | let ds = if ((dc == 0)) | |
586 | 588 | then g | |
587 | - | else parseBigIntValue(D(invoke( | |
588 | - | let | |
589 | - | let | |
590 | - | let | |
591 | - | let | |
592 | - | let | |
593 | - | let | |
594 | - | let z = | |
589 | + | else parseBigIntValue(D(invoke(aU, "calcPriceBigIntWrapperREADONLY", [toString(dF), toString(dE)], nil))) | |
590 | + | let dg = B(invoke(aU, "fromX18WrapperREADONLY", [toString(ds), b], nil)) | |
591 | + | let du = parseBigIntValue(D(invoke(aU, "toX18WrapperREADONLY", [dv, db], nil))) | |
592 | + | let dt = fraction(du, d, ds) | |
593 | + | let dk = B(invoke(aU, "fromX18WrapperREADONLY", [toString(dt), da], nil)) | |
594 | + | let bX = invoke(aU, "estimatePutOperationWrapperREADONLY", ["", 500000, dk, dm, dv, do, "", true, false], nil) | |
595 | + | let dG = { | |
596 | + | let z = bX | |
595 | 597 | if (if (if ($isInstanceOf(z._1, "Int")) | |
596 | 598 | then if ($isInstanceOf(z._3, "Int")) | |
597 | 599 | then if ($isInstanceOf(z._4, "Int")) | |
598 | 600 | then if ($isInstanceOf(z._5, "Int")) | |
599 | 601 | then $isInstanceOf(z._6, "Int") | |
600 | 602 | else false | |
601 | 603 | else false | |
602 | 604 | else false | |
603 | 605 | else false) | |
604 | 606 | then (size(z) == 13) | |
605 | 607 | else false) | |
606 | 608 | then { | |
607 | - | let | |
608 | - | let | |
609 | - | let | |
610 | - | let | |
611 | - | let | |
612 | - | $Tuple5( | |
609 | + | let dx = z._1 | |
610 | + | let dy = z._3 | |
611 | + | let dz = z._4 | |
612 | + | let dA = z._5 | |
613 | + | let dB = z._6 | |
614 | + | $Tuple5(dx, dy, dz, dA, dB) | |
613 | 615 | } | |
614 | 616 | else throw("Couldn't cast types") | |
615 | 617 | } | |
616 | - | let | |
617 | - | let | |
618 | - | let | |
619 | - | let | |
620 | - | let | |
621 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
618 | + | let dx = dG._1 | |
619 | + | let dy = dG._2 | |
620 | + | let dz = dG._3 | |
621 | + | let dA = dG._4 | |
622 | + | let dB = dG._5 | |
623 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dx), toString(dg), toString(dz), toString(dA), toString(dB), dp, toString(dk), toString(dv)], e)) | |
622 | 624 | } | |
623 | 625 | ||
624 | 626 | ||
625 | 627 | ||
626 | - | @Callable( | |
627 | - | func poolEvaluateGetREADONLY ( | |
628 | - | let | |
629 | - | let | |
630 | - | let | |
631 | - | let z = | |
628 | + | @Callable(by) | |
629 | + | func poolEvaluateGetREADONLY (dH,dI) = { | |
630 | + | let aU = addressFromStringValue(t(aX, U(dH))) | |
631 | + | let bX = invoke(aU, "estimateGetOperationWrapperREADONLY", ["", dH, dI, toString(aU)], nil) | |
632 | + | let dJ = { | |
633 | + | let z = bX | |
632 | 634 | if (if (if ($isInstanceOf(z._1, "Int")) | |
633 | 635 | then if ($isInstanceOf(z._2, "Int")) | |
634 | 636 | then if ($isInstanceOf(z._5, "Int")) | |
635 | 637 | then if ($isInstanceOf(z._6, "Int")) | |
636 | 638 | then if ($isInstanceOf(z._7, "Int")) | |
637 | 639 | then if ($isInstanceOf(z._8, "String")) | |
638 | 640 | then $isInstanceOf(z._9, "String") | |
639 | 641 | else false | |
640 | 642 | else false | |
641 | 643 | else false | |
642 | 644 | else false | |
643 | 645 | else false | |
644 | 646 | else false) | |
645 | 647 | then (size(z) == 10) | |
646 | 648 | else false) | |
647 | 649 | then { | |
648 | - | let | |
649 | - | let | |
650 | - | let | |
651 | - | let | |
652 | - | let | |
653 | - | let | |
654 | - | let | |
655 | - | $Tuple7( | |
650 | + | let dK = z._1 | |
651 | + | let dL = z._2 | |
652 | + | let dz = z._5 | |
653 | + | let dA = z._6 | |
654 | + | let dB = z._7 | |
655 | + | let dg = z._8 | |
656 | + | let dp = z._9 | |
657 | + | $Tuple7(dK, dL, dz, dA, dB, dg, dp) | |
656 | 658 | } | |
657 | 659 | else throw("Couldn't cast types") | |
658 | 660 | } | |
659 | - | let | |
660 | - | let | |
661 | - | let | |
662 | - | let | |
663 | - | let | |
664 | - | let | |
665 | - | let | |
666 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString( | |
661 | + | let dK = dJ._1 | |
662 | + | let dL = dJ._2 | |
663 | + | let dz = dJ._3 | |
664 | + | let dA = dJ._4 | |
665 | + | let dB = dJ._5 | |
666 | + | let dg = dJ._6 | |
667 | + | let dp = dJ._7 | |
668 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dK), toString(dL), toString(dz), toString(dA), toString(dB), dg, dp], e)) | |
667 | 669 | } | |
668 | 670 | ||
669 | 671 | ||
670 | 672 | ||
671 | - | @Callable( | |
673 | + | @Callable(by) | |
672 | 674 | func gwxUserInfoREADONLY (am) = { | |
673 | - | let | |
674 | - | let | |
675 | - | $Tuple2(nil, makeString(["%d", toString( | |
675 | + | let dM = x(invoke(bb, "gwxUserInfoREADONLY", [am], nil)) | |
676 | + | let dN = B(dM[0]) | |
677 | + | $Tuple2(nil, makeString(["%d", toString(dN)], e)) | |
676 | 678 | } | |
677 | 679 | ||
678 | 680 | ||
679 | 681 | ||
680 | - | @Callable( | |
681 | - | func unstakeAndGetOneTkn ( | |
682 | - | let | |
683 | - | if (( | |
682 | + | @Callable(by) | |
683 | + | func unstakeAndGetOneTkn (aU,dO,dP,dQ,dR,dS,dT) = { | |
684 | + | let bY = invoke(addressFromStringValue(value(getString(addressFromStringValue(aU), aS()))), "unstakeAndGetOneTkn", [dO, dP, dQ, dR, dS, dT], nil) | |
685 | + | if ((bY == bY)) | |
684 | 686 | then $Tuple2(nil, unit) | |
685 | 687 | else throw("Strict value is not equal to itself.") | |
686 | 688 | } | |
687 | 689 | ||
688 | 690 | ||
689 | 691 | ||
690 | - | @Callable( | |
691 | - | func setManager ( | |
692 | - | let | |
693 | - | if (( | |
692 | + | @Callable(by) | |
693 | + | func setManager (dU) = { | |
694 | + | let bC = bx(by) | |
695 | + | if ((bC == bC)) | |
694 | 696 | then { | |
695 | - | let | |
696 | - | if (( | |
697 | - | then [StringEntry(H(), | |
697 | + | let dV = fromBase58String(dU) | |
698 | + | if ((dV == dV)) | |
699 | + | then [StringEntry(H(), dU)] | |
698 | 700 | else throw("Strict value is not equal to itself.") | |
699 | 701 | } | |
700 | 702 | else throw("Strict value is not equal to itself.") | |
701 | 703 | } | |
702 | 704 | ||
703 | 705 | ||
704 | 706 | ||
705 | - | @Callable( | |
707 | + | @Callable(by) | |
706 | 708 | func confirmManager () = { | |
707 | - | let | |
708 | - | let | |
709 | + | let dW = bw() | |
710 | + | let dX = if (isDefined(dW)) | |
709 | 711 | then true | |
710 | 712 | else throw("No pending manager") | |
711 | - | if (( | |
713 | + | if ((dX == dX)) | |
712 | 714 | then { | |
713 | - | let | |
715 | + | let dY = if ((by.callerPublicKey == value(dW))) | |
714 | 716 | then true | |
715 | 717 | else throw("You are not pending manager") | |
716 | - | if (( | |
717 | - | then [StringEntry(G(), toBase58String(value( | |
718 | + | if ((dY == dY)) | |
719 | + | then [StringEntry(G(), toBase58String(value(dW))), DeleteEntry(H())] | |
718 | 720 | else throw("Strict value is not equal to itself.") | |
719 | 721 | } | |
720 | 722 | else throw("Strict value is not equal to itself.") | |
721 | 723 | } | |
722 | 724 | ||
723 | 725 | ||
724 | - | @Verifier( | |
725 | - | func | |
726 | - | let | |
727 | - | let z = | |
726 | + | @Verifier(dZ) | |
727 | + | func ea () = { | |
728 | + | let eb = { | |
729 | + | let z = bu() | |
728 | 730 | if ($isInstanceOf(z, "ByteVector")) | |
729 | 731 | then { | |
730 | - | let | |
731 | - | | |
732 | + | let bA = z | |
733 | + | bA | |
732 | 734 | } | |
733 | 735 | else if ($isInstanceOf(z, "Unit")) | |
734 | - | then | |
736 | + | then dZ.senderPublicKey | |
735 | 737 | else throw("Match error") | |
736 | 738 | } | |
737 | - | sigVerify( | |
739 | + | sigVerify(dZ.bodyBytes, dZ.proofs[0], eb) | |
738 | 740 | } | |
739 | 741 |
github/deemru/w8io/169f3d6 169.88 ms ◑