tx · 5yfJPe1SVAMULjBiDZ6KKRPD7y9mPtBwiS3ek75EYT5M

3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv:  -0.01400000 Waves

2024.09.13 05:39 [3281265] smart account 3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv > SELF 0.00000000 Waves

{ "type": 13, "id": "5yfJPe1SVAMULjBiDZ6KKRPD7y9mPtBwiS3ek75EYT5M", "fee": 1400000, "feeAssetId": null, "timestamp": 1726195169996, "version": 2, "chainId": 84, "sender": "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv", "senderPublicKey": "2fNSk5gmWbXBDTkSYSKd66xSgVvAYzrJnP9YSAFNvTwC", "proofs": [ "3BiGh9MujKYxG7sfmxbuHZQ9576bk1HiXxV3Nnt3r2AwAk4MWoQfiFFythT2KpRWZDAWfes5w3mrgeo4i8FEVdfd" ], "script": "base64:BgIWCAISAwoBGBIDCgEIEgMKAQgSAwoBCFsAA1NFUAICX18ABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAt1c2R0QXNzZXRJZAQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAEghNp6sggDP07Ru8qO7ouTvMmC3Qtd+geWqNQj+agP/7kDCQAAAgEBVAUHJG1hdGNoMAEgVbHYn3KHgu/l41uNrAWrZd6aQ6EvFrsF8xq3h6XxxRgJAAIBAg1Vbmtub3duIGNoYWluABZkZWZhdWx0UmVzdDJBZGRyZXNzU3RyBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwAiMzUEZ3WXRhOGJpRXozMXpwZUZlNURKSzh3RTV0clNwUVZGOAMJAAACAQFUBQckbWF0Y2gwAiMzTjdVdVlhcjYyNjRQNThGQmhWV0tQUUFoNFl1YTJoZ25ndgkAAgECDVVua25vd24gY2hhaW4AFW9sZFN0YWtpbmdDb250cmFjdFN0cgQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAIjM1BM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281265, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G2mdREjNEm7rvRZHwiL82oYnhVh3Eu1rkoBAopBkocoS Next: 6JuEiPzZyootpYM9dga1vmVKR1RJH9rJi1NMdBW4E5Qv Diff:
OldNewDifferences
308308 let bT = if ((bO == bQ))
309309 then {
310310 let bU = fraction(bS, (bP - bN), W)
311- let bV = ((bN + bP) - bN)
311+ let bV = bP
312312 $Tuple2(bU, bV)
313313 }
314314 else if ((bO == (bQ - 1)))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = take(drop(this.bytes, 1), 1)
77
88 let c = {
99 let d = b
1010 if ((base58'2W' == d))
1111 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
1212 else if ((base58'2T' == d))
1313 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
1414 else throw("Unknown chain")
1515 }
1616
1717 let e = {
1818 let d = b
1919 if ((base58'2W' == d))
2020 then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8"
2121 else if ((base58'2T' == d))
2222 then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv"
2323 else throw("Unknown chain")
2424 }
2525
2626 let f = {
2727 let d = b
2828 if ((base58'2W' == d))
2929 then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1"
3030 else if ((base58'2T' == d))
3131 then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm"
3232 else throw("Unknown chain")
3333 }
3434
3535 func g (h,i) = valueOrErrorMessage(getString(h, i), makeString(["mandatory ", toString(h), ".", i, " is not defined"], ""))
3636
3737
3838 let j = 1
3939
4040 let k = 2
4141
4242 let l = 4
4343
4444 let m = 5
4545
4646 func n () = "%s__restConfig"
4747
4848
4949 func o () = "%s__rest2Addr"
5050
5151
5252 func p (q) = split_4C(g(q, n()), a)
5353
5454
5555 func r (s,t) = valueOrErrorMessage(addressFromString(s[t]), ("Rest cfg doesn't contain address at index " + toString(t)))
5656
5757
5858 let u = addressFromStringValue(valueOrElse(getString(this, o()), e))
5959
6060 let s = p(u)
6161
6262 let v = r(s, j)
6363
6464 let w = r(s, k)
6565
6666 let x = r(s, l)
6767
6868 let y = r(s, m)
6969
7070 let z = "oldAcresContract"
7171
7272 func A (B) = ("lastTxIdByUser_" + B)
7373
7474
7575 let C = "wlg_assetId"
7676
7777 let D = valueOrErrorMessage(getBinary(w, C), "WLGOLD is not issued yet")
7878
7979 let E = "acresAssetId"
8080
8181 let F = valueOrErrorMessage(getBinary(v, E), "ACRES is not issued yet")
8282
8383 func G (H) = ("stakedDuckByOwner_" + H)
8484
8585
8686 func I (B) = ("accountCustomNameByAddr_" + B)
8787
8888
8989 func J (B) = ("accRefBy_" + B)
9090
9191
9292 func K (B) = ("accReferrals_" + B)
9393
9494
9595 func L (M) = {
9696 let d = M
9797 if ($isInstanceOf(d, "(Int, Int, Int, Int)"))
9898 then {
9999 let N = d
100100 N
101101 }
102102 else throw("fail to cast into (Int, Int, Int, Int)")
103103 }
104104
105105
106106 func O (M) = {
107107 let d = M
108108 if ($isInstanceOf(d, "(Int, Int, Int)"))
109109 then {
110110 let N = d
111111 N
112112 }
113113 else throw("fail to cast into (Int, Int, Int)")
114114 }
115115
116116
117117 func P (M) = {
118118 let d = M
119119 if ($isInstanceOf(d, "(Int, Int)"))
120120 then {
121121 let N = d
122122 N
123123 }
124124 else throw("fail to cast into (Int, Int)")
125125 }
126126
127127
128128 let Q = 1000000
129129
130130 let R = 100000000
131131
132132 let S = 100000000000000
133133
134134 let T = 200000
135135
136136 let U = 100000
137137
138138 let V = 400000
139139
140140 let W = 31557600000
141141
142142 let X = take(drop(this.bytes, 1), 1)
143143
144144 let Y = {
145145 let d = X
146146 if ((base58'2W' == d))
147147 then 1208630000
148148 else if ((base58'2T' == d))
149149 then 0
150150 else throw("Unknown chain")
151151 }
152152
153153 let Z = "teamAddr"
154154
155155 let aa = "lastClaimedTime_team"
156156
157157 let ab = "teamAmountLeft"
158158
159159 let ac = "lastClaimedTime_activities"
160160
161161 let ad = "activitiesAmountLeft"
162162
163163 let ae = "stakersAmountLeft"
164164
165165 func af (B) = ("lastClaimedTimeUser_" + B)
166166
167167
168168 func ag (ah) = fraction(S, (V * (ah + 1)), (6 * Q))
169169
170170
171171 let ai = "wlg_issueTime"
172172
173173 let aj = "wlg_issuedAmount"
174174
175175 let ak = "zbill_issuedAmount"
176176
177177 func al (B) = ("acresStakedAmountByUser_" + B)
178178
179179
180180 let am = "acresStakedAmountTotal"
181181
182182 let an = 0
183183
184184 let ao = 1
185185
186186 let ap = 2
187187
188188 let aq = 3
189189
190190 let ar = 4
191191
192192 let as = [10, 20, 40, 80, 150, 250, 400, 700, 1000]
193193
194194 func at (au) = {
195195 let av = (au / R)
196196 func aw (ax,ay) = if ((ay > av))
197197 then ax
198198 else (ax + 1)
199199
200200 let t = {
201201 let az = as
202202 let aA = size(az)
203203 let aB = 0
204204 func aC (aD,aE) = if ((aE >= aA))
205205 then aD
206206 else aw(aD, az[aE])
207207
208208 func aF (aD,aE) = if ((aE >= aA))
209209 then aD
210210 else throw("List size exceeds 10")
211211
212212 aF(aC(aC(aC(aC(aC(aC(aC(aC(aC(aC(aB, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
213213 }
214214 (t + 1)
215215 }
216216
217217
218218 func aG (au) = ((au * 20) * (at(au) + 4))
219219
220220
221221 func aH (aI,aJ) = {
222222 let aK = valueOrElse(getInteger(aJ, am), 0)
223223 let aL = aG(aK)
224224 let aM = valueOrElse(getInteger(aJ, al(aI)), 0)
225225 let aN = aG(aM)
226226 [aL, aN]
227227 }
228228
229229
230230 let aO = 0
231231
232232 let aP = 1
233233
234234 let aQ = 0
235235
236236 let aR = 1
237237
238238 let aS = 2
239239
240240 let aT = 3
241241
242242 let aU = 4
243243
244244 let aV = 5
245245
246246 let aW = 6
247247
248248 let aX = 7
249249
250250 let aY = 8
251251
252252 let aZ = 9
253253
254254 let ba = 10
255255
256256 let bb = 11
257257
258258 let bc = 12
259259
260260 let bd = 13
261261
262262 let be = 14
263263
264264 let bf = 15
265265
266266 let bg = 16
267267
268268 let bh = 17
269269
270270 let bi = 18
271271
272272 let bj = 19
273273
274274 let bk = 20
275275
276276 let bl = 21
277277
278278 let bm = 22
279279
280280 func bn (bo,bp,bq,br) = {
281281 let bs = valueOrErrorMessage(getInteger(bp[ap], aj), "WLGOLD is not issued yet")
282282 let bt = assetBalance(bp[an], bq)
283283 let bu = (assetBalance(bp[ap], bq) - br)
284284 let bv = assetBalance(bp[aq], bq)
285285 let bw = bp[ar]
286286 let bx = (assetBalance(bw, bq) + valueOrElse(getInteger(bw, ak), 0))
287287 let by = (bu + bx)
288288 let bz = valueOrErrorMessage(getBinary(bp[ap], "wlg_assetId"), "Not initialized yet")
289289 let bA = lastBlock.timestamp
290290 let bB = valueOrErrorMessage(getInteger(bp[ap], ai), "Not initialized")
291291 let bC = fraction(S, T, Q)
292292 let bD = valueOrElse(getInteger(bp[ap], ab), bC)
293293 let bE = valueOrElse(getInteger(bp[ap], aa), bB)
294294 let bF = addressFromStringValue(value(getString(bp[ap], Z)))
295295 let bG = min([fraction(bC, (bA - bE), (3 * W)), bD])
296296 let bH = assetBalance(bF, bz)
297297 let bI = fraction(S, U, Q)
298298 let bJ = valueOrElse(getInteger(bp[ap], ad), bI)
299299 let bK = valueOrElse(getInteger(bp[ap], ac), bB)
300300 let bL = min([fraction(bI, (bA - bK), (3 * W)), bJ])
301301 let bM = assetBalance(bp[an], bz)
302302 let bN = valueOrElse(getInteger(bp[ap], af(bo)), bB)
303303 let bO = ((bN - bB) / W)
304304 let bP = min([bA, (bB + (3 * W))])
305305 let bQ = min([((bA - bB) / W), 2])
306306 let bR = aH(bo, bp[ao])
307307 let bS = ag(bQ)
308308 let bT = if ((bO == bQ))
309309 then {
310310 let bU = fraction(bS, (bP - bN), W)
311- let bV = ((bN + bP) - bN)
311+ let bV = bP
312312 $Tuple2(bU, bV)
313313 }
314314 else if ((bO == (bQ - 1)))
315315 then {
316316 let bW = fraction(ag((bQ - 1)), ((bB + (W * bQ)) - bN), W)
317317 let bU = fraction(bS, (bP - (bB + (W * bQ))), W)
318318 let bX = (bW + bU)
319319 let bV = if ((bW >= bX))
320320 then (bN + fraction(W, bX, ag((bQ - 1))))
321321 else ((bB + (W * bQ)) + fraction(W, (bX - bW), bS))
322322 $Tuple2(bX, bV)
323323 }
324324 else {
325325 let bY = fraction(ag((bQ - 2)), ((bB + (W * (bQ - 1))) - bN), W)
326326 let bW = ag((bQ - 1))
327327 let bU = fraction(bS, (bP - (bB + (W * bQ))), W)
328328 let bX = ((bY + bW) + bU)
329329 let bV = if ((bY >= bX))
330330 then (bN + fraction(W, bX, ag((bQ - 2))))
331331 else if (((bY + bW) >= bX))
332332 then ((bB + (W * (bQ - 1))) + fraction(W, (bX - bY), ag((bQ - 1))))
333333 else ((bB + (W * bQ)) + fraction(W, ((bX - bY) - bW), bS))
334334 $Tuple2(bX, bV)
335335 }
336336 let bZ = bT._1
337337 let ca = bT._2
338338 let cb = valueOrElse(getInteger(bp[ap], ae), 0)
339339 let cc = if ((bR[aO] != 0))
340340 then fraction(bZ, bR[aP], bR[aO])
341341 else 0
342342 [bs, fraction((by - Y), R, bs), by, bt, bu, bv, bB, bE, bC, bD, bG, bH, bI, bJ, bL, bM, bQ, cb, bS, bN, bx, cc, ca]
343343 }
344344
345345
346346 func cd (ce) = {
347347 let B = addressFromString(ce)
348348 let cf = if (isDefined(B))
349349 then wavesBalance(value(B))
350350 else BalanceDetails(0, 0, 0, 0)
351351 let cg = if (isDefined(B))
352352 then assetBalance(value(B), D)
353353 else 0
354354 let ch = valueOrElse(getString(v, I(ce)), ce)
355355 let ci = J(ce)
356356 let cj = getString(v, ci)
357357 let ck = valueOrElse(getString(v, K(ce)), "")
358358 let cl = valueOrElse(getString(v, A(ce)), "")
359359 let cm = if (isDefined(B))
360360 then assetBalance(value(B), F)
361361 else 0
362362 let cn = valueOrElse(getInteger(v, al(ce)), 0)
363363 let co = at(cm)
364364 [("%s%s__customName__" + ch), ("%s%s__referredBy__" + valueOrElse(cj, "")), ("%s%s__referrals__" + ck), ("%s%s__lastTxId__" + cl), ("%s%d__wavesBalance__" + toString(cf.available)), ("%s%d__wlgoldBalance__" + toString(cg)), ("%s%d__acresBalance__" + toString(cm)), ("%s%d__stakedAcres__" + toString(cn)), ("%s%d__currentLvl__" + toString(co))]
365365 }
366366
367367
368368 @Callable(cp)
369369 func constructorV1 (bp) = if ((cp.caller != this))
370370 then throw("permissions denied")
371371 else {
372372 func cq (ax,cr) = (ax + "%s")
373373
374374 let cs = {
375375 let az = bp
376376 let aA = size(az)
377377 let aB = ""
378378 func aC (aD,aE) = if ((aE >= aA))
379379 then aD
380380 else cq(aD, az[aE])
381381
382382 func aF (aD,aE) = if ((aE >= aA))
383383 then aD
384384 else throw("List size exceeds 10")
385385
386386 aF(aC(aC(aC(aC(aC(aC(aC(aC(aC(aC(aB, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
387387 }
388388 [StringEntry(n(), makeString(cs :: bp, a)), StringEntry(o(), toString(this))]
389389 }
390390
391391
392392
393393 @Callable(cp)
394394 func walletInfoREADONLY (ce) = $Tuple2(nil, cd(ce))
395395
396396
397397
398398 @Callable(cp)
399399 func conversionInfoREADONLY (ce) = {
400400 let ct = addressFromStringValue(getStringValue(v, z))
401401 let cu = P(invoke(ct, "unstakeAllAcresREADONLY", [ce], nil))
402402 let cv = cu._1
403403 let cw = cu._2
404404 let cx = L(invoke(v, "unstakeLandsREADONLY", [ce], nil))
405405 let cy = cx._1
406406 let cz = cx._2
407407 let cA = cx._3
408408 let cB = cx._4
409409 let cC = addressFromStringValue(f)
410410 let cD = valueOrElse(getString(cC, G(ce)), "")
411411 let cE = if ((cD != ""))
412412 then O(invoke(cC, "unstakeDuckREADONLY", [cD, ce], nil))
413413 else $Tuple3(0, 0, 0)
414414 let cF = cE._1
415415 let cG = cE._2
416416 let cH = cE._3
417417 $Tuple2(nil, [("%s%d__unstakedAcres__" + toString(cv)), ("%s%d__claimedAcres__" + toString(cw)), ("%s%d__acresFromPieces__" + toString(cy)), ("%s%d__acresFromRes__" + toString(cz)), ("%s%d__acresFromMat__" + toString(cA)), ("%s%d__acresFromProd__" + toString(cB)), ("%s%d__acresFromDuckRes__" + toString(cF)), ("%s%d__acresFromDuckMat__" + toString(cG)), ("%s%d__acresFromDuckProd__" + toString(cH))])
418418 }
419419
420420
421421
422422 @Callable(cp)
423423 func wlgStatsREADONLY (bo) = {
424424 let cI = bn(bo, [u, v, w, x, y], c, 0)
425425 $Tuple2(nil, [("%s%d__wlgAmount__" + toString(cI[aQ])), ("%s%d__wlgPrice__" + toString(cI[aR])), ("%s%d__usdtFunds__" + toString(cI[aS])), ("%s%d__usdtActivity__" + toString(cI[aT])), ("%s%d__usdtArbitrage__" + toString(cI[aU])), ("%s%d__usdtPool__" + toString(cI[aV])), ("%s%d__wlgIssueTime__" + toString(cI[aW])), ("%s%d__wlgLastMarketingTeamActTime__" + toString(cI[aX])), ("%s%d__wlgTeamTotal__" + toString(cI[aY])), ("%s%d__wlgTeamAmLeft__" + toString(cI[aZ])), ("%s%d__wlgTeamAmAvailNow__" + toString(cI[ba])), ("%s%d__wlgTeamWlgold__" + toString(cI[bb])), ("%s%d__wlgActTotal__" + toString(cI[bc])), ("%s%d__wlgActAmLeft__" + toString(cI[bd])), ("%s%d__wlgActAmAvailNow__" + toString(cI[be])), ("%s%d__wlgActWlgold__" + toString(cI[bf])), ("%s%d__wlgCurPeriod__" + toString(cI[bg])), ("%s%d__wlgAmLeftTotal__" + toString(cI[bh])), ("%s%d__wlgCurPeriodDistribution__" + toString(cI[bi])), ("%s%d__wlgLastUserTime__" + toString(cI[bj])), ("%s%d__wlgInvestFundTotal__" + toString(cI[bk])), ("%s%d__wlgUserAmAvailNow__" + toString(cI[bl])), ("%s%d__wlgEffUserTime__" + toString(cI[bm]))])
426426 }
427427
428428

github/deemru/w8io/169f3d6 
52.51 ms