tx · CfVXcwyF2E7mZ7cmCCh6YGwZMsHAQypiBxPDfWDjSHcg 3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy: -0.03600000 Waves 2024.12.05 06:42 [3400801] smart account 3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy > SELF 0.00000000 Waves
{ "type": 13, "id": "CfVXcwyF2E7mZ7cmCCh6YGwZMsHAQypiBxPDfWDjSHcg", "fee": 3600000, "feeAssetId": null, "timestamp": 1733370266894, "version": 2, "chainId": 84, "sender": "3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy", "senderPublicKey": "FsR18761ZAsUqsTd7TK3XmR6bhihs1UXVmpHYxz5JzQ1", "proofs": [ "RsmtCSw6fBPKYPVyvao7AuRGgVZMqPEaq2siAHCMX6EXY5dxSh3ZgvFmJVmUJrMo3zRTdB9Y1rhD3vFesesWZWp" ], "script": "base64:BgJSCAISBgoECAgICBIDCgEIEgMKAQESBAoCCAESAwoBARIECgIIARIAEgMKAQgSAwoBCBIDCgEBEgMKAQESAwoBCBIDCgEIEgMKAQESABIECgIIAbgBAANTRVACAl9fAAVNVUxUNgDAhD0ABU1VTFQ4AIDC1y8ADk1JTlNIT1BQQVlNRU5UAKCNBgAKREFZX01JTExJUwCAuJkpAAVjaGFpbgkAyQECCQDKAQIIBQR0aGlzBWJ5dGVzAAEAAQAKREFZX0JMT0NLUwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMACgCwMJAAACAQFUBQckbWF0Y2gwADwJAAIBAg1Vbmtub3duIGNoYWluAAtXRUVLX0JMT0NLUwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMADgTgMJAAACAQFUBQckbWF0Y2gwALQBCQACAQINVW5rbm93biBjaGFpbgAKVlJGX09GRlNFVAQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAAAAwkAAAIBAVQFByRtYXRjaDAAkPlFCQACAQINVW5rb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Y2tldHMFDGRlbHRhVGlja2V0cwkBDEludGVnZXJFbnRyeQIJARNrZXlUb3RhbFdlZWtUaWNrZXRzAQUEd2VlawkAZAIFD29sZFRvdGFsVGlja2V0cwUMZGVsdGFUaWNrZXRzBQxkZWx0YVRpY2tldHMArNEvyg==", "height": 3400801, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4S51ysrJjgm1mZCCEJjnAWht1eeiDBgTkeLxW81habi4 Next: 6jygPk1vZcRyMffmD1MKm9JxZjpRvBvBmgr4UXMauREN Diff:
Old | New | Differences | |
---|---|---|---|
950 | 950 | ||
951 | 951 | ||
952 | 952 | @Callable(fG) | |
953 | - | func onStakeUnstakeLand (P | |
953 | + | func onStakeUnstakeLand (P) = if (if (if ((fG.caller != H)) | |
954 | 954 | then (fG.caller != I) | |
955 | 955 | else false) | |
956 | 956 | then (fG.caller != K) | |
957 | 957 | else false) | |
958 | 958 | then throw("Permission denied") | |
959 | 959 | else { | |
960 | - | let gg = if (gf) | |
961 | - | then eX(P) | |
962 | - | else eO(P) | |
963 | - | let gd = gg._1 | |
964 | - | let ge = gg._2 | |
965 | - | $Tuple2(if ((ge > 0)) | |
966 | - | then (gd :+ ScriptTransfer(addressFromStringValue(P), ge, R)) | |
967 | - | else if (gf) | |
968 | - | then gd | |
969 | - | else nil, ge) | |
960 | + | let gf = eX(P) | |
961 | + | if ((gf == gf)) | |
962 | + | then { | |
963 | + | let ge = gf._2 | |
964 | + | let gd = gf._1 | |
965 | + | $Tuple2(if ((ge > 0)) | |
966 | + | then (gd :+ ScriptTransfer(addressFromStringValue(P), ge, R)) | |
967 | + | else gd, ge) | |
968 | + | } | |
969 | + | else throw("Strict value is not equal to itself.") | |
970 | + | } | |
971 | + | ||
972 | + | ||
973 | + | ||
974 | + | @Callable(fG) | |
975 | + | func onStakeUnstakeLandOld (P) = if (if (if ((fG.caller != H)) | |
976 | + | then (fG.caller != I) | |
977 | + | else false) | |
978 | + | then (fG.caller != K) | |
979 | + | else false) | |
980 | + | then throw("Permission denied") | |
981 | + | else { | |
982 | + | let gg = eO(P) | |
983 | + | if ((gg == gg)) | |
984 | + | then { | |
985 | + | let ge = gg._2 | |
986 | + | let gd = gg._1 | |
987 | + | $Tuple2(if ((ge > 0)) | |
988 | + | then (gd :+ ScriptTransfer(addressFromStringValue(P), ge, R)) | |
989 | + | else nil, ge) | |
990 | + | } | |
991 | + | else throw("Strict value is not equal to itself.") | |
970 | 992 | } | |
971 | 993 | ||
972 | 994 |
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 = 1000000 | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = 100000 | |
11 | 11 | ||
12 | 12 | let e = 86400000 | |
13 | 13 | ||
14 | 14 | let f = take(drop(this.bytes, 1), 1) | |
15 | 15 | ||
16 | 16 | let g = { | |
17 | 17 | let h = f | |
18 | 18 | if ((base58'2W' == h)) | |
19 | 19 | then 1440 | |
20 | 20 | else if ((base58'2T' == h)) | |
21 | 21 | then 60 | |
22 | 22 | else throw("Unknown chain") | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | let i = { | |
26 | 26 | let h = f | |
27 | 27 | if ((base58'2W' == h)) | |
28 | 28 | then 10080 | |
29 | 29 | else if ((base58'2T' == h)) | |
30 | 30 | then 180 | |
31 | 31 | else throw("Unknown chain") | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 | let j = { | |
35 | 35 | let h = f | |
36 | 36 | if ((base58'2W' == h)) | |
37 | 37 | then 0 | |
38 | 38 | else if ((base58'2T' == h)) | |
39 | 39 | then 1146000 | |
40 | 40 | else throw("Unknown chain") | |
41 | 41 | } | |
42 | 42 | ||
43 | 43 | let k = { | |
44 | 44 | let h = f | |
45 | 45 | if ((base58'2W' == h)) | |
46 | 46 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
47 | 47 | else if ((base58'2T' == h)) | |
48 | 48 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
49 | 49 | else throw("Unknown chain") | |
50 | 50 | } | |
51 | 51 | ||
52 | 52 | let l = { | |
53 | 53 | let h = f | |
54 | 54 | if ((base58'2W' == h)) | |
55 | 55 | then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8" | |
56 | 56 | else if ((base58'2T' == h)) | |
57 | 57 | then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv" | |
58 | 58 | else throw("Unknown chain") | |
59 | 59 | } | |
60 | 60 | ||
61 | 61 | let m = { | |
62 | 62 | let h = f | |
63 | 63 | if ((base58'2W' == h)) | |
64 | 64 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
65 | 65 | else if ((base58'2T' == h)) | |
66 | 66 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
67 | 67 | else throw("Unknown chain") | |
68 | 68 | } | |
69 | 69 | ||
70 | 70 | let n = { | |
71 | 71 | let h = f | |
72 | 72 | if ((base58'2W' == h)) | |
73 | 73 | then "3P2sk1KncSxRaZs8b4CWGPw2jkvvav74u4D" | |
74 | 74 | else if ((base58'2T' == h)) | |
75 | 75 | then "3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep" | |
76 | 76 | else throw("Unknown chain") | |
77 | 77 | } | |
78 | 78 | ||
79 | 79 | func o (p,q) = valueOrErrorMessage(getString(p, q), makeString(["mandatory ", toString(p), ".", q, " is not defined"], "")) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | let r = 1 | |
83 | 83 | ||
84 | 84 | let s = 2 | |
85 | 85 | ||
86 | 86 | let t = 4 | |
87 | 87 | ||
88 | 88 | let u = 5 | |
89 | 89 | ||
90 | 90 | func v () = "%s__restConfig" | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func w () = "%s__rest2Addr" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func x () = "%s__restAddr" | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | let y = addressFromStringValue(valueOrElse(getString(this, x()), m)) | |
100 | 100 | ||
101 | 101 | func z (A) = split_4C(o(A, v()), a) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func B (C,D) = valueOrErrorMessage(addressFromString(C[D]), ("Rest cfg doesn't contain address at index " + toString(D))) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | let E = 1 | |
108 | 108 | ||
109 | 109 | let F = 8 | |
110 | 110 | ||
111 | 111 | let G = z(y) | |
112 | 112 | ||
113 | 113 | let H = B(G, E) | |
114 | 114 | ||
115 | 115 | let I = B(G, F) | |
116 | 116 | ||
117 | 117 | let J = addressFromStringValue(valueOrElse(getString(this, w()), l)) | |
118 | 118 | ||
119 | 119 | let C = z(J) | |
120 | 120 | ||
121 | 121 | let K = B(C, r) | |
122 | 122 | ||
123 | 123 | let L = B(C, s) | |
124 | 124 | ||
125 | 125 | let M = B(C, t) | |
126 | 126 | ||
127 | 127 | let N = B(C, u) | |
128 | 128 | ||
129 | 129 | func O (P) = ("lastWeekTxIdByUser_" + P) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | let Q = "wlg_assetId" | |
133 | 133 | ||
134 | 134 | let R = valueOrErrorMessage(getBinary(L, Q), "WLGOLD is not issued yet") | |
135 | 135 | ||
136 | 136 | func S (P) = ("userBet_" + P) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func T (P,U) = ((("userWeekTickets_" + P) + "_") + toString(U)) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func V (U) = ("totalWeekTickets_" + toString(U)) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func W (U) = ("totalWeekParticipants_" + toString(U)) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func X (U) = ("numNFT2Draw_" + toString(U)) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func Y (U) = ("numNFTDrawn_" + toString(U)) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func Z (U) = ("weekWinners_" + toString(U)) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func aa (ab) = { | |
158 | 158 | let ac = (ab * g) | |
159 | 159 | let ad = if ((ac > j)) | |
160 | 160 | then ac | |
161 | 161 | else (ac + j) | |
162 | 162 | (toInt(value(value(blockInfoByHeight(ad)).vrf)) % 4) | |
163 | 163 | } | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | let ae = 0 | |
167 | 167 | ||
168 | 168 | let af = 1 | |
169 | 169 | ||
170 | 170 | let ag = 2 | |
171 | 171 | ||
172 | 172 | let ah = 8 | |
173 | 173 | ||
174 | 174 | let ai = 11 | |
175 | 175 | ||
176 | 176 | let aj = 12 | |
177 | 177 | ||
178 | 178 | let ak = 15 | |
179 | 179 | ||
180 | 180 | let al = 16 | |
181 | 181 | ||
182 | 182 | let am = 19 | |
183 | 183 | ||
184 | 184 | let an = 23 | |
185 | 185 | ||
186 | 186 | let ao = 24 | |
187 | 187 | ||
188 | 188 | let ap = 25 | |
189 | 189 | ||
190 | 190 | let aq = 26 | |
191 | 191 | ||
192 | 192 | let ar = 27 | |
193 | 193 | ||
194 | 194 | let as = 28 | |
195 | 195 | ||
196 | 196 | let at = 29 | |
197 | 197 | ||
198 | 198 | func au (av) = { | |
199 | 199 | let h = av | |
200 | 200 | if ($isInstanceOf(h, "Int")) | |
201 | 201 | then { | |
202 | 202 | let aw = h | |
203 | 203 | aw | |
204 | 204 | } | |
205 | 205 | else throw("fail to cast into Int") | |
206 | 206 | } | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func ax (ay,az) = { | |
210 | 210 | let aA = pow(10, 0, az, 0, 0, DOWN) | |
211 | 211 | let aB = toString((ay % aA)) | |
212 | 212 | let aC = drop(toString(aA), (1 + size(aB))) | |
213 | 213 | (((toString((ay / aA)) + ".") + aC) + aB) | |
214 | 214 | } | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func aD (aE,aF,aG) = if ((0 >= aE)) | |
218 | 218 | then throw("maxValue should be > 0") | |
219 | 219 | else { | |
220 | 220 | let aH = sha256_16Kb((aF + aG)) | |
221 | 221 | (toInt(aH) % aE) | |
222 | 222 | } | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | let aI = 100000000 | |
226 | 226 | ||
227 | 227 | let aJ = 3200 | |
228 | 228 | ||
229 | 229 | let aK = 4000 | |
230 | 230 | ||
231 | 231 | let aL = 3 | |
232 | 232 | ||
233 | 233 | let aM = 100000000000 | |
234 | 234 | ||
235 | 235 | func aN (P) = ("userXP_" + P) | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func aO (P) = ("userLevel_" + P) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | let aP = 10000 | |
242 | 242 | ||
243 | 243 | func aQ (aR) = fraction(aJ, pow(aR, 4, aK, 4, 4, DOWN), aI) | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | func aS (aT,aU) = { | |
247 | 247 | let aV = aQ(aU) | |
248 | 248 | [aV, (aL * (aV - aT))] | |
249 | 249 | } | |
250 | 250 | ||
251 | 251 | ||
252 | 252 | let aW = 1000000 | |
253 | 253 | ||
254 | 254 | let aX = 100000000 | |
255 | 255 | ||
256 | 256 | let aY = 100000000000000 | |
257 | 257 | ||
258 | 258 | let aZ = 200000 | |
259 | 259 | ||
260 | 260 | let ba = 100000 | |
261 | 261 | ||
262 | 262 | let bb = 400000 | |
263 | 263 | ||
264 | 264 | let bc = 31557600000 | |
265 | 265 | ||
266 | 266 | let bd = 86400000 | |
267 | 267 | ||
268 | 268 | let be = 50000 | |
269 | 269 | ||
270 | 270 | let bf = take(drop(this.bytes, 1), 1) | |
271 | 271 | ||
272 | 272 | let bg = { | |
273 | 273 | let h = bf | |
274 | 274 | if ((base58'2W' == h)) | |
275 | 275 | then 1208630000 | |
276 | 276 | else if ((base58'2T' == h)) | |
277 | 277 | then 0 | |
278 | 278 | else throw("Unknown chain") | |
279 | 279 | } | |
280 | 280 | ||
281 | 281 | let bh = "teamAddr" | |
282 | 282 | ||
283 | 283 | let bi = "lastClaimedTime_team" | |
284 | 284 | ||
285 | 285 | let bj = "teamAmountLeft" | |
286 | 286 | ||
287 | 287 | let bk = "lastClaimedTime_activities" | |
288 | 288 | ||
289 | 289 | let bl = "activitiesAmountLeft" | |
290 | 290 | ||
291 | 291 | let bm = "stakersAmountLeft" | |
292 | 292 | ||
293 | 293 | func bn (P) = ("lastClaimedTimeUserOld_" + P) | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | func bo (P) = ("lastArbTimeUser_" + P) | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | func bp (P) = ("lastWlgLimitUser_" + P) | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | func bq (br) = fraction(aY, (bb * (br + 1)), (6 * aW)) | |
303 | 303 | ||
304 | 304 | ||
305 | 305 | let bs = "wlg_issueTime" | |
306 | 306 | ||
307 | 307 | let bt = "wlg_issuedAmount" | |
308 | 308 | ||
309 | 309 | let bu = "zbill_issuedAmount" | |
310 | 310 | ||
311 | 311 | func bv (P) = ("acresStakedAmountByUser_" + P) | |
312 | 312 | ||
313 | 313 | ||
314 | 314 | let bw = "acresStakedAmountTotal" | |
315 | 315 | ||
316 | 316 | func bx (P) = ("wlgStakedAmountByUser_" + P) | |
317 | 317 | ||
318 | 318 | ||
319 | 319 | let by = "wlgStakedAmountTotal" | |
320 | 320 | ||
321 | 321 | func bz (P) = ("wlgStakedTimeByUser_" + P) | |
322 | 322 | ||
323 | 323 | ||
324 | 324 | let bA = 0 | |
325 | 325 | ||
326 | 326 | let bB = 1 | |
327 | 327 | ||
328 | 328 | let bC = 2 | |
329 | 329 | ||
330 | 330 | let bD = 3 | |
331 | 331 | ||
332 | 332 | let bE = 4 | |
333 | 333 | ||
334 | 334 | let bF = 5 | |
335 | 335 | ||
336 | 336 | let bG = 6 | |
337 | 337 | ||
338 | 338 | func bH (bI,H,I) = { | |
339 | 339 | let bJ = split(valueOrElse(getString(H, "resTypesProportions"), "0_0_0_0_0_0"), "_") | |
340 | 340 | func bK (bL,bM) = (bL + parseIntValue(bM)) | |
341 | 341 | ||
342 | 342 | let bN = { | |
343 | 343 | let bO = bJ | |
344 | 344 | let bP = size(bO) | |
345 | 345 | let bQ = 0 | |
346 | 346 | func bR (bS,bT) = if ((bT >= bP)) | |
347 | 347 | then bS | |
348 | 348 | else bK(bS, bO[bT]) | |
349 | 349 | ||
350 | 350 | func bU (bS,bT) = if ((bT >= bP)) | |
351 | 351 | then bS | |
352 | 352 | else throw("List size exceeds 6") | |
353 | 353 | ||
354 | 354 | bU(bR(bR(bR(bR(bR(bR(bQ, 0), 1), 2), 3), 4), 5), 6) | |
355 | 355 | } | |
356 | 356 | let bV = valueOrElse(getInteger(H, ("stakedPiecesByOwner_" + bI)), 0) | |
357 | 357 | let bW = valueOrElse(getInteger(I, bw), 0) | |
358 | 358 | let bX = valueOrElse(getInteger(I, bv(bI)), 0) | |
359 | 359 | [bN, bV, bW, bX] | |
360 | 360 | } | |
361 | 361 | ||
362 | 362 | ||
363 | 363 | let bY = 0 | |
364 | 364 | ||
365 | 365 | let bZ = 1 | |
366 | 366 | ||
367 | 367 | let ca = 2 | |
368 | 368 | ||
369 | 369 | let cb = 3 | |
370 | 370 | ||
371 | 371 | let cc = 1733346000000 | |
372 | 372 | ||
373 | 373 | func cd (ce,cf,cg,ch,ci) = { | |
374 | 374 | let cj = valueOrErrorMessage(getInteger(cf[bD], bt), "WLGOLD is not issued yet") | |
375 | 375 | let ck = assetBalance(cf[bC], cg) | |
376 | 376 | let cl = assetBalance(cf[bA], cg) | |
377 | 377 | let cm = (assetBalance(cf[bD], cg) - ch) | |
378 | 378 | let cn = assetBalance(cf[bE], cg) | |
379 | 379 | let co = cf[bF] | |
380 | 380 | let cp = (assetBalance(co, cg) + valueOrElse(getInteger(co, bu), 0)) | |
381 | 381 | let cq = ((ck + cm) + cp) | |
382 | 382 | let cr = valueOrErrorMessage(getBinary(cf[bD], "wlg_assetId"), "Not initialized yet") | |
383 | 383 | let cs = lastBlock.timestamp | |
384 | 384 | let ct = valueOrErrorMessage(getInteger(cf[bD], bs), "Not initialized") | |
385 | 385 | let cu = assetBalance(cf[bB], cr) | |
386 | 386 | let cv = fraction(aY, aZ, aW) | |
387 | 387 | let cw = valueOrElse(getInteger(cf[bD], bj), cv) | |
388 | 388 | let cx = valueOrElse(getInteger(cf[bD], bi), ct) | |
389 | 389 | let cy = addressFromStringValue(value(getString(cf[bD], bh))) | |
390 | 390 | let cz = min([fraction(cv, (cs - cx), (3 * bc)), cw]) | |
391 | 391 | let cA = assetBalance(cy, cr) | |
392 | 392 | let cB = fraction(aY, ba, aW) | |
393 | 393 | let cC = valueOrElse(getInteger(cf[bD], bl), cB) | |
394 | 394 | let cD = valueOrElse(getInteger(cf[bD], bk), ct) | |
395 | 395 | let cE = min([fraction(cB, (cs - cD), (3 * bc)), cC]) | |
396 | 396 | let cF = assetBalance(cf[bA], cr) | |
397 | 397 | let cG = valueOrElse(getInteger(cf[bD], bn(ce)), ct) | |
398 | 398 | let cH = ((cG - ct) / bc) | |
399 | 399 | let cI = min([min([cs, (ct + (3 * bc))]), cc]) | |
400 | 400 | let cJ = min([((cs - ct) / bc), 2]) | |
401 | 401 | let cK = bH(ce, cf[bB], cf[bG]) | |
402 | 402 | let cL = bq(cJ) | |
403 | 403 | let cM = if ((cH == cJ)) | |
404 | 404 | then { | |
405 | 405 | let cN = fraction(cL, (cI - cG), bc) | |
406 | 406 | let cO = fraction(cN, ci, aW) | |
407 | 407 | let cP = (cG + fraction((cI - cG), ci, aW)) | |
408 | 408 | $Tuple3(cO, cN, cP) | |
409 | 409 | } | |
410 | 410 | else if ((cH == (cJ - 1))) | |
411 | 411 | then { | |
412 | 412 | let cQ = fraction(bq((cJ - 1)), ((ct + (bc * cJ)) - cG), bc) | |
413 | 413 | let cN = fraction(cL, (cI - (ct + (bc * cJ))), bc) | |
414 | 414 | let cR = (cQ + cN) | |
415 | 415 | let cO = fraction(cR, ci, aW) | |
416 | 416 | let cP = if ((cQ >= cO)) | |
417 | 417 | then (cG + fraction(bc, cO, bq((cJ - 1)))) | |
418 | 418 | else ((ct + (bc * cJ)) + fraction(bc, (cO - cQ), cL)) | |
419 | 419 | $Tuple3(cO, cR, cP) | |
420 | 420 | } | |
421 | 421 | else { | |
422 | 422 | let cS = fraction(bq((cJ - 2)), ((ct + (bc * (cJ - 1))) - cG), bc) | |
423 | 423 | let cQ = bq((cJ - 1)) | |
424 | 424 | let cN = fraction(cL, (cI - (ct + (bc * cJ))), bc) | |
425 | 425 | let cR = ((cS + cQ) + cN) | |
426 | 426 | let cO = fraction(cR, ci, aW) | |
427 | 427 | let cP = if ((cS >= cO)) | |
428 | 428 | then (cG + fraction(bc, cO, bq((cJ - 2)))) | |
429 | 429 | else if (((cS + cQ) >= cO)) | |
430 | 430 | then ((ct + (bc * (cJ - 1))) + fraction(bc, (cO - cS), bq((cJ - 1)))) | |
431 | 431 | else ((ct + (bc * cJ)) + fraction(bc, ((cO - cS) - cQ), cL)) | |
432 | 432 | $Tuple3(cO, cR, cP) | |
433 | 433 | } | |
434 | 434 | let cT = cM._1 | |
435 | 435 | let cU = cM._2 | |
436 | 436 | let cV = cM._3 | |
437 | 437 | let cW = fraction(fraction(cL, bd, bc), 25, cK[bY]) | |
438 | 438 | let cX = valueOrElse(getInteger(cf[bD], bm), 0) | |
439 | 439 | let cY = fraction(cT, ((cK[bZ] * aX) + cK[cb]), ((cK[bY] * aX) + cK[ca])) | |
440 | 440 | let cZ = fraction(cY, be, aW) | |
441 | 441 | let da = (cY - cZ) | |
442 | 442 | let db = fraction(cU, ((cK[bZ] * aX) + cK[cb]), ((cK[bY] * aX) + cK[ca])) | |
443 | 443 | [cj, fraction((cq - bg), aX, cj), cq, ck, cl, cm, cn, ct, cx, cv, cw, cz, cA, cB, cC, cE, cF, cJ, cX, cL, cG, da, cW, cp, db, cV, cu] | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | let dc = 1000000 | |
448 | 448 | ||
449 | 449 | let dd = 100000000 | |
450 | 450 | ||
451 | 451 | let de = 200000 | |
452 | 452 | ||
453 | 453 | let df = 100000 | |
454 | 454 | ||
455 | 455 | let dg = 400000 | |
456 | 456 | ||
457 | 457 | let dh = 31557600000 | |
458 | 458 | ||
459 | 459 | let di = 86400000 | |
460 | 460 | ||
461 | 461 | let dj = 1000000000 | |
462 | 462 | ||
463 | 463 | let dk = 800000 | |
464 | 464 | ||
465 | 465 | let dl = 100000 | |
466 | 466 | ||
467 | 467 | let dm = 100000 | |
468 | 468 | ||
469 | 469 | let dn = 1731279600000 | |
470 | 470 | ||
471 | 471 | let do = "marketingAddr" | |
472 | 472 | ||
473 | 473 | let dp = "teamAddr" | |
474 | 474 | ||
475 | 475 | let dq = "lastClaimedTime_team" | |
476 | 476 | ||
477 | 477 | let dr = "teamAmountLeft" | |
478 | 478 | ||
479 | 479 | let ds = "lastClaimedTime_activities" | |
480 | 480 | ||
481 | 481 | let dt = "activitiesAmountLeft" | |
482 | 482 | ||
483 | 483 | let du = "stakersAmountLeft" | |
484 | 484 | ||
485 | 485 | func dv (P) = ("lastClaimedTimeUser_" + P) | |
486 | 486 | ||
487 | 487 | ||
488 | 488 | func dw (cj,br) = fraction(cj, (dg * (br + 1)), (6 * dc)) | |
489 | 489 | ||
490 | 490 | ||
491 | 491 | let dx = "wlg_issue10Time" | |
492 | 492 | ||
493 | 493 | let dy = "wlg_issueTime" | |
494 | 494 | ||
495 | 495 | let dz = "wlg_issuedAmount" | |
496 | 496 | ||
497 | 497 | let dA = "zbill_issuedAmount" | |
498 | 498 | ||
499 | 499 | func dB (P) = ("acresStakedAmountByUser_" + P) | |
500 | 500 | ||
501 | 501 | ||
502 | 502 | let dC = "acresStakedAmountTotal" | |
503 | 503 | ||
504 | 504 | let dD = "totalFarmingPower" | |
505 | 505 | ||
506 | 506 | let dE = 0 | |
507 | 507 | ||
508 | 508 | let dF = 1 | |
509 | 509 | ||
510 | 510 | let dG = 2 | |
511 | 511 | ||
512 | 512 | let dH = 3 | |
513 | 513 | ||
514 | 514 | let dI = 4 | |
515 | 515 | ||
516 | 516 | let dJ = 5 | |
517 | 517 | ||
518 | 518 | let dK = 100000000 | |
519 | 519 | ||
520 | 520 | let dL = "nftTotalIssued" | |
521 | 521 | ||
522 | 522 | let dM = "nftTotalBurned" | |
523 | 523 | ||
524 | 524 | let dN = "WlNftTotalStaked" | |
525 | 525 | ||
526 | 526 | func dO (P) = ("userWlNftNumber_" + P) | |
527 | 527 | ||
528 | 528 | ||
529 | 529 | func dP (P) = ("userFullBonus_" + P) | |
530 | 530 | ||
531 | 531 | ||
532 | 532 | let dQ = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000] | |
533 | 533 | ||
534 | 534 | func dR (dS) = { | |
535 | 535 | let dT = ((dS + 99999999) / dd) | |
536 | 536 | func dU (bL,bM) = if ((bM >= dT)) | |
537 | 537 | then bL | |
538 | 538 | else (bL + 1) | |
539 | 539 | ||
540 | 540 | let bO = dQ | |
541 | 541 | let bP = size(bO) | |
542 | 542 | let bQ = 0 | |
543 | 543 | func bR (bS,bT) = if ((bT >= bP)) | |
544 | 544 | then bS | |
545 | 545 | else dU(bS, bO[bT]) | |
546 | 546 | ||
547 | 547 | func bU (bS,bT) = if ((bT >= bP)) | |
548 | 548 | then bS | |
549 | 549 | else throw("List size exceeds 10") | |
550 | 550 | ||
551 | 551 | bU(bR(bR(bR(bR(bR(bR(bR(bR(bR(bR(bQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
552 | 552 | } | |
553 | 553 | ||
554 | 554 | ||
555 | 555 | func dV (dS) = ((dS * 20) * (dR(dS) + 4)) | |
556 | 556 | ||
557 | 557 | ||
558 | 558 | func dW (dS,dX) = { | |
559 | 559 | let dY = dV(dS) | |
560 | 560 | $Tuple2(fraction(dY, (dc + dX), dc), dY) | |
561 | 561 | } | |
562 | 562 | ||
563 | 563 | ||
564 | 564 | func dZ (bI,K) = { | |
565 | 565 | let ea = valueOrElse(getInteger(K, dD), 0) | |
566 | 566 | let bX = valueOrElse(getInteger(K, dB(bI)), 0) | |
567 | 567 | let eb = valueOrElse(getInteger(K, dP(bI)), 0) | |
568 | 568 | let cM = dW(bX, eb) | |
569 | 569 | let ec = cM._1 | |
570 | 570 | let ed = cM._2 | |
571 | 571 | [ea, ec, ed, eb] | |
572 | 572 | } | |
573 | 573 | ||
574 | 574 | ||
575 | 575 | let ee = 0 | |
576 | 576 | ||
577 | 577 | let ef = 1 | |
578 | 578 | ||
579 | 579 | func eg (ce,cf,cg,ch) = { | |
580 | 580 | let cj = valueOrErrorMessage(getInteger(cf[dG], dz), "WLGOLD is not issued yet") | |
581 | 581 | let cl = assetBalance(cf[dE], cg) | |
582 | 582 | let cm = (assetBalance(cf[dG], cg) - ch) | |
583 | 583 | let cn = assetBalance(cf[dH], cg) | |
584 | 584 | let eh = assetBalance(cf[dF], cg) | |
585 | 585 | let co = cf[dI] | |
586 | 586 | let cp = (assetBalance(co, cg) + valueOrElse(getInteger(co, dA), 0)) | |
587 | 587 | let cq = ((eh + cm) + cp) | |
588 | 588 | let cr = valueOrErrorMessage(getBinary(cf[dG], "wlg_assetId"), "Not initialized yet") | |
589 | 589 | let cs = lastBlock.timestamp | |
590 | 590 | let ct = valueOrErrorMessage(getInteger(cf[dG], dy), "Not initialized") | |
591 | 591 | let ei = assetBalance(cf[dG], cr) | |
592 | 592 | let cv = fraction(cj, de, dc) | |
593 | 593 | let cw = valueOrElse(getInteger(cf[dG], dr), cv) | |
594 | 594 | let cx = valueOrElse(getInteger(cf[dG], dq), ct) | |
595 | 595 | let cy = addressFromStringValue(value(getString(cf[dG], dp))) | |
596 | 596 | let cz = min([fraction(cv, (cs - cx), (3 * dh)), cw]) | |
597 | 597 | let cA = assetBalance(cy, cr) | |
598 | 598 | let cB = fraction(cj, df, dc) | |
599 | 599 | let cC = valueOrElse(getInteger(cf[dG], dt), cB) | |
600 | 600 | let cD = valueOrElse(getInteger(cf[dG], ds), ct) | |
601 | 601 | let cE = min([fraction(cB, (cs - cD), (3 * dh)), cC]) | |
602 | 602 | let cF = assetBalance(cf[dE], cr) | |
603 | 603 | let cG = valueOrElse(getInteger(cf[dG], dv(ce)), ct) | |
604 | 604 | let cH = ((cG - ct) / dh) | |
605 | 605 | let cI = min([cs, (ct + (3 * dh))]) | |
606 | 606 | let cJ = min([((cs - ct) / dh), 2]) | |
607 | 607 | let cK = dZ(ce, cf[dF]) | |
608 | 608 | let cL = dw(cj, cJ) | |
609 | 609 | let ej = (ct + (dh * cJ)) | |
610 | 610 | let ek = (ct + (dh * (cJ - 1))) | |
611 | 611 | let cN = fraction(cL, (cI - cG), dh) | |
612 | 612 | let cU = if ((cH == cJ)) | |
613 | 613 | then cN | |
614 | 614 | else if ((cH == (cJ - 1))) | |
615 | 615 | then { | |
616 | 616 | let cQ = fraction(dw(cj, (cJ - 1)), (ej - cG), dh) | |
617 | 617 | (cQ + cN) | |
618 | 618 | } | |
619 | 619 | else { | |
620 | 620 | let cS = fraction(dw(cj, (cJ - 2)), (ek - cG), dh) | |
621 | 621 | let cQ = dw(cj, (cJ - 1)) | |
622 | 622 | ((cS + cQ) + cN) | |
623 | 623 | } | |
624 | 624 | let cX = valueOrElse(getInteger(cf[dG], du), 0) | |
625 | 625 | let cT = if ((cK[ee] != 0)) | |
626 | 626 | then fraction(cU, cK[ef], cK[ee]) | |
627 | 627 | else 0 | |
628 | 628 | let el = valueOrElse(getInteger(cf[dG], dx), dn) | |
629 | 629 | let em = fraction(dj, max([(cs - el), 0]), di) | |
630 | 630 | let en = fraction(em, dl, dc) | |
631 | 631 | let eo = fraction(em, dm, dc) | |
632 | 632 | let ep = max([(cs - max([dn, cG])), 0]) | |
633 | 633 | let eq = if ((cK[ee] != 0)) | |
634 | 634 | then fraction(fraction(fraction(dj, ep, di), cK[ef], cK[ee]), dk, dc) | |
635 | 635 | else 0 | |
636 | 636 | let er = max([dn, cs]) | |
637 | 637 | let es = valueOrElse(getInteger(cf[dF], dC), 0) | |
638 | 638 | let et = valueOrElse(getInteger(cf[dF], dL), 0) | |
639 | 639 | let eu = valueOrElse(getInteger(cf[dF], dM), 0) | |
640 | 640 | let ev = valueOrElse(getInteger(cf[dF], dN), 0) | |
641 | 641 | let ew = valueOrElse(getInteger(cf[dF], dO(valueOrElse(ce, ""))), 0) | |
642 | 642 | [cj, ei, fraction(cq, dd, cj), cq, cl, eh, cm, cn, ct, cx, cv, cw, cz, cA, cB, cC, cE, cF, cJ, cX, cL, cG, cp, cT, cI, em, en, eo, eq, er, cK[ee], es, et, eu, ev, ew] | |
643 | 643 | } | |
644 | 644 | ||
645 | 645 | ||
646 | 646 | let ex = "profitAddr" | |
647 | 647 | ||
648 | 648 | let ey = "stakersAmountPaidTotal" | |
649 | 649 | ||
650 | 650 | func ez (P) = ("stakersAmountPaidUser_" + P) | |
651 | 651 | ||
652 | 652 | ||
653 | 653 | func eA () = au(reentrantInvoke(K, "saveLastTx", nil, nil)) | |
654 | 654 | ||
655 | 655 | ||
656 | 656 | func eB (P) = { | |
657 | 657 | let eC = valueOrElse(getInteger(bo(P)), 0) | |
658 | 658 | let eD = valueOrElse(getInteger(K, bv(P)), 0) | |
659 | 659 | let eE = valueOrElse(getInteger(bp(P)), eD) | |
660 | 660 | let eF = (eE + fraction(eD, (lastBlock.timestamp - eC), e)) | |
661 | 661 | min([eF, eD]) | |
662 | 662 | } | |
663 | 663 | ||
664 | 664 | ||
665 | 665 | let eG = 10 | |
666 | 666 | ||
667 | 667 | let eH = 11 | |
668 | 668 | ||
669 | 669 | let eI = 14 | |
670 | 670 | ||
671 | 671 | let eJ = 15 | |
672 | 672 | ||
673 | 673 | let eK = 18 | |
674 | 674 | ||
675 | 675 | let eL = 21 | |
676 | 676 | ||
677 | 677 | let eM = 24 | |
678 | 678 | ||
679 | 679 | let eN = 25 | |
680 | 680 | ||
681 | 681 | func eO (P) = { | |
682 | 682 | let eP = addressFromStringValue(P) | |
683 | 683 | let eQ = addressFromStringValue(n) | |
684 | 684 | let eR = cd(P, [y, H, eQ, L, M, N, I], k, 0, b) | |
685 | 685 | let cs = lastBlock.timestamp | |
686 | 686 | let cw = eR[eG] | |
687 | 687 | let eS = eR[eH] | |
688 | 688 | let cC = eR[eI] | |
689 | 689 | let eT = eR[eJ] | |
690 | 690 | let cT = eR[eL] | |
691 | 691 | let eU = ez(P) | |
692 | 692 | let eV = eR[eM] | |
693 | 693 | let eW = eR[eN] | |
694 | 694 | $Tuple2([ScriptTransfer(addressFromStringValue(value(getString(bh))), eS, R), ScriptTransfer(y, eT, R), IntegerEntry(eU, (valueOrElse(getInteger(eU), 0) + cT)), IntegerEntry(ey, (valueOrElse(getInteger(ey), 0) + eV)), IntegerEntry(bm, (eR[eK] - eV)), IntegerEntry(bj, (cw - eS)), IntegerEntry(bi, cs), IntegerEntry(bl, (cC - eT)), IntegerEntry(bk, cs), IntegerEntry(bn(P), eW)], cT) | |
695 | 695 | } | |
696 | 696 | ||
697 | 697 | ||
698 | 698 | func eX (P) = { | |
699 | 699 | let eR = eg(P, [J, K, L, M, N], k, 0) | |
700 | 700 | let eY = dv(P) | |
701 | 701 | let cG = valueOrElse(getInteger(eY), 0) | |
702 | 702 | let eW = eR[ao] | |
703 | 703 | if ((cG == eW)) | |
704 | 704 | then $Tuple2(nil, 0) | |
705 | 705 | else { | |
706 | 706 | let cs = lastBlock.timestamp | |
707 | 707 | let ct = eR[ah] | |
708 | 708 | let cw = eR[ai] | |
709 | 709 | let eS = (eR[aj] + eR[ar]) | |
710 | 710 | let eZ = if ((eS > 0)) | |
711 | 711 | then [ScriptTransfer(addressFromStringValue(value(getString(bh))), eS, R)] | |
712 | 712 | else nil | |
713 | 713 | let cC = eR[ak] | |
714 | 714 | let eT = eR[al] | |
715 | 715 | let fa = if ((eT > 0)) | |
716 | 716 | then [ScriptTransfer(y, eT, R)] | |
717 | 717 | else nil | |
718 | 718 | let fb = eR[aq] | |
719 | 719 | let fc = if ((fb > 0)) | |
720 | 720 | then [ScriptTransfer(addressFromStringValue(value(getString(do))), fb, R)] | |
721 | 721 | else nil | |
722 | 722 | let cT = eR[an] | |
723 | 723 | let eU = ez(P) | |
724 | 724 | let eV = (cT + eR[as]) | |
725 | 725 | let fd = eR[ap] | |
726 | 726 | $Tuple2(((([Reissue(R, fd, true), IntegerEntry(bt, (eR[ae] + fd)), IntegerEntry(dx, eR[at]), IntegerEntry(eU, (valueOrElse(getInteger(eU), 0) + cT)), IntegerEntry(ey, (valueOrElse(getInteger(ey), 0) + cT)), IntegerEntry(bm, (eR[am] - cT)), IntegerEntry(bj, ((cw - eS) + eR[ar])), IntegerEntry(bi, cs), IntegerEntry(bl, (cC - eT)), IntegerEntry(bk, cs), IntegerEntry(eY, eW)] ++ eZ) ++ fa) ++ fc), eV) | |
727 | 727 | } | |
728 | 728 | } | |
729 | 729 | ||
730 | 730 | ||
731 | 731 | func fe (P,ff) = { | |
732 | 732 | let cs = lastBlock.timestamp | |
733 | 733 | let fg = bz(P) | |
734 | 734 | let fh = bx(P) | |
735 | 735 | let eC = valueOrElse(getInteger(fg), 0) | |
736 | 736 | let fi = valueOrElse(getInteger(fh), 0) | |
737 | 737 | let fj = valueOrElse(getInteger(by), 0) | |
738 | 738 | let aR = fraction(fraction(aP, fi, aM), (eC - cs), bd) | |
739 | 739 | $Tuple3([IntegerEntry(fg, cs), IntegerEntry(fh, (fi + ff)), IntegerEntry(by, (fj + ff))], aR, fi) | |
740 | 740 | } | |
741 | 741 | ||
742 | 742 | ||
743 | 743 | func fk (P) = { | |
744 | 744 | let U = (height / i) | |
745 | 745 | let fl = (U - 1) | |
746 | 746 | let fm = valueOrElse(getInteger(X(fl)), dJ) | |
747 | 747 | let fn = valueOrElse(getInteger(Y(fl)), 0) | |
748 | 748 | let fo = valueOrElse(getInteger(T(P, fl)), 0) | |
749 | 749 | if ((0 >= fo)) | |
750 | 750 | then $Tuple2(nil, unit) | |
751 | 751 | else { | |
752 | 752 | let fp = valueOrElse(getInteger(V(fl)), 0) | |
753 | 753 | if ((0 >= fp)) | |
754 | 754 | then $Tuple2([DeleteEntry(T(P, fl))], unit) | |
755 | 755 | else { | |
756 | 756 | let aG = value(value(blockInfoByHeight((U * i))).vrf) | |
757 | 757 | let aF = fromBase58String(split(valueOrElse(getString(K, O(P)), "42_DEFAULT"), "_")[1]) | |
758 | 758 | let fq = aD(fp, aF, aG) | |
759 | 759 | if (((fo * fm) > fq)) | |
760 | 760 | then { | |
761 | 761 | let fr = invoke(K, "issuePickC1", [P], nil) | |
762 | 762 | let fs = getString(Z(fl)) | |
763 | 763 | let ft = if (isDefined(fs)) | |
764 | 764 | then ((value(fs) + "_") + P) | |
765 | 765 | else P | |
766 | 766 | $Tuple2([IntegerEntry(Y(fl), (fn + 1)), DeleteEntry(T(P, fl)), StringEntry(Z(fl), ft)], fr) | |
767 | 767 | } | |
768 | 768 | else { | |
769 | 769 | let fu = (aD(9, (base58'29' + aF), aG) + 1) | |
770 | 770 | let fv = fraction(fo, fu, 10) | |
771 | 771 | let fw = T(P, U) | |
772 | 772 | let fx = valueOrElse(getInteger(fw), 0) | |
773 | 773 | $Tuple2(((if ((fv == 0)) | |
774 | 774 | then nil | |
775 | 775 | else { | |
776 | 776 | let fy = [IntegerEntry(V(U), (valueOrElse(getInteger(V(U)), 0) + fv)), IntegerEntry(fw, (fx + fv))] | |
777 | 777 | if ((fx > 0)) | |
778 | 778 | then fy | |
779 | 779 | else (fy :+ IntegerEntry(W(U), (valueOrElse(getInteger(W(U)), 0) + 1))) | |
780 | 780 | }) :+ DeleteEntry(T(P, fl))), fv) | |
781 | 781 | } | |
782 | 782 | } | |
783 | 783 | } | |
784 | 784 | } | |
785 | 785 | ||
786 | 786 | ||
787 | 787 | func fz (P,fA) = { | |
788 | 788 | let U = (height / i) | |
789 | 789 | let fw = T(P, U) | |
790 | 790 | let fB = split(fA, "_") | |
791 | 791 | let fC = valueOrElse(getInteger(V(U)), 0) | |
792 | 792 | let fx = valueOrElse(getInteger(fw), 0) | |
793 | 793 | let fD = if ((aa(parseIntValue(fB[0])) == parseIntValue(fB[1]))) | |
794 | 794 | then 1 | |
795 | 795 | else 0 | |
796 | 796 | let fE = valueOrElse(getInteger(W(U)), 0) | |
797 | 797 | let fF = if (if ((fx == 0)) | |
798 | 798 | then (fD == 1) | |
799 | 799 | else false) | |
800 | 800 | then [IntegerEntry(W(U), (fE + 1))] | |
801 | 801 | else nil | |
802 | 802 | $Tuple2(if ((fD == 0)) | |
803 | 803 | then nil | |
804 | 804 | else ((fF :+ IntegerEntry(fw, (fx + fD))) :+ IntegerEntry(V(U), (fC + fD))), fD) | |
805 | 805 | } | |
806 | 806 | ||
807 | 807 | ||
808 | 808 | @Callable(fG) | |
809 | 809 | func constructorV1 (fH,fI,cy,fJ) = if ((fG.caller != this)) | |
810 | 810 | then throw("Permission denied") | |
811 | 811 | else if (isDefined(getBinary(Q))) | |
812 | 812 | then throw("Already initialized") | |
813 | 813 | else { | |
814 | 814 | let cj = aY | |
815 | 815 | let fK = Issue("WLGOLD", "WavesLands Gold investment token", cj, 8, true, unit, 0) | |
816 | 816 | let fL = calculateAssetId(fK) | |
817 | 817 | [fK, IntegerEntry(bs, lastBlock.timestamp), IntegerEntry(bt, cj), IntegerEntry(ey, 0), IntegerEntry(bm, fraction(aY, bb, b)), BinaryEntry(Q, fL), StringEntry(x(), fH), StringEntry(do, fI), StringEntry(bh, cy), StringEntry(ex, fJ)] | |
818 | 818 | } | |
819 | 819 | ||
820 | 820 | ||
821 | 821 | ||
822 | 822 | @Callable(fG) | |
823 | 823 | func constructorV2 (fM) = if ((fG.caller != this)) | |
824 | 824 | then throw("Permission denied") | |
825 | 825 | else [StringEntry(w(), fM)] | |
826 | 826 | ||
827 | 827 | ||
828 | 828 | ||
829 | 829 | @Callable(fG) | |
830 | 830 | func buyWlg (fN) = { | |
831 | 831 | let fO = eA() | |
832 | 832 | if ((fO == fO)) | |
833 | 833 | then if ((size(fG.payments) != 1)) | |
834 | 834 | then throw("exactly 1 payment must be attached") | |
835 | 835 | else { | |
836 | 836 | let fP = fG.payments[0] | |
837 | 837 | let fQ = fP.amount | |
838 | 838 | if (if (!(isDefined(fP.assetId))) | |
839 | 839 | then true | |
840 | 840 | else (value(fP.assetId) != k)) | |
841 | 841 | then throw("USDT payments only!") | |
842 | 842 | else { | |
843 | 843 | let eP = fG.caller | |
844 | 844 | let P = toString(eP) | |
845 | 845 | if ((d > fQ)) | |
846 | 846 | then throw((("You can trade min " + ax(d, 6)) + " USDT")) | |
847 | 847 | else { | |
848 | 848 | let eR = eg("", [J, K, L, M, N], k, fQ) | |
849 | 849 | let fR = eR[ae] | |
850 | 850 | let fS = eR[ag] | |
851 | 851 | let fT = fraction(fS, 6, 5, CEILING) | |
852 | 852 | let fU = fraction(fQ, c, fT) | |
853 | 853 | let fV = eB(P) | |
854 | 854 | if ((fU > fV)) | |
855 | 855 | then throw((("You can get max " + ax(fV, 8)) + " WLGOLD at the moment")) | |
856 | 856 | else if ((fN > fU)) | |
857 | 857 | then throw("Price changed during operation, please try again") | |
858 | 858 | else { | |
859 | 859 | let fW = (fQ / 6) | |
860 | 860 | $Tuple2([Reissue(R, fU, true), IntegerEntry(bt, (fR + fU)), IntegerEntry(bo(P), lastBlock.timestamp), IntegerEntry(bp(P), (fV - fU)), ScriptTransfer(addressFromStringValue(value(getString(ex))), fW, k), ScriptTransfer(eP, fU, R)], fO) | |
861 | 861 | } | |
862 | 862 | } | |
863 | 863 | } | |
864 | 864 | } | |
865 | 865 | else throw("Strict value is not equal to itself.") | |
866 | 866 | } | |
867 | 867 | ||
868 | 868 | ||
869 | 869 | ||
870 | 870 | @Callable(fG) | |
871 | 871 | func buyWlgREADONLY (p,fQ) = { | |
872 | 872 | let eR = eg("", [J, K, L, M, N], k, fQ) | |
873 | 873 | let fS = eR[ag] | |
874 | 874 | let fT = fraction(fS, 6, 5, CEILING) | |
875 | 875 | let fU = fraction(fQ, c, fT) | |
876 | 876 | let fV = eB(p) | |
877 | 877 | let fX = fraction(fV, fT, c) | |
878 | 878 | let fW = (fQ / 6) | |
879 | 879 | $Tuple2(nil, [fU, d, fX, fW]) | |
880 | 880 | } | |
881 | 881 | ||
882 | 882 | ||
883 | 883 | ||
884 | 884 | @Callable(fG) | |
885 | 885 | func sellWlg (fY) = { | |
886 | 886 | let fO = eA() | |
887 | 887 | if ((fO == fO)) | |
888 | 888 | then if ((size(fG.payments) != 1)) | |
889 | 889 | then throw("exactly 1 payment must be attached") | |
890 | 890 | else { | |
891 | 891 | let fP = fG.payments[0] | |
892 | 892 | let fZ = fP.amount | |
893 | 893 | let eP = fG.caller | |
894 | 894 | let P = toString(eP) | |
895 | 895 | let fV = eB(P) | |
896 | 896 | if ((fZ > fV)) | |
897 | 897 | then throw((("You can spend max " + ax(fV, 8)) + " WLGOLD at the moment")) | |
898 | 898 | else if (if (!(isDefined(fP.assetId))) | |
899 | 899 | then true | |
900 | 900 | else (value(fP.assetId) != R)) | |
901 | 901 | then throw("WLGOLD payments only!") | |
902 | 902 | else { | |
903 | 903 | let eR = eg("", [J, K, L, M, N], k, 0) | |
904 | 904 | let fR = eR[ae] | |
905 | 905 | let ga = (eR[ag] / 2) | |
906 | 906 | let fQ = fraction(fZ, ga, c) | |
907 | 907 | if ((d > fQ)) | |
908 | 908 | then throw((("You can trade min " + ax(d, 6)) + " USDT")) | |
909 | 909 | else if ((fY > fQ)) | |
910 | 910 | then throw("Price changed during operation, please try again") | |
911 | 911 | else { | |
912 | 912 | let fW = (fQ / 5) | |
913 | 913 | $Tuple2([Burn(R, fZ), IntegerEntry(bt, (fR - fZ)), IntegerEntry(bo(P), lastBlock.timestamp), IntegerEntry(bp(P), (fV - fZ)), ScriptTransfer(addressFromStringValue(value(getString(ex))), fW, k), ScriptTransfer(eP, fQ, k)], fO) | |
914 | 914 | } | |
915 | 915 | } | |
916 | 916 | } | |
917 | 917 | else throw("Strict value is not equal to itself.") | |
918 | 918 | } | |
919 | 919 | ||
920 | 920 | ||
921 | 921 | ||
922 | 922 | @Callable(fG) | |
923 | 923 | func sellWlgREADONLY (p,fZ) = { | |
924 | 924 | let fV = eB(p) | |
925 | 925 | let eR = eg("", [J, K, L, M, N], k, 0) | |
926 | 926 | let ga = (eR[ag] / 2) | |
927 | 927 | let fQ = fraction(fZ, ga, c) | |
928 | 928 | let gb = fraction(d, c, ga) | |
929 | 929 | let fW = (fQ / 5) | |
930 | 930 | $Tuple2(nil, [fQ, gb, fV, fW]) | |
931 | 931 | } | |
932 | 932 | ||
933 | 933 | ||
934 | 934 | ||
935 | 935 | @Callable(fG) | |
936 | 936 | func claim () = { | |
937 | 937 | let fO = eA() | |
938 | 938 | if ((fO == fO)) | |
939 | 939 | then if ((size(fG.payments) != 0)) | |
940 | 940 | then throw("No payments required") | |
941 | 941 | else { | |
942 | 942 | let gc = eX(toString(fG.caller)) | |
943 | 943 | let gd = gc._1 | |
944 | 944 | let ge = gc._2 | |
945 | 945 | $Tuple2((gd :+ ScriptTransfer(fG.caller, ge, R)), fO) | |
946 | 946 | } | |
947 | 947 | else throw("Strict value is not equal to itself.") | |
948 | 948 | } | |
949 | 949 | ||
950 | 950 | ||
951 | 951 | ||
952 | 952 | @Callable(fG) | |
953 | - | func onStakeUnstakeLand (P | |
953 | + | func onStakeUnstakeLand (P) = if (if (if ((fG.caller != H)) | |
954 | 954 | then (fG.caller != I) | |
955 | 955 | else false) | |
956 | 956 | then (fG.caller != K) | |
957 | 957 | else false) | |
958 | 958 | then throw("Permission denied") | |
959 | 959 | else { | |
960 | - | let gg = if (gf) | |
961 | - | then eX(P) | |
962 | - | else eO(P) | |
963 | - | let gd = gg._1 | |
964 | - | let ge = gg._2 | |
965 | - | $Tuple2(if ((ge > 0)) | |
966 | - | then (gd :+ ScriptTransfer(addressFromStringValue(P), ge, R)) | |
967 | - | else if (gf) | |
968 | - | then gd | |
969 | - | else nil, ge) | |
960 | + | let gf = eX(P) | |
961 | + | if ((gf == gf)) | |
962 | + | then { | |
963 | + | let ge = gf._2 | |
964 | + | let gd = gf._1 | |
965 | + | $Tuple2(if ((ge > 0)) | |
966 | + | then (gd :+ ScriptTransfer(addressFromStringValue(P), ge, R)) | |
967 | + | else gd, ge) | |
968 | + | } | |
969 | + | else throw("Strict value is not equal to itself.") | |
970 | + | } | |
971 | + | ||
972 | + | ||
973 | + | ||
974 | + | @Callable(fG) | |
975 | + | func onStakeUnstakeLandOld (P) = if (if (if ((fG.caller != H)) | |
976 | + | then (fG.caller != I) | |
977 | + | else false) | |
978 | + | then (fG.caller != K) | |
979 | + | else false) | |
980 | + | then throw("Permission denied") | |
981 | + | else { | |
982 | + | let gg = eO(P) | |
983 | + | if ((gg == gg)) | |
984 | + | then { | |
985 | + | let ge = gg._2 | |
986 | + | let gd = gg._1 | |
987 | + | $Tuple2(if ((ge > 0)) | |
988 | + | then (gd :+ ScriptTransfer(addressFromStringValue(P), ge, R)) | |
989 | + | else nil, ge) | |
990 | + | } | |
991 | + | else throw("Strict value is not equal to itself.") | |
970 | 992 | } | |
971 | 993 | ||
972 | 994 | ||
973 | 995 | ||
974 | 996 | @Callable(fG) | |
975 | 997 | func burnWlgold (fZ) = if ((fG.caller != K)) | |
976 | 998 | then throw("Permission denied") | |
977 | 999 | else { | |
978 | 1000 | let eR = eg("", [J, K, L, M, N], k, 0) | |
979 | 1001 | if ((fZ > eR[af])) | |
980 | 1002 | then throw(((("Only " + ax(eR[af], 8)) + " WLGOLD left on contract, can't burn ") + ax(fZ, 8))) | |
981 | 1003 | else { | |
982 | 1004 | let gh = (eR[ae] - fZ) | |
983 | 1005 | $Tuple2([Burn(R, fZ), IntegerEntry(bt, gh)], gh) | |
984 | 1006 | } | |
985 | 1007 | } | |
986 | 1008 | ||
987 | 1009 | ||
988 | 1010 | ||
989 | 1011 | @Callable(fG) | |
990 | 1012 | func betForTicket (gi) = { | |
991 | 1013 | let fO = eA() | |
992 | 1014 | if ((fO == fO)) | |
993 | 1015 | then if ((size(fG.payments) != 0)) | |
994 | 1016 | then throw("No payments required") | |
995 | 1017 | else { | |
996 | 1018 | let P = toString(fG.caller) | |
997 | 1019 | let fl = ((height / i) - 1) | |
998 | 1020 | let fo = valueOrElse(getInteger(T(P, fl)), 0) | |
999 | 1021 | let fp = valueOrElse(getInteger(V(fl)), 0) | |
1000 | 1022 | if (if ((fo > 0)) | |
1001 | 1023 | then (fp > 0) | |
1002 | 1024 | else false) | |
1003 | 1025 | then throw("Please open the chest first") | |
1004 | 1026 | else if (((gi / 4) != 0)) | |
1005 | 1027 | then throw("Invalid bet: should be 0..3") | |
1006 | 1028 | else { | |
1007 | 1029 | let gj = (height % g) | |
1008 | 1030 | if ((gj > (g - 3))) | |
1009 | 1031 | then throw((("Cannot bet: the day is almost ended, please wait " + toString((g - gj))) + " blocks")) | |
1010 | 1032 | else { | |
1011 | 1033 | let gk = valueOrElse(getInteger(K, dB(P)), 0) | |
1012 | 1034 | if ((dK > gk)) | |
1013 | 1035 | then throw((("You need to stake at least " + ax(dK, 8)) + " ACRES to bet")) | |
1014 | 1036 | else { | |
1015 | 1037 | let gl = ((height / g) + 1) | |
1016 | 1038 | let gm = S(P) | |
1017 | 1039 | let gn = getString(gm) | |
1018 | 1040 | let go = StringEntry(gm, ((toString(gl) + "_") + toString(gi))) | |
1019 | 1041 | if (isDefined(gn)) | |
1020 | 1042 | then { | |
1021 | 1043 | let gp = value(gn) | |
1022 | 1044 | if ((split(gp, "_")[0] == toString(gl))) | |
1023 | 1045 | then throw("You already bet for tomorrow") | |
1024 | 1046 | else { | |
1025 | 1047 | let gq = fz(P, gp) | |
1026 | 1048 | $Tuple2((gq._1 :+ go), gq._2) | |
1027 | 1049 | } | |
1028 | 1050 | } | |
1029 | 1051 | else $Tuple2([go], 0) | |
1030 | 1052 | } | |
1031 | 1053 | } | |
1032 | 1054 | } | |
1033 | 1055 | } | |
1034 | 1056 | else throw("Strict value is not equal to itself.") | |
1035 | 1057 | } | |
1036 | 1058 | ||
1037 | 1059 | ||
1038 | 1060 | ||
1039 | 1061 | @Callable(fG) | |
1040 | 1062 | func takeWlgXp (P) = if ((fG.caller != H)) | |
1041 | 1063 | then throw("Permission denied") | |
1042 | 1064 | else { | |
1043 | 1065 | let gr = fe(P, 0) | |
1044 | 1066 | let gd = gr._1 | |
1045 | 1067 | let aR = gr._2 | |
1046 | 1068 | $Tuple2(gd, aR) | |
1047 | 1069 | } | |
1048 | 1070 | ||
1049 | 1071 | ||
1050 | 1072 | ||
1051 | 1073 | @Callable(fG) | |
1052 | 1074 | func checkWlgXpREADONLY (P) = { | |
1053 | 1075 | let gs = fe(P, 0) | |
1054 | 1076 | let gt = gs._1 | |
1055 | 1077 | let gu = gs._2 | |
1056 | 1078 | let aU = (valueOrElse(getInteger(H, aN(P)), 0) + gu) | |
1057 | 1079 | let gv = aS(valueOrElse(getInteger(H, aO(P)), 0), aU) | |
1058 | 1080 | $Tuple2(nil, (gv :+ aU)) | |
1059 | 1081 | } | |
1060 | 1082 | ||
1061 | 1083 | ||
1062 | 1084 | ||
1063 | 1085 | @Callable(fG) | |
1064 | 1086 | func setNumPrizes (fm) = if ((fG.caller != this)) | |
1065 | 1087 | then throw("Permission denied") | |
1066 | 1088 | else { | |
1067 | 1089 | let U = (height / i) | |
1068 | 1090 | $Tuple2([IntegerEntry(X(U), fm)], fm) | |
1069 | 1091 | } | |
1070 | 1092 | ||
1071 | 1093 | ||
1072 | 1094 | ||
1073 | 1095 | @Callable(fG) | |
1074 | 1096 | func openChest () = { | |
1075 | 1097 | let fO = eA() | |
1076 | 1098 | if ((fO == fO)) | |
1077 | 1099 | then if ((size(fG.payments) != 0)) | |
1078 | 1100 | then throw("No payments required") | |
1079 | 1101 | else { | |
1080 | 1102 | let fl = ((height / i) - 1) | |
1081 | 1103 | let P = toString(fG.caller) | |
1082 | 1104 | let fo = valueOrElse(getInteger(T(P, fl)), 0) | |
1083 | 1105 | if ((0 >= fo)) | |
1084 | 1106 | then throw("No gems to open the chest") | |
1085 | 1107 | else fk(P) | |
1086 | 1108 | } | |
1087 | 1109 | else throw("Strict value is not equal to itself.") | |
1088 | 1110 | } | |
1089 | 1111 | ||
1090 | 1112 | ||
1091 | 1113 | ||
1092 | 1114 | @Callable(fG) | |
1093 | 1115 | func addGemsFor (P,fD) = if ((fG.caller != this)) | |
1094 | 1116 | then throw("Permission denied") | |
1095 | 1117 | else { | |
1096 | 1118 | let U = (height / i) | |
1097 | 1119 | let fw = T(P, U) | |
1098 | 1120 | let fC = valueOrElse(getInteger(V(U)), 0) | |
1099 | 1121 | let fx = valueOrElse(getInteger(fw), 0) | |
1100 | 1122 | let fE = valueOrElse(getInteger(W(U)), 0) | |
1101 | 1123 | let fF = if (if ((fx == 0)) | |
1102 | 1124 | then (fD == 1) | |
1103 | 1125 | else false) | |
1104 | 1126 | then [IntegerEntry(W(U), (fE + 1))] | |
1105 | 1127 | else nil | |
1106 | 1128 | $Tuple2(((fF :+ IntegerEntry(fw, (fx + fD))) :+ IntegerEntry(V(U), (fC + fD))), fD) | |
1107 | 1129 | } | |
1108 | 1130 | ||
1109 | 1131 |
github/deemru/w8io/169f3d6 147.36 ms ◑