tx · HufQu1DVfAEaEuuLoxtc6rQ1qUonBdJXMiXcidcbEtsP 3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy: -0.02200000 Waves 2024.11.11 01:54 [3365978] smart account 3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy > SELF 0.00000000 Waves
{ "type": 13, "id": "HufQu1DVfAEaEuuLoxtc6rQ1qUonBdJXMiXcidcbEtsP", "fee": 2200000, "feeAssetId": null, "timestamp": 1731279287474, "version": 2, "chainId": 84, "sender": "3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy", "senderPublicKey": "FsR18761ZAsUqsTd7TK3XmR6bhihs1UXVmpHYxz5JzQ1", "proofs": [ "AtSc8HJowVfiWUyY37f6xEHQX6JKrUN1hhqfyr5y2FFezZdfXuGwse4Xue5aVxiQtMWeg9M3TC4q7WpHNSq2KR1" ], "script": "base64:BgJCCAISBgoECAgICBIDCgEIEgMKAQESBAoCCAESAwoBARIECgIIARIAEgMKAQgSAwoBARIDCgEBEgASAwoBCBIDCgEIggEACkRBWV9NSUxMSVMAgLiZKQAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEAC3VzZHRBc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwASCE2nqyCAM/TtG7yo7ui5O8yYLdC136B5ao1CP5qA//uQMJAAACAQFUBQckbWF0Y2gwASBVsdifcoeC7+XjW42sBatl3ppDoS8WuwXzGreHpfHFGAkAAgECDVVua25vd24gY2hhaW4AFWRlZmF1bHRSZXN0QWRkcmVzc1N0cgQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAIjM1BRQ3V2RmJ2aDRMa1BVbnJuVTF6M2puYkExcDltM1dOaHYDCQAAAgEBVAUHJG1hdGNoMAIjM011bWtHR3p0Q0tBWHBXRHF4a2Rkb2ZxWFNVYnFRa3ZTSnkJAAIBAg1Vbmtub3duIGNoYWluABBhY3JlczJBZG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E=", "height": 3365978, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4zrpgvkKSbPSNSYzyD5RCXUQ2CkMbK67EmRnVbSt4QF Next: Dheq9Gk5fXDhVgC4STbA5oqVKC1Wxaurk1Vz4yK8Et7Y Diff:
Old | New | Differences | |
---|---|---|---|
201 | 201 | ||
202 | 202 | let aI = 100000 | |
203 | 203 | ||
204 | - | let aJ = | |
204 | + | let aJ = 1731279600000 | |
205 | 205 | ||
206 | 206 | let aK = "marketingAddr" | |
207 | 207 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 86400000 | |
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 base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
12 | 12 | else if ((base58'2T' == d)) | |
13 | 13 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
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 "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
21 | 21 | else if ((base58'2T' == d)) | |
22 | 22 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
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 "3P4UH3T9nXpMNpUmSmQjPmEz3G85t3zn6eA" | |
30 | 30 | else if ((base58'2T' == d)) | |
31 | 31 | then "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh" | |
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 a | |
39 | 39 | else if ((base58'2T' == d)) | |
40 | 40 | then 60000 | |
41 | 41 | else throw("Unknown chain") | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | let h = "__" | |
45 | 45 | ||
46 | 46 | let i = 1000000 | |
47 | 47 | ||
48 | 48 | let j = 100000000 | |
49 | 49 | ||
50 | 50 | let k = 100000 | |
51 | 51 | ||
52 | 52 | func l (m,n) = valueOrErrorMessage(getString(m, n), makeString(["mandatory ", toString(m), ".", n, " is not defined"], "")) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | let o = 1 | |
56 | 56 | ||
57 | 57 | let p = 4 | |
58 | 58 | ||
59 | 59 | let q = 5 | |
60 | 60 | ||
61 | 61 | let r = 6 | |
62 | 62 | ||
63 | 63 | let s = 8 | |
64 | 64 | ||
65 | 65 | func t () = "%s__restConfig" | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func u () = "%s__restAddr" | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func v () = "%s__rest2Addr" | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func w (x) = split_4C(l(x, t()), h) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func y (z,A) = valueOrErrorMessage(addressFromString(z[A]), ("Rest cfg doesn't contain address at index " + toString(A))) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | let B = addressFromStringValue(valueOrElse(getString(this, u()), e)) | |
81 | 81 | ||
82 | 82 | let z = w(B) | |
83 | 83 | ||
84 | 84 | let C = y(z, o) | |
85 | 85 | ||
86 | 86 | let D = y(z, p) | |
87 | 87 | ||
88 | 88 | let E = y(z, q) | |
89 | 89 | ||
90 | 90 | let F = y(z, r) | |
91 | 91 | ||
92 | 92 | let G = y(z, s) | |
93 | 93 | ||
94 | 94 | let H = "wlg_assetId" | |
95 | 95 | ||
96 | 96 | let I = valueOrErrorMessage(getBinary(D, H), "WLGOLD is not issued yet") | |
97 | 97 | ||
98 | 98 | func J (K) = { | |
99 | 99 | let d = K | |
100 | 100 | if ($isInstanceOf(d, "Int")) | |
101 | 101 | then { | |
102 | 102 | let L = d | |
103 | 103 | L | |
104 | 104 | } | |
105 | 105 | else throw("fail to cast into Int") | |
106 | 106 | } | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func M (N,O) = { | |
110 | 110 | let P = pow(10, 0, O, 0, 0, DOWN) | |
111 | 111 | let Q = toString((N % P)) | |
112 | 112 | let R = drop(toString(P), (1 + size(Q))) | |
113 | 113 | (((toString((N / P)) + ".") + R) + Q) | |
114 | 114 | } | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | let S = 100000000 | |
118 | 118 | ||
119 | 119 | let T = 3200 | |
120 | 120 | ||
121 | 121 | let U = 4000 | |
122 | 122 | ||
123 | 123 | let V = 3 | |
124 | 124 | ||
125 | 125 | let W = 100000000000 | |
126 | 126 | ||
127 | 127 | func X (Y) = ("userXP_" + Y) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func Z (Y) = ("userLevel_" + Y) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | let aa = 10000 | |
134 | 134 | ||
135 | 135 | func ab (ac) = fraction(T, pow(ac, 4, U, 4, 4, DOWN), S) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ad (ae,af) = { | |
139 | 139 | let ag = ab(af) | |
140 | 140 | [ag, (V * (ag - ae))] | |
141 | 141 | } | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | let ah = 100000000000000 | |
145 | 145 | ||
146 | 146 | let ai = 400000 | |
147 | 147 | ||
148 | 148 | let aj = 86400000 | |
149 | 149 | ||
150 | 150 | let ak = "teamAddr" | |
151 | 151 | ||
152 | 152 | let al = "lastClaimedTime_team" | |
153 | 153 | ||
154 | 154 | let am = "teamAmountLeft" | |
155 | 155 | ||
156 | 156 | let an = "lastClaimedTime_activities" | |
157 | 157 | ||
158 | 158 | let ao = "activitiesAmountLeft" | |
159 | 159 | ||
160 | 160 | let ap = "stakersAmountLeft" | |
161 | 161 | ||
162 | 162 | func aq (Y) = ("lastArbTimeUser_" + Y) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | let ar = "wlg_issueTime" | |
166 | 166 | ||
167 | 167 | let as = "wlg_issuedAmount" | |
168 | 168 | ||
169 | 169 | func at (Y) = ("acresStakedAmountByUser_" + Y) | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func au (Y) = ("wlgStakedAmountByUser_" + Y) | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | let av = "wlgStakedAmountTotal" | |
176 | 176 | ||
177 | 177 | func aw (Y) = ("wlgStakedTimeByUser_" + Y) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | let ax = 1000000 | |
181 | 181 | ||
182 | 182 | let ay = 100000000 | |
183 | 183 | ||
184 | 184 | let az = 200000 | |
185 | 185 | ||
186 | 186 | let aA = 100000 | |
187 | 187 | ||
188 | 188 | let aB = 400000 | |
189 | 189 | ||
190 | 190 | let aC = 31557600000 | |
191 | 191 | ||
192 | 192 | let aD = 86400000 | |
193 | 193 | ||
194 | 194 | let aE = 1440 | |
195 | 195 | ||
196 | 196 | let aF = 1000000000 | |
197 | 197 | ||
198 | 198 | let aG = 800000 | |
199 | 199 | ||
200 | 200 | let aH = 100000 | |
201 | 201 | ||
202 | 202 | let aI = 100000 | |
203 | 203 | ||
204 | - | let aJ = | |
204 | + | let aJ = 1731279600000 | |
205 | 205 | ||
206 | 206 | let aK = "marketingAddr" | |
207 | 207 | ||
208 | 208 | let aL = "teamAddr" | |
209 | 209 | ||
210 | 210 | let aM = "lastClaimedTime_team" | |
211 | 211 | ||
212 | 212 | let aN = "teamAmountLeft" | |
213 | 213 | ||
214 | 214 | let aO = "lastClaimedTime_activities" | |
215 | 215 | ||
216 | 216 | let aP = "activitiesAmountLeft" | |
217 | 217 | ||
218 | 218 | let aQ = "stakersAmountLeft" | |
219 | 219 | ||
220 | 220 | func aR (Y) = ("lastClaimedTimeUser_" + Y) | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | func aS (aT,aU) = fraction(aT, (aB * (aU + 1)), (6 * ax)) | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | let aV = "wlg_issue10Time" | |
227 | 227 | ||
228 | 228 | let aW = "wlg_issueTime" | |
229 | 229 | ||
230 | 230 | let aX = "wlg_issuedAmount" | |
231 | 231 | ||
232 | 232 | let aY = "zbill_issuedAmount" | |
233 | 233 | ||
234 | 234 | func aZ (Y) = ("acresStakedAmountByUser_" + Y) | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | let ba = "totalFarmingPower" | |
238 | 238 | ||
239 | 239 | let bb = 0 | |
240 | 240 | ||
241 | 241 | let bc = 1 | |
242 | 242 | ||
243 | 243 | let bd = 2 | |
244 | 244 | ||
245 | 245 | let be = 3 | |
246 | 246 | ||
247 | 247 | let bf = 4 | |
248 | 248 | ||
249 | 249 | let bg = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000] | |
250 | 250 | ||
251 | 251 | func bh (bi) = { | |
252 | 252 | let bj = ((bi + 99999999) / ay) | |
253 | 253 | func bk (bl,bm) = if ((bm >= bj)) | |
254 | 254 | then bl | |
255 | 255 | else (bl + 1) | |
256 | 256 | ||
257 | 257 | let bn = bg | |
258 | 258 | let bo = size(bn) | |
259 | 259 | let bp = 0 | |
260 | 260 | func bq (br,bs) = if ((bs >= bo)) | |
261 | 261 | then br | |
262 | 262 | else bk(br, bn[bs]) | |
263 | 263 | ||
264 | 264 | func bt (br,bs) = if ((bs >= bo)) | |
265 | 265 | then br | |
266 | 266 | else throw("List size exceeds 10") | |
267 | 267 | ||
268 | 268 | bt(bq(bq(bq(bq(bq(bq(bq(bq(bq(bq(bp, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
269 | 269 | } | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func bu (bi) = ((bi * 20) * (bh(bi) + 4)) | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func bv (bw,bx) = { | |
276 | 276 | let by = valueOrElse(getInteger(bx, ba), 0) | |
277 | 277 | let bz = valueOrElse(getInteger(bx, aZ(bw)), 0) | |
278 | 278 | let bA = bu(bz) | |
279 | 279 | [by, bA] | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | func bB (Y) = ("userBet_" + Y) | |
284 | 284 | ||
285 | 285 | ||
286 | 286 | func bC (Y) = ("userTickets_" + Y) | |
287 | 287 | ||
288 | 288 | ||
289 | 289 | let bD = "totalTickets" | |
290 | 290 | ||
291 | 291 | func bE (bF) = (toInt(value(value(blockInfoByHeight((bF * aE))).vrf)) % 4) | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | let bG = 0 | |
295 | 295 | ||
296 | 296 | let bH = 1 | |
297 | 297 | ||
298 | 298 | let bI = 0 | |
299 | 299 | ||
300 | 300 | let bJ = 1 | |
301 | 301 | ||
302 | 302 | let bK = 2 | |
303 | 303 | ||
304 | 304 | let bL = 8 | |
305 | 305 | ||
306 | 306 | let bM = 11 | |
307 | 307 | ||
308 | 308 | let bN = 12 | |
309 | 309 | ||
310 | 310 | let bO = 15 | |
311 | 311 | ||
312 | 312 | let bP = 16 | |
313 | 313 | ||
314 | 314 | let bQ = 19 | |
315 | 315 | ||
316 | 316 | let bR = 23 | |
317 | 317 | ||
318 | 318 | let bS = 24 | |
319 | 319 | ||
320 | 320 | let bT = 25 | |
321 | 321 | ||
322 | 322 | let bU = 26 | |
323 | 323 | ||
324 | 324 | let bV = 27 | |
325 | 325 | ||
326 | 326 | let bW = 28 | |
327 | 327 | ||
328 | 328 | let bX = 29 | |
329 | 329 | ||
330 | 330 | func bY (bZ,ca,cb,cc) = { | |
331 | 331 | let aT = valueOrErrorMessage(getInteger(ca[bd], aX), "WLGOLD is not issued yet") | |
332 | 332 | let cd = assetBalance(ca[bb], cb) | |
333 | 333 | let ce = (assetBalance(ca[bd], cb) - cc) | |
334 | 334 | let cf = assetBalance(ca[be], cb) | |
335 | 335 | let cg = assetBalance(ca[bc], cb) | |
336 | 336 | let ch = ca[bf] | |
337 | 337 | let ci = (assetBalance(ch, cb) + valueOrElse(getInteger(ch, aY), 0)) | |
338 | 338 | let cj = ((cg + ce) + ci) | |
339 | 339 | let ck = valueOrErrorMessage(getBinary(ca[bd], "wlg_assetId"), "Not initialized yet") | |
340 | 340 | let cl = lastBlock.timestamp | |
341 | 341 | let cm = valueOrErrorMessage(getInteger(ca[bd], aW), "Not initialized") | |
342 | 342 | let cn = assetBalance(ca[bd], ck) | |
343 | 343 | let co = fraction(aT, az, ax) | |
344 | 344 | let cp = valueOrElse(getInteger(ca[bd], aN), co) | |
345 | 345 | let cq = valueOrElse(getInteger(ca[bd], aM), cm) | |
346 | 346 | let cr = addressFromStringValue(value(getString(ca[bd], aL))) | |
347 | 347 | let cs = min([fraction(co, (cl - cq), (3 * aC)), cp]) | |
348 | 348 | let ct = assetBalance(cr, ck) | |
349 | 349 | let cu = fraction(aT, aA, ax) | |
350 | 350 | let cv = valueOrElse(getInteger(ca[bd], aP), cu) | |
351 | 351 | let cw = valueOrElse(getInteger(ca[bd], aO), cm) | |
352 | 352 | let cx = min([fraction(cu, (cl - cw), (3 * aC)), cv]) | |
353 | 353 | let cy = assetBalance(ca[bb], ck) | |
354 | 354 | let cz = valueOrElse(getInteger(ca[bd], aR(bZ)), cm) | |
355 | 355 | let cA = ((cz - cm) / aC) | |
356 | 356 | let cB = min([cl, (cm + (3 * aC))]) | |
357 | 357 | let cC = min([((cl - cm) / aC), 2]) | |
358 | 358 | let cD = bv(bZ, ca[bc]) | |
359 | 359 | let cE = aS(aT, cC) | |
360 | 360 | let cF = (cm + (aC * cC)) | |
361 | 361 | let cG = (cm + (aC * (cC - 1))) | |
362 | 362 | let cH = fraction(cE, (cB - cz), aC) | |
363 | 363 | let cI = if ((cA == cC)) | |
364 | 364 | then cH | |
365 | 365 | else if ((cA == (cC - 1))) | |
366 | 366 | then { | |
367 | 367 | let cJ = fraction(aS(aT, (cC - 1)), (cF - cz), aC) | |
368 | 368 | (cJ + cH) | |
369 | 369 | } | |
370 | 370 | else { | |
371 | 371 | let cK = fraction(aS(aT, (cC - 2)), (cG - cz), aC) | |
372 | 372 | let cJ = aS(aT, (cC - 1)) | |
373 | 373 | ((cK + cJ) + cH) | |
374 | 374 | } | |
375 | 375 | let cL = valueOrElse(getInteger(ca[bd], aQ), 0) | |
376 | 376 | let cM = if ((cD[bG] != 0)) | |
377 | 377 | then fraction(cI, cD[bH], cD[bG]) | |
378 | 378 | else 0 | |
379 | 379 | let cN = valueOrElse(getInteger(ca[bd], aV), aJ) | |
380 | 380 | let cO = fraction(aF, max([(cl - cN), 0]), aD) | |
381 | 381 | let cP = fraction(cO, aH, ax) | |
382 | 382 | let cQ = fraction(cO, aI, ax) | |
383 | 383 | let cR = max([(cl - max([aJ, cz])), 0]) | |
384 | 384 | let cS = if ((cD[bG] != 0)) | |
385 | 385 | then fraction(fraction(fraction(aF, cR, aD), cD[bH], cD[bG]), aG, ax) | |
386 | 386 | else 0 | |
387 | 387 | let cT = max([aJ, cl]) | |
388 | 388 | [aT, cn, fraction(cj, ay, aT), cj, cd, cg, ce, cf, cm, cq, co, cp, cs, ct, cu, cv, cx, cy, cC, cL, cE, cz, ci, cM, cB, cO, cP, cQ, cS, cT, cD[bG]] | |
389 | 389 | } | |
390 | 390 | ||
391 | 391 | ||
392 | 392 | let cU = take(drop(this.bytes, 1), 1) | |
393 | 393 | ||
394 | 394 | let cV = { | |
395 | 395 | let d = cU | |
396 | 396 | if ((base58'2W' == d)) | |
397 | 397 | then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8" | |
398 | 398 | else if ((base58'2T' == d)) | |
399 | 399 | then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv" | |
400 | 400 | else throw("Unknown chain") | |
401 | 401 | } | |
402 | 402 | ||
403 | 403 | let cW = "profitAddr" | |
404 | 404 | ||
405 | 405 | let cX = "stakersAmountPaidTotal" | |
406 | 406 | ||
407 | 407 | func cY (Y) = ("stakersAmountPaidUser_" + Y) | |
408 | 408 | ||
409 | 409 | ||
410 | 410 | let cZ = addressFromStringValue(valueOrElse(getString(this, v()), cV)) | |
411 | 411 | ||
412 | 412 | let bx = addressFromStringValue(f) | |
413 | 413 | ||
414 | 414 | func da () = J(reentrantInvoke(bx, "saveLastTx", nil, nil)) | |
415 | 415 | ||
416 | 416 | ||
417 | 417 | func db (Y) = { | |
418 | 418 | let dc = valueOrElse(getInteger(aq(Y)), 0) | |
419 | 419 | let cl = lastBlock.timestamp | |
420 | 420 | if ((g > (cl - dc))) | |
421 | 421 | then throw((("Arbitrages are possible once a " + toString((g / 60000))) + "min")) | |
422 | 422 | else valueOrElse(getInteger(bx, at(Y)), 0) | |
423 | 423 | } | |
424 | 424 | ||
425 | 425 | ||
426 | 426 | func dd (Y) = { | |
427 | 427 | let de = bY(Y, [cZ, bx, D, E, F], c, 0) | |
428 | 428 | let df = aR(Y) | |
429 | 429 | let cz = valueOrElse(getInteger(df), 0) | |
430 | 430 | let dg = de[bS] | |
431 | 431 | if ((cz == dg)) | |
432 | 432 | then $Tuple2(nil, 0) | |
433 | 433 | else { | |
434 | 434 | let cl = lastBlock.timestamp | |
435 | 435 | let cm = de[bL] | |
436 | 436 | let cp = de[bM] | |
437 | 437 | let dh = (de[bN] + de[bV]) | |
438 | 438 | let di = if ((dh > 0)) | |
439 | 439 | then [ScriptTransfer(addressFromStringValue(value(getString(ak))), dh, I)] | |
440 | 440 | else nil | |
441 | 441 | let cv = de[bO] | |
442 | 442 | let dj = de[bP] | |
443 | 443 | let dk = if ((dj > 0)) | |
444 | 444 | then [ScriptTransfer(B, dj, I)] | |
445 | 445 | else nil | |
446 | 446 | let dl = de[bU] | |
447 | 447 | let dm = if ((dl > 0)) | |
448 | 448 | then [ScriptTransfer(addressFromStringValue(value(getString(aK))), dl, I)] | |
449 | 449 | else nil | |
450 | 450 | let cM = de[bR] | |
451 | 451 | let dn = cY(Y) | |
452 | 452 | let do = (cM + de[bW]) | |
453 | 453 | let dp = de[bT] | |
454 | 454 | $Tuple2(((([Reissue(I, dp, true), IntegerEntry(as, (de[bI] + dp)), IntegerEntry(aV, de[bX]), IntegerEntry(dn, (valueOrElse(getInteger(dn), 0) + cM)), IntegerEntry(cX, (valueOrElse(getInteger(cX), 0) + cM)), IntegerEntry(ap, (de[bQ] - cM)), IntegerEntry(am, ((cp - dh) + de[bV])), IntegerEntry(al, cl), IntegerEntry(ao, (cv - dj)), IntegerEntry(an, cl), IntegerEntry(df, dg)] ++ di) ++ dk) ++ dm), do) | |
455 | 455 | } | |
456 | 456 | } | |
457 | 457 | ||
458 | 458 | ||
459 | 459 | func dq (Y,dr) = { | |
460 | 460 | let cl = lastBlock.timestamp | |
461 | 461 | let ds = aw(Y) | |
462 | 462 | let dt = au(Y) | |
463 | 463 | let dc = valueOrElse(getInteger(ds), 0) | |
464 | 464 | let du = valueOrElse(getInteger(dt), 0) | |
465 | 465 | let dv = valueOrElse(getInteger(av), 0) | |
466 | 466 | let ac = fraction(fraction(aa, du, W), (dc - cl), aj) | |
467 | 467 | $Tuple3([IntegerEntry(ds, cl), IntegerEntry(dt, (du + dr)), IntegerEntry(av, (dv + dr))], ac, du) | |
468 | 468 | } | |
469 | 469 | ||
470 | 470 | ||
471 | 471 | func dw (Y,dx) = { | |
472 | 472 | let dy = bD | |
473 | 473 | let dz = bC(Y) | |
474 | 474 | let dA = bB(Y) | |
475 | 475 | let dB = split(dx, "_") | |
476 | 476 | let dC = valueOrElse(getInteger(dy), 0) | |
477 | 477 | let dD = valueOrElse(getInteger(dz), 0) | |
478 | 478 | let dE = if ((bE(parseIntValue(dB[0])) == parseIntValue(dB[1]))) | |
479 | 479 | then 1 | |
480 | 480 | else 0 | |
481 | 481 | $Tuple2([IntegerEntry(dz, (dD + dE)), IntegerEntry(dy, (dC + dE)), DeleteEntry(dA)], dE) | |
482 | 482 | } | |
483 | 483 | ||
484 | 484 | ||
485 | 485 | @Callable(dF) | |
486 | 486 | func constructorV1 (dG,dH,cr,dI) = if ((dF.caller != this)) | |
487 | 487 | then throw("Permission denied") | |
488 | 488 | else if (isDefined(getBinary(H))) | |
489 | 489 | then throw("Already initialized") | |
490 | 490 | else { | |
491 | 491 | let aT = ah | |
492 | 492 | let dJ = Issue("WLGOLD", "WavesLands Gold investment token", aT, 8, true, unit, 0) | |
493 | 493 | let dK = calculateAssetId(dJ) | |
494 | 494 | [dJ, IntegerEntry(ar, lastBlock.timestamp), IntegerEntry(as, aT), IntegerEntry(cX, 0), IntegerEntry(ap, fraction(ah, ai, i)), BinaryEntry(H, dK), StringEntry(u(), dG), StringEntry(aK, dH), StringEntry(ak, cr), StringEntry(cW, dI)] | |
495 | 495 | } | |
496 | 496 | ||
497 | 497 | ||
498 | 498 | ||
499 | 499 | @Callable(dF) | |
500 | 500 | func constructorV2 (dL) = if ((dF.caller != this)) | |
501 | 501 | then throw("Permission denied") | |
502 | 502 | else [StringEntry(v(), dL)] | |
503 | 503 | ||
504 | 504 | ||
505 | 505 | ||
506 | 506 | @Callable(dF) | |
507 | 507 | func buyWlg (dM) = { | |
508 | 508 | let dN = da() | |
509 | 509 | if ((dN == dN)) | |
510 | 510 | then if ((size(dF.payments) != 1)) | |
511 | 511 | then throw("exactly 1 payment must be attached") | |
512 | 512 | else { | |
513 | 513 | let dO = dF.payments[0] | |
514 | 514 | let dP = dO.amount | |
515 | 515 | if (if (!(isDefined(dO.assetId))) | |
516 | 516 | then true | |
517 | 517 | else (value(dO.assetId) != c)) | |
518 | 518 | then throw("USDT payments only!") | |
519 | 519 | else { | |
520 | 520 | let dQ = dF.caller | |
521 | 521 | let Y = toString(dQ) | |
522 | 522 | if ((k > dP)) | |
523 | 523 | then throw((("You can trade min " + M(k, 6)) + " USDT")) | |
524 | 524 | else { | |
525 | 525 | let de = bY("", [cZ, bx, D, E, F], c, dP) | |
526 | 526 | let dR = de[bI] | |
527 | 527 | let dS = de[bK] | |
528 | 528 | let dT = fraction(dS, 6, 5) | |
529 | 529 | let dU = fraction(dP, j, dT) | |
530 | 530 | let dV = db(Y) | |
531 | 531 | if ((dU > dV)) | |
532 | 532 | then throw((("You can get max " + M(dV, 8)) + " WLGOLD")) | |
533 | 533 | else if ((dM > dU)) | |
534 | 534 | then throw("Price changed during operation, please try again") | |
535 | 535 | else { | |
536 | 536 | let dW = (dP / 6) | |
537 | 537 | $Tuple2([Reissue(I, dU, true), IntegerEntry(as, (dR + dU)), IntegerEntry(aq(Y), lastBlock.timestamp), ScriptTransfer(addressFromStringValue(value(getString(cW))), dW, c), ScriptTransfer(dQ, dU, I)], dN) | |
538 | 538 | } | |
539 | 539 | } | |
540 | 540 | } | |
541 | 541 | } | |
542 | 542 | else throw("Strict value is not equal to itself.") | |
543 | 543 | } | |
544 | 544 | ||
545 | 545 | ||
546 | 546 | ||
547 | 547 | @Callable(dF) | |
548 | 548 | func buyWlgREADONLY (m,dP) = { | |
549 | 549 | let de = bY("", [cZ, bx, D, E, F], c, dP) | |
550 | 550 | let dR = de[bI] | |
551 | 551 | let dS = de[bK] | |
552 | 552 | let dT = fraction(dS, 6, 5) | |
553 | 553 | let dU = fraction(dP, j, dT) | |
554 | 554 | let dV = db(m) | |
555 | 555 | let dW = (dP / 6) | |
556 | 556 | $Tuple2(nil, [dU, k, dV, dW]) | |
557 | 557 | } | |
558 | 558 | ||
559 | 559 | ||
560 | 560 | ||
561 | 561 | @Callable(dF) | |
562 | 562 | func sellWlg (dM) = { | |
563 | 563 | let dN = da() | |
564 | 564 | if ((dN == dN)) | |
565 | 565 | then if ((size(dF.payments) != 1)) | |
566 | 566 | then throw("exactly 1 payment must be attached") | |
567 | 567 | else { | |
568 | 568 | let dO = dF.payments[0] | |
569 | 569 | let dX = dO.amount | |
570 | 570 | let dQ = dF.caller | |
571 | 571 | let Y = toString(dQ) | |
572 | 572 | let dV = db(Y) | |
573 | 573 | if ((dX > dV)) | |
574 | 574 | then throw((("You can spend max " + M(dV, 8)) + " WLGOLD")) | |
575 | 575 | else if (if (!(isDefined(dO.assetId))) | |
576 | 576 | then true | |
577 | 577 | else (value(dO.assetId) != I)) | |
578 | 578 | then throw("WLGOLD payments only!") | |
579 | 579 | else { | |
580 | 580 | let de = bY("", [cZ, bx, D, E, F], c, 0) | |
581 | 581 | let dR = de[bI] | |
582 | 582 | let dY = (de[bK] / 2) | |
583 | 583 | let dP = fraction(dX, dY, j) | |
584 | 584 | if ((k > dP)) | |
585 | 585 | then throw((("You can trade min " + M(k, 6)) + " USDT")) | |
586 | 586 | else if ((dM > dP)) | |
587 | 587 | then throw("Price changed during operation, please try again") | |
588 | 588 | else { | |
589 | 589 | let dW = (dP / 5) | |
590 | 590 | $Tuple2([Burn(I, dX), IntegerEntry(as, (dR - dX)), IntegerEntry(aq(Y), lastBlock.timestamp), ScriptTransfer(addressFromStringValue(value(getString(cW))), dW, c), ScriptTransfer(dQ, dP, c)], dN) | |
591 | 591 | } | |
592 | 592 | } | |
593 | 593 | } | |
594 | 594 | else throw("Strict value is not equal to itself.") | |
595 | 595 | } | |
596 | 596 | ||
597 | 597 | ||
598 | 598 | ||
599 | 599 | @Callable(dF) | |
600 | 600 | func sellWlgREADONLY (m,dX) = { | |
601 | 601 | let dV = db(m) | |
602 | 602 | let de = bY("", [cZ, bx, D, E, F], c, 0) | |
603 | 603 | let dR = de[bI] | |
604 | 604 | let dY = (de[bK] / 2) | |
605 | 605 | let dP = fraction(dX, dY, j) | |
606 | 606 | let dZ = fraction(k, j, dY) | |
607 | 607 | let dW = (dP / 5) | |
608 | 608 | $Tuple2(nil, [dP, dZ, dV, dW]) | |
609 | 609 | } | |
610 | 610 | ||
611 | 611 | ||
612 | 612 | ||
613 | 613 | @Callable(dF) | |
614 | 614 | func claim () = { | |
615 | 615 | let dN = da() | |
616 | 616 | if ((dN == dN)) | |
617 | 617 | then if ((size(dF.payments) != 0)) | |
618 | 618 | then throw("No payments required") | |
619 | 619 | else { | |
620 | 620 | let ea = dd(toString(dF.caller)) | |
621 | 621 | let eb = ea._1 | |
622 | 622 | let ec = ea._2 | |
623 | 623 | $Tuple2((eb :+ ScriptTransfer(dF.caller, ec, I)), dN) | |
624 | 624 | } | |
625 | 625 | else throw("Strict value is not equal to itself.") | |
626 | 626 | } | |
627 | 627 | ||
628 | 628 | ||
629 | 629 | ||
630 | 630 | @Callable(dF) | |
631 | 631 | func onStakeUnstakeLand (Y) = if (if (if ((dF.caller != C)) | |
632 | 632 | then (dF.caller != G) | |
633 | 633 | else false) | |
634 | 634 | then (dF.caller != bx) | |
635 | 635 | else false) | |
636 | 636 | then throw("Permission denied") | |
637 | 637 | else { | |
638 | 638 | let ed = dd(Y) | |
639 | 639 | let eb = ed._1 | |
640 | 640 | let ec = ed._2 | |
641 | 641 | $Tuple2(if ((ec > 0)) | |
642 | 642 | then (eb :+ ScriptTransfer(addressFromStringValue(Y), ec, I)) | |
643 | 643 | else eb, ec) | |
644 | 644 | } | |
645 | 645 | ||
646 | 646 | ||
647 | 647 | ||
648 | 648 | @Callable(dF) | |
649 | 649 | func burnWlgold (dX) = if ((dF.caller != bx)) | |
650 | 650 | then throw("Permission denied") | |
651 | 651 | else { | |
652 | 652 | let de = bY("", [cZ, bx, D, E, F], c, 0) | |
653 | 653 | if ((dX > de[bJ])) | |
654 | 654 | then throw(((("Only " + M(de[bJ], 8)) + " WLGOLD left on contract, can't burn ") + M(dX, 8))) | |
655 | 655 | else { | |
656 | 656 | let ee = (de[bI] - dX) | |
657 | 657 | $Tuple2([Burn(I, dX), IntegerEntry(as, ee)], ee) | |
658 | 658 | } | |
659 | 659 | } | |
660 | 660 | ||
661 | 661 | ||
662 | 662 | ||
663 | 663 | @Callable(dF) | |
664 | 664 | func betForTicket (ef) = { | |
665 | 665 | let dN = da() | |
666 | 666 | if ((dN == dN)) | |
667 | 667 | then if ((size(dF.payments) != 0)) | |
668 | 668 | then throw("No payments required") | |
669 | 669 | else if (((ef / 4) != 0)) | |
670 | 670 | then throw("Invalid bet: should be 0..3") | |
671 | 671 | else { | |
672 | 672 | let eg = (height % aE) | |
673 | 673 | if ((eg > (aE - 3))) | |
674 | 674 | then throw((("Cannot bet: the day is almost ended, please wait " + toString((aE - eg))) + " blocks")) | |
675 | 675 | else { | |
676 | 676 | let Y = toString(dF.caller) | |
677 | 677 | let eh = valueOrElse(getInteger(bx, aZ(Y)), 0) | |
678 | 678 | let ei = bh(eh) | |
679 | 679 | if ((ei == 0)) | |
680 | 680 | then throw("You need to stake some ACRES to bet") | |
681 | 681 | else { | |
682 | 682 | let ej = ((height / aE) + 1) | |
683 | 683 | let dA = bB(Y) | |
684 | 684 | let dx = getString(dA) | |
685 | 685 | let ek = StringEntry(dA, ((toString(ej) + "_") + toString(ef))) | |
686 | 686 | if (isDefined(dx)) | |
687 | 687 | then { | |
688 | 688 | let el = value(dx) | |
689 | 689 | if ((split(el, "_")[0] == toString(ej))) | |
690 | 690 | then throw("You already bet for tomorrow") | |
691 | 691 | else { | |
692 | 692 | let em = dw(Y, el) | |
693 | 693 | $Tuple2([em._1[0], em._1[1], ek], em._2) | |
694 | 694 | } | |
695 | 695 | } | |
696 | 696 | else $Tuple2([ek], 0) | |
697 | 697 | } | |
698 | 698 | } | |
699 | 699 | } | |
700 | 700 | else throw("Strict value is not equal to itself.") | |
701 | 701 | } | |
702 | 702 | ||
703 | 703 | ||
704 | 704 | ||
705 | 705 | @Callable(dF) | |
706 | 706 | func claimTickets () = { | |
707 | 707 | let dN = da() | |
708 | 708 | if ((dN == dN)) | |
709 | 709 | then if ((size(dF.payments) != 0)) | |
710 | 710 | then throw("No payments required") | |
711 | 711 | else { | |
712 | 712 | let Y = toString(dF.caller) | |
713 | 713 | let dx = valueOrErrorMessage(getString(bB(Y)), "You have no tickets to claim") | |
714 | 714 | dw(Y, dx) | |
715 | 715 | } | |
716 | 716 | else throw("Strict value is not equal to itself.") | |
717 | 717 | } | |
718 | 718 | ||
719 | 719 | ||
720 | 720 | ||
721 | 721 | @Callable(dF) | |
722 | 722 | func takeWlgXp (Y) = if ((dF.caller != C)) | |
723 | 723 | then throw("Permission denied") | |
724 | 724 | else { | |
725 | 725 | let en = dq(Y, 0) | |
726 | 726 | let eb = en._1 | |
727 | 727 | let ac = en._2 | |
728 | 728 | $Tuple2(eb, ac) | |
729 | 729 | } | |
730 | 730 | ||
731 | 731 | ||
732 | 732 | ||
733 | 733 | @Callable(dF) | |
734 | 734 | func checkWlgXpREADONLY (Y) = { | |
735 | 735 | let eo = dq(Y, 0) | |
736 | 736 | let ep = eo._1 | |
737 | 737 | let eq = eo._2 | |
738 | 738 | let af = (valueOrElse(getInteger(C, X(Y)), 0) + eq) | |
739 | 739 | let er = ad(valueOrElse(getInteger(C, Z(Y)), 0), af) | |
740 | 740 | $Tuple2(nil, (er :+ af)) | |
741 | 741 | } | |
742 | 742 | ||
743 | 743 |
github/deemru/w8io/026f985 61.62 ms ◑