tx · gBps6TqDZBn4SUv6MWoqPq6LjAXRnjBYz6FJ4B4A4dV 3N3E5DdENzNsTDLRTChV21RMKbtVJmoyJwe: -0.03400000 Waves 2024.10.07 20:20 [3316716] smart account 3N3E5DdENzNsTDLRTChV21RMKbtVJmoyJwe > SELF 0.00000000 Waves
{ "type": 13, "id": "gBps6TqDZBn4SUv6MWoqPq6LjAXRnjBYz6FJ4B4A4dV", "fee": 3400000, "feeAssetId": null, "timestamp": 1728321628233, "version": 2, "chainId": 84, "sender": "3N3E5DdENzNsTDLRTChV21RMKbtVJmoyJwe", "senderPublicKey": "8in6idBgKKHrKDPnXtMawWeY4f9y993ypUDqH6DsJp5G", "proofs": [ "2VCGx49xzySuJ9SpmgvCJ5TSQT7uSkSQsqNqmkKDg239ve7Skr6YcxG9bv3jx8EEAXS4as7RhFFjVzaVAuSw8JRb" ], "script": "base64:AAIFAAAAAAAAACgIAhIDCgEIEgMKAQgSBQoDCAEBEgMKAQgSAwoBCBIDCgEIEgQKAggIAAAAOQEAAAAUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwAAAACAAAAB2FkZHJlc3MAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAABAAAADHRyeUdldFN0cmluZwAAAAEAAAADa2V5CQEAAAAUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwAAAACBQAAAAR0aGlzBQAAAANrZXkBAAAAF3N0YXRpY0tleV9vcmFjbGVBZGRyZXNzAAAAAAIAAAAUc3RhdGljX29yYWNsZUFkZHJlc3MBAAAAEnN0YXRpY0tleV9leHRyYUZlZQAAAAACAAAAD3N0YXRpY19leHRyYUZlZQEAAAAXc3RhdGljS2V5X2ZlZUFnZ3JlZ2F0b3IAAAAAAgAAABRzdGF0aWNfZmVlQWdncmVnYXRvcgEAAA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AAAAAAAAAAAQAAAAPdGhpcmRVc2VyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACXRoaXJkVXNlcgAAAAAAAAAAAQMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAl0aGlyZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9zaWduYXR1cmVzQ291bnQJAABkAAAAAgkAAGQAAAACBQAAAA9maXJzdFVzZXJTaWduZWQFAAAAEHNlY29uZFVzZXJTaWduZWQFAAAAD3RoaXJkVXNlclNpZ25lZAQAAAAHJG1hdGNoMAUAAAACdHgJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAACVmwCPA==", "height": 3316716, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | func tryGetStringExternal (address,key) = match getString(address, key) { | |
5 | + | case a: String => | |
6 | + | a | |
7 | + | case _ => | |
8 | + | "" | |
9 | + | } | |
10 | + | ||
11 | + | ||
12 | + | func tryGetString (key) = tryGetStringExternal(this, key) | |
13 | + | ||
14 | + | ||
15 | + | func staticKey_oracleAddress () = "static_oracleAddress" | |
16 | + | ||
17 | + | ||
18 | + | func staticKey_extraFee () = "static_extraFee" | |
19 | + | ||
20 | + | ||
21 | + | func staticKey_feeAggregator () = "static_feeAggregator" | |
22 | + | ||
23 | + | ||
24 | + | func staticKey_felineIncubator () = "static_felineIncubatorAddress" | |
25 | + | ||
26 | + | ||
27 | + | func staticKey_felineIncubationFee () = "static_felineIncubationFee" | |
28 | + | ||
29 | + | ||
30 | + | func staticKey_eggAssetId () = "static_eggAssetId" | |
31 | + | ||
32 | + | ||
33 | + | func staticKey_refContractAddress () = "static_refContractAddress" | |
34 | + | ||
35 | + | ||
36 | + | func staticKey_itemsAddress () = "static_itemsAddress" | |
37 | + | ||
38 | + | ||
39 | + | func staticKey_couponsAddress () = "static_couponsAddress" | |
40 | + | ||
41 | + | ||
42 | + | func staticKey_canineRebirthAddress () = "static_felineRebirthAddress" | |
43 | + | ||
44 | + | ||
45 | + | func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress()))) | |
46 | + | ||
47 | + | ||
48 | + | func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator()))) | |
49 | + | ||
50 | + | ||
51 | + | func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId())) | |
52 | + | ||
53 | + | ||
54 | + | func getCanineIncubator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineIncubator()))) | |
55 | + | ||
56 | + | ||
57 | + | func getCanineIncubationFee () = getIntegerValue(getOracle(), staticKey_felineIncubationFee()) | |
58 | + | ||
59 | + | ||
60 | + | func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), "static_burnAddress"))) | |
61 | + | ||
62 | + | ||
63 | + | func getRefContractAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_refContractAddress()))) | |
64 | + | ||
65 | + | ||
66 | + | func getItemsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_itemsAddress()))) | |
67 | + | ||
68 | + | ||
69 | + | func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress()))) | |
70 | + | ||
71 | + | ||
72 | + | func getFeliRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineRebirthAddress()))) | |
73 | + | ||
74 | + | ||
75 | + | func checkAdditionalPayment (payment) = if (isDefined(payment.assetId)) | |
76 | + | then throw("BDCAP: Please attach waves") | |
77 | + | else { | |
78 | + | let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee()) | |
79 | + | if ((payment.amount != feeAmount)) | |
80 | + | then throw((("BDCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets")) | |
81 | + | else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)] | |
82 | + | } | |
83 | + | ||
84 | + | ||
85 | + | let delayForHatching = 2 | |
86 | + | ||
87 | + | let HatchingStarted = "BREEDING_STARTED" | |
88 | + | ||
89 | + | let HatchingFinished = "BREEDING_FINISHED" | |
90 | + | ||
91 | + | let MaxGeneration = 7 | |
92 | + | ||
93 | + | let Generations = ["G", "H", "I", "K", "L", "M", "N", "O"] | |
94 | + | ||
95 | + | func asBoolean (value) = match value { | |
96 | + | case boolean: Boolean => | |
97 | + | boolean | |
98 | + | case _ => | |
99 | + | throw("TI: wrong type, expected: Boolean") | |
100 | + | } | |
101 | + | ||
102 | + | ||
103 | + | func getProcessStatusKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_status") | |
104 | + | ||
105 | + | ||
106 | + | func getBool (key) = match getBoolean(this, key) { | |
107 | + | case b: Boolean => | |
108 | + | b | |
109 | + | case _ => | |
110 | + | false | |
111 | + | } | |
112 | + | ||
113 | + | ||
114 | + | func isTestEnv () = getBool("TESTENV") | |
115 | + | ||
116 | + | ||
117 | + | func getProcessFinishHeightKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_fh") | |
118 | + | ||
119 | + | ||
120 | + | func getParentKey (txId,parentNum) = ((("inittx_" + toBase58String(txId)) + "_parent") + toString(parentNum)) | |
121 | + | ||
122 | + | ||
123 | + | func getIdKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_di") | |
124 | + | ||
125 | + | ||
126 | + | func getStatsKey (genString) = (("stats_" + genString) + "_amount") | |
127 | + | ||
128 | + | ||
129 | + | func tryGetInteger (key) = { | |
130 | + | let val = match getInteger(this, key) { | |
131 | + | case b: Int => | |
132 | + | b | |
133 | + | case _ => | |
134 | + | 0 | |
135 | + | } | |
136 | + | val | |
137 | + | } | |
138 | + | ||
139 | + | ||
140 | + | func determineGeneration (g1,g2) = { | |
141 | + | let gIndex = max([value(indexOf(Generations, g1)), value(indexOf(Generations, g2))]) | |
142 | + | Generations[(gIndex + 1)] | |
143 | + | } | |
144 | + | ||
145 | + | ||
146 | + | func getRandomNumber (variants,txId,hatchingFinishHeight,offset) = { | |
147 | + | let randomSeedBlock = value(blockInfoByHeight((hatchingFinishHeight - 1))) | |
148 | + | let randomHash = sha256_16Kb((txId + value(randomSeedBlock.vrf))) | |
149 | + | (toInt(randomHash, offset) % variants) | |
150 | + | } | |
151 | + | ||
152 | + | ||
153 | + | func getRandomGen (gen1,gen2,step,txId,hatchingFinishHeight,geneFromParent,genePostion,specifiqueGene,specifiqueGenePosition) = if (if ((geneFromParent != 0)) | |
154 | + | then (genePostion == step) | |
155 | + | else false) | |
156 | + | then if ((geneFromParent == 1)) | |
157 | + | then gen1 | |
158 | + | else if ((geneFromParent == 2)) | |
159 | + | then gen2 | |
160 | + | else throw("Parent either needs to be 1 or 2") | |
161 | + | else if (if ((specifiqueGene != "")) | |
162 | + | then (specifiqueGenePosition == step) | |
163 | + | else false) | |
164 | + | then specifiqueGene | |
165 | + | else { | |
166 | + | let randomNum = getRandomNumber(2, txId, hatchingFinishHeight, step) | |
167 | + | let gen = if ((randomNum == 0)) | |
168 | + | then gen1 | |
169 | + | else gen2 | |
170 | + | gen | |
171 | + | } | |
172 | + | ||
173 | + | ||
174 | + | func generate (txId,hatchingFinishHeight,parentFixedGene,positionFixedGene,specifiqueGene,specifiqueGenePosition) = { | |
175 | + | let colorRandom = getRandomNumber(4, txId, hatchingFinishHeight, 11) | |
176 | + | let color = if ((colorRandom == 0)) | |
177 | + | then "A" | |
178 | + | else if ((colorRandom == 1)) | |
179 | + | then "B" | |
180 | + | else if ((colorRandom == 2)) | |
181 | + | then "C" | |
182 | + | else "D" | |
183 | + | let parent1Id = fromBase58String(tryGetString(getParentKey(txId, 1))) | |
184 | + | let parent2Id = fromBase58String(tryGetString(getParentKey(txId, 2))) | |
185 | + | let parent1Gen = split(value(assetInfo(parent1Id)).name, "") | |
186 | + | let parent2Gen = split(value(assetInfo(parent2Id)).name, "") | |
187 | + | let gen = ((((((((((("FELI-" + getRandomGen(parent1Gen[5], parent2Gen[5], 0, txId, hatchingFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition)) + getRandomGen(parent1Gen[6], parent2Gen[6], 1, txId, hatchingFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition)) + getRandomGen(parent1Gen[7], parent2Gen[7], 2, txId, hatchingFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition)) + getRandomGen(parent1Gen[8], parent2Gen[8], 3, txId, hatchingFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition)) + getRandomGen(parent1Gen[9], parent2Gen[9], 4, txId, hatchingFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition)) + getRandomGen(parent1Gen[10], parent2Gen[10], 5, txId, hatchingFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition)) + getRandomGen(parent1Gen[11], parent2Gen[11], 6, txId, hatchingFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition)) + getRandomGen(parent1Gen[12], parent2Gen[12], 7, txId, hatchingFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition)) + "-") + determineGeneration(parent1Gen[14], parent2Gen[14])) + color) | |
188 | + | gen | |
189 | + | } | |
190 | + | ||
191 | + | ||
192 | + | func checkAssetInIncubator (assetId) = { | |
193 | + | let result = match getString(getCanineIncubator(), assetId) { | |
194 | + | case b: String => | |
195 | + | true | |
196 | + | case _ => | |
197 | + | false | |
198 | + | } | |
199 | + | let result2 = match getString(this, assetId) { | |
200 | + | case c: String => | |
201 | + | true | |
202 | + | case _ => | |
203 | + | false | |
204 | + | } | |
205 | + | if (result) | |
206 | + | then true | |
207 | + | else result2 | |
208 | + | } | |
209 | + | ||
210 | + | ||
211 | + | func canBeBreeded (asset1Id,asset2Id) = { | |
212 | + | let asset1Gen = split(value(assetInfo(asset1Id)).name, "") | |
213 | + | let asset2Gen = split(value(assetInfo(asset2Id)).name, "") | |
214 | + | if ((value(indexOf(Generations, asset1Gen[14])) >= MaxGeneration)) | |
215 | + | then (("you can only breed felines with generation " + Generations[MaxGeneration]) + " and lower") | |
216 | + | else if ((value(indexOf(Generations, asset2Gen[14])) >= MaxGeneration)) | |
217 | + | then (("you can only breed felines with generation " + Generations[MaxGeneration]) + " and lower") | |
218 | + | else "true" | |
219 | + | } | |
220 | + | ||
221 | + | ||
222 | + | func asString (value) = match value { | |
223 | + | case string: String => | |
224 | + | string | |
225 | + | case _ => | |
226 | + | throw("wrong type, expected: String") | |
227 | + | } | |
228 | + | ||
229 | + | ||
230 | + | func isSymbolA (accumulated,sym) = if ((sym == "A")) | |
231 | + | then (accumulated + 1) | |
232 | + | else (accumulated + 0) | |
233 | + | ||
234 | + | ||
235 | + | func isSymbolB (accumulated,sym) = if ((sym == "B")) | |
236 | + | then (accumulated + 1) | |
237 | + | else (accumulated + 0) | |
238 | + | ||
239 | + | ||
240 | + | func isSymbolC (accumulated,sym) = if ((sym == "C")) | |
241 | + | then (accumulated + 1) | |
242 | + | else (accumulated + 0) | |
243 | + | ||
244 | + | ||
245 | + | func isSymbolD (accumulated,sym) = if ((sym == "D")) | |
246 | + | then (accumulated + 1) | |
247 | + | else (accumulated + 0) | |
248 | + | ||
249 | + | ||
250 | + | func isSymbolE (accumulated,sym) = if ((sym == "E")) | |
251 | + | then (accumulated + 1) | |
252 | + | else (accumulated + 0) | |
253 | + | ||
254 | + | ||
255 | + | func isSymbolF (accumulated,sym) = if ((sym == "F")) | |
256 | + | then (accumulated + 1) | |
257 | + | else (accumulated + 0) | |
258 | + | ||
259 | + | ||
260 | + | func isSymbolG (accumulated,sym) = if ((sym == "G")) | |
261 | + | then (accumulated + 1) | |
262 | + | else (accumulated + 0) | |
263 | + | ||
264 | + | ||
265 | + | func isSymbolH (accumulated,sym) = if ((sym == "H")) | |
266 | + | then (accumulated + 1) | |
267 | + | else (accumulated + 0) | |
268 | + | ||
269 | + | ||
270 | + | func getAmountOrClear (amount) = if (contains(amount, "0")) | |
271 | + | then "" | |
272 | + | else amount | |
273 | + | ||
274 | + | ||
275 | + | func getGen (assetName) = { | |
276 | + | let genotype = split(dropRight(drop(assetName, 5), 3), "") | |
277 | + | let generation = split(assetName, "")[14] | |
278 | + | (((((((((getAmountOrClear((toString({ | |
279 | + | let $l = genotype | |
280 | + | let $s = size($l) | |
281 | + | let $acc0 = 0 | |
282 | + | func $f0_1 ($a,$i) = if (($i >= $s)) | |
283 | + | then $a | |
284 | + | else isSymbolA($a, $l[$i]) | |
285 | + | ||
286 | + | func $f0_2 ($a,$i) = if (($i >= $s)) | |
287 | + | then $a | |
288 | + | else throw("List size exceeds 8") | |
289 | + | ||
290 | + | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
291 | + | }) + "A")) + getAmountOrClear((toString({ | |
292 | + | let $l = genotype | |
293 | + | let $s = size($l) | |
294 | + | let $acc0 = 0 | |
295 | + | func $f1_1 ($a,$i) = if (($i >= $s)) | |
296 | + | then $a | |
297 | + | else isSymbolB($a, $l[$i]) | |
298 | + | ||
299 | + | func $f1_2 ($a,$i) = if (($i >= $s)) | |
300 | + | then $a | |
301 | + | else throw("List size exceeds 8") | |
302 | + | ||
303 | + | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
304 | + | }) + "B"))) + getAmountOrClear((toString({ | |
305 | + | let $l = genotype | |
306 | + | let $s = size($l) | |
307 | + | let $acc0 = 0 | |
308 | + | func $f2_1 ($a,$i) = if (($i >= $s)) | |
309 | + | then $a | |
310 | + | else isSymbolC($a, $l[$i]) | |
311 | + | ||
312 | + | func $f2_2 ($a,$i) = if (($i >= $s)) | |
313 | + | then $a | |
314 | + | else throw("List size exceeds 8") | |
315 | + | ||
316 | + | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
317 | + | }) + "C"))) + getAmountOrClear((toString({ | |
318 | + | let $l = genotype | |
319 | + | let $s = size($l) | |
320 | + | let $acc0 = 0 | |
321 | + | func $f3_1 ($a,$i) = if (($i >= $s)) | |
322 | + | then $a | |
323 | + | else isSymbolD($a, $l[$i]) | |
324 | + | ||
325 | + | func $f3_2 ($a,$i) = if (($i >= $s)) | |
326 | + | then $a | |
327 | + | else throw("List size exceeds 8") | |
328 | + | ||
329 | + | $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
330 | + | }) + "D"))) + getAmountOrClear((toString({ | |
331 | + | let $l = genotype | |
332 | + | let $s = size($l) | |
333 | + | let $acc0 = 0 | |
334 | + | func $f4_1 ($a,$i) = if (($i >= $s)) | |
335 | + | then $a | |
336 | + | else isSymbolE($a, $l[$i]) | |
337 | + | ||
338 | + | func $f4_2 ($a,$i) = if (($i >= $s)) | |
339 | + | then $a | |
340 | + | else throw("List size exceeds 8") | |
341 | + | ||
342 | + | $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
343 | + | }) + "E"))) + getAmountOrClear((toString({ | |
344 | + | let $l = genotype | |
345 | + | let $s = size($l) | |
346 | + | let $acc0 = 0 | |
347 | + | func $f5_1 ($a,$i) = if (($i >= $s)) | |
348 | + | then $a | |
349 | + | else isSymbolF($a, $l[$i]) | |
350 | + | ||
351 | + | func $f5_2 ($a,$i) = if (($i >= $s)) | |
352 | + | then $a | |
353 | + | else throw("List size exceeds 8") | |
354 | + | ||
355 | + | $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
356 | + | }) + "F"))) + getAmountOrClear((toString({ | |
357 | + | let $l = genotype | |
358 | + | let $s = size($l) | |
359 | + | let $acc0 = 0 | |
360 | + | func $f6_1 ($a,$i) = if (($i >= $s)) | |
361 | + | then $a | |
362 | + | else isSymbolG($a, $l[$i]) | |
363 | + | ||
364 | + | func $f6_2 ($a,$i) = if (($i >= $s)) | |
365 | + | then $a | |
366 | + | else throw("List size exceeds 8") | |
367 | + | ||
368 | + | $f6_2($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
369 | + | }) + "G"))) + getAmountOrClear((toString({ | |
370 | + | let $l = genotype | |
371 | + | let $s = size($l) | |
372 | + | let $acc0 = 0 | |
373 | + | func $f7_1 ($a,$i) = if (($i >= $s)) | |
374 | + | then $a | |
375 | + | else isSymbolH($a, $l[$i]) | |
376 | + | ||
377 | + | func $f7_2 ($a,$i) = if (($i >= $s)) | |
378 | + | then $a | |
379 | + | else throw("List size exceeds 8") | |
380 | + | ||
381 | + | $f7_2($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
382 | + | }) + "H"))) + "-") + generation) | |
383 | + | } | |
384 | + | ||
385 | + | ||
386 | + | func finishHatchingInternal (txIdStr,i,parentFixedGene,positionFixedGene,specifiqueGene,specifiqueGenePosition) = { | |
387 | + | let txId = fromBase58String(txIdStr) | |
388 | + | let processStatusKey = getProcessStatusKey(toString(i.caller), txId) | |
389 | + | let finishHeightKey = getProcessFinishHeightKey(toString(i.caller), txId) | |
390 | + | let IdKey = getIdKey(toString(i.caller), txId) | |
391 | + | let processTxStatus = getStringValue(this, processStatusKey) | |
392 | + | let processFinishHeight = getIntegerValue(this, finishHeightKey) | |
393 | + | if ((processTxStatus == HatchingFinished)) | |
394 | + | then { | |
395 | + | let Id = getStringValue(this, getIdKey(toString(i.caller), txId)) | |
396 | + | throw(("The feline was breeded and claimed already, here is the folowing: " + Id)) | |
397 | + | } | |
398 | + | else if ((processFinishHeight > height)) | |
399 | + | then throw((((("Breeding is not finished yet " + toString((processFinishHeight - height))) + " blocks remaining, it will take around ") + toString((processFinishHeight - height))) + " minutes")) | |
400 | + | else { | |
401 | + | let Gen = generate(txId, processFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition) | |
402 | + | let farmGen = getGen(Gen) | |
403 | + | let description = (("{\"genotype\": \"" + Gen) + "\", \"crossbreeding\": true}") | |
404 | + | let asset = Issue(Gen, description, 1, 0, false, unit, processFinishHeight) | |
405 | + | let assetId = calculateAssetId(asset) | |
406 | + | let amount = (tryGetInteger(getStatsKey(Gen)) + 1) | |
407 | + | let quantity = tryGetInteger((("stats_" + farmGen) + "_quantity")) | |
408 | + | let parent1Id = tryGetString(getParentKey(txId, 1)) | |
409 | + | let parent2Id = tryGetString(getParentKey(txId, 2)) | |
410 | + | [StringEntry(processStatusKey, HatchingFinished), StringEntry(IdKey, toBase58String(assetId)), StringEntry(toBase58String(assetId), IdKey), IntegerEntry(getStatsKey(Gen), amount), IntegerEntry((("stats_" + farmGen) + "_quantity"), (quantity + 1)), IntegerEntry((("asset_" + parent1Id) + "_children"), 1), IntegerEntry((("asset_" + parent2Id) + "_children"), 1), asset, ScriptTransfer(i.caller, 1, assetId), ScriptTransfer(i.caller, 1, fromBase58String(parent1Id)), ScriptTransfer(i.caller, 1, fromBase58String(parent2Id))] | |
411 | + | } | |
412 | + | } | |
413 | + | ||
414 | + | ||
415 | + | func getRandomOldGenes (txId,h) = { | |
416 | + | let freeGenes = ["A", "B", "C", "D"] | |
417 | + | let randomNumber = getRandomNumber(size(freeGenes), txId, h, 2) | |
418 | + | freeGenes[randomNumber] | |
419 | + | } | |
420 | + | ||
421 | + | ||
422 | + | func asInt (value) = match value { | |
423 | + | case int: Int => | |
424 | + | int | |
425 | + | case _ => | |
426 | + | throw("wrong type, expected: Int") | |
427 | + | } | |
428 | + | ||
429 | + | ||
430 | + | @Callable(i) | |
431 | + | func getGenFromName (assetName) = { | |
432 | + | let genotype = split(dropRight(drop(assetName, 5), 3), "") | |
433 | + | let generation = split(assetName, "")[14] | |
434 | + | let gen = (((((((((getAmountOrClear((toString({ | |
435 | + | let $l = genotype | |
436 | + | let $s = size($l) | |
437 | + | let $acc0 = 0 | |
438 | + | func $f0_1 ($a,$i) = if (($i >= $s)) | |
439 | + | then $a | |
440 | + | else isSymbolA($a, $l[$i]) | |
441 | + | ||
442 | + | func $f0_2 ($a,$i) = if (($i >= $s)) | |
443 | + | then $a | |
444 | + | else throw("List size exceeds 8") | |
445 | + | ||
446 | + | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
447 | + | }) + "A")) + getAmountOrClear((toString({ | |
448 | + | let $l = genotype | |
449 | + | let $s = size($l) | |
450 | + | let $acc0 = 0 | |
451 | + | func $f1_1 ($a,$i) = if (($i >= $s)) | |
452 | + | then $a | |
453 | + | else isSymbolB($a, $l[$i]) | |
454 | + | ||
455 | + | func $f1_2 ($a,$i) = if (($i >= $s)) | |
456 | + | then $a | |
457 | + | else throw("List size exceeds 8") | |
458 | + | ||
459 | + | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
460 | + | }) + "B"))) + getAmountOrClear((toString({ | |
461 | + | let $l = genotype | |
462 | + | let $s = size($l) | |
463 | + | let $acc0 = 0 | |
464 | + | func $f2_1 ($a,$i) = if (($i >= $s)) | |
465 | + | then $a | |
466 | + | else isSymbolC($a, $l[$i]) | |
467 | + | ||
468 | + | func $f2_2 ($a,$i) = if (($i >= $s)) | |
469 | + | then $a | |
470 | + | else throw("List size exceeds 8") | |
471 | + | ||
472 | + | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
473 | + | }) + "C"))) + getAmountOrClear((toString({ | |
474 | + | let $l = genotype | |
475 | + | let $s = size($l) | |
476 | + | let $acc0 = 0 | |
477 | + | func $f3_1 ($a,$i) = if (($i >= $s)) | |
478 | + | then $a | |
479 | + | else isSymbolD($a, $l[$i]) | |
480 | + | ||
481 | + | func $f3_2 ($a,$i) = if (($i >= $s)) | |
482 | + | then $a | |
483 | + | else throw("List size exceeds 8") | |
484 | + | ||
485 | + | $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
486 | + | }) + "D"))) + getAmountOrClear((toString({ | |
487 | + | let $l = genotype | |
488 | + | let $s = size($l) | |
489 | + | let $acc0 = 0 | |
490 | + | func $f4_1 ($a,$i) = if (($i >= $s)) | |
491 | + | then $a | |
492 | + | else isSymbolE($a, $l[$i]) | |
493 | + | ||
494 | + | func $f4_2 ($a,$i) = if (($i >= $s)) | |
495 | + | then $a | |
496 | + | else throw("List size exceeds 8") | |
497 | + | ||
498 | + | $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
499 | + | }) + "E"))) + getAmountOrClear((toString({ | |
500 | + | let $l = genotype | |
501 | + | let $s = size($l) | |
502 | + | let $acc0 = 0 | |
503 | + | func $f5_1 ($a,$i) = if (($i >= $s)) | |
504 | + | then $a | |
505 | + | else isSymbolF($a, $l[$i]) | |
506 | + | ||
507 | + | func $f5_2 ($a,$i) = if (($i >= $s)) | |
508 | + | then $a | |
509 | + | else throw("List size exceeds 8") | |
510 | + | ||
511 | + | $f5_2($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($f5_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
512 | + | }) + "F"))) + getAmountOrClear((toString({ | |
513 | + | let $l = genotype | |
514 | + | let $s = size($l) | |
515 | + | let $acc0 = 0 | |
516 | + | func $f6_1 ($a,$i) = if (($i >= $s)) | |
517 | + | then $a | |
518 | + | else isSymbolG($a, $l[$i]) | |
519 | + | ||
520 | + | func $f6_2 ($a,$i) = if (($i >= $s)) | |
521 | + | then $a | |
522 | + | else throw("List size exceeds 8") | |
523 | + | ||
524 | + | $f6_2($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($f6_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
525 | + | }) + "G"))) + getAmountOrClear((toString({ | |
526 | + | let $l = genotype | |
527 | + | let $s = size($l) | |
528 | + | let $acc0 = 0 | |
529 | + | func $f7_1 ($a,$i) = if (($i >= $s)) | |
530 | + | then $a | |
531 | + | else isSymbolH($a, $l[$i]) | |
532 | + | ||
533 | + | func $f7_2 ($a,$i) = if (($i >= $s)) | |
534 | + | then $a | |
535 | + | else throw("List size exceeds 8") | |
536 | + | ||
537 | + | $f7_2($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($f7_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
538 | + | }) + "H"))) + "-") + generation) | |
539 | + | $Tuple2(nil, gen) | |
540 | + | } | |
541 | + | ||
542 | + | ||
543 | + | ||
544 | + | @Callable(i) | |
545 | + | func startBreeding (refererAddress) = if (if ((size(i.payments) != 4)) | |
546 | + | then (size(i.payments) != 3) | |
547 | + | else false) | |
548 | + | then throw("Wrong amount of payments!") | |
549 | + | else { | |
550 | + | let feeValidate = checkAdditionalPayment(i.payments[0]) | |
551 | + | if ((feeValidate == feeValidate)) | |
552 | + | then { | |
553 | + | let firstPayment = value(i.payments[1]) | |
554 | + | let secondPayment = value(i.payments[2]) | |
555 | + | let amountPaidByCoupons = asInt(invoke(getCouponsAddress(), "useCoupons", [getCanineIncubationFee()], nil)) | |
556 | + | if ((amountPaidByCoupons == amountPaidByCoupons)) | |
557 | + | then { | |
558 | + | let leftToPay = (getCanineIncubationFee() - amountPaidByCoupons) | |
559 | + | if (if ((leftToPay == 0)) | |
560 | + | then (size(i.payments) == 4) | |
561 | + | else false) | |
562 | + | then throw("You need to attach 3 payments") | |
563 | + | else { | |
564 | + | let payment = if ((leftToPay != 0)) | |
565 | + | then { | |
566 | + | let thirdPayment = value(i.payments[3]) | |
567 | + | if ((thirdPayment.assetId != getEggAssetId())) | |
568 | + | then throw(("TB: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId()))) | |
569 | + | else if ((thirdPayment.amount != leftToPay)) | |
570 | + | then throw(((("TB: To breed a Feline you following amount of EGGlets: " + toString(leftToPay)) + " ") + toString(i.caller))) | |
571 | + | else { | |
572 | + | let refererRewardForbeach = fraction(leftToPay, 5, 100) | |
573 | + | let refCall = asBoolean(invoke(getRefContractAddress(), "refPayment", [refererAddress], [AttachedPayment(getEggAssetId(), refererRewardForbeach)])) | |
574 | + | if ((refCall == refCall)) | |
575 | + | then { | |
576 | + | let toBurn = if (refCall) | |
577 | + | then (leftToPay - refererRewardForbeach) | |
578 | + | else leftToPay | |
579 | + | let burnCall = invoke(getBurnAddress(), "burnAttachedPayments", nil, [AttachedPayment(getEggAssetId(), toBurn)]) | |
580 | + | if ((burnCall == burnCall)) | |
581 | + | then leftToPay | |
582 | + | else throw("Strict value is not equal to itself.") | |
583 | + | } | |
584 | + | else throw("Strict value is not equal to itself.") | |
585 | + | } | |
586 | + | } | |
587 | + | else 0 | |
588 | + | if ((payment == payment)) | |
589 | + | then { | |
590 | + | let firstAssetId = toBase58String(value(firstPayment.assetId)) | |
591 | + | let secondAssetId = toBase58String(value(secondPayment.assetId)) | |
592 | + | if (if ((firstPayment.amount != 1)) | |
593 | + | then true | |
594 | + | else (secondPayment.amount != 1)) | |
595 | + | then throw("NFT is not attached") | |
596 | + | else if (!(if (checkAssetInIncubator(firstAssetId)) | |
597 | + | then checkAssetInIncubator(secondAssetId) | |
598 | + | else false)) | |
599 | + | then throw("You need to attach 2 valid NFT-felines.") | |
600 | + | else if (if ((tryGetInteger((("asset_" + firstAssetId) + "_children")) > 0)) | |
601 | + | then true | |
602 | + | else (tryGetInteger((("asset_" + secondAssetId) + "_children")) > 0)) | |
603 | + | then throw("One feline can be used for breeding only once in its lifetime.") | |
604 | + | else { | |
605 | + | let breededStatus = canBeBreeded(fromBase58String(firstAssetId), fromBase58String(secondAssetId)) | |
606 | + | if ((breededStatus != "true")) | |
607 | + | then throw(("These felines cannot be breeded: " + breededStatus)) | |
608 | + | else ([StringEntry(getParentKey(i.transactionId, 1), firstAssetId), StringEntry(getParentKey(i.transactionId, 2), secondAssetId), StringEntry(getProcessStatusKey(toString(i.caller), i.transactionId), HatchingStarted), IntegerEntry(getProcessFinishHeightKey(toString(i.caller), i.transactionId), (height + delayForHatching))] ++ feeValidate) | |
609 | + | } | |
610 | + | } | |
611 | + | else throw("Strict value is not equal to itself.") | |
612 | + | } | |
613 | + | } | |
614 | + | else throw("Strict value is not equal to itself.") | |
615 | + | } | |
616 | + | else throw("Strict value is not equal to itself.") | |
617 | + | } | |
618 | + | ||
619 | + | ||
620 | + | ||
621 | + | @Callable(i) | |
622 | + | func fixedGene (txIdStr,parentFixedGene,positionFixedGene) = { | |
623 | + | let feeValidate = checkAdditionalPayment(i.payments[1]) | |
624 | + | if ((feeValidate == feeValidate)) | |
625 | + | then if (if ((parentFixedGene != 1)) | |
626 | + | then (parentFixedGene != 2) | |
627 | + | else false) | |
628 | + | then throw("FG: Parent fixed gene can be only 1 or 2") | |
629 | + | else { | |
630 | + | let firstPayment = value(i.payments[0]) | |
631 | + | if ((firstPayment.amount != 1)) | |
632 | + | then throw("NFT is not attached") | |
633 | + | else { | |
634 | + | let artefact = asString(invoke(getItemsAddress(), "checkArtefactDetails", [toBase58String(value(firstPayment.assetId))], nil)) | |
635 | + | if ((artefact == artefact)) | |
636 | + | then if ((artefact != "ART-FIXGENE")) | |
637 | + | then throw("You need to attach a ART-FIXGENE artefact") | |
638 | + | else ((finishHatchingInternal(txIdStr, i, parentFixedGene, positionFixedGene, "", 0) ++ feeValidate) ++ [Burn(value(firstPayment.assetId), 1)]) | |
639 | + | else throw("Strict value is not equal to itself.") | |
640 | + | } | |
641 | + | } | |
642 | + | else throw("Strict value is not equal to itself.") | |
643 | + | } | |
644 | + | ||
645 | + | ||
646 | + | ||
647 | + | @Callable(i) | |
648 | + | func freeGene (txIdStr) = { | |
649 | + | let feeValidate = checkAdditionalPayment(i.payments[1]) | |
650 | + | if ((feeValidate == feeValidate)) | |
651 | + | then { | |
652 | + | let firstPayment = value(i.payments[0]) | |
653 | + | if ((firstPayment.amount != 1)) | |
654 | + | then throw("NFT is not attached") | |
655 | + | else { | |
656 | + | let artefact = asString(invoke(getItemsAddress(), "checkArtefactDetails", [toBase58String(value(firstPayment.assetId))], nil)) | |
657 | + | if ((artefact == artefact)) | |
658 | + | then if ((artefact != "ART-FREEGENE")) | |
659 | + | then throw("You need to attach a ART-FREEGENE artefact") | |
660 | + | else { | |
661 | + | let finishHeightKey = getProcessFinishHeightKey(toString(i.caller), fromBase58String(txIdStr)) | |
662 | + | let processFinishHeight = getIntegerValue(this, finishHeightKey) | |
663 | + | let selectedGene = getRandomOldGenes(fromBase58String(txIdStr), processFinishHeight) | |
664 | + | let randomPosition = getRandomNumber(8, fromBase58String(txIdStr), processFinishHeight, 3) | |
665 | + | ((finishHatchingInternal(txIdStr, i, 0, 0, selectedGene, randomPosition) ++ feeValidate) ++ [Burn(value(firstPayment.assetId), 1)]) | |
666 | + | } | |
667 | + | else throw("Strict value is not equal to itself.") | |
668 | + | } | |
669 | + | } | |
670 | + | else throw("Strict value is not equal to itself.") | |
671 | + | } | |
672 | + | ||
673 | + | ||
674 | + | ||
675 | + | @Callable(i) | |
676 | + | func finishHatching (txIdStr) = if ((size(i.payments) != 1)) | |
677 | + | then throw("Wrong amount of payments!") | |
678 | + | else { | |
679 | + | let feeValidate = checkAdditionalPayment(i.payments[0]) | |
680 | + | if ((feeValidate == feeValidate)) | |
681 | + | then (finishHatchingInternal(txIdStr, i, 0, 0, "", 0) ++ feeValidate) | |
682 | + | else throw("Strict value is not equal to itself.") | |
683 | + | } | |
684 | + | ||
685 | + | ||
686 | + | ||
687 | + | @Callable(i) | |
688 | + | func configureOracle (oracle) = if ((i.caller != this)) | |
689 | + | then throw("ICU: admin only") | |
690 | + | else [StringEntry("static_oracleAddress", oracle)] | |
691 | + | ||
692 | + | ||
693 | + | ||
694 | + | @Callable(i) | |
695 | + | func reduceRarity (assetId,farmGen) = { | |
696 | + | let asset = fromBase58String(assetId) | |
697 | + | if (if ((i.caller != getFeliRebirthAddress())) | |
698 | + | then (i.caller != this) | |
699 | + | else false) | |
700 | + | then throw("admin, items or rebirth only") | |
701 | + | else { | |
702 | + | let duckGen = value(assetInfo(asset)).name | |
703 | + | [IntegerEntry(getStatsKey(duckGen), (tryGetInteger(getStatsKey(duckGen)) - 1)), IntegerEntry((("stats_" + farmGen) + "_quantity"), (tryGetInteger((("stats_" + farmGen) + "_quantity")) - 1))] | |
704 | + | } | |
705 | + | } | |
706 | + | ||
707 | + | ||
708 | + | @Verifier(tx) | |
709 | + | func verify () = if (isTestEnv()) | |
710 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
711 | + | else { | |
712 | + | let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4' | |
713 | + | let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8' | |
714 | + | let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3' | |
715 | + | let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser)) | |
716 | + | then 1 | |
717 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser)) | |
718 | + | then 1 | |
719 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser)) | |
720 | + | then 1 | |
721 | + | else 0 | |
722 | + | let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser)) | |
723 | + | then 1 | |
724 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser)) | |
725 | + | then 1 | |
726 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser)) | |
727 | + | then 1 | |
728 | + | else 0 | |
729 | + | let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser)) | |
730 | + | then 1 | |
731 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser)) | |
732 | + | then 1 | |
733 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser)) | |
734 | + | then 1 | |
735 | + | else 0 | |
736 | + | let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned) | |
737 | + | match tx { | |
738 | + | case _ => | |
739 | + | (signaturesCount >= 2) | |
740 | + | } | |
741 | + | } | |
742 | + |
github/deemru/w8io/169f3d6 39.99 ms ◑