tx · 5bhc79hGkAVU7bQqQYphYdyAVRnAbFSiW4fWqKoeSp5Y

3N9Q1fto4gNiBzBhunuF57xU7chekeJBzJb:  -0.01000000 Waves

2021.11.24 02:24 [1804337] smart account 3N9Q1fto4gNiBzBhunuF57xU7chekeJBzJb > SELF 0.00000000 Waves

{ "type": 13, "id": "5bhc79hGkAVU7bQqQYphYdyAVRnAbFSiW4fWqKoeSp5Y", "fee": 1000000, "feeAssetId": null, "timestamp": 1637709899998, "version": 1, "sender": "3N9Q1fto4gNiBzBhunuF57xU7chekeJBzJb", "senderPublicKey": "5LCbyfeLnA6WFFq4M6L7AEzy8ktT8sL9A5JXoyuaxCCJ", "proofs": [ "2PnwnyVtqbCAiwPPPhiBa88H9gShZn5dAWpj5SP6fsTAuQGZGAfrN3CWAFyQJFmHo8izWrfWuosN1MiXpjKZRJPd" ], "script": "base64:AAIFAAAAAAAAABoIAhIDCgEIEgASBAoCCAESAwoBCBIECgIICAAAADwAAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QAAAAAAB1NDQUxFMTgAAAAAAAAAABIAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAANTRVACAAAAAl9fAAAAAA5QT09MV0VJR0hUTVVMVAUAAAAFTVVMVDgBAAAAD2dldFN0cmluZ09yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQiAAAAAQUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPbWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAEAAAAYZ2V0U3RyaW5nQnlBZGRyZXNzT3JGYWlsAAAAAgAAAAdhZGRyZXNzAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEHQAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAA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AAAEGVtaXNzaW9uQ29udHJhY3QJAQAAABVrZXlFbWlzc2lvblN0YXJ0QmxvY2sAAAAABAAAAAxwYXNzZWRCbG9ja3MDCQAAZgAAAAIFAAAAEmVtaXNzaW9uU3RhcnRCbG9jawUAAAAGaGVpZ2h0AAAAAAAAAAAACQAAZQAAAAIFAAAABmhlaWdodAUAAAASZW1pc3Npb25TdGFydEJsb2NrBAAAAA5wb29sV3hFbWlzc2lvbgkAAGsAAAADCQAAaAAAAAIFAAAAEnd4RW1pc3Npb25QZXJCbG9jawUAAAAMcGFzc2VkQmxvY2tzBQAAAApwb29sV2VpZ2h0BQAAAA5wb29sV2VpZ2h0TXVsdAQAAAAMdXNlcld4UmV3YXJkCQAAawAAAAMFAAAADnBvb2xXeEVtaXNzaW9uBQAAAAxzdGFrZWRCeVVzZXIFAAAAC3N0YWtlZFRvdGFsBAAAAA0kdDAxMzg5ODE0MDEwCQEAAAAQcmVmcmVzaElOVEVHUkFMUwAAAAQFAAAADGxwQXNzZXRJZFN0cgUAAAAOdXNlckFkZHJlc3NTdHIFAAAADnBvb2xBZGRyZXNzU3RyAAAAAAAAAAAABAAAABB3eFRvQ2xhaW1Vc2VyTmV3CAUAAAANJHQwMTM4OTgxNDAxMAAAAAJfMQQAAAANaW50ZWdyYWxTVEFURQgFAAAADSR0MDEzODk4MTQwMTAAAAACXzIEAAAABWRlYnVnCAUAAAANJHQwMTM4OTgxNDAxMAAAAAJfMwkABRQAAAACBQAAAANuaWwJAAS5AAAAAgkABEwAAAACAgAAAAolcyVzJWQlZCVzCQAETAAAAAIFAAAADGxwQXNzZXRJZFN0cgkABEwAAAACBQAAAA51c2VyQWRkcmVzc1N0cgkABEwAAAACCQABpAAAAAEFAAAADHVzZXJXeFJld2FyZAkABEwAAAACAgAAAAEwCQAETAAAAAIFAAAABWRlYnVnBQAAAANuaWwFAAAAA1NFUAAAAADtIsDk", "chainId": 84, "height": 1804337, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GGk1hvnsGMhTSEFzjow7a8MvGzs3unWsy2fUhy7ZAqZi Next: EtWz3xvMC8e5yLGQpwFmoTub6fVaA1f4vYYy8uySL8Yr Diff:
OldNewDifferences
9999 func T (S) = ("%s%s%s__staked__total__" + S)
100100
101101
102-func U (h) = valueOrElse(getInteger(this, h), 0)
102+func U (R,S) = makeString(["%s%s%s__claimed", R, S], e)
103103
104104
105-func V (W) = makeString(["%s%s%s", W, "total", "bal"], e)
105+func V (S) = makeString(["%s%s%s__claimed", "total", S], e)
106106
107107
108-func X (W,Y) = makeString(["%s%s%s", W, Y, "bal"], e)
108+func W (h) = valueOrElse(getInteger(this, h), 0)
109109
110110
111-func Z (W) = makeString(["%s%s%s", W, "total", "balINT"], e)
111+func X (Y) = makeString(["%s%s%s", Y, "total", "bal"], e)
112112
113113
114-func aa (W,Y) = makeString(["%s%s%s", W, Y, "balINT"], e)
114+func Z (Y,aa) = makeString(["%s%s%s", Y, aa, "bal"], e)
115115
116116
117-func ab (W) = makeString(["%s%s%s", W, "total", "lastUpd"], e)
117+func ab (Y) = makeString(["%s%s%s", Y, "total", "balINT"], e)
118118
119119
120-func ac (W,Y) = makeString(["%s%s%s", W, Y, "lastUpd"], e)
120+func ac (Y,aa) = makeString(["%s%s%s", Y, aa, "balINT"], e)
121121
122122
123-func ad (W) = makeString(["%s%s%s%s", W, "common", "lpInt"], e)
123+func ad (Y) = makeString(["%s%s%s", Y, "total", "lastUpd"], e)
124124
125125
126-func ae (W) = makeString(["%s%s%s%s", W, "common", "lpIntH"], e)
126+func ae (Y,aa) = makeString(["%s%s%s", Y, aa, "lastUpd"], e)
127127
128128
129-func af (W,Y) = makeString(["%s%s%s%s", W, Y, "lpInt"], e)
129+func af (Y) = makeString(["%s%s%s%s", Y, "common", "lpInt"], e)
130130
131131
132-func ag (W,Y) = makeString(["%s%s%s%s", W, Y, "lpIntH"], e)
132+func ag (Y) = makeString(["%s%s%s%s", Y, "common", "lpIntH"], e)
133133
134134
135-func ah (W) = makeString(["%s", W, "wxPerLp"], e)
135+func ah (Y,aa) = makeString(["%s%s%s%s", Y, aa, "lpInt"], e)
136136
137137
138-func ai (W,Y) = makeString(["%s%s%s%s", W, Y, "uIntL"], e)
138+func ai (Y,aa) = makeString(["%s%s%s%s", Y, aa, "lpIntH"], e)
139139
140140
141-func aj (ak,Y,al) = makeString(["%s%s%s%s__history", ak, Y, al], e)
141+func aj (Y) = makeString(["%s", Y, "wxPerLp"], e)
142142
143143
144-func am (Y,W,ak,an) = makeString(["%s%s%s%d%d%d", Y, W, ak, toString(height), toString(lastBlock.timestamp), toString(an)], e)
144+func ak (Y,aa) = makeString(["%s%s%s%s", Y, aa, "uIntL"], e)
145145
146146
147-func ao (ak,Y,W,an,ap) = StringEntry(aj(ak, Y, toBase58String(ap)), am(Y, W, ak, an))
147+func al (am,aa,an) = makeString(["%s%s%s%s__history", am, aa, an], e)
148148
149149
150-let aq = D()
150+func ao (aa,Y,am,ap) = makeString(["%s%s%s%d%d%d", aa, Y, am, toString(height), toString(lastBlock.timestamp), toString(ap)], e)
151151
152-let I = F(aq)
153152
154-let ar = J(I)
153+func aq (am,aa,Y,ap,ar) = StringEntry(al(am, aa, toBase58String(ar)), ao(aa, Y, am, ap))
155154
156-func as (at,au,av,aw) = if (if ((au == 0))
157- then (at > 0)
155+
156+let as = D()
157+
158+let I = F(as)
159+
160+let at = J(I)
161+
162+func au (av,aw,ax,ay) = if (if ((aw == 0))
163+ then (av > 0)
158164 else false)
159165 then 0
160- else if ((at == 0))
161- then av
162- else if (if ((au > 0))
163- then (at > 0)
166+ else if ((av == 0))
167+ then ax
168+ else if (if ((aw > 0))
169+ then (av > 0)
164170 else false)
165- then n(this, aw)
171+ then n(this, ay)
166172 else throw("calcWxPerLpIntegralUserLast: unexpected state")
167173
168174
169-func ax (S,R,ay,az) = {
170- let aA = Q(R, S)
171- let aB = T(S)
172- let at = U(aA)
173- let aC = U(aB)
174- let aD = getIntegerValue(aq, B(ay))
175- let aE = n(ar, N())
176- let aF = n(ar, L())
177- let aG = fraction(aF, aD, f)
178- let aH = ad(S)
179- let aI = ae(S)
180- let aJ = af(S, R)
181- let aK = ag(S, R)
182- let aL = ah(S)
183- let aw = ai(S, R)
184- let aM = l(this, aI, aE)
185- let aN = k(this, aH)
186- let aO = k(this, aJ)
187- let au = k(this, aK)
188- let aP = k(this, aL)
189- let aQ = max([(height - aM), 0])
190- let aR = if ((aP != 0))
191- then aP
192- else fraction(aG, b, aC)
193- let aS = (aC + az)
194- let av = (aN + (aR * aQ))
195- let aT = as(at, au, av, aw)
196- let aU = (aO + fraction((av - aT), at, b))
197- let aV = av
198- let aW = (aG / aS)
199- let aX = height
200- let aY = height
201- let aZ = makeString([toString(aU), toString(av), toString(aT), toString(at), toString(aQ), toString(aR), toString(aC), toString(aG), toString(aF), toString(aD), toString(height)], "::")
202- $Tuple3(aU, [IntegerEntry(aH, av), IntegerEntry(aI, aX), IntegerEntry(aJ, aU), IntegerEntry(aK, aY), IntegerEntry(aL, aW), IntegerEntry(aw, aV)], aZ)
175+func az (S,R,aA,aB) = {
176+ let aC = Q(R, S)
177+ let aD = T(S)
178+ let av = W(aC)
179+ let aE = W(aD)
180+ let aF = getIntegerValue(as, B(aA))
181+ let aG = n(at, N())
182+ let aH = n(at, L())
183+ let aI = fraction(aH, aF, f)
184+ let aJ = af(S)
185+ let aK = ag(S)
186+ let aL = ah(S, R)
187+ let aM = ai(S, R)
188+ let aN = aj(S)
189+ let ay = ak(S, R)
190+ let aO = l(this, aK, aG)
191+ let aP = k(this, aJ)
192+ let aQ = k(this, aL)
193+ let aw = k(this, aM)
194+ let aR = k(this, aN)
195+ let aS = max([(height - aO), 0])
196+ let aT = if ((aR != 0))
197+ then aR
198+ else fraction(aI, b, aE)
199+ let aU = (aE + aB)
200+ let ax = (aP + (aT * aS))
201+ let aV = au(av, aw, ax, ay)
202+ let aW = (aQ + fraction((ax - aV), av, b))
203+ let aX = ax
204+ let aY = (aI / aU)
205+ let aZ = height
206+ let ba = height
207+ let bb = makeString([toString(aW), toString(ax), toString(aV), toString(av), toString(aS), toString(aT), toString(aE), toString(aI), toString(aH), toString(aF), toString(height)], "::")
208+ $Tuple3(aW, [IntegerEntry(aJ, ax), IntegerEntry(aK, aZ), IntegerEntry(aL, aW), IntegerEntry(aM, ba), IntegerEntry(aN, aY), IntegerEntry(ay, aX)], bb)
203209 }
204210
205211
206-@Callable(ba)
207-func constructor (bb) = if ((ba.caller != this))
212+@Callable(bc)
213+func constructor (bd) = if ((bc.caller != this))
208214 then throw("not authorized")
209- else [StringEntry(o(), bb)]
215+ else [StringEntry(o(), bd)]
210216
211217
212218
213-@Callable(ba)
214-func stake () = if ((size(ba.payments) != 1))
219+@Callable(bc)
220+func stake () = if ((size(bc.payments) != 1))
215221 then throw("invalid payment - exact one payment must be attached")
216222 else {
217- let bc = ba.payments[0]
218- let W = value(bc.assetId)
219- let S = toBase58String(W)
220- let an = bc.amount
221- let ay = valueOrErrorMessage(getString(aq, x(S)), ("unsupported lp asset " + S))
222- let bd = toString(ba.caller)
223- let R = if ((bd == ay))
224- then toString(ba.originCaller)
225- else bd
226- let aA = Q(R, S)
227- let aB = T(S)
228- let at = U(aA)
229- let aC = U(aB)
230- let be = ax(S, R, ay, an)
231- let aU = be._1
232- let bf = be._2
233- let aZ = be._3
234- ([IntegerEntry(aA, (at + an)), IntegerEntry(aB, (aC + an)), ao("stake", R, S, an, ba.transactionId)] ++ bf)
223+ let be = bc.payments[0]
224+ let Y = value(be.assetId)
225+ let S = toBase58String(Y)
226+ let ap = be.amount
227+ let aA = valueOrErrorMessage(getString(as, x(S)), ("unsupported lp asset " + S))
228+ let bf = toString(bc.caller)
229+ let R = if ((bf == aA))
230+ then toString(bc.originCaller)
231+ else bf
232+ let aC = Q(R, S)
233+ let aD = T(S)
234+ let av = W(aC)
235+ let aE = W(aD)
236+ let bg = az(S, R, aA, ap)
237+ let aW = bg._1
238+ let bh = bg._2
239+ let bb = bg._3
240+[IntegerEntry(aC, (av + ap)), IntegerEntry(aD, (aE + ap)), aq("stake", R, S, ap, bc.transactionId)]
235241 }
236242
237243
238244
239-@Callable(ba)
240-func unstake (S,an) = {
241- let R = toString(ba.caller)
242- let W = fromBase58String(S)
243- if (!(isDefined(getString(aq, x(S)))))
245+@Callable(bc)
246+func unstake (S,ap) = {
247+ let R = toString(bc.caller)
248+ let Y = fromBase58String(S)
249+ if (!(isDefined(getString(as, x(S)))))
244250 then throw(("unsupported lp asset " + S))
245251 else {
246- let aA = Q(R, S)
247- let aB = T(S)
248- let at = U(aA)
249- let aC = U(aB)
250- if ((an > at))
252+ let aC = Q(R, S)
253+ let aD = T(S)
254+ let av = W(aC)
255+ let aE = W(aD)
256+ if ((ap > av))
251257 then throw("passed amount is less then available")
252- else [IntegerEntry(aA, (at - an)), IntegerEntry(aB, (aC - an)), ScriptTransfer(ba.caller, an, W), ao("unstake", R, S, an, ba.transactionId)]
258+ else [IntegerEntry(aC, (av - ap)), IntegerEntry(aD, (aE - ap)), ScriptTransfer(bc.caller, ap, Y), aq("unstake", R, S, ap, bc.transactionId)]
253259 }
254260 }
255261
256262
257263
258-@Callable(ba)
259-func claimWx (S) = throw("temporary disabled")
264+@Callable(bc)
265+func claimWx (S) = {
266+ let R = toString(bc.caller)
267+ if (!(isDefined(getString(as, x(S)))))
268+ then throw(("unsupported lp asset " + S))
269+ else {
270+ let bi = U(S, R)
271+ let bj = V(S)
272+ throw("temporary disabled")
273+ }
274+ }
260275
261276
262277
263-@Callable(ba)
278+@Callable(bc)
264279 func claimWxREADONLY (S,R) = {
265- let aA = Q(R, S)
266- let aB = T(S)
267- let at = U(aA)
268- let aC = U(aB)
269- let ay = i(aq, A(S))
270- let bg = b
271- let aD = getIntegerValue(aq, B(ay))
272- let aF = n(ar, L())
273- let aE = n(ar, N())
274- let bh = if ((aE > height))
280+ let aC = Q(R, S)
281+ let aD = T(S)
282+ let av = W(aC)
283+ let aE = W(aD)
284+ let aA = i(as, A(S))
285+ let bk = b
286+ let aF = getIntegerValue(as, B(aA))
287+ let aH = n(at, L())
288+ let aG = n(at, N())
289+ let bl = if ((aG > height))
275290 then 0
276- else (height - aE)
277- let bi = fraction((aF * bh), aD, bg)
278- let bj = fraction(bi, at, aC)
279- let bk = ax(S, R, ay, 0)
280- let aU = bk._1
281- let bf = bk._2
282- let aZ = bk._3
283- $Tuple2(nil, makeString(["%s%s%d%d%s", S, R, toString(bj), "0", aZ], e))
291+ else (height - aG)
292+ let bm = fraction((aH * bl), aF, bk)
293+ let bn = fraction(bm, av, aE)
294+ let bo = az(S, R, aA, 0)
295+ let aW = bo._1
296+ let bh = bo._2
297+ let bb = bo._3
298+ $Tuple2(nil, makeString(["%s%s%d%d%s", S, R, toString(bn), "0", bb], e))
284299 }
285300
286301
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 8
55
66 let b = 100000000
77
88 let c = 18
99
1010 let d = toBigInt(1000000000000000000)
1111
1212 let e = "__"
1313
1414 let f = b
1515
1616 func g (h) = valueOrErrorMessage(getString(h), (("mandatory this." + h) + " is not defined"))
1717
1818
1919 func i (j,h) = valueOrErrorMessage(getString(j, h), (((("mandatory " + toString(j)) + ".") + h) + " is not defined"))
2020
2121
2222 func k (j,h) = valueOrElse(getInteger(j, h), 0)
2323
2424
2525 func l (j,h,m) = valueOrElse(getInteger(j, h), m)
2626
2727
2828 func n (j,h) = valueOrErrorMessage(getInteger(j, h), (("mandatory this." + h) + " is not defined"))
2929
3030
3131 func o () = "%s%s__config__factoryAddress"
3232
3333
3434 let p = 1
3535
3636 let q = 2
3737
3838 let r = 3
3939
4040 let s = 4
4141
4242 let t = 5
4343
4444 let u = 6
4545
4646 let v = 7
4747
4848 func w () = "%s__factoryConfig"
4949
5050
5151 func x (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], e)
5252
5353
5454 func z () = "%s__lpTokensList"
5555
5656
5757 func A (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], e)
5858
5959
6060 func B (C) = makeString(["%s%s", "poolWeight", C], e)
6161
6262
6363 func D () = addressFromStringValue(g(o()))
6464
6565
6666 func E () = split(valueOrElse(getString(D(), z()), ""), e)
6767
6868
6969 func F (G) = split(i(G, w()), e)
7070
7171
7272 func H (I) = addressFromStringValue(I[q])
7373
7474
7575 func J (I) = addressFromStringValue(I[t])
7676
7777
7878 func K (I) = addressFromStringValue(I[p])
7979
8080
8181 func L () = "%s%s__ratePerBlock__current"
8282
8383
8484 func M () = "%s%s__ratePerBlockMax__current"
8585
8686
8787 func N () = "%s%s__emission__startBlock"
8888
8989
9090 func O () = "%s%s__emission__duration"
9191
9292
9393 func P () = "%s%s__emission__endBlock"
9494
9595
9696 func Q (R,S) = makeString(["%s%s%s__staked", R, S], e)
9797
9898
9999 func T (S) = ("%s%s%s__staked__total__" + S)
100100
101101
102-func U (h) = valueOrElse(getInteger(this, h), 0)
102+func U (R,S) = makeString(["%s%s%s__claimed", R, S], e)
103103
104104
105-func V (W) = makeString(["%s%s%s", W, "total", "bal"], e)
105+func V (S) = makeString(["%s%s%s__claimed", "total", S], e)
106106
107107
108-func X (W,Y) = makeString(["%s%s%s", W, Y, "bal"], e)
108+func W (h) = valueOrElse(getInteger(this, h), 0)
109109
110110
111-func Z (W) = makeString(["%s%s%s", W, "total", "balINT"], e)
111+func X (Y) = makeString(["%s%s%s", Y, "total", "bal"], e)
112112
113113
114-func aa (W,Y) = makeString(["%s%s%s", W, Y, "balINT"], e)
114+func Z (Y,aa) = makeString(["%s%s%s", Y, aa, "bal"], e)
115115
116116
117-func ab (W) = makeString(["%s%s%s", W, "total", "lastUpd"], e)
117+func ab (Y) = makeString(["%s%s%s", Y, "total", "balINT"], e)
118118
119119
120-func ac (W,Y) = makeString(["%s%s%s", W, Y, "lastUpd"], e)
120+func ac (Y,aa) = makeString(["%s%s%s", Y, aa, "balINT"], e)
121121
122122
123-func ad (W) = makeString(["%s%s%s%s", W, "common", "lpInt"], e)
123+func ad (Y) = makeString(["%s%s%s", Y, "total", "lastUpd"], e)
124124
125125
126-func ae (W) = makeString(["%s%s%s%s", W, "common", "lpIntH"], e)
126+func ae (Y,aa) = makeString(["%s%s%s", Y, aa, "lastUpd"], e)
127127
128128
129-func af (W,Y) = makeString(["%s%s%s%s", W, Y, "lpInt"], e)
129+func af (Y) = makeString(["%s%s%s%s", Y, "common", "lpInt"], e)
130130
131131
132-func ag (W,Y) = makeString(["%s%s%s%s", W, Y, "lpIntH"], e)
132+func ag (Y) = makeString(["%s%s%s%s", Y, "common", "lpIntH"], e)
133133
134134
135-func ah (W) = makeString(["%s", W, "wxPerLp"], e)
135+func ah (Y,aa) = makeString(["%s%s%s%s", Y, aa, "lpInt"], e)
136136
137137
138-func ai (W,Y) = makeString(["%s%s%s%s", W, Y, "uIntL"], e)
138+func ai (Y,aa) = makeString(["%s%s%s%s", Y, aa, "lpIntH"], e)
139139
140140
141-func aj (ak,Y,al) = makeString(["%s%s%s%s__history", ak, Y, al], e)
141+func aj (Y) = makeString(["%s", Y, "wxPerLp"], e)
142142
143143
144-func am (Y,W,ak,an) = makeString(["%s%s%s%d%d%d", Y, W, ak, toString(height), toString(lastBlock.timestamp), toString(an)], e)
144+func ak (Y,aa) = makeString(["%s%s%s%s", Y, aa, "uIntL"], e)
145145
146146
147-func ao (ak,Y,W,an,ap) = StringEntry(aj(ak, Y, toBase58String(ap)), am(Y, W, ak, an))
147+func al (am,aa,an) = makeString(["%s%s%s%s__history", am, aa, an], e)
148148
149149
150-let aq = D()
150+func ao (aa,Y,am,ap) = makeString(["%s%s%s%d%d%d", aa, Y, am, toString(height), toString(lastBlock.timestamp), toString(ap)], e)
151151
152-let I = F(aq)
153152
154-let ar = J(I)
153+func aq (am,aa,Y,ap,ar) = StringEntry(al(am, aa, toBase58String(ar)), ao(aa, Y, am, ap))
155154
156-func as (at,au,av,aw) = if (if ((au == 0))
157- then (at > 0)
155+
156+let as = D()
157+
158+let I = F(as)
159+
160+let at = J(I)
161+
162+func au (av,aw,ax,ay) = if (if ((aw == 0))
163+ then (av > 0)
158164 else false)
159165 then 0
160- else if ((at == 0))
161- then av
162- else if (if ((au > 0))
163- then (at > 0)
166+ else if ((av == 0))
167+ then ax
168+ else if (if ((aw > 0))
169+ then (av > 0)
164170 else false)
165- then n(this, aw)
171+ then n(this, ay)
166172 else throw("calcWxPerLpIntegralUserLast: unexpected state")
167173
168174
169-func ax (S,R,ay,az) = {
170- let aA = Q(R, S)
171- let aB = T(S)
172- let at = U(aA)
173- let aC = U(aB)
174- let aD = getIntegerValue(aq, B(ay))
175- let aE = n(ar, N())
176- let aF = n(ar, L())
177- let aG = fraction(aF, aD, f)
178- let aH = ad(S)
179- let aI = ae(S)
180- let aJ = af(S, R)
181- let aK = ag(S, R)
182- let aL = ah(S)
183- let aw = ai(S, R)
184- let aM = l(this, aI, aE)
185- let aN = k(this, aH)
186- let aO = k(this, aJ)
187- let au = k(this, aK)
188- let aP = k(this, aL)
189- let aQ = max([(height - aM), 0])
190- let aR = if ((aP != 0))
191- then aP
192- else fraction(aG, b, aC)
193- let aS = (aC + az)
194- let av = (aN + (aR * aQ))
195- let aT = as(at, au, av, aw)
196- let aU = (aO + fraction((av - aT), at, b))
197- let aV = av
198- let aW = (aG / aS)
199- let aX = height
200- let aY = height
201- let aZ = makeString([toString(aU), toString(av), toString(aT), toString(at), toString(aQ), toString(aR), toString(aC), toString(aG), toString(aF), toString(aD), toString(height)], "::")
202- $Tuple3(aU, [IntegerEntry(aH, av), IntegerEntry(aI, aX), IntegerEntry(aJ, aU), IntegerEntry(aK, aY), IntegerEntry(aL, aW), IntegerEntry(aw, aV)], aZ)
175+func az (S,R,aA,aB) = {
176+ let aC = Q(R, S)
177+ let aD = T(S)
178+ let av = W(aC)
179+ let aE = W(aD)
180+ let aF = getIntegerValue(as, B(aA))
181+ let aG = n(at, N())
182+ let aH = n(at, L())
183+ let aI = fraction(aH, aF, f)
184+ let aJ = af(S)
185+ let aK = ag(S)
186+ let aL = ah(S, R)
187+ let aM = ai(S, R)
188+ let aN = aj(S)
189+ let ay = ak(S, R)
190+ let aO = l(this, aK, aG)
191+ let aP = k(this, aJ)
192+ let aQ = k(this, aL)
193+ let aw = k(this, aM)
194+ let aR = k(this, aN)
195+ let aS = max([(height - aO), 0])
196+ let aT = if ((aR != 0))
197+ then aR
198+ else fraction(aI, b, aE)
199+ let aU = (aE + aB)
200+ let ax = (aP + (aT * aS))
201+ let aV = au(av, aw, ax, ay)
202+ let aW = (aQ + fraction((ax - aV), av, b))
203+ let aX = ax
204+ let aY = (aI / aU)
205+ let aZ = height
206+ let ba = height
207+ let bb = makeString([toString(aW), toString(ax), toString(aV), toString(av), toString(aS), toString(aT), toString(aE), toString(aI), toString(aH), toString(aF), toString(height)], "::")
208+ $Tuple3(aW, [IntegerEntry(aJ, ax), IntegerEntry(aK, aZ), IntegerEntry(aL, aW), IntegerEntry(aM, ba), IntegerEntry(aN, aY), IntegerEntry(ay, aX)], bb)
203209 }
204210
205211
206-@Callable(ba)
207-func constructor (bb) = if ((ba.caller != this))
212+@Callable(bc)
213+func constructor (bd) = if ((bc.caller != this))
208214 then throw("not authorized")
209- else [StringEntry(o(), bb)]
215+ else [StringEntry(o(), bd)]
210216
211217
212218
213-@Callable(ba)
214-func stake () = if ((size(ba.payments) != 1))
219+@Callable(bc)
220+func stake () = if ((size(bc.payments) != 1))
215221 then throw("invalid payment - exact one payment must be attached")
216222 else {
217- let bc = ba.payments[0]
218- let W = value(bc.assetId)
219- let S = toBase58String(W)
220- let an = bc.amount
221- let ay = valueOrErrorMessage(getString(aq, x(S)), ("unsupported lp asset " + S))
222- let bd = toString(ba.caller)
223- let R = if ((bd == ay))
224- then toString(ba.originCaller)
225- else bd
226- let aA = Q(R, S)
227- let aB = T(S)
228- let at = U(aA)
229- let aC = U(aB)
230- let be = ax(S, R, ay, an)
231- let aU = be._1
232- let bf = be._2
233- let aZ = be._3
234- ([IntegerEntry(aA, (at + an)), IntegerEntry(aB, (aC + an)), ao("stake", R, S, an, ba.transactionId)] ++ bf)
223+ let be = bc.payments[0]
224+ let Y = value(be.assetId)
225+ let S = toBase58String(Y)
226+ let ap = be.amount
227+ let aA = valueOrErrorMessage(getString(as, x(S)), ("unsupported lp asset " + S))
228+ let bf = toString(bc.caller)
229+ let R = if ((bf == aA))
230+ then toString(bc.originCaller)
231+ else bf
232+ let aC = Q(R, S)
233+ let aD = T(S)
234+ let av = W(aC)
235+ let aE = W(aD)
236+ let bg = az(S, R, aA, ap)
237+ let aW = bg._1
238+ let bh = bg._2
239+ let bb = bg._3
240+[IntegerEntry(aC, (av + ap)), IntegerEntry(aD, (aE + ap)), aq("stake", R, S, ap, bc.transactionId)]
235241 }
236242
237243
238244
239-@Callable(ba)
240-func unstake (S,an) = {
241- let R = toString(ba.caller)
242- let W = fromBase58String(S)
243- if (!(isDefined(getString(aq, x(S)))))
245+@Callable(bc)
246+func unstake (S,ap) = {
247+ let R = toString(bc.caller)
248+ let Y = fromBase58String(S)
249+ if (!(isDefined(getString(as, x(S)))))
244250 then throw(("unsupported lp asset " + S))
245251 else {
246- let aA = Q(R, S)
247- let aB = T(S)
248- let at = U(aA)
249- let aC = U(aB)
250- if ((an > at))
252+ let aC = Q(R, S)
253+ let aD = T(S)
254+ let av = W(aC)
255+ let aE = W(aD)
256+ if ((ap > av))
251257 then throw("passed amount is less then available")
252- else [IntegerEntry(aA, (at - an)), IntegerEntry(aB, (aC - an)), ScriptTransfer(ba.caller, an, W), ao("unstake", R, S, an, ba.transactionId)]
258+ else [IntegerEntry(aC, (av - ap)), IntegerEntry(aD, (aE - ap)), ScriptTransfer(bc.caller, ap, Y), aq("unstake", R, S, ap, bc.transactionId)]
253259 }
254260 }
255261
256262
257263
258-@Callable(ba)
259-func claimWx (S) = throw("temporary disabled")
264+@Callable(bc)
265+func claimWx (S) = {
266+ let R = toString(bc.caller)
267+ if (!(isDefined(getString(as, x(S)))))
268+ then throw(("unsupported lp asset " + S))
269+ else {
270+ let bi = U(S, R)
271+ let bj = V(S)
272+ throw("temporary disabled")
273+ }
274+ }
260275
261276
262277
263-@Callable(ba)
278+@Callable(bc)
264279 func claimWxREADONLY (S,R) = {
265- let aA = Q(R, S)
266- let aB = T(S)
267- let at = U(aA)
268- let aC = U(aB)
269- let ay = i(aq, A(S))
270- let bg = b
271- let aD = getIntegerValue(aq, B(ay))
272- let aF = n(ar, L())
273- let aE = n(ar, N())
274- let bh = if ((aE > height))
280+ let aC = Q(R, S)
281+ let aD = T(S)
282+ let av = W(aC)
283+ let aE = W(aD)
284+ let aA = i(as, A(S))
285+ let bk = b
286+ let aF = getIntegerValue(as, B(aA))
287+ let aH = n(at, L())
288+ let aG = n(at, N())
289+ let bl = if ((aG > height))
275290 then 0
276- else (height - aE)
277- let bi = fraction((aF * bh), aD, bg)
278- let bj = fraction(bi, at, aC)
279- let bk = ax(S, R, ay, 0)
280- let aU = bk._1
281- let bf = bk._2
282- let aZ = bk._3
283- $Tuple2(nil, makeString(["%s%s%d%d%s", S, R, toString(bj), "0", aZ], e))
291+ else (height - aG)
292+ let bm = fraction((aH * bl), aF, bk)
293+ let bn = fraction(bm, av, aE)
294+ let bo = az(S, R, aA, 0)
295+ let aW = bo._1
296+ let bh = bo._2
297+ let bb = bo._3
298+ $Tuple2(nil, makeString(["%s%s%d%d%s", S, R, toString(bn), "0", bb], e))
284299 }
285300
286301

github/deemru/w8io/026f985 
80.34 ms