tx · HXwuH21ULyFcomUMquEtcPfHjeoXALnPqdLUGQm9Asyh 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai: -0.03200000 Waves 2022.06.22 15:39 [2107616] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves
{ "type": 13, "id": "HXwuH21ULyFcomUMquEtcPfHjeoXALnPqdLUGQm9Asyh", "fee": 3200000, "feeAssetId": null, "timestamp": 1655901562463, "version": 1, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "4i726K2mqhMffyMWnZXPddF1aaCSdvuYkAU73w6SFw4vfVo5BFvY6n6A35VXkiCUTGxogXoeGbmnm9eeiSCXNRbo" ], "script": "base64:AAIFAAAAAAAAAHMIAhIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIDCgEIEgMKAQgSABIDCgEYEgoKCAgICAgIAQgIEgQKAggBEgMKAQESAwoBARIECgIIARIGCgQICAgIEgQKAggIEgQKAggIEgQKAggIAAAAVQAAAAAGU0NBTEU4AAAAAAAAAAAIAAAAAAVNVUxUOAAAAAAABfXhAAAAAAAHU0NBTEUxOAAAAAAAAAAAEgAAAAAGTVVMVDE4CQABNgAAAAEADeC2s6dkAAAAAAAADlBPT0xXRUlHSFRNVUxUBQAAAAVNVUxUOAAAAAAOR1dYdmlydHVhbFBPT0wCAAAADkdXWHZpcnR1YWxQT09MAAAAAAxsYWJlbFBvb2xzTHACAAAACFBPT0xTX0xQAAAAABFkZWNpbWFsc011bHRQcmljZQkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAA+gAAAAAAAAAA+gAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAAClBvb2xBY3RpdmUAAAAAAAAAAAEAAAAAD1Bvb2xQdXREaXNhYmxlZAAAAAAA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XIJAAUUAAAAAgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAANa2V5V3hFbWlzc2lvbgAAAAIFAAAADWFtb3VudEFzc2V0SWQFAAAADHByaWNlQXNzZXRJZAUAAAADbmlsBQAAAAR1bml0CQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXn2c9qd", "chainId": 84, "height": 2107616, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5yqdofMinrJiXtMp6AV5FLq2SqtUsLaCnpmj16vUHjdd Next: 6SexXF7wVWnbysTMdDEj1CrFUSPeksDo4rUHmzKZmHeK Diff:
Old | New | Differences | |
---|---|---|---|
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | - | func bI (ao,ap) = { | |
284 | - | let bm = at(Y(ao)) | |
285 | - | let bn = at(Y(ap)) | |
286 | - | aq(ak(bm, bn)) | |
287 | - | } | |
288 | - | ||
289 | - | ||
290 | - | func bJ (aj) = aq(al(aj)) | |
291 | - | ||
292 | - | ||
293 | - | func bK (ao,ap) = { | |
294 | - | let aj = bI(ao, ap) | |
295 | - | let bh = bJ(aj) | |
296 | - | $Tuple2(aj, bh) | |
297 | - | } | |
298 | - | ||
299 | - | ||
300 | 283 | @Callable(aP) | |
301 | - | func constructor ( | |
302 | - | let | |
303 | - | if (( | |
304 | - | then [StringEntry(E(), be( | |
284 | + | func constructor (bI,bJ,aV,aW,aX,aY,bK,bL) = { | |
285 | + | let bM = aO(aP) | |
286 | + | if ((bM == bM)) | |
287 | + | then [StringEntry(E(), be(bI, bJ, aV, aW, aX, aY, bK)), IntegerEntry(P(), bL)] | |
305 | 288 | else throw("Strict value is not equal to itself.") | |
306 | 289 | } | |
307 | 290 | ||
308 | 291 | ||
309 | 292 | ||
310 | 293 | @Callable(aP) | |
311 | - | func constructorV2 ( | |
312 | - | let | |
313 | - | if (( | |
294 | + | func constructorV2 (bN) = { | |
295 | + | let bM = aO(aP) | |
296 | + | if ((bM == bM)) | |
314 | 297 | then { | |
315 | - | let | |
316 | - | if (( | |
317 | - | then [StringEntry(H(), | |
298 | + | let bO = addressFromPublicKey(fromBase58String(bN)) | |
299 | + | if ((bO == bO)) | |
300 | + | then [StringEntry(H(), bN)] | |
318 | 301 | else throw("Strict value is not equal to itself.") | |
319 | 302 | } | |
320 | 303 | else throw("Strict value is not equal to itself.") | |
324 | 307 | ||
325 | 308 | @Callable(aP) | |
326 | 309 | func constructorV3 (ba,bb,bc,bd) = { | |
327 | - | let | |
328 | - | if (( | |
310 | + | let bM = aO(aP) | |
311 | + | if ((bM == bM)) | |
329 | 312 | then { | |
330 | 313 | let aG = split(aq(E()), i) | |
331 | 314 | [StringEntry(E(), aS(aG[1], aG[2], aG[3], aG[4], aG[5], aG[6], aG[7], ba, bb, bc, bd))] | |
336 | 319 | ||
337 | 320 | ||
338 | 321 | @Callable(aP) | |
339 | - | func constructorV4 ( | |
340 | - | let | |
341 | - | if (( | |
342 | - | then [StringEntry(I(), | |
322 | + | func constructorV4 (bP,bQ) = { | |
323 | + | let bM = aO(aP) | |
324 | + | if ((bM == bM)) | |
325 | + | then [StringEntry(I(), bP), StringEntry(J(), makeString(bQ, i))] | |
343 | 326 | else throw("Strict value is not equal to itself.") | |
344 | 327 | } | |
345 | 328 | ||
346 | 329 | ||
347 | 330 | ||
348 | 331 | @Callable(aP) | |
349 | - | func constructorV5 ( | |
350 | - | let | |
351 | - | if (( | |
352 | - | then [StringEntry(N(), | |
332 | + | func constructorV5 (bR) = { | |
333 | + | let bM = aO(aP) | |
334 | + | if ((bM == bM)) | |
335 | + | then [StringEntry(N(), bR)] | |
353 | 336 | else throw("Strict value is not equal to itself.") | |
354 | 337 | } | |
355 | 338 | ||
356 | 339 | ||
357 | 340 | ||
358 | 341 | @Callable(aP) | |
359 | - | func constructorV6 ( | |
360 | - | let | |
342 | + | func constructorV6 (bS) = { | |
343 | + | let bT = [aO(aP), if ((addressFromString(bS) != unit)) | |
361 | 344 | then true | |
362 | 345 | else "invalid voting emission contract address"] | |
363 | - | if (( | |
364 | - | then [StringEntry(O(), | |
346 | + | if ((bT == bT)) | |
347 | + | then [StringEntry(O(), bS)] | |
365 | 348 | else throw("Strict value is not equal to itself.") | |
366 | 349 | } | |
367 | 350 | ||
368 | 351 | ||
369 | 352 | ||
370 | 353 | @Callable(aP) | |
371 | - | func setManager ( | |
372 | - | let | |
373 | - | if (( | |
354 | + | func setManager (bU) = { | |
355 | + | let bM = aO(aP) | |
356 | + | if ((bM == bM)) | |
374 | 357 | then { | |
375 | - | let | |
376 | - | if (( | |
377 | - | then [StringEntry(L(), | |
358 | + | let bV = fromBase58String(bU) | |
359 | + | if ((bV == bV)) | |
360 | + | then [StringEntry(L(), bU)] | |
378 | 361 | else throw("Strict value is not equal to itself.") | |
379 | 362 | } | |
380 | 363 | else throw("Strict value is not equal to itself.") | |
384 | 367 | ||
385 | 368 | @Callable(aP) | |
386 | 369 | func confirmManager () = { | |
387 | - | let | |
388 | - | let | |
370 | + | let bW = aN() | |
371 | + | let bX = if (isDefined(bW)) | |
389 | 372 | then true | |
390 | 373 | else throw("No pending manager") | |
391 | - | if (( | |
374 | + | if ((bX == bX)) | |
392 | 375 | then { | |
393 | - | let | |
376 | + | let bY = if ((aP.callerPublicKey == value(bW))) | |
394 | 377 | then true | |
395 | 378 | else throw("You are not pending manager") | |
396 | - | if (( | |
397 | - | then [StringEntry(K(), toBase58String(value( | |
379 | + | if ((bY == bY)) | |
380 | + | then [StringEntry(K(), toBase58String(value(bW))), DeleteEntry(L())] | |
398 | 381 | else throw("Strict value is not equal to itself.") | |
399 | 382 | } | |
400 | 383 | else throw("Strict value is not equal to itself.") | |
403 | 386 | ||
404 | 387 | ||
405 | 388 | @Callable(aP) | |
406 | - | func setAdmins ( | |
407 | - | let | |
408 | - | if (( | |
409 | - | then [StringEntry(M(), makeString( | |
389 | + | func setAdmins (bZ) = { | |
390 | + | let bM = aO(aP) | |
391 | + | if ((bM == bM)) | |
392 | + | then [StringEntry(M(), makeString(bZ, i))] | |
410 | 393 | else throw("Strict value is not equal to itself.") | |
411 | 394 | } | |
412 | 395 | ||
413 | 396 | ||
414 | 397 | ||
415 | 398 | @Callable(aP) | |
416 | - | func activateNewPool (T,bi,bj, | |
417 | - | let | |
418 | - | if (( | |
399 | + | func activateNewPool (T,bi,bj,ca,cb,cc,bp,cd) = { | |
400 | + | let bM = bF(aP) | |
401 | + | if ((bM == bM)) | |
419 | 402 | then if (isDefined(getString(ai(T)))) | |
420 | 403 | then throw((("Pool address " + T) + " already registered.")) | |
421 | 404 | else { | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
405 | + | let ce = bv(bi, 1) | |
406 | + | let cf = ce._1 | |
407 | + | let cg = bv(bj, if (ce._3) | |
425 | 408 | then 2 | |
426 | 409 | else 1) | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | if (isDefined( | |
410 | + | let ch = cg._1 | |
411 | + | let ci = valueOrErrorMessage(scriptHash(addressFromStringValue(T)), ("No script has been found on pool account " + T)) | |
412 | + | let cj = getBinaryValue(G()) | |
413 | + | let ck = getString(this, aa(toString(cf), toString(ch))) | |
414 | + | if (isDefined(ck)) | |
432 | 415 | then throw((((("Pool " + bi) + "/") + bj) + " has already been activated.")) | |
433 | 416 | else { | |
434 | - | let | |
435 | - | let | |
417 | + | let cl = value(getString(this, aa(toString(cf), toString(ch)))) | |
418 | + | let cm = if ((bi == "WAVES")) | |
436 | 419 | then h | |
437 | 420 | else pow(10, 0, value(assetInfo(fromBase58String(bi))).decimals, 0, 0, DOWN) | |
438 | - | let | |
421 | + | let cn = if ((bj == "WAVES")) | |
439 | 422 | then h | |
440 | 423 | else pow(10, 0, value(assetInfo(fromBase58String(bj))).decimals, 0, 0, DOWN) | |
441 | - | let | |
442 | - | let bh = calculateAssetId( | |
443 | - | let | |
444 | - | let | |
445 | - | if (( | |
446 | - | then if (( | |
424 | + | let co = Issue(ca, cb, 1, 8, true) | |
425 | + | let bh = calculateAssetId(co) | |
426 | + | let cp = toBase58String(bh) | |
427 | + | let cq = invoke(addressFromStringValue(T), "activate", [bi, bj], nil) | |
428 | + | if ((cq == cq)) | |
429 | + | then if ((cq != "success")) | |
447 | 430 | then throw("Pool initialisation error happened.") | |
448 | 431 | else { | |
449 | - | let | |
450 | - | let | |
451 | - | if (( | |
432 | + | let bR = addressFromStringValue(aq(N())) | |
433 | + | let cr = invoke(bR, "createOrUpdate", [cp, ca, false], nil) | |
434 | + | if ((cr == cr)) | |
452 | 435 | then { | |
453 | - | let | |
454 | - | if (( | |
436 | + | let cs = invoke(bR, "addLabel", [cp, g], nil) | |
437 | + | if ((cs == cs)) | |
455 | 438 | then { | |
456 | - | let | |
457 | - | if (( | |
439 | + | let ct = invoke(bR, "setLogo", [cp, cd], nil) | |
440 | + | if ((ct == ct)) | |
458 | 441 | then { | |
459 | - | let | |
460 | - | if (( | |
442 | + | let cu = invoke(bR, "addAssetsLink", [bi, bj, cp], nil) | |
443 | + | if ((cu == cu)) | |
461 | 444 | then { | |
462 | - | let | |
463 | - | if (( | |
464 | - | then $Tuple2((( | |
445 | + | let cv = invoke(bR, "increaseAssetPoolsNumber", [bi], nil) | |
446 | + | if ((cv == cv)) | |
447 | + | then $Tuple2(((ce._2 ++ cg._2) ++ [co, Burn(bh, 1), StringEntry(aa(toString(cf), toString(ch)), bf(T, toString(k), cp, bi, bj, cm, cn, cf, ch, h, bp)), StringEntry(ad(cp), bq(cf, ch)), StringEntry(af(toString(cf), toString(ch)), ("%s__" + cp)), StringEntry(ai(T), bq(cf, ch)), StringEntry(ak(cf, ch), T), StringEntry(am(cp), T), StringEntry(al(T), cp), IntegerEntry(S(T), cc), StringEntry(F(), bC(cp))]), cp) | |
465 | 448 | else throw("Strict value is not equal to itself.") | |
466 | 449 | } | |
467 | 450 | else throw("Strict value is not equal to itself.") | |
481 | 464 | ||
482 | 465 | ||
483 | 466 | @Callable(aP) | |
484 | - | func managePool (T, | |
485 | - | let | |
486 | - | if (( | |
467 | + | func managePool (T,cw) = { | |
468 | + | let bM = aO(aP) | |
469 | + | if ((bM == bM)) | |
487 | 470 | then { | |
488 | - | let | |
489 | - | let bg = | |
490 | - | let | |
491 | - | let bi = | |
492 | - | let bj = | |
493 | - | let | |
494 | - | let | |
495 | - | let | |
496 | - | let | |
497 | - | let | |
498 | - | let bp = | |
499 | - | [StringEntry(aa(toString( | |
471 | + | let ck = bt(T) | |
472 | + | let bg = ck[s] | |
473 | + | let cp = ck[t] | |
474 | + | let bi = ck[u] | |
475 | + | let bj = ck[v] | |
476 | + | let cm = parseIntValue(ck[w]) | |
477 | + | let cn = parseIntValue(ck[x]) | |
478 | + | let cf = parseIntValue(ck[y]) | |
479 | + | let ch = parseIntValue(ck[z]) | |
480 | + | let cx = parseIntValue(ck[A]) | |
481 | + | let bp = ck[B] | |
482 | + | [StringEntry(aa(toString(cf), toString(ch)), bf(T, toString(cw), cp, bi, bj, cm, cn, cf, ch, cx, bp))] | |
500 | 483 | } | |
501 | 484 | else throw("Strict value is not equal to itself.") | |
502 | 485 | } | |
504 | 487 | ||
505 | 488 | ||
506 | 489 | @Callable(aP) | |
507 | - | func emit ( | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | if ((0 >= | |
490 | + | func emit (cy) = { | |
491 | + | let cz = aP.caller | |
492 | + | let cA = aP.originCaller | |
493 | + | let cB = valueOrErrorMessage(getString(al(toString(cz))), "Invalid LP address called me.") | |
494 | + | let cC = fromBase58String(cB) | |
495 | + | let bQ = split(valueOrElse(getString(J()), j), i) | |
496 | + | let bP = addressFromStringValue(valueOrErrorMessage(getString(I()), "Legacy factory contract does not exists.")) | |
497 | + | if ((0 >= cy)) | |
515 | 498 | then nil | |
516 | - | else if (containsElement( | |
517 | - | then $Tuple2(nil, | |
518 | - | else $Tuple2([Reissue( | |
499 | + | else if (containsElement(bQ, toString(cz))) | |
500 | + | then $Tuple2(nil, bP) | |
501 | + | else $Tuple2([Reissue(cC, cy, true), ScriptTransfer(aP.caller, cy, cC)], "success") | |
519 | 502 | } | |
520 | 503 | ||
521 | 504 | ||
522 | 505 | ||
523 | 506 | @Callable(aP) | |
524 | - | func burn ( | |
525 | - | let | |
526 | - | let | |
527 | - | let | |
528 | - | let | |
529 | - | let | |
530 | - | let | |
531 | - | if (( | |
507 | + | func burn (cD) = { | |
508 | + | let cz = aP.caller | |
509 | + | let cA = aP.originCaller | |
510 | + | let cE = value(aP.payments[0]) | |
511 | + | let cF = value(cE.amount) | |
512 | + | let cG = toBase58String(value(cE.assetId)) | |
513 | + | let cH = valueOrErrorMessage(getString(al(toString(cz))), "Invalid LP address called me.") | |
514 | + | if ((cG != cH)) | |
532 | 515 | then throw("Invalid asset passed.") | |
533 | - | else if (( | |
516 | + | else if ((cD != cF)) | |
534 | 517 | then throw("Invalid amount passed.") | |
535 | 518 | else { | |
536 | - | let | |
537 | - | $Tuple2([Burn( | |
519 | + | let cC = fromBase58String(cH) | |
520 | + | $Tuple2([Burn(cC, cD)], "success") | |
538 | 521 | } | |
539 | 522 | } | |
540 | 523 | ||
541 | 524 | ||
542 | 525 | ||
543 | 526 | @Callable(aP) | |
544 | - | func modifyWeight (bh, | |
545 | - | let | |
527 | + | func modifyWeight (bh,cI) = { | |
528 | + | let bM = if ((toBase58String(aP.caller.bytes) == valueOrElse(getString(this, O()), ""))) | |
546 | 529 | then true | |
547 | 530 | else aO(aP) | |
548 | - | if (( | |
531 | + | if ((bM == bM)) | |
549 | 532 | then { | |
550 | 533 | let aj = aq(am(bh)) | |
551 | - | let | |
552 | - | let | |
553 | - | let | |
554 | - | let | |
534 | + | let cJ = S(aj) | |
535 | + | let cK = valueOrElse(getInteger(S(f)), 0) | |
536 | + | let cc = valueOrElse(getInteger(cJ), 0) | |
537 | + | let cL = fraction(cI, (e - cK), e) | |
555 | 538 | let aG = split(aq(E()), i) | |
556 | - | let | |
557 | - | let | |
558 | - | if (( | |
559 | - | then [IntegerEntry( | |
539 | + | let bI = aI(aG) | |
540 | + | let cM = invoke(bI, "onModifyWeight", [bh, aj], nil) | |
541 | + | if ((cM == cM)) | |
542 | + | then [IntegerEntry(cJ, cL)] | |
560 | 543 | else throw("Strict value is not equal to itself.") | |
561 | 544 | } | |
562 | 545 | else throw("Strict value is not equal to itself.") | |
565 | 548 | ||
566 | 549 | ||
567 | 550 | @Callable(aP) | |
568 | - | func modifyWeights (cQ | |
569 | - | let | |
570 | - | if (( | |
551 | + | func modifyWeights (cN,cO,cP,cQ) = { | |
552 | + | let bM = aO(aP) | |
553 | + | if ((bM == bM)) | |
571 | 554 | then { | |
572 | - | let | |
573 | - | let | |
574 | - | let | |
555 | + | let cR = ((5 * e) / 100) | |
556 | + | let cS = ((5 * e) / 100) | |
557 | + | let cT = ((5 * e) / 100) | |
575 | 558 | let aG = split(aq(E()), i) | |
576 | - | let cX = aI(aG) | |
577 | - | let cY = aJ(aG) | |
559 | + | let cU = aI(aG) | |
560 | + | let cV = aJ(aG) | |
561 | + | let cW = S(cN) | |
562 | + | let cX = S(cO) | |
563 | + | let cY = S(cP) | |
578 | 564 | let cZ = S(cQ) | |
579 | - | let da = S(cR) | |
580 | - | let db = S(cS) | |
581 | - | let dc = S(cT) | |
582 | - | let dd = at(cZ) | |
583 | - | let de = at(da) | |
584 | - | let df = (dd - cW) | |
585 | - | let dg = (de - cW) | |
586 | - | if ((0 >= df)) | |
587 | - | then throw(("invalid btcWeightNew: " + toString(df))) | |
588 | - | else if ((0 >= dg)) | |
589 | - | then throw(("invalid ethWeightNew: " + toString(dg))) | |
565 | + | let da = at(cW) | |
566 | + | let db = at(cX) | |
567 | + | let dc = (da - cT) | |
568 | + | let dd = (db - cT) | |
569 | + | if ((0 >= dc)) | |
570 | + | then throw(("invalid btcWeightNew: " + toString(dc))) | |
571 | + | else if ((0 >= dd)) | |
572 | + | then throw(("invalid ethWeightNew: " + toString(dd))) | |
590 | 573 | else { | |
574 | + | let de = aq(al(cN)) | |
575 | + | let df = aq(al(cO)) | |
576 | + | let dg = aq(al(cP)) | |
591 | 577 | let dh = aq(al(cQ)) | |
592 | - | let di = aq(al(cR)) | |
593 | - | let dj = aq(al(cS)) | |
594 | - | let dk = aq(al(cT)) | |
595 | - | let dl = invoke(cX, "onModifyWeight", [dh, cQ], nil) | |
596 | - | if ((dl == dl)) | |
578 | + | let di = invoke(cU, "onModifyWeight", [de, cN], nil) | |
579 | + | if ((di == di)) | |
597 | 580 | then { | |
598 | - | let | |
599 | - | if (( | |
581 | + | let dj = invoke(cU, "onModifyWeight", [df, cO], nil) | |
582 | + | if ((dj == dj)) | |
600 | 583 | then { | |
601 | - | let | |
602 | - | if (( | |
584 | + | let dk = invoke(cU, "onModifyWeight", [dg, cP], nil) | |
585 | + | if ((dk == dk)) | |
603 | 586 | then { | |
604 | - | let | |
605 | - | if (( | |
606 | - | then [IntegerEntry( | |
587 | + | let dl = invoke(cU, "onModifyWeight", [dh, cQ], nil) | |
588 | + | if ((dl == dl)) | |
589 | + | then [IntegerEntry(cW, dc), IntegerEntry(cX, dd), IntegerEntry(cY, cR), IntegerEntry(cZ, cS), IntegerEntry(U(cN, 0), da), IntegerEntry(U(cO, 0), db), IntegerEntry(U(cP, 0), cR), IntegerEntry(U(cQ, 0), cS)] | |
607 | 590 | else throw("Strict value is not equal to itself.") | |
608 | 591 | } | |
609 | 592 | else throw("Strict value is not equal to itself.") | |
620 | 603 | ||
621 | 604 | @Callable(aP) | |
622 | 605 | func checkWxEmissionPoolLabel (ao,ap) = { | |
623 | - | let | |
606 | + | let dm = { | |
624 | 607 | let aL = getBoolean(an(ao, ap)) | |
625 | 608 | if ($isInstanceOf(aL, "Boolean")) | |
626 | 609 | then { | |
627 | - | let | |
628 | - | | |
610 | + | let dn = aL | |
611 | + | dn | |
629 | 612 | } | |
630 | 613 | else false | |
631 | 614 | } | |
632 | - | $Tuple2(nil, | |
615 | + | $Tuple2(nil, dm) | |
633 | 616 | } | |
634 | 617 | ||
635 | 618 | ||
636 | 619 | ||
637 | 620 | @Callable(aP) | |
638 | 621 | func setWxEmissionPoolLabel (ao,ap) = { | |
639 | - | let | |
640 | - | if (( | |
622 | + | let bM = bF(aP) | |
623 | + | if ((bM == bM)) | |
641 | 624 | then $Tuple2([BooleanEntry(an(ao, ap), true)], unit) | |
642 | 625 | else throw("Strict value is not equal to itself.") | |
643 | 626 | } | |
646 | 629 | ||
647 | 630 | @Callable(aP) | |
648 | 631 | func deleteWxEmissionPoolLabel (ao,ap) = { | |
649 | - | let | |
650 | - | if (( | |
632 | + | let bM = bF(aP) | |
633 | + | if ((bM == bM)) | |
651 | 634 | then $Tuple2([DeleteEntry(an(ao, ap))], unit) | |
652 | 635 | else throw("Strict value is not equal to itself.") | |
653 | 636 | } | |
654 | 637 | ||
655 | 638 | ||
656 | - | ||
657 | - | @Callable(aP) | |
658 | - | func getPoolContractAddressAndLpAssetByAssetsREADONLY (ao,ap) = $Tuple2(nil, bK(ao, ap)) | |
659 | - | ||
660 | - | ||
661 | - | @Verifier(dr) | |
662 | - | func ds () = { | |
663 | - | let dt = { | |
639 | + | @Verifier(do) | |
640 | + | func dp () = { | |
641 | + | let dq = { | |
664 | 642 | let aL = aK() | |
665 | 643 | if ($isInstanceOf(aL, "ByteVector")) | |
666 | 644 | then { | |
668 | 646 | aR | |
669 | 647 | } | |
670 | 648 | else if ($isInstanceOf(aL, "Unit")) | |
671 | - | then | |
649 | + | then do.senderPublicKey | |
672 | 650 | else throw("Match error") | |
673 | 651 | } | |
674 | - | sigVerify( | |
652 | + | sigVerify(do.bodyBytes, do.proofs[0], dq) | |
675 | 653 | } | |
676 | 654 |
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 = b | |
13 | 13 | ||
14 | 14 | let f = "GWXvirtualPOOL" | |
15 | 15 | ||
16 | 16 | let g = "POOLS_LP" | |
17 | 17 | ||
18 | 18 | let h = ((100 * 1000) * 1000) | |
19 | 19 | ||
20 | 20 | let i = "__" | |
21 | 21 | ||
22 | 22 | let j = "" | |
23 | 23 | ||
24 | 24 | let k = 1 | |
25 | 25 | ||
26 | 26 | let l = 2 | |
27 | 27 | ||
28 | 28 | let m = 3 | |
29 | 29 | ||
30 | 30 | let n = 4 | |
31 | 31 | ||
32 | 32 | let o = 1 | |
33 | 33 | ||
34 | 34 | let p = 2 | |
35 | 35 | ||
36 | 36 | let q = 3 | |
37 | 37 | ||
38 | 38 | let r = 1 | |
39 | 39 | ||
40 | 40 | let s = 2 | |
41 | 41 | ||
42 | 42 | let t = 3 | |
43 | 43 | ||
44 | 44 | let u = 4 | |
45 | 45 | ||
46 | 46 | let v = 5 | |
47 | 47 | ||
48 | 48 | let w = 6 | |
49 | 49 | ||
50 | 50 | let x = 7 | |
51 | 51 | ||
52 | 52 | let y = 8 | |
53 | 53 | ||
54 | 54 | let z = 9 | |
55 | 55 | ||
56 | 56 | let A = 10 | |
57 | 57 | ||
58 | 58 | let B = 11 | |
59 | 59 | ||
60 | 60 | let C = "WX_EMISSION" | |
61 | 61 | ||
62 | 62 | let D = [C] | |
63 | 63 | ||
64 | 64 | func E () = "%s__factoryConfig" | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func F () = "%s__lpTokensList" | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func G () = "%s%s__pool__scriptHash" | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func H () = "%s%s__matcher__publicKey" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func I () = "%s__legacyFactoryContract" | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func J () = "%s__legacyPools" | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func K () = "%s__managerPublicKey" | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func L () = "%s__pendingManagerPublicKey" | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func M () = "%s__adminPubKeys" | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func N () = "%s__assetsStoreContract" | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func O () = "%s__votingEmissionContract" | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func P () = "%s__priceDecimals" | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func Q () = "%s__shutdown" | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func R () = "%s__nextInternalAssetId" | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func S (T) = ("%s%s__poolWeight__" + T) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func U (T,V) = ((("%s%s__poolWeight__" + T) + "__") + toString(V)) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func W (X) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(X)) | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func Y (Z) = ("%s%s%s__mappings__baseAsset2internalId__" + Z) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func aa (ab,ac) = (((("%d%d%s__" + ab) + "__") + ac) + "__config") | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func ad (ae) = (("%s%s%s__" + ae) + "__mappings__lpAsset2Pool") | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func af (ag,ah) = (((("%d%d%s%s__" + ag) + "__") + ah) + "__mappings__PoolAssets2LpAsset") | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func ai (aj) = (("%s%s%s__" + aj) + "__mappings__poolContract2PoolAssets") | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func ak (ag,ah) = (((("%d%d%s%s__" + toString(ag)) + "__") + toString(ah)) + "__mappings__poolAssets2PoolContract") | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func al (aj) = (("%s%s%s__" + aj) + "__mappings__poolContract2LpAsset") | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func am (ae) = (("%s%s%s__" + ae) + "__mappings__lpAsset2PoolContract") | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func an (ao,ap) = ((("%s%s%s__wxEmission__" + ao) + "__") + ap) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func aq (ar) = valueOrErrorMessage(getString(this, ar), ("No data for this.key=" + ar)) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func as (ar) = valueOrErrorMessage(getBoolean(this, ar), ("No data for this.key=" + ar)) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func at (ar) = valueOrErrorMessage(getInteger(this, ar), ("No data for this.key=" + ar)) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | let au = 1 | |
152 | 152 | ||
153 | 153 | let av = 2 | |
154 | 154 | ||
155 | 155 | let aw = 3 | |
156 | 156 | ||
157 | 157 | let ax = 4 | |
158 | 158 | ||
159 | 159 | let ay = 5 | |
160 | 160 | ||
161 | 161 | let az = 6 | |
162 | 162 | ||
163 | 163 | let aA = 7 | |
164 | 164 | ||
165 | 165 | let aB = 8 | |
166 | 166 | ||
167 | 167 | let aC = 9 | |
168 | 168 | ||
169 | 169 | let aD = 10 | |
170 | 170 | ||
171 | 171 | let aE = 11 | |
172 | 172 | ||
173 | 173 | func aF (aG) = addressFromStringValue(aG[av]) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func aH (aG) = addressFromStringValue(aG[ay]) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func aI (aG) = addressFromStringValue(aG[au]) | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func aJ (aG) = addressFromStringValue(aG[aD]) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func aK () = { | |
186 | 186 | let aL = getString(K()) | |
187 | 187 | if ($isInstanceOf(aL, "String")) | |
188 | 188 | then { | |
189 | 189 | let aM = aL | |
190 | 190 | fromBase58String(aM) | |
191 | 191 | } | |
192 | 192 | else if ($isInstanceOf(aL, "Unit")) | |
193 | 193 | then unit | |
194 | 194 | else throw("Match error") | |
195 | 195 | } | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aN () = { | |
199 | 199 | let aL = getString(L()) | |
200 | 200 | if ($isInstanceOf(aL, "String")) | |
201 | 201 | then { | |
202 | 202 | let aM = aL | |
203 | 203 | fromBase58String(aM) | |
204 | 204 | } | |
205 | 205 | else if ($isInstanceOf(aL, "Unit")) | |
206 | 206 | then unit | |
207 | 207 | else throw("Match error") | |
208 | 208 | } | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aO (aP) = { | |
212 | 212 | let aQ = throw("Permission denied") | |
213 | 213 | let aL = aK() | |
214 | 214 | if ($isInstanceOf(aL, "ByteVector")) | |
215 | 215 | then { | |
216 | 216 | let aR = aL | |
217 | 217 | if ((aP.callerPublicKey == aR)) | |
218 | 218 | then true | |
219 | 219 | else aQ | |
220 | 220 | } | |
221 | 221 | else if ($isInstanceOf(aL, "Unit")) | |
222 | 222 | then if ((aP.caller == this)) | |
223 | 223 | then true | |
224 | 224 | else aQ | |
225 | 225 | else throw("Match error") | |
226 | 226 | } | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | func aS (aT,aU,aV,aW,aX,aY,aZ,ba,bb,bc,bd) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", aT, aU, aV, aW, aX, aY, aZ, ba, bb, bc, bd], i) | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func be (aT,aU,aV,aW,aX,aY,aZ) = makeString(["%s%s%s%s%s%s", aT, aU, aV, aW, aX, aY, aZ], i) | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | func bf (T,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", T, bg, bh, bi, bj, toString(bk), toString(bl), toString(bm), toString(bn), toString(bo), bp], i) | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func bq (br,bs) = makeString(["%d%d", toString(br), toString(bs)], i) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func bt (T) = { | |
242 | 242 | let bu = split(aq(ai(T)), i) | |
243 | 243 | let ab = bu[1] | |
244 | 244 | let ac = bu[2] | |
245 | 245 | split(aq(aa(ab, ac)), i) | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | func bv (bw,bx) = { | |
250 | 250 | let by = valueOrElse(getInteger(this, Y(bw)), 0) | |
251 | 251 | let bz = valueOrElse(getInteger(this, R()), 0) | |
252 | 252 | let bA = if ((by == 0)) | |
253 | 253 | then { | |
254 | 254 | let bB = (bz + bx) | |
255 | 255 | $Tuple3(bB, [IntegerEntry(R(), bB), IntegerEntry(Y(bw), bB), StringEntry(W(bB), bw)], true) | |
256 | 256 | } | |
257 | 257 | else $Tuple3(by, nil, false) | |
258 | 258 | bA | |
259 | 259 | } | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func bC (bD) = { | |
263 | 263 | let bE = getString(this, F()) | |
264 | 264 | if (isDefined(bE)) | |
265 | 265 | then ((value(bE) + i) + bD) | |
266 | 266 | else bD | |
267 | 267 | } | |
268 | 268 | ||
269 | 269 | ||
270 | 270 | func bF (aP) = { | |
271 | 271 | let bG = split(valueOrElse(getString(M()), j), i) | |
272 | 272 | if (containsElement(bG, toBase58String(aP.callerPublicKey))) | |
273 | 273 | then true | |
274 | 274 | else { | |
275 | 275 | let bH = aO(aP) | |
276 | 276 | if ((bH == bH)) | |
277 | 277 | then true | |
278 | 278 | else throw("Strict value is not equal to itself.") | |
279 | 279 | } | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | - | func bI (ao,ap) = { | |
284 | - | let bm = at(Y(ao)) | |
285 | - | let bn = at(Y(ap)) | |
286 | - | aq(ak(bm, bn)) | |
287 | - | } | |
288 | - | ||
289 | - | ||
290 | - | func bJ (aj) = aq(al(aj)) | |
291 | - | ||
292 | - | ||
293 | - | func bK (ao,ap) = { | |
294 | - | let aj = bI(ao, ap) | |
295 | - | let bh = bJ(aj) | |
296 | - | $Tuple2(aj, bh) | |
297 | - | } | |
298 | - | ||
299 | - | ||
300 | 283 | @Callable(aP) | |
301 | - | func constructor ( | |
302 | - | let | |
303 | - | if (( | |
304 | - | then [StringEntry(E(), be( | |
284 | + | func constructor (bI,bJ,aV,aW,aX,aY,bK,bL) = { | |
285 | + | let bM = aO(aP) | |
286 | + | if ((bM == bM)) | |
287 | + | then [StringEntry(E(), be(bI, bJ, aV, aW, aX, aY, bK)), IntegerEntry(P(), bL)] | |
305 | 288 | else throw("Strict value is not equal to itself.") | |
306 | 289 | } | |
307 | 290 | ||
308 | 291 | ||
309 | 292 | ||
310 | 293 | @Callable(aP) | |
311 | - | func constructorV2 ( | |
312 | - | let | |
313 | - | if (( | |
294 | + | func constructorV2 (bN) = { | |
295 | + | let bM = aO(aP) | |
296 | + | if ((bM == bM)) | |
314 | 297 | then { | |
315 | - | let | |
316 | - | if (( | |
317 | - | then [StringEntry(H(), | |
298 | + | let bO = addressFromPublicKey(fromBase58String(bN)) | |
299 | + | if ((bO == bO)) | |
300 | + | then [StringEntry(H(), bN)] | |
318 | 301 | else throw("Strict value is not equal to itself.") | |
319 | 302 | } | |
320 | 303 | else throw("Strict value is not equal to itself.") | |
321 | 304 | } | |
322 | 305 | ||
323 | 306 | ||
324 | 307 | ||
325 | 308 | @Callable(aP) | |
326 | 309 | func constructorV3 (ba,bb,bc,bd) = { | |
327 | - | let | |
328 | - | if (( | |
310 | + | let bM = aO(aP) | |
311 | + | if ((bM == bM)) | |
329 | 312 | then { | |
330 | 313 | let aG = split(aq(E()), i) | |
331 | 314 | [StringEntry(E(), aS(aG[1], aG[2], aG[3], aG[4], aG[5], aG[6], aG[7], ba, bb, bc, bd))] | |
332 | 315 | } | |
333 | 316 | else throw("Strict value is not equal to itself.") | |
334 | 317 | } | |
335 | 318 | ||
336 | 319 | ||
337 | 320 | ||
338 | 321 | @Callable(aP) | |
339 | - | func constructorV4 ( | |
340 | - | let | |
341 | - | if (( | |
342 | - | then [StringEntry(I(), | |
322 | + | func constructorV4 (bP,bQ) = { | |
323 | + | let bM = aO(aP) | |
324 | + | if ((bM == bM)) | |
325 | + | then [StringEntry(I(), bP), StringEntry(J(), makeString(bQ, i))] | |
343 | 326 | else throw("Strict value is not equal to itself.") | |
344 | 327 | } | |
345 | 328 | ||
346 | 329 | ||
347 | 330 | ||
348 | 331 | @Callable(aP) | |
349 | - | func constructorV5 ( | |
350 | - | let | |
351 | - | if (( | |
352 | - | then [StringEntry(N(), | |
332 | + | func constructorV5 (bR) = { | |
333 | + | let bM = aO(aP) | |
334 | + | if ((bM == bM)) | |
335 | + | then [StringEntry(N(), bR)] | |
353 | 336 | else throw("Strict value is not equal to itself.") | |
354 | 337 | } | |
355 | 338 | ||
356 | 339 | ||
357 | 340 | ||
358 | 341 | @Callable(aP) | |
359 | - | func constructorV6 ( | |
360 | - | let | |
342 | + | func constructorV6 (bS) = { | |
343 | + | let bT = [aO(aP), if ((addressFromString(bS) != unit)) | |
361 | 344 | then true | |
362 | 345 | else "invalid voting emission contract address"] | |
363 | - | if (( | |
364 | - | then [StringEntry(O(), | |
346 | + | if ((bT == bT)) | |
347 | + | then [StringEntry(O(), bS)] | |
365 | 348 | else throw("Strict value is not equal to itself.") | |
366 | 349 | } | |
367 | 350 | ||
368 | 351 | ||
369 | 352 | ||
370 | 353 | @Callable(aP) | |
371 | - | func setManager ( | |
372 | - | let | |
373 | - | if (( | |
354 | + | func setManager (bU) = { | |
355 | + | let bM = aO(aP) | |
356 | + | if ((bM == bM)) | |
374 | 357 | then { | |
375 | - | let | |
376 | - | if (( | |
377 | - | then [StringEntry(L(), | |
358 | + | let bV = fromBase58String(bU) | |
359 | + | if ((bV == bV)) | |
360 | + | then [StringEntry(L(), bU)] | |
378 | 361 | else throw("Strict value is not equal to itself.") | |
379 | 362 | } | |
380 | 363 | else throw("Strict value is not equal to itself.") | |
381 | 364 | } | |
382 | 365 | ||
383 | 366 | ||
384 | 367 | ||
385 | 368 | @Callable(aP) | |
386 | 369 | func confirmManager () = { | |
387 | - | let | |
388 | - | let | |
370 | + | let bW = aN() | |
371 | + | let bX = if (isDefined(bW)) | |
389 | 372 | then true | |
390 | 373 | else throw("No pending manager") | |
391 | - | if (( | |
374 | + | if ((bX == bX)) | |
392 | 375 | then { | |
393 | - | let | |
376 | + | let bY = if ((aP.callerPublicKey == value(bW))) | |
394 | 377 | then true | |
395 | 378 | else throw("You are not pending manager") | |
396 | - | if (( | |
397 | - | then [StringEntry(K(), toBase58String(value( | |
379 | + | if ((bY == bY)) | |
380 | + | then [StringEntry(K(), toBase58String(value(bW))), DeleteEntry(L())] | |
398 | 381 | else throw("Strict value is not equal to itself.") | |
399 | 382 | } | |
400 | 383 | else throw("Strict value is not equal to itself.") | |
401 | 384 | } | |
402 | 385 | ||
403 | 386 | ||
404 | 387 | ||
405 | 388 | @Callable(aP) | |
406 | - | func setAdmins ( | |
407 | - | let | |
408 | - | if (( | |
409 | - | then [StringEntry(M(), makeString( | |
389 | + | func setAdmins (bZ) = { | |
390 | + | let bM = aO(aP) | |
391 | + | if ((bM == bM)) | |
392 | + | then [StringEntry(M(), makeString(bZ, i))] | |
410 | 393 | else throw("Strict value is not equal to itself.") | |
411 | 394 | } | |
412 | 395 | ||
413 | 396 | ||
414 | 397 | ||
415 | 398 | @Callable(aP) | |
416 | - | func activateNewPool (T,bi,bj, | |
417 | - | let | |
418 | - | if (( | |
399 | + | func activateNewPool (T,bi,bj,ca,cb,cc,bp,cd) = { | |
400 | + | let bM = bF(aP) | |
401 | + | if ((bM == bM)) | |
419 | 402 | then if (isDefined(getString(ai(T)))) | |
420 | 403 | then throw((("Pool address " + T) + " already registered.")) | |
421 | 404 | else { | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
405 | + | let ce = bv(bi, 1) | |
406 | + | let cf = ce._1 | |
407 | + | let cg = bv(bj, if (ce._3) | |
425 | 408 | then 2 | |
426 | 409 | else 1) | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | if (isDefined( | |
410 | + | let ch = cg._1 | |
411 | + | let ci = valueOrErrorMessage(scriptHash(addressFromStringValue(T)), ("No script has been found on pool account " + T)) | |
412 | + | let cj = getBinaryValue(G()) | |
413 | + | let ck = getString(this, aa(toString(cf), toString(ch))) | |
414 | + | if (isDefined(ck)) | |
432 | 415 | then throw((((("Pool " + bi) + "/") + bj) + " has already been activated.")) | |
433 | 416 | else { | |
434 | - | let | |
435 | - | let | |
417 | + | let cl = value(getString(this, aa(toString(cf), toString(ch)))) | |
418 | + | let cm = if ((bi == "WAVES")) | |
436 | 419 | then h | |
437 | 420 | else pow(10, 0, value(assetInfo(fromBase58String(bi))).decimals, 0, 0, DOWN) | |
438 | - | let | |
421 | + | let cn = if ((bj == "WAVES")) | |
439 | 422 | then h | |
440 | 423 | else pow(10, 0, value(assetInfo(fromBase58String(bj))).decimals, 0, 0, DOWN) | |
441 | - | let | |
442 | - | let bh = calculateAssetId( | |
443 | - | let | |
444 | - | let | |
445 | - | if (( | |
446 | - | then if (( | |
424 | + | let co = Issue(ca, cb, 1, 8, true) | |
425 | + | let bh = calculateAssetId(co) | |
426 | + | let cp = toBase58String(bh) | |
427 | + | let cq = invoke(addressFromStringValue(T), "activate", [bi, bj], nil) | |
428 | + | if ((cq == cq)) | |
429 | + | then if ((cq != "success")) | |
447 | 430 | then throw("Pool initialisation error happened.") | |
448 | 431 | else { | |
449 | - | let | |
450 | - | let | |
451 | - | if (( | |
432 | + | let bR = addressFromStringValue(aq(N())) | |
433 | + | let cr = invoke(bR, "createOrUpdate", [cp, ca, false], nil) | |
434 | + | if ((cr == cr)) | |
452 | 435 | then { | |
453 | - | let | |
454 | - | if (( | |
436 | + | let cs = invoke(bR, "addLabel", [cp, g], nil) | |
437 | + | if ((cs == cs)) | |
455 | 438 | then { | |
456 | - | let | |
457 | - | if (( | |
439 | + | let ct = invoke(bR, "setLogo", [cp, cd], nil) | |
440 | + | if ((ct == ct)) | |
458 | 441 | then { | |
459 | - | let | |
460 | - | if (( | |
442 | + | let cu = invoke(bR, "addAssetsLink", [bi, bj, cp], nil) | |
443 | + | if ((cu == cu)) | |
461 | 444 | then { | |
462 | - | let | |
463 | - | if (( | |
464 | - | then $Tuple2((( | |
445 | + | let cv = invoke(bR, "increaseAssetPoolsNumber", [bi], nil) | |
446 | + | if ((cv == cv)) | |
447 | + | then $Tuple2(((ce._2 ++ cg._2) ++ [co, Burn(bh, 1), StringEntry(aa(toString(cf), toString(ch)), bf(T, toString(k), cp, bi, bj, cm, cn, cf, ch, h, bp)), StringEntry(ad(cp), bq(cf, ch)), StringEntry(af(toString(cf), toString(ch)), ("%s__" + cp)), StringEntry(ai(T), bq(cf, ch)), StringEntry(ak(cf, ch), T), StringEntry(am(cp), T), StringEntry(al(T), cp), IntegerEntry(S(T), cc), StringEntry(F(), bC(cp))]), cp) | |
465 | 448 | else throw("Strict value is not equal to itself.") | |
466 | 449 | } | |
467 | 450 | else throw("Strict value is not equal to itself.") | |
468 | 451 | } | |
469 | 452 | else throw("Strict value is not equal to itself.") | |
470 | 453 | } | |
471 | 454 | else throw("Strict value is not equal to itself.") | |
472 | 455 | } | |
473 | 456 | else throw("Strict value is not equal to itself.") | |
474 | 457 | } | |
475 | 458 | else throw("Strict value is not equal to itself.") | |
476 | 459 | } | |
477 | 460 | } | |
478 | 461 | else throw("Strict value is not equal to itself.") | |
479 | 462 | } | |
480 | 463 | ||
481 | 464 | ||
482 | 465 | ||
483 | 466 | @Callable(aP) | |
484 | - | func managePool (T, | |
485 | - | let | |
486 | - | if (( | |
467 | + | func managePool (T,cw) = { | |
468 | + | let bM = aO(aP) | |
469 | + | if ((bM == bM)) | |
487 | 470 | then { | |
488 | - | let | |
489 | - | let bg = | |
490 | - | let | |
491 | - | let bi = | |
492 | - | let bj = | |
493 | - | let | |
494 | - | let | |
495 | - | let | |
496 | - | let | |
497 | - | let | |
498 | - | let bp = | |
499 | - | [StringEntry(aa(toString( | |
471 | + | let ck = bt(T) | |
472 | + | let bg = ck[s] | |
473 | + | let cp = ck[t] | |
474 | + | let bi = ck[u] | |
475 | + | let bj = ck[v] | |
476 | + | let cm = parseIntValue(ck[w]) | |
477 | + | let cn = parseIntValue(ck[x]) | |
478 | + | let cf = parseIntValue(ck[y]) | |
479 | + | let ch = parseIntValue(ck[z]) | |
480 | + | let cx = parseIntValue(ck[A]) | |
481 | + | let bp = ck[B] | |
482 | + | [StringEntry(aa(toString(cf), toString(ch)), bf(T, toString(cw), cp, bi, bj, cm, cn, cf, ch, cx, bp))] | |
500 | 483 | } | |
501 | 484 | else throw("Strict value is not equal to itself.") | |
502 | 485 | } | |
503 | 486 | ||
504 | 487 | ||
505 | 488 | ||
506 | 489 | @Callable(aP) | |
507 | - | func emit ( | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | if ((0 >= | |
490 | + | func emit (cy) = { | |
491 | + | let cz = aP.caller | |
492 | + | let cA = aP.originCaller | |
493 | + | let cB = valueOrErrorMessage(getString(al(toString(cz))), "Invalid LP address called me.") | |
494 | + | let cC = fromBase58String(cB) | |
495 | + | let bQ = split(valueOrElse(getString(J()), j), i) | |
496 | + | let bP = addressFromStringValue(valueOrErrorMessage(getString(I()), "Legacy factory contract does not exists.")) | |
497 | + | if ((0 >= cy)) | |
515 | 498 | then nil | |
516 | - | else if (containsElement( | |
517 | - | then $Tuple2(nil, | |
518 | - | else $Tuple2([Reissue( | |
499 | + | else if (containsElement(bQ, toString(cz))) | |
500 | + | then $Tuple2(nil, bP) | |
501 | + | else $Tuple2([Reissue(cC, cy, true), ScriptTransfer(aP.caller, cy, cC)], "success") | |
519 | 502 | } | |
520 | 503 | ||
521 | 504 | ||
522 | 505 | ||
523 | 506 | @Callable(aP) | |
524 | - | func burn ( | |
525 | - | let | |
526 | - | let | |
527 | - | let | |
528 | - | let | |
529 | - | let | |
530 | - | let | |
531 | - | if (( | |
507 | + | func burn (cD) = { | |
508 | + | let cz = aP.caller | |
509 | + | let cA = aP.originCaller | |
510 | + | let cE = value(aP.payments[0]) | |
511 | + | let cF = value(cE.amount) | |
512 | + | let cG = toBase58String(value(cE.assetId)) | |
513 | + | let cH = valueOrErrorMessage(getString(al(toString(cz))), "Invalid LP address called me.") | |
514 | + | if ((cG != cH)) | |
532 | 515 | then throw("Invalid asset passed.") | |
533 | - | else if (( | |
516 | + | else if ((cD != cF)) | |
534 | 517 | then throw("Invalid amount passed.") | |
535 | 518 | else { | |
536 | - | let | |
537 | - | $Tuple2([Burn( | |
519 | + | let cC = fromBase58String(cH) | |
520 | + | $Tuple2([Burn(cC, cD)], "success") | |
538 | 521 | } | |
539 | 522 | } | |
540 | 523 | ||
541 | 524 | ||
542 | 525 | ||
543 | 526 | @Callable(aP) | |
544 | - | func modifyWeight (bh, | |
545 | - | let | |
527 | + | func modifyWeight (bh,cI) = { | |
528 | + | let bM = if ((toBase58String(aP.caller.bytes) == valueOrElse(getString(this, O()), ""))) | |
546 | 529 | then true | |
547 | 530 | else aO(aP) | |
548 | - | if (( | |
531 | + | if ((bM == bM)) | |
549 | 532 | then { | |
550 | 533 | let aj = aq(am(bh)) | |
551 | - | let | |
552 | - | let | |
553 | - | let | |
554 | - | let | |
534 | + | let cJ = S(aj) | |
535 | + | let cK = valueOrElse(getInteger(S(f)), 0) | |
536 | + | let cc = valueOrElse(getInteger(cJ), 0) | |
537 | + | let cL = fraction(cI, (e - cK), e) | |
555 | 538 | let aG = split(aq(E()), i) | |
556 | - | let | |
557 | - | let | |
558 | - | if (( | |
559 | - | then [IntegerEntry( | |
539 | + | let bI = aI(aG) | |
540 | + | let cM = invoke(bI, "onModifyWeight", [bh, aj], nil) | |
541 | + | if ((cM == cM)) | |
542 | + | then [IntegerEntry(cJ, cL)] | |
560 | 543 | else throw("Strict value is not equal to itself.") | |
561 | 544 | } | |
562 | 545 | else throw("Strict value is not equal to itself.") | |
563 | 546 | } | |
564 | 547 | ||
565 | 548 | ||
566 | 549 | ||
567 | 550 | @Callable(aP) | |
568 | - | func modifyWeights (cQ | |
569 | - | let | |
570 | - | if (( | |
551 | + | func modifyWeights (cN,cO,cP,cQ) = { | |
552 | + | let bM = aO(aP) | |
553 | + | if ((bM == bM)) | |
571 | 554 | then { | |
572 | - | let | |
573 | - | let | |
574 | - | let | |
555 | + | let cR = ((5 * e) / 100) | |
556 | + | let cS = ((5 * e) / 100) | |
557 | + | let cT = ((5 * e) / 100) | |
575 | 558 | let aG = split(aq(E()), i) | |
576 | - | let cX = aI(aG) | |
577 | - | let cY = aJ(aG) | |
559 | + | let cU = aI(aG) | |
560 | + | let cV = aJ(aG) | |
561 | + | let cW = S(cN) | |
562 | + | let cX = S(cO) | |
563 | + | let cY = S(cP) | |
578 | 564 | let cZ = S(cQ) | |
579 | - | let da = S(cR) | |
580 | - | let db = S(cS) | |
581 | - | let dc = S(cT) | |
582 | - | let dd = at(cZ) | |
583 | - | let de = at(da) | |
584 | - | let df = (dd - cW) | |
585 | - | let dg = (de - cW) | |
586 | - | if ((0 >= df)) | |
587 | - | then throw(("invalid btcWeightNew: " + toString(df))) | |
588 | - | else if ((0 >= dg)) | |
589 | - | then throw(("invalid ethWeightNew: " + toString(dg))) | |
565 | + | let da = at(cW) | |
566 | + | let db = at(cX) | |
567 | + | let dc = (da - cT) | |
568 | + | let dd = (db - cT) | |
569 | + | if ((0 >= dc)) | |
570 | + | then throw(("invalid btcWeightNew: " + toString(dc))) | |
571 | + | else if ((0 >= dd)) | |
572 | + | then throw(("invalid ethWeightNew: " + toString(dd))) | |
590 | 573 | else { | |
574 | + | let de = aq(al(cN)) | |
575 | + | let df = aq(al(cO)) | |
576 | + | let dg = aq(al(cP)) | |
591 | 577 | let dh = aq(al(cQ)) | |
592 | - | let di = aq(al(cR)) | |
593 | - | let dj = aq(al(cS)) | |
594 | - | let dk = aq(al(cT)) | |
595 | - | let dl = invoke(cX, "onModifyWeight", [dh, cQ], nil) | |
596 | - | if ((dl == dl)) | |
578 | + | let di = invoke(cU, "onModifyWeight", [de, cN], nil) | |
579 | + | if ((di == di)) | |
597 | 580 | then { | |
598 | - | let | |
599 | - | if (( | |
581 | + | let dj = invoke(cU, "onModifyWeight", [df, cO], nil) | |
582 | + | if ((dj == dj)) | |
600 | 583 | then { | |
601 | - | let | |
602 | - | if (( | |
584 | + | let dk = invoke(cU, "onModifyWeight", [dg, cP], nil) | |
585 | + | if ((dk == dk)) | |
603 | 586 | then { | |
604 | - | let | |
605 | - | if (( | |
606 | - | then [IntegerEntry( | |
587 | + | let dl = invoke(cU, "onModifyWeight", [dh, cQ], nil) | |
588 | + | if ((dl == dl)) | |
589 | + | then [IntegerEntry(cW, dc), IntegerEntry(cX, dd), IntegerEntry(cY, cR), IntegerEntry(cZ, cS), IntegerEntry(U(cN, 0), da), IntegerEntry(U(cO, 0), db), IntegerEntry(U(cP, 0), cR), IntegerEntry(U(cQ, 0), cS)] | |
607 | 590 | else throw("Strict value is not equal to itself.") | |
608 | 591 | } | |
609 | 592 | else throw("Strict value is not equal to itself.") | |
610 | 593 | } | |
611 | 594 | else throw("Strict value is not equal to itself.") | |
612 | 595 | } | |
613 | 596 | else throw("Strict value is not equal to itself.") | |
614 | 597 | } | |
615 | 598 | } | |
616 | 599 | else throw("Strict value is not equal to itself.") | |
617 | 600 | } | |
618 | 601 | ||
619 | 602 | ||
620 | 603 | ||
621 | 604 | @Callable(aP) | |
622 | 605 | func checkWxEmissionPoolLabel (ao,ap) = { | |
623 | - | let | |
606 | + | let dm = { | |
624 | 607 | let aL = getBoolean(an(ao, ap)) | |
625 | 608 | if ($isInstanceOf(aL, "Boolean")) | |
626 | 609 | then { | |
627 | - | let | |
628 | - | | |
610 | + | let dn = aL | |
611 | + | dn | |
629 | 612 | } | |
630 | 613 | else false | |
631 | 614 | } | |
632 | - | $Tuple2(nil, | |
615 | + | $Tuple2(nil, dm) | |
633 | 616 | } | |
634 | 617 | ||
635 | 618 | ||
636 | 619 | ||
637 | 620 | @Callable(aP) | |
638 | 621 | func setWxEmissionPoolLabel (ao,ap) = { | |
639 | - | let | |
640 | - | if (( | |
622 | + | let bM = bF(aP) | |
623 | + | if ((bM == bM)) | |
641 | 624 | then $Tuple2([BooleanEntry(an(ao, ap), true)], unit) | |
642 | 625 | else throw("Strict value is not equal to itself.") | |
643 | 626 | } | |
644 | 627 | ||
645 | 628 | ||
646 | 629 | ||
647 | 630 | @Callable(aP) | |
648 | 631 | func deleteWxEmissionPoolLabel (ao,ap) = { | |
649 | - | let | |
650 | - | if (( | |
632 | + | let bM = bF(aP) | |
633 | + | if ((bM == bM)) | |
651 | 634 | then $Tuple2([DeleteEntry(an(ao, ap))], unit) | |
652 | 635 | else throw("Strict value is not equal to itself.") | |
653 | 636 | } | |
654 | 637 | ||
655 | 638 | ||
656 | - | ||
657 | - | @Callable(aP) | |
658 | - | func getPoolContractAddressAndLpAssetByAssetsREADONLY (ao,ap) = $Tuple2(nil, bK(ao, ap)) | |
659 | - | ||
660 | - | ||
661 | - | @Verifier(dr) | |
662 | - | func ds () = { | |
663 | - | let dt = { | |
639 | + | @Verifier(do) | |
640 | + | func dp () = { | |
641 | + | let dq = { | |
664 | 642 | let aL = aK() | |
665 | 643 | if ($isInstanceOf(aL, "ByteVector")) | |
666 | 644 | then { | |
667 | 645 | let aR = aL | |
668 | 646 | aR | |
669 | 647 | } | |
670 | 648 | else if ($isInstanceOf(aL, "Unit")) | |
671 | - | then | |
649 | + | then do.senderPublicKey | |
672 | 650 | else throw("Match error") | |
673 | 651 | } | |
674 | - | sigVerify( | |
652 | + | sigVerify(do.bodyBytes, do.proofs[0], dq) | |
675 | 653 | } | |
676 | 654 |
github/deemru/w8io/169f3d6 148.10 ms ◑