tx · hJBrS7xNYDxv92ejZFGaRW7KoEizuynVrSScY2sYobt 3N33m3JMhEN5QxhDKujcsbpFHo3UcHE4Jwt: -0.03300000 Waves 2024.12.29 21:51 [3436188] smart account 3N33m3JMhEN5QxhDKujcsbpFHo3UcHE4Jwt > SELF 0.00000000 Waves
{ "type": 13, "id": "hJBrS7xNYDxv92ejZFGaRW7KoEizuynVrSScY2sYobt", "fee": 3300000, "feeAssetId": null, "timestamp": 1735498360150, "version": 2, "chainId": 84, "sender": "3N33m3JMhEN5QxhDKujcsbpFHo3UcHE4Jwt", "senderPublicKey": "9Rp4v3BUwexbq4Ta6b1K2wTRxefC3irpr2tHC51mSAjz", "proofs": [ "SUg2GQLsYWDNQ2rZidvhnksMJEZUneWZE6r8oF67eiVxw5HXtuji3yxj8v9eSDMnZqQVbcBnWNKKGZidrPU7URo" ], "script": "base64:AAIFAAAAAAAAADgIAhIECgIICBIDCgEIEgQKAggIEgUKAwgIARIDCgEIEgUKAwgEBBIDCgEIEgASAwoBCBIECgIICAAAAEEAAAAABVNjYWxlAAAAAAAF9eEAAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIAAAAHYWRkcmVzcwAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMdHJ5R2V0U3RyaW5nAAAAAQAAAANrZXkJAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIFAAAABHRoaXMFAAAAA2tleQEAAAAHZ2V0Qm9vbAAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgcBAAAACWlzVGVzdEVudgAAAAAJAQA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ACXRoaXJkVXNlcgAAAAAAAAAAAQMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAl0aGlyZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9zaWduYXR1cmVzQ291bnQJAABkAAAAAgkAAGQAAAACBQAAAA9maXJzdFVzZXJTaWduZWQFAAAAEHNlY29uZFVzZXJTaWduZWQFAAAAD3RoaXJkVXNlclNpZ25lZAQAAAAHJG1hdGNoMAUAAAACdHgJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAACB627wQ==", "height": 3436188, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 68FRaBw93dsNeQFx1DF1fnvGxQsbzg7bCF7w4xdb38EE Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 100000000 | |
5 | 5 | ||
6 | 6 | func b (c,d) = { | |
7 | 7 | let e = getString(c, d) | |
8 | 8 | if ($isInstanceOf(e, "String")) | |
9 | 9 | then { | |
10 | 10 | let f = e | |
11 | 11 | f | |
12 | 12 | } | |
13 | 13 | else "" | |
14 | 14 | } | |
15 | 15 | ||
16 | 16 | ||
17 | 17 | func g (d) = b(this, d) | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | func h (d) = { | |
21 | 21 | let e = getBoolean(this, d) | |
22 | 22 | if ($isInstanceOf(e, "Boolean")) | |
23 | 23 | then { | |
24 | 24 | let i = e | |
25 | 25 | i | |
26 | 26 | } | |
27 | 27 | else false | |
28 | 28 | } | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func j () = h("TESTENV") | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func k () = "static_refContractAddress" | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | let l = "global_lastCheck_interest" | |
38 | 38 | ||
39 | 39 | func m () = "static_oracleAddress" | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func n () = "static_eggAssetId" | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func o () = "static_incubatorAddress" | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func p () = "static_breederAddress" | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func q () = "static_accBoosterAddress" | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func r () = "static_couponsAddress" | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func s () = "static_burnAddress" | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func t () = "static_extraFee" | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func u () = "static_feeAggregator" | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | let v = "global_earnings" | |
67 | 67 | ||
68 | 68 | func w () = "static_perchFee" | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func x () = "static_rebirthAddress" | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func y () = "static_turtleRebirthAddress" | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func z () = "static_itemsAddress" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func A () = "total_staked" | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func B () = "static_proxyStakingContracts" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func C () = "static_cfMasterAddress" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func D () = "static_potionFee" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func E () = "static_canineStakingAddress" | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func F () = "static_wearablesAddress" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func G () = Address(fromBase58String(g(m()))) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func H () = Address(fromBase58String(b(G(), x()))) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func I () = fromBase58String(b(G(), n())) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func J () = Address(fromBase58String(b(G(), o()))) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func K () = Address(fromBase58String(b(G(), p()))) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func L () = Address(fromBase58String(b(G(), q()))) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func M () = Address(fromBase58String(b(G(), r()))) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func N () = Address(fromBase58String(b(G(), s()))) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func O () = Address(fromBase58String(b(G(), u()))) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func P () = Address(fromBase58String(b(G(), k()))) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func Q () = Address(fromBase58String(b(G(), y()))) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func R () = Address(fromBase58String(b(G(), z()))) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func S () = b(G(), B()) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func T () = Address(fromBase58String(b(G(), C()))) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func U () = getIntegerValue(G(), D()) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func V () = Address(fromBase58String(b(G(), E()))) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func W () = Address(fromBase58String(b(G(), F()))) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func X (c,Y) = (((("address_" + c) + "_asset_") + Y) + "_lastCheckInterest") | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func Z (c,Y) = (((("address_" + c) + "_asset_") + Y) + "_farmingPower") | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func aa (c,Y) = (((c + "_asset_") + Y) + "_claimed") | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func ab (c) = ("total_staked_" + c) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | let ac = 5 | |
162 | 162 | ||
163 | 163 | func ad (ae) = if (isDefined(ae.assetId)) | |
164 | 164 | then throw("FCAP: Please attach waves") | |
165 | 165 | else { | |
166 | 166 | let af = getIntegerValue(G(), t()) | |
167 | 167 | if ((ae.amount != af)) | |
168 | 168 | then throw((("FCAP: Please attach exactly " + toString(af)) + " amount of wavelets")) | |
169 | 169 | else [ScriptTransfer(O(), af, unit)] | |
170 | 170 | } | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func ag (d) = { | |
174 | 174 | let e = getInteger(this, d) | |
175 | 175 | if ($isInstanceOf(e, "Int")) | |
176 | 176 | then { | |
177 | 177 | let i = e | |
178 | 178 | i | |
179 | 179 | } | |
180 | 180 | else 0 | |
181 | 181 | } | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func ah (ai) = { | |
185 | 185 | let e = ai | |
186 | 186 | if ($isInstanceOf(e, "Int")) | |
187 | 187 | then { | |
188 | 188 | let aj = e | |
189 | 189 | aj | |
190 | 190 | } | |
191 | 191 | else throw("FAI: wrong type, expected: Int") | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func ak (ai) = { | |
196 | 196 | let e = ai | |
197 | 197 | if ($isInstanceOf(e, "(Int, Int)")) | |
198 | 198 | then { | |
199 | 199 | let aj = e | |
200 | 200 | aj | |
201 | 201 | } | |
202 | 202 | else throw("FAI: wrong type, expected: (Int,Int)") | |
203 | 203 | } | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func al (am) = { | |
207 | 207 | let an = ag(l) | |
208 | 208 | let ao = ag(A()) | |
209 | 209 | let ap = if ((ao > 0)) | |
210 | 210 | then fraction(am, a, ao) | |
211 | 211 | else 0 | |
212 | 212 | [IntegerEntry(v, (ag(v) + am)), IntegerEntry(l, (an + ap))] | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func aq (ai) = { | |
217 | 217 | let e = ai | |
218 | 218 | if ($isInstanceOf(e, "String")) | |
219 | 219 | then { | |
220 | 220 | let ar = e | |
221 | 221 | ar | |
222 | 222 | } | |
223 | 223 | else throw("FAS: wrong type, expected: String") | |
224 | 224 | } | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func as (d) = { | |
228 | 228 | let e = getBoolean(this, d) | |
229 | 229 | if ($isInstanceOf(e, "Boolean")) | |
230 | 230 | then { | |
231 | 231 | let i = e | |
232 | 232 | i | |
233 | 233 | } | |
234 | 234 | else false | |
235 | 235 | } | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func at (c,d) = { | |
239 | 239 | let e = getBoolean(c, d) | |
240 | 240 | if ($isInstanceOf(e, "Boolean")) | |
241 | 241 | then { | |
242 | 242 | let i = e | |
243 | 243 | i | |
244 | 244 | } | |
245 | 245 | else false | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | func au (av) = if ((av == "G")) | |
250 | 250 | then J() | |
251 | 251 | else K() | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | func aw (ax,av) = { | |
255 | 255 | let ay = valueOrErrorMessage(getInteger(au(av), (("stats_" + ax) + "_quantity")), (("stats_" + ax) + "_quantity not found")) | |
256 | 256 | let az = pow((10000 / ay), 4, 5, 1, 2, FLOOR) | |
257 | 257 | if ((az > 0)) | |
258 | 258 | then az | |
259 | 259 | else 2 | |
260 | 260 | } | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func aA (aB,aC) = { | |
264 | 264 | let aD = if (aB) | |
265 | 265 | then 100 | |
266 | 266 | else { | |
267 | 267 | let av = take(takeRight(aC, 2), 1) | |
268 | 268 | let aE = aq(invoke(K(), "getGenFromName", [aC], nil)) | |
269 | 269 | if ((aE == aE)) | |
270 | 270 | then aw(aE, av) | |
271 | 271 | else throw("Strict value is not equal to itself.") | |
272 | 272 | } | |
273 | 273 | aD | |
274 | 274 | } | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | func aF (c,Y,aG) = { | |
278 | 278 | let aH = ag(A()) | |
279 | 279 | let aI = ag(ab(c)) | |
280 | 280 | let aJ = ag(Z(c, Y)) | |
281 | 281 | let aK = ak(invoke(this, "calculateFarmPower", [Y, aG], nil)) | |
282 | 282 | if ((aJ != 0)) | |
283 | 283 | then [IntegerEntry(A(), ((aH - aJ) + aK._1)), IntegerEntry(ab(c), ((aI - aJ) + aK._1)), IntegerEntry(Z(c, Y), aK._1)] | |
284 | 284 | else nil | |
285 | 285 | } | |
286 | 286 | ||
287 | 287 | ||
288 | 288 | func aL (c,Y,aM,aN,aO) = { | |
289 | 289 | let an = ag(l) | |
290 | 290 | let aP = ag(X(c, Y)) | |
291 | 291 | let aQ = ag(Z(c, Y)) | |
292 | 292 | let aR = if (aM) | |
293 | 293 | then aF(c, Y, aO) | |
294 | 294 | else nil | |
295 | 295 | if ((aR == aR)) | |
296 | 296 | then { | |
297 | 297 | let aS = if ((aP > 0)) | |
298 | 298 | then fraction((an - aP), aQ, a) | |
299 | 299 | else 0 | |
300 | 300 | $Tuple2(([ScriptTransfer(addressFromStringValue(aN), aS, I()), IntegerEntry(X(c, Y), an), IntegerEntry(aa(aN, Y), (ag(aa(aN, Y)) + aS))] ++ aR), aS) | |
301 | 301 | } | |
302 | 302 | else throw("Strict value is not equal to itself.") | |
303 | 303 | } | |
304 | 304 | ||
305 | 305 | ||
306 | 306 | func aT (ai) = { | |
307 | 307 | let e = ai | |
308 | 308 | if ($isInstanceOf(e, "Boolean")) | |
309 | 309 | then { | |
310 | 310 | let aU = e | |
311 | 311 | aU | |
312 | 312 | } | |
313 | 313 | else throw("FAB: wrong type, expected: Boolean") | |
314 | 314 | } | |
315 | 315 | ||
316 | 316 | ||
317 | 317 | func aV (c) = { | |
318 | 318 | let aW = b(L(), (("ART-XMISTL_" + c) + "_owner")) | |
319 | 319 | let aX = getIntegerValue(G(), w()) | |
320 | 320 | if ((aW == "")) | |
321 | 321 | then aX | |
322 | 322 | else ((aX / 10) * 9) | |
323 | 323 | } | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func aY (c) = { | |
327 | 327 | let aZ = S() | |
328 | 328 | let ba = split(aZ, ";") | |
329 | 329 | (indexOf(ba, c) != unit) | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | @Callable(bb) | |
334 | 334 | func calculateFarmPower (bc,bd) = if (!(if ((value(assetInfo(fromBase58String(bc))).issuer == K())) | |
335 | 335 | then true | |
336 | 336 | else (value(assetInfo(fromBase58String(bc))).issuer == J()))) | |
337 | 337 | then throw("This does not seem like a valid Duck!") | |
338 | 338 | else if (if (at(K(), (bc + "_blacklisted"))) | |
339 | 339 | then true | |
340 | 340 | else at(J(), (bc + "_blacklisted"))) | |
341 | 341 | then throw("Screw urself") | |
342 | 342 | else { | |
343 | 343 | let aC = value(assetInfo(fromBase58String(bc))).name | |
344 | 344 | let be = takeRight(aC, 1) | |
345 | 345 | let aB = (takeRight(aC, 1) == "U") | |
346 | 346 | let aD = aA(aB, aC) | |
347 | 347 | let ax = split(dropRight(drop(aC, 5), 3), "") | |
348 | 348 | func bf (bg,bh) = if (!(containsElement(bg, bh))) | |
349 | 349 | then (bg :+ bh) | |
350 | 350 | else bg | |
351 | 351 | ||
352 | 352 | let bi = { | |
353 | 353 | let bj = ax | |
354 | 354 | let bk = size(bj) | |
355 | 355 | let bl = nil | |
356 | 356 | func bm (bn,bo) = if ((bo >= bk)) | |
357 | 357 | then bn | |
358 | 358 | else bf(bn, bj[bo]) | |
359 | 359 | ||
360 | 360 | func bp (bn,bo) = if ((bo >= bk)) | |
361 | 361 | then bn | |
362 | 362 | else throw("List size exceeds 8") | |
363 | 363 | ||
364 | 364 | bp(bm(bm(bm(bm(bm(bm(bm(bm(bl, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
365 | 365 | } | |
366 | 366 | let bq = if ((be == "U")) | |
367 | 367 | then 8 | |
368 | 368 | else size(bi) | |
369 | 369 | let az = pow(15, 1, bq, 0, 2, DOWN) | |
370 | 370 | let br = if (j()) | |
371 | 371 | then 2500000 | |
372 | 372 | else 3750000 | |
373 | 373 | let bs = (((height - br) * 100) / (((60 * 24) * 30) * 3)) | |
374 | 374 | let bt = ag((bc + "_basePower")) | |
375 | 375 | let bu = if ((bt > 0)) | |
376 | 376 | then bt | |
377 | 377 | else ((az * bs) / 100) | |
378 | 378 | let bv = ((bu * aD) / 100) | |
379 | 379 | let bw = ah(invoke(R(), "calculateFarmingPowerBoost", [bc, bd], nil)) | |
380 | 380 | if ((bw == bw)) | |
381 | 381 | then { | |
382 | 382 | let bx = ah(invoke(W(), "calculateWearblesBoost", [bc], nil)) | |
383 | 383 | if ((bx == bx)) | |
384 | 384 | then { | |
385 | 385 | let by = ((bv + ((bv * bw) / 100)) + ((bv * bx) / 1000)) | |
386 | 386 | $Tuple2(nil, $Tuple2(by, bu)) | |
387 | 387 | } | |
388 | 388 | else throw("Strict value is not equal to itself.") | |
389 | 389 | } | |
390 | 390 | else throw("Strict value is not equal to itself.") | |
391 | 391 | } | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | ||
395 | 395 | @Callable(bb) | |
396 | 396 | func configureOracle (bz) = if ((bb.caller != this)) | |
397 | 397 | then throw("FCO: admin only") | |
398 | 398 | else [StringEntry(m(), bz)] | |
399 | 399 | ||
400 | 400 | ||
401 | 401 | ||
402 | 402 | @Callable(bb) | |
403 | 403 | func buyPerch (bA,bB) = { | |
404 | 404 | let bC = ad(bb.payments[0]) | |
405 | 405 | if ((bC == bC)) | |
406 | 406 | then { | |
407 | 407 | let bD = if ((bA == "U")) | |
408 | 408 | then "B" | |
409 | 409 | else bA | |
410 | 410 | if ((0 > value(indexOf(["B", "R", "G", "Y"], bD)))) | |
411 | 411 | then throw("you need to set color properly") | |
412 | 412 | else { | |
413 | 413 | let bE = aV(toString(bb.caller)) | |
414 | 414 | let bF = if ((bb.originCaller == bb.caller)) | |
415 | 415 | then { | |
416 | 416 | let bG = ah(invoke(M(), "useCoupons", [bE], nil)) | |
417 | 417 | if ((bG == bG)) | |
418 | 418 | then (bE - bG) | |
419 | 419 | else throw("Strict value is not equal to itself.") | |
420 | 420 | } | |
421 | 421 | else bE | |
422 | 422 | let ae = if ((bF != 0)) | |
423 | 423 | then { | |
424 | 424 | let bH = if ((size(bb.payments) == 2)) | |
425 | 425 | then value(bb.payments[1]) | |
426 | 426 | else value(bb.payments[0]) | |
427 | 427 | if ((bH.assetId != I())) | |
428 | 428 | then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(I()))) | |
429 | 429 | else if ((bH.amount != bF)) | |
430 | 430 | then throw(((("FBP: To buy a perch you currently need the following amount of EGGlets: " + toString(bF)) + " ") + toString(bb.caller))) | |
431 | 431 | else { | |
432 | 432 | let bI = fraction(bF, 5, 100) | |
433 | 433 | let bJ = aT(invoke(P(), "refPayment", [bB], [AttachedPayment(I(), bI)])) | |
434 | 434 | if ((bJ == bJ)) | |
435 | 435 | then { | |
436 | 436 | let bK = if (bJ) | |
437 | 437 | then (bF - bI) | |
438 | 438 | else bF | |
439 | 439 | let bL = invoke(N(), "burnAttachedPayments", nil, [AttachedPayment(I(), bK)]) | |
440 | 440 | if ((bL == bL)) | |
441 | 441 | then bF | |
442 | 442 | else throw("Strict value is not equal to itself.") | |
443 | 443 | } | |
444 | 444 | else throw("Strict value is not equal to itself.") | |
445 | 445 | } | |
446 | 446 | } | |
447 | 447 | else 0 | |
448 | 448 | if ((ae == ae)) | |
449 | 449 | then { | |
450 | 450 | let bM = ((("address_" + toString(bb.caller)) + "_perchesAvailable_") + bD) | |
451 | 451 | let bN = ag(bM) | |
452 | 452 | ([IntegerEntry(bM, (bN + 1))] ++ bC) | |
453 | 453 | } | |
454 | 454 | else throw("Strict value is not equal to itself.") | |
455 | 455 | } | |
456 | 456 | } | |
457 | 457 | else throw("Strict value is not equal to itself.") | |
458 | 458 | } | |
459 | 459 | ||
460 | 460 | ||
461 | 461 | ||
462 | 462 | @Callable(bb) | |
463 | 463 | func addFreePerch (c,bD,am) = if ((0 > value(indexOf(["B", "R", "G", "Y"], bD)))) | |
464 | 464 | then throw("you need to set color properly") | |
465 | 465 | else if (if (if (if ((bb.caller != H())) | |
466 | 466 | then (bb.caller != Q()) | |
467 | 467 | else false) | |
468 | 468 | then (bb.caller != this) | |
469 | 469 | else false) | |
470 | 470 | then (bb.caller != M()) | |
471 | 471 | else false) | |
472 | 472 | then throw("rebirth and admin only") | |
473 | 473 | else { | |
474 | 474 | let bM = ((("address_" + c) + "_perchesAvailable_") + bD) | |
475 | 475 | let bN = ag(bM) | |
476 | 476 | $Tuple2([IntegerEntry(bM, (bN + am))], "") | |
477 | 477 | } | |
478 | 478 | ||
479 | 479 | ||
480 | 480 | ||
481 | 481 | @Callable(bb) | |
482 | 482 | func migratePerches (c) = { | |
483 | 483 | let bO = addressFromStringValue(b(G(), "static_farmingAddress")) | |
484 | 484 | func bP (d) = { | |
485 | 485 | let e = getInteger(bO, d) | |
486 | 486 | if ($isInstanceOf(e, "Int")) | |
487 | 487 | then { | |
488 | 488 | let i = e | |
489 | 489 | i | |
490 | 490 | } | |
491 | 491 | else 0 | |
492 | 492 | } | |
493 | 493 | ||
494 | 494 | let bQ = bP((("address_" + c) + "_perchesAvailable_B")) | |
495 | 495 | if ((bQ == bQ)) | |
496 | 496 | then { | |
497 | 497 | let bR = bP((("address_" + c) + "_perchesAvailable_R")) | |
498 | 498 | if ((bR == bR)) | |
499 | 499 | then { | |
500 | 500 | let bS = bP((("address_" + c) + "_perchesAvailable_G")) | |
501 | 501 | if ((bS == bS)) | |
502 | 502 | then { | |
503 | 503 | let bT = bP((("address_" + c) + "_perchesAvailable_Y")) | |
504 | 504 | if ((bT == bT)) | |
505 | 505 | then { | |
506 | 506 | let bU = invoke(this, "addFreePerch", [c, "B", bQ], nil) | |
507 | 507 | if ((bU == bU)) | |
508 | 508 | then { | |
509 | 509 | let bV = invoke(this, "addFreePerch", [c, "R", bR], nil) | |
510 | 510 | if ((bV == bV)) | |
511 | 511 | then { | |
512 | 512 | let bW = invoke(this, "addFreePerch", [c, "G", bS], nil) | |
513 | 513 | if ((bW == bW)) | |
514 | 514 | then { | |
515 | 515 | let bX = invoke(this, "addFreePerch", [c, "Y", bT], nil) | |
516 | 516 | if ((bX == bX)) | |
517 | 517 | then if (if (if (if ((bQ == 0)) | |
518 | 518 | then (bR == 0) | |
519 | 519 | else false) | |
520 | 520 | then (bS == 0) | |
521 | 521 | else false) | |
522 | 522 | then (bT == 0) | |
523 | 523 | else false) | |
524 | 524 | then throw("Nothing to migrate") | |
525 | 525 | else { | |
526 | 526 | let bY = invoke(bO, "removePerches", [c], nil) | |
527 | 527 | if ((bY == bY)) | |
528 | 528 | then nil | |
529 | 529 | else throw("Strict value is not equal to itself.") | |
530 | 530 | } | |
531 | 531 | else throw("Strict value is not equal to itself.") | |
532 | 532 | } | |
533 | 533 | else throw("Strict value is not equal to itself.") | |
534 | 534 | } | |
535 | 535 | else throw("Strict value is not equal to itself.") | |
536 | 536 | } | |
537 | 537 | else throw("Strict value is not equal to itself.") | |
538 | 538 | } | |
539 | 539 | else throw("Strict value is not equal to itself.") | |
540 | 540 | } | |
541 | 541 | else throw("Strict value is not equal to itself.") | |
542 | 542 | } | |
543 | 543 | else throw("Strict value is not equal to itself.") | |
544 | 544 | } | |
545 | 545 | else throw("Strict value is not equal to itself.") | |
546 | 546 | } | |
547 | 547 | ||
548 | 548 | ||
549 | 549 | ||
550 | 550 | @Callable(bb) | |
551 | 551 | func stakeNFT (bZ,ca,cb) = if (if (cb) | |
552 | 552 | then !(aY(toString(bb.caller))) | |
553 | 553 | else false) | |
554 | 554 | then throw("You can't stake without a perch") | |
555 | 555 | else { | |
556 | 556 | let bC = ad(bb.payments[0]) | |
557 | 557 | if ((bC == bC)) | |
558 | 558 | then { | |
559 | 559 | let cc = value(bb.payments[1]) | |
560 | 560 | let bc = value(cc.assetId) | |
561 | 561 | let aC = value(value(assetInfo(bc)).name) | |
562 | 562 | let aB = (takeRight(aC, 1) == "U") | |
563 | 563 | let c = toString(bb.caller) | |
564 | 564 | let cd = if (ca) | |
565 | 565 | then toString(bb.originCaller) | |
566 | 566 | else c | |
567 | 567 | let ce = if (cb) | |
568 | 568 | then nil | |
569 | 569 | else { | |
570 | 570 | let bD = if (aB) | |
571 | 571 | then bZ | |
572 | 572 | else takeRight(aC, 1) | |
573 | 573 | let cf = ag(((("address_" + cd) + "_perchesAvailable_") + bD)) | |
574 | 574 | if ((0 >= cf)) | |
575 | 575 | then throw(("no perches available for the color " + bD)) | |
576 | 576 | else [IntegerEntry(((("address_" + cd) + "_perchesAvailable_") + bD), (cf - 1)), StringEntry((((("address_" + c) + "_asset_") + toBase58String(bc)) + "_perchColor"), bD)] | |
577 | 577 | } | |
578 | 578 | if ((ce == ce)) | |
579 | 579 | then if ((cc.amount != 1)) | |
580 | 580 | then throw("NFT is not attached") | |
581 | 581 | else { | |
582 | 582 | let cg = ak(invoke(this, "calculateFarmPower", [toBase58String(bc), toString(bb.originCaller)], nil)) | |
583 | 583 | if ((cg == cg)) | |
584 | 584 | then { | |
585 | 585 | let ch = aL(c, toBase58String(bc), false, c, toString(bb.originCaller)) | |
586 | 586 | if ((ch == ch)) | |
587 | 587 | then ((([IntegerEntry(A(), (ag(A()) + cg._1)), IntegerEntry(ab(c), (ag(ab(c)) + cg._1)), StringEntry((toBase58String(bc) + "_owner"), c), BooleanEntry((toBase58String(bc) + "_use_origin"), ca), StringEntry((toBase58String(bc) + "_original_caller"), toString(bb.originCaller)), IntegerEntry(Z(c, toBase58String(bc)), cg._1), IntegerEntry((toBase58String(bc) + "_basePower"), cg._2), BooleanEntry((toBase58String(bc) + "_without_perch"), cb)] ++ bC) ++ ce) ++ ch._1) | |
588 | 588 | else throw("Strict value is not equal to itself.") | |
589 | 589 | } | |
590 | 590 | else throw("Strict value is not equal to itself.") | |
591 | 591 | } | |
592 | 592 | else throw("Strict value is not equal to itself.") | |
593 | 593 | } | |
594 | 594 | else throw("Strict value is not equal to itself.") | |
595 | 595 | } | |
596 | 596 | ||
597 | 597 | ||
598 | 598 | ||
599 | 599 | @Callable(bb) | |
600 | 600 | func unstakeNFT (Y) = { | |
601 | 601 | let c = toString(bb.caller) | |
602 | 602 | if ((g((Y + "_owner")) != toString(bb.caller))) | |
603 | 603 | then throw("You don't own this duck!!") | |
604 | 604 | else { | |
605 | 605 | let ch = aL(c, Y, false, c, toString(bb.originCaller)) | |
606 | 606 | if ((ch == ch)) | |
607 | 607 | then { | |
608 | 608 | let bC = ad(bb.payments[0]) | |
609 | 609 | if ((bC == bC)) | |
610 | 610 | then { | |
611 | 611 | let bD = g((((("address_" + c) + "_asset_") + Y) + "_perchColor")) | |
612 | 612 | let ci = as((Y + "_without_perch")) | |
613 | 613 | let ce = if (ci) | |
614 | 614 | then nil | |
615 | 615 | else { | |
616 | 616 | let ca = as((Y + "_use_origin")) | |
617 | 617 | let cj = if (ca) | |
618 | 618 | then toString(bb.originCaller) | |
619 | 619 | else c | |
620 | 620 | [IntegerEntry(((("address_" + cj) + "_perchesAvailable_") + bD), (ag(((("address_" + cj) + "_perchesAvailable_") + bD)) + 1))] | |
621 | 621 | } | |
622 | 622 | if ((ce == ce)) | |
623 | 623 | then { | |
624 | 624 | let ck = ag(Z(c, Y)) | |
625 | 625 | if ((ck == ck)) | |
626 | 626 | then $Tuple2(((([IntegerEntry(A(), (ag(A()) - ck)), IntegerEntry(ab(c), (ag(ab(c)) - ck)), DeleteEntry((Y + "_owner")), DeleteEntry(Z(c, Y)), DeleteEntry((((("address_" + c) + "_asset_") + Y) + "_perchColor")), DeleteEntry((Y + "_original_caller")), DeleteEntry((Y + "_use_origin")), DeleteEntry((Y + "_without_perch")), ScriptTransfer(Address(fromBase58String(c)), 1, fromBase58String(Y))] ++ bC) ++ ce) ++ ch._1), ch._2) | |
627 | 627 | else throw("Strict value is not equal to itself.") | |
628 | 628 | } | |
629 | 629 | else throw("Strict value is not equal to itself.") | |
630 | 630 | } | |
631 | 631 | else throw("Strict value is not equal to itself.") | |
632 | 632 | } | |
633 | 633 | else throw("Strict value is not equal to itself.") | |
634 | 634 | } | |
635 | 635 | } | |
636 | 636 | ||
637 | 637 | ||
638 | 638 | ||
639 | 639 | @Callable(bb) | |
640 | 640 | func topUpReward () = { | |
641 | 641 | let bH = value(bb.payments[0]) | |
642 | 642 | if ((bH.assetId != I())) | |
643 | 643 | then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(I()))) | |
644 | 644 | else { | |
645 | 645 | let cl = al(bH.amount) | |
646 | 646 | $Tuple2(cl, true) | |
647 | 647 | } | |
648 | 648 | } | |
649 | 649 | ||
650 | 650 | ||
651 | 651 | ||
652 | 652 | @Callable(bb) | |
653 | 653 | func claimReward (bc) = { | |
654 | 654 | let bC = if ((bb.originCaller == T())) | |
655 | 655 | then nil | |
656 | 656 | else ad(bb.payments[0]) | |
657 | 657 | if ((bC == bC)) | |
658 | 658 | then if (if ((g((bc + "_owner")) != toString(bb.caller))) | |
659 | 659 | then (g((bc + "_original_caller")) != toString(bb.caller)) | |
660 | 660 | else false) | |
661 | 661 | then throw((("You don't own this duck (" + bc) + ")!! ")) | |
662 | 662 | else if ((size(bb.payments) > 1)) | |
663 | 663 | then throw("Please don't add extra payments") | |
664 | 664 | else { | |
665 | 665 | let cm = if ((bb.originCaller != T())) | |
666 | 666 | then toString(bb.caller) | |
667 | 667 | else g((bc + "_original_caller")) | |
668 | 668 | let cn = if ((bb.originCaller != T())) | |
669 | 669 | then toString(bb.caller) | |
670 | 670 | else g((bc + "_owner")) | |
671 | 671 | let co = if ((bb.originCaller != T())) | |
672 | 672 | then toString(bb.originCaller) | |
673 | 673 | else g((bc + "_original_caller")) | |
674 | 674 | let ch = aL(cn, bc, true, cm, co) | |
675 | 675 | $Tuple2((bC ++ ch._1), ch._2) | |
676 | 676 | } | |
677 | 677 | else throw("Strict value is not equal to itself.") | |
678 | 678 | } | |
679 | 679 | ||
680 | 680 | ||
681 | 681 | ||
682 | 682 | @Callable(bb) | |
683 | 683 | func redeemItem (cp,cq) = { | |
684 | 684 | let cr = bb.payments[0] | |
685 | 685 | if ((cr == cr)) | |
686 | 686 | then { | |
687 | 687 | let cs = value(bb.payments[1]) | |
688 | 688 | if ((cs == cs)) | |
689 | 689 | then if ((cs.amount != 1)) | |
690 | 690 | then throw("You need to attach exactly 1 potion") | |
691 | 691 | else { | |
692 | 692 | let ct = aq(invoke(R(), "checkArtefactDetails", [toBase58String(value(value(cs).assetId))], nil)) | |
693 | 693 | if ((ct == ct)) | |
694 | 694 | then if ((ct != "ART-POTION")) | |
695 | 695 | then throw("You need to attach a ART-POTION artefact") | |
696 | 696 | else if ((cr.assetId != unit)) | |
697 | 697 | then throw("You need to attach waves") | |
698 | 698 | else if ((cr.amount != U())) | |
699 | 699 | then throw((("You need to attach exactly " + toString(U())) + " waves")) | |
700 | 700 | else { | |
701 | 701 | let cu = (cr.amount / 2) | |
702 | 702 | let cv = (cr.amount - cu) | |
703 | 703 | let bt = ag((cq + "_basePower")) | |
704 | 704 | if ((bt == 0)) | |
705 | 705 | then throw("This is not a valid duck or the duck waves never staked!") | |
706 | 706 | else if ((g((cq + "_owner")) != "")) | |
707 | 707 | then throw("Please usntake your duck first!!") | |
708 | 708 | else { | |
709 | 709 | let cw = invoke(V(), "addWavesAndStakeMore", nil, [AttachedPayment(unit, cv)]) | |
710 | 710 | if ((cw == cw)) | |
711 | 711 | then [ScriptTransfer(O(), cu, unit), DeleteEntry((cq + "_basePower"))] | |
712 | 712 | else throw("Strict value is not equal to itself.") | |
713 | 713 | } | |
714 | 714 | } | |
715 | 715 | else throw("Strict value is not equal to itself.") | |
716 | 716 | } | |
717 | 717 | else throw("Strict value is not equal to itself.") | |
718 | 718 | } | |
719 | 719 | else throw("Strict value is not equal to itself.") | |
720 | 720 | } | |
721 | 721 | ||
722 | 722 | ||
723 | 723 | @Verifier(cx) | |
724 | 724 | func cy () = if (j()) | |
725 | 725 | then sigVerify(cx.bodyBytes, cx.proofs[0], cx.senderPublicKey) | |
726 | 726 | else { | |
727 | 727 | let cz = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4' | |
728 | 728 | let cA = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8' | |
729 | 729 | let cB = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3' | |
730 | 730 | let cC = if (sigVerify(cx.bodyBytes, cx.proofs[0], cz)) | |
731 | 731 | then 1 | |
732 | 732 | else if (sigVerify(cx.bodyBytes, cx.proofs[1], cz)) | |
733 | 733 | then 1 | |
734 | 734 | else if (sigVerify(cx.bodyBytes, cx.proofs[2], cz)) | |
735 | 735 | then 1 | |
736 | 736 | else 0 | |
737 | 737 | let cD = if (sigVerify(cx.bodyBytes, cx.proofs[0], cA)) | |
738 | 738 | then 1 | |
739 | 739 | else if (sigVerify(cx.bodyBytes, cx.proofs[1], cA)) | |
740 | 740 | then 1 | |
741 | 741 | else if (sigVerify(cx.bodyBytes, cx.proofs[2], cA)) | |
742 | 742 | then 1 | |
743 | 743 | else 0 | |
744 | 744 | let cE = if (sigVerify(cx.bodyBytes, cx.proofs[0], cB)) | |
745 | 745 | then 1 | |
746 | 746 | else if (sigVerify(cx.bodyBytes, cx.proofs[1], cB)) | |
747 | 747 | then 1 | |
748 | 748 | else if (sigVerify(cx.bodyBytes, cx.proofs[2], cB)) | |
749 | 749 | then 1 | |
750 | 750 | else 0 | |
751 | 751 | let cF = ((cC + cD) + cE) | |
752 | 752 | let e = cx | |
753 | 753 | (cF >= 2) | |
754 | 754 | } | |
755 | 755 |
github/deemru/w8io/169f3d6 68.45 ms ◑