tx · C5AnFTfaAsxzz2S4P71qhRNh1omuJn4T9RBygAQusPE1 3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t: -0.05000000 Waves 2021.02.01 12:27 [1378922] smart account 3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t > SELF 0.00000000 Waves
{ "type": 13, "id": "C5AnFTfaAsxzz2S4P71qhRNh1omuJn4T9RBygAQusPE1", "fee": 5000000, "feeAssetId": null, "timestamp": 1612171673002, "version": 2, "chainId": 84, "sender": "3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t", "senderPublicKey": "Bo16mjUNTGCeZDYvQc6gHh46P21B3DqYCHoDt9CyzxHf", "proofs": [ "XnznA3NG4uBnfnMqeuGvyajfLAm7JqSpPfjmW15cJ7fYssib38HM2AZtECDouTsAb3UNdfrx9YCj9uBLRa8gVDr" ], "script": "base64:AAIEAAAAAAAAAA4IAhIAEgMKAQESAwoBAQAAAA4AAAAAAWUAAAAAABAzxNYAAAAADmt3b3Rhcm93bm93YWdpAAAACRhOcqAAAAAAAARiYXphCQAAaAAAAAIFAAAADmt3b3Rhcm93bm93YWdpAAAAAAAAAAASAAAAAAdlbmFibGVkCQAEGgAAAAIFAAAABHRoaXMCAAAAB2VuYWJsZWQAAAAABnBvemlvbQkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwIAAAAGUG96aW9tAAAAAApiYWxhbnNVU0ROCQAAaAAAAAIJAAPwAAAAAgUAAAAEdGhpcwEAAAAgtzARUPMAfn8omFYD7FEBrjXso9H7lLybJrQmByOrp0oAAAAAAAAAAGQAAAAACmJhbGFuc1VTRFQJAABoAAAAAgkAA/AAAAACBQAAAAR0aGlzAQAAACAJCQhzVKVOgFDqDmysbJV8OkcOJOmBXIL2KV5qFrGDzgAAAAAAAAAAZAEAAAACbG4AAAABAAAAAXgJAABtAAAABgUAAAABeAAAAAAAAAAACAUAAAABZQAAAAAAAAAACAAAAAAAAAAACAUAAAAERE9XTgEA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aQUAAAABYQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAANV0xhbWJlcnR2YWx1ZQkAAGkAAAACBQAAAAd3eXBsYXRhAAAAAAAAAABkBQAAAANuaWwAAAAAk++eWw==", "height": 1378922, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9XXzLHg4UYG9PWX3ouhB5DodycVYSLNnsC2Mdbee57xD Next: DxcS7D5G1a8rTw6H6ujojKqto77CyubZCDsqmcyRdu45 Diff:
Old | New | Differences | |
---|---|---|---|
123 | 123 | let poziomup = (poziom - baza) | |
124 | 124 | let nowabaza = (baza - (kwota * 9)) | |
125 | 125 | let nowypoziom = (nowabaza + poziomup) | |
126 | - | let nowakwotarownowagi = (nowabaza | |
126 | + | let nowakwotarownowagi = (nowabaza / 18) | |
127 | 127 | if ((balansUSDT > balansUSDN)) | |
128 | 128 | then { | |
129 | 129 | let a = mnozenie(nowabaza, (ln(nowypoziom) - ln(nowabaza))) |
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)) | |
33 | 33 | if ((wTimes != 0)) | |
34 | 34 | then (w - dzielenie(wTimes, (wPlusOneTimes - dzielenie(mnozenie((w + 200000000), wTimes), ((2 * w) + 200000000))))) | |
35 | 35 | else w | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | 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))))))))))))))) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func LambertW0 (x) = Halley(x, continuedfraction(x)) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | @Callable(i) | |
46 | 46 | func USDTnaUSDNnaUSDT () = { | |
47 | 47 | let oplata = fraction(i.payments[0].amount, 4, 10000) | |
48 | 48 | let kwotawymiany = fraction((i.payments[0].amount - oplata), 100, 1) | |
49 | 49 | if ((enabled == 1)) | |
50 | 50 | then if ((i.payments[0].assetId == base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y')) | |
51 | 51 | then if ((kwotawymiany > (kwotarownowagi - balansUSDT))) | |
52 | 52 | then if ((balansUSDT >= kwotarownowagi)) | |
53 | 53 | then { | |
54 | 54 | let nowypoziom = (poziom + kwotawymiany) | |
55 | 55 | let wyplata = mnozenie(baza, (ln(nowypoziom) - ln(poziom))) | |
56 | 56 | [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)] | |
57 | 57 | } | |
58 | 58 | else { | |
59 | 59 | let czesc1 = (kwotarownowagi - balansUSDT) | |
60 | 60 | let nowypoziom = (((balansUSDT + kwotawymiany) + baza) - kwotarownowagi) | |
61 | 61 | let wyplata = ((mnozenie(baza, (ln(nowypoziom) - ln(baza))) + poziom) - dzielenie(poziom, exp(dzielenie(czesc1, baza)))) | |
62 | 62 | [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)] | |
63 | 63 | } | |
64 | 64 | else { | |
65 | 65 | let wyplata = (poziom - dzielenie(poziom, exp(dzielenie(kwotawymiany, baza)))) | |
66 | 66 | let nowypoziom = (poziom - wyplata) | |
67 | 67 | [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)] | |
68 | 68 | } | |
69 | 69 | else if ((i.payments[0].assetId == base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d')) | |
70 | 70 | then if ((kwotawymiany > (kwotarownowagi - balansUSDN))) | |
71 | 71 | then if ((balansUSDN >= kwotarownowagi)) | |
72 | 72 | then { | |
73 | 73 | let nowypoziom = (poziom + kwotawymiany) | |
74 | 74 | let wyplata = mnozenie(baza, (ln(nowypoziom) - ln(poziom))) | |
75 | 75 | [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)] | |
76 | 76 | } | |
77 | 77 | else { | |
78 | 78 | let czesc1 = (kwotarownowagi - balansUSDN) | |
79 | 79 | let nowypoziom = (((balansUSDN + kwotawymiany) + baza) - kwotarownowagi) | |
80 | 80 | let wyplata = ((mnozenie(baza, (ln(nowypoziom) - ln(baza))) + poziom) - dzielenie(poziom, exp(dzielenie(czesc1, baza)))) | |
81 | 81 | [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)] | |
82 | 82 | } | |
83 | 83 | else { | |
84 | 84 | let wyplata = (poziom - dzielenie(poziom, exp(dzielenie(kwotawymiany, baza)))) | |
85 | 85 | let nowypoziom = (poziom - wyplata) | |
86 | 86 | [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)] | |
87 | 87 | } | |
88 | 88 | else throw("Nieobsługiwany asset") | |
89 | 89 | else throw("Kontrakt tymczasowo wyłączony") | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | ||
94 | 94 | @Callable(i) | |
95 | 95 | func InwestycjaUSDN (wplata) = if (((balansUSDN + wplata) > balansUSDT)) | |
96 | 96 | then { | |
97 | 97 | let b1 = balansUSDT | |
98 | 98 | let b2 = (balansUSDN + wplata) | |
99 | 99 | let a = mnozenie(dzielenie(b1, b2), exp(dzielenie((b2 + (17 * b1)), (18 * b2)))) | |
100 | 100 | let W0 = LambertW0(a) | |
101 | 101 | let nowabaza = dzielenie(mnozenie((9 * b1), b2), (mnozenie((W0 * 9), b2) - dzielenie((17 * b1), 200000000))) | |
102 | 102 | let wyplata = ((nowabaza - baza) / 9) | |
103 | 103 | let nowypoziomrownowagi = (nowabaza / 18) | |
104 | 104 | let nowypoziom = ((balansUSDN + wplata) - nowypoziomrownowagi) | |
105 | 105 | [IntegerEntry("WLambertvalue", (wyplata / 100))] | |
106 | 106 | } | |
107 | 107 | else { | |
108 | 108 | let b1 = (balansUSDN + wplata) | |
109 | 109 | let b2 = balansUSDT | |
110 | 110 | let a = mnozenie(dzielenie(b1, b2), exp(dzielenie((b2 + (17 * b1)), (18 * b2)))) | |
111 | 111 | let W0 = LambertW0(a) | |
112 | 112 | let nowabaza = dzielenie(mnozenie((9 * b1), b2), (mnozenie((W0 * 9), b2) - dzielenie((17 * b1), 200000000))) | |
113 | 113 | let wyplata = ((nowabaza - baza) / 9) | |
114 | 114 | let nowypoziomrownowagi = (nowabaza / 18) | |
115 | 115 | let nowypoziom = (balansUSDT - nowypoziomrownowagi) | |
116 | 116 | [IntegerEntry("WLambertvalue", (wyplata / 100))] | |
117 | 117 | } | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | ||
121 | 121 | @Callable(i) | |
122 | 122 | func WyplataUSDNinnwestycji (kwota) = { | |
123 | 123 | let poziomup = (poziom - baza) | |
124 | 124 | let nowabaza = (baza - (kwota * 9)) | |
125 | 125 | let nowypoziom = (nowabaza + poziomup) | |
126 | - | let nowakwotarownowagi = (nowabaza | |
126 | + | let nowakwotarownowagi = (nowabaza / 18) | |
127 | 127 | if ((balansUSDT > balansUSDN)) | |
128 | 128 | then { | |
129 | 129 | let a = mnozenie(nowabaza, (ln(nowypoziom) - ln(nowabaza))) | |
130 | 130 | let wyplata = (balansUSDN - a) | |
131 | 131 | [IntegerEntry("WLambertvalue", (wyplata / 100))] | |
132 | 132 | } | |
133 | 133 | else { | |
134 | 134 | let k = (balansUSDN - nowakwotarownowagi) | |
135 | 135 | let a = (nowypoziom - dzielenie(nowypoziom, exp(dzielenie(k, nowabaza)))) | |
136 | 136 | let wyplata = ((balansUSDN - nowakwotarownowagi) - a) | |
137 | 137 | [IntegerEntry("WLambertvalue", (wyplata / 100))] | |
138 | 138 | } | |
139 | 139 | } | |
140 | 140 | ||
141 | 141 |
github/deemru/w8io/026f985 67.69 ms ◑