tx · E9RTSco73GeWnFBCgH4WnepQ6BbHXeJAfGugT6FGHDoN 3MpLKSQezEyHJk8jn9ikzAaaGuRzy5STBLZ: -0.01900000 Waves 2024.11.09 00:14 [3363010] smart account 3MpLKSQezEyHJk8jn9ikzAaaGuRzy5STBLZ > SELF 0.00000000 Waves
{ "type": 13, "id": "E9RTSco73GeWnFBCgH4WnepQ6BbHXeJAfGugT6FGHDoN", "fee": 1900000, "feeAssetId": null, "timestamp": 1731100557982, "version": 2, "chainId": 84, "sender": "3MpLKSQezEyHJk8jn9ikzAaaGuRzy5STBLZ", "senderPublicKey": "GhefFZdofgfUzRS6kfAZpyXdgER7eYvz5umnwJW1MWtc", "proofs": [ "56XZB5cf3n3jESqVL2ggrVnBgBpEoz3C3go6MbDTDT4ASespbEPcy7UUgfn2p6Z7dwRkfY37Cnc7YuxwAfBn6MDn" ], "script": "base64:BgIkCAISAwoBCBIAEgMKAQgSBQoDCAgBEgYKBAgIAQESAwoBCBIAPQEUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwCB2FkZHJlc3MDa2V5BAckbWF0Y2gwCQCdCAIFB2FkZHJlc3MFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAWEFByRtYXRjaDAFAWECAAEVdHJ5R2V0SW50ZWdlckV4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAmggCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABDXRyeUdldEJvb2xlYW4BA2tleQQHJG1hdGNoMAkAoAgBBQNrZXkDCQABAgUHJG1hdGNoMAIHQm9vbGVhbgQBYgUHJG1hdGNoMAUBYgcBDHRyeUdldFN0cmluZwEDa2V5CQEUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwCBQR0aGlzBQNrZXkBCWFzQm9vbGVhbgEFdmFsdWUEByRtYXRjaDAFBXZhbHVlAwkAAQIFByRtYXRjaDACB0Jvb2xlYW4EB2Jvb2xlY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c3RVc2VyAAEAAAQQc2Vjb25kVXNlclNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFCnNlY29uZFVzZXIAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFCnNlY29uZFVzZXIAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFCnNlY29uZFVzZXIAAQAABA90aGlyZFVzZXJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQl0aGlyZFVzZXIAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFCXRoaXJkVXNlcgABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgUJdGhpcmRVc2VyAAEAAAQPc2lnbmF0dXJlc0NvdW50CQBkAgkAZAIFD2ZpcnN0VXNlclNpZ25lZAUQc2Vjb25kVXNlclNpZ25lZAUPdGhpcmRVc2VyU2lnbmVkBAckbWF0Y2gwBQJ0eAkAZwIFD3NpZ25hdHVyZXNDb3VudAACagEe9g==", "height": 3363010, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GumCjFkMm5ghE2tdDhZqd3JbHqMmtMTo7X8SMPhLA2Uu Next: B9FtbuU6sdRypdPrkB8ajHpb6pqoCSitfemF4saShyWA Diff:
Old | New | Differences | |
---|---|---|---|
424 | 424 | then !(ao()) | |
425 | 425 | else false) | |
426 | 426 | then ([BooleanEntry(aj(bg), true)] ++ aN) | |
427 | - | else ([IntegerEntry(be, (bf + 1)), IntegerEntry(bl, (bn + bj)), IntegerEntry(bm, (bo + bj)), IntegerEntry(bp, bj), StringEntry(bk, bq._1), StringEntry((bp + "_debug"), makeString(bq._2, ";")), Burn(F(), (bj / 2))] ++ aN) | |
427 | + | else ([IntegerEntry(be, (bf + 1)), IntegerEntry(bl, (bn + bj)), IntegerEntry(bm, (bo + bj)), IntegerEntry(bp, bj), StringEntry(bk, bq._1), StringEntry((bp + "_debug"), makeString(bq._2, ";")), Burn(F(), ((bj / 2) - (bj / 10)))] ++ aN) | |
428 | 428 | else throw("Strict value is not equal to itself.") | |
429 | 429 | } | |
430 | 430 | else throw("Strict value is not equal to itself.") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b,c) = { | |
5 | 5 | let d = getString(b, c) | |
6 | 6 | if ($isInstanceOf(d, "String")) | |
7 | 7 | then { | |
8 | 8 | let e = d | |
9 | 9 | e | |
10 | 10 | } | |
11 | 11 | else "" | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func f (b,c) = { | |
16 | 16 | let d = getInteger(b, c) | |
17 | 17 | if ($isInstanceOf(d, "Int")) | |
18 | 18 | then { | |
19 | 19 | let g = d | |
20 | 20 | g | |
21 | 21 | } | |
22 | 22 | else 0 | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func h (c) = { | |
27 | 27 | let d = getBoolean(c) | |
28 | 28 | if ($isInstanceOf(d, "Boolean")) | |
29 | 29 | then { | |
30 | 30 | let g = d | |
31 | 31 | g | |
32 | 32 | } | |
33 | 33 | else false | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func i (c) = a(this, c) | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func j (k) = { | |
41 | 41 | let d = k | |
42 | 42 | if ($isInstanceOf(d, "Boolean")) | |
43 | 43 | then { | |
44 | 44 | let l = d | |
45 | 45 | l | |
46 | 46 | } | |
47 | 47 | else throw("BDA: wrong type, expected: Boolean") | |
48 | 48 | } | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func m () = "static_oracleAddress" | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func n () = "static_ducklingPrice" | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func o () = "static_eggAssetId" | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func p () = "static_spiceAssetId" | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func q () = "static_rebirthAddress" | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func r () = "static_incubatorAddress" | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func s () = "static_couponsAddress" | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func t () = "static_burnAddress" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func u () = "static_refContractAddress" | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func v () = "static_backendPubKey" | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func w () = "static_extraFee" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func x () = "static_feeAggregator" | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func y () = "static_turtleStakingAddress" | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func z () = "static_mutantFarmingAddress" | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func A () = "static_canineRebirthAddress" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func B () = "static_felineRebirthAddress" | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func C () = Address(fromBase58String(i(m()))) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func D () = f(C(), n()) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func E () = fromBase58String(a(C(), o())) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func F () = fromBase58String(a(C(), p())) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func G () = Address(fromBase58String(a(C(), q()))) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func H () = Address(fromBase58String(a(C(), r()))) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func I () = Address(fromBase58String(a(C(), s()))) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func J () = Address(fromBase58String(a(C(), t()))) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func K () = Address(fromBase58String(a(C(), u()))) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func L () = Address(fromBase58String(a(C(), x()))) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func M () = Address(fromBase58String(a(C(), y()))) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func N () = Address(fromBase58String(a(C(), z()))) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func O () = Address(fromBase58String(a(C(), A()))) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func P () = Address(fromBase58String(a(C(), B()))) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | let Q = fromBase58String(getStringValue(C(), v())) | |
142 | 142 | ||
143 | 143 | let R = 100000000 | |
144 | 144 | ||
145 | 145 | let S = 10000000000000000 | |
146 | 146 | ||
147 | 147 | let T = 100000000000000 | |
148 | 148 | ||
149 | 149 | let U = "global_issued_timestamp" | |
150 | 150 | ||
151 | 151 | let V = 80000000 | |
152 | 152 | ||
153 | 153 | let W = 10000000000000000 | |
154 | 154 | ||
155 | 155 | func X (Y) = if (isDefined(Y.assetId)) | |
156 | 156 | then throw("BDCAP: Please attach waves") | |
157 | 157 | else { | |
158 | 158 | let Z = getIntegerValue(C(), w()) | |
159 | 159 | if ((Y.amount != Z)) | |
160 | 160 | then throw((("BDCAP: Please attach exactly " + toString(Z)) + " amount of wavelets")) | |
161 | 161 | else [ScriptTransfer(L(), Z, unit)] | |
162 | 162 | } | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func aa (ab) = (("duckling_" + ab) + "_feed") | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func ac (ab) = (("duckling_" + ab) + "_feed_spice") | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func ad (b) = (("user_" + b) + "_feed") | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func ae (b) = (("address_" + b) + "_nonce") | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func af (ab) = (("duckling_" + ab) + "_level") | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func ag (ab) = (("duckling_" + ab) + "_grown") | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func ah (ab) = (("duckling_" + ab) + "_startPercentage") | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func ai (ab) = (("duckling_" + ab) + "_owner") | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func aj (ab) = (("duckling_" + ab) + "_blacklisted") | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func ak () = "adult_ducklings" | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func al (c) = { | |
196 | 196 | let am = { | |
197 | 197 | let d = getInteger(this, c) | |
198 | 198 | if ($isInstanceOf(d, "Int")) | |
199 | 199 | then { | |
200 | 200 | let g = d | |
201 | 201 | g | |
202 | 202 | } | |
203 | 203 | else 0 | |
204 | 204 | } | |
205 | 205 | am | |
206 | 206 | } | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func an (c) = { | |
210 | 210 | let d = getBoolean(this, c) | |
211 | 211 | if ($isInstanceOf(d, "Boolean")) | |
212 | 212 | then { | |
213 | 213 | let g = d | |
214 | 214 | g | |
215 | 215 | } | |
216 | 216 | else false | |
217 | 217 | } | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func ao () = an("TESTENV") | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | func ap (ab) = { | |
224 | 224 | let aq = al(ah(ab)) | |
225 | 225 | let ar = if ((aq != 0)) | |
226 | 226 | then aq | |
227 | 227 | else 5 | |
228 | 228 | toBigInt((ar * T)) | |
229 | 229 | } | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func as (ab) = { | |
233 | 233 | let at = af(ab) | |
234 | 234 | let d = getString(at) | |
235 | 235 | if ($isInstanceOf(d, "String")) | |
236 | 236 | then { | |
237 | 237 | let au = d | |
238 | 238 | parseBigIntValue(au) | |
239 | 239 | } | |
240 | 240 | else { | |
241 | 241 | let av = getBoolean((("duckling_" + ab) + "_issuedByFeedCall")) | |
242 | 242 | if ($isInstanceOf(av, "Boolean")) | |
243 | 243 | then { | |
244 | 244 | let g = av | |
245 | 245 | if (if ((g == true)) | |
246 | 246 | then (al(ah(ab)) == 0) | |
247 | 247 | else false) | |
248 | 248 | then toBigInt(0) | |
249 | 249 | else ap(ab) | |
250 | 250 | } | |
251 | 251 | else ap(ab) | |
252 | 252 | } | |
253 | 253 | } | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | func aw (ab,ax) = { | |
257 | 257 | let ay = lastBlock.timestamp | |
258 | 258 | let az = (fraction(toBigInt(ax), toBigInt(S), toBigInt(R)) / toBigInt(100)) | |
259 | 259 | let aA = as(ab) | |
260 | 260 | let aB = (aA + az) | |
261 | 261 | let aC = toString(aB) | |
262 | 262 | $Tuple2(aC, [("currentLevel=" + toString(aA)), ("newLevel=" + toString(aB)), ("growth=" + toString(az))]) | |
263 | 263 | } | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func aD (aE,aF,b) = makeString([toString(aE), toString(aF), b], ";") | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | func aG (k) = { | |
270 | 270 | let d = k | |
271 | 271 | if ($isInstanceOf(d, "Int")) | |
272 | 272 | then { | |
273 | 273 | let aH = d | |
274 | 274 | aH | |
275 | 275 | } | |
276 | 276 | else throw("BAI: wrong type, expected: Int") | |
277 | 277 | } | |
278 | 278 | ||
279 | 279 | ||
280 | 280 | @Callable(aI) | |
281 | 281 | func configureOracle (aJ) = if ((aI.caller != this)) | |
282 | 282 | then throw("BCO: admin only") | |
283 | 283 | else [StringEntry(m(), aJ)] | |
284 | 284 | ||
285 | 285 | ||
286 | 286 | ||
287 | 287 | @Callable(aI) | |
288 | 288 | func calculateDucklingPriceTwoDecimals () = { | |
289 | 289 | let aK = al(ak()) | |
290 | 290 | let aL = max([(1900 + pow(aK, 0, 6, 1, 2, HALFUP)), 10000]) | |
291 | 291 | $Tuple2([StringEntry("DEBUG_PRICE", toString(aL))], aL) | |
292 | 292 | } | |
293 | 293 | ||
294 | 294 | ||
295 | 295 | ||
296 | 296 | @Callable(aI) | |
297 | 297 | func buyDuckling (aM) = { | |
298 | 298 | let aN = X(aI.payments[0]) | |
299 | 299 | if ((aN == aN)) | |
300 | 300 | then { | |
301 | 301 | let aO = D() | |
302 | 302 | if ((50000000 > aO)) | |
303 | 303 | then throw("BBD: Invalid price from oracle!") | |
304 | 304 | else { | |
305 | 305 | let aP = aG(invoke(I(), "useCoupons", [aO], nil)) | |
306 | 306 | if ((aP == aP)) | |
307 | 307 | then { | |
308 | 308 | let aQ = (aO - aP) | |
309 | 309 | let Y = if ((aQ != 0)) | |
310 | 310 | then { | |
311 | 311 | let aR = value(aI.payments[1]) | |
312 | 312 | if ((aR.assetId != E())) | |
313 | 313 | then throw(("BBD: You can attach only EGG tokens with the following asset id: " + toBase58String(E()))) | |
314 | 314 | else if ((aR.amount != aQ)) | |
315 | 315 | then throw(("BBD: To buy a perch you currently need the following amount of EGGlets: " + toString(aQ))) | |
316 | 316 | else { | |
317 | 317 | let aS = fraction(aQ, 5, 100) | |
318 | 318 | let aT = j(invoke(K(), "refPayment", [aM], [AttachedPayment(E(), aS)])) | |
319 | 319 | if ((aT == aT)) | |
320 | 320 | then { | |
321 | 321 | let aU = if (aT) | |
322 | 322 | then (aQ - aS) | |
323 | 323 | else aQ | |
324 | 324 | let aV = invoke(J(), "burnAttachedPayments", nil, [AttachedPayment(E(), aU)]) | |
325 | 325 | if ((aV == aV)) | |
326 | 326 | then aQ | |
327 | 327 | else throw("Strict value is not equal to itself.") | |
328 | 328 | } | |
329 | 329 | else throw("Strict value is not equal to itself.") | |
330 | 330 | } | |
331 | 331 | } | |
332 | 332 | else 0 | |
333 | 333 | if ((Y == Y)) | |
334 | 334 | then { | |
335 | 335 | let aW = invoke(this, "issueFreeDuckling", [toString(aI.originCaller), toBase58String(aI.transactionId), 0], nil) | |
336 | 336 | if ((aW == aW)) | |
337 | 337 | then aN | |
338 | 338 | else throw("Strict value is not equal to itself.") | |
339 | 339 | } | |
340 | 340 | else throw("Strict value is not equal to itself.") | |
341 | 341 | } | |
342 | 342 | else throw("Strict value is not equal to itself.") | |
343 | 343 | } | |
344 | 344 | } | |
345 | 345 | else throw("Strict value is not equal to itself.") | |
346 | 346 | } | |
347 | 347 | ||
348 | 348 | ||
349 | 349 | ||
350 | 350 | @Callable(aI) | |
351 | 351 | func issueFreeDuckling (b,aX,aY) = if (if (if (if ((aI.caller != this)) | |
352 | 352 | then (aI.caller != G()) | |
353 | 353 | else false) | |
354 | 354 | then (aI.caller != O()) | |
355 | 355 | else false) | |
356 | 356 | then (aI.caller != P()) | |
357 | 357 | else false) | |
358 | 358 | then throw("BIFD: You can't issue free duckling") | |
359 | 359 | else { | |
360 | 360 | let aZ = Issue("BABY-11111111-GZ", "", 1, 0, false, unit, height) | |
361 | 361 | let ba = calculateAssetId(aZ) | |
362 | 362 | $Tuple2([StringEntry((((b + "_") + aX) + "_di"), toBase58String(ba)), IntegerEntry("stats_amount", (al("stats_amount") + 1)), IntegerEntry(ah(toBase58String(ba)), aY), StringEntry(ai(toBase58String(ba)), b), aZ, ScriptTransfer(value(addressFromString(b)), 1, ba)], toBase58String(ba)) | |
363 | 363 | } | |
364 | 364 | ||
365 | 365 | ||
366 | 366 | ||
367 | 367 | @Callable(aI) | |
368 | 368 | func feedDuckling (ab,bb,aE,aF) = { | |
369 | 369 | let aN = X(aI.payments[1]) | |
370 | 370 | if ((aN == aN)) | |
371 | 371 | then { | |
372 | 372 | let bc = toString(aI.caller) | |
373 | 373 | let bd = aD(aE, aF, bc) | |
374 | 374 | let be = ae(bc) | |
375 | 375 | let bf = al(be) | |
376 | 376 | let bg = if (!(sigVerify_8Kb(toBytes(bd), fromBase58String(bb), Q))) | |
377 | 377 | then throw("BFD: Invalid proof from backend") | |
378 | 378 | else if (if ((size(aI.payments) != 2)) | |
379 | 379 | then true | |
380 | 380 | else (value(aI.payments[0]).assetId != F())) | |
381 | 381 | then throw("BFD: Bad payment attached (asset[s] or amount)") | |
382 | 382 | else if (an(ag(ab))) | |
383 | 383 | then throw("BFD: Duckling is already grown") | |
384 | 384 | else if ((aF != (bf + 1))) | |
385 | 385 | then throw(((("BFD: User Nonce should be " + toString(bf)) + " + 1, while received ") + toString(aF))) | |
386 | 386 | else { | |
387 | 387 | let bh = h(aj(ab)) | |
388 | 388 | if (bh) | |
389 | 389 | then throw("BFD: Can not feed blacklisted duckling!") | |
390 | 390 | else if ((ab == "")) | |
391 | 391 | then throw("BFD: Please buy a duckling first!") | |
392 | 392 | else { | |
393 | 393 | let bi = value(assetInfo(fromBase58String(ab))) | |
394 | 394 | if ((assetBalance(aI.caller, bi.id) != 1)) | |
395 | 395 | then throw("BFD: You're not the owner of the duckling") | |
396 | 396 | else if ((bi.issuer != this)) | |
397 | 397 | then throw("BFD: Cant find duckling with such id") | |
398 | 398 | else toBase58String(bi.id) | |
399 | 399 | } | |
400 | 400 | } | |
401 | 401 | let bj = value(aI.payments[0]).amount | |
402 | 402 | let bk = af(bg) | |
403 | 403 | let bl = ac(bg) | |
404 | 404 | let bm = ad(bc) | |
405 | 405 | let bn = al(bl) | |
406 | 406 | let bo = al(bm) | |
407 | 407 | let bp = ((("duckling_" + bg) + "_stat_") + toString(lastBlock.timestamp)) | |
408 | 408 | if ((bj > aE)) | |
409 | 409 | then throw(("BFD: Cannot feed duckling for such amount, max feed amount is: " + toString(aE))) | |
410 | 410 | else { | |
411 | 411 | let bq = aw(bg, bj) | |
412 | 412 | let br = i(ai(bg)) | |
413 | 413 | let bs = invoke(M(), "topUpReward", nil, [AttachedPayment(F(), (bj / 2))]) | |
414 | 414 | if ((bs == bs)) | |
415 | 415 | then { | |
416 | 416 | let bt = invoke(N(), "topUpReward", ["SPICE", 0], [AttachedPayment(F(), (bj / 10))]) | |
417 | 417 | if ((bt == bt)) | |
418 | 418 | then { | |
419 | 419 | let bu = if ((bj >= 1000000000)) | |
420 | 420 | then invoke(I(), "recordAction", ["FEEDDUCKLING10"], nil) | |
421 | 421 | else nil | |
422 | 422 | if ((bu == bu)) | |
423 | 423 | then if (if ((br != toString(aI.caller))) | |
424 | 424 | then !(ao()) | |
425 | 425 | else false) | |
426 | 426 | then ([BooleanEntry(aj(bg), true)] ++ aN) | |
427 | - | else ([IntegerEntry(be, (bf + 1)), IntegerEntry(bl, (bn + bj)), IntegerEntry(bm, (bo + bj)), IntegerEntry(bp, bj), StringEntry(bk, bq._1), StringEntry((bp + "_debug"), makeString(bq._2, ";")), Burn(F(), (bj / 2))] ++ aN) | |
427 | + | else ([IntegerEntry(be, (bf + 1)), IntegerEntry(bl, (bn + bj)), IntegerEntry(bm, (bo + bj)), IntegerEntry(bp, bj), StringEntry(bk, bq._1), StringEntry((bp + "_debug"), makeString(bq._2, ";")), Burn(F(), ((bj / 2) - (bj / 10)))] ++ aN) | |
428 | 428 | else throw("Strict value is not equal to itself.") | |
429 | 429 | } | |
430 | 430 | else throw("Strict value is not equal to itself.") | |
431 | 431 | } | |
432 | 432 | else throw("Strict value is not equal to itself.") | |
433 | 433 | } | |
434 | 434 | } | |
435 | 435 | else throw("Strict value is not equal to itself.") | |
436 | 436 | } | |
437 | 437 | ||
438 | 438 | ||
439 | 439 | ||
440 | 440 | @Callable(aI) | |
441 | 441 | func fixLevels (bv) = if (if ((aI.callerPublicKey != base58'GDxBbsDRmeY39quNrDsTXKJzFWbQVtjxHseF4ikxZ7n9')) | |
442 | 442 | then (aI.caller != this) | |
443 | 443 | else false) | |
444 | 444 | then throw("BFL: Not authorized") | |
445 | 445 | else { | |
446 | 446 | let bw = value(split(bv, ",")) | |
447 | 447 | func bx (by,bz) = { | |
448 | 448 | let bl = ac(bz) | |
449 | 449 | let bn = al(bl) | |
450 | 450 | let bA = aa(bz) | |
451 | 451 | let bB = al(bA) | |
452 | 452 | let bk = af(bz) | |
453 | 453 | let bC = { | |
454 | 454 | let d = getBoolean((("duckling_" + bz) + "_issuedByFeedCall")) | |
455 | 455 | if ($isInstanceOf(d, "Boolean")) | |
456 | 456 | then { | |
457 | 457 | let g = d | |
458 | 458 | if (if ((g == true)) | |
459 | 459 | then (al(ah(bz)) == 0) | |
460 | 460 | else false) | |
461 | 461 | then toBigInt(0) | |
462 | 462 | else ap(bz) | |
463 | 463 | } | |
464 | 464 | else ap(bz) | |
465 | 465 | } | |
466 | 466 | let az = fraction(toBigInt((bn / 100)), toBigInt(S), toBigInt(R)) | |
467 | 467 | let bD = if ((bB != 0)) | |
468 | 468 | then fraction(toBigInt(bB), toBigInt(W), toBigInt(V)) | |
469 | 469 | else toBigInt(0) | |
470 | 470 | (by ++ [StringEntry(bk, toString(((bC + az) + bD))), StringEntry("DEBUG", ((((toString(bC) + " ") + toString(az)) + " ") + toString(bD)))]) | |
471 | 471 | } | |
472 | 472 | ||
473 | 473 | let bE = bw | |
474 | 474 | let bF = size(bE) | |
475 | 475 | let bG = nil | |
476 | 476 | func bH (bI,bJ) = if ((bJ >= bF)) | |
477 | 477 | then bI | |
478 | 478 | else bx(bI, bE[bJ]) | |
479 | 479 | ||
480 | 480 | func bK (bI,bJ) = if ((bJ >= bF)) | |
481 | 481 | then bI | |
482 | 482 | else throw("List size exceeds 20") | |
483 | 483 | ||
484 | 484 | bK(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bH(bG, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
485 | 485 | } | |
486 | 486 | ||
487 | 487 | ||
488 | 488 | ||
489 | 489 | @Callable(aI) | |
490 | 490 | func turnDucklingIntoDuck () = { | |
491 | 491 | let aN = X(aI.payments[1]) | |
492 | 492 | if ((aN == aN)) | |
493 | 493 | then { | |
494 | 494 | let b = toString(aI.caller) | |
495 | 495 | let bL = toBase58String(aI.transactionId) | |
496 | 496 | let bM = al(U) | |
497 | 497 | let bN = ((1 * 30) * 1000) | |
498 | 498 | let bO = (lastBlock.timestamp - (bM + bN)) | |
499 | 499 | if (if ((bM > 0)) | |
500 | 500 | then (0 > bO) | |
501 | 501 | else false) | |
502 | 502 | then throw((("BTD: Can issue ducklings only once per 30s, please wait for " + toString(fraction(bO, 1, 1000))) + " sec.")) | |
503 | 503 | else if ((size(aI.payments) != 2)) | |
504 | 504 | then throw("BTD: Bad payment attached (asset[s] or amount)") | |
505 | 505 | else if ((aI.payments[0].amount != 1)) | |
506 | 506 | then throw("BTD: Please attach a nft!") | |
507 | 507 | else { | |
508 | 508 | let bP = value(assetInfo(value(value(aI.payments[0]).assetId))) | |
509 | 509 | let bh = h(aj(toBase58String(bP.id))) | |
510 | 510 | if (bh) | |
511 | 511 | then throw("BTD: Can not convert blacklisted duckling!") | |
512 | 512 | else { | |
513 | 513 | let bQ = aG(invoke(this, "calculateDucklingPriceTwoDecimals", nil, nil)) | |
514 | 514 | if ((bQ == bQ)) | |
515 | 515 | then { | |
516 | 516 | let bR = fraction(bQ, T, 100) | |
517 | 517 | if ((toBigInt(bR) > as(toBase58String(bP.id)))) | |
518 | 518 | then throw("BTD: Duckling is not grown yet...") | |
519 | 519 | else if ((bP.issuer != this)) | |
520 | 520 | then throw("BTD: Can use only ducklings from this dApp") | |
521 | 521 | else { | |
522 | 522 | let bS = invoke(H(), "startDuckHatching", [""], nil) | |
523 | 523 | if ((bS == bS)) | |
524 | 524 | then { | |
525 | 525 | let bT = ag(toBase58String(bP.id)) | |
526 | 526 | ([BooleanEntry(bT, true), IntegerEntry(U, lastBlock.timestamp), IntegerEntry(ak(), (al(ak()) + 1))] ++ aN) | |
527 | 527 | } | |
528 | 528 | else throw("Strict value is not equal to itself.") | |
529 | 529 | } | |
530 | 530 | } | |
531 | 531 | else throw("Strict value is not equal to itself.") | |
532 | 532 | } | |
533 | 533 | } | |
534 | 534 | } | |
535 | 535 | else throw("Strict value is not equal to itself.") | |
536 | 536 | } | |
537 | 537 | ||
538 | 538 | ||
539 | 539 | @Verifier(bU) | |
540 | 540 | func bV () = if (ao()) | |
541 | 541 | then sigVerify(bU.bodyBytes, bU.proofs[0], bU.senderPublicKey) | |
542 | 542 | else { | |
543 | 543 | let bW = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4' | |
544 | 544 | let bX = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8' | |
545 | 545 | let bY = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3' | |
546 | 546 | let bZ = if (sigVerify(bU.bodyBytes, bU.proofs[0], bW)) | |
547 | 547 | then 1 | |
548 | 548 | else if (sigVerify(bU.bodyBytes, bU.proofs[1], bW)) | |
549 | 549 | then 1 | |
550 | 550 | else if (sigVerify(bU.bodyBytes, bU.proofs[2], bW)) | |
551 | 551 | then 1 | |
552 | 552 | else 0 | |
553 | 553 | let ca = if (sigVerify(bU.bodyBytes, bU.proofs[0], bX)) | |
554 | 554 | then 1 | |
555 | 555 | else if (sigVerify(bU.bodyBytes, bU.proofs[1], bX)) | |
556 | 556 | then 1 | |
557 | 557 | else if (sigVerify(bU.bodyBytes, bU.proofs[2], bX)) | |
558 | 558 | then 1 | |
559 | 559 | else 0 | |
560 | 560 | let cb = if (sigVerify(bU.bodyBytes, bU.proofs[0], bY)) | |
561 | 561 | then 1 | |
562 | 562 | else if (sigVerify(bU.bodyBytes, bU.proofs[1], bY)) | |
563 | 563 | then 1 | |
564 | 564 | else if (sigVerify(bU.bodyBytes, bU.proofs[2], bY)) | |
565 | 565 | then 1 | |
566 | 566 | else 0 | |
567 | 567 | let cc = ((bZ + ca) + cb) | |
568 | 568 | let d = bU | |
569 | 569 | (cc >= 2) | |
570 | 570 | } | |
571 | 571 |
github/deemru/w8io/169f3d6 49.91 ms ◑