tx · EcihxnJHwGi8AcVcu6xeWehwBehfZfcpKbgDjktDfqGB

3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t:  -0.05000000 Waves

2021.01.31 22:36 [1378093] smart account 3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t > SELF 0.00000000 Waves

{ "type": 13, "id": "EcihxnJHwGi8AcVcu6xeWehwBehfZfcpKbgDjktDfqGB", "fee": 5000000, "feeAssetId": null, "timestamp": 1612121904084, "version": 2, "chainId": 84, "sender": "3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t", "senderPublicKey": "Bo16mjUNTGCeZDYvQc6gHh46P21B3DqYCHoDt9CyzxHf", "proofs": [ "3L1fRSripaQcy4AdDVtNUJ6nnUH5bt5EBJn1eVdLYipniBcCdTzeSZEdcR4r12BesDmqaHb7wK9e5TuvFdzQGEZ5" ], "script": "base64:AAIEAAAAAAAAAAoIAhIAEgQKAgEBAAAAEAAAAAABZQAAAAAAEDPE1gAAAAAOa3dvdGFyb3dub3dhZ2kAAAAJGE5yoAAAAAAABGJhemEJAABoAAAAAgUAAAAOa3dvdGFyb3dub3dhZ2kAAAAAAAAAABIAAAAAB2VuYWJsZWQJAAQaAAAAAgUAAAAEdGhpcwIAAAAHZW5hYmxlZAAAAAAGcG96aW9tCQEAAAARQGV4dHJOYXRpdmUoMTA1MCkAAAACBQAAAAR0aGlzAgAAAAZQb3ppb20AAAAACmJhbGFuc1VTRE4JAABoAAAAAgkAA/AAAAACBQAAAAR0aGlzAQAAACC3MBFQ8wB+fyiYVgPsUQGuNeyj0fuUvJsmtCYHI6unSgAAAAAAAAAAZAAAAAAKYmFsYW5zVVNEVAkAAGgAAAACCQAD8AAAAAIFAAAABHRoaXMBAAAAIAkJCHNUpU6AUOoObKxslXw6Rw4k6YFcgvYpXmoWsYPOAAAAAAAAAABkAQAAAAJsbgAAAAEAAAABeAkAAG0AAAAGBQAAAAF4AAAAAAAAAAAIBQAAAAFlAAAAAAAAAAAIAAAAAAA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H0tvbnRyYWt0IHR5bWN6YXNvd28gd3nFgsSFY3pvbnkAAAABaQEAAAANV0xhbWJlcnR2YWx1ZQAAAAIAAAACYjEAAAACYjIEAAAAAWEJAQAAAAhtbm96ZW5pZQAAAAIJAQAAAAlkemllbGVuaWUAAAACBQAAAAJiMQUAAAACYjIJAQAAAANleHAAAAABCQEAAAAJZHppZWxlbmllAAAAAgkAAGQAAAACBQAAAAJiMgkAAGgAAAACAAAAAAAAAAARBQAAAAJiMQkAAGgAAAACAAAAAAAAAAASBQAAAAJiMgQAAAAFd3luaWsJAQAAAAlMYW1iZXJ0VzAAAAABBQAAAAFhBAAAAAZ3eW5pazIJAQAAAAlkemllbGVuaWUAAAACCQEAAAAIbW5vemVuaWUAAAACCQAAaAAAAAIAAAAAAAAAAAkFAAAAAmIxBQAAAAJiMgkAAGUAAAACCQEAAAAIbW5vemVuaWUAAAACCQAAaAAAAAIFAAAABXd5bmlrAAAAAAAAAAAJBQAAAAJiMgkBAAAACWR6aWVsZW5pZQAAAAIJAABoAAAAAgAAAAAAAAAAEQUAAAACYjEAAAAAAAvrwgAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAADVdMYW1iZXJ0dmFsdWUFAAAABXd5bmlrBQAAAANuaWwAAAAA1SCaAg==", "height": 1378093, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A9THDri9a2AmjnBC6chNR4XznndTjyXjfiVp6bpWc2TY Next: Craj1nAqGv2iubiKbZm6xgvc9ibH6aqkyJiM9hPPBRMc Diff:
OldNewDifferences
3636 }
3737
3838
39-func Halleyiteration (x,w) = x
39+func Halleyiteration (x,w) = w
4040
4141
4242 func expiteration (x) = dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(x))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let e = 271828182
55
66 let kwotarownowagi = 10000000000000
77
88 let baza = (kwotarownowagi * 18)
99
1010 let enabled = getInteger(this, "enabled")
1111
1212 let poziom = getIntegerValue(this, "Poziom")
1313
1414 let balansUSDN = (assetBalance(this, base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d') * 100)
1515
1616 let balansUSDT = (assetBalance(this, base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y') * 100)
1717
1818 func ln (x) = log(x, 8, e, 8, 8, DOWN)
1919
2020
2121 func exp (x) = pow(e, 8, x, 8, 8, DOWN)
2222
2323
2424 func mnozenie (x,y) = fraction(x, y, 100000000)
2525
2626
2727 func dzielenie (x,y) = fraction(x, 100000000, y)
2828
2929
3030 func Halley (x,w) = {
3131 let wTimes = (mnozenie(w, exp(w)) - x)
3232 let wPlusOneTimes = (mnozenie((w + 100000000), exp(w)) - x)
3333 if ((wTimes != 0))
3434 then (w - dzielenie(wTimes, (wPlusOneTimes - dzielenie(mnozenie((w + 200000000), wTimes), (mnozenie(2, w) + 200000000)))))
3535 else w
3636 }
3737
3838
39-func Halleyiteration (x,w) = x
39+func Halleyiteration (x,w) = w
4040
4141
4242 func expiteration (x) = dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(dzielenie(x, exp(x))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
4343
4444
4545 func continuedfraction (x) = dzielenie(x, (100000000 + dzielenie(x, (100000000 + dzielenie(x, (200000000 + dzielenie((x * 5), (300000000 + dzielenie((x * 17), (1000000000 + dzielenie((x * 133), (1700000000 + dzielenie((x * 1927), (1900000000 + dzielenie((x * 13582711), 9442300000000)))))))))))))))
4646
4747
4848 func LambertW0 (x) = if ((120000000 > x))
4949 then expiteration(x)
5050 else Halleyiteration(x, continuedfraction(x))
5151
5252
5353 @Callable(i)
5454 func USDTnaUSDNnaUSDT () = {
5555 let oplata = fraction(i.payments[0].amount, 4, 10000)
5656 let kwotawymiany = fraction((i.payments[0].amount - oplata), 100, 1)
5757 if ((enabled == 1))
5858 then if ((i.payments[0].assetId == base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y'))
5959 then if ((kwotawymiany > (kwotarownowagi - balansUSDT)))
6060 then if ((balansUSDT >= kwotarownowagi))
6161 then {
6262 let nowypoziom = (poziom + kwotawymiany)
6363 let wyplata = mnozenie(baza, (ln(nowypoziom) - ln(poziom)))
6464 [ScriptTransfer(i.caller, (wyplata / 100), base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d'), ScriptTransfer(addressFromStringValue("3MreQWCMA3vhziCq8yMCf9BdBmHcZGrbW4S"), oplata, base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y'), IntegerEntry("Poziom", nowypoziom), IntegerEntry("Wyplata", fraction(wyplata, 1, 100)), IntegerEntry("Warunek", 1)]
6565 }
6666 else {
6767 let czesc1 = (kwotarownowagi - balansUSDT)
6868 let nowypoziom = (((balansUSDT + kwotawymiany) + baza) - kwotarownowagi)
6969 let wyplata = ((mnozenie(baza, (ln(nowypoziom) - ln(baza))) + poziom) - dzielenie(poziom, exp(dzielenie(czesc1, baza))))
7070 [ScriptTransfer(i.caller, (wyplata / 100), base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d'), ScriptTransfer(addressFromStringValue("3MreQWCMA3vhziCq8yMCf9BdBmHcZGrbW4S"), oplata, base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y'), IntegerEntry("Wyplata", fraction(wyplata, 1, 100)), IntegerEntry("Poziom", nowypoziom), IntegerEntry("Warunek", 2)]
7171 }
7272 else {
7373 let wyplata = (poziom - dzielenie(poziom, exp(dzielenie(kwotawymiany, baza))))
7474 let nowypoziom = (poziom - wyplata)
7575 [ScriptTransfer(i.caller, (wyplata / 100), base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d'), ScriptTransfer(addressFromStringValue("3MreQWCMA3vhziCq8yMCf9BdBmHcZGrbW4S"), oplata, base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y'), IntegerEntry("Wyplata", fraction(wyplata, 1, 100)), IntegerEntry("Poziom", nowypoziom), IntegerEntry("Warunek", 3)]
7676 }
7777 else if ((i.payments[0].assetId == base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d'))
7878 then if ((kwotawymiany > (kwotarownowagi - balansUSDN)))
7979 then if ((balansUSDN >= kwotarownowagi))
8080 then {
8181 let nowypoziom = (poziom + kwotawymiany)
8282 let wyplata = mnozenie(baza, (ln(nowypoziom) - ln(poziom)))
8383 [ScriptTransfer(i.caller, (wyplata / 100), base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y'), ScriptTransfer(addressFromStringValue("3MreQWCMA3vhziCq8yMCf9BdBmHcZGrbW4S"), oplata, base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d'), IntegerEntry("Poziom", nowypoziom), IntegerEntry("Wyplata", fraction(wyplata, 1, 100)), IntegerEntry("Warunek", 11)]
8484 }
8585 else {
8686 let czesc1 = (kwotarownowagi - balansUSDN)
8787 let nowypoziom = (((balansUSDN + kwotawymiany) + baza) - kwotarownowagi)
8888 let wyplata = ((mnozenie(baza, (ln(nowypoziom) - ln(baza))) + poziom) - dzielenie(poziom, exp(dzielenie(czesc1, baza))))
8989 [ScriptTransfer(i.caller, (wyplata / 100), base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y'), ScriptTransfer(addressFromStringValue("3MreQWCMA3vhziCq8yMCf9BdBmHcZGrbW4S"), oplata, base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d'), IntegerEntry("Wyplata", fraction(wyplata, 1, 100)), IntegerEntry("Poziom", nowypoziom), IntegerEntry("Warunek", 21)]
9090 }
9191 else {
9292 let wyplata = (poziom - dzielenie(poziom, exp(dzielenie(kwotawymiany, baza))))
9393 let nowypoziom = (poziom - wyplata)
9494 [ScriptTransfer(i.caller, (wyplata / 100), base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y'), ScriptTransfer(addressFromStringValue("3MreQWCMA3vhziCq8yMCf9BdBmHcZGrbW4S"), oplata, base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d'), IntegerEntry("Wyplata", fraction(wyplata, 1, 100)), IntegerEntry("Poziom", nowypoziom), IntegerEntry("Warunek", 31)]
9595 }
9696 else throw("Nieobsługiwany asset")
9797 else throw("Kontrakt tymczasowo wyłączony")
9898 }
9999
100100
101101
102102 @Callable(i)
103103 func WLambertvalue (b1,b2) = {
104104 let a = mnozenie(dzielenie(b1, b2), exp(dzielenie((b2 + (17 * b1)), (18 * b2))))
105105 let wynik = LambertW0(a)
106106 let wynik2 = dzielenie(mnozenie((9 * b1), b2), (mnozenie((wynik * 9), b2) - dzielenie((17 * b1), 200000000)))
107107 [IntegerEntry("WLambertvalue", wynik)]
108108 }
109109
110110

github/deemru/w8io/169f3d6 
49.94 ms