tx · FtqdTuY78hYxmRQWRPJjHnuU1oewEVRUTiENKFKP5ALy

3MrWcipACLhYRJHpFXTZJThH65pnP9vCZow:  -0.01000000 Waves

2021.11.23 14:31 [1803611] smart account 3MrWcipACLhYRJHpFXTZJThH65pnP9vCZow > SELF 0.00000000 Waves

{ "type": 13, "id": "FtqdTuY78hYxmRQWRPJjHnuU1oewEVRUTiENKFKP5ALy", "fee": 1000000, "feeAssetId": null, "timestamp": 1637667097008, "version": 1, "sender": "3MrWcipACLhYRJHpFXTZJThH65pnP9vCZow", "senderPublicKey": "BCvAm7CyQwCK8SaiMMxYNL4sfMxyEHmSssYWaD9t4iUg", "proofs": [ "21BNaQsjFVGEkwPCrunGUKotSp51bHMZpG65w3hZcijJ1uswtFQWK7Gi3vzgsiEKQiVSNR5nfqPBTmJSbr8JQWCk" ], "script": "base64:AAIFAAAAAAAAABoIAhIDCgEIEgASBAoCCAESAwoBCBIECgIICAAAADgAAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QAAAAAAB1NDQUxFMTgAAAAAAAAAABIAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAANTRVACAAAAAl9fAAAAAA5QT09MV0VJR0hUTVVMVAUAAAAFTVVMVDgBAAAAD2dldFN0cmluZ09yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQiAAAAAQUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPbWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAEAAAAYZ2V0U3RyaW5nQnlBZGRyZXNzT3JGYWlsAAAAAgAAAAdhZGRyZXNzAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEHQAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAptYW5kYXRvcn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laWdodE5ldwUAAAAGaGVpZ2h0CQAFFAAAAAIFAAAAA25pbAkABLkAAAACCQAETAAAAAICAAAACCVzJXMlZCVkCQAETAAAAAIFAAAADGxwQXNzZXRJZFN0cgkABEwAAAACBQAAAA51c2VyQWRkcmVzc1N0cgkABEwAAAACCQABpAAAAAEFAAAADHVzZXJXeFJld2FyZAkABEwAAAACCQABpAAAAAEFAAAAEHd4VG9DbGFpbVVzZXJOZXcFAAAAA25pbAUAAAADU0VQAAAAAFbq95Q=", "chainId": 84, "height": 1803611, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2z3iUUBjCfajcUr7a3HRAqSEmYQsdyMAREh2uCKrLMMt Next: 5nyU8JwLdDHRxzuacYfsXcaDgjpq6igxWGETwdjid8CY Diff:
OldNewDifferences
1111
1212 let e = "__"
1313
14-func f (g) = valueOrErrorMessage(getString(g), (("mandatory this." + g) + " is not defined"))
14+let f = b
15+
16+func g (h) = valueOrErrorMessage(getString(h), (("mandatory this." + h) + " is not defined"))
1517
1618
17-func h (i,g) = valueOrErrorMessage(getString(i, g), (((("mandatory " + toString(i)) + ".") + g) + " is not defined"))
19+func i (j,h) = valueOrErrorMessage(getString(j, h), (((("mandatory " + toString(j)) + ".") + h) + " is not defined"))
1820
1921
20-func j (i,g) = valueOrElse(getInteger(i, g), 0)
22+func k (j,h) = valueOrElse(getInteger(j, h), 0)
2123
2224
23-func k (i,g) = valueOrErrorMessage(getInteger(i, g), (("mandatory this." + g) + " is not defined"))
25+func l (j,h,m) = valueOrElse(getInteger(j, h), m)
2426
2527
26-func l () = "%s%s__config__factoryAddress"
28+func n (j,h) = valueOrErrorMessage(getInteger(j, h), (("mandatory this." + h) + " is not defined"))
2729
2830
29-let m = 1
30-
31-let n = 2
32-
33-let o = 3
34-
35-let p = 4
36-
37-let q = 5
38-
39-let r = 6
40-
41-let s = 7
42-
43-func t () = "%s__factoryConfig"
31+func o () = "%s%s__config__factoryAddress"
4432
4533
46-func u (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], e)
34+let p = 1
35+
36+let q = 2
37+
38+let r = 3
39+
40+let s = 4
41+
42+let t = 5
43+
44+let u = 6
45+
46+let v = 7
47+
48+func w () = "%s__factoryConfig"
4749
4850
49-func w () = "%s__lpTokensList"
51+func x (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], e)
5052
5153
52-func x (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], e)
54+func z () = "%s__lpTokensList"
5355
5456
55-func y (z) = makeString(["%s%s", "poolWeight", z], e)
57+func A (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], e)
5658
5759
58-func A () = addressFromStringValue(f(l()))
60+func B (C) = makeString(["%s%s", "poolWeight", C], e)
5961
6062
61-func B () = split(valueOrElse(getString(A(), w()), ""), e)
63+func D () = addressFromStringValue(g(o()))
6264
6365
64-func C (D) = split(h(D, t()), e)
66+func E () = split(valueOrElse(getString(D(), z()), ""), e)
6567
6668
67-func E (F) = addressFromStringValue(F[n])
69+func F (G) = split(i(G, w()), e)
6870
6971
70-func G (F) = addressFromStringValue(F[q])
72+func H (I) = addressFromStringValue(I[q])
7173
7274
73-func H (F) = addressFromStringValue(F[m])
75+func J (I) = addressFromStringValue(I[t])
7476
7577
76-func I () = "%s%s__ratePerBlock__current"
78+func K (I) = addressFromStringValue(I[p])
7779
7880
79-func J () = "%s%s__ratePerBlockMax__current"
81+func L () = "%s%s__ratePerBlock__current"
8082
8183
82-func K () = "%s%s__emission__startBlock"
84+func M () = "%s%s__ratePerBlockMax__current"
8385
8486
85-func L () = "%s%s__emission__duration"
87+func N () = "%s%s__emission__startBlock"
8688
8789
88-func M () = "%s%s__emission__endBlock"
90+func O () = "%s%s__emission__duration"
8991
9092
91-func N (O,P) = makeString(["%s%s%s__staked", O, P], e)
93+func P () = "%s%s__emission__endBlock"
9294
9395
94-func Q (P) = ("%s%s%s__staked__total__" + P)
96+func Q (R,S) = makeString(["%s%s%s__staked", R, S], e)
9597
9698
97-func R (g) = valueOrElse(getInteger(this, g), 0)
99+func T (S) = ("%s%s%s__staked__total__" + S)
98100
99101
100-func S (T,U,V) = makeString(["%s%s%s%s__history", T, U, V], e)
102+func U (h) = valueOrElse(getInteger(this, h), 0)
101103
102104
103-func W (U,X,T,Y) = makeString(["%s%s%s%d%d%d", U, X, T, toString(height), toString(lastBlock.timestamp), toString(Y)], e)
105+func V (W) = makeString(["%s%s%s", W, "total", "bal"], e)
104106
105107
106-func Z (T,U,X,Y,aa) = StringEntry(S(T, U, toBase58String(aa)), W(U, X, T, Y))
108+func X (W,Y) = makeString(["%s%s%s", W, Y, "bal"], e)
107109
108110
109-@Callable(ab)
110-func constructor (ac) = if ((ab.caller != this))
111+func Z (W) = makeString(["%s%s%s", W, "total", "balINT"], e)
112+
113+
114+func aa (W,Y) = makeString(["%s%s%s", W, Y, "balINT"], e)
115+
116+
117+func ab (W) = makeString(["%s%s%s", W, "total", "lastUpd"], e)
118+
119+
120+func ac (W,Y) = makeString(["%s%s%s", W, Y, "lastUpd"], e)
121+
122+
123+func ad (W) = makeString(["%s%s%s%s", W, "common", "lpInt"], e)
124+
125+
126+func ae (W) = makeString(["%s%s%s%s", W, "common", "lpIntH"], e)
127+
128+
129+func af (W,Y) = makeString(["%s%s%s%s", W, Y, "lpInt"], e)
130+
131+
132+func ag (W,Y) = makeString(["%s%s%s%s", W, Y, "lpIntH"], e)
133+
134+
135+func ah (W) = makeString(["%s", W, "wxPerLp"], e)
136+
137+
138+func ai (W,Y) = makeString(["%s%s%s%s", W, Y, "uIntL"], e)
139+
140+
141+func aj (ak,Y,al) = makeString(["%s%s%s%s__history", ak, Y, al], e)
142+
143+
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)
145+
146+
147+func ao (ak,Y,W,an,ap) = StringEntry(aj(ak, Y, toBase58String(ap)), am(Y, W, ak, an))
148+
149+
150+let aq = D()
151+
152+let I = F(aq)
153+
154+let ar = J(I)
155+
156+@Callable(as)
157+func constructor (at) = if ((as.caller != this))
111158 then throw("not authorized")
112- else [StringEntry(l(), ac)]
159+ else [StringEntry(o(), at)]
113160
114161
115162
116-@Callable(ab)
117-func stake () = {
118- let D = A()
119- if ((size(ab.payments) != 1))
120- then throw("invalid payment - exact one payment must be attached")
121- else {
122- let ad = ab.payments[0]
123- let X = value(ad.assetId)
124- let P = toBase58String(X)
125- let Y = ad.amount
126- let ae = valueOrErrorMessage(getString(D, u(P)), ("unsupported lp asset " + P))
127- let af = toString(ab.caller)
128- let O = if ((af == ae))
129- then toString(ab.originCaller)
130- else af
131- let ag = N(O, P)
132- let ah = Q(P)
133- let ai = R(ag)
134- let aj = R(ah)
135-[IntegerEntry(ag, (ai + Y)), IntegerEntry(ah, (aj + Y)), Z("stake", O, P, Y, ab.transactionId)]
136- }
163+@Callable(as)
164+func stake () = if ((size(as.payments) != 1))
165+ then throw("invalid payment - exact one payment must be attached")
166+ else {
167+ let au = as.payments[0]
168+ let W = value(au.assetId)
169+ let S = toBase58String(W)
170+ let an = au.amount
171+ let av = valueOrErrorMessage(getString(aq, x(S)), ("unsupported lp asset " + S))
172+ let aw = toString(as.caller)
173+ let R = if ((aw == av))
174+ then toString(as.originCaller)
175+ else aw
176+ let ax = Q(R, S)
177+ let ay = T(S)
178+ let az = U(ax)
179+ let aA = U(ay)
180+ let aB = getIntegerValue(aq, B(av))
181+ let aC = n(ar, N())
182+ let aD = n(ar, L())
183+ let aE = fraction(aD, aB, (f * 3))
184+ let aF = ad(S)
185+ let aG = ae(S)
186+ let aH = af(S, R)
187+ let aI = ag(S, R)
188+ let aJ = ah(S)
189+ let aK = ai(S, R)
190+ let aL = l(this, aG, aC)
191+ let aM = k(this, aF)
192+ let aN = k(this, aH)
193+ let aO = k(this, aI)
194+ let aP = k(this, aJ)
195+ let aQ = max([(height - aL), 0])
196+ let aR = if ((aP != 0))
197+ then aP
198+ else (aE / aA)
199+ let aS = (aA + an)
200+ let aT = (aM + (aR * aQ))
201+ let aU = if (if ((aO == 0))
202+ then (az > 0)
203+ else false)
204+ then 0
205+ else if ((az == 0))
206+ then aT
207+ else if (if ((aO > 0))
208+ then (az > 0)
209+ else false)
210+ then n(this, aK)
211+ else throw("Invalid condition")
212+ let aV = (aN + ((aT - aU) * az))
213+ let aW = aT
214+ let aX = (aE / aS)
215+ let aY = height
216+ let aZ = height
217+[IntegerEntry(ax, (az + an)), IntegerEntry(ay, aS), ao("stake", R, S, an, as.transactionId)]
218+ }
219+
220+
221+
222+@Callable(as)
223+func unstake (S,an) = {
224+ let R = toString(as.caller)
225+ let W = fromBase58String(S)
226+ if (!(isDefined(getString(aq, x(S)))))
227+ then throw(("unsupported lp asset " + S))
228+ else if ((R == R))
229+ then throw("Somthing went wrong")
230+ else {
231+ let ax = Q(R, S)
232+ let ay = T(S)
233+ let az = U(ax)
234+ let aA = U(ay)
235+ if ((an > az))
236+ then throw("passed amount is less then available")
237+ else [IntegerEntry(ax, (az - an)), IntegerEntry(ay, (aA - an)), ScriptTransfer(as.caller, an, W), ao("unstake", R, S, an, as.transactionId)]
238+ }
137239 }
138240
139241
140242
141-@Callable(ab)
142-func unstake (P,Y) = {
143- let D = A()
144- let O = toString(ab.caller)
145- let X = fromBase58String(P)
146- if (!(isDefined(getString(D, u(P)))))
147- then throw(("unsupported lp asset " + P))
148- else {
149- let ag = N(O, P)
150- let ah = Q(P)
151- let ai = R(ag)
152- let aj = R(ah)
153- if ((Y > ai))
154- then throw("passed amount is less then available")
155- else [IntegerEntry(ag, (ai - Y)), IntegerEntry(ah, (aj - Y)), ScriptTransfer(ab.caller, Y, X), Z("unstake", O, P, Y, ab.transactionId)]
156- }
157- }
243+@Callable(as)
244+func claimWx (S) = throw("temporary disabled")
158245
159246
160247
161-@Callable(ab)
162-func claimWx (P) = throw("temorary disabled")
163-
164-
165-
166-@Callable(ab)
167-func claimWxREADONLY (P,U) = {
168- let ak = A()
169- let F = C(ak)
170- let al = G(F)
171- let ag = N(U, P)
172- let ah = Q(P)
173- let ai = R(ag)
174- let aj = R(ah)
175- let am = h(ak, x(P))
176- let an = b
177- let ao = getIntegerValue(ak, y(am))
178- let ap = k(al, I())
179- let aq = k(al, K())
180- let ar = if ((aq > height))
248+@Callable(as)
249+func claimWxREADONLY (S,R) = {
250+ let ax = Q(R, S)
251+ let ay = T(S)
252+ let az = U(ax)
253+ let aA = U(ay)
254+ let av = i(aq, A(S))
255+ let ba = b
256+ let aB = getIntegerValue(aq, B(av))
257+ let aD = n(ar, L())
258+ let aC = n(ar, N())
259+ let bb = if ((aC > height))
181260 then 0
182- else (height - aq)
183- let as = fraction((ap * ar), ao, an)
184- let at = fraction(as, ai, aj)
185- $Tuple2(nil, makeString(["%s%s%d", P, U, toString(at)], e))
261+ else (height - aC)
262+ let bc = fraction((aD * bb), aB, ba)
263+ let bd = fraction(bc, az, aA)
264+ let aE = fraction(aD, aB, f)
265+ let an = 0
266+ let aF = ad(S)
267+ let aG = ae(S)
268+ let aH = af(S, R)
269+ let aI = ag(S, R)
270+ let aJ = ah(S)
271+ let aK = ai(S, R)
272+ let aL = l(this, aG, aC)
273+ let aM = k(this, aF)
274+ let aN = k(this, aH)
275+ let aO = k(this, aI)
276+ let aP = k(this, aJ)
277+ let aQ = max([(height - aL), 0])
278+ let aR = if ((aP != 0))
279+ then aP
280+ else (aE / aA)
281+ let aS = (aA + an)
282+ let aT = (aM + (aR * aQ))
283+ let aU = if (if ((aO == 0))
284+ then (az > 0)
285+ else false)
286+ then 0
287+ else if ((az == 0))
288+ then aT
289+ else if (if ((aO > 0))
290+ then (az > 0)
291+ else false)
292+ then n(this, aK)
293+ else throw("Invalid condition")
294+ let aV = (aN + ((aT - aU) * az))
295+ let aW = aT
296+ let aX = (aE / aS)
297+ let aY = height
298+ let aZ = height
299+ $Tuple2(nil, makeString(["%s%s%d%d", S, R, toString(bd), toString(aV)], e))
186300 }
187301
188302
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
14-func f (g) = valueOrErrorMessage(getString(g), (("mandatory this." + g) + " is not defined"))
14+let f = b
15+
16+func g (h) = valueOrErrorMessage(getString(h), (("mandatory this." + h) + " is not defined"))
1517
1618
17-func h (i,g) = valueOrErrorMessage(getString(i, g), (((("mandatory " + toString(i)) + ".") + g) + " is not defined"))
19+func i (j,h) = valueOrErrorMessage(getString(j, h), (((("mandatory " + toString(j)) + ".") + h) + " is not defined"))
1820
1921
20-func j (i,g) = valueOrElse(getInteger(i, g), 0)
22+func k (j,h) = valueOrElse(getInteger(j, h), 0)
2123
2224
23-func k (i,g) = valueOrErrorMessage(getInteger(i, g), (("mandatory this." + g) + " is not defined"))
25+func l (j,h,m) = valueOrElse(getInteger(j, h), m)
2426
2527
26-func l () = "%s%s__config__factoryAddress"
28+func n (j,h) = valueOrErrorMessage(getInteger(j, h), (("mandatory this." + h) + " is not defined"))
2729
2830
29-let m = 1
30-
31-let n = 2
32-
33-let o = 3
34-
35-let p = 4
36-
37-let q = 5
38-
39-let r = 6
40-
41-let s = 7
42-
43-func t () = "%s__factoryConfig"
31+func o () = "%s%s__config__factoryAddress"
4432
4533
46-func u (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], e)
34+let p = 1
35+
36+let q = 2
37+
38+let r = 3
39+
40+let s = 4
41+
42+let t = 5
43+
44+let u = 6
45+
46+let v = 7
47+
48+func w () = "%s__factoryConfig"
4749
4850
49-func w () = "%s__lpTokensList"
51+func x (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], e)
5052
5153
52-func x (v) = makeString(["%s%s%s", v, "mappings__lpAsset2PoolContract"], e)
54+func z () = "%s__lpTokensList"
5355
5456
55-func y (z) = makeString(["%s%s", "poolWeight", z], e)
57+func A (y) = makeString(["%s%s%s", y, "mappings__lpAsset2PoolContract"], e)
5658
5759
58-func A () = addressFromStringValue(f(l()))
60+func B (C) = makeString(["%s%s", "poolWeight", C], e)
5961
6062
61-func B () = split(valueOrElse(getString(A(), w()), ""), e)
63+func D () = addressFromStringValue(g(o()))
6264
6365
64-func C (D) = split(h(D, t()), e)
66+func E () = split(valueOrElse(getString(D(), z()), ""), e)
6567
6668
67-func E (F) = addressFromStringValue(F[n])
69+func F (G) = split(i(G, w()), e)
6870
6971
70-func G (F) = addressFromStringValue(F[q])
72+func H (I) = addressFromStringValue(I[q])
7173
7274
73-func H (F) = addressFromStringValue(F[m])
75+func J (I) = addressFromStringValue(I[t])
7476
7577
76-func I () = "%s%s__ratePerBlock__current"
78+func K (I) = addressFromStringValue(I[p])
7779
7880
79-func J () = "%s%s__ratePerBlockMax__current"
81+func L () = "%s%s__ratePerBlock__current"
8082
8183
82-func K () = "%s%s__emission__startBlock"
84+func M () = "%s%s__ratePerBlockMax__current"
8385
8486
85-func L () = "%s%s__emission__duration"
87+func N () = "%s%s__emission__startBlock"
8688
8789
88-func M () = "%s%s__emission__endBlock"
90+func O () = "%s%s__emission__duration"
8991
9092
91-func N (O,P) = makeString(["%s%s%s__staked", O, P], e)
93+func P () = "%s%s__emission__endBlock"
9294
9395
94-func Q (P) = ("%s%s%s__staked__total__" + P)
96+func Q (R,S) = makeString(["%s%s%s__staked", R, S], e)
9597
9698
97-func R (g) = valueOrElse(getInteger(this, g), 0)
99+func T (S) = ("%s%s%s__staked__total__" + S)
98100
99101
100-func S (T,U,V) = makeString(["%s%s%s%s__history", T, U, V], e)
102+func U (h) = valueOrElse(getInteger(this, h), 0)
101103
102104
103-func W (U,X,T,Y) = makeString(["%s%s%s%d%d%d", U, X, T, toString(height), toString(lastBlock.timestamp), toString(Y)], e)
105+func V (W) = makeString(["%s%s%s", W, "total", "bal"], e)
104106
105107
106-func Z (T,U,X,Y,aa) = StringEntry(S(T, U, toBase58String(aa)), W(U, X, T, Y))
108+func X (W,Y) = makeString(["%s%s%s", W, Y, "bal"], e)
107109
108110
109-@Callable(ab)
110-func constructor (ac) = if ((ab.caller != this))
111+func Z (W) = makeString(["%s%s%s", W, "total", "balINT"], e)
112+
113+
114+func aa (W,Y) = makeString(["%s%s%s", W, Y, "balINT"], e)
115+
116+
117+func ab (W) = makeString(["%s%s%s", W, "total", "lastUpd"], e)
118+
119+
120+func ac (W,Y) = makeString(["%s%s%s", W, Y, "lastUpd"], e)
121+
122+
123+func ad (W) = makeString(["%s%s%s%s", W, "common", "lpInt"], e)
124+
125+
126+func ae (W) = makeString(["%s%s%s%s", W, "common", "lpIntH"], e)
127+
128+
129+func af (W,Y) = makeString(["%s%s%s%s", W, Y, "lpInt"], e)
130+
131+
132+func ag (W,Y) = makeString(["%s%s%s%s", W, Y, "lpIntH"], e)
133+
134+
135+func ah (W) = makeString(["%s", W, "wxPerLp"], e)
136+
137+
138+func ai (W,Y) = makeString(["%s%s%s%s", W, Y, "uIntL"], e)
139+
140+
141+func aj (ak,Y,al) = makeString(["%s%s%s%s__history", ak, Y, al], e)
142+
143+
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)
145+
146+
147+func ao (ak,Y,W,an,ap) = StringEntry(aj(ak, Y, toBase58String(ap)), am(Y, W, ak, an))
148+
149+
150+let aq = D()
151+
152+let I = F(aq)
153+
154+let ar = J(I)
155+
156+@Callable(as)
157+func constructor (at) = if ((as.caller != this))
111158 then throw("not authorized")
112- else [StringEntry(l(), ac)]
159+ else [StringEntry(o(), at)]
113160
114161
115162
116-@Callable(ab)
117-func stake () = {
118- let D = A()
119- if ((size(ab.payments) != 1))
120- then throw("invalid payment - exact one payment must be attached")
121- else {
122- let ad = ab.payments[0]
123- let X = value(ad.assetId)
124- let P = toBase58String(X)
125- let Y = ad.amount
126- let ae = valueOrErrorMessage(getString(D, u(P)), ("unsupported lp asset " + P))
127- let af = toString(ab.caller)
128- let O = if ((af == ae))
129- then toString(ab.originCaller)
130- else af
131- let ag = N(O, P)
132- let ah = Q(P)
133- let ai = R(ag)
134- let aj = R(ah)
135-[IntegerEntry(ag, (ai + Y)), IntegerEntry(ah, (aj + Y)), Z("stake", O, P, Y, ab.transactionId)]
136- }
163+@Callable(as)
164+func stake () = if ((size(as.payments) != 1))
165+ then throw("invalid payment - exact one payment must be attached")
166+ else {
167+ let au = as.payments[0]
168+ let W = value(au.assetId)
169+ let S = toBase58String(W)
170+ let an = au.amount
171+ let av = valueOrErrorMessage(getString(aq, x(S)), ("unsupported lp asset " + S))
172+ let aw = toString(as.caller)
173+ let R = if ((aw == av))
174+ then toString(as.originCaller)
175+ else aw
176+ let ax = Q(R, S)
177+ let ay = T(S)
178+ let az = U(ax)
179+ let aA = U(ay)
180+ let aB = getIntegerValue(aq, B(av))
181+ let aC = n(ar, N())
182+ let aD = n(ar, L())
183+ let aE = fraction(aD, aB, (f * 3))
184+ let aF = ad(S)
185+ let aG = ae(S)
186+ let aH = af(S, R)
187+ let aI = ag(S, R)
188+ let aJ = ah(S)
189+ let aK = ai(S, R)
190+ let aL = l(this, aG, aC)
191+ let aM = k(this, aF)
192+ let aN = k(this, aH)
193+ let aO = k(this, aI)
194+ let aP = k(this, aJ)
195+ let aQ = max([(height - aL), 0])
196+ let aR = if ((aP != 0))
197+ then aP
198+ else (aE / aA)
199+ let aS = (aA + an)
200+ let aT = (aM + (aR * aQ))
201+ let aU = if (if ((aO == 0))
202+ then (az > 0)
203+ else false)
204+ then 0
205+ else if ((az == 0))
206+ then aT
207+ else if (if ((aO > 0))
208+ then (az > 0)
209+ else false)
210+ then n(this, aK)
211+ else throw("Invalid condition")
212+ let aV = (aN + ((aT - aU) * az))
213+ let aW = aT
214+ let aX = (aE / aS)
215+ let aY = height
216+ let aZ = height
217+[IntegerEntry(ax, (az + an)), IntegerEntry(ay, aS), ao("stake", R, S, an, as.transactionId)]
218+ }
219+
220+
221+
222+@Callable(as)
223+func unstake (S,an) = {
224+ let R = toString(as.caller)
225+ let W = fromBase58String(S)
226+ if (!(isDefined(getString(aq, x(S)))))
227+ then throw(("unsupported lp asset " + S))
228+ else if ((R == R))
229+ then throw("Somthing went wrong")
230+ else {
231+ let ax = Q(R, S)
232+ let ay = T(S)
233+ let az = U(ax)
234+ let aA = U(ay)
235+ if ((an > az))
236+ then throw("passed amount is less then available")
237+ else [IntegerEntry(ax, (az - an)), IntegerEntry(ay, (aA - an)), ScriptTransfer(as.caller, an, W), ao("unstake", R, S, an, as.transactionId)]
238+ }
137239 }
138240
139241
140242
141-@Callable(ab)
142-func unstake (P,Y) = {
143- let D = A()
144- let O = toString(ab.caller)
145- let X = fromBase58String(P)
146- if (!(isDefined(getString(D, u(P)))))
147- then throw(("unsupported lp asset " + P))
148- else {
149- let ag = N(O, P)
150- let ah = Q(P)
151- let ai = R(ag)
152- let aj = R(ah)
153- if ((Y > ai))
154- then throw("passed amount is less then available")
155- else [IntegerEntry(ag, (ai - Y)), IntegerEntry(ah, (aj - Y)), ScriptTransfer(ab.caller, Y, X), Z("unstake", O, P, Y, ab.transactionId)]
156- }
157- }
243+@Callable(as)
244+func claimWx (S) = throw("temporary disabled")
158245
159246
160247
161-@Callable(ab)
162-func claimWx (P) = throw("temorary disabled")
163-
164-
165-
166-@Callable(ab)
167-func claimWxREADONLY (P,U) = {
168- let ak = A()
169- let F = C(ak)
170- let al = G(F)
171- let ag = N(U, P)
172- let ah = Q(P)
173- let ai = R(ag)
174- let aj = R(ah)
175- let am = h(ak, x(P))
176- let an = b
177- let ao = getIntegerValue(ak, y(am))
178- let ap = k(al, I())
179- let aq = k(al, K())
180- let ar = if ((aq > height))
248+@Callable(as)
249+func claimWxREADONLY (S,R) = {
250+ let ax = Q(R, S)
251+ let ay = T(S)
252+ let az = U(ax)
253+ let aA = U(ay)
254+ let av = i(aq, A(S))
255+ let ba = b
256+ let aB = getIntegerValue(aq, B(av))
257+ let aD = n(ar, L())
258+ let aC = n(ar, N())
259+ let bb = if ((aC > height))
181260 then 0
182- else (height - aq)
183- let as = fraction((ap * ar), ao, an)
184- let at = fraction(as, ai, aj)
185- $Tuple2(nil, makeString(["%s%s%d", P, U, toString(at)], e))
261+ else (height - aC)
262+ let bc = fraction((aD * bb), aB, ba)
263+ let bd = fraction(bc, az, aA)
264+ let aE = fraction(aD, aB, f)
265+ let an = 0
266+ let aF = ad(S)
267+ let aG = ae(S)
268+ let aH = af(S, R)
269+ let aI = ag(S, R)
270+ let aJ = ah(S)
271+ let aK = ai(S, R)
272+ let aL = l(this, aG, aC)
273+ let aM = k(this, aF)
274+ let aN = k(this, aH)
275+ let aO = k(this, aI)
276+ let aP = k(this, aJ)
277+ let aQ = max([(height - aL), 0])
278+ let aR = if ((aP != 0))
279+ then aP
280+ else (aE / aA)
281+ let aS = (aA + an)
282+ let aT = (aM + (aR * aQ))
283+ let aU = if (if ((aO == 0))
284+ then (az > 0)
285+ else false)
286+ then 0
287+ else if ((az == 0))
288+ then aT
289+ else if (if ((aO > 0))
290+ then (az > 0)
291+ else false)
292+ then n(this, aK)
293+ else throw("Invalid condition")
294+ let aV = (aN + ((aT - aU) * az))
295+ let aW = aT
296+ let aX = (aE / aS)
297+ let aY = height
298+ let aZ = height
299+ $Tuple2(nil, makeString(["%s%s%d%d", S, R, toString(bd), toString(aV)], e))
186300 }
187301
188302

github/deemru/w8io/026f985 
74.49 ms