tx · 5N9ou332WebS3kBmPUW9qx3qFHNoormnrDdRfzRzC9Dz 3N1HXGzYqLnTSUXbPKm8pCrFxNENK13XV35: -0.01800000 Waves 2024.10.03 13:16 [3310539] smart account 3N1HXGzYqLnTSUXbPKm8pCrFxNENK13XV35 > SELF 0.00000000 Waves
{ "type": 13, "id": "5N9ou332WebS3kBmPUW9qx3qFHNoormnrDdRfzRzC9Dz", "fee": 1800000, "feeAssetId": null, "timestamp": 1727950606496, "version": 2, "chainId": 84, "sender": "3N1HXGzYqLnTSUXbPKm8pCrFxNENK13XV35", "senderPublicKey": "3CiGPztG1J8tBZCCwNVhiz6xYQWLpcHtn5TSu5MXjVUk", "proofs": [ "4eco26mALsiEPNNbHtYemumTLhyj1cG1BtVVRTXVy4BxGUgxjfzCcTg1DQi9ASJksyGdSashYvPZGpcvnmacVT6B" ], "script": "base64:BgIZCAISAwoBCBIAEgMKAQgSAwoBCBIECgIICCgBFHRyeUdldFN0cmluZ0V4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAnQgCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAFhBQckbWF0Y2gwBQFhAgABDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABDHRyeUdldFN0cmluZwEDa2V5CQEUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwCBQR0aGlzBQNrZXkBBWFzSW50AQV2YWx1ZQQHJG1hdGNoMAUFdmFsdWUDCQABAgUHJG1hdGNoMAIDSW50BANpbnQFByRtYXRjaDAFA2ludAMJAAECBQckbWF0Y2gwAgZTdHJpbmcEBnN0cmluZwUHJG1hdGNoMAkAAgEJAKwCAgIpUkFJOiB3cm9uZyB0eXBlLCBleHBlY3RlZDogSW50LCBidXQgZ290OiAFBnN0cmluZwkAAgECHlJBSTogd3JvbmcgdHlwZSwgZX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VHgJAKUIAQgFAWkGY2FsbGVyCQCRAwIIBQFpCHBheW1lbnRzAAEGAgAHCQACAQIbRXJyb3IhIFdyb25nIGl0ZW0gYXR0YWNoZWQgCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAwkAAAIJAJADAQgFAWkIcGF5bWVudHMAAQkBFWZpbmlzaFJlYmlydGhJbnRlcm5hbAYFBmluaXRUeAkApQgBCAUBaQZjYWxsZXIJAJEDAggFAWkIcGF5bWVudHMAAAcCAAcJAAIBAhBJbnZhbGlkIHBheW1lbnRzABS4yB8=", "height": 3310539, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7MRfEVvrXgKoeK4Ee96u14iqr272A17HsD1ikTAoTrum Next: 8uHhNtZLFEGrNq9VG7b4kUvic33A3h5zh8ztWCmWLsBY Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func tryGetStringExternal (address,key) = match getString(address, key) { | |
5 | 5 | case a: String => | |
6 | 6 | a | |
7 | 7 | case _ => | |
8 | 8 | "" | |
9 | 9 | } | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | func tryGetInteger (key) = match getInteger(this, key) { | |
13 | 13 | case b: Int => | |
14 | 14 | b | |
15 | 15 | case _ => | |
16 | 16 | 0 | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | func tryGetString (key) = tryGetStringExternal(this, key) | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | func asInt (value) = match value { | |
24 | 24 | case int: Int => | |
25 | 25 | int | |
26 | 26 | case string: String => | |
27 | 27 | throw(("RAI: wrong type, expected: Int, but got: " + string)) | |
28 | 28 | case _ => | |
29 | 29 | throw("RAI: wrong type, expected: Int") | |
30 | 30 | } | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func asBoolean (value) = match value { | |
34 | 34 | case boolean: Boolean => | |
35 | 35 | boolean | |
36 | 36 | case _ => | |
37 | 37 | throw("FAB: wrong type, expected: Boolean") | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func asString (value) = match value { | |
42 | 42 | case s: String => | |
43 | 43 | s | |
44 | 44 | case s: Int => | |
45 | 45 | throw("wrong type, expected: String, got: Int") | |
46 | 46 | case s: Unit => | |
47 | 47 | throw("wrong type, expected: String, got: Unit") | |
48 | 48 | case _ => | |
49 | 49 | throw("wrong type, expected: String") | |
50 | 50 | } | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func staticKey_oracleAddress () = "static_oracleAddress" | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func staticKey_extraFee () = "static_extraFee" | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func staticKey_feeAggregator () = "static_feeAggregator" | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func staticKey_canineIncubatorAddress () = "static_canineIncubatorAddress" | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func staticKey_canineBreederAddress () = "static_canineBreederAddress" | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func staticKey_couponsAddress () = "static_couponsAddress" | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func staticKey_canineStakingAddress () = "static_canineStakingAddress" | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func staticKey_duckStakingAddress () = "static_farmingAddressNew" | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func staticKey_duckIncubatorAddress () = "static_incubatorAddress" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func staticKey_itemsAddress () = "static_itemsAddress" | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func staticKey_canineWavesRebirthPrice () = "static_canineWavesRebirthPrice" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func staticKey_turtleIncubatorAddress () = "static_turtleIncubatorAddress" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func staticKey_babyDuckAddress () = "static_babyDuckAddress" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress()))) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator()))) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func getCanineBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineBreederAddress()))) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func getCanineIncubatorAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineIncubatorAddress()))) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress()))) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func getCanineStakingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineStakingAddress()))) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func getDuckStakingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_duckStakingAddress()))) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func getDuckIncubatorAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_duckIncubatorAddress()))) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func getItemsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_itemsAddress()))) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func getTurtleIncubatorAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_turtleIncubatorAddress()))) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func getBabyDuckAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_babyDuckAddress()))) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func tryGetIntegerExternal (address,key) = match getInteger(address, key) { | |
126 | 126 | case b: Int => | |
127 | 127 | b | |
128 | 128 | case _ => | |
129 | 129 | throw("TR: Value not found in sc!") | |
130 | 130 | } | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | let wavesAmount = tryGetIntegerExternal(getOracle(), staticKey_canineWavesRebirthPrice()) | |
134 | 134 | ||
135 | 135 | let delayForHatching = 2 | |
136 | 136 | ||
137 | 137 | func checkReal (assetId) = if (if ((value(assetInfo(assetId)).issuer == getCanineBreederAddress())) | |
138 | 138 | then true | |
139 | 139 | else (value(assetInfo(assetId)).issuer == getCanineIncubatorAddress())) | |
140 | 140 | then value(assetInfo(assetId)).issuer | |
141 | 141 | else throw("not valid NFT") | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func checkAdditionalPayment (payment) = if (isDefined(payment.assetId)) | |
145 | 145 | then throw("RCAP: Please attach waves") | |
146 | 146 | else { | |
147 | 147 | let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee()) | |
148 | 148 | if ((payment.amount != feeAmount)) | |
149 | 149 | then throw((("RCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets")) | |
150 | 150 | else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)] | |
151 | 151 | } | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func getRandomNumber (options,txId,hatchingFinishHeight,offset) = { | |
155 | 155 | let randomSeedBlock = value(blockInfoByHeight((hatchingFinishHeight - 1))) | |
156 | 156 | let randomHash = sha256((txId + value(randomSeedBlock.vrf))) | |
157 | 157 | (toInt(randomHash, (offset * 8)) % options) | |
158 | 158 | } | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func tryGetBoolean (key) = match getBoolean(key) { | |
162 | 162 | case b: Boolean => | |
163 | 163 | b | |
164 | 164 | case _ => | |
165 | 165 | false | |
166 | 166 | } | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func getRandomWin (tx,finishHeight,blacklistCode) = { | |
170 | 170 | let n = getRandomNumber(1000, tx, finishHeight, 0) | |
171 | 171 | let result = if (if ((100 > n)) | |
172 | 172 | then (blacklistCode != "docking_A") | |
173 | 173 | else false) | |
174 | 174 | then "docking_A" | |
175 | 175 | else if (if ((200 > n)) | |
176 | 176 | then (blacklistCode != "docking_B") | |
177 | 177 | else false) | |
178 | 178 | then "docking_B" | |
179 | 179 | else if (if ((300 > n)) | |
180 | 180 | then (blacklistCode != "docking_C") | |
181 | 181 | else false) | |
182 | 182 | then "docking_C" | |
183 | 183 | else if (if ((400 > n)) | |
184 | 184 | then (blacklistCode != "docking_D") | |
185 | 185 | else false) | |
186 | 186 | then "docking_D" | |
187 | 187 | else if (if ((450 > n)) | |
188 | 188 | then (blacklistCode != "incubator") | |
189 | 189 | else false) | |
190 | 190 | then "incubator" | |
191 | 191 | else if (if ((490 > n)) | |
192 | 192 | then (blacklistCode != "duckling_40") | |
193 | 193 | else false) | |
194 | 194 | then "duckling_40" | |
195 | 195 | else if (if ((540 > n)) | |
196 | 196 | then (blacklistCode != "duckling_20") | |
197 | 197 | else false) | |
198 | 198 | then "duckling_20" | |
199 | 199 | else if (if ((640 > n)) | |
200 | 200 | then (blacklistCode != "item!ART-FEED5") | |
201 | 201 | else false) | |
202 | 202 | then "item!ART-FEED5" | |
203 | 203 | else if (if ((710 > n)) | |
204 | 204 | then (blacklistCode != "item!ART-FEED10") | |
205 | 205 | else false) | |
206 | 206 | then "item!ART-FEED10" | |
207 | 207 | else if (if ((740 > n)) | |
208 | 208 | then (blacklistCode != "item!ART-FEED15") | |
209 | 209 | else false) | |
210 | 210 | then "item!ART-FEED15" | |
211 | 211 | else if (if ((770 > n)) | |
212 | 212 | then (blacklistCode != "item!ART-FEED20") | |
213 | 213 | else false) | |
214 | 214 | then "item!ART-FEED20" | |
215 | 215 | else if (if ((790 > n)) | |
216 | 216 | then (blacklistCode != "item!ART-FEED25") | |
217 | 217 | else false) | |
218 | 218 | then "item!ART-FEED25" | |
219 | 219 | else if (if ((810 > n)) | |
220 | 220 | then (blacklistCode != "item!ART-FEED50") | |
221 | 221 | else false) | |
222 | 222 | then "item!ART-FEED50" | |
223 | 223 | else if (if ((830 > n)) | |
224 | 224 | then (blacklistCode != "item!ART-FEED100") | |
225 | 225 | else false) | |
226 | 226 | then "item!ART-FEED100" | |
227 | 227 | else if (if ((860 > n)) | |
228 | 228 | then (blacklistCode != "item!ART-MUTARIUM-G") | |
229 | 229 | else false) | |
230 | 230 | then "item!ART-MUTARIUM-G" | |
231 | 231 | else if (if ((890 > n)) | |
232 | 232 | then (blacklistCode != "item!ART-MUTARIUM-D") | |
233 | 233 | else false) | |
234 | 234 | then "item!ART-MUTARIUM-D" | |
235 | 235 | else if (if ((910 > n)) | |
236 | 236 | then (blacklistCode != "item!ART-FREEGENE") | |
237 | 237 | else false) | |
238 | 238 | then "item!ART-FREEGENE" | |
239 | 239 | else if (if ((930 > n)) | |
240 | 240 | then (blacklistCode != "item!ART-FIXGENE") | |
241 | 241 | else false) | |
242 | 242 | then "item!ART-FIXGENE" | |
243 | 243 | else if (if ((980 > n)) | |
244 | 244 | then (blacklistCode != "trtl_incubator") | |
245 | 245 | else false) | |
246 | 246 | then "trtl_incubator" | |
247 | 247 | else "item!ART-POTION" | |
248 | 248 | $Tuple2(n, result) | |
249 | 249 | } | |
250 | 250 | ||
251 | 251 | ||
252 | 252 | func getRandomReturn (tx,finishHeight) = { | |
253 | 253 | let n = getRandomNumber(2, tx, finishHeight, 1) | |
254 | 254 | if ((n == 0)) | |
255 | 255 | then true | |
256 | 256 | else false | |
257 | 257 | } | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func finishRebirthInternal (initTx,address,additionalPayment,double,blacklistCode,rescue) = { | |
261 | 261 | let finishBlock = tryGetInteger((((("address_" + address) + "_initTx_") + initTx) + "_finishBlock")) | |
262 | 262 | let status = tryGetString((((("address_" + address) + "_initTx_") + initTx) + "_status")) | |
263 | 263 | let validPayment = checkAdditionalPayment(additionalPayment) | |
264 | 264 | if ((validPayment == validPayment)) | |
265 | 265 | then if ((status != "open")) | |
266 | 266 | then throw("rebirth is finished or not open") | |
267 | 267 | else if ((finishBlock > height)) | |
268 | 268 | then throw("you cannot finish rebirth, yet") | |
269 | 269 | else { | |
270 | 270 | let output = getRandomWin(fromBase58String(initTx), finishBlock, blacklistCode) | |
271 | 271 | let win = output._2 | |
272 | 272 | let random = output._1 | |
273 | 273 | let txId = initTx | |
274 | 274 | let result = if ((indexOf(win, "docking") != unit)) | |
275 | 275 | then { | |
276 | 276 | let color = takeRight(win, 1) | |
277 | 277 | let call = if (!(double)) | |
278 | 278 | then { | |
279 | 279 | let first = invoke(getCanineStakingAddress(), "addFreePerch", [address, color, 1], nil) | |
280 | 280 | if ((first == first)) | |
281 | 281 | then [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result"), asString(first))] | |
282 | 282 | else throw("Strict value is not equal to itself.") | |
283 | 283 | } | |
284 | 284 | else { | |
285 | 285 | let first = invoke(getCanineStakingAddress(), "addFreePerch", [address, color, 2], nil) | |
286 | 286 | if ((first == first)) | |
287 | 287 | then [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result"), asString(first)), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result1"), asString(first)), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_win1"), win)] | |
288 | 288 | else throw("Strict value is not equal to itself.") | |
289 | 289 | } | |
290 | 290 | if ((call == call)) | |
291 | 291 | then call | |
292 | 292 | else throw("Strict value is not equal to itself.") | |
293 | 293 | } | |
294 | 294 | else if ((win == "incubator")) | |
295 | 295 | then { | |
296 | 296 | let call = if (!(double)) | |
297 | 297 | then { | |
298 | 298 | let first = invoke(getCanineIncubatorAddress(), "issueFree", [address, txId], nil) | |
299 | 299 | if ((first == first)) | |
300 | 300 | then [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result"), asString(first))] | |
301 | 301 | else throw("Strict value is not equal to itself.") | |
302 | 302 | } | |
303 | 303 | else { | |
304 | 304 | let first = invoke(getCanineIncubatorAddress(), "issueFree", [address, txId], nil) | |
305 | 305 | if ((first == first)) | |
306 | 306 | then { | |
307 | 307 | let second = invoke(getTurtleIncubatorAddress(), "issueFreeTurtle", [address, txId], nil) | |
308 | 308 | if ((second == second)) | |
309 | 309 | then [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result"), asString(first)), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result1"), asString(second)), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_win1"), "incubator")] | |
310 | 310 | else throw("Strict value is not equal to itself.") | |
311 | 311 | } | |
312 | 312 | else throw("Strict value is not equal to itself.") | |
313 | 313 | } | |
314 | 314 | if ((call == call)) | |
315 | 315 | then call | |
316 | 316 | else throw("Strict value is not equal to itself.") | |
317 | 317 | } | |
318 | 318 | else if ((indexOf(win, "duckling") != unit)) | |
319 | 319 | then { | |
320 | 320 | let level = parseIntValue(split(win, "_")[1]) | |
321 | 321 | let levelFinal = if (double) | |
322 | 322 | then (2 * level) | |
323 | 323 | else level | |
324 | 324 | let call = invoke(getBabyDuckAddress(), "issueFreeDuckling", [address, txId, levelFinal], nil) | |
325 | 325 | if ((call == call)) | |
326 | 326 | then [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result"), asString(call))] | |
327 | 327 | else throw("Strict value is not equal to itself.") | |
328 | 328 | } | |
329 | 329 | else if ((win == "trtl_incubator")) | |
330 | 330 | then { | |
331 | 331 | let call = if (!(double)) | |
332 | 332 | then { | |
333 | 333 | let first = invoke(getTurtleIncubatorAddress(), "issueFreeTurtle", [address, txId], nil) | |
334 | 334 | if ((first == first)) | |
335 | 335 | then [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result"), asString(first))] | |
336 | 336 | else throw("Strict value is not equal to itself.") | |
337 | 337 | } | |
338 | 338 | else { | |
339 | 339 | let first = invoke(getTurtleIncubatorAddress(), "issueFreeTurtle", [address, txId], nil) | |
340 | 340 | if ((first == first)) | |
341 | 341 | then { | |
342 | 342 | let second = invoke(getCanineIncubatorAddress(), "issueFree", [address, txId], nil) | |
343 | 343 | if ((second == second)) | |
344 | 344 | then [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result"), asString(first)), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result1"), asString(second)), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_win1"), "trtl_incubator")] | |
345 | 345 | else throw("Strict value is not equal to itself.") | |
346 | 346 | } | |
347 | 347 | else throw("Strict value is not equal to itself.") | |
348 | 348 | } | |
349 | 349 | if ((call == call)) | |
350 | 350 | then call | |
351 | 351 | else throw("Strict value is not equal to itself.") | |
352 | 352 | } | |
353 | 353 | else if ((indexOf(win, "item") != unit)) | |
354 | 354 | then { | |
355 | 355 | let itemName = split(win, "!")[1] | |
356 | 356 | let call = if (!(double)) | |
357 | 357 | then { | |
358 | 358 | let first = invoke(getItemsAddress(), "issueArtefactIndex", [itemName, address, 0], nil) | |
359 | 359 | if ((first == first)) | |
360 | 360 | then [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result"), asString(first))] | |
361 | 361 | else throw("Strict value is not equal to itself.") | |
362 | 362 | } | |
363 | 363 | else { | |
364 | 364 | let first = invoke(getItemsAddress(), "issueArtefactIndex", [itemName, address, 0], nil) | |
365 | 365 | if ((first == first)) | |
366 | 366 | then { | |
367 | 367 | let second = invoke(getItemsAddress(), "issueArtefactIndex", [itemName, address, 1], nil) | |
368 | 368 | if ((second == second)) | |
369 | 369 | then [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result"), asString(first)), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_result1"), asString(second)), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_win1"), win)] | |
370 | 370 | else throw("Strict value is not equal to itself.") | |
371 | 371 | } | |
372 | 372 | else throw("Strict value is not equal to itself.") | |
373 | 373 | } | |
374 | 374 | if ((call == call)) | |
375 | 375 | then call | |
376 | 376 | else throw("Strict value is not equal to itself.") | |
377 | 377 | } | |
378 | 378 | else throw(("RFB: Some error occured, please contact the admins! " + win)) | |
379 | 379 | if ((result == result)) | |
380 | 380 | then { | |
381 | 381 | let returnToSender = getRandomReturn(fromBase58String(initTx), finishBlock) | |
382 | 382 | let returnPayload = if (returnToSender) | |
383 | 383 | then { | |
384 | 384 | let assetId = fromBase58String(getStringValue((((("address_" + address) + "_initTx_") + initTx) + "_assetId"))) | |
385 | 385 | let issuer = checkReal(assetId) | |
386 | 386 | let gen = asString(invoke(getCanineBreederAddress(), "getGenFromName", [value(assetInfo(assetId)).name], nil)) | |
387 | 387 | if ((gen == gen)) | |
388 | 388 | then { | |
389 | 389 | let call = invoke(issuer, "increaseRarity", [toBase58String(assetId), gen], nil) | |
390 | 390 | if ((call == call)) | |
391 | 391 | then [ScriptTransfer(addressFromStringValue(address), 1, assetId)] | |
392 | 392 | else throw("Strict value is not equal to itself.") | |
393 | 393 | } | |
394 | 394 | else throw("Strict value is not equal to itself.") | |
395 | 395 | } | |
396 | 396 | else nil | |
397 | 397 | (((result ++ [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_win"), win), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_status"), "finish"), IntegerEntry((((("address_" + address) + "_initTx_") + initTx) + "_random"), random)]) ++ validPayment) ++ returnPayload) | |
398 | 398 | } | |
399 | 399 | else throw("Strict value is not equal to itself.") | |
400 | 400 | } | |
401 | 401 | else throw("Strict value is not equal to itself.") | |
402 | 402 | } | |
403 | 403 | ||
404 | 404 | ||
405 | 405 | @Callable(i) | |
406 | 406 | func configureOracle (oracle) = if ((i.caller != this)) | |
407 | 407 | then throw("RCU: admin only") | |
408 | 408 | else [StringEntry("static_oracleAddress", oracle)] | |
409 | 409 | ||
410 | 410 | ||
411 | 411 | ||
412 | 412 | @Callable(i) | |
413 | 413 | func initRebirth () = { | |
414 | 414 | let pmtCanine = i.payments[0] | |
415 | 415 | let pmtWaves = i.payments[1] | |
416 | 416 | let assetId = value(pmtCanine.assetId) | |
417 | 417 | let initTx = toBase58String(i.transactionId) | |
418 | 418 | let address = toString(i.caller) | |
419 | 419 | if ((pmtCanine.amount != 1)) | |
420 | 420 | then throw("NFT is not attached") | |
421 | 421 | else if (if ((pmtWaves.amount != wavesAmount)) | |
422 | 422 | then true | |
423 | 423 | else (pmtWaves.assetId != unit)) | |
424 | 424 | then throw("Wavespayment is not attached or wrong!") | |
425 | 425 | else { | |
426 | 426 | let sendToAggreGator = (pmtWaves.amount / 4) | |
427 | 427 | let topup = (pmtWaves.amount - sendToAggreGator) | |
428 | 428 | let addMore = invoke(getCanineStakingAddress(), "addWavesAndStakeMore", nil, [AttachedPayment(unit, topup)]) | |
429 | 429 | if ((addMore == addMore)) | |
430 | 430 | then { | |
431 | 431 | let issuer = checkReal(assetId) | |
432 | 432 | let gen = asString(invoke(getCanineBreederAddress(), "getGenFromName", [value(assetInfo(assetId)).name], nil)) | |
433 | 433 | if ((gen == gen)) | |
434 | 434 | then { | |
435 | 435 | let call = invoke(issuer, "reduceRarity", [toBase58String(assetId), gen], nil) | |
436 | 436 | if ((call == call)) | |
437 | 437 | then [IntegerEntry((((("address_" + address) + "_initTx_") + initTx) + "_finishBlock"), (height + delayForHatching)), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_status"), "open"), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_assetId"), toBase58String(assetId)), ScriptTransfer(getFeeAggregator(), sendToAggreGator, unit)] | |
438 | 438 | else throw("Strict value is not equal to itself.") | |
439 | 439 | } | |
440 | 440 | else throw("Strict value is not equal to itself.") | |
441 | 441 | } | |
442 | 442 | else throw("Strict value is not equal to itself.") | |
443 | 443 | } | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | ||
448 | 448 | @Callable(i) | |
449 | 449 | func finishRebirth (initTx) = finishRebirthInternal(initTx, toString(i.caller), i.payments[0], false, "", false) | |
450 | 450 | ||
451 | 451 | ||
452 | 452 | ||
453 | 453 | @Callable(i) | |
454 | 454 | func finishRebirthDouble (initTx) = if (!(if ((size(i.payments) == 2)) | |
455 | 455 | then (i.payments[0].amount == 1) | |
456 | 456 | else false)) | |
457 | 457 | then throw("Invalid payment") | |
458 | 458 | else { | |
459 | 459 | let assetId = value(i.payments[0].assetId) | |
460 | 460 | let boosterType = asString(invoke(getItemsAddress(), "checkArtefactDetails", [toBase58String(assetId)], nil)) | |
461 | 461 | if ((boosterType == boosterType)) | |
462 | 462 | then if ((boosterType == "ART-GIFT_DOUBL")) | |
463 | 463 | then ([Burn(assetId, 1)] ++ finishRebirthInternal(initTx, toString(i.caller), i.payments[1], true, "", false)) | |
464 | 464 | else throw("Error! Wrong item attached to double rewards!") | |
465 | 465 | else throw("Strict value is not equal to itself.") | |
466 | 466 | } | |
467 | 467 | ||
468 | 468 | ||
469 | 469 | ||
470 | 470 | @Callable(i) | |
471 | 471 | func finishRebirthItem (initTx,itemCode) = if (if ((size(i.payments) == 2)) | |
472 | 472 | then (i.payments[0].amount == 1) | |
473 | 473 | else false) | |
474 | 474 | then { | |
475 | 475 | let assetId = value(i.payments[0].assetId) | |
476 | 476 | let boosterType = asString(invoke(getItemsAddress(), "checkArtefactDetails", [toBase58String(assetId)], nil)) | |
477 | 477 | if ((boosterType == boosterType)) | |
478 | 478 | then if ((boosterType == "ART-HWERASE")) | |
479 | 479 | then ([Burn(assetId, 1)] ++ finishRebirthInternal(initTx, toString(i.caller), i.payments[1], false, itemCode, false)) | |
480 | 480 | else if ((boosterType == "ART-HWRESCUE")) | |
481 | 481 | then ([Burn(assetId, 1)] ++ finishRebirthInternal(initTx, toString(i.caller), i.payments[1], false, "", true)) | |
482 | 482 | else if ((boosterType == "ART-GIFT_DOUBL")) | |
483 | 483 | then ([Burn(assetId, 1)] ++ finishRebirthInternal(initTx, toString(i.caller), i.payments[1], true, "", false)) | |
484 | 484 | else throw("Error! Wrong item attached ") | |
485 | 485 | else throw("Strict value is not equal to itself.") | |
486 | 486 | } | |
487 | 487 | else if ((size(i.payments) == 1)) | |
488 | 488 | then finishRebirthInternal(initTx, toString(i.caller), i.payments[0], false, "", false) | |
489 | 489 | else throw("Invalid payments") | |
490 | 490 | ||
491 | 491 |
github/deemru/w8io/026f985 72.16 ms ◑