tx · 3fE2V6uKmC7Mr1crYgvVPgaLEzLXHRPboiLQ7daZEWmd 3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t: -0.05000000 Waves 2021.01.31 22:34 [1378091] smart account 3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t > SELF 0.00000000 Waves
{ "type": 13, "id": "3fE2V6uKmC7Mr1crYgvVPgaLEzLXHRPboiLQ7daZEWmd", "fee": 5000000, "feeAssetId": null, "timestamp": 1612121652885, "version": 2, "chainId": 84, "sender": "3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t", "senderPublicKey": "Bo16mjUNTGCeZDYvQc6gHh46P21B3DqYCHoDt9CyzxHf", "proofs": [ "2qp5MhiofoYmF1JX29pUVTQNA9oYcRg1xHTiZSERWBjyfrptygamD8bw7WqkCgqbnPLXwf6CcdSmF4UsiZgs1WGH" ], "script": "base64:AAIEAAAAAAAAAAoIAhIAEgQKAgEBAAAAEAAAAAABZQAAAAAAEDPE1gAAAAAOa3dvdGFyb3dub3dhZ2kAAAAJGE5yoAAAAAAABGJhemEJAABoAAAAAgUAAAAOa3dvdGFyb3dub3dhZ2kAAAAAAAAAABIAAAAAB2VuYWJsZWQJAAQaAAAAAgUAAAAEdGhpcwIAAAAHZW5hYmxlZAAAAAAGcG96aW9tCQEAAAARQGV4dHJOYXRpdmUoMTA1MCkAAAACBQAAAAR0aGlzAgAAAAZQb3ppb20AAAAACmJhbGFuc1VTRE4JAABoAAAAAgkAA/AAAAACBQAAAAR0aGlzAQAAACC3MBFQ8wB+fyiYVgPsUQGuNeyj0fuUvJsmtCYHI6unSgAAAAAAAAAAZAAAAAAKYmFsYW5zVVNEVAkAAGgAAAACCQAD8AAAAAIFAAAABHRoaXMBAAAAIAkJCHNUpU6AUOoObKxslXw6Rw4k6YFcgvYpXmoWsYPOAAAAAAAAAABkAQAAAAJsbgAAAAEAAAABeAkAAG0AAAAGBQAAAAF4AAAAAAAAAAAIBQAAAAFlAAAAAAAAAAAIAAA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ZQb3ppb20FAAAACm5vd3lwb3ppb20JAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAB1dhcnVuZWsAAAAAAAAAAB8FAAAAA25pbAkAAAIAAAABAgAAABVOaWVvYnPFgnVnaXdhbnkgYXNzZXQJAAACAAAAAQIAAAAfS29udHJha3QgdHltY3phc293byB3ecWCxIVjem9ueQAAAAFpAQAAAA1XTGFtYmVydHZhbHVlAAAAAgAAAAJiMQAAAAJiMgQAAAABYQkBAAAACG1ub3plbmllAAAAAgkBAAAACWR6aWVsZW5pZQAAAAIFAAAAAmIxBQAAAAJiMgkBAAAAA2V4cAAAAAEJAQAAAAlkemllbGVuaWUAAAACCQAAZAAAAAIFAAAAAmIyCQAAaAAAAAIAAAAAAAAAABEFAAAAAmIxCQAAaAAAAAIAAAAAAAAAABIFAAAAAmIyBAAAAAV3eW5pawkBAAAACUxhbWJlcnRXMAAAAAEFAAAAAWEEAAAABnd5bmlrMgkBAAAACWR6aWVsZW5pZQAAAAIJAQAAAAhtbm96ZW5pZQAAAAIJAABoAAAAAgAAAAAAAAAACQUAAAACYjEFAAAAAmIyCQAAZQAAAAIJAQAAAAhtbm96ZW5pZQAAAAIJAABoAAAAAgUAAAAFd3luaWsAAAAAAAAAAAkFAAAAAmIyCQEAAAAJZHppZWxlbmllAAAAAgkAAGgAAAACAAAAAAAAAAARBQAAAAJiMQAAAAAAC+vCAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAANV0xhbWJlcnR2YWx1ZQUAAAAFd3luaWsFAAAAA25pbAAAAABK7zER", "height": 1378091, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8LZJEkmURLyHKEezasMMormrDFuai3AndsaLCEe5nDPZ Next: H2hLtd3joLw7FLi6hpxzkFVYrzRf9Bu5R12yuCrawVc3 Diff:
Old | New | Differences | |
---|---|---|---|
36 | 36 | } | |
37 | 37 | ||
38 | 38 | ||
39 | - | func Halleyiteration (x,w) = Halley(x, Halley(x, Halley(x, Halley(x, Halley(x, | |
39 | + | func Halleyiteration (x,w) = Halley(x, Halley(x, Halley(x, Halley(x, Halley(x, w))))) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | 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)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let e = 271828182 | |
5 | 5 | ||
6 | 6 | let kwotarownowagi = 10000000000000 | |
7 | 7 | ||
8 | 8 | let baza = (kwotarownowagi * 18) | |
9 | 9 | ||
10 | 10 | let enabled = getInteger(this, "enabled") | |
11 | 11 | ||
12 | 12 | let poziom = getIntegerValue(this, "Poziom") | |
13 | 13 | ||
14 | 14 | let balansUSDN = (assetBalance(this, base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d') * 100) | |
15 | 15 | ||
16 | 16 | let balansUSDT = (assetBalance(this, base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y') * 100) | |
17 | 17 | ||
18 | 18 | func ln (x) = log(x, 8, e, 8, 8, DOWN) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func exp (x) = pow(e, 8, x, 8, 8, DOWN) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func mnozenie (x,y) = fraction(x, y, 100000000) | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func dzielenie (x,y) = fraction(x, 100000000, y) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func Halley (x,w) = { | |
31 | 31 | let wTimes = (mnozenie(w, exp(w)) - x) | |
32 | 32 | let wPlusOneTimes = (mnozenie((w + 100000000), exp(w)) - x) | |
33 | 33 | if ((wTimes != 0)) | |
34 | 34 | then (w - dzielenie(wTimes, (wPlusOneTimes - dzielenie(mnozenie((w + 200000000), wTimes), (mnozenie(2, w) + 200000000))))) | |
35 | 35 | else w | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | ||
39 | - | func Halleyiteration (x,w) = Halley(x, Halley(x, Halley(x, Halley(x, Halley(x, | |
39 | + | func Halleyiteration (x,w) = Halley(x, Halley(x, Halley(x, Halley(x, Halley(x, w))))) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | 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)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | 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))))))))))))))) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func LambertW0 (x) = if ((120000000 > x)) | |
49 | 49 | then expiteration(x) | |
50 | 50 | else Halleyiteration(x, continuedfraction(x)) | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | @Callable(i) | |
54 | 54 | func USDTnaUSDNnaUSDT () = { | |
55 | 55 | let oplata = fraction(i.payments[0].amount, 4, 10000) | |
56 | 56 | let kwotawymiany = fraction((i.payments[0].amount - oplata), 100, 1) | |
57 | 57 | if ((enabled == 1)) | |
58 | 58 | then if ((i.payments[0].assetId == base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y')) | |
59 | 59 | then if ((kwotawymiany > (kwotarownowagi - balansUSDT))) | |
60 | 60 | then if ((balansUSDT >= kwotarownowagi)) | |
61 | 61 | then { | |
62 | 62 | let nowypoziom = (poziom + kwotawymiany) | |
63 | 63 | let wyplata = mnozenie(baza, (ln(nowypoziom) - ln(poziom))) | |
64 | 64 | [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)] | |
65 | 65 | } | |
66 | 66 | else { | |
67 | 67 | let czesc1 = (kwotarownowagi - balansUSDT) | |
68 | 68 | let nowypoziom = (((balansUSDT + kwotawymiany) + baza) - kwotarownowagi) | |
69 | 69 | let wyplata = ((mnozenie(baza, (ln(nowypoziom) - ln(baza))) + poziom) - dzielenie(poziom, exp(dzielenie(czesc1, baza)))) | |
70 | 70 | [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)] | |
71 | 71 | } | |
72 | 72 | else { | |
73 | 73 | let wyplata = (poziom - dzielenie(poziom, exp(dzielenie(kwotawymiany, baza)))) | |
74 | 74 | let nowypoziom = (poziom - wyplata) | |
75 | 75 | [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)] | |
76 | 76 | } | |
77 | 77 | else if ((i.payments[0].assetId == base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d')) | |
78 | 78 | then if ((kwotawymiany > (kwotarownowagi - balansUSDN))) | |
79 | 79 | then if ((balansUSDN >= kwotarownowagi)) | |
80 | 80 | then { | |
81 | 81 | let nowypoziom = (poziom + kwotawymiany) | |
82 | 82 | let wyplata = mnozenie(baza, (ln(nowypoziom) - ln(poziom))) | |
83 | 83 | [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)] | |
84 | 84 | } | |
85 | 85 | else { | |
86 | 86 | let czesc1 = (kwotarownowagi - balansUSDN) | |
87 | 87 | let nowypoziom = (((balansUSDN + kwotawymiany) + baza) - kwotarownowagi) | |
88 | 88 | let wyplata = ((mnozenie(baza, (ln(nowypoziom) - ln(baza))) + poziom) - dzielenie(poziom, exp(dzielenie(czesc1, baza)))) | |
89 | 89 | [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)] | |
90 | 90 | } | |
91 | 91 | else { | |
92 | 92 | let wyplata = (poziom - dzielenie(poziom, exp(dzielenie(kwotawymiany, baza)))) | |
93 | 93 | let nowypoziom = (poziom - wyplata) | |
94 | 94 | [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)] | |
95 | 95 | } | |
96 | 96 | else throw("Nieobsługiwany asset") | |
97 | 97 | else throw("Kontrakt tymczasowo wyłączony") | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | ||
102 | 102 | @Callable(i) | |
103 | 103 | func WLambertvalue (b1,b2) = { | |
104 | 104 | let a = mnozenie(dzielenie(b1, b2), exp(dzielenie((b2 + (17 * b1)), (18 * b2)))) | |
105 | 105 | let wynik = LambertW0(a) | |
106 | 106 | let wynik2 = dzielenie(mnozenie((9 * b1), b2), (mnozenie((wynik * 9), b2) - dzielenie((17 * b1), 200000000))) | |
107 | 107 | [IntegerEntry("WLambertvalue", wynik)] | |
108 | 108 | } | |
109 | 109 | ||
110 | 110 |
github/deemru/w8io/169f3d6 70.11 ms ◑