tx · Bift3TMMhu22PKqJFuiSfj9Xz161i7zEwH6uCSA93Y9N 3N6PvAL6whpaLE48xjeZbmU7vRWQmuz8AA5: -0.01900000 Waves 2024.10.07 20:22 [3316717] smart account 3N6PvAL6whpaLE48xjeZbmU7vRWQmuz8AA5 > SELF 0.00000000 Waves
{ "type": 13, "id": "Bift3TMMhu22PKqJFuiSfj9Xz161i7zEwH6uCSA93Y9N", "fee": 1900000, "feeAssetId": null, "timestamp": 1728321730680, "version": 2, "chainId": 84, "sender": "3N6PvAL6whpaLE48xjeZbmU7vRWQmuz8AA5", "senderPublicKey": "3ZB9kd3fTB7j5xvuxZe67A7aT4cNTs2gUk1tyFaCdWJ6", "proofs": [ "4v9CimVhqaA3dRno99pabWxK4j6KBD8oUEuToQPEAD54kc8PDMZW3nYuLTYvV65dZ1Cu5XGJ1tr6sz3mDUYG2wMn" ], "script": "base64:BgIWCAISAwoBCBIDCgEIEgMKAQgSAwoBCDABFHRyeUdldFN0cmluZ0V4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAnQgCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAFhBQckbWF0Y2gwBQFhAgABEXRyeUdldEludEV4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAmggCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFhBQckbWF0Y2gwBQFhCQACAQIbUlRHSUU6IFNvbWV0aGluZyB3ZW50IHdyb25nAQlhc0Jvb2xlYW4BBXZhbHVlBAckbWF0Y2gwBQV2YWx1ZQMJAAECBQckbWF0Y2gwAgdCb29sZWFuBAdib29sZWFuBQckbWF0Y2gwBQdib29sZWFuCQACAQIiRkFCOiB3cm9uZyB0eXBlLCBleHBlY3RlZDogQm9vbGVhbgEMdHJ5R2V0U3RyaW5nAQNrZXkJARR0cnlHZXRTdHJpbmdFeHRlcm5hbAIFBHRoaXMFA2tleQAQZGVsYXlGb3JIYX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XNlclNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFCWZpcnN0VXNlcgABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUJZmlyc3RVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQlmaXJzdFVzZXIAAQAABBBzZWNvbmRVc2VyU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUKc2Vjb25kVXNlcgABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUKc2Vjb25kVXNlcgABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgUKc2Vjb25kVXNlcgABAAAED3RoaXJkVXNlclNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFCXRoaXJkVXNlcgABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUJdGhpcmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQl0aGlyZFVzZXIAAQAABA9zaWduYXR1cmVzQ291bnQJAGQCCQBkAgUPZmlyc3RVc2VyU2lnbmVkBRBzZWNvbmRVc2VyU2lnbmVkBQ90aGlyZFVzZXJTaWduZWQEByRtYXRjaDAFAnR4CQBnAgUPc2lnbmF0dXJlc0NvdW50AAKnNaoQ", "height": 3316717, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: AjUbuc9yNo62LUB39MsGxKBZkHyfg3GtfuQuQWyTu7gV Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | func a (b,c) = { | |
5 | + | let d = getString(b, c) | |
6 | + | if ($isInstanceOf(d, "String")) | |
7 | + | then { | |
8 | + | let e = d | |
9 | + | e | |
10 | + | } | |
11 | + | else "" | |
12 | + | } | |
13 | + | ||
14 | + | ||
15 | + | func f (b,c) = { | |
16 | + | let d = getInteger(b, c) | |
17 | + | if ($isInstanceOf(d, "Int")) | |
18 | + | then { | |
19 | + | let e = d | |
20 | + | e | |
21 | + | } | |
22 | + | else throw("RTGIE: Something went wrong") | |
23 | + | } | |
24 | + | ||
25 | + | ||
26 | + | func g (h) = { | |
27 | + | let d = h | |
28 | + | if ($isInstanceOf(d, "Boolean")) | |
29 | + | then { | |
30 | + | let i = d | |
31 | + | i | |
32 | + | } | |
33 | + | else throw("FAB: wrong type, expected: Boolean") | |
34 | + | } | |
35 | + | ||
36 | + | ||
37 | + | func j (c) = a(this, c) | |
38 | + | ||
39 | + | ||
40 | + | let k = 2 | |
41 | + | ||
42 | + | func l () = "static_oracleAddress" | |
43 | + | ||
44 | + | ||
45 | + | func m () = "static_eggAssetId" | |
46 | + | ||
47 | + | ||
48 | + | func n () = "static_incubatorAddress" | |
49 | + | ||
50 | + | ||
51 | + | func o () = "static_breederAddress" | |
52 | + | ||
53 | + | ||
54 | + | func p () = "static_farmingAddressNew" | |
55 | + | ||
56 | + | ||
57 | + | func q () = "static_babyDuckAddress" | |
58 | + | ||
59 | + | ||
60 | + | func r () = "static_gameDappAddress" | |
61 | + | ||
62 | + | ||
63 | + | func s () = "static_itemsAddress" | |
64 | + | ||
65 | + | ||
66 | + | func t () = "static_couponsAddress" | |
67 | + | ||
68 | + | ||
69 | + | func u () = "static_huntAddress" | |
70 | + | ||
71 | + | ||
72 | + | func v () = "static_burnAddress" | |
73 | + | ||
74 | + | ||
75 | + | func w () = "static_refContractAddress" | |
76 | + | ||
77 | + | ||
78 | + | func x () = "static_extraFee" | |
79 | + | ||
80 | + | ||
81 | + | func y () = "static_feeAggregator" | |
82 | + | ||
83 | + | ||
84 | + | func z () = Address(fromBase58String(j(l()))) | |
85 | + | ||
86 | + | ||
87 | + | func A () = fromBase58String(a(z(), m())) | |
88 | + | ||
89 | + | ||
90 | + | func B () = Address(fromBase58String(a(z(), n()))) | |
91 | + | ||
92 | + | ||
93 | + | func C () = Address(fromBase58String(a(z(), o()))) | |
94 | + | ||
95 | + | ||
96 | + | func D () = Address(fromBase58String(a(z(), p()))) | |
97 | + | ||
98 | + | ||
99 | + | func E () = Address(fromBase58String(a(z(), q()))) | |
100 | + | ||
101 | + | ||
102 | + | func F () = Address(fromBase58String(a(z(), r()))) | |
103 | + | ||
104 | + | ||
105 | + | func G () = Address(fromBase58String(a(z(), s()))) | |
106 | + | ||
107 | + | ||
108 | + | func H () = Address(fromBase58String(a(z(), t()))) | |
109 | + | ||
110 | + | ||
111 | + | func I () = Address(fromBase58String(a(z(), u()))) | |
112 | + | ||
113 | + | ||
114 | + | func J () = Address(fromBase58String(a(z(), v()))) | |
115 | + | ||
116 | + | ||
117 | + | func K () = Address(fromBase58String(a(z(), w()))) | |
118 | + | ||
119 | + | ||
120 | + | func L () = Address(fromBase58String(a(z(), y()))) | |
121 | + | ||
122 | + | ||
123 | + | func M (N) = if (isDefined(N.assetId)) | |
124 | + | then throw("RCAP: Please attach waves") | |
125 | + | else { | |
126 | + | let O = getIntegerValue(z(), x()) | |
127 | + | if ((N.amount != O)) | |
128 | + | then throw((("RCAP: Please attach exactly " + toString(O)) + " amount of wavelets")) | |
129 | + | else [ScriptTransfer(L(), O, unit)] | |
130 | + | } | |
131 | + | ||
132 | + | ||
133 | + | let P = 1000 | |
134 | + | ||
135 | + | func Q (c) = { | |
136 | + | let d = getInteger(this, c) | |
137 | + | if ($isInstanceOf(d, "Int")) | |
138 | + | then { | |
139 | + | let R = d | |
140 | + | R | |
141 | + | } | |
142 | + | else 0 | |
143 | + | } | |
144 | + | ||
145 | + | ||
146 | + | func S (h) = { | |
147 | + | let d = h | |
148 | + | if ($isInstanceOf(d, "String")) | |
149 | + | then { | |
150 | + | let T = d | |
151 | + | T | |
152 | + | } | |
153 | + | else if ($isInstanceOf(d, "Int")) | |
154 | + | then { | |
155 | + | let T = d | |
156 | + | throw("wrong type, expected: String, got: Int") | |
157 | + | } | |
158 | + | else if ($isInstanceOf(d, "Unit")) | |
159 | + | then { | |
160 | + | let T = d | |
161 | + | throw("wrong type, expected: String, got: Unit") | |
162 | + | } | |
163 | + | else throw("wrong type, expected: String") | |
164 | + | } | |
165 | + | ||
166 | + | ||
167 | + | let O = Q("currentPrice") | |
168 | + | ||
169 | + | func U (V) = if (contains(V, "0")) | |
170 | + | then "" | |
171 | + | else V | |
172 | + | ||
173 | + | ||
174 | + | func W (X) = if ((X == "G")) | |
175 | + | then B() | |
176 | + | else C() | |
177 | + | ||
178 | + | ||
179 | + | func Y (Z,X) = { | |
180 | + | let aa = getIntegerValue(W(X), (("stats_" + Z) + "_quantity")) | |
181 | + | let ab = pow((10000 / aa), 4, 5, 1, 2, FLOOR) | |
182 | + | if ((ab > 0)) | |
183 | + | then ab | |
184 | + | else 2 | |
185 | + | } | |
186 | + | ||
187 | + | ||
188 | + | func ac (ad) = if (if ((value(assetInfo(ad)).issuer == C())) | |
189 | + | then true | |
190 | + | else (value(assetInfo(ad)).issuer == B())) | |
191 | + | then { | |
192 | + | let ae = value(assetInfo(ad)).name | |
193 | + | let X = take(takeRight(ae, 2), 1) | |
194 | + | let af = S(invoke(C(), "getGenFromName", [ae], nil)) | |
195 | + | if ((af == af)) | |
196 | + | then $Tuple2(af, Y(af, X)) | |
197 | + | else throw("Strict value is not equal to itself.") | |
198 | + | } | |
199 | + | else throw("not valid NFT") | |
200 | + | ||
201 | + | ||
202 | + | func ag (ah,ai,aj,ak) = { | |
203 | + | let al = value(blockInfoByHeight((aj - 1))) | |
204 | + | let am = sha256((ai + value(al.vrf))) | |
205 | + | (toInt(am, (ak * 8)) % ah) | |
206 | + | } | |
207 | + | ||
208 | + | ||
209 | + | func an (ao,ap,aq) = { | |
210 | + | let ar = (P - fraction((P / 2), aq, 100)) | |
211 | + | let as = ag(ar, ao, ap, 1) | |
212 | + | if ((as == 1)) | |
213 | + | then "phoenix" | |
214 | + | else { | |
215 | + | let at = ag(1000, ao, ap, 0) | |
216 | + | if ((10 > at)) | |
217 | + | then "item!ART-FREEGENE" | |
218 | + | else if ((126 > at)) | |
219 | + | then "ar" | |
220 | + | else if ((186 > at)) | |
221 | + | then "item!ART-FIRE_ARMOUR" | |
222 | + | else if ((206 > at)) | |
223 | + | then "item!ART-FEED5" | |
224 | + | else if ((226 > at)) | |
225 | + | then "item!ART-FEED10" | |
226 | + | else if ((246 > at)) | |
227 | + | then "item!ART-FEED15" | |
228 | + | else if ((266 > at)) | |
229 | + | then "item!ART-FEED20" | |
230 | + | else if ((286 > at)) | |
231 | + | then "item!ART-FEED25" | |
232 | + | else if ((296 > at)) | |
233 | + | then "item!ART-FEED50" | |
234 | + | else if ((300 > at)) | |
235 | + | then "item!ART-FEED100" | |
236 | + | else if ((310 > at)) | |
237 | + | then "item!ART-CROWN" | |
238 | + | else if ((350 > at)) | |
239 | + | then "incubator" | |
240 | + | else if ((460 > at)) | |
241 | + | then if ((50 > aq)) | |
242 | + | then "item!ART-BUILTBODY" | |
243 | + | else "item!ART-MUTARIUM-D" | |
244 | + | else if ((480 > at)) | |
245 | + | then "item!ART-SNAKE" | |
246 | + | else if ((510 > at)) | |
247 | + | then "item!ART-ROBODUCK" | |
248 | + | else if ((600 > at)) | |
249 | + | then "item!ART-KATANA" | |
250 | + | else if ((650 > at)) | |
251 | + | then if ((50 > aq)) | |
252 | + | then "item!ART-SCEPTER" | |
253 | + | else "item!ART-MUTARIUM-D" | |
254 | + | else if ((710 > at)) | |
255 | + | then "item!ART-MUTARIUM-D" | |
256 | + | else if ((720 > at)) | |
257 | + | then "item!ART-MUTARIUM-G" | |
258 | + | else if ((890 > at)) | |
259 | + | then "duckling_10" | |
260 | + | else if ((960 > at)) | |
261 | + | then "duckling_20" | |
262 | + | else "duckling_40" | |
263 | + | } | |
264 | + | } | |
265 | + | ||
266 | + | ||
267 | + | func au (ad) = { | |
268 | + | let ae = value(assetInfo(ad)).name | |
269 | + | let X = take(takeRight(ae, 2), 1) | |
270 | + | if (if ((X == "G")) | |
271 | + | then true | |
272 | + | else (X == "J")) | |
273 | + | then B() | |
274 | + | else C() | |
275 | + | } | |
276 | + | ||
277 | + | ||
278 | + | func av (h) = { | |
279 | + | let d = h | |
280 | + | if ($isInstanceOf(d, "Int")) | |
281 | + | then { | |
282 | + | let aw = d | |
283 | + | aw | |
284 | + | } | |
285 | + | else if ($isInstanceOf(d, "String")) | |
286 | + | then { | |
287 | + | let ax = d | |
288 | + | throw(("RAI: wrong type, expected: Int, but got: " + ax)) | |
289 | + | } | |
290 | + | else throw("RAI: wrong type, expected: Int") | |
291 | + | } | |
292 | + | ||
293 | + | ||
294 | + | func ay (c) = { | |
295 | + | let d = getBoolean(this, c) | |
296 | + | if ($isInstanceOf(d, "Boolean")) | |
297 | + | then { | |
298 | + | let R = d | |
299 | + | R | |
300 | + | } | |
301 | + | else false | |
302 | + | } | |
303 | + | ||
304 | + | ||
305 | + | func az () = ay("TESTENV") | |
306 | + | ||
307 | + | ||
308 | + | func aA (aB,b,N,aC) = { | |
309 | + | let aD = Q((((("address_" + b) + "_initTx_") + aB) + "_finishBlock")) | |
310 | + | let aq = Q((((("address_" + b) + "_initTx_") + aB) + "_assetRarity")) | |
311 | + | let aE = j((((("address_" + b) + "_initTx_") + aB) + "_status")) | |
312 | + | let aF = M(N) | |
313 | + | if ((aF == aF)) | |
314 | + | then { | |
315 | + | let aG = invoke(H(), "recordAction", ["REBIRTH"], nil) | |
316 | + | if ((aG == aG)) | |
317 | + | then { | |
318 | + | func aH (b) = fromBase58String(a(b, "static_accessItemAssetId")) | |
319 | + | ||
320 | + | func aI (b) = f(b, "static_accessItemPrice") | |
321 | + | ||
322 | + | if ((aE != "open")) | |
323 | + | then throw("rebirth is finished or not open") | |
324 | + | else if ((aD > height)) | |
325 | + | then throw("you cannot finish rebirth, yet") | |
326 | + | else { | |
327 | + | let aJ = an(fromBase58String(aB), aD, aq) | |
328 | + | let ai = aB | |
329 | + | let aK = if ((indexOf(aJ, "perch") != unit)) | |
330 | + | then { | |
331 | + | let aL = takeRight(aJ, 1) | |
332 | + | let aK = if (!(aC)) | |
333 | + | then { | |
334 | + | let aM = invoke(D(), "addFreePerch", [b, aL, 1], nil) | |
335 | + | if ((aM == aM)) | |
336 | + | then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM))] | |
337 | + | else throw("Strict value is not equal to itself.") | |
338 | + | } | |
339 | + | else { | |
340 | + | let aM = invoke(D(), "addFreePerch", [b, aL, 2], nil) | |
341 | + | if ((aM == aM)) | |
342 | + | then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result1"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win1"), aJ)] | |
343 | + | else throw("Strict value is not equal to itself.") | |
344 | + | } | |
345 | + | if ((aK == aK)) | |
346 | + | then aK | |
347 | + | else throw("Strict value is not equal to itself.") | |
348 | + | } | |
349 | + | else if ((aJ == "incubator")) | |
350 | + | then { | |
351 | + | let aK = if (!(aC)) | |
352 | + | then { | |
353 | + | let aM = invoke(B(), "issueFreeDuck", [b, ai], nil) | |
354 | + | if ((aM == aM)) | |
355 | + | then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM))] | |
356 | + | else throw("Strict value is not equal to itself.") | |
357 | + | } | |
358 | + | else { | |
359 | + | let aM = invoke(B(), "issueFreeDuck", [b, ai], nil) | |
360 | + | if ((aM == aM)) | |
361 | + | then { | |
362 | + | let aN = invoke(E(), "issueFreeDuckling", [b, ai, 100], nil) | |
363 | + | if ((aN == aN)) | |
364 | + | then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result1"), S(aN)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win1"), "duckling_100")] | |
365 | + | else throw("Strict value is not equal to itself.") | |
366 | + | } | |
367 | + | else throw("Strict value is not equal to itself.") | |
368 | + | } | |
369 | + | if ((aK == aK)) | |
370 | + | then aK | |
371 | + | else throw("Strict value is not equal to itself.") | |
372 | + | } | |
373 | + | else if ((aJ == "ar")) | |
374 | + | then { | |
375 | + | let ad = aH(I()) | |
376 | + | let aO = aI(I()) | |
377 | + | let aP = invoke(I(), "buyAccessItemOther", [b], [AttachedPayment(ad, aO)]) | |
378 | + | if ((aP == aP)) | |
379 | + | then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aP))] | |
380 | + | else throw("Strict value is not equal to itself.") | |
381 | + | } | |
382 | + | else if ((aJ == "phoenix")) | |
383 | + | then { | |
384 | + | let aP = invoke(B(), "issueJackpot", [b, ai, valueOrElse(getString("JACKPOT_NAME"), "WWWWWWWP")], nil) | |
385 | + | if ((aP == aP)) | |
386 | + | then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aP))] | |
387 | + | else throw("Strict value is not equal to itself.") | |
388 | + | } | |
389 | + | else if ((indexOf(aJ, "duckling") != unit)) | |
390 | + | then { | |
391 | + | let aQ = parseIntValue(split(aJ, "_")[1]) | |
392 | + | let aR = if (aC) | |
393 | + | then (2 * aQ) | |
394 | + | else aQ | |
395 | + | let aP = invoke(E(), "issueFreeDuckling", [b, ai, aR], nil) | |
396 | + | if ((aP == aP)) | |
397 | + | then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aP))] | |
398 | + | else throw("Strict value is not equal to itself.") | |
399 | + | } | |
400 | + | else if ((indexOf(aJ, "item") != unit)) | |
401 | + | then { | |
402 | + | let aS = split(aJ, "!")[1] | |
403 | + | let aK = if (!(aC)) | |
404 | + | then { | |
405 | + | let aM = invoke(G(), "issueArtefactIndex", [aS, b, 0], nil) | |
406 | + | if ((aM == aM)) | |
407 | + | then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM))] | |
408 | + | else throw("Strict value is not equal to itself.") | |
409 | + | } | |
410 | + | else { | |
411 | + | let aM = invoke(G(), "issueArtefactIndex", [aS, b, 0], nil) | |
412 | + | if ((aM == aM)) | |
413 | + | then { | |
414 | + | let aN = invoke(G(), "issueArtefactIndex", [aS, b, 1], nil) | |
415 | + | if ((aN == aN)) | |
416 | + | then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aN)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win1"), aJ)] | |
417 | + | else throw("Strict value is not equal to itself.") | |
418 | + | } | |
419 | + | else throw("Strict value is not equal to itself.") | |
420 | + | } | |
421 | + | if ((aK == aK)) | |
422 | + | then aK | |
423 | + | else throw("Strict value is not equal to itself.") | |
424 | + | } | |
425 | + | else throw("RFB: Some error occured, please contact the admins!") | |
426 | + | ((aK ++ [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win"), aJ), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_status"), "finish")]) ++ aF) | |
427 | + | } | |
428 | + | } | |
429 | + | else throw("Strict value is not equal to itself.") | |
430 | + | } | |
431 | + | else throw("Strict value is not equal to itself.") | |
432 | + | } | |
433 | + | ||
434 | + | ||
435 | + | @Callable(aT) | |
436 | + | func configureOracle (aU) = if ((aT.caller != this)) | |
437 | + | then throw("RCU: admin only") | |
438 | + | else [StringEntry("static_oracleAddress", aU)] | |
439 | + | ||
440 | + | ||
441 | + | ||
442 | + | @Callable(aT) | |
443 | + | func initRebirth (aV) = { | |
444 | + | let aW = aT.payments[0] | |
445 | + | let ad = value(aW.assetId) | |
446 | + | let aB = toBase58String(aT.transactionId) | |
447 | + | let b = toString(aT.caller) | |
448 | + | if ((aW.amount != 1)) | |
449 | + | then throw("NFT is not attached") | |
450 | + | else { | |
451 | + | let aX = av(invoke(H(), "useCoupons", [O], nil)) | |
452 | + | if ((aX == aX)) | |
453 | + | then { | |
454 | + | let aY = (O - aX) | |
455 | + | let aF = M(aT.payments[1]) | |
456 | + | if ((aF == aF)) | |
457 | + | then { | |
458 | + | let N = if ((aY != 0)) | |
459 | + | then { | |
460 | + | let aZ = value(aT.payments[2]) | |
461 | + | if ((aZ.assetId != A())) | |
462 | + | then throw("You need to attach EGG tokens as fee") | |
463 | + | else if ((aY > aZ.amount)) | |
464 | + | then throw(("You need to attach the following amount of EGG tokens as fee: 0." + toString(aY))) | |
465 | + | else { | |
466 | + | let ba = fraction(aY, 5, 100) | |
467 | + | let bb = g(invoke(K(), "refPayment", [aV], [AttachedPayment(A(), ba)])) | |
468 | + | if ((bb == bb)) | |
469 | + | then { | |
470 | + | let bc = if (bb) | |
471 | + | then (aY - ba) | |
472 | + | else aY | |
473 | + | let bd = invoke(J(), "burnAttachedPayments", nil, [AttachedPayment(A(), bc)]) | |
474 | + | if ((bd == bd)) | |
475 | + | then aY | |
476 | + | else throw("Strict value is not equal to itself.") | |
477 | + | } | |
478 | + | else throw("Strict value is not equal to itself.") | |
479 | + | } | |
480 | + | } | |
481 | + | else 0 | |
482 | + | if ((N == N)) | |
483 | + | then { | |
484 | + | let be = ac(ad) | |
485 | + | let bf = be._1 | |
486 | + | let bg = be._2 | |
487 | + | let aP = invoke(au(ad), "reduceRarity", [toBase58String(ad), bf], nil) | |
488 | + | if ((aP == aP)) | |
489 | + | then ([IntegerEntry((((("address_" + b) + "_initTx_") + aB) + "_finishBlock"), (height + k)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_status"), "open"), IntegerEntry((((("address_" + b) + "_initTx_") + aB) + "_assetRarity"), bg), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_assetId"), toBase58String(ad))] ++ aF) | |
490 | + | else throw("Strict value is not equal to itself.") | |
491 | + | } | |
492 | + | else throw("Strict value is not equal to itself.") | |
493 | + | } | |
494 | + | else throw("Strict value is not equal to itself.") | |
495 | + | } | |
496 | + | else throw("Strict value is not equal to itself.") | |
497 | + | } | |
498 | + | } | |
499 | + | ||
500 | + | ||
501 | + | ||
502 | + | @Callable(aT) | |
503 | + | func finishRebirth (aB) = aA(aB, toString(aT.caller), aT.payments[0], false) | |
504 | + | ||
505 | + | ||
506 | + | ||
507 | + | @Callable(aT) | |
508 | + | func finishRebirthDouble (aB) = if (!(if ((size(aT.payments) == 2)) | |
509 | + | then (aT.payments[0].amount == 1) | |
510 | + | else false)) | |
511 | + | then throw("Invalid payment") | |
512 | + | else { | |
513 | + | let ad = value(aT.payments[0].assetId) | |
514 | + | let bh = S(invoke(G(), "checkArtefactDetails", [toBase58String(ad)], nil)) | |
515 | + | if ((bh == bh)) | |
516 | + | then if ((bh == "ART-GIFT_DOUBL")) | |
517 | + | then ([Burn(ad, 1)] ++ aA(aB, toString(aT.caller), aT.payments[1], true)) | |
518 | + | else throw("Error! Wrong item attached to double rewards!") | |
519 | + | else throw("Strict value is not equal to itself.") | |
520 | + | } | |
521 | + | ||
522 | + | ||
523 | + | @Verifier(ao) | |
524 | + | func bi () = if (az()) | |
525 | + | then sigVerify(ao.bodyBytes, ao.proofs[0], ao.senderPublicKey) | |
526 | + | else { | |
527 | + | let bj = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4' | |
528 | + | let bk = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8' | |
529 | + | let bl = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3' | |
530 | + | let bm = if (sigVerify(ao.bodyBytes, ao.proofs[0], bj)) | |
531 | + | then 1 | |
532 | + | else if (sigVerify(ao.bodyBytes, ao.proofs[1], bj)) | |
533 | + | then 1 | |
534 | + | else if (sigVerify(ao.bodyBytes, ao.proofs[2], bj)) | |
535 | + | then 1 | |
536 | + | else 0 | |
537 | + | let bn = if (sigVerify(ao.bodyBytes, ao.proofs[0], bk)) | |
538 | + | then 1 | |
539 | + | else if (sigVerify(ao.bodyBytes, ao.proofs[1], bk)) | |
540 | + | then 1 | |
541 | + | else if (sigVerify(ao.bodyBytes, ao.proofs[2], bk)) | |
542 | + | then 1 | |
543 | + | else 0 | |
544 | + | let bo = if (sigVerify(ao.bodyBytes, ao.proofs[0], bl)) | |
545 | + | then 1 | |
546 | + | else if (sigVerify(ao.bodyBytes, ao.proofs[1], bl)) | |
547 | + | then 1 | |
548 | + | else if (sigVerify(ao.bodyBytes, ao.proofs[2], bl)) | |
549 | + | then 1 | |
550 | + | else 0 | |
551 | + | let bp = ((bm + bn) + bo) | |
552 | + | let d = ao | |
553 | + | (bp >= 2) | |
554 | + | } | |
555 | + |
github/deemru/w8io/026f985 58.53 ms ◑