tx · B6tY7jQBcjiCQhjKLqgPBb4xFLdeFqtx8WyjCQ3xo2U 3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy: -0.02700000 Waves 2024.11.28 21:25 [3391643] smart account 3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy > SELF 0.00000000 Waves
{ "type": 13, "id": "B6tY7jQBcjiCQhjKLqgPBb4xFLdeFqtx8WyjCQ3xo2U", "fee": 2700000, "feeAssetId": null, "timestamp": 1732818341155, "version": 2, "chainId": 84, "sender": "3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy", "senderPublicKey": "FsR18761ZAsUqsTd7TK3XmR6bhihs1UXVmpHYxz5JzQ1", "proofs": [ "4mhiBwSiZjtB7jSUwRTmgk6FTWtr9rRDQcHqExjfpkD13whc3z48fR2DcFqzScBq9avGm5YXjj1XMw6Dcwe83vWc" ], "script": "base64:BgJNCAISBgoECAgICBIDCgEIEgMKAQESBAoCCAESAwoBARIECgIIARIAEgMKAQgSAwoBARIDCgEBEgMKAQgSAwoBCBIDCgEBEgASBAoCCAGVAQADU0VQAgJfXwAFTVVMVDYAwIQ9AAVNVUxUOACAwtcvAA5NSU5TSE9QUEFZTUVOVACgjQYACkRBWV9NSUxMSVMAgLiZKQAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEACkRBWV9CTE9DS1MEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAAoAsDCQAAAgEBVAUHJG1hdGNoMAA8CQACAQINVW5rbm93biBjaGFpbgALV0VFS19CTE9DS1MEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAA4E4DCQAAAgEBVAUHJG1hdGNoMAC0AQkAAgECDVVua25vd24gY2hhaW4AClZSRl9PRkZTRVQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAAAAMJAAACAQFUBQckbWF0Y2gwAJD5RQkAAgECDVVua25vd24gY2hhaW4AC3VzZH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2V5CQESa2V5VXNlcldlZWtUaWNrZXRzAgUEYWRkcgUEd2VlawQPb2xkVG90YWxUaWNrZXRzCQELdmFsdWVPckVsc2UCCQCfCAEJARNrZXlUb3RhbFdlZWtUaWNrZXRzAQUEd2VlawAABApvbGRUaWNrZXRzCQELdmFsdWVPckVsc2UCCQCfCAEFCnRpY2tldHNLZXkAAAQPb2xkUGFydGljaXBhbnRzCQELdmFsdWVPckVsc2UCCQCfCAEJARhrZXlUb3RhbFdlZWtQYXJ0aWNpcGFudHMBBQR3ZWVrAAAEEnVwZGF0ZVBhcnRpY2lwYW50cwMDCQAAAgUKb2xkVGlja2V0cwAACQAAAgUMZGVsdGFUaWNrZXRzAAEHCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQEYa2V5VG90YWxXZWVrUGFydGljaXBhbnRzAQUEd2VlawkAZAIFD29sZFBhcnRpY2lwYW50cwABBQNuaWwFA25pbAkAlAoCCQDNCAIJAM0IAgUSdXBkYXRlUGFydGljaXBhbnRzCQEMSW50ZWdlckVudHJ5AgUKdGlja2V0c0tleQkAZAIFCm9sZFRpY2tldHMFDGRlbHRhVGlja2V0cwkBDEludGVnZXJFbnRyeQIJARNrZXlUb3RhbFdlZWtUaWNrZXRzAQUEd2VlawkAZAIFD29sZFRvdGFsVGlja2V0cwUMZGVsdGFUaWNrZXRzBQxkZWx0YVRpY2tldHMAoxMUbw==", "height": 3391643, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GyfXV9FxeaAcrbJEEYs6RTEeWs11oXnFKt7BDruDpqQd Next: 71o1dh37JKXbjNP4Nb79EJGzpqAXzHfNFRqGCdgDZEH9 Diff:
Old | New | Differences | |
---|---|---|---|
572 | 572 | else { | |
573 | 573 | let es = (aC(9, (base58'29' + aE), aF) + 1) | |
574 | 574 | let et = fraction(em, es, 10) | |
575 | - | $Tuple2([DeleteEntry(S(O, ej)), IntegerEntry(S(O, T), et)], et) | |
575 | + | $Tuple2([DeleteEntry(S(O, ej)), IntegerEntry(U(T), (valueOrElse(getInteger(U(T)), 0) + et)), IntegerEntry(S(O, T), (valueOrElse(getInteger(S(O, T)), 0) + et))], et) | |
576 | 576 | } | |
577 | 577 | } | |
578 | 578 | } |
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 | func n (o,p) = valueOrErrorMessage(getString(o, p), makeString(["mandatory ", toString(o), ".", p, " is not defined"], "")) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | let q = 1 | |
74 | 74 | ||
75 | 75 | let r = 2 | |
76 | 76 | ||
77 | 77 | let s = 4 | |
78 | 78 | ||
79 | 79 | let t = 5 | |
80 | 80 | ||
81 | 81 | func u () = "%s__restConfig" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func v () = "%s__rest2Addr" | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func w () = "%s__restAddr" | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | let x = addressFromStringValue(valueOrElse(getString(this, w()), m)) | |
91 | 91 | ||
92 | 92 | func y (z) = split_4C(n(z, u()), a) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func A (B,C) = valueOrErrorMessage(addressFromString(B[C]), ("Rest cfg doesn't contain address at index " + toString(C))) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | let D = 1 | |
99 | 99 | ||
100 | 100 | let E = 8 | |
101 | 101 | ||
102 | 102 | let F = y(x) | |
103 | 103 | ||
104 | 104 | let G = A(F, D) | |
105 | 105 | ||
106 | 106 | let H = A(F, E) | |
107 | 107 | ||
108 | 108 | let I = addressFromStringValue(valueOrElse(getString(this, v()), l)) | |
109 | 109 | ||
110 | 110 | let B = y(I) | |
111 | 111 | ||
112 | 112 | let J = A(B, q) | |
113 | 113 | ||
114 | 114 | let K = A(B, r) | |
115 | 115 | ||
116 | 116 | let L = A(B, s) | |
117 | 117 | ||
118 | 118 | let M = A(B, t) | |
119 | 119 | ||
120 | 120 | func N (O) = ("lastWeekTxIdByUser_" + O) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | let P = "wlg_assetId" | |
124 | 124 | ||
125 | 125 | let Q = valueOrErrorMessage(getBinary(K, P), "WLGOLD is not issued yet") | |
126 | 126 | ||
127 | 127 | func R (O) = ("userBet_" + O) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func S (O,T) = ((("userWeekTickets_" + O) + "_") + toString(T)) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func U (T) = ("totalWeekTickets_" + toString(T)) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func V (T) = ("totalWeekParticipants_" + toString(T)) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func W (T) = ("numNFT2Draw_" + toString(T)) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func X (T) = ("numNFTDrawn_" + toString(T)) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func Y (T) = ("weekWinners_" + toString(T)) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func Z (aa) = { | |
149 | 149 | let ab = (aa * g) | |
150 | 150 | let ac = if ((ab > j)) | |
151 | 151 | then ab | |
152 | 152 | else (ab + j) | |
153 | 153 | (toInt(value(value(blockInfoByHeight(ac)).vrf)) % 4) | |
154 | 154 | } | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | let ad = 0 | |
158 | 158 | ||
159 | 159 | let ae = 1 | |
160 | 160 | ||
161 | 161 | let af = 2 | |
162 | 162 | ||
163 | 163 | let ag = 8 | |
164 | 164 | ||
165 | 165 | let ah = 11 | |
166 | 166 | ||
167 | 167 | let ai = 12 | |
168 | 168 | ||
169 | 169 | let aj = 15 | |
170 | 170 | ||
171 | 171 | let ak = 16 | |
172 | 172 | ||
173 | 173 | let al = 19 | |
174 | 174 | ||
175 | 175 | let am = 23 | |
176 | 176 | ||
177 | 177 | let an = 24 | |
178 | 178 | ||
179 | 179 | let ao = 25 | |
180 | 180 | ||
181 | 181 | let ap = 26 | |
182 | 182 | ||
183 | 183 | let aq = 27 | |
184 | 184 | ||
185 | 185 | let ar = 28 | |
186 | 186 | ||
187 | 187 | let as = 29 | |
188 | 188 | ||
189 | 189 | func at (au) = { | |
190 | 190 | let h = au | |
191 | 191 | if ($isInstanceOf(h, "Int")) | |
192 | 192 | then { | |
193 | 193 | let av = h | |
194 | 194 | av | |
195 | 195 | } | |
196 | 196 | else throw("fail to cast into Int") | |
197 | 197 | } | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | func aw (ax,ay) = { | |
201 | 201 | let az = pow(10, 0, ay, 0, 0, DOWN) | |
202 | 202 | let aA = toString((ax % az)) | |
203 | 203 | let aB = drop(toString(az), (1 + size(aA))) | |
204 | 204 | (((toString((ax / az)) + ".") + aB) + aA) | |
205 | 205 | } | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func aC (aD,aE,aF) = if ((0 >= aD)) | |
209 | 209 | then throw("maxValue should be > 0") | |
210 | 210 | else { | |
211 | 211 | let aG = sha256_16Kb((aE + aF)) | |
212 | 212 | (toInt(aG) % aD) | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | let aH = 100000000 | |
217 | 217 | ||
218 | 218 | let aI = 3200 | |
219 | 219 | ||
220 | 220 | let aJ = 4000 | |
221 | 221 | ||
222 | 222 | let aK = 3 | |
223 | 223 | ||
224 | 224 | let aL = 100000000000 | |
225 | 225 | ||
226 | 226 | func aM (O) = ("userXP_" + O) | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | func aN (O) = ("userLevel_" + O) | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | let aO = 10000 | |
233 | 233 | ||
234 | 234 | func aP (aQ) = fraction(aI, pow(aQ, 4, aJ, 4, 4, DOWN), aH) | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func aR (aS,aT) = { | |
238 | 238 | let aU = aP(aT) | |
239 | 239 | [aU, (aK * (aU - aS))] | |
240 | 240 | } | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | let aV = 100000000000000 | |
244 | 244 | ||
245 | 245 | let aW = 400000 | |
246 | 246 | ||
247 | 247 | let aX = 86400000 | |
248 | 248 | ||
249 | 249 | let aY = "teamAddr" | |
250 | 250 | ||
251 | 251 | let aZ = "lastClaimedTime_team" | |
252 | 252 | ||
253 | 253 | let ba = "teamAmountLeft" | |
254 | 254 | ||
255 | 255 | let bb = "lastClaimedTime_activities" | |
256 | 256 | ||
257 | 257 | let bc = "activitiesAmountLeft" | |
258 | 258 | ||
259 | 259 | let bd = "stakersAmountLeft" | |
260 | 260 | ||
261 | 261 | func be (O) = ("lastArbTimeUser_" + O) | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | func bf (O) = ("lastWlgLimitUser_" + O) | |
265 | 265 | ||
266 | 266 | ||
267 | 267 | let bg = "wlg_issueTime" | |
268 | 268 | ||
269 | 269 | let bh = "wlg_issuedAmount" | |
270 | 270 | ||
271 | 271 | func bi (O) = ("acresStakedAmountByUser_" + O) | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func bj (O) = ("wlgStakedAmountByUser_" + O) | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | let bk = "wlgStakedAmountTotal" | |
278 | 278 | ||
279 | 279 | func bl (O) = ("wlgStakedTimeByUser_" + O) | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | let bm = 1000000 | |
283 | 283 | ||
284 | 284 | let bn = 100000000 | |
285 | 285 | ||
286 | 286 | let bo = 200000 | |
287 | 287 | ||
288 | 288 | let bp = 100000 | |
289 | 289 | ||
290 | 290 | let bq = 400000 | |
291 | 291 | ||
292 | 292 | let br = 31557600000 | |
293 | 293 | ||
294 | 294 | let bs = 86400000 | |
295 | 295 | ||
296 | 296 | let bt = 1000000000 | |
297 | 297 | ||
298 | 298 | let bu = 800000 | |
299 | 299 | ||
300 | 300 | let bv = 100000 | |
301 | 301 | ||
302 | 302 | let bw = 100000 | |
303 | 303 | ||
304 | 304 | let bx = 1731279600000 | |
305 | 305 | ||
306 | 306 | let by = "marketingAddr" | |
307 | 307 | ||
308 | 308 | let bz = "teamAddr" | |
309 | 309 | ||
310 | 310 | let bA = "lastClaimedTime_team" | |
311 | 311 | ||
312 | 312 | let bB = "teamAmountLeft" | |
313 | 313 | ||
314 | 314 | let bC = "lastClaimedTime_activities" | |
315 | 315 | ||
316 | 316 | let bD = "activitiesAmountLeft" | |
317 | 317 | ||
318 | 318 | let bE = "stakersAmountLeft" | |
319 | 319 | ||
320 | 320 | func bF (O) = ("lastClaimedTimeUser_" + O) | |
321 | 321 | ||
322 | 322 | ||
323 | 323 | func bG (bH,bI) = fraction(bH, (bq * (bI + 1)), (6 * bm)) | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | let bJ = "wlg_issue10Time" | |
327 | 327 | ||
328 | 328 | let bK = "wlg_issueTime" | |
329 | 329 | ||
330 | 330 | let bL = "wlg_issuedAmount" | |
331 | 331 | ||
332 | 332 | let bM = "zbill_issuedAmount" | |
333 | 333 | ||
334 | 334 | func bN (O) = ("acresStakedAmountByUser_" + O) | |
335 | 335 | ||
336 | 336 | ||
337 | 337 | let bO = "acresStakedAmountTotal" | |
338 | 338 | ||
339 | 339 | let bP = "totalFarmingPower" | |
340 | 340 | ||
341 | 341 | let bQ = 0 | |
342 | 342 | ||
343 | 343 | let bR = 1 | |
344 | 344 | ||
345 | 345 | let bS = 2 | |
346 | 346 | ||
347 | 347 | let bT = 3 | |
348 | 348 | ||
349 | 349 | let bU = 4 | |
350 | 350 | ||
351 | 351 | let bV = 1 | |
352 | 352 | ||
353 | 353 | let bW = 5 | |
354 | 354 | ||
355 | 355 | let bX = 100000000 | |
356 | 356 | ||
357 | 357 | let bY = "nftTotalIssued" | |
358 | 358 | ||
359 | 359 | let bZ = "nftTotalBurned" | |
360 | 360 | ||
361 | 361 | let ca = "WlNftTotalStaked" | |
362 | 362 | ||
363 | 363 | func cb (O) = ("userWlNftNumber_" + O) | |
364 | 364 | ||
365 | 365 | ||
366 | 366 | func cc (O) = ("userFullBonus_" + O) | |
367 | 367 | ||
368 | 368 | ||
369 | 369 | let cd = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000] | |
370 | 370 | ||
371 | 371 | func ce (cf) = { | |
372 | 372 | let cg = ((cf + 99999999) / bn) | |
373 | 373 | func ch (ci,cj) = if ((cj >= cg)) | |
374 | 374 | then ci | |
375 | 375 | else (ci + 1) | |
376 | 376 | ||
377 | 377 | let ck = cd | |
378 | 378 | let cl = size(ck) | |
379 | 379 | let cm = 0 | |
380 | 380 | func cn (co,cp) = if ((cp >= cl)) | |
381 | 381 | then co | |
382 | 382 | else ch(co, ck[cp]) | |
383 | 383 | ||
384 | 384 | func cq (co,cp) = if ((cp >= cl)) | |
385 | 385 | then co | |
386 | 386 | else throw("List size exceeds 10") | |
387 | 387 | ||
388 | 388 | cq(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cm, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
389 | 389 | } | |
390 | 390 | ||
391 | 391 | ||
392 | 392 | func cr (cf) = ((cf * 20) * (ce(cf) + 4)) | |
393 | 393 | ||
394 | 394 | ||
395 | 395 | func cs (cf,ct) = { | |
396 | 396 | let cu = cr(cf) | |
397 | 397 | $Tuple2(fraction(cu, (bm + ct), bm), cu) | |
398 | 398 | } | |
399 | 399 | ||
400 | 400 | ||
401 | 401 | func cv (cw,J) = { | |
402 | 402 | let cx = valueOrElse(getInteger(J, bP), 0) | |
403 | 403 | let cy = valueOrElse(getInteger(J, bN(cw)), 0) | |
404 | 404 | let cz = valueOrElse(getInteger(J, cc(cw)), 0) | |
405 | 405 | let cA = cs(cy, cz) | |
406 | 406 | let cB = cA._1 | |
407 | 407 | let cC = cA._2 | |
408 | 408 | [cx, cB, cC, cz] | |
409 | 409 | } | |
410 | 410 | ||
411 | 411 | ||
412 | 412 | let cD = 0 | |
413 | 413 | ||
414 | 414 | let cE = 1 | |
415 | 415 | ||
416 | 416 | func cF (cG,cH,cI,cJ) = { | |
417 | 417 | let bH = valueOrErrorMessage(getInteger(cH[bS], bL), "WLGOLD is not issued yet") | |
418 | 418 | let cK = assetBalance(cH[bQ], cI) | |
419 | 419 | let cL = (assetBalance(cH[bS], cI) - cJ) | |
420 | 420 | let cM = assetBalance(cH[bT], cI) | |
421 | 421 | let cN = assetBalance(cH[bR], cI) | |
422 | 422 | let cO = cH[bU] | |
423 | 423 | let cP = (assetBalance(cO, cI) + valueOrElse(getInteger(cO, bM), 0)) | |
424 | 424 | let cQ = ((cN + cL) + cP) | |
425 | 425 | let cR = valueOrErrorMessage(getBinary(cH[bS], "wlg_assetId"), "Not initialized yet") | |
426 | 426 | let cS = lastBlock.timestamp | |
427 | 427 | let cT = valueOrErrorMessage(getInteger(cH[bS], bK), "Not initialized") | |
428 | 428 | let cU = assetBalance(cH[bS], cR) | |
429 | 429 | let cV = fraction(bH, bo, bm) | |
430 | 430 | let cW = valueOrElse(getInteger(cH[bS], bB), cV) | |
431 | 431 | let cX = valueOrElse(getInteger(cH[bS], bA), cT) | |
432 | 432 | let cY = addressFromStringValue(value(getString(cH[bS], bz))) | |
433 | 433 | let cZ = min([fraction(cV, (cS - cX), (3 * br)), cW]) | |
434 | 434 | let da = assetBalance(cY, cR) | |
435 | 435 | let db = fraction(bH, bp, bm) | |
436 | 436 | let dc = valueOrElse(getInteger(cH[bS], bD), db) | |
437 | 437 | let dd = valueOrElse(getInteger(cH[bS], bC), cT) | |
438 | 438 | let de = min([fraction(db, (cS - dd), (3 * br)), dc]) | |
439 | 439 | let df = assetBalance(cH[bQ], cR) | |
440 | 440 | let dg = valueOrElse(getInteger(cH[bS], bF(cG)), cT) | |
441 | 441 | let dh = ((dg - cT) / br) | |
442 | 442 | let di = min([cS, (cT + (3 * br))]) | |
443 | 443 | let dj = min([((cS - cT) / br), 2]) | |
444 | 444 | let dk = cv(cG, cH[bR]) | |
445 | 445 | let dl = bG(bH, dj) | |
446 | 446 | let dm = (cT + (br * dj)) | |
447 | 447 | let dn = (cT + (br * (dj - 1))) | |
448 | 448 | let do = fraction(dl, (di - dg), br) | |
449 | 449 | let dp = if ((dh == dj)) | |
450 | 450 | then do | |
451 | 451 | else if ((dh == (dj - 1))) | |
452 | 452 | then { | |
453 | 453 | let dq = fraction(bG(bH, (dj - 1)), (dm - dg), br) | |
454 | 454 | (dq + do) | |
455 | 455 | } | |
456 | 456 | else { | |
457 | 457 | let dr = fraction(bG(bH, (dj - 2)), (dn - dg), br) | |
458 | 458 | let dq = bG(bH, (dj - 1)) | |
459 | 459 | ((dr + dq) + do) | |
460 | 460 | } | |
461 | 461 | let ds = valueOrElse(getInteger(cH[bS], bE), 0) | |
462 | 462 | let dt = if ((dk[cD] != 0)) | |
463 | 463 | then fraction(dp, dk[cE], dk[cD]) | |
464 | 464 | else 0 | |
465 | 465 | let du = valueOrElse(getInteger(cH[bS], bJ), bx) | |
466 | 466 | let dv = fraction(bt, max([(cS - du), 0]), bs) | |
467 | 467 | let dw = fraction(dv, bv, bm) | |
468 | 468 | let dx = fraction(dv, bw, bm) | |
469 | 469 | let dy = max([(cS - max([bx, dg])), 0]) | |
470 | 470 | let dz = if ((dk[cD] != 0)) | |
471 | 471 | then fraction(fraction(fraction(bt, dy, bs), dk[cE], dk[cD]), bu, bm) | |
472 | 472 | else 0 | |
473 | 473 | let dA = max([bx, cS]) | |
474 | 474 | let dB = valueOrElse(getInteger(cH[bR], bO), 0) | |
475 | 475 | let dC = valueOrElse(getInteger(cH[bR], bY), 0) | |
476 | 476 | let dD = valueOrElse(getInteger(cH[bR], bZ), 0) | |
477 | 477 | let dE = valueOrElse(getInteger(cH[bR], ca), 0) | |
478 | 478 | let dF = valueOrElse(getInteger(cH[bR], cb(valueOrElse(cG, ""))), 0) | |
479 | 479 | [bH, cU, fraction(cQ, bn, bH), cQ, cK, cN, cL, cM, cT, cX, cV, cW, cZ, da, db, dc, de, df, dj, ds, dl, dg, cP, dt, di, dv, dw, dx, dz, dA, dk[cD], dB, dC, dD, dE, dF] | |
480 | 480 | } | |
481 | 481 | ||
482 | 482 | ||
483 | 483 | let dG = "profitAddr" | |
484 | 484 | ||
485 | 485 | let dH = "stakersAmountPaidTotal" | |
486 | 486 | ||
487 | 487 | func dI (O) = ("stakersAmountPaidUser_" + O) | |
488 | 488 | ||
489 | 489 | ||
490 | 490 | func dJ () = at(reentrantInvoke(J, "saveLastTx", nil, nil)) | |
491 | 491 | ||
492 | 492 | ||
493 | 493 | func dK (O) = { | |
494 | 494 | let dL = valueOrElse(getInteger(be(O)), 0) | |
495 | 495 | let dM = valueOrElse(getInteger(J, bi(O)), 0) | |
496 | 496 | let dN = valueOrElse(getInteger(bf(O)), dM) | |
497 | 497 | let dO = (dN + fraction(dM, (lastBlock.timestamp - dL), e)) | |
498 | 498 | min([dO, dM]) | |
499 | 499 | } | |
500 | 500 | ||
501 | 501 | ||
502 | 502 | func dP (O) = { | |
503 | 503 | let dQ = cF(O, [I, J, K, L, M], k, 0) | |
504 | 504 | let dR = bF(O) | |
505 | 505 | let dg = valueOrElse(getInteger(dR), 0) | |
506 | 506 | let dS = dQ[an] | |
507 | 507 | if ((dg == dS)) | |
508 | 508 | then $Tuple2(nil, 0) | |
509 | 509 | else { | |
510 | 510 | let cS = lastBlock.timestamp | |
511 | 511 | let cT = dQ[ag] | |
512 | 512 | let cW = dQ[ah] | |
513 | 513 | let dT = (dQ[ai] + dQ[aq]) | |
514 | 514 | let dU = if ((dT > 0)) | |
515 | 515 | then [ScriptTransfer(addressFromStringValue(value(getString(aY))), dT, Q)] | |
516 | 516 | else nil | |
517 | 517 | let dc = dQ[aj] | |
518 | 518 | let dV = dQ[ak] | |
519 | 519 | let dW = if ((dV > 0)) | |
520 | 520 | then [ScriptTransfer(x, dV, Q)] | |
521 | 521 | else nil | |
522 | 522 | let dX = dQ[ap] | |
523 | 523 | let dY = if ((dX > 0)) | |
524 | 524 | then [ScriptTransfer(addressFromStringValue(value(getString(by))), dX, Q)] | |
525 | 525 | else nil | |
526 | 526 | let dt = dQ[am] | |
527 | 527 | let dZ = dI(O) | |
528 | 528 | let ea = (dt + dQ[ar]) | |
529 | 529 | let eb = dQ[ao] | |
530 | 530 | $Tuple2(((([Reissue(Q, eb, true), IntegerEntry(bh, (dQ[ad] + eb)), IntegerEntry(bJ, dQ[as]), IntegerEntry(dZ, (valueOrElse(getInteger(dZ), 0) + dt)), IntegerEntry(dH, (valueOrElse(getInteger(dH), 0) + dt)), IntegerEntry(bd, (dQ[al] - dt)), IntegerEntry(ba, ((cW - dT) + dQ[aq])), IntegerEntry(aZ, cS), IntegerEntry(bc, (dc - dV)), IntegerEntry(bb, cS), IntegerEntry(dR, dS)] ++ dU) ++ dW) ++ dY), ea) | |
531 | 531 | } | |
532 | 532 | } | |
533 | 533 | ||
534 | 534 | ||
535 | 535 | func ec (O,ed) = { | |
536 | 536 | let cS = lastBlock.timestamp | |
537 | 537 | let ee = bl(O) | |
538 | 538 | let ef = bj(O) | |
539 | 539 | let dL = valueOrElse(getInteger(ee), 0) | |
540 | 540 | let eg = valueOrElse(getInteger(ef), 0) | |
541 | 541 | let eh = valueOrElse(getInteger(bk), 0) | |
542 | 542 | let aQ = fraction(fraction(aO, eg, aL), (dL - cS), aX) | |
543 | 543 | $Tuple3([IntegerEntry(ee, cS), IntegerEntry(ef, (eg + ed)), IntegerEntry(bk, (eh + ed))], aQ, eg) | |
544 | 544 | } | |
545 | 545 | ||
546 | 546 | ||
547 | 547 | func ei (O) = { | |
548 | 548 | let T = (height / i) | |
549 | 549 | let ej = (T - 1) | |
550 | 550 | let ek = valueOrElse(getInteger(W(ej)), bW) | |
551 | 551 | let el = valueOrElse(getInteger(X(ej)), 0) | |
552 | 552 | let em = valueOrElse(getInteger(S(O, ej)), 0) | |
553 | 553 | if ((0 >= em)) | |
554 | 554 | then $Tuple2(nil, unit) | |
555 | 555 | else { | |
556 | 556 | let en = valueOrElse(getInteger(U(ej)), 0) | |
557 | 557 | if ((0 >= en)) | |
558 | 558 | then $Tuple2([DeleteEntry(S(O, ej))], unit) | |
559 | 559 | else { | |
560 | 560 | let aF = value(value(blockInfoByHeight((T * i))).vrf) | |
561 | 561 | let aE = fromBase58String(split(valueOrElse(getString(J, N(O)), "42_DEFAULT"), "_")[1]) | |
562 | 562 | let eo = aC(en, aE, aF) | |
563 | 563 | if (((em * ek) > eo)) | |
564 | 564 | then { | |
565 | 565 | let ep = invoke(J, "issueNFT", [O, bV], nil) | |
566 | 566 | let eq = getString(Y(ej)) | |
567 | 567 | let er = if (isDefined(eq)) | |
568 | 568 | then ((value(eq) + "_") + O) | |
569 | 569 | else O | |
570 | 570 | $Tuple2([IntegerEntry(X(ej), (el + 1)), DeleteEntry(S(O, ej)), StringEntry(Y(ej), er)], ep) | |
571 | 571 | } | |
572 | 572 | else { | |
573 | 573 | let es = (aC(9, (base58'29' + aE), aF) + 1) | |
574 | 574 | let et = fraction(em, es, 10) | |
575 | - | $Tuple2([DeleteEntry(S(O, ej)), IntegerEntry(S(O, T), et)], et) | |
575 | + | $Tuple2([DeleteEntry(S(O, ej)), IntegerEntry(U(T), (valueOrElse(getInteger(U(T)), 0) + et)), IntegerEntry(S(O, T), (valueOrElse(getInteger(S(O, T)), 0) + et))], et) | |
576 | 576 | } | |
577 | 577 | } | |
578 | 578 | } | |
579 | 579 | } | |
580 | 580 | ||
581 | 581 | ||
582 | 582 | func eu (O,ev) = { | |
583 | 583 | let T = (height / i) | |
584 | 584 | let ew = S(O, T) | |
585 | 585 | let ex = split(ev, "_") | |
586 | 586 | let ey = valueOrElse(getInteger(U(T)), 0) | |
587 | 587 | let ez = valueOrElse(getInteger(ew), 0) | |
588 | 588 | let eA = if ((Z(parseIntValue(ex[0])) == parseIntValue(ex[1]))) | |
589 | 589 | then 1 | |
590 | 590 | else 0 | |
591 | 591 | let eB = valueOrElse(getInteger(V(T)), 0) | |
592 | 592 | let eC = if (if ((ez == 0)) | |
593 | 593 | then (eA == 1) | |
594 | 594 | else false) | |
595 | 595 | then [IntegerEntry(V(T), (eB + 1))] | |
596 | 596 | else nil | |
597 | 597 | $Tuple2(if ((eA == 0)) | |
598 | 598 | then nil | |
599 | 599 | else ((eC :+ IntegerEntry(ew, (ez + eA))) :+ IntegerEntry(U(T), (ey + eA))), eA) | |
600 | 600 | } | |
601 | 601 | ||
602 | 602 | ||
603 | 603 | @Callable(eD) | |
604 | 604 | func constructorV1 (eE,eF,cY,eG) = if ((eD.caller != this)) | |
605 | 605 | then throw("Permission denied") | |
606 | 606 | else if (isDefined(getBinary(P))) | |
607 | 607 | then throw("Already initialized") | |
608 | 608 | else { | |
609 | 609 | let bH = aV | |
610 | 610 | let eH = Issue("WLGOLD", "WavesLands Gold investment token", bH, 8, true, unit, 0) | |
611 | 611 | let eI = calculateAssetId(eH) | |
612 | 612 | [eH, IntegerEntry(bg, lastBlock.timestamp), IntegerEntry(bh, bH), IntegerEntry(dH, 0), IntegerEntry(bd, fraction(aV, aW, b)), BinaryEntry(P, eI), StringEntry(w(), eE), StringEntry(by, eF), StringEntry(aY, cY), StringEntry(dG, eG)] | |
613 | 613 | } | |
614 | 614 | ||
615 | 615 | ||
616 | 616 | ||
617 | 617 | @Callable(eD) | |
618 | 618 | func constructorV2 (eJ) = if ((eD.caller != this)) | |
619 | 619 | then throw("Permission denied") | |
620 | 620 | else [StringEntry(v(), eJ)] | |
621 | 621 | ||
622 | 622 | ||
623 | 623 | ||
624 | 624 | @Callable(eD) | |
625 | 625 | func buyWlg (eK) = { | |
626 | 626 | let eL = dJ() | |
627 | 627 | if ((eL == eL)) | |
628 | 628 | then if ((size(eD.payments) != 1)) | |
629 | 629 | then throw("exactly 1 payment must be attached") | |
630 | 630 | else { | |
631 | 631 | let eM = eD.payments[0] | |
632 | 632 | let eN = eM.amount | |
633 | 633 | if (if (!(isDefined(eM.assetId))) | |
634 | 634 | then true | |
635 | 635 | else (value(eM.assetId) != k)) | |
636 | 636 | then throw("USDT payments only!") | |
637 | 637 | else { | |
638 | 638 | let eO = eD.caller | |
639 | 639 | let O = toString(eO) | |
640 | 640 | if ((d > eN)) | |
641 | 641 | then throw((("You can trade min " + aw(d, 6)) + " USDT")) | |
642 | 642 | else { | |
643 | 643 | let dQ = cF("", [I, J, K, L, M], k, eN) | |
644 | 644 | let eP = dQ[ad] | |
645 | 645 | let eQ = dQ[af] | |
646 | 646 | let eR = fraction(eQ, 6, 5, CEILING) | |
647 | 647 | let eS = fraction(eN, c, eR) | |
648 | 648 | let eT = dK(O) | |
649 | 649 | if ((eS > eT)) | |
650 | 650 | then throw((("You can get max " + aw(eT, 8)) + " WLGOLD at the moment")) | |
651 | 651 | else if ((eK > eS)) | |
652 | 652 | then throw("Price changed during operation, please try again") | |
653 | 653 | else { | |
654 | 654 | let eU = (eN / 6) | |
655 | 655 | $Tuple2([Reissue(Q, eS, true), IntegerEntry(bh, (eP + eS)), IntegerEntry(be(O), lastBlock.timestamp), IntegerEntry(bf(O), (eT - eS)), ScriptTransfer(addressFromStringValue(value(getString(dG))), eU, k), ScriptTransfer(eO, eS, Q)], eL) | |
656 | 656 | } | |
657 | 657 | } | |
658 | 658 | } | |
659 | 659 | } | |
660 | 660 | else throw("Strict value is not equal to itself.") | |
661 | 661 | } | |
662 | 662 | ||
663 | 663 | ||
664 | 664 | ||
665 | 665 | @Callable(eD) | |
666 | 666 | func buyWlgREADONLY (o,eN) = { | |
667 | 667 | let dQ = cF("", [I, J, K, L, M], k, eN) | |
668 | 668 | let eQ = dQ[af] | |
669 | 669 | let eR = fraction(eQ, 6, 5, CEILING) | |
670 | 670 | let eS = fraction(eN, c, eR) | |
671 | 671 | let eT = dK(o) | |
672 | 672 | let eV = fraction(eT, eR, c) | |
673 | 673 | let eU = (eN / 6) | |
674 | 674 | $Tuple2(nil, [eS, d, eV, eU]) | |
675 | 675 | } | |
676 | 676 | ||
677 | 677 | ||
678 | 678 | ||
679 | 679 | @Callable(eD) | |
680 | 680 | func sellWlg (eW) = { | |
681 | 681 | let eL = dJ() | |
682 | 682 | if ((eL == eL)) | |
683 | 683 | then if ((size(eD.payments) != 1)) | |
684 | 684 | then throw("exactly 1 payment must be attached") | |
685 | 685 | else { | |
686 | 686 | let eM = eD.payments[0] | |
687 | 687 | let eX = eM.amount | |
688 | 688 | let eO = eD.caller | |
689 | 689 | let O = toString(eO) | |
690 | 690 | let eT = dK(O) | |
691 | 691 | if ((eX > eT)) | |
692 | 692 | then throw((("You can spend max " + aw(eT, 8)) + " WLGOLD at the moment")) | |
693 | 693 | else if (if (!(isDefined(eM.assetId))) | |
694 | 694 | then true | |
695 | 695 | else (value(eM.assetId) != Q)) | |
696 | 696 | then throw("WLGOLD payments only!") | |
697 | 697 | else { | |
698 | 698 | let dQ = cF("", [I, J, K, L, M], k, 0) | |
699 | 699 | let eP = dQ[ad] | |
700 | 700 | let eY = (dQ[af] / 2) | |
701 | 701 | let eN = fraction(eX, eY, c) | |
702 | 702 | if ((d > eN)) | |
703 | 703 | then throw((("You can trade min " + aw(d, 6)) + " USDT")) | |
704 | 704 | else if ((eW > eN)) | |
705 | 705 | then throw("Price changed during operation, please try again") | |
706 | 706 | else { | |
707 | 707 | let eU = (eN / 5) | |
708 | 708 | $Tuple2([Burn(Q, eX), IntegerEntry(bh, (eP - eX)), IntegerEntry(be(O), lastBlock.timestamp), IntegerEntry(bf(O), (eT - eX)), ScriptTransfer(addressFromStringValue(value(getString(dG))), eU, k), ScriptTransfer(eO, eN, k)], eL) | |
709 | 709 | } | |
710 | 710 | } | |
711 | 711 | } | |
712 | 712 | else throw("Strict value is not equal to itself.") | |
713 | 713 | } | |
714 | 714 | ||
715 | 715 | ||
716 | 716 | ||
717 | 717 | @Callable(eD) | |
718 | 718 | func sellWlgREADONLY (o,eX) = { | |
719 | 719 | let eT = dK(o) | |
720 | 720 | let dQ = cF("", [I, J, K, L, M], k, 0) | |
721 | 721 | let eY = (dQ[af] / 2) | |
722 | 722 | let eN = fraction(eX, eY, c) | |
723 | 723 | let eZ = fraction(d, c, eY) | |
724 | 724 | let eU = (eN / 5) | |
725 | 725 | $Tuple2(nil, [eN, eZ, eT, eU]) | |
726 | 726 | } | |
727 | 727 | ||
728 | 728 | ||
729 | 729 | ||
730 | 730 | @Callable(eD) | |
731 | 731 | func claim () = { | |
732 | 732 | let eL = dJ() | |
733 | 733 | if ((eL == eL)) | |
734 | 734 | then if ((size(eD.payments) != 0)) | |
735 | 735 | then throw("No payments required") | |
736 | 736 | else { | |
737 | 737 | let fa = dP(toString(eD.caller)) | |
738 | 738 | let fb = fa._1 | |
739 | 739 | let fc = fa._2 | |
740 | 740 | $Tuple2((fb :+ ScriptTransfer(eD.caller, fc, Q)), eL) | |
741 | 741 | } | |
742 | 742 | else throw("Strict value is not equal to itself.") | |
743 | 743 | } | |
744 | 744 | ||
745 | 745 | ||
746 | 746 | ||
747 | 747 | @Callable(eD) | |
748 | 748 | func onStakeUnstakeLand (O) = if (if (if ((eD.caller != G)) | |
749 | 749 | then (eD.caller != H) | |
750 | 750 | else false) | |
751 | 751 | then (eD.caller != J) | |
752 | 752 | else false) | |
753 | 753 | then throw("Permission denied") | |
754 | 754 | else { | |
755 | 755 | let fd = dP(O) | |
756 | 756 | let fb = fd._1 | |
757 | 757 | let fc = fd._2 | |
758 | 758 | $Tuple2(if ((fc > 0)) | |
759 | 759 | then (fb :+ ScriptTransfer(addressFromStringValue(O), fc, Q)) | |
760 | 760 | else fb, fc) | |
761 | 761 | } | |
762 | 762 | ||
763 | 763 | ||
764 | 764 | ||
765 | 765 | @Callable(eD) | |
766 | 766 | func burnWlgold (eX) = if ((eD.caller != J)) | |
767 | 767 | then throw("Permission denied") | |
768 | 768 | else { | |
769 | 769 | let dQ = cF("", [I, J, K, L, M], k, 0) | |
770 | 770 | if ((eX > dQ[ae])) | |
771 | 771 | then throw(((("Only " + aw(dQ[ae], 8)) + " WLGOLD left on contract, can't burn ") + aw(eX, 8))) | |
772 | 772 | else { | |
773 | 773 | let fe = (dQ[ad] - eX) | |
774 | 774 | $Tuple2([Burn(Q, eX), IntegerEntry(bh, fe)], fe) | |
775 | 775 | } | |
776 | 776 | } | |
777 | 777 | ||
778 | 778 | ||
779 | 779 | ||
780 | 780 | @Callable(eD) | |
781 | 781 | func betForTicket (ff) = { | |
782 | 782 | let eL = dJ() | |
783 | 783 | if ((eL == eL)) | |
784 | 784 | then if ((size(eD.payments) != 0)) | |
785 | 785 | then throw("No payments required") | |
786 | 786 | else { | |
787 | 787 | let O = toString(eD.caller) | |
788 | 788 | let ej = ((height / i) - 1) | |
789 | 789 | let em = valueOrElse(getInteger(S(O, ej)), 0) | |
790 | 790 | let en = valueOrElse(getInteger(U(ej)), 0) | |
791 | 791 | if (if ((em > 0)) | |
792 | 792 | then (en > 0) | |
793 | 793 | else false) | |
794 | 794 | then throw("Please open the chest first") | |
795 | 795 | else if (((ff / 4) != 0)) | |
796 | 796 | then throw("Invalid bet: should be 0..3") | |
797 | 797 | else { | |
798 | 798 | let fg = (height % g) | |
799 | 799 | if ((fg > (g - 3))) | |
800 | 800 | then throw((("Cannot bet: the day is almost ended, please wait " + toString((g - fg))) + " blocks")) | |
801 | 801 | else { | |
802 | 802 | let fh = valueOrElse(getInteger(J, bN(O)), 0) | |
803 | 803 | if ((bX > fh)) | |
804 | 804 | then throw((("You need to stake at least " + aw(bX, 8)) + " ACRES to bet")) | |
805 | 805 | else { | |
806 | 806 | let fi = ((height / g) + 1) | |
807 | 807 | let fj = R(O) | |
808 | 808 | let fk = getString(fj) | |
809 | 809 | let fl = StringEntry(fj, ((toString(fi) + "_") + toString(ff))) | |
810 | 810 | if (isDefined(fk)) | |
811 | 811 | then { | |
812 | 812 | let fm = value(fk) | |
813 | 813 | if ((split(fm, "_")[0] == toString(fi))) | |
814 | 814 | then throw("You already bet for tomorrow") | |
815 | 815 | else { | |
816 | 816 | let fn = eu(O, fm) | |
817 | 817 | $Tuple2((fn._1 :+ fl), fn._2) | |
818 | 818 | } | |
819 | 819 | } | |
820 | 820 | else $Tuple2([fl], 0) | |
821 | 821 | } | |
822 | 822 | } | |
823 | 823 | } | |
824 | 824 | } | |
825 | 825 | else throw("Strict value is not equal to itself.") | |
826 | 826 | } | |
827 | 827 | ||
828 | 828 | ||
829 | 829 | ||
830 | 830 | @Callable(eD) | |
831 | 831 | func takeWlgXp (O) = if ((eD.caller != G)) | |
832 | 832 | then throw("Permission denied") | |
833 | 833 | else { | |
834 | 834 | let fo = ec(O, 0) | |
835 | 835 | let fb = fo._1 | |
836 | 836 | let aQ = fo._2 | |
837 | 837 | $Tuple2(fb, aQ) | |
838 | 838 | } | |
839 | 839 | ||
840 | 840 | ||
841 | 841 | ||
842 | 842 | @Callable(eD) | |
843 | 843 | func checkWlgXpREADONLY (O) = { | |
844 | 844 | let fp = ec(O, 0) | |
845 | 845 | let fq = fp._1 | |
846 | 846 | let fr = fp._2 | |
847 | 847 | let aT = (valueOrElse(getInteger(G, aM(O)), 0) + fr) | |
848 | 848 | let fs = aR(valueOrElse(getInteger(G, aN(O)), 0), aT) | |
849 | 849 | $Tuple2(nil, (fs :+ aT)) | |
850 | 850 | } | |
851 | 851 | ||
852 | 852 | ||
853 | 853 | ||
854 | 854 | @Callable(eD) | |
855 | 855 | func setNumPrizes (ek) = if ((eD.caller != this)) | |
856 | 856 | then throw("Permission denied") | |
857 | 857 | else { | |
858 | 858 | let T = (height / i) | |
859 | 859 | $Tuple2([IntegerEntry(W(T), ek)], ek) | |
860 | 860 | } | |
861 | 861 | ||
862 | 862 | ||
863 | 863 | ||
864 | 864 | @Callable(eD) | |
865 | 865 | func openChest () = { | |
866 | 866 | let eL = dJ() | |
867 | 867 | if ((eL == eL)) | |
868 | 868 | then if ((size(eD.payments) != 0)) | |
869 | 869 | then throw("No payments required") | |
870 | 870 | else { | |
871 | 871 | let ej = ((height / i) - 1) | |
872 | 872 | let O = toString(eD.caller) | |
873 | 873 | let em = valueOrElse(getInteger(S(O, ej)), 0) | |
874 | 874 | if ((0 >= em)) | |
875 | 875 | then throw("No gems to open the chest") | |
876 | 876 | else ei(O) | |
877 | 877 | } | |
878 | 878 | else throw("Strict value is not equal to itself.") | |
879 | 879 | } | |
880 | 880 | ||
881 | 881 | ||
882 | 882 | ||
883 | 883 | @Callable(eD) | |
884 | 884 | func addGemsFor (O,eA) = if ((eD.caller != this)) | |
885 | 885 | then throw("Permission denied") | |
886 | 886 | else { | |
887 | 887 | let T = (height / i) | |
888 | 888 | let ew = S(O, T) | |
889 | 889 | let ey = valueOrElse(getInteger(U(T)), 0) | |
890 | 890 | let ez = valueOrElse(getInteger(ew), 0) | |
891 | 891 | let eB = valueOrElse(getInteger(V(T)), 0) | |
892 | 892 | let eC = if (if ((ez == 0)) | |
893 | 893 | then (eA == 1) | |
894 | 894 | else false) | |
895 | 895 | then [IntegerEntry(V(T), (eB + 1))] | |
896 | 896 | else nil | |
897 | 897 | $Tuple2(((eC :+ IntegerEntry(ew, (ez + eA))) :+ IntegerEntry(U(T), (ey + eA))), eA) | |
898 | 898 | } | |
899 | 899 | ||
900 | 900 |
github/deemru/w8io/026f985 81.30 ms ◑