tx · 3vAzGYKJA1JVjwjSWaZgJEE2rramQ89zcAkztqTHN1u5 3N3uZN3s3CXtTeXAzBLHhQqetsPC35ddft7: -0.02800000 Waves 2024.10.03 11:18 [3310423] smart account 3N3uZN3s3CXtTeXAzBLHhQqetsPC35ddft7 > SELF 0.00000000 Waves
{ "type": 13, "id": "3vAzGYKJA1JVjwjSWaZgJEE2rramQ89zcAkztqTHN1u5", "fee": 2800000, "feeAssetId": null, "timestamp": 1727943595816, "version": 2, "chainId": 84, "sender": "3N3uZN3s3CXtTeXAzBLHhQqetsPC35ddft7", "senderPublicKey": "GFBcD3sfr1KsYLd1T9ZSMRuonWUwNivyXUnr3sh4f893", "proofs": [ "2LA3CiXbCk1UW7q3sLBREiy8P5Nka8BdjePWf9NuZupFBVzRJrfxVWBEZLjQcTgBQuj5PgF5a9r1p7mCnYtKqMDz" ], "script": "base64:AAIFAAAAAAAAAB0IAhIDCgEIEgUKAwgBARIDCgEIEgMKAQgSAwoBCAAAADUBAAAAFHRyeUdldFN0cmluZ0V4dGVybmFsAAAAAgAAAAdhZGRyZXNzAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAdhZGRyZXNzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAAAQAAAAx0cnlHZXRTdHJpbmcAAAABAAAAA2tleQkBAAAAFHRyeUdldFN0cmluZ0V4dGVybmFsAAAAAgUAAAAEdGhpcwUAAAADa2V5AQAAABdzdGF0aWNLZXlfb3JhY2xlQWRkcmVzcwAAAAACAAAAFHN0YXRpY19vcmFjbGVBZGRyZXNzAQAAABJzdGF0aWNLZXlfZXh0cmFGZWUAAAAAAgAAAA9zdGF0aWNfZXh0cmFGZWUBAAAAF3N0YXRpY0tleV9mZWVBZ2dyZWdhdG9yAAAAAAIAAAAUc3RhdGljX2ZlZUFnZ3JlZ2F0b3IBAAAAGXN0YXRpY0tleV90dXJ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dmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnzfCbA", "height": 3310423, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: HJ8HjLbRGHhnjAXnEbNKR9EUxT8gWrupgfEYfYdCPpdd 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_turtleIncubator () = "static_turtleIncubatorAddress" | |
25 | + | ||
26 | + | ||
27 | + | func staticKey_turtleIncubationFee () = "static_turtleIncubationFee" | |
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 getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress()))) | |
43 | + | ||
44 | + | ||
45 | + | func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator()))) | |
46 | + | ||
47 | + | ||
48 | + | func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId())) | |
49 | + | ||
50 | + | ||
51 | + | func getTurtleIncubator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_turtleIncubator()))) | |
52 | + | ||
53 | + | ||
54 | + | func getTurtleIncubationFee () = getIntegerValue(getOracle(), staticKey_turtleIncubationFee()) | |
55 | + | ||
56 | + | ||
57 | + | func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), "static_burnAddress"))) | |
58 | + | ||
59 | + | ||
60 | + | func getRefContractAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_refContractAddress()))) | |
61 | + | ||
62 | + | ||
63 | + | func getItemsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_itemsAddress()))) | |
64 | + | ||
65 | + | ||
66 | + | func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress()))) | |
67 | + | ||
68 | + | ||
69 | + | func checkAdditionalPayment (payment) = if (isDefined(payment.assetId)) | |
70 | + | then throw("BDCAP: Please attach waves") | |
71 | + | else { | |
72 | + | let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee()) | |
73 | + | if ((payment.amount != feeAmount)) | |
74 | + | then throw((("BDCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets")) | |
75 | + | else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)] | |
76 | + | } | |
77 | + | ||
78 | + | ||
79 | + | let delayForHatching = 2 | |
80 | + | ||
81 | + | let HatchingStarted = "BREEDING_STARTED" | |
82 | + | ||
83 | + | let HatchingFinished = "BREEDING_FINISHED" | |
84 | + | ||
85 | + | let MaxGeneration = 7 | |
86 | + | ||
87 | + | let Generations = ["G", "H", "I", "K", "L", "M", "N", "O"] | |
88 | + | ||
89 | + | func asBoolean (value) = match value { | |
90 | + | case boolean: Boolean => | |
91 | + | boolean | |
92 | + | case _ => | |
93 | + | throw("TI: wrong type, expected: Boolean") | |
94 | + | } | |
95 | + | ||
96 | + | ||
97 | + | func getProcessStatusKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_status") | |
98 | + | ||
99 | + | ||
100 | + | func getProcessFinishHeightKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_fh") | |
101 | + | ||
102 | + | ||
103 | + | func getTRTLParentKey (txId,parentNum) = ((("inittx_" + toBase58String(txId)) + "_parent") + toString(parentNum)) | |
104 | + | ||
105 | + | ||
106 | + | func getTRTLIdKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_di") | |
107 | + | ||
108 | + | ||
109 | + | func getTRTLStatsKey (genString) = (("stats_" + genString) + "_amount") | |
110 | + | ||
111 | + | ||
112 | + | func tryGetInteger (key) = { | |
113 | + | let val = match getInteger(this, key) { | |
114 | + | case b: Int => | |
115 | + | b | |
116 | + | case _ => | |
117 | + | 0 | |
118 | + | } | |
119 | + | val | |
120 | + | } | |
121 | + | ||
122 | + | ||
123 | + | func determineGeneration (g1,g2) = { | |
124 | + | let gIndex = max([value(indexOf(Generations, g1)), value(indexOf(Generations, g2))]) | |
125 | + | Generations[(gIndex + 1)] | |
126 | + | } | |
127 | + | ||
128 | + | ||
129 | + | func getRandomNumber (variants,txId,hatchingFinishHeight,offset) = { | |
130 | + | let randomSeedBlock = value(blockInfoByHeight((hatchingFinishHeight - 1))) | |
131 | + | let randomHash = sha256_16Kb((txId + value(randomSeedBlock.vrf))) | |
132 | + | (toInt(randomHash, offset) % variants) | |
133 | + | } | |
134 | + | ||
135 | + | ||
136 | + | func getRandomGen (gen1,gen2,step,txId,hatchingFinishHeight,geneFromParent,genePostion,specifiqueGene,specifiqueGenePosition) = if (if ((geneFromParent != 0)) | |
137 | + | then (genePostion == step) | |
138 | + | else false) | |
139 | + | then if ((geneFromParent == 1)) | |
140 | + | then gen1 | |
141 | + | else if ((geneFromParent == 2)) | |
142 | + | then gen2 | |
143 | + | else throw("Parent either needs to be 1 or 2") | |
144 | + | else if (if ((specifiqueGene != "")) | |
145 | + | then (specifiqueGenePosition == step) | |
146 | + | else false) | |
147 | + | then specifiqueGene | |
148 | + | else { | |
149 | + | let randomNum = getRandomNumber(2, txId, hatchingFinishHeight, step) | |
150 | + | let gen = if ((randomNum == 0)) | |
151 | + | then gen1 | |
152 | + | else gen2 | |
153 | + | gen | |
154 | + | } | |
155 | + | ||
156 | + | ||
157 | + | func generateTRTL (txId,hatchingFinishHeight,parentFixedGene,positionFixedGene,specifiqueGene,specifiqueGenePosition) = { | |
158 | + | let colorRandom = getRandomNumber(4, txId, hatchingFinishHeight, 11) | |
159 | + | let color = if ((colorRandom == 0)) | |
160 | + | then "R" | |
161 | + | else if ((colorRandom == 1)) | |
162 | + | then "D" | |
163 | + | else if ((colorRandom == 2)) | |
164 | + | then "S" | |
165 | + | else "G" | |
166 | + | let parent1Id = fromBase58String(tryGetString(getTRTLParentKey(txId, 1))) | |
167 | + | let parent2Id = fromBase58String(tryGetString(getTRTLParentKey(txId, 2))) | |
168 | + | let parent1Gen = split(value(assetInfo(parent1Id)).name, "") | |
169 | + | let parent2Gen = split(value(assetInfo(parent2Id)).name, "") | |
170 | + | let gen = ((((((((((("TRTL-" + 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) | |
171 | + | gen | |
172 | + | } | |
173 | + | ||
174 | + | ||
175 | + | func checkAssetInIncubator (assetId) = { | |
176 | + | let result = match getString(getTurtleIncubator(), assetId) { | |
177 | + | case b: String => | |
178 | + | true | |
179 | + | case _ => | |
180 | + | false | |
181 | + | } | |
182 | + | let result2 = match getString(this, assetId) { | |
183 | + | case c: String => | |
184 | + | true | |
185 | + | case _ => | |
186 | + | false | |
187 | + | } | |
188 | + | if (result) | |
189 | + | then true | |
190 | + | else result2 | |
191 | + | } | |
192 | + | ||
193 | + | ||
194 | + | func asString (value) = match value { | |
195 | + | case string: String => | |
196 | + | string | |
197 | + | case _ => | |
198 | + | throw("wrong type, expected: String") | |
199 | + | } | |
200 | + | ||
201 | + | ||
202 | + | func canBeBreeded (asset1Id,asset2Id) = { | |
203 | + | let asset1Gen = split(value(assetInfo(asset1Id)).name, "") | |
204 | + | let asset2Gen = split(value(assetInfo(asset2Id)).name, "") | |
205 | + | if ((value(indexOf(Generations, asset1Gen[14])) >= MaxGeneration)) | |
206 | + | then (("you can only breed turtles with generation " + Generations[MaxGeneration]) + " and lower") | |
207 | + | else if ((value(indexOf(Generations, asset2Gen[14])) >= MaxGeneration)) | |
208 | + | then (("you can only breed turtles with generation " + Generations[MaxGeneration]) + " and lower") | |
209 | + | else "true" | |
210 | + | } | |
211 | + | ||
212 | + | ||
213 | + | func getRandomOldGenes (txId,h) = { | |
214 | + | let freeGenes = ["A", "B", "C", "D"] | |
215 | + | let randomNumber = getRandomNumber(size(freeGenes), txId, h, 2) | |
216 | + | freeGenes[randomNumber] | |
217 | + | } | |
218 | + | ||
219 | + | ||
220 | + | func isSymbolA (accumulated,sym) = if ((sym == "A")) | |
221 | + | then (accumulated + 1) | |
222 | + | else (accumulated + 0) | |
223 | + | ||
224 | + | ||
225 | + | func isSymbolB (accumulated,sym) = if ((sym == "B")) | |
226 | + | then (accumulated + 1) | |
227 | + | else (accumulated + 0) | |
228 | + | ||
229 | + | ||
230 | + | func isSymbolC (accumulated,sym) = if ((sym == "C")) | |
231 | + | then (accumulated + 1) | |
232 | + | else (accumulated + 0) | |
233 | + | ||
234 | + | ||
235 | + | func isSymbolD (accumulated,sym) = if ((sym == "D")) | |
236 | + | then (accumulated + 1) | |
237 | + | else (accumulated + 0) | |
238 | + | ||
239 | + | ||
240 | + | func isSymbolE (accumulated,sym) = if ((sym == "E")) | |
241 | + | then (accumulated + 1) | |
242 | + | else (accumulated + 0) | |
243 | + | ||
244 | + | ||
245 | + | func isSymbolF (accumulated,sym) = if ((sym == "F")) | |
246 | + | then (accumulated + 1) | |
247 | + | else (accumulated + 0) | |
248 | + | ||
249 | + | ||
250 | + | func isSymbolG (accumulated,sym) = if ((sym == "G")) | |
251 | + | then (accumulated + 1) | |
252 | + | else (accumulated + 0) | |
253 | + | ||
254 | + | ||
255 | + | func isSymbolH (accumulated,sym) = if ((sym == "H")) | |
256 | + | then (accumulated + 1) | |
257 | + | else (accumulated + 0) | |
258 | + | ||
259 | + | ||
260 | + | func getAmountOrClear (amount) = if (contains(amount, "0")) | |
261 | + | then "" | |
262 | + | else amount | |
263 | + | ||
264 | + | ||
265 | + | func getGen (assetName) = { | |
266 | + | let genotype = split(dropRight(drop(assetName, 5), 3), "") | |
267 | + | let generation = split(assetName, "")[14] | |
268 | + | (((((((getAmountOrClear((toString({ | |
269 | + | let $l = genotype | |
270 | + | let $s = size($l) | |
271 | + | let $acc0 = 0 | |
272 | + | func $f0_1 ($a,$i) = if (($i >= $s)) | |
273 | + | then $a | |
274 | + | else isSymbolA($a, $l[$i]) | |
275 | + | ||
276 | + | func $f0_2 ($a,$i) = if (($i >= $s)) | |
277 | + | then $a | |
278 | + | else throw("List size exceeds 8") | |
279 | + | ||
280 | + | $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) | |
281 | + | }) + "A")) + getAmountOrClear((toString({ | |
282 | + | let $l = genotype | |
283 | + | let $s = size($l) | |
284 | + | let $acc0 = 0 | |
285 | + | func $f1_1 ($a,$i) = if (($i >= $s)) | |
286 | + | then $a | |
287 | + | else isSymbolB($a, $l[$i]) | |
288 | + | ||
289 | + | func $f1_2 ($a,$i) = if (($i >= $s)) | |
290 | + | then $a | |
291 | + | else throw("List size exceeds 8") | |
292 | + | ||
293 | + | $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) | |
294 | + | }) + "B"))) + getAmountOrClear((toString({ | |
295 | + | let $l = genotype | |
296 | + | let $s = size($l) | |
297 | + | let $acc0 = 0 | |
298 | + | func $f2_1 ($a,$i) = if (($i >= $s)) | |
299 | + | then $a | |
300 | + | else isSymbolC($a, $l[$i]) | |
301 | + | ||
302 | + | func $f2_2 ($a,$i) = if (($i >= $s)) | |
303 | + | then $a | |
304 | + | else throw("List size exceeds 8") | |
305 | + | ||
306 | + | $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) | |
307 | + | }) + "C"))) + getAmountOrClear((toString({ | |
308 | + | let $l = genotype | |
309 | + | let $s = size($l) | |
310 | + | let $acc0 = 0 | |
311 | + | func $f3_1 ($a,$i) = if (($i >= $s)) | |
312 | + | then $a | |
313 | + | else isSymbolD($a, $l[$i]) | |
314 | + | ||
315 | + | func $f3_2 ($a,$i) = if (($i >= $s)) | |
316 | + | then $a | |
317 | + | else throw("List size exceeds 8") | |
318 | + | ||
319 | + | $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) | |
320 | + | }) + "D"))) + getAmountOrClear((toString({ | |
321 | + | let $l = genotype | |
322 | + | let $s = size($l) | |
323 | + | let $acc0 = 0 | |
324 | + | func $f4_1 ($a,$i) = if (($i >= $s)) | |
325 | + | then $a | |
326 | + | else isSymbolE($a, $l[$i]) | |
327 | + | ||
328 | + | func $f4_2 ($a,$i) = if (($i >= $s)) | |
329 | + | then $a | |
330 | + | else throw("List size exceeds 8") | |
331 | + | ||
332 | + | $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) | |
333 | + | }) + "E"))) + getAmountOrClear((toString({ | |
334 | + | let $l = genotype | |
335 | + | let $s = size($l) | |
336 | + | let $acc0 = 0 | |
337 | + | func $f5_1 ($a,$i) = if (($i >= $s)) | |
338 | + | then $a | |
339 | + | else isSymbolF($a, $l[$i]) | |
340 | + | ||
341 | + | func $f5_2 ($a,$i) = if (($i >= $s)) | |
342 | + | then $a | |
343 | + | else throw("List size exceeds 8") | |
344 | + | ||
345 | + | $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) | |
346 | + | }) + "F"))) + getAmountOrClear((toString({ | |
347 | + | let $l = genotype | |
348 | + | let $s = size($l) | |
349 | + | let $acc0 = 0 | |
350 | + | func $f6_1 ($a,$i) = if (($i >= $s)) | |
351 | + | then $a | |
352 | + | else isSymbolG($a, $l[$i]) | |
353 | + | ||
354 | + | func $f6_2 ($a,$i) = if (($i >= $s)) | |
355 | + | then $a | |
356 | + | else throw("List size exceeds 8") | |
357 | + | ||
358 | + | $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) | |
359 | + | }) + "G"))) + getAmountOrClear((toString({ | |
360 | + | let $l = genotype | |
361 | + | let $s = size($l) | |
362 | + | let $acc0 = 0 | |
363 | + | func $f7_1 ($a,$i) = if (($i >= $s)) | |
364 | + | then $a | |
365 | + | else isSymbolH($a, $l[$i]) | |
366 | + | ||
367 | + | func $f7_2 ($a,$i) = if (($i >= $s)) | |
368 | + | then $a | |
369 | + | else throw("List size exceeds 8") | |
370 | + | ||
371 | + | $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) | |
372 | + | }) + "H"))) | |
373 | + | } | |
374 | + | ||
375 | + | ||
376 | + | func finishTRTLHatchingInternal (txIdStr,i,parentFixedGene,positionFixedGene,specifiqueGene,specifiqueGenePosition) = { | |
377 | + | let txId = fromBase58String(txIdStr) | |
378 | + | let processStatusKey = getProcessStatusKey(toString(i.caller), txId) | |
379 | + | let finishHeightKey = getProcessFinishHeightKey(toString(i.caller), txId) | |
380 | + | let TRTLIdKey = getTRTLIdKey(toString(i.caller), txId) | |
381 | + | let processTxStatus = getStringValue(this, processStatusKey) | |
382 | + | let processFinishHeight = getIntegerValue(this, finishHeightKey) | |
383 | + | if ((processTxStatus == HatchingFinished)) | |
384 | + | then { | |
385 | + | let TRTLId = getStringValue(this, getTRTLIdKey(toString(i.caller), txId)) | |
386 | + | throw(("The turtle was breeded and claimed already, here is the folowing: " + TRTLId)) | |
387 | + | } | |
388 | + | else if ((processFinishHeight > height)) | |
389 | + | then throw((((("Breeding is not finished yet " + toString((processFinishHeight - height))) + " blocks remaining, it will take around ") + toString((processFinishHeight - height))) + " minutes")) | |
390 | + | else { | |
391 | + | let TRTLGen = generateTRTL(txId, processFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition) | |
392 | + | let farmGen = getGen(TRTLGen) | |
393 | + | let description = (("{\"genotype\": \"" + TRTLGen) + "\", \"crossbreeding\": true}") | |
394 | + | let asset = Issue(TRTLGen, description, 1, 0, false, unit, processFinishHeight) | |
395 | + | let assetId = calculateAssetId(asset) | |
396 | + | let amount = (tryGetInteger(getTRTLStatsKey(TRTLGen)) + 1) | |
397 | + | let quantity = tryGetInteger((("stats_" + farmGen) + "_quantity")) | |
398 | + | let parent1Id = tryGetString(getTRTLParentKey(txId, 1)) | |
399 | + | let parent2Id = tryGetString(getTRTLParentKey(txId, 2)) | |
400 | + | [StringEntry(processStatusKey, HatchingFinished), StringEntry(TRTLIdKey, toBase58String(assetId)), StringEntry(toBase58String(assetId), TRTLIdKey), IntegerEntry(getTRTLStatsKey(TRTLGen), 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))] | |
401 | + | } | |
402 | + | } | |
403 | + | ||
404 | + | ||
405 | + | func asInt (value) = match value { | |
406 | + | case int: Int => | |
407 | + | int | |
408 | + | case _ => | |
409 | + | throw("wrong type, expected: Int") | |
410 | + | } | |
411 | + | ||
412 | + | ||
413 | + | @Callable(i) | |
414 | + | func startTRTLBreeding (refererAddress) = if ((size(i.payments) != 4)) | |
415 | + | then throw("Wrong amount of payments!") | |
416 | + | else { | |
417 | + | let feeValidate = checkAdditionalPayment(i.payments[0]) | |
418 | + | if ((feeValidate == feeValidate)) | |
419 | + | then { | |
420 | + | let firstPayment = value(i.payments[1]) | |
421 | + | let secondPayment = value(i.payments[2]) | |
422 | + | let thirdPayment = value(i.payments[3]) | |
423 | + | let amountPaidByCoupons = asInt(invoke(getCouponsAddress(), "useCoupons", [(getTurtleIncubationFee() / 2)], nil)) | |
424 | + | if ((amountPaidByCoupons == amountPaidByCoupons)) | |
425 | + | then { | |
426 | + | let leftToPay = (getTurtleIncubationFee() - amountPaidByCoupons) | |
427 | + | let payment = if ((leftToPay != 0)) | |
428 | + | then if ((thirdPayment.assetId != getEggAssetId())) | |
429 | + | then throw(("TB: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId()))) | |
430 | + | else if ((thirdPayment.amount != leftToPay)) | |
431 | + | then throw(((("TB: To breed a Turtle you following amount of EGGlets: " + toString(leftToPay)) + " ") + toString(i.caller))) | |
432 | + | else { | |
433 | + | let refererRewardForbeach = fraction(leftToPay, 5, 100) | |
434 | + | let refCall = asBoolean(invoke(getRefContractAddress(), "refPayment", [refererAddress], [AttachedPayment(getEggAssetId(), refererRewardForbeach)])) | |
435 | + | if ((refCall == refCall)) | |
436 | + | then { | |
437 | + | let toBurn = if (refCall) | |
438 | + | then (leftToPay - refererRewardForbeach) | |
439 | + | else leftToPay | |
440 | + | let burnCall = invoke(getBurnAddress(), "burnAttachedPayments", nil, [AttachedPayment(getEggAssetId(), toBurn)]) | |
441 | + | if ((burnCall == burnCall)) | |
442 | + | then leftToPay | |
443 | + | else throw("Strict value is not equal to itself.") | |
444 | + | } | |
445 | + | else throw("Strict value is not equal to itself.") | |
446 | + | } | |
447 | + | else 0 | |
448 | + | if ((payment == payment)) | |
449 | + | then { | |
450 | + | let firstAssetId = toBase58String(value(firstPayment.assetId)) | |
451 | + | let secondAssetId = toBase58String(value(secondPayment.assetId)) | |
452 | + | if (if ((firstPayment.amount != 1)) | |
453 | + | then true | |
454 | + | else (secondPayment.amount != 1)) | |
455 | + | then throw("NFT is not attached") | |
456 | + | else if (!(if (checkAssetInIncubator(firstAssetId)) | |
457 | + | then checkAssetInIncubator(secondAssetId) | |
458 | + | else false)) | |
459 | + | then throw("You need to attach 2 valid NFT-turtles.") | |
460 | + | else if (if ((tryGetInteger((("asset_" + firstAssetId) + "_children")) > 0)) | |
461 | + | then true | |
462 | + | else (tryGetInteger((("asset_" + secondAssetId) + "_children")) > 0)) | |
463 | + | then throw("One turtle can be used for breeding only once in its lifetime.") | |
464 | + | else { | |
465 | + | let breededStatus = canBeBreeded(fromBase58String(firstAssetId), fromBase58String(secondAssetId)) | |
466 | + | if ((breededStatus != "true")) | |
467 | + | then throw(("These turtles cannot be breeded: " + breededStatus)) | |
468 | + | else ([StringEntry(getTRTLParentKey(i.transactionId, 1), firstAssetId), StringEntry(getTRTLParentKey(i.transactionId, 2), secondAssetId), StringEntry(getProcessStatusKey(toString(i.caller), i.transactionId), HatchingStarted), IntegerEntry(getProcessFinishHeightKey(toString(i.caller), i.transactionId), (height + delayForHatching))] ++ feeValidate) | |
469 | + | } | |
470 | + | } | |
471 | + | else throw("Strict value is not equal to itself.") | |
472 | + | } | |
473 | + | else throw("Strict value is not equal to itself.") | |
474 | + | } | |
475 | + | else throw("Strict value is not equal to itself.") | |
476 | + | } | |
477 | + | ||
478 | + | ||
479 | + | ||
480 | + | @Callable(i) | |
481 | + | func fixedGene (txIdStr,parentFixedGene,positionFixedGene) = { | |
482 | + | let feeValidate = checkAdditionalPayment(i.payments[1]) | |
483 | + | if ((feeValidate == feeValidate)) | |
484 | + | then if (if ((parentFixedGene != 1)) | |
485 | + | then (parentFixedGene != 2) | |
486 | + | else false) | |
487 | + | then throw("FG: Parent fixed gene can be only 1 or 2") | |
488 | + | else { | |
489 | + | let firstPayment = value(i.payments[0]) | |
490 | + | if ((firstPayment.amount != 1)) | |
491 | + | then throw("NFT is not attached") | |
492 | + | else { | |
493 | + | let artefact = asString(invoke(getItemsAddress(), "checkArtefactDetails", [toBase58String(value(firstPayment.assetId))], nil)) | |
494 | + | if ((artefact == artefact)) | |
495 | + | then if ((artefact != "ART-FIXGENE")) | |
496 | + | then throw("You need to attach a ART-FIXGENE artefact") | |
497 | + | else ((finishTRTLHatchingInternal(txIdStr, i, parentFixedGene, positionFixedGene, "", 0) ++ feeValidate) ++ [Burn(value(firstPayment.assetId), 1)]) | |
498 | + | else throw("Strict value is not equal to itself.") | |
499 | + | } | |
500 | + | } | |
501 | + | else throw("Strict value is not equal to itself.") | |
502 | + | } | |
503 | + | ||
504 | + | ||
505 | + | ||
506 | + | @Callable(i) | |
507 | + | func freeGene (txIdStr) = { | |
508 | + | let feeValidate = checkAdditionalPayment(i.payments[1]) | |
509 | + | if ((feeValidate == feeValidate)) | |
510 | + | then { | |
511 | + | let firstPayment = value(i.payments[0]) | |
512 | + | if ((firstPayment.amount != 1)) | |
513 | + | then throw("NFT is not attached") | |
514 | + | else { | |
515 | + | let artefact = asString(invoke(getItemsAddress(), "checkArtefactDetails", [toBase58String(value(firstPayment.assetId))], nil)) | |
516 | + | if ((artefact == artefact)) | |
517 | + | then if ((artefact != "ART-FREEGENE")) | |
518 | + | then throw("You need to attach a ART-FREEGENE artefact") | |
519 | + | else { | |
520 | + | let finishHeightKey = getProcessFinishHeightKey(toString(i.caller), fromBase58String(txIdStr)) | |
521 | + | let processFinishHeight = getIntegerValue(this, finishHeightKey) | |
522 | + | let selectedGene = getRandomOldGenes(fromBase58String(txIdStr), processFinishHeight) | |
523 | + | let randomPosition = getRandomNumber(8, fromBase58String(txIdStr), processFinishHeight, 3) | |
524 | + | ((finishTRTLHatchingInternal(txIdStr, i, 0, 0, selectedGene, randomPosition) ++ feeValidate) ++ [Burn(value(firstPayment.assetId), 1)]) | |
525 | + | } | |
526 | + | else throw("Strict value is not equal to itself.") | |
527 | + | } | |
528 | + | } | |
529 | + | else throw("Strict value is not equal to itself.") | |
530 | + | } | |
531 | + | ||
532 | + | ||
533 | + | ||
534 | + | @Callable(i) | |
535 | + | func finishTRTLHatching (txIdStr) = if ((size(i.payments) != 1)) | |
536 | + | then throw("Wrong amount of payments!") | |
537 | + | else { | |
538 | + | let feeValidate = checkAdditionalPayment(i.payments[0]) | |
539 | + | if ((feeValidate == feeValidate)) | |
540 | + | then (finishTRTLHatchingInternal(txIdStr, i, 0, 0, "", 0) ++ feeValidate) | |
541 | + | else throw("Strict value is not equal to itself.") | |
542 | + | } | |
543 | + | ||
544 | + | ||
545 | + | ||
546 | + | @Callable(i) | |
547 | + | func configureOracle (oracle) = if ((i.caller != this)) | |
548 | + | then throw("ICU: admin only") | |
549 | + | else [StringEntry("static_oracleAddress", oracle)] | |
550 | + | ||
551 | + | ||
552 | + | @Verifier(tx) | |
553 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
554 | + |
github/deemru/w8io/026f985 31.82 ms ◑