tx · 9jaF9N5DF3y3uosa7EGQZq4bjCL1uJX25fE82VQJrEoN 3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv: -0.01800000 Waves 2024.11.25 16:55 [3387030] smart account 3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv > SELF 0.00000000 Waves
{ "type": 13, "id": "9jaF9N5DF3y3uosa7EGQZq4bjCL1uJX25fE82VQJrEoN", "fee": 1800000, "feeAssetId": null, "timestamp": 1732542954477, "version": 2, "chainId": 84, "sender": "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv", "senderPublicKey": "2fNSk5gmWbXBDTkSYSKd66xSgVvAYzrJnP9YSAFNvTwC", "proofs": [ "44NTsCWU6QKNejG5BQ5qdojchk7wsZmcPnFxu1TjCVztRyVXj2ESi7RJNzLnaESMrczckmMdAhhJVmPTbgDLBt9D" ], "script": "base64:BgIbCAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEIcwADU0VQAgJfXwAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEACkRBWV9CTE9DS1MEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAAoAsDCQAAAgEBVAUHJG1hdGNoMAA8CQACAQINVW5rbm93biBjaGFpbgALV0VFS19CTE9DS1MEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAA4E4DCQAAAgEBVAUHJG1hdGNoMAC0AQkAAgECDVVua25vd24gY2hhaW4AClZSRl9PRkZTRVQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAAAAMJAAACAQFUBQckbWF0Y2gwAJD5RQkAAgECDVVua25vd24gY2hhaW4AC3VzZHRBc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwASCE2nqyCAM/TtG7yo7ui5O8yYLdC136B5ao1CP5qA//uQMJAAACAQFUBQckbWF0Y2gwASBVsdifcoeC7+XjW42sBatl3ppDoS8WuwXzGreHpfHFGAkAAgEC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vbnRyYWN0CQETa2V5VG90YWxXZWVrVGlja2V0cwEFBHdlZWsAAAQUbGFzdFdlZWtUb3RhbFRpY2tldHMJAQt2YWx1ZU9yRWxzZQIJAJoIAgULd2xnQ29udHJhY3QJARNrZXlUb3RhbFdlZWtUaWNrZXRzAQUIbGFzdFdlZWsAAAQIdXNlcnNCZXQJAQt2YWx1ZU9yRWxzZQIJAJ0IAgULd2xnQ29udHJhY3QJAQprZXlVc2VyQmV0AQULdXNlckFkZHJPcHQCAAkAlAoCBQNuaWwJAMwIAgkArAICCQCsAgIJAKwCAgIWJXMlZCVkX190b3RhbFRpY2tldHNfXwkApAMBBRRsYXN0V2Vla1RvdGFsVGlja2V0cwUDU0VQCQCkAwEFE2N1cldlZWtUb3RhbFRpY2tldHMJAMwIAgkArAICCQCsAgIJAKwCAgIVJXMlZCVkX191c2VyVGlja2V0c19fCQCkAwEFD2xhc3RXZWVrVGlja2V0cwUDU0VQCQCkAwEFDmN1cldlZWtUaWNrZXRzCQDMCAIJAKwCAgIWJXMlZF9fYmxvY2tjaGFpbldlZWtfXwkApAMBBQR3ZWVrCQDMCAIJAKwCAgIVJXMlZF9fYmxvY2tjaGFpbkRheV9fCQCkAwEFBXRvZGF5CQDMCAIJAKwCAgIYJXMlZF9fYmxvY2tjaGFpbk1pbnV0ZV9fCQCkAwEJAGoCBQZoZWlnaHQFCkRBWV9CTE9DS1MJAMwIAgkArAICAhclcyVkX193aW5uaW5nQmV0VG9kYXlfXwkApAMBCQEKd2lubmluZ0JldAEFBXRvZGF5CQDMCAIJAKwCAgIQJXMlc19fdXNlcnNCZXRfXwUIdXNlcnNCZXQFA25pbAAPdQDw", "height": 3387030, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GovWwQwuVtCwDcw3X3AXQkfYN9495bgKL75pnnifBvC4 Next: 5anAW5CCUTRhpHEJtc1kQjcDSvwbfpE4aEJCKyuC3oPo Diff:
Old | New | Differences | |
---|---|---|---|
131 | 131 | func S (R) = ("totalWeekTickets_" + toString(R)) | |
132 | 132 | ||
133 | 133 | ||
134 | - | func T (U) = (toInt(value(value(blockInfoByHeight(((U * c) + f))).vrf)) % 4) | |
134 | + | func T (U) = { | |
135 | + | let V = (U * c) | |
136 | + | let W = if ((V > f)) | |
137 | + | then V | |
138 | + | else (V + f) | |
139 | + | (toInt(value(value(blockInfoByHeight(((U * c) + f))).vrf)) % 4) | |
140 | + | } | |
135 | 141 | ||
136 | 142 | ||
137 | - | func | |
138 | - | let d = | |
143 | + | func X (Y) = { | |
144 | + | let d = Y | |
139 | 145 | if ($isInstanceOf(d, "(Int, Int, Int, Int)")) | |
140 | 146 | then { | |
141 | - | let | |
142 | - | | |
147 | + | let Z = d | |
148 | + | Z | |
143 | 149 | } | |
144 | 150 | else throw("fail to cast into (Int, Int, Int, Int)") | |
145 | 151 | } | |
146 | 152 | ||
147 | 153 | ||
148 | - | func | |
149 | - | let d = | |
154 | + | func aa (Y) = { | |
155 | + | let d = Y | |
150 | 156 | if ($isInstanceOf(d, "(Int, Int, Int)")) | |
151 | 157 | then { | |
152 | - | let | |
153 | - | | |
158 | + | let Z = d | |
159 | + | Z | |
154 | 160 | } | |
155 | 161 | else throw("fail to cast into (Int, Int, Int)") | |
156 | 162 | } | |
157 | 163 | ||
158 | 164 | ||
159 | - | func | |
160 | - | let d = | |
165 | + | func ab (Y) = { | |
166 | + | let d = Y | |
161 | 167 | if ($isInstanceOf(d, "(Int, Int)")) | |
162 | 168 | then { | |
163 | - | let | |
164 | - | | |
169 | + | let Z = d | |
170 | + | Z | |
165 | 171 | } | |
166 | 172 | else throw("fail to cast into (Int, Int)") | |
167 | 173 | } | |
168 | 174 | ||
169 | 175 | ||
170 | - | let | |
176 | + | let ac = 1000000 | |
171 | 177 | ||
172 | - | let | |
178 | + | let ad = 100000000 | |
173 | 179 | ||
174 | - | let | |
180 | + | let ae = 200000 | |
175 | 181 | ||
176 | - | let | |
182 | + | let af = 100000 | |
177 | 183 | ||
178 | - | let | |
184 | + | let ag = 400000 | |
179 | 185 | ||
180 | - | let | |
186 | + | let ah = 31557600000 | |
181 | 187 | ||
182 | - | let | |
188 | + | let ai = 86400000 | |
183 | 189 | ||
184 | - | let | |
190 | + | let aj = 1000000000 | |
185 | 191 | ||
186 | - | let | |
192 | + | let ak = 800000 | |
187 | 193 | ||
188 | - | let | |
194 | + | let al = 100000 | |
189 | 195 | ||
190 | - | let | |
196 | + | let am = 100000 | |
191 | 197 | ||
192 | - | let | |
198 | + | let an = 1731279600000 | |
193 | 199 | ||
194 | - | let | |
200 | + | let ao = "teamAddr" | |
195 | 201 | ||
196 | - | let | |
202 | + | let ap = "lastClaimedTime_team" | |
197 | 203 | ||
198 | - | let | |
204 | + | let aq = "teamAmountLeft" | |
199 | 205 | ||
200 | - | let | |
206 | + | let ar = "lastClaimedTime_activities" | |
201 | 207 | ||
202 | - | let | |
208 | + | let as = "activitiesAmountLeft" | |
203 | 209 | ||
204 | - | let | |
210 | + | let at = "stakersAmountLeft" | |
205 | 211 | ||
206 | - | func | |
212 | + | func au (E) = ("lastClaimedTimeUser_" + E) | |
207 | 213 | ||
208 | 214 | ||
209 | - | func | |
215 | + | func av (aw,ax) = fraction(aw, (ag * (ax + 1)), (6 * ac)) | |
210 | 216 | ||
211 | 217 | ||
212 | - | let | |
218 | + | let ay = "wlg_issue10Time" | |
213 | 219 | ||
214 | - | let | |
220 | + | let az = "wlg_issueTime" | |
215 | 221 | ||
216 | - | let | |
222 | + | let aA = "wlg_issuedAmount" | |
217 | 223 | ||
218 | - | let | |
224 | + | let aB = "zbill_issuedAmount" | |
219 | 225 | ||
220 | - | func | |
226 | + | func aC (E) = ("acresStakedAmountByUser_" + E) | |
221 | 227 | ||
222 | 228 | ||
223 | - | let | |
229 | + | let aD = "acresStakedAmountTotal" | |
224 | 230 | ||
225 | - | let | |
231 | + | let aE = "totalFarmingPower" | |
226 | 232 | ||
227 | - | let | |
233 | + | let aF = 0 | |
228 | 234 | ||
229 | - | let | |
235 | + | let aG = 1 | |
230 | 236 | ||
231 | - | let | |
237 | + | let aH = 2 | |
232 | 238 | ||
233 | - | let | |
239 | + | let aI = 3 | |
234 | 240 | ||
235 | - | let | |
241 | + | let aJ = 4 | |
236 | 242 | ||
237 | - | func | |
243 | + | func aK (E) = ("userFullBonus_" + E) | |
238 | 244 | ||
239 | 245 | ||
240 | - | let | |
246 | + | let aL = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000] | |
241 | 247 | ||
242 | - | func | |
243 | - | let | |
244 | - | func | |
245 | - | then | |
246 | - | else ( | |
248 | + | func aM (aN) = { | |
249 | + | let aO = ((aN + 99999999) / ad) | |
250 | + | func aP (aQ,aR) = if ((aR >= aO)) | |
251 | + | then aQ | |
252 | + | else (aQ + 1) | |
247 | 253 | ||
248 | - | let | |
249 | - | let | |
250 | - | let | |
251 | - | func | |
252 | - | then | |
253 | - | else | |
254 | + | let aS = aL | |
255 | + | let aT = size(aS) | |
256 | + | let aU = 0 | |
257 | + | func aV (aW,aX) = if ((aX >= aT)) | |
258 | + | then aW | |
259 | + | else aP(aW, aS[aX]) | |
254 | 260 | ||
255 | - | func | |
256 | - | then | |
261 | + | func aY (aW,aX) = if ((aX >= aT)) | |
262 | + | then aW | |
257 | 263 | else throw("List size exceeds 10") | |
258 | 264 | ||
259 | - | | |
265 | + | aY(aV(aV(aV(aV(aV(aV(aV(aV(aV(aV(aU, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
260 | 266 | } | |
261 | 267 | ||
262 | 268 | ||
263 | - | func | |
269 | + | func aZ (aN) = ((aN * 20) * (aM(aN) + 4)) | |
264 | 270 | ||
265 | 271 | ||
266 | - | func | |
267 | - | let | |
268 | - | $Tuple2(fraction( | |
272 | + | func ba (aN,bb) = { | |
273 | + | let bc = aZ(aN) | |
274 | + | $Tuple2(fraction(bc, (ac + bb), ac), bc) | |
269 | 275 | } | |
270 | 276 | ||
271 | 277 | ||
272 | - | func | |
273 | - | let | |
274 | - | let | |
275 | - | let | |
276 | - | let | |
277 | - | let | |
278 | - | let | |
279 | - | [ | |
278 | + | func bd (be,y) = { | |
279 | + | let bf = valueOrElse(getInteger(y, aE), 0) | |
280 | + | let bg = valueOrElse(getInteger(y, aC(be)), 0) | |
281 | + | let bh = valueOrElse(getInteger(y, aK(be)), 0) | |
282 | + | let bi = ba(bg, bh) | |
283 | + | let bj = bi._1 | |
284 | + | let bk = bi._2 | |
285 | + | [bf, bj, bk, bh] | |
280 | 286 | } | |
281 | 287 | ||
282 | - | ||
283 | - | let bj = 0 | |
284 | - | ||
285 | - | let bk = 1 | |
286 | 288 | ||
287 | 289 | let bl = 0 | |
288 | 290 | ||
289 | 291 | let bm = 1 | |
290 | 292 | ||
291 | - | let bn = | |
293 | + | let bn = 0 | |
292 | 294 | ||
293 | - | let bo = | |
295 | + | let bo = 1 | |
294 | 296 | ||
295 | - | let bp = | |
297 | + | let bp = 2 | |
296 | 298 | ||
297 | - | let bq = | |
299 | + | let bq = 3 | |
298 | 300 | ||
299 | - | let br = | |
301 | + | let br = 4 | |
300 | 302 | ||
301 | - | let bs = | |
303 | + | let bs = 5 | |
302 | 304 | ||
303 | - | let bt = | |
305 | + | let bt = 6 | |
304 | 306 | ||
305 | - | let bu = | |
307 | + | let bu = 7 | |
306 | 308 | ||
307 | - | let bv = | |
309 | + | let bv = 8 | |
308 | 310 | ||
309 | - | let bw = | |
311 | + | let bw = 9 | |
310 | 312 | ||
311 | - | let bx = | |
313 | + | let bx = 10 | |
312 | 314 | ||
313 | - | let by = | |
315 | + | let by = 11 | |
314 | 316 | ||
315 | - | let bz = | |
317 | + | let bz = 12 | |
316 | 318 | ||
317 | - | let bA = | |
319 | + | let bA = 13 | |
318 | 320 | ||
319 | - | let bB = | |
321 | + | let bB = 14 | |
320 | 322 | ||
321 | - | let bC = | |
323 | + | let bC = 15 | |
322 | 324 | ||
323 | - | let bD = | |
325 | + | let bD = 16 | |
324 | 326 | ||
325 | - | let bE = | |
327 | + | let bE = 17 | |
326 | 328 | ||
327 | - | let bF = | |
329 | + | let bF = 18 | |
328 | 330 | ||
329 | - | let bG = | |
331 | + | let bG = 19 | |
330 | 332 | ||
331 | - | let bH = | |
333 | + | let bH = 20 | |
332 | 334 | ||
333 | - | let bI = | |
335 | + | let bI = 21 | |
334 | 336 | ||
335 | - | let bJ = | |
337 | + | let bJ = 22 | |
336 | 338 | ||
337 | - | let bK = | |
339 | + | let bK = 23 | |
338 | 340 | ||
339 | - | let bL = | |
341 | + | let bL = 24 | |
340 | 342 | ||
341 | - | let bM = | |
343 | + | let bM = 25 | |
342 | 344 | ||
343 | - | let bN = | |
345 | + | let bN = 26 | |
344 | 346 | ||
345 | - | let bO = | |
347 | + | let bO = 27 | |
346 | 348 | ||
347 | - | let bP = | |
349 | + | let bP = 28 | |
348 | 350 | ||
349 | - | let bQ = | |
351 | + | let bQ = 29 | |
350 | 352 | ||
351 | - | func bR (bS,bT,bU,bV) = { | |
352 | - | let au = valueOrErrorMessage(getInteger(bT[aF], ay), "WLGOLD is not issued yet") | |
353 | - | let bW = assetBalance(bT[aD], bU) | |
354 | - | let bX = (assetBalance(bT[aF], bU) - bV) | |
355 | - | let bY = assetBalance(bT[aG], bU) | |
356 | - | let bZ = assetBalance(bT[aE], bU) | |
357 | - | let ca = bT[aH] | |
358 | - | let cb = (assetBalance(ca, bU) + valueOrElse(getInteger(ca, az), 0)) | |
359 | - | let cc = ((bZ + bX) + cb) | |
360 | - | let cd = valueOrErrorMessage(getBinary(bT[aF], "wlg_assetId"), "Not initialized yet") | |
361 | - | let ce = lastBlock.timestamp | |
362 | - | let cf = valueOrErrorMessage(getInteger(bT[aF], ax), "Not initialized") | |
363 | - | let cg = assetBalance(bT[aF], cd) | |
364 | - | let ch = fraction(au, ac, aa) | |
365 | - | let ci = valueOrElse(getInteger(bT[aF], ao), ch) | |
366 | - | let cj = valueOrElse(getInteger(bT[aF], an), cf) | |
367 | - | let ck = addressFromStringValue(value(getString(bT[aF], am))) | |
368 | - | let cl = min([fraction(ch, (ce - cj), (3 * af)), ci]) | |
369 | - | let cm = assetBalance(ck, cd) | |
370 | - | let cn = fraction(au, ad, aa) | |
371 | - | let co = valueOrElse(getInteger(bT[aF], aq), cn) | |
372 | - | let cp = valueOrElse(getInteger(bT[aF], ap), cf) | |
373 | - | let cq = min([fraction(cn, (ce - cp), (3 * af)), co]) | |
374 | - | let cr = assetBalance(bT[aD], cd) | |
375 | - | let cs = valueOrElse(getInteger(bT[aF], as(bS)), cf) | |
376 | - | let ct = ((cs - cf) / af) | |
377 | - | let cu = min([ce, (cf + (3 * af))]) | |
378 | - | let cv = min([((ce - cf) / af), 2]) | |
379 | - | let cw = bb(bS, bT[aE]) | |
380 | - | let cx = at(au, cv) | |
381 | - | let cy = (cf + (af * cv)) | |
382 | - | let cz = (cf + (af * (cv - 1))) | |
383 | - | let cA = fraction(cx, (cu - cs), af) | |
384 | - | let cB = if ((ct == cv)) | |
385 | - | then cA | |
386 | - | else if ((ct == (cv - 1))) | |
353 | + | let bR = 30 | |
354 | + | ||
355 | + | let bS = 31 | |
356 | + | ||
357 | + | func bT (bU,bV,bW,bX) = { | |
358 | + | let aw = valueOrErrorMessage(getInteger(bV[aH], aA), "WLGOLD is not issued yet") | |
359 | + | let bY = assetBalance(bV[aF], bW) | |
360 | + | let bZ = (assetBalance(bV[aH], bW) - bX) | |
361 | + | let ca = assetBalance(bV[aI], bW) | |
362 | + | let cb = assetBalance(bV[aG], bW) | |
363 | + | let cc = bV[aJ] | |
364 | + | let cd = (assetBalance(cc, bW) + valueOrElse(getInteger(cc, aB), 0)) | |
365 | + | let ce = ((cb + bZ) + cd) | |
366 | + | let cf = valueOrErrorMessage(getBinary(bV[aH], "wlg_assetId"), "Not initialized yet") | |
367 | + | let cg = lastBlock.timestamp | |
368 | + | let ch = valueOrErrorMessage(getInteger(bV[aH], az), "Not initialized") | |
369 | + | let ci = assetBalance(bV[aH], cf) | |
370 | + | let cj = fraction(aw, ae, ac) | |
371 | + | let ck = valueOrElse(getInteger(bV[aH], aq), cj) | |
372 | + | let cl = valueOrElse(getInteger(bV[aH], ap), ch) | |
373 | + | let cm = addressFromStringValue(value(getString(bV[aH], ao))) | |
374 | + | let cn = min([fraction(cj, (cg - cl), (3 * ah)), ck]) | |
375 | + | let co = assetBalance(cm, cf) | |
376 | + | let cp = fraction(aw, af, ac) | |
377 | + | let cq = valueOrElse(getInteger(bV[aH], as), cp) | |
378 | + | let cr = valueOrElse(getInteger(bV[aH], ar), ch) | |
379 | + | let cs = min([fraction(cp, (cg - cr), (3 * ah)), cq]) | |
380 | + | let ct = assetBalance(bV[aF], cf) | |
381 | + | let cu = valueOrElse(getInteger(bV[aH], au(bU)), ch) | |
382 | + | let cv = ((cu - ch) / ah) | |
383 | + | let cw = min([cg, (ch + (3 * ah))]) | |
384 | + | let cx = min([((cg - ch) / ah), 2]) | |
385 | + | let cy = bd(bU, bV[aG]) | |
386 | + | let cz = av(aw, cx) | |
387 | + | let cA = (ch + (ah * cx)) | |
388 | + | let cB = (ch + (ah * (cx - 1))) | |
389 | + | let cC = fraction(cz, (cw - cu), ah) | |
390 | + | let cD = if ((cv == cx)) | |
391 | + | then cC | |
392 | + | else if ((cv == (cx - 1))) | |
387 | 393 | then { | |
388 | - | let | |
389 | - | ( | |
394 | + | let cE = fraction(av(aw, (cx - 1)), (cA - cu), ah) | |
395 | + | (cE + cC) | |
390 | 396 | } | |
391 | 397 | else { | |
392 | - | let | |
393 | - | let | |
394 | - | (( | |
398 | + | let cF = fraction(av(aw, (cx - 2)), (cB - cu), ah) | |
399 | + | let cE = av(aw, (cx - 1)) | |
400 | + | ((cF + cE) + cC) | |
395 | 401 | } | |
396 | - | let | |
397 | - | let | |
398 | - | then fraction( | |
402 | + | let cG = valueOrElse(getInteger(bV[aH], at), 0) | |
403 | + | let cH = if ((cy[bl] != 0)) | |
404 | + | then fraction(cD, cy[bm], cy[bl]) | |
399 | 405 | else 0 | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | let | |
405 | - | let | |
406 | - | then fraction(fraction(fraction( | |
406 | + | let cI = valueOrElse(getInteger(bV[aH], ay), an) | |
407 | + | let cJ = fraction(aj, max([(cg - cI), 0]), ai) | |
408 | + | let cK = fraction(cJ, al, ac) | |
409 | + | let cL = fraction(cJ, am, ac) | |
410 | + | let cM = max([(cg - max([an, cu])), 0]) | |
411 | + | let cN = if ((cy[bl] != 0)) | |
412 | + | then fraction(fraction(fraction(aj, cM, ai), cy[bm], cy[bl]), ak, ac) | |
407 | 413 | else 0 | |
408 | - | let | |
409 | - | let | |
410 | - | [ | |
414 | + | let cO = max([an, cg]) | |
415 | + | let cP = valueOrElse(getInteger(bV[aG], aD), 0) | |
416 | + | [aw, ci, fraction(ce, ad, aw), ce, bY, cb, bZ, ca, ch, cl, cj, ck, cn, co, cp, cq, cs, ct, cx, cG, cz, cu, cd, cH, cw, cJ, cK, cL, cN, cO, cy[bl], cP] | |
411 | 417 | } | |
412 | 418 | ||
413 | 419 | ||
414 | - | func | |
415 | - | let E = addressFromString( | |
416 | - | let | |
420 | + | func cQ (cR) = { | |
421 | + | let E = addressFromString(cR) | |
422 | + | let cS = if (isDefined(E)) | |
417 | 423 | then wavesBalance(value(E)) | |
418 | 424 | else BalanceDetails(0, 0, 0, 0) | |
419 | - | let | |
425 | + | let cT = if (isDefined(E)) | |
420 | 426 | then assetBalance(value(E), g) | |
421 | 427 | else 0 | |
422 | - | let | |
428 | + | let cU = if (isDefined(E)) | |
423 | 429 | then assetBalance(value(E), H) | |
424 | 430 | else 0 | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | let | |
431 | + | let cV = valueOrElse(getString(y, M(cR)), cR) | |
432 | + | let cW = N(cR) | |
433 | + | let cX = getString(y, cW) | |
434 | + | let cY = valueOrElse(getString(y, O(cR)), "") | |
435 | + | let cZ = valueOrElse(getString(y, D(cR)), "") | |
436 | + | let da = valueOrElse(getString(y, F(cR)), "") | |
437 | + | let db = if (isDefined(E)) | |
432 | 438 | then assetBalance(value(E), J) | |
433 | 439 | else 0 | |
434 | - | let | |
435 | - | let | |
436 | - | let | |
437 | - | let | |
440 | + | let dc = valueOrElse(getInteger(y, aC(cR)), 0) | |
441 | + | let dd = aM(dc) | |
442 | + | let de = bd(cR, y) | |
443 | + | let df = if ((dd >= size(aL))) | |
438 | 444 | then 0 | |
439 | - | else ((( | |
440 | - | [("%s%s__customName__" + | |
445 | + | else (((aL[dd] * ad) + 1) - dc) | |
446 | + | [("%s%s__customName__" + cV), ("%s%s__referredBy__" + valueOrElse(cX, "")), ("%s%s__referrals__" + cY), ("%s%s__lastWeekTxId__" + cZ), ("%s%s__curWeekTxId__" + cZ), ("%s%d__wavesBalance__" + toString(cS.available)), ("%s%d__usdtBalance__" + toString(cT)), ("%s%d__wlgoldBalance__" + toString(cU)), ("%s%d__acresBalance__" + toString(db)), ("%s%d__stakedAcres__" + toString(dc)), ("%s%d__currentLvl__" + toString(dd)), ("%s%d__acresToNextLvl__" + toString(df)), ("%s%d__userFarmingPower__" + toString(de[bm])), ("%s%d__totalFarmingPower__" + toString(de[bl]))] | |
441 | 447 | } | |
442 | 448 | ||
443 | 449 | ||
444 | - | @Callable( | |
445 | - | func constructorV1 ( | |
450 | + | @Callable(dg) | |
451 | + | func constructorV1 (bV) = if ((dg.caller != this)) | |
446 | 452 | then throw("permissions denied") | |
447 | 453 | else { | |
448 | - | func | |
454 | + | func dh (aQ,di) = (aQ + "%s") | |
449 | 455 | ||
450 | - | let | |
451 | - | let | |
452 | - | let | |
453 | - | let | |
454 | - | func | |
455 | - | then | |
456 | - | else | |
456 | + | let dj = { | |
457 | + | let aS = bV | |
458 | + | let aT = size(aS) | |
459 | + | let aU = "" | |
460 | + | func aV (aW,aX) = if ((aX >= aT)) | |
461 | + | then aW | |
462 | + | else dh(aW, aS[aX]) | |
457 | 463 | ||
458 | - | func | |
459 | - | then | |
464 | + | func aY (aW,aX) = if ((aX >= aT)) | |
465 | + | then aW | |
460 | 466 | else throw("List size exceeds 10") | |
461 | 467 | ||
462 | - | | |
468 | + | aY(aV(aV(aV(aV(aV(aV(aV(aV(aV(aV(aU, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
463 | 469 | } | |
464 | - | [StringEntry(q(), makeString( | |
470 | + | [StringEntry(q(), makeString(dj :: bV, a)), StringEntry(r(), toString(this))] | |
465 | 471 | } | |
466 | 472 | ||
467 | 473 | ||
468 | 474 | ||
469 | - | @Callable( | |
470 | - | func walletInfoREADONLY ( | |
475 | + | @Callable(dg) | |
476 | + | func walletInfoREADONLY (cR) = $Tuple2(nil, cQ(cR)) | |
471 | 477 | ||
472 | 478 | ||
473 | 479 | ||
474 | - | @Callable( | |
475 | - | func conversionInfoREADONLY ( | |
476 | - | let | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | then | |
480 | + | @Callable(dg) | |
481 | + | func conversionInfoREADONLY (cR) = { | |
482 | + | let dk = addressFromStringValue(getStringValue(y, C)) | |
483 | + | let dl = ab(invoke(dk, "unstakeAllAcresREADONLY", [cR], nil)) | |
484 | + | let dm = dl._1 | |
485 | + | let dn = dl._2 | |
486 | + | let do = X(invoke(y, "unstakeLandsREADONLY", [cR], nil)) | |
487 | + | let dp = do._1 | |
488 | + | let dq = do._2 | |
489 | + | let dr = do._3 | |
490 | + | let ds = do._4 | |
491 | + | let dt = addressFromStringValue(i) | |
492 | + | let du = valueOrElse(getString(dt, K(cR)), "") | |
493 | + | let dv = if ((du != "")) | |
494 | + | then aa(invoke(dt, "unstakeDuckREADONLY", [du, cR], nil)) | |
489 | 495 | else $Tuple3(0, 0, 0) | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | $Tuple2(nil, [("%s%d__unstakedAcres__" + toString( | |
496 | + | let dw = dv._1 | |
497 | + | let dx = dv._2 | |
498 | + | let dy = dv._3 | |
499 | + | $Tuple2(nil, [("%s%d__unstakedAcres__" + toString(dm)), ("%s%d__claimedAcres__" + toString(dn)), ("%s%d__acresFromPieces__" + toString(dp)), ("%s%d__acresFromRes__" + toString(dq)), ("%s%d__acresFromMat__" + toString(dr)), ("%s%d__acresFromProd__" + toString(ds)), ("%s%d__acresFromDuckRes__" + toString(dw)), ("%s%d__acresFromDuckMat__" + toString(dx)), ("%s%d__acresFromDuckProd__" + toString(dy))]) | |
494 | 500 | } | |
495 | 501 | ||
496 | 502 | ||
497 | 503 | ||
498 | - | @Callable( | |
499 | - | func wlgStatsREADONLY ( | |
500 | - | let | |
501 | - | $Tuple2(nil, [("%s%d__wlgAmount__" + toString( | |
504 | + | @Callable(dg) | |
505 | + | func wlgStatsREADONLY (bU) = { | |
506 | + | let dz = bT(bU, [x, y, z, A, B], g, 0) | |
507 | + | $Tuple2(nil, [("%s%d__wlgAmount__" + toString(dz[bn])), ("%s%d__wlgWlg__" + toString(dz[bo])), ("%s%d__wlgPrice__" + toString(dz[bp])), ("%s%d__usdtFunds__" + toString(dz[bq])), ("%s%d__usdtActivity__" + toString(dz[br])), ("%s%d__usdtStaking__" + toString(dz[bs])), ("%s%d__usdtArbitrage__" + toString(dz[bt])), ("%s%d__usdtPool__" + toString(dz[bu])), ("%s%d__wlgIssueTime__" + toString(dz[bv])), ("%s%d__wlgLastTeamActTime__" + toString(dz[bw])), ("%s%d__wlgTeamTotal__" + toString(dz[bx])), ("%s%d__wlgTeamAmLeft__" + toString(dz[by])), ("%s%d__wlgTeamAmAvailNow__" + toString(dz[bz])), ("%s%d__wlgTeamWlgold__" + toString(dz[bA])), ("%s%d__wlgActTotal__" + toString(dz[bB])), ("%s%d__wlgActAmLeft__" + toString(dz[bC])), ("%s%d__wlgActAmAvailNow__" + toString(dz[bD])), ("%s%d__wlgActWlgold__" + toString(dz[bE])), ("%s%d__wlgCurPeriod__" + toString(dz[bF])), ("%s%d__wlgAmLeftTotal__" + toString(dz[bG])), ("%s%d__wlgCurPeriodDistribution__" + toString(dz[bH])), ("%s%d__wlgLastUserTime__" + toString(dz[bI])), ("%s%d__wlgInvestFundTotal__" + toString(dz[bJ])), ("%s%d__wlgUserAmAvailNow__" + toString(dz[bK])), ("%s%d__wlgEffUserTime__" + toString(dz[bL])), ("%s%d__wlgIssue10AvailNow__" + toString(dz[bM])), ("%s%d__wlgMarketingIssue10AvailNow__" + toString(dz[bN])), ("%s%d__wlgTeamIssue10AvailNow__" + toString(dz[bO])), ("%s%d__wlgUserIssue10AvailNow__" + toString(dz[bP])), ("%s%d__wlgLastIssue10Time__" + toString(dz[bQ])), ("%s%d__wlgTotalFarmingPower__" + toString(dz[bR])), ("%s%d__wlgAcresStakedTotal__" + toString(dz[bS]))]) | |
502 | 508 | } | |
503 | 509 | ||
504 | 510 | ||
505 | 511 | ||
506 | - | @Callable( | |
507 | - | func lotteryStatsREADONLY ( | |
508 | - | let | |
512 | + | @Callable(dg) | |
513 | + | func lotteryStatsREADONLY (bU) = { | |
514 | + | let dA = (height / c) | |
509 | 515 | let R = (height / e) | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | $Tuple2(nil, [((("%s%d%d__totalTickets__" + toString( | |
516 | + | let dB = (R - 1) | |
517 | + | let dC = valueOrElse(getInteger(z, Q(bU, R)), 0) | |
518 | + | let dD = valueOrElse(getInteger(z, Q(bU, dB)), 0) | |
519 | + | let dE = valueOrElse(getInteger(z, S(R)), 0) | |
520 | + | let dF = valueOrElse(getInteger(z, S(dB)), 0) | |
521 | + | let dG = valueOrElse(getString(z, P(bU)), "") | |
522 | + | $Tuple2(nil, [((("%s%d%d__totalTickets__" + toString(dF)) + a) + toString(dE)), ((("%s%d%d__userTickets__" + toString(dD)) + a) + toString(dC)), ("%s%d__blockchainWeek__" + toString(R)), ("%s%d__blockchainDay__" + toString(dA)), ("%s%d__blockchainMinute__" + toString((height % c))), ("%s%d__winningBetToday__" + toString(T(dA))), ("%s%s__usersBet__" + dG)]) | |
517 | 523 | } | |
518 | 524 | ||
519 | 525 |
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 1440 | |
12 | 12 | else if ((base58'2T' == d)) | |
13 | 13 | then 60 | |
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 10080 | |
21 | 21 | else if ((base58'2T' == d)) | |
22 | 22 | then 180 | |
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 0 | |
30 | 30 | else if ((base58'2T' == d)) | |
31 | 31 | then 1146000 | |
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 base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
39 | 39 | else if ((base58'2T' == d)) | |
40 | 40 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
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 "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8" | |
48 | 48 | else if ((base58'2T' == d)) | |
49 | 49 | then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv" | |
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 "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1" | |
57 | 57 | else if ((base58'2T' == d)) | |
58 | 58 | then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm" | |
59 | 59 | else throw("Unknown chain") | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | func j (k,l) = valueOrErrorMessage(getString(k, l), makeString(["mandatory ", toString(k), ".", l, " is not defined"], "")) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | let m = 1 | |
66 | 66 | ||
67 | 67 | let n = 2 | |
68 | 68 | ||
69 | 69 | let o = 4 | |
70 | 70 | ||
71 | 71 | let p = 5 | |
72 | 72 | ||
73 | 73 | func q () = "%s__restConfig" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func r () = "%s__rest2Addr" | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func s (t) = split_4C(j(t, q()), a) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func u (v,w) = valueOrErrorMessage(addressFromString(v[w]), ("Rest cfg doesn't contain address at index " + toString(w))) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | let x = addressFromStringValue(valueOrElse(getString(this, r()), h)) | |
86 | 86 | ||
87 | 87 | let v = s(x) | |
88 | 88 | ||
89 | 89 | let y = u(v, m) | |
90 | 90 | ||
91 | 91 | let z = u(v, n) | |
92 | 92 | ||
93 | 93 | let A = u(v, o) | |
94 | 94 | ||
95 | 95 | let B = u(v, p) | |
96 | 96 | ||
97 | 97 | let C = "oldAcresContract" | |
98 | 98 | ||
99 | 99 | func D (E) = ("lastWeekTxIdByUser_" + E) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func F (E) = ("curWeekTxIdByUser_" + E) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | let G = "wlg_assetId" | |
106 | 106 | ||
107 | 107 | let H = valueOrErrorMessage(getBinary(z, G), "WLGOLD is not issued yet") | |
108 | 108 | ||
109 | 109 | let I = "acresAssetId" | |
110 | 110 | ||
111 | 111 | let J = valueOrErrorMessage(getBinary(y, I), "ACRES is not issued yet") | |
112 | 112 | ||
113 | 113 | func K (L) = ("stakedDuckByOwner_" + L) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func M (E) = ("accountCustomNameByAddr_" + E) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func N (E) = ("accRefBy_" + E) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func O (E) = ("accReferrals_" + E) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func P (E) = ("userBet_" + E) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func Q (E,R) = ((("userWeekTickets_" + E) + "_") + toString(R)) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func S (R) = ("totalWeekTickets_" + toString(R)) | |
132 | 132 | ||
133 | 133 | ||
134 | - | func T (U) = (toInt(value(value(blockInfoByHeight(((U * c) + f))).vrf)) % 4) | |
134 | + | func T (U) = { | |
135 | + | let V = (U * c) | |
136 | + | let W = if ((V > f)) | |
137 | + | then V | |
138 | + | else (V + f) | |
139 | + | (toInt(value(value(blockInfoByHeight(((U * c) + f))).vrf)) % 4) | |
140 | + | } | |
135 | 141 | ||
136 | 142 | ||
137 | - | func | |
138 | - | let d = | |
143 | + | func X (Y) = { | |
144 | + | let d = Y | |
139 | 145 | if ($isInstanceOf(d, "(Int, Int, Int, Int)")) | |
140 | 146 | then { | |
141 | - | let | |
142 | - | | |
147 | + | let Z = d | |
148 | + | Z | |
143 | 149 | } | |
144 | 150 | else throw("fail to cast into (Int, Int, Int, Int)") | |
145 | 151 | } | |
146 | 152 | ||
147 | 153 | ||
148 | - | func | |
149 | - | let d = | |
154 | + | func aa (Y) = { | |
155 | + | let d = Y | |
150 | 156 | if ($isInstanceOf(d, "(Int, Int, Int)")) | |
151 | 157 | then { | |
152 | - | let | |
153 | - | | |
158 | + | let Z = d | |
159 | + | Z | |
154 | 160 | } | |
155 | 161 | else throw("fail to cast into (Int, Int, Int)") | |
156 | 162 | } | |
157 | 163 | ||
158 | 164 | ||
159 | - | func | |
160 | - | let d = | |
165 | + | func ab (Y) = { | |
166 | + | let d = Y | |
161 | 167 | if ($isInstanceOf(d, "(Int, Int)")) | |
162 | 168 | then { | |
163 | - | let | |
164 | - | | |
169 | + | let Z = d | |
170 | + | Z | |
165 | 171 | } | |
166 | 172 | else throw("fail to cast into (Int, Int)") | |
167 | 173 | } | |
168 | 174 | ||
169 | 175 | ||
170 | - | let | |
176 | + | let ac = 1000000 | |
171 | 177 | ||
172 | - | let | |
178 | + | let ad = 100000000 | |
173 | 179 | ||
174 | - | let | |
180 | + | let ae = 200000 | |
175 | 181 | ||
176 | - | let | |
182 | + | let af = 100000 | |
177 | 183 | ||
178 | - | let | |
184 | + | let ag = 400000 | |
179 | 185 | ||
180 | - | let | |
186 | + | let ah = 31557600000 | |
181 | 187 | ||
182 | - | let | |
188 | + | let ai = 86400000 | |
183 | 189 | ||
184 | - | let | |
190 | + | let aj = 1000000000 | |
185 | 191 | ||
186 | - | let | |
192 | + | let ak = 800000 | |
187 | 193 | ||
188 | - | let | |
194 | + | let al = 100000 | |
189 | 195 | ||
190 | - | let | |
196 | + | let am = 100000 | |
191 | 197 | ||
192 | - | let | |
198 | + | let an = 1731279600000 | |
193 | 199 | ||
194 | - | let | |
200 | + | let ao = "teamAddr" | |
195 | 201 | ||
196 | - | let | |
202 | + | let ap = "lastClaimedTime_team" | |
197 | 203 | ||
198 | - | let | |
204 | + | let aq = "teamAmountLeft" | |
199 | 205 | ||
200 | - | let | |
206 | + | let ar = "lastClaimedTime_activities" | |
201 | 207 | ||
202 | - | let | |
208 | + | let as = "activitiesAmountLeft" | |
203 | 209 | ||
204 | - | let | |
210 | + | let at = "stakersAmountLeft" | |
205 | 211 | ||
206 | - | func | |
212 | + | func au (E) = ("lastClaimedTimeUser_" + E) | |
207 | 213 | ||
208 | 214 | ||
209 | - | func | |
215 | + | func av (aw,ax) = fraction(aw, (ag * (ax + 1)), (6 * ac)) | |
210 | 216 | ||
211 | 217 | ||
212 | - | let | |
218 | + | let ay = "wlg_issue10Time" | |
213 | 219 | ||
214 | - | let | |
220 | + | let az = "wlg_issueTime" | |
215 | 221 | ||
216 | - | let | |
222 | + | let aA = "wlg_issuedAmount" | |
217 | 223 | ||
218 | - | let | |
224 | + | let aB = "zbill_issuedAmount" | |
219 | 225 | ||
220 | - | func | |
226 | + | func aC (E) = ("acresStakedAmountByUser_" + E) | |
221 | 227 | ||
222 | 228 | ||
223 | - | let | |
229 | + | let aD = "acresStakedAmountTotal" | |
224 | 230 | ||
225 | - | let | |
231 | + | let aE = "totalFarmingPower" | |
226 | 232 | ||
227 | - | let | |
233 | + | let aF = 0 | |
228 | 234 | ||
229 | - | let | |
235 | + | let aG = 1 | |
230 | 236 | ||
231 | - | let | |
237 | + | let aH = 2 | |
232 | 238 | ||
233 | - | let | |
239 | + | let aI = 3 | |
234 | 240 | ||
235 | - | let | |
241 | + | let aJ = 4 | |
236 | 242 | ||
237 | - | func | |
243 | + | func aK (E) = ("userFullBonus_" + E) | |
238 | 244 | ||
239 | 245 | ||
240 | - | let | |
246 | + | let aL = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000] | |
241 | 247 | ||
242 | - | func | |
243 | - | let | |
244 | - | func | |
245 | - | then | |
246 | - | else ( | |
248 | + | func aM (aN) = { | |
249 | + | let aO = ((aN + 99999999) / ad) | |
250 | + | func aP (aQ,aR) = if ((aR >= aO)) | |
251 | + | then aQ | |
252 | + | else (aQ + 1) | |
247 | 253 | ||
248 | - | let | |
249 | - | let | |
250 | - | let | |
251 | - | func | |
252 | - | then | |
253 | - | else | |
254 | + | let aS = aL | |
255 | + | let aT = size(aS) | |
256 | + | let aU = 0 | |
257 | + | func aV (aW,aX) = if ((aX >= aT)) | |
258 | + | then aW | |
259 | + | else aP(aW, aS[aX]) | |
254 | 260 | ||
255 | - | func | |
256 | - | then | |
261 | + | func aY (aW,aX) = if ((aX >= aT)) | |
262 | + | then aW | |
257 | 263 | else throw("List size exceeds 10") | |
258 | 264 | ||
259 | - | | |
265 | + | aY(aV(aV(aV(aV(aV(aV(aV(aV(aV(aV(aU, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
260 | 266 | } | |
261 | 267 | ||
262 | 268 | ||
263 | - | func | |
269 | + | func aZ (aN) = ((aN * 20) * (aM(aN) + 4)) | |
264 | 270 | ||
265 | 271 | ||
266 | - | func | |
267 | - | let | |
268 | - | $Tuple2(fraction( | |
272 | + | func ba (aN,bb) = { | |
273 | + | let bc = aZ(aN) | |
274 | + | $Tuple2(fraction(bc, (ac + bb), ac), bc) | |
269 | 275 | } | |
270 | 276 | ||
271 | 277 | ||
272 | - | func | |
273 | - | let | |
274 | - | let | |
275 | - | let | |
276 | - | let | |
277 | - | let | |
278 | - | let | |
279 | - | [ | |
278 | + | func bd (be,y) = { | |
279 | + | let bf = valueOrElse(getInteger(y, aE), 0) | |
280 | + | let bg = valueOrElse(getInteger(y, aC(be)), 0) | |
281 | + | let bh = valueOrElse(getInteger(y, aK(be)), 0) | |
282 | + | let bi = ba(bg, bh) | |
283 | + | let bj = bi._1 | |
284 | + | let bk = bi._2 | |
285 | + | [bf, bj, bk, bh] | |
280 | 286 | } | |
281 | 287 | ||
282 | - | ||
283 | - | let bj = 0 | |
284 | - | ||
285 | - | let bk = 1 | |
286 | 288 | ||
287 | 289 | let bl = 0 | |
288 | 290 | ||
289 | 291 | let bm = 1 | |
290 | 292 | ||
291 | - | let bn = | |
293 | + | let bn = 0 | |
292 | 294 | ||
293 | - | let bo = | |
295 | + | let bo = 1 | |
294 | 296 | ||
295 | - | let bp = | |
297 | + | let bp = 2 | |
296 | 298 | ||
297 | - | let bq = | |
299 | + | let bq = 3 | |
298 | 300 | ||
299 | - | let br = | |
301 | + | let br = 4 | |
300 | 302 | ||
301 | - | let bs = | |
303 | + | let bs = 5 | |
302 | 304 | ||
303 | - | let bt = | |
305 | + | let bt = 6 | |
304 | 306 | ||
305 | - | let bu = | |
307 | + | let bu = 7 | |
306 | 308 | ||
307 | - | let bv = | |
309 | + | let bv = 8 | |
308 | 310 | ||
309 | - | let bw = | |
311 | + | let bw = 9 | |
310 | 312 | ||
311 | - | let bx = | |
313 | + | let bx = 10 | |
312 | 314 | ||
313 | - | let by = | |
315 | + | let by = 11 | |
314 | 316 | ||
315 | - | let bz = | |
317 | + | let bz = 12 | |
316 | 318 | ||
317 | - | let bA = | |
319 | + | let bA = 13 | |
318 | 320 | ||
319 | - | let bB = | |
321 | + | let bB = 14 | |
320 | 322 | ||
321 | - | let bC = | |
323 | + | let bC = 15 | |
322 | 324 | ||
323 | - | let bD = | |
325 | + | let bD = 16 | |
324 | 326 | ||
325 | - | let bE = | |
327 | + | let bE = 17 | |
326 | 328 | ||
327 | - | let bF = | |
329 | + | let bF = 18 | |
328 | 330 | ||
329 | - | let bG = | |
331 | + | let bG = 19 | |
330 | 332 | ||
331 | - | let bH = | |
333 | + | let bH = 20 | |
332 | 334 | ||
333 | - | let bI = | |
335 | + | let bI = 21 | |
334 | 336 | ||
335 | - | let bJ = | |
337 | + | let bJ = 22 | |
336 | 338 | ||
337 | - | let bK = | |
339 | + | let bK = 23 | |
338 | 340 | ||
339 | - | let bL = | |
341 | + | let bL = 24 | |
340 | 342 | ||
341 | - | let bM = | |
343 | + | let bM = 25 | |
342 | 344 | ||
343 | - | let bN = | |
345 | + | let bN = 26 | |
344 | 346 | ||
345 | - | let bO = | |
347 | + | let bO = 27 | |
346 | 348 | ||
347 | - | let bP = | |
349 | + | let bP = 28 | |
348 | 350 | ||
349 | - | let bQ = | |
351 | + | let bQ = 29 | |
350 | 352 | ||
351 | - | func bR (bS,bT,bU,bV) = { | |
352 | - | let au = valueOrErrorMessage(getInteger(bT[aF], ay), "WLGOLD is not issued yet") | |
353 | - | let bW = assetBalance(bT[aD], bU) | |
354 | - | let bX = (assetBalance(bT[aF], bU) - bV) | |
355 | - | let bY = assetBalance(bT[aG], bU) | |
356 | - | let bZ = assetBalance(bT[aE], bU) | |
357 | - | let ca = bT[aH] | |
358 | - | let cb = (assetBalance(ca, bU) + valueOrElse(getInteger(ca, az), 0)) | |
359 | - | let cc = ((bZ + bX) + cb) | |
360 | - | let cd = valueOrErrorMessage(getBinary(bT[aF], "wlg_assetId"), "Not initialized yet") | |
361 | - | let ce = lastBlock.timestamp | |
362 | - | let cf = valueOrErrorMessage(getInteger(bT[aF], ax), "Not initialized") | |
363 | - | let cg = assetBalance(bT[aF], cd) | |
364 | - | let ch = fraction(au, ac, aa) | |
365 | - | let ci = valueOrElse(getInteger(bT[aF], ao), ch) | |
366 | - | let cj = valueOrElse(getInteger(bT[aF], an), cf) | |
367 | - | let ck = addressFromStringValue(value(getString(bT[aF], am))) | |
368 | - | let cl = min([fraction(ch, (ce - cj), (3 * af)), ci]) | |
369 | - | let cm = assetBalance(ck, cd) | |
370 | - | let cn = fraction(au, ad, aa) | |
371 | - | let co = valueOrElse(getInteger(bT[aF], aq), cn) | |
372 | - | let cp = valueOrElse(getInteger(bT[aF], ap), cf) | |
373 | - | let cq = min([fraction(cn, (ce - cp), (3 * af)), co]) | |
374 | - | let cr = assetBalance(bT[aD], cd) | |
375 | - | let cs = valueOrElse(getInteger(bT[aF], as(bS)), cf) | |
376 | - | let ct = ((cs - cf) / af) | |
377 | - | let cu = min([ce, (cf + (3 * af))]) | |
378 | - | let cv = min([((ce - cf) / af), 2]) | |
379 | - | let cw = bb(bS, bT[aE]) | |
380 | - | let cx = at(au, cv) | |
381 | - | let cy = (cf + (af * cv)) | |
382 | - | let cz = (cf + (af * (cv - 1))) | |
383 | - | let cA = fraction(cx, (cu - cs), af) | |
384 | - | let cB = if ((ct == cv)) | |
385 | - | then cA | |
386 | - | else if ((ct == (cv - 1))) | |
353 | + | let bR = 30 | |
354 | + | ||
355 | + | let bS = 31 | |
356 | + | ||
357 | + | func bT (bU,bV,bW,bX) = { | |
358 | + | let aw = valueOrErrorMessage(getInteger(bV[aH], aA), "WLGOLD is not issued yet") | |
359 | + | let bY = assetBalance(bV[aF], bW) | |
360 | + | let bZ = (assetBalance(bV[aH], bW) - bX) | |
361 | + | let ca = assetBalance(bV[aI], bW) | |
362 | + | let cb = assetBalance(bV[aG], bW) | |
363 | + | let cc = bV[aJ] | |
364 | + | let cd = (assetBalance(cc, bW) + valueOrElse(getInteger(cc, aB), 0)) | |
365 | + | let ce = ((cb + bZ) + cd) | |
366 | + | let cf = valueOrErrorMessage(getBinary(bV[aH], "wlg_assetId"), "Not initialized yet") | |
367 | + | let cg = lastBlock.timestamp | |
368 | + | let ch = valueOrErrorMessage(getInteger(bV[aH], az), "Not initialized") | |
369 | + | let ci = assetBalance(bV[aH], cf) | |
370 | + | let cj = fraction(aw, ae, ac) | |
371 | + | let ck = valueOrElse(getInteger(bV[aH], aq), cj) | |
372 | + | let cl = valueOrElse(getInteger(bV[aH], ap), ch) | |
373 | + | let cm = addressFromStringValue(value(getString(bV[aH], ao))) | |
374 | + | let cn = min([fraction(cj, (cg - cl), (3 * ah)), ck]) | |
375 | + | let co = assetBalance(cm, cf) | |
376 | + | let cp = fraction(aw, af, ac) | |
377 | + | let cq = valueOrElse(getInteger(bV[aH], as), cp) | |
378 | + | let cr = valueOrElse(getInteger(bV[aH], ar), ch) | |
379 | + | let cs = min([fraction(cp, (cg - cr), (3 * ah)), cq]) | |
380 | + | let ct = assetBalance(bV[aF], cf) | |
381 | + | let cu = valueOrElse(getInteger(bV[aH], au(bU)), ch) | |
382 | + | let cv = ((cu - ch) / ah) | |
383 | + | let cw = min([cg, (ch + (3 * ah))]) | |
384 | + | let cx = min([((cg - ch) / ah), 2]) | |
385 | + | let cy = bd(bU, bV[aG]) | |
386 | + | let cz = av(aw, cx) | |
387 | + | let cA = (ch + (ah * cx)) | |
388 | + | let cB = (ch + (ah * (cx - 1))) | |
389 | + | let cC = fraction(cz, (cw - cu), ah) | |
390 | + | let cD = if ((cv == cx)) | |
391 | + | then cC | |
392 | + | else if ((cv == (cx - 1))) | |
387 | 393 | then { | |
388 | - | let | |
389 | - | ( | |
394 | + | let cE = fraction(av(aw, (cx - 1)), (cA - cu), ah) | |
395 | + | (cE + cC) | |
390 | 396 | } | |
391 | 397 | else { | |
392 | - | let | |
393 | - | let | |
394 | - | (( | |
398 | + | let cF = fraction(av(aw, (cx - 2)), (cB - cu), ah) | |
399 | + | let cE = av(aw, (cx - 1)) | |
400 | + | ((cF + cE) + cC) | |
395 | 401 | } | |
396 | - | let | |
397 | - | let | |
398 | - | then fraction( | |
402 | + | let cG = valueOrElse(getInteger(bV[aH], at), 0) | |
403 | + | let cH = if ((cy[bl] != 0)) | |
404 | + | then fraction(cD, cy[bm], cy[bl]) | |
399 | 405 | else 0 | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | let | |
405 | - | let | |
406 | - | then fraction(fraction(fraction( | |
406 | + | let cI = valueOrElse(getInteger(bV[aH], ay), an) | |
407 | + | let cJ = fraction(aj, max([(cg - cI), 0]), ai) | |
408 | + | let cK = fraction(cJ, al, ac) | |
409 | + | let cL = fraction(cJ, am, ac) | |
410 | + | let cM = max([(cg - max([an, cu])), 0]) | |
411 | + | let cN = if ((cy[bl] != 0)) | |
412 | + | then fraction(fraction(fraction(aj, cM, ai), cy[bm], cy[bl]), ak, ac) | |
407 | 413 | else 0 | |
408 | - | let | |
409 | - | let | |
410 | - | [ | |
414 | + | let cO = max([an, cg]) | |
415 | + | let cP = valueOrElse(getInteger(bV[aG], aD), 0) | |
416 | + | [aw, ci, fraction(ce, ad, aw), ce, bY, cb, bZ, ca, ch, cl, cj, ck, cn, co, cp, cq, cs, ct, cx, cG, cz, cu, cd, cH, cw, cJ, cK, cL, cN, cO, cy[bl], cP] | |
411 | 417 | } | |
412 | 418 | ||
413 | 419 | ||
414 | - | func | |
415 | - | let E = addressFromString( | |
416 | - | let | |
420 | + | func cQ (cR) = { | |
421 | + | let E = addressFromString(cR) | |
422 | + | let cS = if (isDefined(E)) | |
417 | 423 | then wavesBalance(value(E)) | |
418 | 424 | else BalanceDetails(0, 0, 0, 0) | |
419 | - | let | |
425 | + | let cT = if (isDefined(E)) | |
420 | 426 | then assetBalance(value(E), g) | |
421 | 427 | else 0 | |
422 | - | let | |
428 | + | let cU = if (isDefined(E)) | |
423 | 429 | then assetBalance(value(E), H) | |
424 | 430 | else 0 | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
430 | - | let | |
431 | - | let | |
431 | + | let cV = valueOrElse(getString(y, M(cR)), cR) | |
432 | + | let cW = N(cR) | |
433 | + | let cX = getString(y, cW) | |
434 | + | let cY = valueOrElse(getString(y, O(cR)), "") | |
435 | + | let cZ = valueOrElse(getString(y, D(cR)), "") | |
436 | + | let da = valueOrElse(getString(y, F(cR)), "") | |
437 | + | let db = if (isDefined(E)) | |
432 | 438 | then assetBalance(value(E), J) | |
433 | 439 | else 0 | |
434 | - | let | |
435 | - | let | |
436 | - | let | |
437 | - | let | |
440 | + | let dc = valueOrElse(getInteger(y, aC(cR)), 0) | |
441 | + | let dd = aM(dc) | |
442 | + | let de = bd(cR, y) | |
443 | + | let df = if ((dd >= size(aL))) | |
438 | 444 | then 0 | |
439 | - | else ((( | |
440 | - | [("%s%s__customName__" + | |
445 | + | else (((aL[dd] * ad) + 1) - dc) | |
446 | + | [("%s%s__customName__" + cV), ("%s%s__referredBy__" + valueOrElse(cX, "")), ("%s%s__referrals__" + cY), ("%s%s__lastWeekTxId__" + cZ), ("%s%s__curWeekTxId__" + cZ), ("%s%d__wavesBalance__" + toString(cS.available)), ("%s%d__usdtBalance__" + toString(cT)), ("%s%d__wlgoldBalance__" + toString(cU)), ("%s%d__acresBalance__" + toString(db)), ("%s%d__stakedAcres__" + toString(dc)), ("%s%d__currentLvl__" + toString(dd)), ("%s%d__acresToNextLvl__" + toString(df)), ("%s%d__userFarmingPower__" + toString(de[bm])), ("%s%d__totalFarmingPower__" + toString(de[bl]))] | |
441 | 447 | } | |
442 | 448 | ||
443 | 449 | ||
444 | - | @Callable( | |
445 | - | func constructorV1 ( | |
450 | + | @Callable(dg) | |
451 | + | func constructorV1 (bV) = if ((dg.caller != this)) | |
446 | 452 | then throw("permissions denied") | |
447 | 453 | else { | |
448 | - | func | |
454 | + | func dh (aQ,di) = (aQ + "%s") | |
449 | 455 | ||
450 | - | let | |
451 | - | let | |
452 | - | let | |
453 | - | let | |
454 | - | func | |
455 | - | then | |
456 | - | else | |
456 | + | let dj = { | |
457 | + | let aS = bV | |
458 | + | let aT = size(aS) | |
459 | + | let aU = "" | |
460 | + | func aV (aW,aX) = if ((aX >= aT)) | |
461 | + | then aW | |
462 | + | else dh(aW, aS[aX]) | |
457 | 463 | ||
458 | - | func | |
459 | - | then | |
464 | + | func aY (aW,aX) = if ((aX >= aT)) | |
465 | + | then aW | |
460 | 466 | else throw("List size exceeds 10") | |
461 | 467 | ||
462 | - | | |
468 | + | aY(aV(aV(aV(aV(aV(aV(aV(aV(aV(aV(aU, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
463 | 469 | } | |
464 | - | [StringEntry(q(), makeString( | |
470 | + | [StringEntry(q(), makeString(dj :: bV, a)), StringEntry(r(), toString(this))] | |
465 | 471 | } | |
466 | 472 | ||
467 | 473 | ||
468 | 474 | ||
469 | - | @Callable( | |
470 | - | func walletInfoREADONLY ( | |
475 | + | @Callable(dg) | |
476 | + | func walletInfoREADONLY (cR) = $Tuple2(nil, cQ(cR)) | |
471 | 477 | ||
472 | 478 | ||
473 | 479 | ||
474 | - | @Callable( | |
475 | - | func conversionInfoREADONLY ( | |
476 | - | let | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | then | |
480 | + | @Callable(dg) | |
481 | + | func conversionInfoREADONLY (cR) = { | |
482 | + | let dk = addressFromStringValue(getStringValue(y, C)) | |
483 | + | let dl = ab(invoke(dk, "unstakeAllAcresREADONLY", [cR], nil)) | |
484 | + | let dm = dl._1 | |
485 | + | let dn = dl._2 | |
486 | + | let do = X(invoke(y, "unstakeLandsREADONLY", [cR], nil)) | |
487 | + | let dp = do._1 | |
488 | + | let dq = do._2 | |
489 | + | let dr = do._3 | |
490 | + | let ds = do._4 | |
491 | + | let dt = addressFromStringValue(i) | |
492 | + | let du = valueOrElse(getString(dt, K(cR)), "") | |
493 | + | let dv = if ((du != "")) | |
494 | + | then aa(invoke(dt, "unstakeDuckREADONLY", [du, cR], nil)) | |
489 | 495 | else $Tuple3(0, 0, 0) | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | $Tuple2(nil, [("%s%d__unstakedAcres__" + toString( | |
496 | + | let dw = dv._1 | |
497 | + | let dx = dv._2 | |
498 | + | let dy = dv._3 | |
499 | + | $Tuple2(nil, [("%s%d__unstakedAcres__" + toString(dm)), ("%s%d__claimedAcres__" + toString(dn)), ("%s%d__acresFromPieces__" + toString(dp)), ("%s%d__acresFromRes__" + toString(dq)), ("%s%d__acresFromMat__" + toString(dr)), ("%s%d__acresFromProd__" + toString(ds)), ("%s%d__acresFromDuckRes__" + toString(dw)), ("%s%d__acresFromDuckMat__" + toString(dx)), ("%s%d__acresFromDuckProd__" + toString(dy))]) | |
494 | 500 | } | |
495 | 501 | ||
496 | 502 | ||
497 | 503 | ||
498 | - | @Callable( | |
499 | - | func wlgStatsREADONLY ( | |
500 | - | let | |
501 | - | $Tuple2(nil, [("%s%d__wlgAmount__" + toString( | |
504 | + | @Callable(dg) | |
505 | + | func wlgStatsREADONLY (bU) = { | |
506 | + | let dz = bT(bU, [x, y, z, A, B], g, 0) | |
507 | + | $Tuple2(nil, [("%s%d__wlgAmount__" + toString(dz[bn])), ("%s%d__wlgWlg__" + toString(dz[bo])), ("%s%d__wlgPrice__" + toString(dz[bp])), ("%s%d__usdtFunds__" + toString(dz[bq])), ("%s%d__usdtActivity__" + toString(dz[br])), ("%s%d__usdtStaking__" + toString(dz[bs])), ("%s%d__usdtArbitrage__" + toString(dz[bt])), ("%s%d__usdtPool__" + toString(dz[bu])), ("%s%d__wlgIssueTime__" + toString(dz[bv])), ("%s%d__wlgLastTeamActTime__" + toString(dz[bw])), ("%s%d__wlgTeamTotal__" + toString(dz[bx])), ("%s%d__wlgTeamAmLeft__" + toString(dz[by])), ("%s%d__wlgTeamAmAvailNow__" + toString(dz[bz])), ("%s%d__wlgTeamWlgold__" + toString(dz[bA])), ("%s%d__wlgActTotal__" + toString(dz[bB])), ("%s%d__wlgActAmLeft__" + toString(dz[bC])), ("%s%d__wlgActAmAvailNow__" + toString(dz[bD])), ("%s%d__wlgActWlgold__" + toString(dz[bE])), ("%s%d__wlgCurPeriod__" + toString(dz[bF])), ("%s%d__wlgAmLeftTotal__" + toString(dz[bG])), ("%s%d__wlgCurPeriodDistribution__" + toString(dz[bH])), ("%s%d__wlgLastUserTime__" + toString(dz[bI])), ("%s%d__wlgInvestFundTotal__" + toString(dz[bJ])), ("%s%d__wlgUserAmAvailNow__" + toString(dz[bK])), ("%s%d__wlgEffUserTime__" + toString(dz[bL])), ("%s%d__wlgIssue10AvailNow__" + toString(dz[bM])), ("%s%d__wlgMarketingIssue10AvailNow__" + toString(dz[bN])), ("%s%d__wlgTeamIssue10AvailNow__" + toString(dz[bO])), ("%s%d__wlgUserIssue10AvailNow__" + toString(dz[bP])), ("%s%d__wlgLastIssue10Time__" + toString(dz[bQ])), ("%s%d__wlgTotalFarmingPower__" + toString(dz[bR])), ("%s%d__wlgAcresStakedTotal__" + toString(dz[bS]))]) | |
502 | 508 | } | |
503 | 509 | ||
504 | 510 | ||
505 | 511 | ||
506 | - | @Callable( | |
507 | - | func lotteryStatsREADONLY ( | |
508 | - | let | |
512 | + | @Callable(dg) | |
513 | + | func lotteryStatsREADONLY (bU) = { | |
514 | + | let dA = (height / c) | |
509 | 515 | let R = (height / e) | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | $Tuple2(nil, [((("%s%d%d__totalTickets__" + toString( | |
516 | + | let dB = (R - 1) | |
517 | + | let dC = valueOrElse(getInteger(z, Q(bU, R)), 0) | |
518 | + | let dD = valueOrElse(getInteger(z, Q(bU, dB)), 0) | |
519 | + | let dE = valueOrElse(getInteger(z, S(R)), 0) | |
520 | + | let dF = valueOrElse(getInteger(z, S(dB)), 0) | |
521 | + | let dG = valueOrElse(getString(z, P(bU)), "") | |
522 | + | $Tuple2(nil, [((("%s%d%d__totalTickets__" + toString(dF)) + a) + toString(dE)), ((("%s%d%d__userTickets__" + toString(dD)) + a) + toString(dC)), ("%s%d__blockchainWeek__" + toString(R)), ("%s%d__blockchainDay__" + toString(dA)), ("%s%d__blockchainMinute__" + toString((height % c))), ("%s%d__winningBetToday__" + toString(T(dA))), ("%s%s__usersBet__" + dG)]) | |
517 | 523 | } | |
518 | 524 | ||
519 | 525 |
github/deemru/w8io/169f3d6 312.33 ms ◑