tx · 6yyiCWpxVFJVq3K3DuzQUKkUbsCP1adX9RTb25bFy9Q1 3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv: -0.02200000 Waves 2024.12.18 21:58 [3420372] smart account 3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv > SELF 0.00000000 Waves
{ "type": 13, "id": "6yyiCWpxVFJVq3K3DuzQUKkUbsCP1adX9RTb25bFy9Q1", "fee": 2200000, "feeAssetId": null, "timestamp": 1734548345046, "version": 2, "chainId": 84, "sender": "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv", "senderPublicKey": "2fNSk5gmWbXBDTkSYSKd66xSgVvAYzrJnP9YSAFNvTwC", "proofs": [ "4i3Y7vfEAuTr6HzTCYsuE5QYXPp8G3YMjxmi6jjHCyuNPuvqimiyJDSAAYbvcaHuqsgHFRvEkMqDLdzN9aaPvGFw" ], "script": "base64:BgIqCAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIhwEAA1NFUAICX18ABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAtwcm9tb0Jsb2NrcwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAkAzAgCAMCykgIJAMwIAgCggZMCCQDMCAIA4MSTAgUDbmlsAwkAAAIBAVQFByRtYXRjaDAJAMwIAgDettABCQDMCAIAi77QAQkAzAgCAJj20AEFA25pbAkAAgECDVVua25vd24gY2hhaW4ACkRBWV9CTE9DS1MEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAAoAsDCQAAAgEBVAUHJG1hdGNoMAA8CQACAQINVW5rbm93biBjaGFpbgALV0VFS19CTE9DS1MEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAA4E4DCQAAAgEBVAUHJG1hdGNoMAC0AQkAAgECDVVua25vd24gY2hhaW4AClZSRl9PRkZTRVQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRt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RmMF8yAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgUFJGFjYzAAAAABAAIAAwQOdXNlclByaXplc0xpc3QIBQ0kdDAxMjA1MTEyMTIwAl8xBAt3aW5uZXJzTGlzdAgFDSR0MDEyMDUxMTIxMjACXzIJAJQKAgUDbmlsCQDMCAIJAKwCAgIQJXMlc19fcHJvbW9NYXBfXwUIcHJvbW9NYXAJAMwIAgkArAICAhklcyVkX190b3RhbFByb21vVGlja2V0c19fCQCkAwEFDHRvdGFsVGlja2V0cwkAzAgCCQCsAgICGCVzJWRfX3VzZXJQcm9tb1RpY2tldHNfXwkApAMBBQt1c2VyVGlja2V0cwkAzAgCCQCsAgICFSVzJWRfX2Jsb2NrY2hhaW5EYXlfXwkApAMBBQV0b2RheQkAzAgCCQCsAgICFCVzJXNfX3Byb21vV2lubmVyc19fCQC6CQIFC3dpbm5lcnNMaXN0AgE6CQDMCAIJAKwCAgIXJXMlc19fdXNlclByb21vUHJpemVzX18JALkJAgUOdXNlclByaXplc0xpc3QCAV8FA25pbAAHiUR+", "height": 3420372, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HrzkP8FPz8qKXGaoa8jQX54T1fJHxgJrZ9ogjBQy2emp Next: none Diff:
Old | New | Differences | |
---|---|---|---|
608 | 608 | let eo = valueOrElse(getInteger(A, af(cq)), 0) | |
609 | 609 | let ep = valueOrElse(getInteger(A, ag), 0) | |
610 | 610 | let eq = valueOrElse(getString(A, ah), "") | |
611 | - | let er = valueOrElse(getString(A, ai(ec)), "") | |
612 | - | func es (bR,aj) = { | |
613 | - | let et = c[aj] | |
614 | - | if ((et > height)) | |
615 | - | then bR | |
616 | - | else { | |
617 | - | let eu = valueOrElse(getString(A, ai(aj)), "") | |
618 | - | if ((eu == "")) | |
619 | - | then bR | |
620 | - | else { | |
621 | - | let y = indexOf(split(eu, "_"), cq) | |
622 | - | if (isDefined(y)) | |
623 | - | then $Tuple2((bR._1 :+ toString(value(y))), (bR._2 :+ eu)) | |
624 | - | else $Tuple2((bR._1 :+ ""), (bR._2 :+ eu)) | |
625 | - | } | |
626 | - | } | |
627 | - | } | |
611 | + | func er (bR,aj) = if ((c[aj] > height)) | |
612 | + | then bR | |
613 | + | else { | |
614 | + | let es = valueOrElse(getString(A, ai(aj)), "") | |
615 | + | if ((es == "")) | |
616 | + | then bR | |
617 | + | else { | |
618 | + | let y = indexOf(split(es, "_"), cq) | |
619 | + | if (isDefined(y)) | |
620 | + | then $Tuple2((bR._1 :+ toString(value(y))), (bR._2 :+ es)) | |
621 | + | else $Tuple2((bR._1 :+ ""), (bR._2 :+ es)) | |
622 | + | } | |
623 | + | } | |
628 | 624 | ||
629 | - | let | |
625 | + | let et = { | |
630 | 626 | let bT = [0, 1, 2] | |
631 | 627 | let bU = size(bT) | |
632 | 628 | let bV = $Tuple2(nil, nil) | |
633 | 629 | func bW (bX,bY) = if ((bY >= bU)) | |
634 | 630 | then bX | |
635 | - | else | |
631 | + | else er(bX, bT[bY]) | |
636 | 632 | ||
637 | 633 | func bZ (bX,bY) = if ((bY >= bU)) | |
638 | 634 | then bX | |
640 | 636 | ||
641 | 637 | bZ(bW(bW(bW(bV, 0), 1), 2), 3) | |
642 | 638 | } | |
643 | - | let | |
644 | - | let | |
645 | - | $Tuple2(nil, [("%s%d__totalPromoTickets__" + toString(ep)), ("%s%d__userPromoTickets__" + toString(eo)), ("%s%d__blockchainDay__" + toString(ec)), ("%s%s__promoWinners__" + makeString_2C( | |
639 | + | let eu = et._1 | |
640 | + | let ev = et._2 | |
641 | + | $Tuple2(nil, [("%s%s__promoMap__" + eq), ("%s%d__totalPromoTickets__" + toString(ep)), ("%s%d__userPromoTickets__" + toString(eo)), ("%s%d__blockchainDay__" + toString(ec)), ("%s%s__promoWinners__" + makeString_2C(ev, ":")), ("%s%s__userPromoPrizes__" + makeString(eu, "_"))]) | |
646 | 642 | } | |
647 | 643 | ||
648 | 644 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = take(drop(this.bytes, 1), 1) | |
7 | 7 | ||
8 | 8 | let c = { | |
9 | 9 | let d = b | |
10 | 10 | if ((base58'2W' == d)) | |
11 | 11 | then [4495680, 4505760, 4514400] | |
12 | 12 | else if ((base58'2T' == d)) | |
13 | 13 | then [3414878, 3415819, 3423000] | |
14 | 14 | else throw("Unknown chain") | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 | let e = { | |
18 | 18 | let d = b | |
19 | 19 | if ((base58'2W' == d)) | |
20 | 20 | then 1440 | |
21 | 21 | else if ((base58'2T' == d)) | |
22 | 22 | then 60 | |
23 | 23 | else throw("Unknown chain") | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 | let f = { | |
27 | 27 | let d = b | |
28 | 28 | if ((base58'2W' == d)) | |
29 | 29 | then 10080 | |
30 | 30 | else if ((base58'2T' == d)) | |
31 | 31 | then 180 | |
32 | 32 | else throw("Unknown chain") | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | let g = { | |
36 | 36 | let d = b | |
37 | 37 | if ((base58'2W' == d)) | |
38 | 38 | then 0 | |
39 | 39 | else if ((base58'2T' == d)) | |
40 | 40 | then 1146000 | |
41 | 41 | else throw("Unknown chain") | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | let h = { | |
45 | 45 | let d = b | |
46 | 46 | if ((base58'2W' == d)) | |
47 | 47 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
48 | 48 | else if ((base58'2T' == d)) | |
49 | 49 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
50 | 50 | else throw("Unknown chain") | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | let i = { | |
54 | 54 | let d = b | |
55 | 55 | if ((base58'2W' == d)) | |
56 | 56 | then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8" | |
57 | 57 | else if ((base58'2T' == d)) | |
58 | 58 | then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv" | |
59 | 59 | else throw("Unknown chain") | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | let j = { | |
63 | 63 | let d = b | |
64 | 64 | if ((base58'2W' == d)) | |
65 | 65 | then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1" | |
66 | 66 | else if ((base58'2T' == d)) | |
67 | 67 | then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm" | |
68 | 68 | else throw("Unknown chain") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | func k (l,m) = valueOrErrorMessage(getString(l, m), makeString(["mandatory ", toString(l), ".", m, " is not defined"], "")) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | let n = 1 | |
75 | 75 | ||
76 | 76 | let o = 2 | |
77 | 77 | ||
78 | 78 | let p = 4 | |
79 | 79 | ||
80 | 80 | let q = 5 | |
81 | 81 | ||
82 | 82 | let r = 6 | |
83 | 83 | ||
84 | 84 | func s () = "%s__restConfig" | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func t () = "%s__rest2Addr" | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func u (v) = split_4C(k(v, s()), a) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func w (x,y) = valueOrErrorMessage(addressFromString(x[y]), ("Rest cfg doesn't contain address at index " + toString(y))) | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | let z = addressFromStringValue(valueOrElse(getString(this, t()), i)) | |
97 | 97 | ||
98 | 98 | let x = u(z) | |
99 | 99 | ||
100 | 100 | let A = w(x, n) | |
101 | 101 | ||
102 | 102 | let B = w(x, o) | |
103 | 103 | ||
104 | 104 | let C = w(x, p) | |
105 | 105 | ||
106 | 106 | let D = w(x, q) | |
107 | 107 | ||
108 | 108 | let E = w(x, r) | |
109 | 109 | ||
110 | 110 | let F = "oldAcresContract" | |
111 | 111 | ||
112 | 112 | func G (H) = ("lastWeekTxIdByUser_" + H) | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func I (H) = ("curWeekTxIdByUser_" + H) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | let J = "wlg_assetId" | |
119 | 119 | ||
120 | 120 | let K = valueOrErrorMessage(getBinary(B, J), "WLGOLD is not issued yet") | |
121 | 121 | ||
122 | 122 | let L = "acresAssetId" | |
123 | 123 | ||
124 | 124 | let M = valueOrErrorMessage(getBinary(A, L), "ACRES is not issued yet") | |
125 | 125 | ||
126 | 126 | func N (O) = ("stakedDuckByOwner_" + O) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func P (O) = ("stakedNFTsByOwner_" + O) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func Q (H) = ("accountCustomNameByAddr_" + H) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func R (H) = ("accRefBy_" + H) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func S (H) = ("accReferrals_" + H) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func T (H) = ("userBet_" + H) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func U (H,V) = ((("userWeekTickets_" + H) + "_") + toString(V)) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func W (V) = ("totalWeekTickets_" + toString(V)) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func X (Y) = { | |
151 | 151 | let Z = (Y * e) | |
152 | 152 | let aa = if ((Z > g)) | |
153 | 153 | then Z | |
154 | 154 | else (Z + g) | |
155 | 155 | (toInt(value(value(blockInfoByHeight(aa)).vrf)) % 4) | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func ab (ac) = ("seller_" + ac) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func ad (ac) = ("price_" + ac) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ae (H) = ("assetIds_" + H) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func af (l) = ("promoTickets_" + l) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | let ag = "totalPromoTickets" | |
172 | 172 | ||
173 | 173 | let ah = "promoMap" | |
174 | 174 | ||
175 | 175 | func ai (aj) = ("promoRoundWinners_" + toString(aj)) | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | let ak = 0 | |
179 | 179 | ||
180 | 180 | let al = 1 | |
181 | 181 | ||
182 | 182 | let am = 2 | |
183 | 183 | ||
184 | 184 | let an = 3 | |
185 | 185 | ||
186 | 186 | let ao = 4 | |
187 | 187 | ||
188 | 188 | let ap = 5 | |
189 | 189 | ||
190 | 190 | let aq = 6 | |
191 | 191 | ||
192 | 192 | let ar = 7 | |
193 | 193 | ||
194 | 194 | let as = 8 | |
195 | 195 | ||
196 | 196 | let at = 9 | |
197 | 197 | ||
198 | 198 | let au = 10 | |
199 | 199 | ||
200 | 200 | let av = 11 | |
201 | 201 | ||
202 | 202 | let aw = 12 | |
203 | 203 | ||
204 | 204 | let ax = 13 | |
205 | 205 | ||
206 | 206 | let ay = 14 | |
207 | 207 | ||
208 | 208 | let az = 15 | |
209 | 209 | ||
210 | 210 | let aA = 16 | |
211 | 211 | ||
212 | 212 | let aB = 17 | |
213 | 213 | ||
214 | 214 | let aC = 18 | |
215 | 215 | ||
216 | 216 | let aD = 19 | |
217 | 217 | ||
218 | 218 | let aE = 20 | |
219 | 219 | ||
220 | 220 | let aF = 21 | |
221 | 221 | ||
222 | 222 | let aG = 22 | |
223 | 223 | ||
224 | 224 | let aH = 23 | |
225 | 225 | ||
226 | 226 | let aI = 24 | |
227 | 227 | ||
228 | 228 | let aJ = 25 | |
229 | 229 | ||
230 | 230 | let aK = 26 | |
231 | 231 | ||
232 | 232 | let aL = 27 | |
233 | 233 | ||
234 | 234 | let aM = 28 | |
235 | 235 | ||
236 | 236 | let aN = 29 | |
237 | 237 | ||
238 | 238 | let aO = 30 | |
239 | 239 | ||
240 | 240 | let aP = 31 | |
241 | 241 | ||
242 | 242 | let aQ = 32 | |
243 | 243 | ||
244 | 244 | let aR = 33 | |
245 | 245 | ||
246 | 246 | let aS = 34 | |
247 | 247 | ||
248 | 248 | let aT = 35 | |
249 | 249 | ||
250 | 250 | func aU (aV) = { | |
251 | 251 | let d = aV | |
252 | 252 | if ($isInstanceOf(d, "(Int, Int, Int, Int)")) | |
253 | 253 | then { | |
254 | 254 | let aW = d | |
255 | 255 | aW | |
256 | 256 | } | |
257 | 257 | else throw("fail to cast into (Int, Int, Int, Int)") | |
258 | 258 | } | |
259 | 259 | ||
260 | 260 | ||
261 | 261 | func aX (aV) = { | |
262 | 262 | let d = aV | |
263 | 263 | if ($isInstanceOf(d, "(Int, Int, Int)")) | |
264 | 264 | then { | |
265 | 265 | let aW = d | |
266 | 266 | aW | |
267 | 267 | } | |
268 | 268 | else throw("fail to cast into (Int, Int, Int)") | |
269 | 269 | } | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func aY (aV) = { | |
273 | 273 | let d = aV | |
274 | 274 | if ($isInstanceOf(d, "(Int, Int)")) | |
275 | 275 | then { | |
276 | 276 | let aW = d | |
277 | 277 | aW | |
278 | 278 | } | |
279 | 279 | else throw("fail to cast into (Int, Int)") | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | let aZ = 1000000 | |
284 | 284 | ||
285 | 285 | let ba = 100000000 | |
286 | 286 | ||
287 | 287 | let bb = 200000 | |
288 | 288 | ||
289 | 289 | let bc = 100000 | |
290 | 290 | ||
291 | 291 | let bd = 400000 | |
292 | 292 | ||
293 | 293 | let be = 31557600000 | |
294 | 294 | ||
295 | 295 | let bf = 86400000 | |
296 | 296 | ||
297 | 297 | let bg = 1000000000 | |
298 | 298 | ||
299 | 299 | let bh = 800000 | |
300 | 300 | ||
301 | 301 | let bi = 100000 | |
302 | 302 | ||
303 | 303 | let bj = 100000 | |
304 | 304 | ||
305 | 305 | let bk = 1731279600000 | |
306 | 306 | ||
307 | 307 | let bl = "teamAddr" | |
308 | 308 | ||
309 | 309 | let bm = "lastClaimedTime_team" | |
310 | 310 | ||
311 | 311 | let bn = "teamAmountLeft" | |
312 | 312 | ||
313 | 313 | let bo = "lastClaimedTime_activities" | |
314 | 314 | ||
315 | 315 | let bp = "activitiesAmountLeft" | |
316 | 316 | ||
317 | 317 | let bq = "stakersAmountLeft" | |
318 | 318 | ||
319 | 319 | func br (H) = ("lastClaimedTimeUser_" + H) | |
320 | 320 | ||
321 | 321 | ||
322 | 322 | func bs (bt,bu) = fraction(bt, (bd * (bu + 1)), (6 * aZ)) | |
323 | 323 | ||
324 | 324 | ||
325 | 325 | let bv = "wlg_issue10Time" | |
326 | 326 | ||
327 | 327 | let bw = "wlg_issueTime" | |
328 | 328 | ||
329 | 329 | let bx = "wlg_issuedAmount" | |
330 | 330 | ||
331 | 331 | let by = "zbill_issuedAmount" | |
332 | 332 | ||
333 | 333 | func bz (H) = ("acresStakedAmountByUser_" + H) | |
334 | 334 | ||
335 | 335 | ||
336 | 336 | let bA = "acresStakedAmountTotal" | |
337 | 337 | ||
338 | 338 | let bB = "totalFarmingPower" | |
339 | 339 | ||
340 | 340 | let bC = 0 | |
341 | 341 | ||
342 | 342 | let bD = 1 | |
343 | 343 | ||
344 | 344 | let bE = 2 | |
345 | 345 | ||
346 | 346 | let bF = 3 | |
347 | 347 | ||
348 | 348 | let bG = 4 | |
349 | 349 | ||
350 | 350 | let bH = "nftTotalIssued" | |
351 | 351 | ||
352 | 352 | let bI = "nftTotalBurned" | |
353 | 353 | ||
354 | 354 | let bJ = "WlNftTotalStaked" | |
355 | 355 | ||
356 | 356 | func bK (H) = ("userWlNftNumber_" + H) | |
357 | 357 | ||
358 | 358 | ||
359 | 359 | func bL (H) = ("userFullBonus_" + H) | |
360 | 360 | ||
361 | 361 | ||
362 | 362 | let bM = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000] | |
363 | 363 | ||
364 | 364 | func bN (bO) = { | |
365 | 365 | let bP = ((bO + 99999999) / ba) | |
366 | 366 | func bQ (bR,bS) = if ((bS >= bP)) | |
367 | 367 | then bR | |
368 | 368 | else (bR + 1) | |
369 | 369 | ||
370 | 370 | let bT = bM | |
371 | 371 | let bU = size(bT) | |
372 | 372 | let bV = 0 | |
373 | 373 | func bW (bX,bY) = if ((bY >= bU)) | |
374 | 374 | then bX | |
375 | 375 | else bQ(bX, bT[bY]) | |
376 | 376 | ||
377 | 377 | func bZ (bX,bY) = if ((bY >= bU)) | |
378 | 378 | then bX | |
379 | 379 | else throw("List size exceeds 10") | |
380 | 380 | ||
381 | 381 | bZ(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bV, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
382 | 382 | } | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | func ca (bO) = ((bO * 20) * (bN(bO) + 4)) | |
386 | 386 | ||
387 | 387 | ||
388 | 388 | func cb (bO,cc) = { | |
389 | 389 | let cd = ca(bO) | |
390 | 390 | $Tuple2(fraction(cd, (aZ + cc), aZ), cd) | |
391 | 391 | } | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | func ce (cf,A) = { | |
395 | 395 | let cg = valueOrElse(getInteger(A, bB), 0) | |
396 | 396 | let ch = valueOrElse(getInteger(A, bz(cf)), 0) | |
397 | 397 | let ci = valueOrElse(getInteger(A, bL(cf)), 0) | |
398 | 398 | let cj = cb(ch, ci) | |
399 | 399 | let ck = cj._1 | |
400 | 400 | let cl = cj._2 | |
401 | 401 | [cg, ck, cl, ci] | |
402 | 402 | } | |
403 | 403 | ||
404 | 404 | ||
405 | 405 | let cm = 0 | |
406 | 406 | ||
407 | 407 | let cn = 1 | |
408 | 408 | ||
409 | 409 | let co = 2 | |
410 | 410 | ||
411 | 411 | func cp (cq,cr,cs,ct) = { | |
412 | 412 | let bt = valueOrErrorMessage(getInteger(cr[bE], bx), "WLGOLD is not issued yet") | |
413 | 413 | let cu = assetBalance(cr[bC], cs) | |
414 | 414 | let cv = (assetBalance(cr[bE], cs) - ct) | |
415 | 415 | let cw = assetBalance(cr[bF], cs) | |
416 | 416 | let cx = assetBalance(cr[bD], cs) | |
417 | 417 | let cy = cr[bG] | |
418 | 418 | let cz = (assetBalance(cy, cs) + valueOrElse(getInteger(cy, by), 0)) | |
419 | 419 | let cA = ((cx + cv) + cz) | |
420 | 420 | let cB = valueOrErrorMessage(getBinary(cr[bE], "wlg_assetId"), "Not initialized yet") | |
421 | 421 | let cC = lastBlock.timestamp | |
422 | 422 | let cD = valueOrErrorMessage(getInteger(cr[bE], bw), "Not initialized") | |
423 | 423 | let cE = assetBalance(cr[bE], cB) | |
424 | 424 | let cF = fraction(bt, bb, aZ) | |
425 | 425 | let cG = valueOrElse(getInteger(cr[bE], bn), cF) | |
426 | 426 | let cH = valueOrElse(getInteger(cr[bE], bm), cD) | |
427 | 427 | let cI = addressFromStringValue(value(getString(cr[bE], bl))) | |
428 | 428 | let cJ = min([fraction(cF, (cC - cH), (3 * be)), cG]) | |
429 | 429 | let cK = assetBalance(cI, cB) | |
430 | 430 | let cL = fraction(bt, bc, aZ) | |
431 | 431 | let cM = valueOrElse(getInteger(cr[bE], bp), cL) | |
432 | 432 | let cN = valueOrElse(getInteger(cr[bE], bo), cD) | |
433 | 433 | let cO = min([fraction(cL, (cC - cN), (3 * be)), cM]) | |
434 | 434 | let cP = assetBalance(cr[bC], cB) | |
435 | 435 | let cQ = valueOrElse(getInteger(cr[bE], br(cq)), cD) | |
436 | 436 | let cR = ((cQ - cD) / be) | |
437 | 437 | let cS = min([cC, (cD + (3 * be))]) | |
438 | 438 | let cT = min([((cC - cD) / be), 2]) | |
439 | 439 | let cU = ce(cq, cr[bD]) | |
440 | 440 | let cV = bs(bt, cT) | |
441 | 441 | let cW = (cD + (be * cT)) | |
442 | 442 | let cX = (cD + (be * (cT - 1))) | |
443 | 443 | let cY = fraction(cV, (cS - cQ), be) | |
444 | 444 | let cZ = if ((cR == cT)) | |
445 | 445 | then cY | |
446 | 446 | else if ((cR == (cT - 1))) | |
447 | 447 | then { | |
448 | 448 | let da = fraction(bs(bt, (cT - 1)), (cW - cQ), be) | |
449 | 449 | (da + cY) | |
450 | 450 | } | |
451 | 451 | else { | |
452 | 452 | let db = fraction(bs(bt, (cT - 2)), (cX - cQ), be) | |
453 | 453 | let da = bs(bt, (cT - 1)) | |
454 | 454 | ((db + da) + cY) | |
455 | 455 | } | |
456 | 456 | let dc = valueOrElse(getInteger(cr[bE], bq), 0) | |
457 | 457 | let dd = if ((cU[cm] != 0)) | |
458 | 458 | then fraction(cZ, cU[cn], cU[cm]) | |
459 | 459 | else 0 | |
460 | 460 | let de = valueOrElse(getInteger(cr[bE], bv), bk) | |
461 | 461 | let df = fraction(bg, max([(cC - de), 0]), bf) | |
462 | 462 | let dg = fraction(df, bi, aZ) | |
463 | 463 | let dh = fraction(df, bj, aZ) | |
464 | 464 | let di = max([(cC - max([bk, cQ])), 0]) | |
465 | 465 | let dj = if ((cU[cm] != 0)) | |
466 | 466 | then fraction(fraction(fraction(bg, di, bf), cU[cn], cU[cm]), bh, aZ) | |
467 | 467 | else 0 | |
468 | 468 | let dk = max([bk, cC]) | |
469 | 469 | let dl = valueOrElse(getInteger(cr[bD], bA), 0) | |
470 | 470 | let dm = valueOrElse(getInteger(cr[bD], bH), 0) | |
471 | 471 | let dn = valueOrElse(getInteger(cr[bD], bI), 0) | |
472 | 472 | let do = valueOrElse(getInteger(cr[bD], bJ), 0) | |
473 | 473 | let dp = valueOrElse(getInteger(cr[bD], bK(valueOrElse(cq, ""))), 0) | |
474 | 474 | [bt, cE, fraction(cA, ba, bt), cA, cu, cx, cv, cw, cD, cH, cF, cG, cJ, cK, cL, cM, cO, cP, cT, dc, cV, cQ, cz, dd, cS, df, dg, dh, dj, dk, cU[cm], dl, dm, dn, do, dp] | |
475 | 475 | } | |
476 | 476 | ||
477 | 477 | ||
478 | 478 | func dq (dr) = { | |
479 | 479 | let H = addressFromString(dr) | |
480 | 480 | let ds = if (isDefined(H)) | |
481 | 481 | then wavesBalance(value(H)) | |
482 | 482 | else BalanceDetails(0, 0, 0, 0) | |
483 | 483 | let dt = if (isDefined(H)) | |
484 | 484 | then assetBalance(value(H), h) | |
485 | 485 | else 0 | |
486 | 486 | let du = if (isDefined(H)) | |
487 | 487 | then assetBalance(value(H), K) | |
488 | 488 | else 0 | |
489 | 489 | let dv = valueOrElse(getString(A, Q(dr)), dr) | |
490 | 490 | let dw = R(dr) | |
491 | 491 | let dx = getString(A, dw) | |
492 | 492 | let dy = valueOrElse(getString(A, S(dr)), "") | |
493 | 493 | let dz = valueOrElse(getString(A, G(dr)), "") | |
494 | 494 | let dA = valueOrElse(getString(A, I(dr)), "") | |
495 | 495 | let dB = if (isDefined(H)) | |
496 | 496 | then assetBalance(value(H), M) | |
497 | 497 | else 0 | |
498 | 498 | let dC = valueOrElse(getInteger(A, bz(dr)), 0) | |
499 | 499 | let dD = bN(dC) | |
500 | 500 | let dE = ce(dr, A) | |
501 | 501 | let dF = if ((dD >= size(bM))) | |
502 | 502 | then 0 | |
503 | 503 | else (((bM[dD] * ba) + 1) - dC) | |
504 | 504 | let dG = valueOrElse(getString(A, P(dr)), "") | |
505 | 505 | let dH = valueOrElse(getInteger(A, bL(dr)), 0) | |
506 | 506 | [("%s%s__customName__" + dv), ("%s%s__referredBy__" + valueOrElse(dx, "")), ("%s%s__referrals__" + dy), ("%s%s__lastWeekTxId__" + dz), ("%s%s__curWeekTxId__" + dz), ("%s%d__wavesBalance__" + toString(ds.available)), ("%s%d__usdtBalance__" + toString(dt)), ("%s%d__wlgoldBalance__" + toString(du)), ("%s%d__acresBalance__" + toString(dB)), ("%s%d__stakedAcres__" + toString(dC)), ("%s%d__currentLvl__" + toString(dD)), ("%s%d__acresToNextLvl__" + toString(dF)), ("%s%s__userNFTs__" + dG), ("%s%d__userBonus__" + toString(dH)), ("%s%d__userBaseFarmingPower__" + toString(dE[co])), ("%s%d__userFarmingPower__" + toString(dE[cn])), ("%s%d__totalFarmingPower__" + toString(dE[cm]))] | |
507 | 507 | } | |
508 | 508 | ||
509 | 509 | ||
510 | 510 | @Callable(dI) | |
511 | 511 | func constructorV1 (cr) = if ((dI.caller != this)) | |
512 | 512 | then throw("permissions denied") | |
513 | 513 | else { | |
514 | 514 | func dJ (bR,dK) = (bR + "%s") | |
515 | 515 | ||
516 | 516 | let dL = { | |
517 | 517 | let bT = cr | |
518 | 518 | let bU = size(bT) | |
519 | 519 | let bV = "" | |
520 | 520 | func bW (bX,bY) = if ((bY >= bU)) | |
521 | 521 | then bX | |
522 | 522 | else dJ(bX, bT[bY]) | |
523 | 523 | ||
524 | 524 | func bZ (bX,bY) = if ((bY >= bU)) | |
525 | 525 | then bX | |
526 | 526 | else throw("List size exceeds 10") | |
527 | 527 | ||
528 | 528 | bZ(bW(bW(bW(bW(bW(bW(bW(bW(bW(bW(bV, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
529 | 529 | } | |
530 | 530 | [StringEntry(s(), makeString(dL :: cr, a)), StringEntry(t(), toString(this))] | |
531 | 531 | } | |
532 | 532 | ||
533 | 533 | ||
534 | 534 | ||
535 | 535 | @Callable(dI) | |
536 | 536 | func walletInfoREADONLY (dr) = $Tuple2(nil, dq(dr)) | |
537 | 537 | ||
538 | 538 | ||
539 | 539 | ||
540 | 540 | @Callable(dI) | |
541 | 541 | func conversionInfoREADONLY (dr) = { | |
542 | 542 | let dM = addressFromStringValue(getStringValue(A, F)) | |
543 | 543 | let dN = aY(invoke(dM, "unstakeAllAcresREADONLY", [dr], nil)) | |
544 | 544 | let dO = dN._1 | |
545 | 545 | let dP = dN._2 | |
546 | 546 | let dQ = aU(invoke(A, "unstakeLandsREADONLY", [dr], nil)) | |
547 | 547 | let dR = dQ._1 | |
548 | 548 | let dS = dQ._2 | |
549 | 549 | let dT = dQ._3 | |
550 | 550 | let dU = dQ._4 | |
551 | 551 | let dV = addressFromStringValue(j) | |
552 | 552 | let dW = valueOrElse(getString(dV, N(dr)), "") | |
553 | 553 | let dX = if ((dW != "")) | |
554 | 554 | then aX(invoke(dV, "unstakeDuckREADONLY", [dW, dr], nil)) | |
555 | 555 | else $Tuple3(0, 0, 0) | |
556 | 556 | let dY = dX._1 | |
557 | 557 | let dZ = dX._2 | |
558 | 558 | let ea = dX._3 | |
559 | 559 | $Tuple2(nil, [("%s%d__unstakedAcres__" + toString(dO)), ("%s%d__claimedAcres__" + toString(dP)), ("%s%d__acresFromPieces__" + toString(dR)), ("%s%d__acresFromRes__" + toString(dS)), ("%s%d__acresFromMat__" + toString(dT)), ("%s%d__acresFromProd__" + toString(dU)), ("%s%d__acresFromDuckRes__" + toString(dY)), ("%s%d__acresFromDuckMat__" + toString(dZ)), ("%s%d__acresFromDuckProd__" + toString(ea))]) | |
560 | 560 | } | |
561 | 561 | ||
562 | 562 | ||
563 | 563 | ||
564 | 564 | @Callable(dI) | |
565 | 565 | func wlgStatsREADONLY (cq) = { | |
566 | 566 | let eb = cp(cq, [z, A, B, C, D], h, 0) | |
567 | 567 | $Tuple2(nil, [("%s%d__wlgAmount__" + toString(eb[ak])), ("%s%d__wlgWlg__" + toString(eb[al])), ("%s%d__wlgPrice__" + toString(eb[am])), ("%s%d__usdtFunds__" + toString(eb[an])), ("%s%d__usdtActivity__" + toString(eb[ao])), ("%s%d__usdtStaking__" + toString(eb[ap])), ("%s%d__usdtArbitrage__" + toString(eb[aq])), ("%s%d__usdtPool__" + toString(eb[ar])), ("%s%d__wlgIssueTime__" + toString(eb[as])), ("%s%d__wlgLastTeamActTime__" + toString(eb[at])), ("%s%d__wlgTeamTotal__" + toString(eb[au])), ("%s%d__wlgTeamAmLeft__" + toString(eb[av])), ("%s%d__wlgTeamAmAvailNow__" + toString(eb[aw])), ("%s%d__wlgTeamWlgold__" + toString(eb[ax])), ("%s%d__wlgActTotal__" + toString(eb[ay])), ("%s%d__wlgActAmLeft__" + toString(eb[az])), ("%s%d__wlgActAmAvailNow__" + toString(eb[aA])), ("%s%d__wlgActWlgold__" + toString(eb[aB])), ("%s%d__wlgCurPeriod__" + toString(eb[aC])), ("%s%d__wlgAmLeftTotal__" + toString(eb[aD])), ("%s%d__wlgCurPeriodDistribution__" + toString(eb[aE])), ("%s%d__wlgLastUserTime__" + toString(eb[aF])), ("%s%d__wlgInvestFundTotal__" + toString(eb[aG])), ("%s%d__wlgUserAmAvailNow__" + toString(eb[aH])), ("%s%d__wlgEffUserTime__" + toString(eb[aI])), ("%s%d__wlgIssue10AvailNow__" + toString(eb[aJ])), ("%s%d__wlgMarketingIssue10AvailNow__" + toString(eb[aK])), ("%s%d__wlgTeamIssue10AvailNow__" + toString(eb[aL])), ("%s%d__wlgUserIssue10AvailNow__" + toString(eb[aM])), ("%s%d__wlgLastIssue10Time__" + toString(eb[aN])), ("%s%d__wlgTotalFarmingPower__" + toString(eb[aO])), ("%s%d__wlgAcresStakedTotal__" + toString(eb[aP])), ("%s%d__nftTotalIssued__" + toString(eb[aQ])), ("%s%d__nftTotalBurned__" + toString(eb[aR])), ("%s%d__wlNftTotalStaked__" + toString(eb[aS])), ("%s%d__wlNftUserStaked__" + toString(eb[aT]))]) | |
568 | 568 | } | |
569 | 569 | ||
570 | 570 | ||
571 | 571 | ||
572 | 572 | @Callable(dI) | |
573 | 573 | func lotteryStatsREADONLY (cq) = { | |
574 | 574 | let ec = (height / e) | |
575 | 575 | let V = (height / f) | |
576 | 576 | let ed = (V - 1) | |
577 | 577 | let ee = valueOrElse(getInteger(B, U(cq, V)), 0) | |
578 | 578 | let ef = valueOrElse(getInteger(B, U(cq, ed)), 0) | |
579 | 579 | let eg = valueOrElse(getInteger(B, W(V)), 0) | |
580 | 580 | let eh = valueOrElse(getInteger(B, W(ed)), 0) | |
581 | 581 | let ei = valueOrElse(getString(B, T(cq)), "") | |
582 | 582 | $Tuple2(nil, [((("%s%d%d__totalTickets__" + toString(eh)) + a) + toString(eg)), ((("%s%d%d__userTickets__" + toString(ef)) + a) + toString(ee)), ("%s%d__blockchainWeek__" + toString(V)), ("%s%d__blockchainDay__" + toString(ec)), ("%s%d__blockchainMinute__" + toString((height % e))), ("%s%d__winningBetToday__" + toString(X(ec))), ("%s%s__usersBet__" + ei)]) | |
583 | 583 | } | |
584 | 584 | ||
585 | 585 | ||
586 | 586 | ||
587 | 587 | @Callable(dI) | |
588 | 588 | func userOrdersREADONLY (cq) = { | |
589 | 589 | let ej = ae(cq) | |
590 | 590 | let ek = valueOrElse(getString(E, ej), "") | |
591 | 591 | $Tuple2(nil, [("%s%s__userSaleNfts__" + ek)]) | |
592 | 592 | } | |
593 | 593 | ||
594 | 594 | ||
595 | 595 | ||
596 | 596 | @Callable(dI) | |
597 | 597 | func orderInfoREADONLY (el) = { | |
598 | 598 | let em = valueOrElse(getInteger(E, ad(el)), 0) | |
599 | 599 | let en = valueOrElse(getString(E, ab(el)), "") | |
600 | 600 | $Tuple2(nil, [("%s%d__marketNftPrice__" + toString(em)), ("%s%s__marketNftSeller__" + en)]) | |
601 | 601 | } | |
602 | 602 | ||
603 | 603 | ||
604 | 604 | ||
605 | 605 | @Callable(dI) | |
606 | 606 | func promoStatsREADONLY (cq) = { | |
607 | 607 | let ec = (height / e) | |
608 | 608 | let eo = valueOrElse(getInteger(A, af(cq)), 0) | |
609 | 609 | let ep = valueOrElse(getInteger(A, ag), 0) | |
610 | 610 | let eq = valueOrElse(getString(A, ah), "") | |
611 | - | let er = valueOrElse(getString(A, ai(ec)), "") | |
612 | - | func es (bR,aj) = { | |
613 | - | let et = c[aj] | |
614 | - | if ((et > height)) | |
615 | - | then bR | |
616 | - | else { | |
617 | - | let eu = valueOrElse(getString(A, ai(aj)), "") | |
618 | - | if ((eu == "")) | |
619 | - | then bR | |
620 | - | else { | |
621 | - | let y = indexOf(split(eu, "_"), cq) | |
622 | - | if (isDefined(y)) | |
623 | - | then $Tuple2((bR._1 :+ toString(value(y))), (bR._2 :+ eu)) | |
624 | - | else $Tuple2((bR._1 :+ ""), (bR._2 :+ eu)) | |
625 | - | } | |
626 | - | } | |
627 | - | } | |
611 | + | func er (bR,aj) = if ((c[aj] > height)) | |
612 | + | then bR | |
613 | + | else { | |
614 | + | let es = valueOrElse(getString(A, ai(aj)), "") | |
615 | + | if ((es == "")) | |
616 | + | then bR | |
617 | + | else { | |
618 | + | let y = indexOf(split(es, "_"), cq) | |
619 | + | if (isDefined(y)) | |
620 | + | then $Tuple2((bR._1 :+ toString(value(y))), (bR._2 :+ es)) | |
621 | + | else $Tuple2((bR._1 :+ ""), (bR._2 :+ es)) | |
622 | + | } | |
623 | + | } | |
628 | 624 | ||
629 | - | let | |
625 | + | let et = { | |
630 | 626 | let bT = [0, 1, 2] | |
631 | 627 | let bU = size(bT) | |
632 | 628 | let bV = $Tuple2(nil, nil) | |
633 | 629 | func bW (bX,bY) = if ((bY >= bU)) | |
634 | 630 | then bX | |
635 | - | else | |
631 | + | else er(bX, bT[bY]) | |
636 | 632 | ||
637 | 633 | func bZ (bX,bY) = if ((bY >= bU)) | |
638 | 634 | then bX | |
639 | 635 | else throw("List size exceeds 3") | |
640 | 636 | ||
641 | 637 | bZ(bW(bW(bW(bV, 0), 1), 2), 3) | |
642 | 638 | } | |
643 | - | let | |
644 | - | let | |
645 | - | $Tuple2(nil, [("%s%d__totalPromoTickets__" + toString(ep)), ("%s%d__userPromoTickets__" + toString(eo)), ("%s%d__blockchainDay__" + toString(ec)), ("%s%s__promoWinners__" + makeString_2C( | |
639 | + | let eu = et._1 | |
640 | + | let ev = et._2 | |
641 | + | $Tuple2(nil, [("%s%s__promoMap__" + eq), ("%s%d__totalPromoTickets__" + toString(ep)), ("%s%d__userPromoTickets__" + toString(eo)), ("%s%d__blockchainDay__" + toString(ec)), ("%s%s__promoWinners__" + makeString_2C(ev, ":")), ("%s%s__userPromoPrizes__" + makeString(eu, "_"))]) | |
646 | 642 | } | |
647 | 643 | ||
648 | 644 |
github/deemru/w8io/169f3d6 65.62 ms ◑