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