tx · 3z5BKFp7RLQSmbhd8XDQJDhZ3MoLSTLDcAam5xxyAXUJ

3N6WqqZTdPrb9JuK9z9hKV6z41DLFQmW24T:  -0.03700000 Waves

2022.06.12 17:06 [2093264] smart account 3N6WqqZTdPrb9JuK9z9hKV6z41DLFQmW24T > SELF 0.00000000 Waves

{ "type": 13, "id": "3z5BKFp7RLQSmbhd8XDQJDhZ3MoLSTLDcAam5xxyAXUJ", "fee": 3700000, "feeAssetId": null, "timestamp": 1655042822956, "version": 2, "chainId": 84, "sender": "3N6WqqZTdPrb9JuK9z9hKV6z41DLFQmW24T", "senderPublicKey": "7TeREozdwktbvDhDSLD2XDVhw3KCoZA4QcK6a6iusJeo", "proofs": [ "58mtWKmawugHFob6iWme29gaBYpF2UkR5yfiq7rxXfxyUaVy8ecRsNnDgcAHRoeopGukNg7RoDGRUSjqHdkw5Y4P" ], "script": "base64:AAIFAAAAAAAAABQIAhIAEgMKAQESABIAEgASAwoBCAAAACwAAAAADWtfdG90YWxTdXBwbHkCAAAADWtfdG90YWxTdXBwbHkAAAAAD2tfcmV3YXJkQmFsYW5jZQIAAAAPa19yZXdhcmRCYWxhbmNlAAAAABBrX2xhc3RVcGRhdGVUaW1lAgAAABBrX2xhc3RVcGRhdGVUaW1lAAAAABZrX3Jld2FyZFBlclRva2VuU3RvcmVkAgAAABZrX3Jld2FyZFBlclRva2VuU3RvcmVkAAAAAAxrX3Jld2FyZFJhdGUCAAAADGtfcmV3YXJkUmF0ZQAAAAAOa19wZXJpb2RGaW5pc2gCAAAADmtfcGVyaW9kRmluaXNoAAAAAAlrX2JhbGFuY2UCAAAACWtfYmFsYW5jZQAAAAAUa191c2VyUmV3YXJkUGVyVG9rZW4CAAAAFGtfdXNlclJld2FyZFBlclRva2VuAAAAAAxrX3VzZXJSZXdhcmQCAAAADGtfdXNlclJld2FyZAAAAAANQURNSU5fQUREUkVTUwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVG7KcZN/Y176iG9Nro04AkDQO6ep2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YXRlVGltZQAAAAIFAAAACXRpbWVzdGFtcAkAAGQAAAACBQAAAAl0aW1lc3RhbXAFAAAACERVUkFUSU9OAAAAAWkBAAAAC3ZpZXdfcmV3YXJkAAAAAQAAAAdfc3Rha2VyBAAAAAxzdGFrZXJFYXJuZWQICQEAAAAMdXBkYXRlUmV3YXJkAAAAAgUAAAAHX3N0YWtlcgAAAAAAAAAAAAAAAAJfMwkAAAIAAAABCQABpAAAAAEFAAAADHN0YWtlckVhcm5lZAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABBBRE1JTl9QVUJMSUNfS0VZuEAfkg==", "height": 2093264, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "k_totalSupply"
5+
6+let b = "k_rewardBalance"
7+
8+let c = "k_lastUpdateTime"
9+
10+let d = "k_rewardPerTokenStored"
11+
12+let e = "k_rewardRate"
13+
14+let f = "k_periodFinish"
15+
16+let g = "k_balance"
17+
18+let h = "k_userRewardPerToken"
19+
20+let i = "k_userReward"
21+
22+let j = Address(base58'3Mz1td457M34EA7wU1swt2DBQDZEDpsMtgE')
23+
24+let k = base58'DKoVYQRirYnan4ojiUkT12oE6XmpyNoht3ZcecUpgLsf'
25+
26+let l = base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ'
27+
28+let m = base58'HL6bTgU1e5SoaSDxp9PV1Bj8WvKAk8jReNwgax44d5S6'
29+
30+let n = (1 * (((((10 * 10) * 10) * 10) * 10) * 10))
31+
32+let o = ((60 * 60) * 24)
33+
34+let p = ""
35+
36+let q = 0
37+
38+func r (s,t) = fraction(s, n, t, HALFEVEN)
39+
40+
41+func u (s,t) = fraction(s, t, n, HALFEVEN)
42+
43+
44+func v (s) = if ((s > 0))
45+ then s
46+ else -(s)
47+
48+
49+func w (s,t) = if ((s > t))
50+ then t
51+ else s
52+
53+
54+func x (y,z) = ((y + "_") + z)
55+
56+
57+func A (B) = valueOrErrorMessage(getInteger(this, B), ("no value for " + B))
58+
59+
60+func C (B) = valueOrElse(getInteger(this, B), 0)
61+
62+
63+func D () = C(a)
64+
65+
66+func E () = C(d)
67+
68+
69+func F () = C(c)
70+
71+
72+func G () = C(e)
73+
74+
75+func H () = C(f)
76+
77+
78+func I () = C(b)
79+
80+
81+func J (K) = C(x(i, K))
82+
83+
84+func L (K) = C(x(h, K))
85+
86+
87+func M (K) = C(x(g, K))
88+
89+
90+func N (O) = [IntegerEntry(b, (I() + O))]
91+
92+
93+func P (Q) = [IntegerEntry(e, Q)]
94+
95+
96+func R (S,T) = [IntegerEntry(c, S), IntegerEntry(f, T)]
97+
98+
99+func U (V) = [IntegerEntry(d, V)]
100+
101+
102+func W (K,X,Y) = [IntegerEntry(x(i, K), X), IntegerEntry(x(h, K), Y)]
103+
104+
105+func Z (K,O) = [IntegerEntry(x(g, K), (M(K) + O)), IntegerEntry(a, (D() + O))]
106+
107+
108+func aa () = (lastBlock.timestamp / 1000)
109+
110+
111+func ab () = w(aa(), H())
112+
113+
114+func ac (ad) = if (((D() + ad) == 0))
115+ then E()
116+ else {
117+ let ae = (ab() - F())
118+ let af = (r(G(), (D() + ad)) * ae)
119+ (E() + af)
120+ }
121+
122+
123+func ag (K,ad) = {
124+ let ah = (ac(ad) - L(K))
125+ (u((M(K) + ad), ah) + J(K))
126+ }
127+
128+
129+func ai (K,ad) = {
130+ let aj = ac(ad)
131+ let ak = aa()
132+ let al = if ((K != ""))
133+ then $Tuple2(ag(K, ad), aj)
134+ else $Tuple2(0, 0)
135+ let am = al._1
136+ let an = al._2
137+ $Tuple4(aj, ak, am, an)
138+ }
139+
140+
141+@Callable(ao)
142+func stake () = {
143+ let K = toString(ao.caller)
144+ let ap = ao.payments[0].amount
145+ if ((ao.payments[0].assetId != m))
146+ then throw("Invalid staking asset")
147+ else {
148+ let aq = ai(K, ap)
149+ let aj = aq._1
150+ let ak = aq._2
151+ let am = aq._3
152+ let an = aq._4
153+ (((W(K, 0, an) ++ U(aj)) ++ R(ak, H())) ++ Z(K, ap))
154+ }
155+ }
156+
157+
158+
159+@Callable(ao)
160+func unStake (ap) = {
161+ let K = toString(ao.caller)
162+ if ((ap > M(K)))
163+ then throw("Invalid balance")
164+ else {
165+ let ar = ai(K, -(ap))
166+ let aj = ar._1
167+ let ak = ar._2
168+ let am = ar._3
169+ let an = ar._4
170+ ((((W(K, 0, an) ++ U(aj)) ++ R(ak, H())) ++ Z(K, -(ap))) ++ [ScriptTransfer(ao.caller, ap, m)])
171+ }
172+ }
173+
174+
175+
176+@Callable(ao)
177+func withdrawRewards () = {
178+ let K = toString(ao.caller)
179+ let as = ai(K, 0)
180+ let aj = as._1
181+ let ak = as._2
182+ let am = as._3
183+ let an = as._4
184+ if ((0 >= am))
185+ then throw("No reward")
186+ else ((((W(K, 0, an) ++ U(aj)) ++ R(ak, H())) ++ N(-(am))) ++ [ScriptTransfer(ao.caller, am, l)])
187+ }
188+
189+
190+
191+@Callable(ao)
192+func addRewards () = if ((ao.payments[0].assetId != l))
193+ then throw("Invaliid addRewards params")
194+ else {
195+ let X = ao.payments[0].amount
196+ let aj = ai(p, q)._1
197+ let at = aa()
198+ let au = if ((at > H()))
199+ then (X / o)
200+ else {
201+ let av = (H() - at)
202+ let aw = (G() * av)
203+ ((X + aw) / o)
204+ }
205+ (((P(au) ++ U(aj)) ++ N(X)) ++ R(at, (at + o)))
206+ }
207+
208+
209+
210+@Callable(ao)
211+func ackRewards () = {
212+ let ax = assetBalance(this, l)
213+ let ay = I()
214+ let ah = (ax - ay)
215+ if ((ah == 0))
216+ then throw("Invaliid ackRewards params")
217+ else {
218+ let X = ah
219+ let aj = ai(p, q)._1
220+ let at = aa()
221+ let au = if ((at > H()))
222+ then (X / o)
223+ else {
224+ let av = (H() - at)
225+ let aw = (G() * av)
226+ ((X + aw) / o)
227+ }
228+ (((P(au) ++ U(aj)) ++ N(X)) ++ R(at, (at + o)))
229+ }
230+ }
231+
232+
233+
234+@Callable(ao)
235+func view_reward (K) = {
236+ let am = ai(K, 0)._3
237+ throw(toString(am))
238+ }
239+
240+
241+@Verifier(az)
242+func aA () = sigVerify(az.bodyBytes, az.proofs[0], k)
243+

github/deemru/w8io/169f3d6 
29.87 ms