tx · HhEExXXR6RBqFX2afYjDTx6jSNQ4qMHxQjHf7kTV5rVX 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA: -0.03600000 Waves 2022.12.22 17:53 [2371643] smart account 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA > SELF 0.00000000 Waves
{ "type": 13, "id": "HhEExXXR6RBqFX2afYjDTx6jSNQ4qMHxQjHf7kTV5rVX", "fee": 3600000, "feeAssetId": null, "timestamp": 1671720814116, "version": 1, "sender": "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA", "senderPublicKey": "35yd3qw1gxKDxKwGAykHN9fANbXNWwseaUwbWDj24o3x", "proofs": [ "4R5GVwWuVtbFZ3pYZkWYeM7ABjsT8ck2UNJ6GoUsfC8sdLgPKUJY48vX77fB8uZV3ZTJ9hBTSuDsBBTqdy2eK8ZA" ], "script": "base64:BgKEKQgCEgMKAQgSAwoBCBIAEgQKAgEEEgQKAgEEEgASBAoCCAESABIECgIIARIECgIIARIECgIBARIDCgEBEgUKAwEBARIFCgMBCAESBAoCAQgSBAoCAQgSBAoCCAgSBAoCCAgSBAoCCAESABIDCgEIEgUKAwEBARIECgIIARIECgIBARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCBIAIgZzY2FsZTgiDHNjYWxlOEJpZ0ludCIHc2NhbGUxOCIKemVyb0JpZ0ludCIEYmlnMCIEYmlnMSIEYmlnMiIEYmlnMyIEYmlnNCIKc2xpcHBhZ2U0RCILd2F2ZXNTdHJpbmciBUFtdWx0IgVEY29udiIDU0VQIgVFTVBUWSIKUG9vbEFjdGl2ZSIKUG9vbFB1dERpcyIOUG9vbE1hdGNoZXJEaXMiDFBvb2xTaHV0ZG93biIOaWR4UG9vbEFkZHJlc3MiCWlkeFBvb2xTdCIJaWR4TFBBc0lkIglpZHhBbUFzSWQiCWlkeFByQXNJZCILaWR4QW10QXNEY20iDWlkeFByaWNlQXNEY20iC2lkeElBbXRBc0lkIg1pZHhJUHJpY2VB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kBBXZhbHVlAQgFAmRJBnNjcmlwdAQCaFgJANsEAQkBBXZhbHVlAQkAnQgCBQJhTQkBAmF6AAQCaFkJAPEHAQUEdGhpcwMDCQAAAgUCaFgFAmhXCQECIT0CBQJoWQUCaFcHBgkA9AMDCAUCaFAJYm9keUJ5dGVzCQCRAwIIBQJoUAZwcm9vZnMAAAUCaFIJAPQDAwgFAmhQCWJvZHlCeXRlcwkAkQMCCAUCaFAGcHJvb2ZzAAAFAmhSYt17yA==", "chainId": 84, "height": 2371643, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9kP9HwunocnQNNWKvfyKtEgzh15Enw1RZhP98ha9Ef3E Next: 5Uq8M2GmqCYEEhrsEfReByaEDDGB9Npsg7bhiE49Xni9 Diff:
Old | New | Differences | |
---|---|---|---|
1334 | 1334 | let hq = eP(-(cM), -(cN), 0) | |
1335 | 1335 | let gg = hq._1 | |
1336 | 1336 | let eG = hq._2 | |
1337 | - | let hr = if ((eG >= eO)) | |
1338 | - | then true | |
1339 | - | else aJ(makeString(["updated DLp lower than current DLp", toString(hl), toString(hm), toString(eO), toString(eG), toString(hn), toString(ho)], " ")) | |
1340 | - | if ((hr == hr)) | |
1337 | + | let gh = eT(eO, eG) | |
1338 | + | if ((gh == gh)) | |
1341 | 1339 | then (cO ++ gg) | |
1342 | 1340 | else throw("Strict value is not equal to itself.") | |
1343 | 1341 | } | |
1359 | 1357 | ||
1360 | 1358 | @Callable(dV) | |
1361 | 1359 | func unstakeAndGet (co) = { | |
1362 | - | let | |
1360 | + | let hr = if ((size(dV.payments) != 0)) | |
1363 | 1361 | then throw("No pmnts expd") | |
1364 | 1362 | else true | |
1365 | - | if (( | |
1363 | + | if ((hr == hr)) | |
1366 | 1364 | then { | |
1367 | - | let | |
1365 | + | let hs = bl() | |
1368 | 1366 | let gB = be | |
1369 | - | let | |
1367 | + | let ht = valueOrErrorMessage(addressFromString(hs[C]), "Wr st addr") | |
1370 | 1368 | let eO = eH(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1371 | - | let | |
1372 | - | if (( | |
1369 | + | let hu = invoke(ht, "unstake", [toBase58String(gB), co], nil) | |
1370 | + | if ((hu == hu)) | |
1373 | 1371 | then { | |
1374 | 1372 | let dk = cq(toBase58String(dV.transactionId), toBase58String(gB), co, dV.caller) | |
1375 | 1373 | let cM = dk._1 | |
1376 | 1374 | let cN = dk._2 | |
1377 | 1375 | let cA = parseIntValue(dk._9) | |
1378 | 1376 | let cO = dk._10 | |
1379 | - | let | |
1377 | + | let hv = if (if (aO()) | |
1380 | 1378 | then true | |
1381 | 1379 | else (cA == s)) | |
1382 | 1380 | then throw(("Blocked: " + toString(cA))) | |
1383 | 1381 | else true | |
1384 | - | if (( | |
1382 | + | if ((hv == hv)) | |
1385 | 1383 | then { | |
1386 | - | let | |
1387 | - | if (( | |
1384 | + | let hw = invoke(aM, "burn", [co], [AttachedPayment(gB, co)]) | |
1385 | + | if ((hw == hw)) | |
1388 | 1386 | then { | |
1389 | - | let | |
1390 | - | let gg = | |
1391 | - | let eG = | |
1387 | + | let hx = eP(-(cM), -(cN), 0) | |
1388 | + | let gg = hx._1 | |
1389 | + | let eG = hx._2 | |
1392 | 1390 | let gh = eT(eO, eG) | |
1393 | 1391 | if ((gh == gh)) | |
1394 | 1392 | then (cO ++ gg) | |
1406 | 1404 | ||
1407 | 1405 | ||
1408 | 1406 | @Callable(dV) | |
1409 | - | func unstakeAndGetNoLess (hz | |
1407 | + | func unstakeAndGetNoLess (hy,hz,hk) = { | |
1410 | 1408 | let gV = if (aO()) | |
1411 | 1409 | then true | |
1412 | 1410 | else (bd == s) | |
1418 | 1416 | if ((gN == gN)) | |
1419 | 1417 | then { | |
1420 | 1418 | let eO = eH(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1421 | - | let | |
1422 | - | if (( | |
1419 | + | let hu = invoke(bn, "unstake", [toBase58String(be), hy], nil) | |
1420 | + | if ((hu == hu)) | |
1423 | 1421 | then { | |
1424 | - | let | |
1425 | - | let cM = | |
1426 | - | let cN = | |
1427 | - | let cO = | |
1428 | - | let | |
1422 | + | let hA = cq(toBase58String(dV.transactionId), toBase58String(be), hy, dV.caller) | |
1423 | + | let cM = hA._1 | |
1424 | + | let cN = hA._2 | |
1425 | + | let cO = hA._10 | |
1426 | + | let hB = [if ((cM >= hz)) | |
1429 | 1427 | then true | |
1430 | - | else throw(makeString(["amount asset amount to receive is less than ", toString( | |
1428 | + | else throw(makeString(["amount asset amount to receive is less than ", toString(hz)], "")), if ((cN >= hk)) | |
1431 | 1429 | then true | |
1432 | 1430 | else throw(makeString(["price asset amount to receive is less than ", toString(hk)], ""))] | |
1433 | - | if (( | |
1431 | + | if ((hB == hB)) | |
1434 | 1432 | then { | |
1435 | - | let hp = invoke(aM, "burn", [ | |
1433 | + | let hp = invoke(aM, "burn", [hy], [AttachedPayment(be, hy)]) | |
1436 | 1434 | if ((hp == hp)) | |
1437 | 1435 | then { | |
1438 | - | let | |
1439 | - | let gg = | |
1440 | - | let eG = | |
1436 | + | let hC = eP(-(cM), -(cN), 0) | |
1437 | + | let gg = hC._1 | |
1438 | + | let eG = hC._2 | |
1441 | 1439 | let gh = eT(eO, eG) | |
1442 | 1440 | if ((gh == gh)) | |
1443 | 1441 | then (cO ++ gg) | |
1455 | 1453 | ||
1456 | 1454 | ||
1457 | 1455 | @Callable(dV) | |
1458 | - | func unstakeAndGetOneTknV2 ( | |
1456 | + | func unstakeAndGetOneTknV2 (hy,fI,fJ) = { | |
1459 | 1457 | let gL = { | |
1460 | 1458 | let fR = invoke(aM, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1461 | 1459 | if ($isInstanceOf(fR, "Boolean")) | |
1476 | 1474 | else aJ("no payments are expected")] | |
1477 | 1475 | if ((gN == gN)) | |
1478 | 1476 | then { | |
1479 | - | let | |
1477 | + | let hs = bl() | |
1480 | 1478 | let gB = be | |
1481 | - | let | |
1482 | - | let | |
1483 | - | if (( | |
1479 | + | let ht = valueOrErrorMessage(addressFromString(hs[C]), "Wr st addr") | |
1480 | + | let hu = invoke(ht, "unstake", [toBase58String(gB), hy], nil) | |
1481 | + | if ((hu == hu)) | |
1484 | 1482 | then { | |
1485 | - | let | |
1486 | - | let cO = | |
1487 | - | let fT = | |
1483 | + | let hD = fH(fI, fJ, [AttachedPayment(gB, hy)], dV.caller, dV.originCaller, dV.transactionId) | |
1484 | + | let cO = hD._1 | |
1485 | + | let fT = hD._2 | |
1488 | 1486 | $Tuple2(cO, fT) | |
1489 | 1487 | } | |
1490 | 1488 | else throw("Strict value is not equal to itself.") | |
1495 | 1493 | ||
1496 | 1494 | ||
1497 | 1495 | @Callable(dV) | |
1498 | - | func putOneTknV2WithBonusREADONLY (hF,hG) = { | |
1499 | - | let hH = fl(hF, hG, "", "", true) | |
1496 | + | func putOneTknV2WithBonusREADONLY (hE,hF) = { | |
1497 | + | let hG = fl(hE, hF, "", "", true) | |
1498 | + | let fB = hG._1 | |
1499 | + | let cO = hG._2 | |
1500 | + | let cp = hG._3 | |
1501 | + | let fG = hG._4 | |
1502 | + | $Tuple2(nil, $Tuple3(fB, cp, fG)) | |
1503 | + | } | |
1504 | + | ||
1505 | + | ||
1506 | + | ||
1507 | + | @Callable(dV) | |
1508 | + | func putOneTknV2WithoutTakeFeeREADONLY (hE,hF) = { | |
1509 | + | let hH = fl(hE, hF, "", "", false) | |
1500 | 1510 | let fB = hH._1 | |
1501 | 1511 | let cO = hH._2 | |
1502 | 1512 | let cp = hH._3 | |
1507 | 1517 | ||
1508 | 1518 | ||
1509 | 1519 | @Callable(dV) | |
1510 | - | func putOneTknV2WithoutTakeFeeREADONLY (hF,hG) = { | |
1511 | - | let hI = fl(hF, hG, "", "", false) | |
1512 | - | let fB = hI._1 | |
1513 | - | let cO = hI._2 | |
1514 | - | let cp = hI._3 | |
1515 | - | let fG = hI._4 | |
1516 | - | $Tuple2(nil, $Tuple3(fB, cp, fG)) | |
1517 | - | } | |
1520 | + | func activate (hI,hJ) = if ((toString(dV.caller) != toString(aM))) | |
1521 | + | then throw("denied") | |
1522 | + | else $Tuple2([StringEntry(ag(), hI), StringEntry(ah(), hJ)], "success") | |
1518 | 1523 | ||
1519 | 1524 | ||
1520 | 1525 | ||
1521 | 1526 | @Callable(dV) | |
1522 | - | func | |
1523 | - | then | |
1524 | - | else | |
1527 | + | func setS (hK,hv) = if ((toString(dV.caller) != aF(this, aj()))) | |
1528 | + | then gl | |
1529 | + | else [StringEntry(hK, hv)] | |
1525 | 1530 | ||
1526 | 1531 | ||
1527 | 1532 | ||
1528 | 1533 | @Callable(dV) | |
1529 | - | func | |
1534 | + | func setI (hK,hv) = if ((toString(dV.caller) != aF(this, aj()))) | |
1530 | 1535 | then gl | |
1531 | - | else [StringEntry(hL, hw)] | |
1532 | - | ||
1533 | - | ||
1534 | - | ||
1535 | - | @Callable(dV) | |
1536 | - | func setI (hL,hw) = if ((toString(dV.caller) != aF(this, aj()))) | |
1537 | - | then gl | |
1538 | - | else [IntegerEntry(hL, hw)] | |
1536 | + | else [IntegerEntry(hK, hv)] | |
1539 | 1537 | ||
1540 | 1538 | ||
1541 | 1539 | ||
1551 | 1549 | ||
1552 | 1550 | @Callable(dV) | |
1553 | 1551 | func calcPricesWrapperREADONLY (bZ,ca,ce) = { | |
1554 | - | let | |
1555 | - | $Tuple2(nil, [toString( | |
1552 | + | let hL = cd(bZ, ca, ce) | |
1553 | + | $Tuple2(nil, [toString(hL[0]), toString(hL[1]), toString(hL[2])]) | |
1556 | 1554 | } | |
1557 | 1555 | ||
1558 | 1556 | ||
1559 | 1557 | ||
1560 | 1558 | @Callable(dV) | |
1561 | - | func fromX18WrapperREADONLY (L, | |
1559 | + | func fromX18WrapperREADONLY (L,hM) = $Tuple2(nil, K(parseBigIntValue(L), hM)) | |
1562 | 1560 | ||
1563 | 1561 | ||
1564 | 1562 | ||
1573 | 1571 | ||
1574 | 1572 | ||
1575 | 1573 | @Callable(dV) | |
1576 | - | func estimatePutOperationWrapperREADONLY (cr,bO,cQ,cR,cS,cT, | |
1574 | + | func estimatePutOperationWrapperREADONLY (cr,bO,cQ,cR,cS,cT,hN,cU,cV) = $Tuple2(nil, cP(cr, bO, cQ, cR, cS, cT, hN, cU, cV, true, false, 0, "")) | |
1577 | 1575 | ||
1578 | 1576 | ||
1579 | 1577 | ||
1580 | 1578 | @Callable(dV) | |
1581 | - | func estimateGetOperationWrapperREADONLY (cr, | |
1582 | - | let dk = cq(cr, | |
1579 | + | func estimateGetOperationWrapperREADONLY (cr,hO,ct,hN) = { | |
1580 | + | let dk = cq(cr, hO, ct, addressFromStringValue(hN)) | |
1583 | 1581 | $Tuple2(nil, $Tuple10(dk._1, dk._2, dk._3, dk._4, dk._5, dk._6, dk._7, toString(dk._8), dk._9, dk._10)) | |
1584 | 1582 | } | |
1585 | 1583 | ||
1589 | 1587 | func getFeeREADONLY () = $Tuple2(nil, al) | |
1590 | 1588 | ||
1591 | 1589 | ||
1592 | - | @Verifier( | |
1593 | - | func | |
1594 | - | let | |
1590 | + | @Verifier(hP) | |
1591 | + | func hQ () = { | |
1592 | + | let hR = { | |
1595 | 1593 | let gj = gi() | |
1596 | 1594 | if ($isInstanceOf(gj, "ByteVector")) | |
1597 | 1595 | then { | |
1599 | 1597 | gn | |
1600 | 1598 | } | |
1601 | 1599 | else if ($isInstanceOf(gj, "Unit")) | |
1602 | - | then | |
1600 | + | then hP.senderPublicKey | |
1603 | 1601 | else throw("Match error") | |
1604 | 1602 | } | |
1605 | - | let gj = | |
1603 | + | let gj = hP | |
1606 | 1604 | if ($isInstanceOf(gj, "Order")) | |
1607 | 1605 | then { | |
1608 | 1606 | let eW = gj | |
1609 | - | let hT = aP() | |
1610 | - | let hU = eV(eW) | |
1611 | - | let hV = sigVerify(eW.bodyBytes, eW.proofs[0], eW.senderPublicKey) | |
1612 | - | let hW = sigVerify(eW.bodyBytes, eW.proofs[1], hT) | |
1613 | - | if (if (if (hU) | |
1607 | + | let hS = aP() | |
1608 | + | let hT = eV(eW) | |
1609 | + | let hU = sigVerify(eW.bodyBytes, eW.proofs[0], eW.senderPublicKey) | |
1610 | + | let hV = sigVerify(eW.bodyBytes, eW.proofs[1], hS) | |
1611 | + | if (if (if (hT) | |
1612 | + | then hU | |
1613 | + | else false) | |
1614 | 1614 | then hV | |
1615 | 1615 | else false) | |
1616 | - | then hW | |
1617 | - | else false) | |
1618 | 1616 | then true | |
1619 | - | else aB(hU, hV | |
1617 | + | else aB(hT, hU, hV) | |
1620 | 1618 | } | |
1621 | 1619 | else if ($isInstanceOf(gj, "SetScriptTransaction")) | |
1622 | 1620 | then { | |
1623 | 1621 | let dI = gj | |
1624 | - | let | |
1625 | - | let | |
1626 | - | let | |
1627 | - | if (if (( | |
1628 | - | then ( | |
1622 | + | let hW = blake2b256(value(dI.script)) | |
1623 | + | let hX = fromBase64String(value(getString(aM, az()))) | |
1624 | + | let hY = scriptHash(this) | |
1625 | + | if (if ((hX == hW)) | |
1626 | + | then (hY != hW) | |
1629 | 1627 | else false) | |
1630 | 1628 | then true | |
1631 | - | else sigVerify( | |
1629 | + | else sigVerify(hP.bodyBytes, hP.proofs[0], hR) | |
1632 | 1630 | } | |
1633 | - | else sigVerify( | |
1631 | + | else sigVerify(hP.bodyBytes, hP.proofs[0], hR) | |
1634 | 1632 | } | |
1635 | 1633 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 100000000 | |
5 | 5 | ||
6 | 6 | let b = toBigInt(100000000) | |
7 | 7 | ||
8 | 8 | let c = toBigInt(1000000000000000000) | |
9 | 9 | ||
10 | 10 | let d = toBigInt(0) | |
11 | 11 | ||
12 | 12 | let e = toBigInt(0) | |
13 | 13 | ||
14 | 14 | let f = toBigInt(1) | |
15 | 15 | ||
16 | 16 | let g = toBigInt(2) | |
17 | 17 | ||
18 | 18 | let h = toBigInt(3) | |
19 | 19 | ||
20 | 20 | let i = toBigInt(4) | |
21 | 21 | ||
22 | 22 | let j = toBigInt((a - ((a * 1) / a))) | |
23 | 23 | ||
24 | 24 | let k = "WAVES" | |
25 | 25 | ||
26 | 26 | let l = "100" | |
27 | 27 | ||
28 | 28 | let m = "1" | |
29 | 29 | ||
30 | 30 | let n = "__" | |
31 | 31 | ||
32 | 32 | let o = "" | |
33 | 33 | ||
34 | 34 | let p = 1 | |
35 | 35 | ||
36 | 36 | let q = 2 | |
37 | 37 | ||
38 | 38 | let r = 3 | |
39 | 39 | ||
40 | 40 | let s = 4 | |
41 | 41 | ||
42 | 42 | let t = 1 | |
43 | 43 | ||
44 | 44 | let u = 2 | |
45 | 45 | ||
46 | 46 | let v = 3 | |
47 | 47 | ||
48 | 48 | let w = 4 | |
49 | 49 | ||
50 | 50 | let x = 5 | |
51 | 51 | ||
52 | 52 | let y = 6 | |
53 | 53 | ||
54 | 54 | let z = 7 | |
55 | 55 | ||
56 | 56 | let A = 8 | |
57 | 57 | ||
58 | 58 | let B = 9 | |
59 | 59 | ||
60 | 60 | let C = 1 | |
61 | 61 | ||
62 | 62 | let D = 6 | |
63 | 63 | ||
64 | 64 | let E = 7 | |
65 | 65 | ||
66 | 66 | let F = 10 | |
67 | 67 | ||
68 | 68 | let G = fraction(10, a, 10000) | |
69 | 69 | ||
70 | 70 | func H (I,J) = fraction(toBigInt(I), c, toBigInt(J)) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func K (L,M) = toInt(fraction(L, toBigInt(M), c)) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func N (L,M,O) = toInt(fraction(L, toBigInt(M), c, O)) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func P (Q,R,S) = fraction(Q, R, S) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func T (L) = if ((d > L)) | |
83 | 83 | then -(L) | |
84 | 84 | else L | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func U (L) = if ((d > L)) | |
88 | 88 | then -(L) | |
89 | 89 | else L | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func V () = "%s__factoryContract" | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func W () = "%s__managerPublicKey" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func X () = "%s__pendingManagerPublicKey" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func Y () = "%s%s__price__last" | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func Z (aa,ab) = makeString(["%s%s%d%d__price__history", toString(aa), toString(ab)], n) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func ac (ad,ae) = ((("%s%s%s__P__" + ad) + "__") + ae) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func af (ad,ae) = ((("%s%s%s__G__" + ad) + "__") + ae) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func ag () = "%s__amountAsset" | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func ah () = "%s__priceAsset" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func ai () = "%s__amp" | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func aj () = "%s__addonAddr" | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | let ak = "%s__fee" | |
126 | 126 | ||
127 | 127 | let al = valueOrElse(getInteger(this, ak), G) | |
128 | 128 | ||
129 | 129 | let am = makeString(["%s", "dLp"], n) | |
130 | 130 | ||
131 | 131 | let an = makeString(["%s", "dLpRefreshedHeight"], n) | |
132 | 132 | ||
133 | 133 | let ao = makeString(["%s", "refreshDLpDelay"], n) | |
134 | 134 | ||
135 | 135 | let ap = 1 | |
136 | 136 | ||
137 | 137 | let aq = valueOrElse(getInteger(this, ao), ap) | |
138 | 138 | ||
139 | 139 | func ar () = "%s__factoryConfig" | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func as () = "%s%s__matcher__publicKey" | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func at (au,av) = (((("%d%d%s__" + au) + "__") + av) + "__config") | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func aw (ax) = ("%s%s%s__mappings__baseAsset2internalId__" + ax) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func ay () = "%s__shutdown" | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func az () = "%s__allowedLpStableScriptHash" | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func aA () = "%s__feeCollectorAddress" | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func aB (aC,aD,aE) = throw(((((("Failed: ordValid=" + toString(aC)) + " sndrValid=") + toString(aD)) + " mtchrValid=") + toString(aE))) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func aF (aG,aH) = valueOrErrorMessage(getString(aG, aH), makeString(["mandatory ", toString(aG), ".", aH, " not defined"], "")) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func aI (aG,aH) = valueOrErrorMessage(getInteger(aG, aH), makeString(["mandatory ", toString(aG), ".", aH, " not defined"], "")) | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func aJ (aK) = throw(makeString(["lp_stable.ride:", aK], " ")) | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func aL (aK) = makeString(["lp_stable.ride:", aK], " ") | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | let aM = addressFromStringValue(aF(this, V())) | |
176 | 176 | ||
177 | 177 | let aN = aF(this, ai()) | |
178 | 178 | ||
179 | 179 | func aO () = valueOrElse(getBoolean(aM, ay()), false) | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func aP () = fromBase58String(aF(aM, as())) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | let aQ = addressFromStringValue(aF(aM, aA())) | |
186 | 186 | ||
187 | 187 | func aR () = { | |
188 | 188 | let aS = aF(this, ag()) | |
189 | 189 | let aT = aF(this, ah()) | |
190 | 190 | let aU = aI(aM, aw(aT)) | |
191 | 191 | let au = aI(aM, aw(aS)) | |
192 | 192 | split(aF(aM, at(toString(au), toString(aU))), n) | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func aV (aW) = if ((aW == k)) | |
197 | 197 | then unit | |
198 | 198 | else fromBase58String(aW) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func aX (aW) = if ((aW == unit)) | |
202 | 202 | then k | |
203 | 203 | else toBase58String(value(aW)) | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func aY (aZ) = $Tuple9(addressFromStringValue(aZ[t]), parseIntValue(aZ[u]), fromBase58String(aZ[v]), aV(aZ[w]), aV(aZ[x]), parseIntValue(aZ[y]), parseIntValue(aZ[z]), fromBase58String(aZ[A]), fromBase58String(aZ[B])) | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | let ba = aY(aR()) | |
210 | 210 | ||
211 | 211 | let bb = ba | |
212 | 212 | ||
213 | 213 | let bc = bb._1 | |
214 | 214 | ||
215 | 215 | let bd = bb._2 | |
216 | 216 | ||
217 | 217 | let be = bb._3 | |
218 | 218 | ||
219 | 219 | let bf = bb._4 | |
220 | 220 | ||
221 | 221 | let bg = bb._5 | |
222 | 222 | ||
223 | 223 | let bh = bb._6 | |
224 | 224 | ||
225 | 225 | let bi = bb._7 | |
226 | 226 | ||
227 | 227 | let bj = bb._8 | |
228 | 228 | ||
229 | 229 | let bk = bb._9 | |
230 | 230 | ||
231 | 231 | func bl () = split(aF(aM, ar()), n) | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | let bm = bl() | |
235 | 235 | ||
236 | 236 | let bn = valueOrErrorMessage(addressFromString(bm[C]), "Invalid staking contract address") | |
237 | 237 | ||
238 | 238 | let bo = valueOrErrorMessage(addressFromString(bm[E]), "Invalid slipage contract address") | |
239 | 239 | ||
240 | 240 | let bp = valueOrErrorMessage(addressFromString(bm[F]), "Invalid gwx contract address") | |
241 | 241 | ||
242 | 242 | let bq = valueOrErrorMessage(addressFromString(bm[D]), "Invalid gwx contract address") | |
243 | 243 | ||
244 | 244 | func br (bs,bt,bu,bv,bw,bx,by,bz,bA,bB) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(bs), toString(bt), toString(bu), toString(bv), toString(bw), toString(bx), toString(by), toString(bz), toString(bA), toString(bB)], n) | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | func bC (bD,bE,bF,bv,by,bz) = makeString(["%d%d%d%d%d%d", toString(bD), toString(bE), toString(bF), toString(bv), toString(by), toString(bz)], n) | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func bG (bH) = if ((bH == "WAVES")) | |
251 | 251 | then wavesBalance(this).available | |
252 | 252 | else assetBalance(this, fromBase58String(bH)) | |
253 | 253 | ||
254 | 254 | ||
255 | 255 | func bI (bJ,bK) = fraction(bJ, c, bK) | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | func bL (bM,bN,bO) = { | |
259 | 259 | let bP = fraction((bM - bN), b, bN) | |
260 | 260 | let bQ = ((bO - T(bP)) > d) | |
261 | 261 | if (!(bQ)) | |
262 | 262 | then throw(("Big slpg: " + toString(bP))) | |
263 | 263 | else $Tuple2(bQ, min([bM, bN])) | |
264 | 264 | } | |
265 | 265 | ||
266 | 266 | ||
267 | 267 | func bR (bS,bT,bU) = { | |
268 | 268 | let bP = fraction(bT, b, bS) | |
269 | 269 | let bV = (bU > bP) | |
270 | 270 | if (if (bV) | |
271 | 271 | then true | |
272 | 272 | else (bT > bS)) | |
273 | 273 | then throw(((((((toString(bT) + " ") + toString(bS)) + " ") + toString(bP)) + " ") + toString(bU))) | |
274 | 274 | else bV | |
275 | 275 | } | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | func bW (bX,bY,bZ,ca) = { | |
279 | 279 | let cb = H(bZ, bX) | |
280 | 280 | let cc = H(ca, bY) | |
281 | 281 | bI(cc, cb) | |
282 | 282 | } | |
283 | 283 | ||
284 | 284 | ||
285 | 285 | func cd (bZ,ca,ce) = { | |
286 | 286 | let cf = bh | |
287 | 287 | let cg = bi | |
288 | 288 | let ch = bW(cf, cg, bZ, ca) | |
289 | 289 | let bK = H(bZ, cf) | |
290 | 290 | let bJ = H(ca, cg) | |
291 | 291 | let ci = H(ce, a) | |
292 | 292 | let cj = bI(bK, ci) | |
293 | 293 | let ck = bI(bJ, ci) | |
294 | 294 | [ch, cj, ck] | |
295 | 295 | } | |
296 | 296 | ||
297 | 297 | ||
298 | 298 | func cl (bZ,ca,ce) = { | |
299 | 299 | let cm = cd(bZ, ca, ce) | |
300 | 300 | [K(cm[0], a), K(cm[1], a), K(cm[2], a)] | |
301 | 301 | } | |
302 | 302 | ||
303 | 303 | ||
304 | 304 | func cn (co) = { | |
305 | 305 | let cp = fraction(co, al, a) | |
306 | 306 | $Tuple2((co - cp), cp) | |
307 | 307 | } | |
308 | 308 | ||
309 | 309 | ||
310 | 310 | func cq (cr,cs,ct,cu) = { | |
311 | 311 | let cv = be | |
312 | 312 | let cw = toBase58String(value(bf)) | |
313 | 313 | let cx = toBase58String(value(bg)) | |
314 | 314 | let cy = bh | |
315 | 315 | let cz = bi | |
316 | 316 | let cA = toString(bd) | |
317 | 317 | let cB = valueOrErrorMessage(assetInfo(cv), "Wrong LP id").quantity | |
318 | 318 | if ((toBase58String(cv) != cs)) | |
319 | 319 | then throw("Wrong pmt asset") | |
320 | 320 | else { | |
321 | 321 | let cC = bG(cw) | |
322 | 322 | let cD = H(cC, cy) | |
323 | 323 | let cE = bG(cx) | |
324 | 324 | let cF = H(cE, cz) | |
325 | 325 | let cG = bI(cF, cD) | |
326 | 326 | let cH = K(cG, a) | |
327 | 327 | let cI = H(ct, a) | |
328 | 328 | let cJ = H(cB, a) | |
329 | 329 | let cK = fraction(cD, cI, cJ) | |
330 | 330 | let cL = fraction(cF, cI, cJ) | |
331 | 331 | let cM = N(cK, cy, FLOOR) | |
332 | 332 | let cN = N(cL, cz, FLOOR) | |
333 | 333 | let cO = if ((cr == "")) | |
334 | 334 | then nil | |
335 | 335 | else [ScriptTransfer(cu, cM, if ((cw == "WAVES")) | |
336 | 336 | then unit | |
337 | 337 | else fromBase58String(cw)), ScriptTransfer(cu, cN, if ((cx == "WAVES")) | |
338 | 338 | then unit | |
339 | 339 | else fromBase58String(cx)), StringEntry(af(toString(cu), cr), bC(cM, cN, ct, cH, height, lastBlock.timestamp)), IntegerEntry(Y(), cH), IntegerEntry(Z(height, lastBlock.timestamp), cH)] | |
340 | 340 | $Tuple10(cM, cN, cw, cx, cC, cE, cB, cG, cA, cO) | |
341 | 341 | } | |
342 | 342 | } | |
343 | 343 | ||
344 | 344 | ||
345 | 345 | func cP (cr,bO,cQ,cR,cS,cT,cu,cU,cV,cW,cX,cY,cZ) = { | |
346 | 346 | let cv = be | |
347 | 347 | let da = toBase58String(value(bf)) | |
348 | 348 | let db = toBase58String(value(bg)) | |
349 | 349 | let dc = bj | |
350 | 350 | let dd = bk | |
351 | 351 | let de = bh | |
352 | 352 | let df = bi | |
353 | 353 | let cA = toString(bd) | |
354 | 354 | let dg = valueOrErrorMessage(assetInfo(cv), "Wr lp as").quantity | |
355 | 355 | let cC = if (cU) | |
356 | 356 | then bG(da) | |
357 | 357 | else if (if (cW) | |
358 | 358 | then (cZ == da) | |
359 | 359 | else false) | |
360 | 360 | then (bG(da) - cY) | |
361 | 361 | else if (cW) | |
362 | 362 | then bG(da) | |
363 | 363 | else (bG(da) - cQ) | |
364 | 364 | let cE = if (cU) | |
365 | 365 | then bG(db) | |
366 | 366 | else if (if (cW) | |
367 | 367 | then (cZ == db) | |
368 | 368 | else false) | |
369 | 369 | then (bG(db) - cY) | |
370 | 370 | else if (cW) | |
371 | 371 | then bG(db) | |
372 | 372 | else (bG(db) - cS) | |
373 | 373 | let dh = H(cQ, de) | |
374 | 374 | let di = H(cS, df) | |
375 | 375 | let dj = bI(di, dh) | |
376 | 376 | let cD = H(cC, de) | |
377 | 377 | let cF = H(cE, df) | |
378 | 378 | let dk = if ((dg == 0)) | |
379 | 379 | then { | |
380 | 380 | let cG = d | |
381 | 381 | let dl = d | |
382 | 382 | let ci = pow((dh * di), 0, toBigInt(5), 1, 0, DOWN) | |
383 | 383 | $Tuple5(K(ci, a), K(dh, de), K(di, df), bI((cF + di), (cD + dh)), dl) | |
384 | 384 | } | |
385 | 385 | else { | |
386 | 386 | let cG = bI(cF, cD) | |
387 | 387 | let dm = fraction(T((cG - dj)), c, cG) | |
388 | 388 | let dl = H(bO, a) | |
389 | 389 | if (if (if (cX) | |
390 | 390 | then (cG != d) | |
391 | 391 | else false) | |
392 | 392 | then (dm > dl) | |
393 | 393 | else false) | |
394 | 394 | then throw(((("Price slippage " + toString(dm)) + " > ") + toString(dl))) | |
395 | 395 | else { | |
396 | 396 | let dn = H(dg, a) | |
397 | 397 | let do = fraction(dh, cG, c) | |
398 | 398 | let dp = fraction(di, c, cG) | |
399 | 399 | let dq = if ((do > di)) | |
400 | 400 | then $Tuple2(dp, di) | |
401 | 401 | else $Tuple2(dh, do) | |
402 | 402 | let dr = dq._1 | |
403 | 403 | let ds = dq._2 | |
404 | 404 | let ci = fraction(dn, ds, cF) | |
405 | 405 | $Tuple5(N(ci, a, FLOOR), N(dr, de, CEILING), N(ds, df, CEILING), cG, dl) | |
406 | 406 | } | |
407 | 407 | } | |
408 | 408 | let dt = dk._1 | |
409 | 409 | let du = dk._2 | |
410 | 410 | let dv = dk._3 | |
411 | 411 | let cH = K(dk._4, a) | |
412 | 412 | let dw = K(dk._5, a) | |
413 | 413 | if ((0 >= dt)) | |
414 | 414 | then throw("LP <= 0") | |
415 | 415 | else { | |
416 | 416 | let dx = if (!(cV)) | |
417 | 417 | then 0 | |
418 | 418 | else dt | |
419 | 419 | let dy = (cQ - du) | |
420 | 420 | let dz = (cS - dv) | |
421 | 421 | let dA = if (if (cW) | |
422 | 422 | then (cZ == da) | |
423 | 423 | else false) | |
424 | 424 | then $Tuple2(cY, 0) | |
425 | 425 | else if (if (cW) | |
426 | 426 | then (cZ == db) | |
427 | 427 | else false) | |
428 | 428 | then $Tuple2(0, cY) | |
429 | 429 | else $Tuple2(du, dv) | |
430 | 430 | let dB = dA._1 | |
431 | 431 | let dC = dA._2 | |
432 | 432 | let dD = [IntegerEntry(Y(), cH), IntegerEntry(Z(height, lastBlock.timestamp), cH), StringEntry(ac(cu, cr), br(dB, dC, dx, cH, bO, dw, height, lastBlock.timestamp, dy, dz))] | |
433 | 433 | $Tuple13(dt, dx, cH, cC, cE, dg, cv, cA, dD, dy, dz, cR, cT) | |
434 | 434 | } | |
435 | 435 | } | |
436 | 436 | ||
437 | 437 | ||
438 | 438 | func dE (dF) = { | |
439 | 439 | let dG = dF[0] | |
440 | 440 | let dH = dF[1] | |
441 | 441 | let dI = (dG + dH) | |
442 | 442 | if ((dI == e)) | |
443 | 443 | then e | |
444 | 444 | else { | |
445 | 445 | let dJ = parseIntValue(aN) | |
446 | 446 | let dK = (dJ * 2) | |
447 | 447 | let cm = fraction(dG, dH, f) | |
448 | 448 | let dL = fraction(cm, i, f) | |
449 | 449 | let dM = fraction(toBigInt(dK), dI, f) | |
450 | 450 | let dN = toBigInt((dK - 1)) | |
451 | 451 | func dO (dP) = { | |
452 | 452 | let dQ = fraction(dP, dP, f) | |
453 | 453 | let dR = fraction(dQ, dP, f) | |
454 | 454 | let dS = fraction(dR, f, dL) | |
455 | 455 | fraction((dM + fraction(dS, g, f)), dP, (fraction(dN, dP, f) + fraction(h, dS, f)), CEILING) | |
456 | 456 | } | |
457 | 457 | ||
458 | 458 | func dT (dU,dV) = if (dU._2) | |
459 | 459 | then dU | |
460 | 460 | else { | |
461 | 461 | let dP = dU._1 | |
462 | 462 | let dW = dO(dP) | |
463 | 463 | let dX = toInt((dW - value(dP))) | |
464 | 464 | let dY = if ((0 > dX)) | |
465 | 465 | then -(dX) | |
466 | 466 | else dX | |
467 | 467 | if ((1 >= dY)) | |
468 | 468 | then $Tuple2(dW, true) | |
469 | 469 | else $Tuple2(dW, false) | |
470 | 470 | } | |
471 | 471 | ||
472 | 472 | let dZ = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] | |
473 | 473 | let ea = { | |
474 | 474 | let eb = dZ | |
475 | 475 | let ec = size(eb) | |
476 | 476 | let ed = $Tuple2(dI, false) | |
477 | 477 | func ee (ef,eg) = if ((eg >= ec)) | |
478 | 478 | then ef | |
479 | 479 | else dT(ef, eb[eg]) | |
480 | 480 | ||
481 | 481 | func eh (ef,eg) = if ((eg >= ec)) | |
482 | 482 | then ef | |
483 | 483 | else throw("List size exceeds 15") | |
484 | 484 | ||
485 | 485 | eh(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ed, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
486 | 486 | } | |
487 | 487 | let dP = ea._1 | |
488 | 488 | let ei = ea._2 | |
489 | 489 | if (ei) | |
490 | 490 | then dP | |
491 | 491 | else throw(("D calculation error, D = " + toString(dP))) | |
492 | 492 | } | |
493 | 493 | } | |
494 | 494 | ||
495 | 495 | ||
496 | 496 | func ej (dF) = { | |
497 | 497 | let ek = g | |
498 | 498 | let dG = dF[0] | |
499 | 499 | let dH = dF[1] | |
500 | 500 | let el = parseBigIntValue(l) | |
501 | 501 | let dJ = (parseBigIntValue(aN) * el) | |
502 | 502 | let dI = (dG + dH) | |
503 | 503 | if ((dI == e)) | |
504 | 504 | then e | |
505 | 505 | else { | |
506 | 506 | let dK = (dJ * ek) | |
507 | 507 | let dL = (((dG * dH) * ek) * ek) | |
508 | 508 | let em = ((dK * dI) / el) | |
509 | 509 | let en = (dK - el) | |
510 | 510 | let eo = (ek + f) | |
511 | 511 | func dT (dU,ep) = { | |
512 | 512 | let eq = dU | |
513 | 513 | let dP = eq._1 | |
514 | 514 | let ei = eq._2 | |
515 | 515 | if ((ei != unit)) | |
516 | 516 | then dU | |
517 | 517 | else { | |
518 | 518 | let dS = (((dP * dP) * dP) / dL) | |
519 | 519 | let dW = (((em + (dS * ek)) * dP) / (((en * dP) / el) + (eo * dS))) | |
520 | 520 | let dY = U((dW - value(dP))) | |
521 | 521 | if ((f >= dY)) | |
522 | 522 | then $Tuple2(dW, ep) | |
523 | 523 | else $Tuple2(dW, unit) | |
524 | 524 | } | |
525 | 525 | } | |
526 | 526 | ||
527 | 527 | let dZ = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] | |
528 | 528 | let er = { | |
529 | 529 | let eb = dZ | |
530 | 530 | let ec = size(eb) | |
531 | 531 | let ed = $Tuple2(dI, unit) | |
532 | 532 | func ee (ef,eg) = if ((eg >= ec)) | |
533 | 533 | then ef | |
534 | 534 | else dT(ef, eb[eg]) | |
535 | 535 | ||
536 | 536 | func eh (ef,eg) = if ((eg >= ec)) | |
537 | 537 | then ef | |
538 | 538 | else throw("List size exceeds 15") | |
539 | 539 | ||
540 | 540 | eh(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ed, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
541 | 541 | } | |
542 | 542 | let dP = er._1 | |
543 | 543 | let ei = er._2 | |
544 | 544 | if ((ei != unit)) | |
545 | 545 | then dP | |
546 | 546 | else throw(("D calculation error, D = " + toString(dP))) | |
547 | 547 | } | |
548 | 548 | } | |
549 | 549 | ||
550 | 550 | ||
551 | 551 | func es (dF,dV,et) = { | |
552 | 552 | let ek = g | |
553 | 553 | let eu = dF[if ((dV == 0)) | |
554 | 554 | then 1 | |
555 | 555 | else 0] | |
556 | 556 | let el = parseBigIntValue(l) | |
557 | 557 | let dJ = (parseBigIntValue(aN) * el) | |
558 | 558 | let dI = eu | |
559 | 559 | let dK = (dJ * ek) | |
560 | 560 | let ev = (((((et * et) / (eu * ek)) * et) * el) / (dK * ek)) | |
561 | 561 | let ew = ((dI + ((et * el) / dK)) - et) | |
562 | 562 | func dT (dU,ep) = { | |
563 | 563 | let ex = dU | |
564 | 564 | let ey = ex._1 | |
565 | 565 | let ei = ex._2 | |
566 | 566 | if ((ei != unit)) | |
567 | 567 | then dU | |
568 | 568 | else { | |
569 | 569 | let ez = (((ey * ey) + ev) / ((g * ey) + ew)) | |
570 | 570 | let eA = U((ez - value(ey))) | |
571 | 571 | if ((f >= eA)) | |
572 | 572 | then $Tuple2(ez, ep) | |
573 | 573 | else $Tuple2(ez, unit) | |
574 | 574 | } | |
575 | 575 | } | |
576 | 576 | ||
577 | 577 | let dZ = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] | |
578 | 578 | let eB = { | |
579 | 579 | let eb = dZ | |
580 | 580 | let ec = size(eb) | |
581 | 581 | let ed = $Tuple2(et, unit) | |
582 | 582 | func ee (ef,eg) = if ((eg >= ec)) | |
583 | 583 | then ef | |
584 | 584 | else dT(ef, eb[eg]) | |
585 | 585 | ||
586 | 586 | func eh (ef,eg) = if ((eg >= ec)) | |
587 | 587 | then ef | |
588 | 588 | else throw("List size exceeds 15") | |
589 | 589 | ||
590 | 590 | eh(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ed, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
591 | 591 | } | |
592 | 592 | let ey = eB._1 | |
593 | 593 | let ei = eB._2 | |
594 | 594 | if ((ei != unit)) | |
595 | 595 | then ey | |
596 | 596 | else throw(("Y calculation error, Y = " + toString(ey))) | |
597 | 597 | } | |
598 | 598 | ||
599 | 599 | ||
600 | 600 | func eC (eD,eE,eF) = { | |
601 | 601 | let eG = fraction(dE([eD, eE]), c, eF) | |
602 | 602 | if ((eF == e)) | |
603 | 603 | then e | |
604 | 604 | else eG | |
605 | 605 | } | |
606 | 606 | ||
607 | 607 | ||
608 | 608 | func eH (eI,eJ,eK) = { | |
609 | 609 | let eL = (toBigInt(bG(aX(bf))) - eI) | |
610 | 610 | let eM = (toBigInt(bG(aX(bg))) - eJ) | |
611 | 611 | let eN = (toBigInt(value(assetInfo(be)).quantity) - eK) | |
612 | 612 | let eO = eC(eL, eM, eN) | |
613 | 613 | eO | |
614 | 614 | } | |
615 | 615 | ||
616 | 616 | ||
617 | 617 | func eP (eQ,eR,eK) = { | |
618 | 618 | let eL = (bG(aX(bf)) + eQ) | |
619 | 619 | let eM = (bG(aX(bg)) + eR) | |
620 | 620 | let eN = (value(assetInfo(be)).quantity + eK) | |
621 | 621 | let eG = eC(toBigInt(eL), toBigInt(eM), toBigInt(eN)) | |
622 | 622 | let eS = [IntegerEntry(an, height), StringEntry(am, toString(eG))] | |
623 | 623 | $Tuple2(eS, eG) | |
624 | 624 | } | |
625 | 625 | ||
626 | 626 | ||
627 | 627 | func eT (eU,eG) = if ((eG >= eU)) | |
628 | 628 | then true | |
629 | 629 | else aJ("updated DLp lower than current DLp") | |
630 | 630 | ||
631 | 631 | ||
632 | 632 | func eV (eW) = { | |
633 | 633 | let eX = eW.amount | |
634 | 634 | let eY = fraction(eW.amount, eW.price, a, FLOOR) | |
635 | 635 | let eZ = if ((eW.orderType == Buy)) | |
636 | 636 | then $Tuple2(eX, -(eY)) | |
637 | 637 | else $Tuple2(-(eX), eY) | |
638 | 638 | let eQ = eZ._1 | |
639 | 639 | let eR = eZ._2 | |
640 | 640 | if (if (if (aO()) | |
641 | 641 | then true | |
642 | 642 | else (bd == r)) | |
643 | 643 | then true | |
644 | 644 | else (bd == s)) | |
645 | 645 | then throw("Admin blocked") | |
646 | 646 | else if (if ((eW.assetPair.amountAsset != bf)) | |
647 | 647 | then true | |
648 | 648 | else (eW.assetPair.priceAsset != bg)) | |
649 | 649 | then throw("Wr assets") | |
650 | 650 | else { | |
651 | 651 | let fa = parseBigIntValue(getStringValue(this, am)) | |
652 | 652 | let fb = eP(eQ, eR, 0) | |
653 | 653 | let fc = fb._1 | |
654 | 654 | let fd = fb._2 | |
655 | 655 | let fe = (fd >= fa) | |
656 | 656 | fe | |
657 | 657 | } | |
658 | 658 | } | |
659 | 659 | ||
660 | 660 | ||
661 | 661 | func ff (dV) = if ((size(dV.payments) != 1)) | |
662 | 662 | then throw("1 pmnt exp") | |
663 | 663 | else { | |
664 | 664 | let fg = value(dV.payments[0]) | |
665 | 665 | let cs = value(fg.assetId) | |
666 | 666 | let cY = fg.amount | |
667 | 667 | let dk = cq(toBase58String(dV.transactionId), toBase58String(cs), cY, dV.caller) | |
668 | 668 | let cM = dk._1 | |
669 | 669 | let cN = dk._2 | |
670 | 670 | let cA = parseIntValue(dk._9) | |
671 | 671 | let cO = dk._10 | |
672 | 672 | if (if (aO()) | |
673 | 673 | then true | |
674 | 674 | else (cA == s)) | |
675 | 675 | then throw(("Admin blocked: " + toString(cA))) | |
676 | 676 | else $Tuple5(cM, cN, cY, cs, cO) | |
677 | 677 | } | |
678 | 678 | ||
679 | 679 | ||
680 | 680 | func fh (fi,ae,fj,fk,bO,cV,cW,cX,cY,cZ) = { | |
681 | 681 | let dk = cP(ae, bO, value(fj).amount, value(fj).assetId, value(fk).amount, value(fk).assetId, fi, (ae == ""), cV, cW, cX, cY, cZ) | |
682 | 682 | let cA = parseIntValue(dk._8) | |
683 | 683 | if (if (if (aO()) | |
684 | 684 | then true | |
685 | 685 | else (cA == q)) | |
686 | 686 | then true | |
687 | 687 | else (cA == s)) | |
688 | 688 | then throw(("Blocked:" + toString(cA))) | |
689 | 689 | else dk | |
690 | 690 | } | |
691 | 691 | ||
692 | 692 | ||
693 | 693 | func fl (fm,cs,cu,ae,fn) = { | |
694 | 694 | let cw = toBase58String(value(bf)) | |
695 | 695 | let cx = toBase58String(value(bg)) | |
696 | 696 | let cv = be | |
697 | 697 | let de = bh | |
698 | 698 | let df = bi | |
699 | 699 | let eN = toBigInt(valueOrErrorMessage(assetInfo(cv), "invalid lp asset").quantity) | |
700 | 700 | let fo = if ((eN > e)) | |
701 | 701 | then true | |
702 | 702 | else throw("initial deposit requires all coins") | |
703 | 703 | if ((fo == fo)) | |
704 | 704 | then { | |
705 | 705 | let cC = bG(cw) | |
706 | 706 | let cE = bG(cx) | |
707 | 707 | let fp = if ((ae == "")) | |
708 | 708 | then $Tuple2(cC, cE) | |
709 | 709 | else if ((cs == cw)) | |
710 | 710 | then if ((fm > cC)) | |
711 | 711 | then throw("invalid payment amount") | |
712 | 712 | else $Tuple2((cC - fm), cE) | |
713 | 713 | else if ((cs == cx)) | |
714 | 714 | then if ((fm > cE)) | |
715 | 715 | then throw("invalid payment amount") | |
716 | 716 | else $Tuple2(cC, (cE - fm)) | |
717 | 717 | else throw("wrong pmtAssetId") | |
718 | 718 | let fq = fp._1 | |
719 | 719 | let fr = fp._2 | |
720 | 720 | let fs = if ((cs == cw)) | |
721 | 721 | then $Tuple2(fm, 0) | |
722 | 722 | else if ((cs == cx)) | |
723 | 723 | then $Tuple2(0, fm) | |
724 | 724 | else throw("invalid payment") | |
725 | 725 | let ft = fs._1 | |
726 | 726 | let fu = fs._2 | |
727 | 727 | let fv = if (fn) | |
728 | 728 | then $Tuple3(cn(ft)._1, cn(fu)._1, cn(fm)._2) | |
729 | 729 | else $Tuple3(ft, fu, 0) | |
730 | 730 | let fw = fv._1 | |
731 | 731 | let fx = fv._2 | |
732 | 732 | let cp = fv._3 | |
733 | 733 | let fy = (fq + fw) | |
734 | 734 | let fz = (fr + fx) | |
735 | 735 | let bT = dE([toBigInt(fq), toBigInt(fr)]) | |
736 | 736 | let bS = dE([toBigInt(fy), toBigInt(fz)]) | |
737 | 737 | let fA = if ((bS > bT)) | |
738 | 738 | then true | |
739 | 739 | else throw() | |
740 | 740 | if ((fA == fA)) | |
741 | 741 | then { | |
742 | 742 | let fB = fraction(eN, (bS - bT), bT, FLOOR) | |
743 | 743 | let cH = K(bI(H(fz, df), H(fy, de)), a) | |
744 | 744 | let dD = [IntegerEntry(Y(), cH), IntegerEntry(Z(height, lastBlock.timestamp), cH), StringEntry(ac(cu, ae), br(ft, fu, toInt(fB), cH, 0, 0, height, lastBlock.timestamp, 0, 0))] | |
745 | 745 | let fC = fraction(fr, a, fq) | |
746 | 746 | let fD = fraction(fm, a, (fC + a)) | |
747 | 747 | let fE = (fm - fD) | |
748 | 748 | let fF = fraction(eN, toBigInt(fE), toBigInt(fr)) | |
749 | 749 | let fG = toInt(fraction((fB - fF), b, fF)) | |
750 | 750 | $Tuple4(toInt(fB), dD, cp, fG) | |
751 | 751 | } | |
752 | 752 | else throw("Strict value is not equal to itself.") | |
753 | 753 | } | |
754 | 754 | else throw("Strict value is not equal to itself.") | |
755 | 755 | } | |
756 | 756 | ||
757 | 757 | ||
758 | 758 | func fH (fI,fJ,fK,fi,fL,fM) = { | |
759 | 759 | let cv = toBase58String(value(be)) | |
760 | 760 | let cw = toBase58String(value(bf)) | |
761 | 761 | let cx = toBase58String(value(bg)) | |
762 | 762 | let fN = bh | |
763 | 763 | let fO = bi | |
764 | 764 | let fP = bd | |
765 | 765 | let cu = if ((fi == bq)) | |
766 | 766 | then fL | |
767 | 767 | else fi | |
768 | 768 | let fg = value(fK[0]) | |
769 | 769 | let cs = value(fg.assetId) | |
770 | 770 | let cY = fg.amount | |
771 | 771 | let eO = eH(e, e, e) | |
772 | 772 | if ((eO == eO)) | |
773 | 773 | then { | |
774 | 774 | let cr = toBase58String(fM) | |
775 | 775 | if ((cv != toBase58String(cs))) | |
776 | 776 | then throw("Wrong LP") | |
777 | 777 | else { | |
778 | 778 | let cC = bG(cw) | |
779 | 779 | let cE = bG(cx) | |
780 | 780 | let fQ = { | |
781 | 781 | let fR = invoke(this, "getOneTknV2READONLY", [fI, cY], nil) | |
782 | 782 | if ($isInstanceOf(fR, "(Int, Int)")) | |
783 | 783 | then fR | |
784 | 784 | else throw(($getType(fR) + " couldn't be cast to (Int, Int)")) | |
785 | 785 | } | |
786 | 786 | if ((fQ == fQ)) | |
787 | 787 | then { | |
788 | 788 | let cp = fQ._2 | |
789 | 789 | let fS = fQ._1 | |
790 | 790 | let fT = if (if ((fJ > 0)) | |
791 | 791 | then (fJ > fS) | |
792 | 792 | else false) | |
793 | 793 | then aJ(makeString(["amount to receive is less than ", toString(fJ)], "")) | |
794 | 794 | else fS | |
795 | 795 | let fU = if ((fI == cw)) | |
796 | 796 | then $Tuple4(fT, 0, ((cC - fT) - cp), cE) | |
797 | 797 | else if ((fI == cx)) | |
798 | 798 | then $Tuple4(0, fT, cC, ((cE - fT) - cp)) | |
799 | 799 | else throw("invalid out asset id") | |
800 | 800 | let fV = fU._1 | |
801 | 801 | let fW = fU._2 | |
802 | 802 | let fy = fU._3 | |
803 | 803 | let fz = fU._4 | |
804 | 804 | let fX = bI(H(fz, fO), H(fy, fN)) | |
805 | 805 | let fY = K(fX, a) | |
806 | 806 | let fZ = if ((fI == "WAVES")) | |
807 | 807 | then unit | |
808 | 808 | else fromBase58String(fI) | |
809 | 809 | let ga = if ((cp > 0)) | |
810 | 810 | then [ScriptTransfer(aQ, cp, fZ)] | |
811 | 811 | else nil | |
812 | 812 | let cO = ([ScriptTransfer(cu, fT, fZ), StringEntry(af(toString(cu), cr), bC(fV, fW, cY, fY, height, lastBlock.timestamp)), IntegerEntry(Y(), fY), IntegerEntry(Z(height, lastBlock.timestamp), fY)] ++ ga) | |
813 | 813 | if ((cO == cO)) | |
814 | 814 | then { | |
815 | 815 | let gb = invoke(aM, "burn", [cY], [AttachedPayment(cs, cY)]) | |
816 | 816 | if ((gb == gb)) | |
817 | 817 | then { | |
818 | 818 | let gc = { | |
819 | 819 | let gd = if ((this == aQ)) | |
820 | 820 | then 0 | |
821 | 821 | else cp | |
822 | 822 | let ge = if ((aV(fI) == bf)) | |
823 | 823 | then true | |
824 | 824 | else false | |
825 | 825 | if (ge) | |
826 | 826 | then $Tuple2(-((fS + gd)), 0) | |
827 | 827 | else $Tuple2(0, -((fS + gd))) | |
828 | 828 | } | |
829 | 829 | let eQ = gc._1 | |
830 | 830 | let eR = gc._2 | |
831 | 831 | let gf = eP(eQ, eR, 0) | |
832 | 832 | let gg = gf._1 | |
833 | 833 | let eG = gf._2 | |
834 | 834 | let gh = eT(eO, eG) | |
835 | 835 | if ((gh == gh)) | |
836 | 836 | then $Tuple2((cO ++ gg), fT) | |
837 | 837 | else throw("Strict value is not equal to itself.") | |
838 | 838 | } | |
839 | 839 | else throw("Strict value is not equal to itself.") | |
840 | 840 | } | |
841 | 841 | else throw("Strict value is not equal to itself.") | |
842 | 842 | } | |
843 | 843 | else throw("Strict value is not equal to itself.") | |
844 | 844 | } | |
845 | 845 | } | |
846 | 846 | else throw("Strict value is not equal to itself.") | |
847 | 847 | } | |
848 | 848 | ||
849 | 849 | ||
850 | 850 | func gi () = { | |
851 | 851 | let gj = getString(W()) | |
852 | 852 | if ($isInstanceOf(gj, "String")) | |
853 | 853 | then { | |
854 | 854 | let dI = gj | |
855 | 855 | fromBase58String(dI) | |
856 | 856 | } | |
857 | 857 | else if ($isInstanceOf(gj, "Unit")) | |
858 | 858 | then unit | |
859 | 859 | else throw("Match error") | |
860 | 860 | } | |
861 | 861 | ||
862 | 862 | ||
863 | 863 | func gk () = { | |
864 | 864 | let gj = getString(X()) | |
865 | 865 | if ($isInstanceOf(gj, "String")) | |
866 | 866 | then { | |
867 | 867 | let dI = gj | |
868 | 868 | fromBase58String(dI) | |
869 | 869 | } | |
870 | 870 | else if ($isInstanceOf(gj, "Unit")) | |
871 | 871 | then unit | |
872 | 872 | else throw("Match error") | |
873 | 873 | } | |
874 | 874 | ||
875 | 875 | ||
876 | 876 | let gl = throw("Permission denied") | |
877 | 877 | ||
878 | 878 | func gm (dV) = { | |
879 | 879 | let gj = gi() | |
880 | 880 | if ($isInstanceOf(gj, "ByteVector")) | |
881 | 881 | then { | |
882 | 882 | let gn = gj | |
883 | 883 | (dV.callerPublicKey == gn) | |
884 | 884 | } | |
885 | 885 | else if ($isInstanceOf(gj, "Unit")) | |
886 | 886 | then (dV.caller == this) | |
887 | 887 | else throw("Match error") | |
888 | 888 | } | |
889 | 889 | ||
890 | 890 | ||
891 | 891 | func go (dV) = { | |
892 | 892 | let gj = gi() | |
893 | 893 | if ($isInstanceOf(gj, "ByteVector")) | |
894 | 894 | then { | |
895 | 895 | let gn = gj | |
896 | 896 | if ((dV.callerPublicKey == gn)) | |
897 | 897 | then true | |
898 | 898 | else gl | |
899 | 899 | } | |
900 | 900 | else if ($isInstanceOf(gj, "Unit")) | |
901 | 901 | then if ((dV.caller == this)) | |
902 | 902 | then true | |
903 | 903 | else gl | |
904 | 904 | else throw("Match error") | |
905 | 905 | } | |
906 | 906 | ||
907 | 907 | ||
908 | 908 | @Callable(dV) | |
909 | 909 | func constructor (V) = { | |
910 | 910 | let ev = go(dV) | |
911 | 911 | if ((ev == ev)) | |
912 | 912 | then [StringEntry(V(), V)] | |
913 | 913 | else throw("Strict value is not equal to itself.") | |
914 | 914 | } | |
915 | 915 | ||
916 | 916 | ||
917 | 917 | ||
918 | 918 | @Callable(dV) | |
919 | 919 | func setManager (gp) = { | |
920 | 920 | let ev = go(dV) | |
921 | 921 | if ((ev == ev)) | |
922 | 922 | then { | |
923 | 923 | let gq = fromBase58String(gp) | |
924 | 924 | if ((gq == gq)) | |
925 | 925 | then [StringEntry(X(), gp)] | |
926 | 926 | else throw("Strict value is not equal to itself.") | |
927 | 927 | } | |
928 | 928 | else throw("Strict value is not equal to itself.") | |
929 | 929 | } | |
930 | 930 | ||
931 | 931 | ||
932 | 932 | ||
933 | 933 | @Callable(dV) | |
934 | 934 | func confirmManager () = { | |
935 | 935 | let cm = gk() | |
936 | 936 | let gr = if (isDefined(cm)) | |
937 | 937 | then true | |
938 | 938 | else throw("No pending manager") | |
939 | 939 | if ((gr == gr)) | |
940 | 940 | then { | |
941 | 941 | let gs = if ((dV.callerPublicKey == value(cm))) | |
942 | 942 | then true | |
943 | 943 | else throw("You are not pending manager") | |
944 | 944 | if ((gs == gs)) | |
945 | 945 | then [StringEntry(W(), toBase58String(value(cm))), DeleteEntry(X())] | |
946 | 946 | else throw("Strict value is not equal to itself.") | |
947 | 947 | } | |
948 | 948 | else throw("Strict value is not equal to itself.") | |
949 | 949 | } | |
950 | 950 | ||
951 | 951 | ||
952 | 952 | ||
953 | 953 | @Callable(dV) | |
954 | 954 | func put (gt,gu) = { | |
955 | 955 | let gv = bl() | |
956 | 956 | let gw = valueOrErrorMessage(addressFromString(gv[C]), "Wr st addr") | |
957 | 957 | let gx = valueOrErrorMessage(addressFromString(gv[E]), "Wr sl addr") | |
958 | 958 | if ((0 > gt)) | |
959 | 959 | then throw("Wrong slippage") | |
960 | 960 | else if ((size(dV.payments) != 2)) | |
961 | 961 | then throw("2 pmnts expd") | |
962 | 962 | else { | |
963 | 963 | let gy = toBigInt(value(dV.payments[0]).amount) | |
964 | 964 | let gz = toBigInt(value(dV.payments[1]).amount) | |
965 | 965 | let eL = (toBigInt(bG(aX(bf))) - gy) | |
966 | 966 | if ((eL == eL)) | |
967 | 967 | then { | |
968 | 968 | let eM = (toBigInt(bG(aX(bg))) - gz) | |
969 | 969 | if ((eM == eM)) | |
970 | 970 | then { | |
971 | 971 | let eN = toBigInt(value(assetInfo(be)).quantity) | |
972 | 972 | if ((eN == eN)) | |
973 | 973 | then { | |
974 | 974 | let eO = eH(gy, gz, toBigInt(0)) | |
975 | 975 | if ((eO == eO)) | |
976 | 976 | then { | |
977 | 977 | let gA = fh(toString(dV.caller), toBase58String(dV.transactionId), AttachedPayment(value(dV.payments[0]).assetId, value(dV.payments[0]).amount), dV.payments[1], gt, true, false, true, 0, "") | |
978 | 978 | let dx = gA._2 | |
979 | 979 | let gB = gA._7 | |
980 | 980 | let cO = gA._9 | |
981 | 981 | let dy = gA._10 | |
982 | 982 | let dz = gA._11 | |
983 | 983 | let cw = gA._12 | |
984 | 984 | let cx = gA._13 | |
985 | 985 | let dk = invoke(aM, "emit", [dx], nil) | |
986 | 986 | if ((dk == dk)) | |
987 | 987 | then { | |
988 | 988 | let gC = { | |
989 | 989 | let gj = dk | |
990 | 990 | if ($isInstanceOf(gj, "Address")) | |
991 | 991 | then { | |
992 | 992 | let gD = gj | |
993 | 993 | invoke(gD, "emit", [dx], nil) | |
994 | 994 | } | |
995 | 995 | else unit | |
996 | 996 | } | |
997 | 997 | if ((gC == gC)) | |
998 | 998 | then { | |
999 | 999 | let gE = if ((dy > 0)) | |
1000 | 1000 | then invoke(gx, "put", nil, [AttachedPayment(cw, dy)]) | |
1001 | 1001 | else nil | |
1002 | 1002 | if ((gE == gE)) | |
1003 | 1003 | then { | |
1004 | 1004 | let gF = if ((dz > 0)) | |
1005 | 1005 | then invoke(gx, "put", nil, [AttachedPayment(cx, dz)]) | |
1006 | 1006 | else nil | |
1007 | 1007 | if ((gF == gF)) | |
1008 | 1008 | then { | |
1009 | 1009 | let gG = if (gu) | |
1010 | 1010 | then { | |
1011 | 1011 | let gH = invoke(gw, "stake", nil, [AttachedPayment(gB, dx)]) | |
1012 | 1012 | if ((gH == gH)) | |
1013 | 1013 | then nil | |
1014 | 1014 | else throw("Strict value is not equal to itself.") | |
1015 | 1015 | } | |
1016 | 1016 | else [ScriptTransfer(dV.caller, dx, gB)] | |
1017 | 1017 | let gI = eP(0, 0, 0) | |
1018 | 1018 | let gg = gI._1 | |
1019 | 1019 | let eG = gI._2 | |
1020 | 1020 | let gh = eT(eO, eG) | |
1021 | 1021 | if ((gh == gh)) | |
1022 | 1022 | then { | |
1023 | 1023 | let gJ = if ((eG >= eO)) | |
1024 | 1024 | then true | |
1025 | 1025 | else aJ("updated DLp lower than current DLp") | |
1026 | 1026 | if ((gJ == gJ)) | |
1027 | 1027 | then { | |
1028 | 1028 | let gK = value(assetInfo(be)).quantity | |
1029 | 1029 | if ((gK == gK)) | |
1030 | 1030 | then ((cO ++ gG) ++ gg) | |
1031 | 1031 | else throw("Strict value is not equal to itself.") | |
1032 | 1032 | } | |
1033 | 1033 | else throw("Strict value is not equal to itself.") | |
1034 | 1034 | } | |
1035 | 1035 | else throw("Strict value is not equal to itself.") | |
1036 | 1036 | } | |
1037 | 1037 | else throw("Strict value is not equal to itself.") | |
1038 | 1038 | } | |
1039 | 1039 | else throw("Strict value is not equal to itself.") | |
1040 | 1040 | } | |
1041 | 1041 | else throw("Strict value is not equal to itself.") | |
1042 | 1042 | } | |
1043 | 1043 | else throw("Strict value is not equal to itself.") | |
1044 | 1044 | } | |
1045 | 1045 | else throw("Strict value is not equal to itself.") | |
1046 | 1046 | } | |
1047 | 1047 | else throw("Strict value is not equal to itself.") | |
1048 | 1048 | } | |
1049 | 1049 | else throw("Strict value is not equal to itself.") | |
1050 | 1050 | } | |
1051 | 1051 | else throw("Strict value is not equal to itself.") | |
1052 | 1052 | } | |
1053 | 1053 | } | |
1054 | 1054 | ||
1055 | 1055 | ||
1056 | 1056 | ||
1057 | 1057 | @Callable(dV) | |
1058 | 1058 | func putOneTknV2 (fJ,gu) = { | |
1059 | 1059 | let gL = { | |
1060 | 1060 | let fR = invoke(aM, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1061 | 1061 | if ($isInstanceOf(fR, "Boolean")) | |
1062 | 1062 | then fR | |
1063 | 1063 | else throw(($getType(fR) + " couldn't be cast to Boolean")) | |
1064 | 1064 | } | |
1065 | 1065 | let gM = if (if (if (aO()) | |
1066 | 1066 | then true | |
1067 | 1067 | else (bd == q)) | |
1068 | 1068 | then true | |
1069 | 1069 | else (bd == s)) | |
1070 | 1070 | then true | |
1071 | 1071 | else gL | |
1072 | 1072 | let gN = [if (if (!(gM)) | |
1073 | 1073 | then true | |
1074 | 1074 | else gm(dV)) | |
1075 | 1075 | then true | |
1076 | 1076 | else aJ("put operation is blocked by admin"), if ((size(dV.payments) == 1)) | |
1077 | 1077 | then true | |
1078 | 1078 | else aJ("exactly 1 payment are expected")] | |
1079 | 1079 | if ((gN == gN)) | |
1080 | 1080 | then { | |
1081 | 1081 | let cw = toBase58String(value(bf)) | |
1082 | 1082 | let cx = toBase58String(value(bg)) | |
1083 | 1083 | let cv = be | |
1084 | 1084 | let fN = bh | |
1085 | 1085 | let fO = bi | |
1086 | 1086 | let cu = if ((dV.caller == this)) | |
1087 | 1087 | then dV.originCaller | |
1088 | 1088 | else dV.caller | |
1089 | 1089 | let fg = value(dV.payments[0]) | |
1090 | 1090 | let cs = toBase58String(value(fg.assetId)) | |
1091 | 1091 | let cY = fg.amount | |
1092 | 1092 | let eO = if ((fg.assetId == bf)) | |
1093 | 1093 | then eH(toBigInt(cY), toBigInt(0), toBigInt(0)) | |
1094 | 1094 | else eH(toBigInt(0), toBigInt(cY), toBigInt(0)) | |
1095 | 1095 | if ((eO == eO)) | |
1096 | 1096 | then { | |
1097 | 1097 | let gO = fl(cY, cs, toString(cu), toBase58String(dV.transactionId), true) | |
1098 | 1098 | if ((gO == gO)) | |
1099 | 1099 | then { | |
1100 | 1100 | let cp = gO._3 | |
1101 | 1101 | let cO = gO._2 | |
1102 | 1102 | let gP = gO._1 | |
1103 | 1103 | let dx = if (if ((fJ > 0)) | |
1104 | 1104 | then (fJ > gP) | |
1105 | 1105 | else false) | |
1106 | 1106 | then aJ(makeString(["amount to receive is less than ", toString(fJ)], "")) | |
1107 | 1107 | else gP | |
1108 | 1108 | let gA = invoke(aM, "emit", [dx], nil) | |
1109 | 1109 | if ((gA == gA)) | |
1110 | 1110 | then { | |
1111 | 1111 | let gC = { | |
1112 | 1112 | let gj = gA | |
1113 | 1113 | if ($isInstanceOf(gj, "Address")) | |
1114 | 1114 | then { | |
1115 | 1115 | let gD = gj | |
1116 | 1116 | invoke(gD, "emit", [dx], nil) | |
1117 | 1117 | } | |
1118 | 1118 | else unit | |
1119 | 1119 | } | |
1120 | 1120 | if ((gC == gC)) | |
1121 | 1121 | then { | |
1122 | 1122 | let gG = if (gu) | |
1123 | 1123 | then { | |
1124 | 1124 | let gH = invoke(bn, "stake", nil, [AttachedPayment(cv, dx)]) | |
1125 | 1125 | if ((gH == gH)) | |
1126 | 1126 | then nil | |
1127 | 1127 | else throw("Strict value is not equal to itself.") | |
1128 | 1128 | } | |
1129 | 1129 | else [ScriptTransfer(dV.caller, dx, cv)] | |
1130 | 1130 | let ga = if ((cp > 0)) | |
1131 | 1131 | then [ScriptTransfer(aQ, cp, fromBase58String(cs))] | |
1132 | 1132 | else nil | |
1133 | 1133 | let gQ = if ((this == aQ)) | |
1134 | 1134 | then $Tuple2(0, 0) | |
1135 | 1135 | else { | |
1136 | 1136 | let gR = if ((fg.assetId == bf)) | |
1137 | 1137 | then true | |
1138 | 1138 | else false | |
1139 | 1139 | if (gR) | |
1140 | 1140 | then $Tuple2(-(cp), 0) | |
1141 | 1141 | else $Tuple2(0, -(cp)) | |
1142 | 1142 | } | |
1143 | 1143 | let eQ = gQ._1 | |
1144 | 1144 | let eR = gQ._2 | |
1145 | 1145 | let gS = eP(eQ, eR, 0) | |
1146 | 1146 | let gg = gS._1 | |
1147 | 1147 | let eG = gS._2 | |
1148 | 1148 | let gh = eT(eO, eG) | |
1149 | 1149 | if ((gh == gh)) | |
1150 | 1150 | then $Tuple2((((cO ++ gG) ++ ga) ++ gg), dx) | |
1151 | 1151 | else throw("Strict value is not equal to itself.") | |
1152 | 1152 | } | |
1153 | 1153 | else throw("Strict value is not equal to itself.") | |
1154 | 1154 | } | |
1155 | 1155 | else throw("Strict value is not equal to itself.") | |
1156 | 1156 | } | |
1157 | 1157 | else throw("Strict value is not equal to itself.") | |
1158 | 1158 | } | |
1159 | 1159 | else throw("Strict value is not equal to itself.") | |
1160 | 1160 | } | |
1161 | 1161 | else throw("Strict value is not equal to itself.") | |
1162 | 1162 | } | |
1163 | 1163 | ||
1164 | 1164 | ||
1165 | 1165 | ||
1166 | 1166 | @Callable(dV) | |
1167 | 1167 | func get () = { | |
1168 | 1168 | let eO = eH(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1169 | 1169 | if ((eO == eO)) | |
1170 | 1170 | then { | |
1171 | 1171 | let dk = ff(dV) | |
1172 | 1172 | let gT = dk._1 | |
1173 | 1173 | let cN = dk._2 | |
1174 | 1174 | let cY = dk._3 | |
1175 | 1175 | let cs = dk._4 | |
1176 | 1176 | let cO = dk._5 | |
1177 | 1177 | let ew = invoke(aM, "burn", [cY], [AttachedPayment(cs, cY)]) | |
1178 | 1178 | if ((ew == ew)) | |
1179 | 1179 | then { | |
1180 | 1180 | let gU = eP(-(gT), -(cN), 0) | |
1181 | 1181 | let gg = gU._1 | |
1182 | 1182 | let eG = gU._2 | |
1183 | 1183 | let gh = eT(eO, eG) | |
1184 | 1184 | if ((gh == gh)) | |
1185 | 1185 | then (cO ++ gg) | |
1186 | 1186 | else throw("Strict value is not equal to itself.") | |
1187 | 1187 | } | |
1188 | 1188 | else throw("Strict value is not equal to itself.") | |
1189 | 1189 | } | |
1190 | 1190 | else throw("Strict value is not equal to itself.") | |
1191 | 1191 | } | |
1192 | 1192 | ||
1193 | 1193 | ||
1194 | 1194 | ||
1195 | 1195 | @Callable(dV) | |
1196 | 1196 | func getOneTknV2 (fI,fJ) = { | |
1197 | 1197 | let gL = { | |
1198 | 1198 | let fR = invoke(aM, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1199 | 1199 | if ($isInstanceOf(fR, "Boolean")) | |
1200 | 1200 | then fR | |
1201 | 1201 | else throw(($getType(fR) + " couldn't be cast to Boolean")) | |
1202 | 1202 | } | |
1203 | 1203 | let gV = if (if (aO()) | |
1204 | 1204 | then true | |
1205 | 1205 | else (bd == s)) | |
1206 | 1206 | then true | |
1207 | 1207 | else gL | |
1208 | 1208 | let gN = [if (if (!(gV)) | |
1209 | 1209 | then true | |
1210 | 1210 | else gm(dV)) | |
1211 | 1211 | then true | |
1212 | 1212 | else aJ("get operation is blocked by admin"), if ((size(dV.payments) == 1)) | |
1213 | 1213 | then true | |
1214 | 1214 | else aJ("exactly 1 payment are expected")] | |
1215 | 1215 | if ((gN == gN)) | |
1216 | 1216 | then { | |
1217 | 1217 | let gW = fH(fI, fJ, dV.payments, dV.caller, dV.originCaller, dV.transactionId) | |
1218 | 1218 | let cO = gW._1 | |
1219 | 1219 | let fT = gW._2 | |
1220 | 1220 | $Tuple2(cO, fT) | |
1221 | 1221 | } | |
1222 | 1222 | else throw("Strict value is not equal to itself.") | |
1223 | 1223 | } | |
1224 | 1224 | ||
1225 | 1225 | ||
1226 | 1226 | ||
1227 | 1227 | @Callable(dV) | |
1228 | 1228 | func refreshDLp () = { | |
1229 | 1229 | let gX = valueOrElse(getInteger(an), 0) | |
1230 | 1230 | let gY = if (((height - gX) >= aq)) | |
1231 | 1231 | then unit | |
1232 | 1232 | else aJ(makeString([toString(aq), " blocks have not passed since the previous call"], "")) | |
1233 | 1233 | if ((gY == gY)) | |
1234 | 1234 | then { | |
1235 | 1235 | let fa = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, am), "0")), aL("invalid dLp")) | |
1236 | 1236 | let gZ = eP(0, 0, 0) | |
1237 | 1237 | let ha = gZ._1 | |
1238 | 1238 | let eG = gZ._2 | |
1239 | 1239 | let eS = if ((fa != eG)) | |
1240 | 1240 | then ha | |
1241 | 1241 | else aJ("nothing to refresh") | |
1242 | 1242 | $Tuple2(eS, toString(eG)) | |
1243 | 1243 | } | |
1244 | 1244 | else throw("Strict value is not equal to itself.") | |
1245 | 1245 | } | |
1246 | 1246 | ||
1247 | 1247 | ||
1248 | 1248 | ||
1249 | 1249 | @Callable(dV) | |
1250 | 1250 | func getOneTknV2READONLY (fI,hb) = { | |
1251 | 1251 | let cw = toBase58String(value(bf)) | |
1252 | 1252 | let cx = toBase58String(value(bg)) | |
1253 | 1253 | let cv = toBase58String(value(be)) | |
1254 | 1254 | let dF = [toBigInt(bG(cw)), toBigInt(bG(cx))] | |
1255 | 1255 | let eF = toBigInt(valueOrErrorMessage(assetInfo(fromBase58String(cv)), "invalid lp asset").quantity) | |
1256 | 1256 | let bT = dE(dF) | |
1257 | 1257 | let bS = (bT - fraction(toBigInt(hb), bT, eF)) | |
1258 | 1258 | let hc = if ((fI == cw)) | |
1259 | 1259 | then 0 | |
1260 | 1260 | else if ((fI == cx)) | |
1261 | 1261 | then 1 | |
1262 | 1262 | else throw("invalid out asset id") | |
1263 | 1263 | let hd = es(dF, hc, bS) | |
1264 | 1264 | let he = (dF[hc] - hd) | |
1265 | 1265 | let hf = max([0, toInt((he - f))]) | |
1266 | 1266 | let hg = cn(hf) | |
1267 | 1267 | let fS = hg._1 | |
1268 | 1268 | let cp = hg._2 | |
1269 | 1269 | $Tuple2(nil, $Tuple2(fS, cp)) | |
1270 | 1270 | } | |
1271 | 1271 | ||
1272 | 1272 | ||
1273 | 1273 | ||
1274 | 1274 | @Callable(dV) | |
1275 | 1275 | func getOneTknV2WithBonusREADONLY (fI,hb) = { | |
1276 | 1276 | let cw = toBase58String(value(bf)) | |
1277 | 1277 | let cx = toBase58String(value(bg)) | |
1278 | 1278 | let cv = toBase58String(value(be)) | |
1279 | 1279 | let cC = bG(cw) | |
1280 | 1280 | let cE = bG(cx) | |
1281 | 1281 | let hh = { | |
1282 | 1282 | let fR = invoke(this, "getOneTknV2READONLY", [fI, hb], nil) | |
1283 | 1283 | if ($isInstanceOf(fR, "(Int, Int)")) | |
1284 | 1284 | then fR | |
1285 | 1285 | else throw(($getType(fR) + " couldn't be cast to (Int, Int)")) | |
1286 | 1286 | } | |
1287 | 1287 | let fS = hh._1 | |
1288 | 1288 | let cp = hh._2 | |
1289 | 1289 | let dk = cq("", cv, hb, this) | |
1290 | 1290 | let cM = dk._1 | |
1291 | 1291 | let cN = dk._2 | |
1292 | 1292 | let hi = (cM + cN) | |
1293 | 1293 | let fG = if ((hi == 0)) | |
1294 | 1294 | then if ((fS == 0)) | |
1295 | 1295 | then 0 | |
1296 | 1296 | else throw("bonus calculation error") | |
1297 | 1297 | else fraction((fS - hi), a, hi) | |
1298 | 1298 | $Tuple2(nil, $Tuple3(fS, cp, fG)) | |
1299 | 1299 | } | |
1300 | 1300 | ||
1301 | 1301 | ||
1302 | 1302 | ||
1303 | 1303 | @Callable(dV) | |
1304 | 1304 | func getNoLess (hj,hk) = { | |
1305 | 1305 | let hl = toBigInt(bG(aX(bf))) | |
1306 | 1306 | if ((hl == hl)) | |
1307 | 1307 | then { | |
1308 | 1308 | let hm = toBigInt(bG(aX(bg))) | |
1309 | 1309 | if ((hm == hm)) | |
1310 | 1310 | then { | |
1311 | 1311 | let hn = toBigInt(value(assetInfo(be)).quantity) | |
1312 | 1312 | if ((hn == hn)) | |
1313 | 1313 | then { | |
1314 | 1314 | let ho = (hn - toBigInt(value(dV.payments[0]).amount)) | |
1315 | 1315 | if ((ho == ho)) | |
1316 | 1316 | then { | |
1317 | 1317 | let dk = ff(dV) | |
1318 | 1318 | let cM = dk._1 | |
1319 | 1319 | let cN = dk._2 | |
1320 | 1320 | let cY = dk._3 | |
1321 | 1321 | let cs = dk._4 | |
1322 | 1322 | let cO = dk._5 | |
1323 | 1323 | if ((hj > cM)) | |
1324 | 1324 | then throw(((("Failed: " + toString(cM)) + " < ") + toString(hj))) | |
1325 | 1325 | else if ((hk > cN)) | |
1326 | 1326 | then throw(((("Failed: " + toString(cN)) + " < ") + toString(hk))) | |
1327 | 1327 | else { | |
1328 | 1328 | let eO = eH(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1329 | 1329 | if ((eO == eO)) | |
1330 | 1330 | then { | |
1331 | 1331 | let hp = invoke(aM, "burn", [cY], [AttachedPayment(cs, cY)]) | |
1332 | 1332 | if ((hp == hp)) | |
1333 | 1333 | then { | |
1334 | 1334 | let hq = eP(-(cM), -(cN), 0) | |
1335 | 1335 | let gg = hq._1 | |
1336 | 1336 | let eG = hq._2 | |
1337 | - | let hr = if ((eG >= eO)) | |
1338 | - | then true | |
1339 | - | else aJ(makeString(["updated DLp lower than current DLp", toString(hl), toString(hm), toString(eO), toString(eG), toString(hn), toString(ho)], " ")) | |
1340 | - | if ((hr == hr)) | |
1337 | + | let gh = eT(eO, eG) | |
1338 | + | if ((gh == gh)) | |
1341 | 1339 | then (cO ++ gg) | |
1342 | 1340 | else throw("Strict value is not equal to itself.") | |
1343 | 1341 | } | |
1344 | 1342 | else throw("Strict value is not equal to itself.") | |
1345 | 1343 | } | |
1346 | 1344 | else throw("Strict value is not equal to itself.") | |
1347 | 1345 | } | |
1348 | 1346 | } | |
1349 | 1347 | else throw("Strict value is not equal to itself.") | |
1350 | 1348 | } | |
1351 | 1349 | else throw("Strict value is not equal to itself.") | |
1352 | 1350 | } | |
1353 | 1351 | else throw("Strict value is not equal to itself.") | |
1354 | 1352 | } | |
1355 | 1353 | else throw("Strict value is not equal to itself.") | |
1356 | 1354 | } | |
1357 | 1355 | ||
1358 | 1356 | ||
1359 | 1357 | ||
1360 | 1358 | @Callable(dV) | |
1361 | 1359 | func unstakeAndGet (co) = { | |
1362 | - | let | |
1360 | + | let hr = if ((size(dV.payments) != 0)) | |
1363 | 1361 | then throw("No pmnts expd") | |
1364 | 1362 | else true | |
1365 | - | if (( | |
1363 | + | if ((hr == hr)) | |
1366 | 1364 | then { | |
1367 | - | let | |
1365 | + | let hs = bl() | |
1368 | 1366 | let gB = be | |
1369 | - | let | |
1367 | + | let ht = valueOrErrorMessage(addressFromString(hs[C]), "Wr st addr") | |
1370 | 1368 | let eO = eH(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1371 | - | let | |
1372 | - | if (( | |
1369 | + | let hu = invoke(ht, "unstake", [toBase58String(gB), co], nil) | |
1370 | + | if ((hu == hu)) | |
1373 | 1371 | then { | |
1374 | 1372 | let dk = cq(toBase58String(dV.transactionId), toBase58String(gB), co, dV.caller) | |
1375 | 1373 | let cM = dk._1 | |
1376 | 1374 | let cN = dk._2 | |
1377 | 1375 | let cA = parseIntValue(dk._9) | |
1378 | 1376 | let cO = dk._10 | |
1379 | - | let | |
1377 | + | let hv = if (if (aO()) | |
1380 | 1378 | then true | |
1381 | 1379 | else (cA == s)) | |
1382 | 1380 | then throw(("Blocked: " + toString(cA))) | |
1383 | 1381 | else true | |
1384 | - | if (( | |
1382 | + | if ((hv == hv)) | |
1385 | 1383 | then { | |
1386 | - | let | |
1387 | - | if (( | |
1384 | + | let hw = invoke(aM, "burn", [co], [AttachedPayment(gB, co)]) | |
1385 | + | if ((hw == hw)) | |
1388 | 1386 | then { | |
1389 | - | let | |
1390 | - | let gg = | |
1391 | - | let eG = | |
1387 | + | let hx = eP(-(cM), -(cN), 0) | |
1388 | + | let gg = hx._1 | |
1389 | + | let eG = hx._2 | |
1392 | 1390 | let gh = eT(eO, eG) | |
1393 | 1391 | if ((gh == gh)) | |
1394 | 1392 | then (cO ++ gg) | |
1395 | 1393 | else throw("Strict value is not equal to itself.") | |
1396 | 1394 | } | |
1397 | 1395 | else throw("Strict value is not equal to itself.") | |
1398 | 1396 | } | |
1399 | 1397 | else throw("Strict value is not equal to itself.") | |
1400 | 1398 | } | |
1401 | 1399 | else throw("Strict value is not equal to itself.") | |
1402 | 1400 | } | |
1403 | 1401 | else throw("Strict value is not equal to itself.") | |
1404 | 1402 | } | |
1405 | 1403 | ||
1406 | 1404 | ||
1407 | 1405 | ||
1408 | 1406 | @Callable(dV) | |
1409 | - | func unstakeAndGetNoLess (hz | |
1407 | + | func unstakeAndGetNoLess (hy,hz,hk) = { | |
1410 | 1408 | let gV = if (aO()) | |
1411 | 1409 | then true | |
1412 | 1410 | else (bd == s) | |
1413 | 1411 | let gN = [if (!(gV)) | |
1414 | 1412 | then true | |
1415 | 1413 | else throw("get operation is blocked by admin"), if ((size(dV.payments) == 0)) | |
1416 | 1414 | then true | |
1417 | 1415 | else throw("no payments are expected")] | |
1418 | 1416 | if ((gN == gN)) | |
1419 | 1417 | then { | |
1420 | 1418 | let eO = eH(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1421 | - | let | |
1422 | - | if (( | |
1419 | + | let hu = invoke(bn, "unstake", [toBase58String(be), hy], nil) | |
1420 | + | if ((hu == hu)) | |
1423 | 1421 | then { | |
1424 | - | let | |
1425 | - | let cM = | |
1426 | - | let cN = | |
1427 | - | let cO = | |
1428 | - | let | |
1422 | + | let hA = cq(toBase58String(dV.transactionId), toBase58String(be), hy, dV.caller) | |
1423 | + | let cM = hA._1 | |
1424 | + | let cN = hA._2 | |
1425 | + | let cO = hA._10 | |
1426 | + | let hB = [if ((cM >= hz)) | |
1429 | 1427 | then true | |
1430 | - | else throw(makeString(["amount asset amount to receive is less than ", toString( | |
1428 | + | else throw(makeString(["amount asset amount to receive is less than ", toString(hz)], "")), if ((cN >= hk)) | |
1431 | 1429 | then true | |
1432 | 1430 | else throw(makeString(["price asset amount to receive is less than ", toString(hk)], ""))] | |
1433 | - | if (( | |
1431 | + | if ((hB == hB)) | |
1434 | 1432 | then { | |
1435 | - | let hp = invoke(aM, "burn", [ | |
1433 | + | let hp = invoke(aM, "burn", [hy], [AttachedPayment(be, hy)]) | |
1436 | 1434 | if ((hp == hp)) | |
1437 | 1435 | then { | |
1438 | - | let | |
1439 | - | let gg = | |
1440 | - | let eG = | |
1436 | + | let hC = eP(-(cM), -(cN), 0) | |
1437 | + | let gg = hC._1 | |
1438 | + | let eG = hC._2 | |
1441 | 1439 | let gh = eT(eO, eG) | |
1442 | 1440 | if ((gh == gh)) | |
1443 | 1441 | then (cO ++ gg) | |
1444 | 1442 | else throw("Strict value is not equal to itself.") | |
1445 | 1443 | } | |
1446 | 1444 | else throw("Strict value is not equal to itself.") | |
1447 | 1445 | } | |
1448 | 1446 | else throw("Strict value is not equal to itself.") | |
1449 | 1447 | } | |
1450 | 1448 | else throw("Strict value is not equal to itself.") | |
1451 | 1449 | } | |
1452 | 1450 | else throw("Strict value is not equal to itself.") | |
1453 | 1451 | } | |
1454 | 1452 | ||
1455 | 1453 | ||
1456 | 1454 | ||
1457 | 1455 | @Callable(dV) | |
1458 | - | func unstakeAndGetOneTknV2 ( | |
1456 | + | func unstakeAndGetOneTknV2 (hy,fI,fJ) = { | |
1459 | 1457 | let gL = { | |
1460 | 1458 | let fR = invoke(aM, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1461 | 1459 | if ($isInstanceOf(fR, "Boolean")) | |
1462 | 1460 | then fR | |
1463 | 1461 | else throw(($getType(fR) + " couldn't be cast to Boolean")) | |
1464 | 1462 | } | |
1465 | 1463 | let gV = if (if (aO()) | |
1466 | 1464 | then true | |
1467 | 1465 | else (bd == s)) | |
1468 | 1466 | then true | |
1469 | 1467 | else gL | |
1470 | 1468 | let gN = [if (if (!(gV)) | |
1471 | 1469 | then true | |
1472 | 1470 | else gm(dV)) | |
1473 | 1471 | then true | |
1474 | 1472 | else aJ("get operation is blocked by admin"), if ((size(dV.payments) == 0)) | |
1475 | 1473 | then true | |
1476 | 1474 | else aJ("no payments are expected")] | |
1477 | 1475 | if ((gN == gN)) | |
1478 | 1476 | then { | |
1479 | - | let | |
1477 | + | let hs = bl() | |
1480 | 1478 | let gB = be | |
1481 | - | let | |
1482 | - | let | |
1483 | - | if (( | |
1479 | + | let ht = valueOrErrorMessage(addressFromString(hs[C]), "Wr st addr") | |
1480 | + | let hu = invoke(ht, "unstake", [toBase58String(gB), hy], nil) | |
1481 | + | if ((hu == hu)) | |
1484 | 1482 | then { | |
1485 | - | let | |
1486 | - | let cO = | |
1487 | - | let fT = | |
1483 | + | let hD = fH(fI, fJ, [AttachedPayment(gB, hy)], dV.caller, dV.originCaller, dV.transactionId) | |
1484 | + | let cO = hD._1 | |
1485 | + | let fT = hD._2 | |
1488 | 1486 | $Tuple2(cO, fT) | |
1489 | 1487 | } | |
1490 | 1488 | else throw("Strict value is not equal to itself.") | |
1491 | 1489 | } | |
1492 | 1490 | else throw("Strict value is not equal to itself.") | |
1493 | 1491 | } | |
1494 | 1492 | ||
1495 | 1493 | ||
1496 | 1494 | ||
1497 | 1495 | @Callable(dV) | |
1498 | - | func putOneTknV2WithBonusREADONLY (hF,hG) = { | |
1499 | - | let hH = fl(hF, hG, "", "", true) | |
1496 | + | func putOneTknV2WithBonusREADONLY (hE,hF) = { | |
1497 | + | let hG = fl(hE, hF, "", "", true) | |
1498 | + | let fB = hG._1 | |
1499 | + | let cO = hG._2 | |
1500 | + | let cp = hG._3 | |
1501 | + | let fG = hG._4 | |
1502 | + | $Tuple2(nil, $Tuple3(fB, cp, fG)) | |
1503 | + | } | |
1504 | + | ||
1505 | + | ||
1506 | + | ||
1507 | + | @Callable(dV) | |
1508 | + | func putOneTknV2WithoutTakeFeeREADONLY (hE,hF) = { | |
1509 | + | let hH = fl(hE, hF, "", "", false) | |
1500 | 1510 | let fB = hH._1 | |
1501 | 1511 | let cO = hH._2 | |
1502 | 1512 | let cp = hH._3 | |
1503 | 1513 | let fG = hH._4 | |
1504 | 1514 | $Tuple2(nil, $Tuple3(fB, cp, fG)) | |
1505 | 1515 | } | |
1506 | 1516 | ||
1507 | 1517 | ||
1508 | 1518 | ||
1509 | 1519 | @Callable(dV) | |
1510 | - | func putOneTknV2WithoutTakeFeeREADONLY (hF,hG) = { | |
1511 | - | let hI = fl(hF, hG, "", "", false) | |
1512 | - | let fB = hI._1 | |
1513 | - | let cO = hI._2 | |
1514 | - | let cp = hI._3 | |
1515 | - | let fG = hI._4 | |
1516 | - | $Tuple2(nil, $Tuple3(fB, cp, fG)) | |
1517 | - | } | |
1520 | + | func activate (hI,hJ) = if ((toString(dV.caller) != toString(aM))) | |
1521 | + | then throw("denied") | |
1522 | + | else $Tuple2([StringEntry(ag(), hI), StringEntry(ah(), hJ)], "success") | |
1518 | 1523 | ||
1519 | 1524 | ||
1520 | 1525 | ||
1521 | 1526 | @Callable(dV) | |
1522 | - | func | |
1523 | - | then | |
1524 | - | else | |
1527 | + | func setS (hK,hv) = if ((toString(dV.caller) != aF(this, aj()))) | |
1528 | + | then gl | |
1529 | + | else [StringEntry(hK, hv)] | |
1525 | 1530 | ||
1526 | 1531 | ||
1527 | 1532 | ||
1528 | 1533 | @Callable(dV) | |
1529 | - | func | |
1534 | + | func setI (hK,hv) = if ((toString(dV.caller) != aF(this, aj()))) | |
1530 | 1535 | then gl | |
1531 | - | else [StringEntry(hL, hw)] | |
1532 | - | ||
1533 | - | ||
1534 | - | ||
1535 | - | @Callable(dV) | |
1536 | - | func setI (hL,hw) = if ((toString(dV.caller) != aF(this, aj()))) | |
1537 | - | then gl | |
1538 | - | else [IntegerEntry(hL, hw)] | |
1536 | + | else [IntegerEntry(hK, hv)] | |
1539 | 1537 | ||
1540 | 1538 | ||
1541 | 1539 | ||
1542 | 1540 | @Callable(dV) | |
1543 | 1541 | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aR()) | |
1544 | 1542 | ||
1545 | 1543 | ||
1546 | 1544 | ||
1547 | 1545 | @Callable(dV) | |
1548 | 1546 | func getAccBalanceWrapperREADONLY (bH) = $Tuple2(nil, bG(bH)) | |
1549 | 1547 | ||
1550 | 1548 | ||
1551 | 1549 | ||
1552 | 1550 | @Callable(dV) | |
1553 | 1551 | func calcPricesWrapperREADONLY (bZ,ca,ce) = { | |
1554 | - | let | |
1555 | - | $Tuple2(nil, [toString( | |
1552 | + | let hL = cd(bZ, ca, ce) | |
1553 | + | $Tuple2(nil, [toString(hL[0]), toString(hL[1]), toString(hL[2])]) | |
1556 | 1554 | } | |
1557 | 1555 | ||
1558 | 1556 | ||
1559 | 1557 | ||
1560 | 1558 | @Callable(dV) | |
1561 | - | func fromX18WrapperREADONLY (L, | |
1559 | + | func fromX18WrapperREADONLY (L,hM) = $Tuple2(nil, K(parseBigIntValue(L), hM)) | |
1562 | 1560 | ||
1563 | 1561 | ||
1564 | 1562 | ||
1565 | 1563 | @Callable(dV) | |
1566 | 1564 | func toX18WrapperREADONLY (I,J) = $Tuple2(nil, toString(H(I, J))) | |
1567 | 1565 | ||
1568 | 1566 | ||
1569 | 1567 | ||
1570 | 1568 | @Callable(dV) | |
1571 | 1569 | func calcPriceBigIntWrapperREADONLY (bJ,bK) = $Tuple2(nil, toString(bI(parseBigIntValue(bJ), parseBigIntValue(bK)))) | |
1572 | 1570 | ||
1573 | 1571 | ||
1574 | 1572 | ||
1575 | 1573 | @Callable(dV) | |
1576 | - | func estimatePutOperationWrapperREADONLY (cr,bO,cQ,cR,cS,cT, | |
1574 | + | func estimatePutOperationWrapperREADONLY (cr,bO,cQ,cR,cS,cT,hN,cU,cV) = $Tuple2(nil, cP(cr, bO, cQ, cR, cS, cT, hN, cU, cV, true, false, 0, "")) | |
1577 | 1575 | ||
1578 | 1576 | ||
1579 | 1577 | ||
1580 | 1578 | @Callable(dV) | |
1581 | - | func estimateGetOperationWrapperREADONLY (cr, | |
1582 | - | let dk = cq(cr, | |
1579 | + | func estimateGetOperationWrapperREADONLY (cr,hO,ct,hN) = { | |
1580 | + | let dk = cq(cr, hO, ct, addressFromStringValue(hN)) | |
1583 | 1581 | $Tuple2(nil, $Tuple10(dk._1, dk._2, dk._3, dk._4, dk._5, dk._6, dk._7, toString(dk._8), dk._9, dk._10)) | |
1584 | 1582 | } | |
1585 | 1583 | ||
1586 | 1584 | ||
1587 | 1585 | ||
1588 | 1586 | @Callable(dV) | |
1589 | 1587 | func getFeeREADONLY () = $Tuple2(nil, al) | |
1590 | 1588 | ||
1591 | 1589 | ||
1592 | - | @Verifier( | |
1593 | - | func | |
1594 | - | let | |
1590 | + | @Verifier(hP) | |
1591 | + | func hQ () = { | |
1592 | + | let hR = { | |
1595 | 1593 | let gj = gi() | |
1596 | 1594 | if ($isInstanceOf(gj, "ByteVector")) | |
1597 | 1595 | then { | |
1598 | 1596 | let gn = gj | |
1599 | 1597 | gn | |
1600 | 1598 | } | |
1601 | 1599 | else if ($isInstanceOf(gj, "Unit")) | |
1602 | - | then | |
1600 | + | then hP.senderPublicKey | |
1603 | 1601 | else throw("Match error") | |
1604 | 1602 | } | |
1605 | - | let gj = | |
1603 | + | let gj = hP | |
1606 | 1604 | if ($isInstanceOf(gj, "Order")) | |
1607 | 1605 | then { | |
1608 | 1606 | let eW = gj | |
1609 | - | let hT = aP() | |
1610 | - | let hU = eV(eW) | |
1611 | - | let hV = sigVerify(eW.bodyBytes, eW.proofs[0], eW.senderPublicKey) | |
1612 | - | let hW = sigVerify(eW.bodyBytes, eW.proofs[1], hT) | |
1613 | - | if (if (if (hU) | |
1607 | + | let hS = aP() | |
1608 | + | let hT = eV(eW) | |
1609 | + | let hU = sigVerify(eW.bodyBytes, eW.proofs[0], eW.senderPublicKey) | |
1610 | + | let hV = sigVerify(eW.bodyBytes, eW.proofs[1], hS) | |
1611 | + | if (if (if (hT) | |
1612 | + | then hU | |
1613 | + | else false) | |
1614 | 1614 | then hV | |
1615 | 1615 | else false) | |
1616 | - | then hW | |
1617 | - | else false) | |
1618 | 1616 | then true | |
1619 | - | else aB(hU, hV | |
1617 | + | else aB(hT, hU, hV) | |
1620 | 1618 | } | |
1621 | 1619 | else if ($isInstanceOf(gj, "SetScriptTransaction")) | |
1622 | 1620 | then { | |
1623 | 1621 | let dI = gj | |
1624 | - | let | |
1625 | - | let | |
1626 | - | let | |
1627 | - | if (if (( | |
1628 | - | then ( | |
1622 | + | let hW = blake2b256(value(dI.script)) | |
1623 | + | let hX = fromBase64String(value(getString(aM, az()))) | |
1624 | + | let hY = scriptHash(this) | |
1625 | + | if (if ((hX == hW)) | |
1626 | + | then (hY != hW) | |
1629 | 1627 | else false) | |
1630 | 1628 | then true | |
1631 | - | else sigVerify( | |
1629 | + | else sigVerify(hP.bodyBytes, hP.proofs[0], hR) | |
1632 | 1630 | } | |
1633 | - | else sigVerify( | |
1631 | + | else sigVerify(hP.bodyBytes, hP.proofs[0], hR) | |
1634 | 1632 | } | |
1635 | 1633 |
github/deemru/w8io/169f3d6 184.48 ms ◑