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