tx · A5HmG4sfynK5yDjssDjaXR3YJ6bMaCQ1C4SQ3AqoVRo4

3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t:  -0.05000000 Waves

2021.02.08 08:47 [1388812] smart account 3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t > SELF 0.00000000 Waves

{ "type": 13, "id": "A5HmG4sfynK5yDjssDjaXR3YJ6bMaCQ1C4SQ3AqoVRo4", "fee": 5000000, "feeAssetId": null, "timestamp": 1612763301454, "version": 2, "chainId": 84, "sender": "3N69YR9dGN9tJnhxGrURt5cQycjAN1zbQ9t", "senderPublicKey": "Bo16mjUNTGCeZDYvQc6gHh46P21B3DqYCHoDt9CyzxHf", "proofs": [ "4FWsbrwYed9uSpKEGTuUsvAZGM3CfXFNTsKpx8G5NhusJMsCLF8DVPMgLbrZ5VUo28zX6LQfzg2EuxrFP3yCt4ky" ], "script": "base64:AAIEAAAAAAAAAAwIAhIAEgASABIAEgAAAAARAAAAAAFlAAAAAAAQM8TWAAAAAA5rd290YXJvd25vd2FnaQkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwIAAAAOa3dvdGFyb3dub3dhZ2kAAAAABGJhemEJAABoAAAAAgUAAAAOa3dvdGFyb3dub3dhZ2kAAAAAAAAAABIAAAAAB2VuYWJsZWQJAAQaAAAAAgUAAAAEdGhpcwIAAAAHZW5hYmxlZAAAAAAGcG96aW9tCQEAAAARQGV4dHJOYXRpdmUoMTA1MCkAAAACBQAAAAR0aGlzAgAAAAZQb3ppb20AAAAABFVTRFQBAAAAIAkJCHNUpU6AUOoObKxslXw6Rw4k6YFcgvYpXmoWsYPOAAAAAARVU0ROAQAAACC3MBFQ8wB+fyiYVgPsUQGuNeyj0fuUvJsmtCYHI6unSgAAAAAGUHJvdG9uAQAAACAX/y1A1xPkMEBmwd7axVZVgkopFpgxt/6lqMPM+hgcDwAAAAAKYmFsYW5zVVNETgkAAGgAAAACCQAD8AAAAAIFAAAABHRoaXM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emVuaWUAAAACBQAAAAhub3dhYmF6YQkBAAAAA2V4cAAAAAEJAQAAAAlkemllbGVuaWUAAAACBQAAAAFrBQAAAAhub3dhYmF6YQQAAAAHd3lwbGF0YQkAAGUAAAACBQAAAApiYWxhbnNVU0RUCQAAZAAAAAIJAABlAAAAAgUAAAAKbm93eXBvemlvbQUAAAAIbm93YWJhemEFAAAAEm5vd2Frd290YXJvd25vd2FnaQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAGUG96aW9tBQAAAApub3d5cG96aW9tCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAA5rd290YXJvd25vd2FnaQUAAAASbm93YWt3b3Rhcm93bm93YWdpCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGkAAAACBQAAAAd3eXBsYXRhAAAAAAAAAABkBQAAAARVU0RUCQAETAAAAAIJAQAAAARCdXJuAAAAAgUAAAAGUHJvdG9uCAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAZhbW91bnQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAB1dhcnVuZWsAAAAAAAAAADQFAAAAA25pbAAAAACY4jwh", "height": 1388812, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BqH42Fx5gUByuHUyp94XRsveV4utHRs5qJxvfdJEBjSG Next: EiKCn2yyPdx8fBodEZN327jJfhRU2tnVfyr8cjShyuRz Diff:
OldNewDifferences
5050
5151 @Callable(i)
5252 func USDTnaUSDNnaUSDT () = {
53- let oplata = fraction(i.payments[0].amount, 4, 10000)
53+ let oplata = 0
5454 let kwotawymiany = fraction((i.payments[0].amount - oplata), 100, 1)
5555 if ((enabled != 1))
5656 then throw("Kontrakt tymczasowo wyłączony")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let e = 271828182
55
66 let kwotarownowagi = getIntegerValue(this, "kwotarownowagi")
77
88 let baza = (kwotarownowagi * 18)
99
1010 let enabled = getInteger(this, "enabled")
1111
1212 let poziom = getIntegerValue(this, "Poziom")
1313
1414 let USDT = base58'cGfAv1s7NxGWL913wR2Lp9yFSY7DrkWip6YPQGJGc6y'
1515
1616 let USDN = base58'DL67xXsNV42GiRUY1XMTXNyLCs42gnEL8jizPLBbrb8d'
1717
1818 let Proton = base58'2cg4HfZrcYtkRs7kE7G57EMuxt5K5uymrZQ58GaAD2xe'
1919
2020 let balansUSDN = (assetBalance(this, USDN) * 100)
2121
2222 let balansUSDT = (assetBalance(this, USDT) * 100)
2323
2424 func ln (x) = log(x, 8, e, 8, 8, DOWN)
2525
2626
2727 func exp (x) = pow(e, 8, x, 8, 8, DOWN)
2828
2929
3030 func mnozenie (x,y) = fraction(x, y, 100000000)
3131
3232
3333 func dzielenie (x,y) = fraction(x, 100000000, y)
3434
3535
3636 func Halley (x,w) = {
3737 let wTimes = (mnozenie(w, exp(w)) - x)
3838 let wPlusOneTimes = mnozenie((w + 100000000), exp(w))
3939 if ((wTimes != 0))
4040 then (w - dzielenie(wTimes, (wPlusOneTimes - dzielenie(mnozenie((w + 200000000), wTimes), ((2 * w) + 200000000)))))
4141 else w
4242 }
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) = Halley(x, continuedfraction(x))
4949
5050
5151 @Callable(i)
5252 func USDTnaUSDNnaUSDT () = {
53- let oplata = fraction(i.payments[0].amount, 4, 10000)
53+ let oplata = 0
5454 let kwotawymiany = fraction((i.payments[0].amount - oplata), 100, 1)
5555 if ((enabled != 1))
5656 then throw("Kontrakt tymczasowo wyłączony")
5757 else if (!(if ((i.payments[0].assetId == USDT))
5858 then true
5959 else (i.payments[0].assetId == USDN)))
6060 then throw("Nieobsługiwany asset")
6161 else if ((size(i.payments) != 1))
6262 then throw("Wymagana jedna płatność")
6363 else {
6464 let balans = if ((i.payments[0].assetId == USDT))
6565 then balansUSDT
6666 else balansUSDN
6767 let assetA = if ((i.payments[0].assetId == USDT))
6868 then USDN
6969 else USDT
7070 let assetB = if ((i.payments[0].assetId == USDT))
7171 then USDT
7272 else USDN
7373 if ((kwotawymiany > (kwotarownowagi - balans)))
7474 then if ((balans >= kwotarownowagi))
7575 then {
7676 let nowypoziom = (poziom + kwotawymiany)
7777 let wyplata = mnozenie(baza, (ln(nowypoziom) - ln(poziom)))
7878 [ScriptTransfer(i.caller, (wyplata / 100), assetA), ScriptTransfer(addressFromStringValue("3MreQWCMA3vhziCq8yMCf9BdBmHcZGrbW4S"), oplata, assetB), IntegerEntry("Poziom", nowypoziom), IntegerEntry("Wyplata", fraction(wyplata, 1, 100)), IntegerEntry("Warunek", 1)]
7979 }
8080 else {
8181 let czesc1 = (kwotarownowagi - balans)
8282 let nowypoziom = (((balans + kwotawymiany) + baza) - kwotarownowagi)
8383 let wyplata = ((mnozenie(baza, (ln(nowypoziom) - ln(baza))) + poziom) - dzielenie(poziom, exp(dzielenie(czesc1, baza))))
8484 [ScriptTransfer(i.caller, (wyplata / 100), assetA), ScriptTransfer(addressFromStringValue("3MreQWCMA3vhziCq8yMCf9BdBmHcZGrbW4S"), oplata, assetB), IntegerEntry("Wyplata", fraction(wyplata, 1, 100)), IntegerEntry("Poziom", nowypoziom), IntegerEntry("Warunek", 2)]
8585 }
8686 else {
8787 let wyplata = (poziom - dzielenie(poziom, exp(dzielenie(kwotawymiany, baza))))
8888 let nowypoziom = (poziom - wyplata)
8989 [ScriptTransfer(i.caller, (wyplata / 100), assetA), ScriptTransfer(addressFromStringValue("3MreQWCMA3vhziCq8yMCf9BdBmHcZGrbW4S"), oplata, assetB), IntegerEntry("Wyplata", fraction(wyplata, 1, 100)), IntegerEntry("Poziom", nowypoziom), IntegerEntry("Warunek", 3)]
9090 }
9191 }
9292 }
9393
9494
9595
9696 @Callable(i)
9797 func InwestycjaUSDN () = if (!(if ((i.payments[0].assetId == USDN))
9898 then true
9999 else (i.payments[0].assetId == USDT)))
100100 then throw("Do tej funkcji mozesz wpłacać tylko USDN lub USDT")
101101 else {
102102 let wplata = (i.payments[0].amount * 100)
103103 let b1 = if ((i.payments[0].assetId == USDN))
104104 then if (((balansUSDN + wplata) > balansUSDT))
105105 then balansUSDT
106106 else (balansUSDN + wplata)
107107 else if (((balansUSDT + wplata) > balansUSDN))
108108 then balansUSDN
109109 else (balansUSDT + wplata)
110110 let b2 = if ((i.payments[0].assetId == USDN))
111111 then if (((balansUSDN + wplata) > balansUSDT))
112112 then (balansUSDN + wplata)
113113 else balansUSDT
114114 else if (((balansUSDT + wplata) > balansUSDN))
115115 then (balansUSDT + wplata)
116116 else balansUSDN
117117 let balans = if ((i.payments[0].assetId == USDN))
118118 then balansUSDN
119119 else balansUSDT
120120 let a = mnozenie(dzielenie(b1, b2), exp((5555555 + mnozenie(dzielenie(b1, b2), 94444444))))
121121 let W0 = LambertW0(a)
122122 let nowabaza = dzielenie(mnozenie(b1, b2), (mnozenie(W0, b2) - mnozenie(b1, 94444444)))
123123 let wyplata = ((nowabaza - baza) / 9)
124124 let nowypoziomrownowagi = (nowabaza / 18)
125125 let nowypoziom = (((balans + wplata) - nowypoziomrownowagi) + nowabaza)
126126 [IntegerEntry("W0", W0), IntegerEntry("a", a), IntegerEntry("Poziom", nowypoziom), IntegerEntry("kwotarownowagi", nowypoziomrownowagi), Reissue(Proton, (wyplata / 100), true), ScriptTransfer(i.caller, (wyplata / 100), Proton)]
127127 }
128128
129129
130130
131131 @Callable(i)
132132 func InwestycjaUSDT () = if ((i.payments[0].assetId != USDT))
133133 then throw("Do tej funkcji mozesz wpłacać tylko USDT")
134134 else {
135135 let wplata = (i.payments[0].amount * 100)
136136 let b1 = if (((balansUSDT + wplata) > balansUSDN))
137137 then balansUSDN
138138 else (balansUSDT + wplata)
139139 let b2 = if (((balansUSDT + wplata) > balansUSDN))
140140 then (balansUSDT + wplata)
141141 else balansUSDN
142142 let a = mnozenie(dzielenie(b1, b2), exp((5555555 + mnozenie(dzielenie(b1, b2), 94444444))))
143143 let W0 = LambertW0(a)
144144 let nowabaza = dzielenie(mnozenie(b1, b2), (mnozenie(W0, b2) - mnozenie(b1, 94444444)))
145145 let wyplata = ((nowabaza - baza) / 9)
146146 let nowypoziomrownowagi = (nowabaza / 18)
147147 let nowypoziom = (((balansUSDT + wplata) - nowypoziomrownowagi) + nowabaza)
148148 [IntegerEntry("Poziom", nowypoziom), IntegerEntry("kwotarownowagi", nowypoziomrownowagi), Reissue(Proton, (wyplata / 100), true), ScriptTransfer(i.caller, (wyplata / 100), Proton)]
149149 }
150150
151151
152152
153153 @Callable(i)
154154 func WyplataUSDN () = if ((i.payments[0].assetId != Proton))
155155 then throw("Mozesz wpłacic tylko protona")
156156 else {
157157 let kwota = (i.payments[0].amount * 100)
158158 let nowabaza = (baza - (kwota * 9))
159159 let nowakwotarownowagi = (nowabaza / 18)
160160 if ((balansUSDT > nowakwotarownowagi))
161161 then {
162162 let nowypoziom = ((balansUSDT - nowakwotarownowagi) + nowabaza)
163163 let a = mnozenie(nowabaza, (ln(nowypoziom) - ln(nowabaza)))
164164 let wyplata = ((balansUSDN - nowakwotarownowagi) + a)
165165 [IntegerEntry("Poziom", nowypoziom), IntegerEntry("kwotarownowagi", nowakwotarownowagi), IntegerEntry("a1", a), IntegerEntry("nowabaza", nowabaza), ScriptTransfer(i.caller, (wyplata / 100), USDN), Burn(Proton, i.payments[0].amount)]
166166 }
167167 else {
168168 let k = (nowakwotarownowagi - balansUSDT)
169169 let nowypoziom = mnozenie(nowabaza, exp(dzielenie(k, nowabaza)))
170170 let wyplata = (balansUSDN - ((nowypoziom - nowabaza) + nowakwotarownowagi))
171171 [IntegerEntry("Poziom", nowypoziom), IntegerEntry("kwotarownowagi", nowakwotarownowagi), IntegerEntry("nowabaza", nowabaza), ScriptTransfer(i.caller, (wyplata / 100), USDN), Burn(Proton, i.payments[0].amount)]
172172 }
173173 }
174174
175175
176176
177177 @Callable(i)
178178 func WyplataUSDT () = if ((i.payments[0].assetId != Proton))
179179 then throw("Mozesz wpłacic tylko protona")
180180 else {
181181 let kwota = (i.payments[0].amount * 100)
182182 let nowabaza = (baza - (kwota * 9))
183183 let nowakwotarownowagi = (nowabaza / 18)
184184 if ((balansUSDN > nowakwotarownowagi))
185185 then {
186186 let nowypoziom = ((balansUSDN - nowakwotarownowagi) + nowabaza)
187187 let a = mnozenie(nowabaza, (ln(nowypoziom) - ln(nowabaza)))
188188 let wyplata = ((balansUSDT - nowakwotarownowagi) + a)
189189 [IntegerEntry("Poziom", nowypoziom), IntegerEntry("kwotarownowagi", nowakwotarownowagi), ScriptTransfer(i.caller, (wyplata / 100), USDT), Burn(Proton, i.payments[0].amount)]
190190 }
191191 else {
192192 let k = (nowakwotarownowagi - balansUSDN)
193193 let nowypoziom = mnozenie(nowabaza, exp(dzielenie(k, nowabaza)))
194194 let wyplata = (balansUSDT - ((nowypoziom - nowabaza) + nowakwotarownowagi))
195195 [IntegerEntry("Poziom", nowypoziom), IntegerEntry("kwotarownowagi", nowakwotarownowagi), ScriptTransfer(i.caller, (wyplata / 100), USDT), Burn(Proton, i.payments[0].amount), IntegerEntry("Warunek", 52)]
196196 }
197197 }
198198
199199

github/deemru/w8io/169f3d6 
55.01 ms