tx · HsjWvuS1WgMYTbsG5ziMVtVzZx916WBJ9B2VuSC7MSxi

3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h:  -0.01300000 Waves

2024.02.12 15:23 [2973036] smart account 3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h > SELF 0.00000000 Waves

{ "type": 13, "id": "HsjWvuS1WgMYTbsG5ziMVtVzZx916WBJ9B2VuSC7MSxi", "fee": 1300000, "feeAssetId": null, "timestamp": 1707740619332, "version": 2, "chainId": 84, "sender": "3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h", "senderPublicKey": "3z8Q6Zu3KppVmn6fJJvrLc1Wo3krVHSvfaNcerm82md2", "proofs": [ "5j928PxmFMaq1nFAwVLg55CAi7ZTHg4uNNECjjkNoL8nTjf4YqC8vBwKXUtCuwsNSUr7yDpQpHEvhb11kbn3YTWu" ], "script": "base64:BgIvCAISAwoBARIDCgEIEgMKAQgSBAoCCAgSAwoBCBIECgIIARIECgIIARIDCgEBEgAkAAxjb250cmFjdEZpbGUCEWwybXBfbGVhc2luZy5yaWRlAANTRVACAl9fAAZzY2FsZTgAgMLXLwEIdGhyb3dFcnIBA21zZwkAAgEJAKwCAgkArAICBQxjb250cmFjdEZpbGUCAjogBQNtc2cACmtleUFzc2V0SWQJALkJAgkAzAgCAgIlcwkAzAgCAgdhc3NldElkBQNuaWwFA1NFUAARa2V5UGVyaW9kT2Zmc2V0SWQJALkJAgkAzAgCAgIlcwkAzAgCAghvZmZzZXRJZAUDbmlsBQNTRVAAFWtleVBlcmlvZE9mZnNldEhlaWdodAkAuQkCCQDMCAICAiVzCQDMCAICDG9mZnNldEhlaWdodAUDbmlsBQNTRVAAD2tleVBlcmlvZExlbmd0aAkAuQkCCQDMCAICAiVzCQDMCAICDHBlcmlvZExlbmd0aAUDbmlsBQNTRVAADnBlcmlvZE9mZnNldElkCQELdmFsdWVPckVsc2UCCQCaCAIFBHRoaXMFEWtleVBlcmlvZE9mZnNldElkAAAADHBlc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VzcwkApQgBCAUBaQZjYWxsZXIEDSR0MDEzMjcwMTMzMzAJARVnZXRVc2VyVG9DbGFpbUJhbGFuY2UBBQt1c2VyQWRkcmVzcwQHdG9DbGFpbQgFDSR0MDEzMjcwMTMzMzACXzEECHRvVW5sb2NrCAUNJHQwMTMyNzAxMzMzMAJfMgkBF2dldENsYWltVW5sb2NrZWRBY3Rpb25zAgULdXNlckFkZHJlc3MFB3RvQ2xhaW0AWCQw4g==", "height": 2973036, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FnM5niybaRHAzGUDCTqcCXp5YmWFPANhmr39Q2pQHZPV Next: 78wCSZXshmt5KwAVGPkv6nGCgo7PRKLS1Wa3roxGAkZi Diff:
OldNewDifferences
306306 }
307307
308308
309-func aJ () = $Tuple2(n, o)
310-
311-
312309 @Callable(ah)
313310 func setNewPeriodLength (aF) = aE(aF)
314311
316313
317314 @Callable(ah)
318315 func getNodeDataREADONLY (q) = {
319- let aK = F(q)
320- let aL = aK._1
321- let D = aK._2
322- let aM = aJ()
323- let Y = aM._1
324- let Z = aM._2
325- $Tuple2(nil, $Tuple5(aL, D, height, Y, Z))
316+ let aJ = F(q)
317+ let aK = aJ._1
318+ let D = aJ._2
319+ $Tuple2(nil, $Tuple5(n, aK, o, D, height))
326320 }
327321
328322
329323
330324 @Callable(ah)
331325 func getUserDataREADONLY (s) = {
332- let aN = W(s)
333- let U = aN._1
334- let V = aN._2
335- let aO = aJ()
336- let Y = aO._1
337- let Z = aO._2
326+ let aL = W(s)
327+ let U = aL._1
328+ let V = aL._2
338329 let ac = aa(s)
339- $Tuple2(nil, $Tuple6(U, V, height, Y, Z, ac))
330+ $Tuple2(nil, $Tuple6(n, U, o, V, height, ac))
340331 }
341332
342333
355346
356347
357348 @Callable(ah)
358-func stakeFromUnlocked (q,aP) = {
349+func stakeFromUnlocked (q,aM) = {
359350 let s = toString(ah.caller)
360- az(q, s, aP)
351+ az(q, s, aM)
361352 }
362353
363354
364355
365356 @Callable(ah)
366-func unstake (q,aP) = {
357+func unstake (q,aM) = {
367358 let s = toString(ah.caller)
368- ao(q, s, aP)
359+ ao(q, s, aM)
369360 }
370361
371362
372363
373364 @Callable(ah)
374-func claim (aP) = {
365+func claim (aM) = {
375366 let s = toString(ah.caller)
376- av(s, aP)
367+ av(s, aM)
377368 }
378369
379370
381372 @Callable(ah)
382373 func claimAll () = {
383374 let s = toString(ah.caller)
384- let aQ = W(s)
385- let U = aQ._1
386- let V = aQ._2
375+ let aN = W(s)
376+ let U = aN._1
377+ let V = aN._2
387378 av(s, U)
388379 }
389380
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "l2mp_leasing.ride"
55
66 let b = "__"
77
88 let c = 100000000
99
1010 func d (e) = throw(((a + ": ") + e))
1111
1212
1313 let f = makeString(["%s", "assetId"], b)
1414
1515 let g = makeString(["%s", "offsetId"], b)
1616
1717 let h = makeString(["%s", "offsetHeight"], b)
1818
1919 let i = makeString(["%s", "periodLength"], b)
2020
2121 let j = valueOrElse(getInteger(this, g), 0)
2222
2323 let k = valueOrElse(getInteger(this, i), 10000)
2424
2525 let l = valueOrElse(getInteger(this, h), -1)
2626
2727 let m = if (if ((height > l))
2828 then (l != -1)
2929 else false)
3030 then (((height - l) / k) + j)
3131 else max([0, (j - 1)])
3232
3333 let n = (l + ((m - j) * k))
3434
3535 let o = (n + k)
3636
3737 func p (q) = makeString(["%s", q], b)
3838
3939
4040 func r (s) = makeString(["%s%s", "userLeasingNodeList", s], b)
4141
4242
4343 func t (s,q) = makeString(["%s%s", q, s], b)
4444
4545
4646 func u (s) = makeString(["%s%s", "toClaim", s], b)
4747
4848
4949 let v = valueOrElse(getString(this, f), "WAVES")
5050
5151 let w = if ((v == "WAVES"))
5252 then unit
5353 else fromBase58String(v)
5454
5555 func x (y) = {
5656 let z = addressFromString(y)
5757 if ($isInstanceOf(z, "Address"))
5858 then {
5959 let A = z
6060 true
6161 }
6262 else false
6363 }
6464
6565
6666 func B (q,C,D) = {
6767 let E = makeString(["%d%d%d%d", toString(n), toString(C), toString(o), toString(D)], b)
6868 StringEntry(p(q), E)
6969 }
7070
7171
7272 func F (q) = {
7373 let G = getString(this, p(q))
7474 let z = G
7575 if ($isInstanceOf(z, "String"))
7676 then {
7777 let H = z
7878 let I = split(H, b)
7979 let J = parseIntValue(I[1])
8080 let K = parseIntValue(I[2])
8181 let L = parseIntValue(I[3])
8282 let M = parseIntValue(I[4])
8383 if ((L > height))
8484 then $Tuple2(K, M)
8585 else $Tuple2(M, M)
8686 }
8787 else $Tuple2(0, 0)
8888 }
8989
9090
9191 func N (q,s,O,P) = {
9292 let E = makeString(["%d%d%d%d", toString(n), toString(O), toString(o), toString(P)], b)
9393 StringEntry(t(s, q), E)
9494 }
9595
9696
9797 func Q (q,s) = {
9898 let G = getString(this, t(s, q))
9999 let z = G
100100 if ($isInstanceOf(z, "String"))
101101 then {
102102 let H = z
103103 let I = split(H, b)
104104 let R = parseIntValue(I[1])
105105 let O = parseIntValue(I[2])
106106 let S = parseIntValue(I[3])
107107 let P = parseIntValue(I[4])
108108 if ((S > height))
109109 then $Tuple2(O, P)
110110 else $Tuple2(P, P)
111111 }
112112 else $Tuple2(0, 0)
113113 }
114114
115115
116116 func T (s,U,V) = {
117117 let E = makeString(["%d%d%d%d", toString(n), toString(U), toString(o), toString(V)], b)
118118 StringEntry(u(s), E)
119119 }
120120
121121
122122 func W (s) = {
123123 let X = getString(this, u(s))
124124 let z = X
125125 if ($isInstanceOf(z, "String"))
126126 then {
127127 let H = z
128128 let I = split(H, b)
129129 let Y = parseIntValue(I[1])
130130 let U = parseIntValue(I[2])
131131 let Z = parseIntValue(I[3])
132132 let V = parseIntValue(I[4])
133133 if ((Z > height))
134134 then $Tuple2(U, V)
135135 else $Tuple2((U + V), 0)
136136 }
137137 else $Tuple2(0, 0)
138138 }
139139
140140
141141 func aa (s) = {
142142 let G = getString(this, r(s))
143143 let z = G
144144 if ($isInstanceOf(z, "String"))
145145 then {
146146 let H = z
147147 let I = split_51C(H, b)
148148 I
149149 }
150150 else nil
151151 }
152152
153153
154154 func ab (s,ac) = if ((size(ac) == 0))
155155 then DeleteEntry(r(s))
156156 else StringEntry(r(s), makeString_11C(ac, b))
157157
158158
159159 func ad (s,q) = {
160160 let ac = aa(s)
161161 if (containsElement(ac, q))
162162 then ac
163163 else (ac :+ q)
164164 }
165165
166166
167167 func ae (s,q) = {
168168 let ac = aa(s)
169169 let z = indexOf(ac, q)
170170 if ($isInstanceOf(z, "Int"))
171171 then {
172172 let af = z
173173 removeByIndex(ac, af)
174174 }
175175 else ac
176176 }
177177
178178
179179 func ag (q,s,ah) = {
180180 let ai = [if ((size(ah.payments) == 1))
181181 then true
182182 else d("payment size should be exactly 1"), if ((ah.payments[0].assetId == w))
183183 then true
184184 else d(makeString(["payment assetId should be:", v], " ")), if (x(q))
185185 then true
186186 else d(makeString(["node address is not valid:", q], " ")), if (x(s))
187187 then true
188188 else d(makeString(["user address is not valid:", s], " "))]
189189 if ((ai == ai))
190190 then {
191191 let aj = ah.payments[0].amount
192192 let ak = F(q)
193193 let K = ak._1
194194 let M = ak._2
195195 let al = (M + aj)
196196 let am = Q(q, s)
197197 let O = am._1
198198 let P = am._2
199199 let an = (P + aj)
200200 [B(q, K, al), N(q, s, O, an), ab(s, ad(s, q))]
201201 }
202202 else throw("Strict value is not equal to itself.")
203203 }
204204
205205
206206 func ao (q,s,ap) = {
207207 let aq = F(q)
208208 let K = aq._1
209209 let M = aq._2
210210 let ar = Q(q, s)
211211 let O = ar._1
212212 let P = ar._2
213213 let ai = [if ((ap > 0))
214214 then true
215215 else d("unstake amount should be greater than 0"), if ((P >= ap))
216216 then true
217217 else d("unstake amount should be less or equal user staked amount"), if ((M >= ap))
218218 then true
219219 else d("unstake amount should be less or equal node staked amount"), if (x(q))
220220 then true
221221 else d(makeString(["node address is not valid:", q], " ")), if (x(s))
222222 then true
223223 else d(makeString(["user address is not valid:", s], " "))]
224224 if ((ai == ai))
225225 then {
226226 let al = (M - ap)
227227 let an = (P - ap)
228228 let as = W(s)
229229 let U = as._1
230230 let V = as._2
231231 let at = (V + ap)
232232 let au = if ((an == 0))
233233 then [ab(s, ae(s, q))]
234234 else nil
235235 ([B(q, K, al), N(q, s, O, an), T(s, U, at)] ++ au)
236236 }
237237 else throw("Strict value is not equal to itself.")
238238 }
239239
240240
241241 func av (s,aw) = {
242242 let ax = W(s)
243243 let U = ax._1
244244 let V = ax._2
245245 let ai = [if ((aw > 0))
246246 then true
247247 else d("claim amount should be greater than 0"), if ((U >= aw))
248248 then true
249249 else d("claim amount should be less or equal unlocked amount"), if (x(s))
250250 then true
251251 else d(makeString(["user address is not valid:", s], " "))]
252252 if ((ai == ai))
253253 then {
254254 let ay = (U - aw)
255255 [T(s, ay, V), ScriptTransfer(addressFromStringValue(s), aw, w)]
256256 }
257257 else throw("Strict value is not equal to itself.")
258258 }
259259
260260
261261 func az (q,s,aj) = {
262262 let aA = W(s)
263263 let U = aA._1
264264 let V = aA._2
265265 let aB = (V + U)
266266 let ai = [if ((aj > 0))
267267 then true
268268 else d("amount should be greater than 0"), if ((aB >= aj))
269269 then true
270270 else d("amount should be less or equal to available"), if (x(q))
271271 then true
272272 else d(makeString(["node address is not valid:", q], " ")), if (x(s))
273273 then true
274274 else d(makeString(["user address is not valid:", s], " "))]
275275 if ((ai == ai))
276276 then {
277277 let aC = F(q)
278278 let K = aC._1
279279 let M = aC._2
280280 let al = (M + aj)
281281 let aD = Q(q, s)
282282 let O = aD._1
283283 let P = aD._2
284284 let an = (P + aj)
285285 let at = max([0, (V - aj)])
286286 let ay = min([U, (U + (V - aj))])
287287 [B(q, K, M), N(q, s, O, an), T(s, ay, at), ab(s, ad(s, q))]
288288 }
289289 else throw("Strict value is not equal to itself.")
290290 }
291291
292292
293293 func aE (aF) = {
294294 let aG = [if ((aF > 0))
295295 then true
296296 else d("period length should be greater than 0")]
297297 if ((aG == aG))
298298 then if ((l == -1))
299299 then [IntegerEntry(i, aF), IntegerEntry(h, height)]
300300 else {
301301 let aH = (m + 1)
302302 let aI = ((k * (aH - j)) + l)
303303 [IntegerEntry(g, aH), IntegerEntry(h, aI), IntegerEntry(i, aF)]
304304 }
305305 else throw("Strict value is not equal to itself.")
306306 }
307307
308308
309-func aJ () = $Tuple2(n, o)
310-
311-
312309 @Callable(ah)
313310 func setNewPeriodLength (aF) = aE(aF)
314311
315312
316313
317314 @Callable(ah)
318315 func getNodeDataREADONLY (q) = {
319- let aK = F(q)
320- let aL = aK._1
321- let D = aK._2
322- let aM = aJ()
323- let Y = aM._1
324- let Z = aM._2
325- $Tuple2(nil, $Tuple5(aL, D, height, Y, Z))
316+ let aJ = F(q)
317+ let aK = aJ._1
318+ let D = aJ._2
319+ $Tuple2(nil, $Tuple5(n, aK, o, D, height))
326320 }
327321
328322
329323
330324 @Callable(ah)
331325 func getUserDataREADONLY (s) = {
332- let aN = W(s)
333- let U = aN._1
334- let V = aN._2
335- let aO = aJ()
336- let Y = aO._1
337- let Z = aO._2
326+ let aL = W(s)
327+ let U = aL._1
328+ let V = aL._2
338329 let ac = aa(s)
339- $Tuple2(nil, $Tuple6(U, V, height, Y, Z, ac))
330+ $Tuple2(nil, $Tuple6(n, U, o, V, height, ac))
340331 }
341332
342333
343334
344335 @Callable(ah)
345336 func stakeFor (q,s) = ag(q, s, ah)
346337
347338
348339
349340 @Callable(ah)
350341 func stake (q) = {
351342 let s = toString(ah.caller)
352343 ag(q, s, ah)
353344 }
354345
355346
356347
357348 @Callable(ah)
358-func stakeFromUnlocked (q,aP) = {
349+func stakeFromUnlocked (q,aM) = {
359350 let s = toString(ah.caller)
360- az(q, s, aP)
351+ az(q, s, aM)
361352 }
362353
363354
364355
365356 @Callable(ah)
366-func unstake (q,aP) = {
357+func unstake (q,aM) = {
367358 let s = toString(ah.caller)
368- ao(q, s, aP)
359+ ao(q, s, aM)
369360 }
370361
371362
372363
373364 @Callable(ah)
374-func claim (aP) = {
365+func claim (aM) = {
375366 let s = toString(ah.caller)
376- av(s, aP)
367+ av(s, aM)
377368 }
378369
379370
380371
381372 @Callable(ah)
382373 func claimAll () = {
383374 let s = toString(ah.caller)
384- let aQ = W(s)
385- let U = aQ._1
386- let V = aQ._2
375+ let aN = W(s)
376+ let U = aN._1
377+ let V = aN._2
387378 av(s, U)
388379 }
389380
390381

github/deemru/w8io/026f985 
48.65 ms