tx · BUAHtM646JTymHVv6qcVvCUWW1AXyGMrNkR1jfExQiR7

3MuxkMCLM6bh81rSFXwivgbh9sgERs3wjCZ:  -0.03400000 Waves

2024.10.03 12:21 [3310483] smart account 3MuxkMCLM6bh81rSFXwivgbh9sgERs3wjCZ > SELF 0.00000000 Waves

{ "type": 13, "id": "BUAHtM646JTymHVv6qcVvCUWW1AXyGMrNkR1jfExQiR7", "fee": 3400000, "feeAssetId": null, "timestamp": 1727947322042, "version": 2, "chainId": 84, "sender": "3MuxkMCLM6bh81rSFXwivgbh9sgERs3wjCZ", "senderPublicKey": "9RPFMHRAPDJ538heq74Z7nj1E8DVHTDxntkA4vjKvzPC", "proofs": [ "3nQ7odoZwKVPoyfadBMyUyPE97PvM39jUAnasTssjrPhUzP9fBy92wHcGkwkF9meT88aeybxE4dFGsFiYJLeibns" ], "script": "base64:AAIFAAAAAAAAACgIAhIDCgEIEgMKAQgSBQoDCAEBEgMKAQgSAwoBCBIDCgEIEgQKAggIAAAAOQEAAAAUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwAAAACAAAAB2FkZHJlc3MAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAABAAAADHRyeUdldFN0cmluZwAAAAEAAAADa2V5CQEAAAAUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwAAAACBQAAAAR0aGlzBQAAAANrZXkBAAAAF3N0YXRpY0tleV9vcmFjbGVBZGRyZXNzAAAAAAIAAAAUc3RhdGljX29yYWNsZUFkZHJlc3MBAAAAEnN0YXRpY0tleV9leHRyYUZlZQAAAAACAAAAD3N0YXRpY19leHRyYUZlZQEAAAAXc3RhdGljS2V5X2ZlZUFnZ3JlZ2F0b3IAAAAAAgAAABRzdGF0aWNfZmVlQWdncmVnYXRvcgEAAAAZc3RhdG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AAAQAAAAPdGhpcmRVc2VyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACXRoaXJkVXNlcgAAAAAAAAAAAQMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAl0aGlyZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA9zaWduYXR1cmVzQ291bnQJAABkAAAAAgkAAGQAAAACBQAAAA9maXJzdFVzZXJTaWduZWQFAAAAEHNlY29uZFVzZXJTaWduZWQFAAAAD3RoaXJkVXNlclNpZ25lZAQAAAAHJG1hdGNoMAUAAAACdHgJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAACVmwCPA==", "height": 3310483, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EqctFnnBwFV1ETXxpXyAs7t6YxXqVHU8WnXsM2tteex9 Next: C27BUEQa4eay4D4gq24dyKnMTiD6F1yQeCsurpBmdRcc Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func tryGetStringExternal (address,key) = match getString(address, key) {
55 case a: String =>
66 a
77 case _ =>
88 ""
99 }
1010
1111
1212 func tryGetString (key) = tryGetStringExternal(this, key)
1313
1414
1515 func staticKey_oracleAddress () = "static_oracleAddress"
1616
1717
1818 func staticKey_extraFee () = "static_extraFee"
1919
2020
2121 func staticKey_feeAggregator () = "static_feeAggregator"
2222
2323
2424 func staticKey_felineIncubator () = "static_felineIncubatorAddress"
2525
2626
2727 func staticKey_felineIncubationFee () = "static_felineIncubationFee"
2828
2929
3030 func staticKey_eggAssetId () = "static_eggAssetId"
3131
3232
3333 func staticKey_refContractAddress () = "static_refContractAddress"
3434
3535
3636 func staticKey_itemsAddress () = "static_itemsAddress"
3737
3838
3939 func staticKey_couponsAddress () = "static_couponsAddress"
4040
4141
4242 func staticKey_canineRebirthAddress () = "static_felineRebirthAddress"
4343
4444
4545 func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress())))
4646
4747
4848 func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator())))
4949
5050
5151 func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId()))
5252
5353
5454 func getCanineIncubator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineIncubator())))
5555
5656
5757 func getCanineIncubationFee () = getIntegerValue(getOracle(), staticKey_felineIncubationFee())
5858
5959
6060 func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), "static_burnAddress")))
6161
6262
6363 func getRefContractAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_refContractAddress())))
6464
6565
6666 func getItemsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_itemsAddress())))
6767
6868
6969 func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress())))
7070
7171
7272 func getFeliRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineRebirthAddress())))
7373
7474
7575 func checkAdditionalPayment (payment) = if (isDefined(payment.assetId))
7676 then throw("BDCAP: Please attach waves")
7777 else {
7878 let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee())
7979 if ((payment.amount != feeAmount))
8080 then throw((("BDCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets"))
8181 else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)]
8282 }
8383
8484
8585 let delayForHatching = 2
8686
8787 let HatchingStarted = "BREEDING_STARTED"
8888
8989 let HatchingFinished = "BREEDING_FINISHED"
9090
9191 let MaxGeneration = 7
9292
9393 let Generations = ["G", "H", "I", "K", "L", "M", "N", "O"]
9494
9595 func asBoolean (value) = match value {
9696 case boolean: Boolean =>
9797 boolean
9898 case _ =>
9999 throw("TI: wrong type, expected: Boolean")
100100 }
101101
102102
103103 func getProcessStatusKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_status")
104104
105105
106106 func getBool (key) = match getBoolean(this, key) {
107107 case b: Boolean =>
108108 b
109109 case _ =>
110110 false
111111 }
112112
113113
114114 func isTestEnv () = getBool("TESTENV")
115115
116116
117117 func getProcessFinishHeightKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_fh")
118118
119119
120120 func getParentKey (txId,parentNum) = ((("inittx_" + toBase58String(txId)) + "_parent") + toString(parentNum))
121121
122122
123123 func getIdKey (address,txId) = (((address + "_") + toBase58String(txId)) + "_di")
124124
125125
126126 func getStatsKey (genString) = (("stats_" + genString) + "_amount")
127127
128128
129129 func tryGetInteger (key) = {
130130 let val = match getInteger(this, key) {
131131 case b: Int =>
132132 b
133133 case _ =>
134134 0
135135 }
136136 val
137137 }
138138
139139
140140 func determineGeneration (g1,g2) = {
141141 let gIndex = max([value(indexOf(Generations, g1)), value(indexOf(Generations, g2))])
142142 Generations[(gIndex + 1)]
143143 }
144144
145145
146146 func getRandomNumber (variants,txId,hatchingFinishHeight,offset) = {
147147 let randomSeedBlock = value(blockInfoByHeight((hatchingFinishHeight - 1)))
148148 let randomHash = sha256_16Kb((txId + value(randomSeedBlock.vrf)))
149149 (toInt(randomHash, offset) % variants)
150150 }
151151
152152
153153 func getRandomGen (gen1,gen2,step,txId,hatchingFinishHeight,geneFromParent,genePostion,specifiqueGene,specifiqueGenePosition) = if (if ((geneFromParent != 0))
154154 then (genePostion == step)
155155 else false)
156156 then if ((geneFromParent == 1))
157157 then gen1
158158 else if ((geneFromParent == 2))
159159 then gen2
160160 else throw("Parent either needs to be 1 or 2")
161161 else if (if ((specifiqueGene != ""))
162162 then (specifiqueGenePosition == step)
163163 else false)
164164 then specifiqueGene
165165 else {
166166 let randomNum = getRandomNumber(2, txId, hatchingFinishHeight, step)
167167 let gen = if ((randomNum == 0))
168168 then gen1
169169 else gen2
170170 gen
171171 }
172172
173173
174174 func generate (txId,hatchingFinishHeight,parentFixedGene,positionFixedGene,specifiqueGene,specifiqueGenePosition) = {
175175 let colorRandom = getRandomNumber(4, txId, hatchingFinishHeight, 11)
176176 let color = if ((colorRandom == 0))
177177 then "A"
178178 else if ((colorRandom == 1))
179179 then "B"
180180 else if ((colorRandom == 2))
181181 then "C"
182182 else "D"
183183 let parent1Id = fromBase58String(tryGetString(getParentKey(txId, 1)))
184184 let parent2Id = fromBase58String(tryGetString(getParentKey(txId, 2)))
185185 let parent1Gen = split(value(assetInfo(parent1Id)).name, "")
186186 let parent2Gen = split(value(assetInfo(parent2Id)).name, "")
187187 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)
188188 gen
189189 }
190190
191191
192192 func checkAssetInIncubator (assetId) = {
193193 let result = match getString(getCanineIncubator(), assetId) {
194194 case b: String =>
195195 true
196196 case _ =>
197197 false
198198 }
199199 let result2 = match getString(this, assetId) {
200200 case c: String =>
201201 true
202202 case _ =>
203203 false
204204 }
205205 if (result)
206206 then true
207207 else result2
208208 }
209209
210210
211211 func canBeBreeded (asset1Id,asset2Id) = {
212212 let asset1Gen = split(value(assetInfo(asset1Id)).name, "")
213213 let asset2Gen = split(value(assetInfo(asset2Id)).name, "")
214214 if ((value(indexOf(Generations, asset1Gen[14])) >= MaxGeneration))
215215 then (("you can only breed felines with generation " + Generations[MaxGeneration]) + " and lower")
216216 else if ((value(indexOf(Generations, asset2Gen[14])) >= MaxGeneration))
217217 then (("you can only breed felines with generation " + Generations[MaxGeneration]) + " and lower")
218218 else "true"
219219 }
220220
221221
222222 func asString (value) = match value {
223223 case string: String =>
224224 string
225225 case _ =>
226226 throw("wrong type, expected: String")
227227 }
228228
229229
230230 func isSymbolA (accumulated,sym) = if ((sym == "A"))
231231 then (accumulated + 1)
232232 else (accumulated + 0)
233233
234234
235235 func isSymbolB (accumulated,sym) = if ((sym == "B"))
236236 then (accumulated + 1)
237237 else (accumulated + 0)
238238
239239
240240 func isSymbolC (accumulated,sym) = if ((sym == "C"))
241241 then (accumulated + 1)
242242 else (accumulated + 0)
243243
244244
245245 func isSymbolD (accumulated,sym) = if ((sym == "D"))
246246 then (accumulated + 1)
247247 else (accumulated + 0)
248248
249249
250250 func isSymbolE (accumulated,sym) = if ((sym == "E"))
251251 then (accumulated + 1)
252252 else (accumulated + 0)
253253
254254
255255 func isSymbolF (accumulated,sym) = if ((sym == "F"))
256256 then (accumulated + 1)
257257 else (accumulated + 0)
258258
259259
260260 func isSymbolG (accumulated,sym) = if ((sym == "G"))
261261 then (accumulated + 1)
262262 else (accumulated + 0)
263263
264264
265265 func isSymbolH (accumulated,sym) = if ((sym == "H"))
266266 then (accumulated + 1)
267267 else (accumulated + 0)
268268
269269
270270 func getAmountOrClear (amount) = if (contains(amount, "0"))
271271 then ""
272272 else amount
273273
274274
275275 func getGen (assetName) = {
276276 let genotype = split(dropRight(drop(assetName, 5), 3), "")
277277 let generation = split(assetName, "")[14]
278278 (((((((((getAmountOrClear((toString({
279279 let $l = genotype
280280 let $s = size($l)
281281 let $acc0 = 0
282282 func $f0_1 ($a,$i) = if (($i >= $s))
283283 then $a
284284 else isSymbolA($a, $l[$i])
285285
286286 func $f0_2 ($a,$i) = if (($i >= $s))
287287 then $a
288288 else throw("List size exceeds 8")
289289
290290 $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)
291291 }) + "A")) + getAmountOrClear((toString({
292292 let $l = genotype
293293 let $s = size($l)
294294 let $acc0 = 0
295295 func $f1_1 ($a,$i) = if (($i >= $s))
296296 then $a
297297 else isSymbolB($a, $l[$i])
298298
299299 func $f1_2 ($a,$i) = if (($i >= $s))
300300 then $a
301301 else throw("List size exceeds 8")
302302
303303 $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)
304304 }) + "B"))) + getAmountOrClear((toString({
305305 let $l = genotype
306306 let $s = size($l)
307307 let $acc0 = 0
308308 func $f2_1 ($a,$i) = if (($i >= $s))
309309 then $a
310310 else isSymbolC($a, $l[$i])
311311
312312 func $f2_2 ($a,$i) = if (($i >= $s))
313313 then $a
314314 else throw("List size exceeds 8")
315315
316316 $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)
317317 }) + "C"))) + getAmountOrClear((toString({
318318 let $l = genotype
319319 let $s = size($l)
320320 let $acc0 = 0
321321 func $f3_1 ($a,$i) = if (($i >= $s))
322322 then $a
323323 else isSymbolD($a, $l[$i])
324324
325325 func $f3_2 ($a,$i) = if (($i >= $s))
326326 then $a
327327 else throw("List size exceeds 8")
328328
329329 $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)
330330 }) + "D"))) + getAmountOrClear((toString({
331331 let $l = genotype
332332 let $s = size($l)
333333 let $acc0 = 0
334334 func $f4_1 ($a,$i) = if (($i >= $s))
335335 then $a
336336 else isSymbolE($a, $l[$i])
337337
338338 func $f4_2 ($a,$i) = if (($i >= $s))
339339 then $a
340340 else throw("List size exceeds 8")
341341
342342 $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)
343343 }) + "E"))) + getAmountOrClear((toString({
344344 let $l = genotype
345345 let $s = size($l)
346346 let $acc0 = 0
347347 func $f5_1 ($a,$i) = if (($i >= $s))
348348 then $a
349349 else isSymbolF($a, $l[$i])
350350
351351 func $f5_2 ($a,$i) = if (($i >= $s))
352352 then $a
353353 else throw("List size exceeds 8")
354354
355355 $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)
356356 }) + "F"))) + getAmountOrClear((toString({
357357 let $l = genotype
358358 let $s = size($l)
359359 let $acc0 = 0
360360 func $f6_1 ($a,$i) = if (($i >= $s))
361361 then $a
362362 else isSymbolG($a, $l[$i])
363363
364364 func $f6_2 ($a,$i) = if (($i >= $s))
365365 then $a
366366 else throw("List size exceeds 8")
367367
368368 $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)
369369 }) + "G"))) + getAmountOrClear((toString({
370370 let $l = genotype
371371 let $s = size($l)
372372 let $acc0 = 0
373373 func $f7_1 ($a,$i) = if (($i >= $s))
374374 then $a
375375 else isSymbolH($a, $l[$i])
376376
377377 func $f7_2 ($a,$i) = if (($i >= $s))
378378 then $a
379379 else throw("List size exceeds 8")
380380
381381 $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)
382382 }) + "H"))) + "-") + generation)
383383 }
384384
385385
386386 func finishHatchingInternal (txIdStr,i,parentFixedGene,positionFixedGene,specifiqueGene,specifiqueGenePosition) = {
387387 let txId = fromBase58String(txIdStr)
388388 let processStatusKey = getProcessStatusKey(toString(i.caller), txId)
389389 let finishHeightKey = getProcessFinishHeightKey(toString(i.caller), txId)
390390 let IdKey = getIdKey(toString(i.caller), txId)
391391 let processTxStatus = getStringValue(this, processStatusKey)
392392 let processFinishHeight = getIntegerValue(this, finishHeightKey)
393393 if ((processTxStatus == HatchingFinished))
394394 then {
395395 let Id = getStringValue(this, getIdKey(toString(i.caller), txId))
396396 throw(("The feline was breeded and claimed already, here is the folowing: " + Id))
397397 }
398398 else if ((processFinishHeight > height))
399399 then throw((((("Breeding is not finished yet " + toString((processFinishHeight - height))) + " blocks remaining, it will take around ") + toString((processFinishHeight - height))) + " minutes"))
400400 else {
401401 let Gen = generate(txId, processFinishHeight, parentFixedGene, positionFixedGene, specifiqueGene, specifiqueGenePosition)
402402 let farmGen = getGen(Gen)
403403 let description = (("{\"genotype\": \"" + Gen) + "\", \"crossbreeding\": true}")
404404 let asset = Issue(Gen, description, 1, 0, false, unit, processFinishHeight)
405405 let assetId = calculateAssetId(asset)
406406 let amount = (tryGetInteger(getStatsKey(Gen)) + 1)
407407 let quantity = tryGetInteger((("stats_" + farmGen) + "_quantity"))
408408 let parent1Id = tryGetString(getParentKey(txId, 1))
409409 let parent2Id = tryGetString(getParentKey(txId, 2))
410410 [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))]
411411 }
412412 }
413413
414414
415415 func getRandomOldGenes (txId,h) = {
416416 let freeGenes = ["A", "B", "C", "D"]
417417 let randomNumber = getRandomNumber(size(freeGenes), txId, h, 2)
418418 freeGenes[randomNumber]
419419 }
420420
421421
422422 func asInt (value) = match value {
423423 case int: Int =>
424424 int
425425 case _ =>
426426 throw("wrong type, expected: Int")
427427 }
428428
429429
430430 @Callable(i)
431431 func getGenFromName (assetName) = {
432432 let genotype = split(dropRight(drop(assetName, 5), 3), "")
433433 let generation = split(assetName, "")[14]
434434 let gen = (((((((((getAmountOrClear((toString({
435435 let $l = genotype
436436 let $s = size($l)
437437 let $acc0 = 0
438438 func $f0_1 ($a,$i) = if (($i >= $s))
439439 then $a
440440 else isSymbolA($a, $l[$i])
441441
442442 func $f0_2 ($a,$i) = if (($i >= $s))
443443 then $a
444444 else throw("List size exceeds 8")
445445
446446 $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)
447447 }) + "A")) + getAmountOrClear((toString({
448448 let $l = genotype
449449 let $s = size($l)
450450 let $acc0 = 0
451451 func $f1_1 ($a,$i) = if (($i >= $s))
452452 then $a
453453 else isSymbolB($a, $l[$i])
454454
455455 func $f1_2 ($a,$i) = if (($i >= $s))
456456 then $a
457457 else throw("List size exceeds 8")
458458
459459 $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)
460460 }) + "B"))) + getAmountOrClear((toString({
461461 let $l = genotype
462462 let $s = size($l)
463463 let $acc0 = 0
464464 func $f2_1 ($a,$i) = if (($i >= $s))
465465 then $a
466466 else isSymbolC($a, $l[$i])
467467
468468 func $f2_2 ($a,$i) = if (($i >= $s))
469469 then $a
470470 else throw("List size exceeds 8")
471471
472472 $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)
473473 }) + "C"))) + getAmountOrClear((toString({
474474 let $l = genotype
475475 let $s = size($l)
476476 let $acc0 = 0
477477 func $f3_1 ($a,$i) = if (($i >= $s))
478478 then $a
479479 else isSymbolD($a, $l[$i])
480480
481481 func $f3_2 ($a,$i) = if (($i >= $s))
482482 then $a
483483 else throw("List size exceeds 8")
484484
485485 $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)
486486 }) + "D"))) + getAmountOrClear((toString({
487487 let $l = genotype
488488 let $s = size($l)
489489 let $acc0 = 0
490490 func $f4_1 ($a,$i) = if (($i >= $s))
491491 then $a
492492 else isSymbolE($a, $l[$i])
493493
494494 func $f4_2 ($a,$i) = if (($i >= $s))
495495 then $a
496496 else throw("List size exceeds 8")
497497
498498 $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)
499499 }) + "E"))) + getAmountOrClear((toString({
500500 let $l = genotype
501501 let $s = size($l)
502502 let $acc0 = 0
503503 func $f5_1 ($a,$i) = if (($i >= $s))
504504 then $a
505505 else isSymbolF($a, $l[$i])
506506
507507 func $f5_2 ($a,$i) = if (($i >= $s))
508508 then $a
509509 else throw("List size exceeds 8")
510510
511511 $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)
512512 }) + "F"))) + getAmountOrClear((toString({
513513 let $l = genotype
514514 let $s = size($l)
515515 let $acc0 = 0
516516 func $f6_1 ($a,$i) = if (($i >= $s))
517517 then $a
518518 else isSymbolG($a, $l[$i])
519519
520520 func $f6_2 ($a,$i) = if (($i >= $s))
521521 then $a
522522 else throw("List size exceeds 8")
523523
524524 $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)
525525 }) + "G"))) + getAmountOrClear((toString({
526526 let $l = genotype
527527 let $s = size($l)
528528 let $acc0 = 0
529529 func $f7_1 ($a,$i) = if (($i >= $s))
530530 then $a
531531 else isSymbolH($a, $l[$i])
532532
533533 func $f7_2 ($a,$i) = if (($i >= $s))
534534 then $a
535535 else throw("List size exceeds 8")
536536
537537 $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)
538538 }) + "H"))) + "-") + generation)
539539 $Tuple2(nil, gen)
540540 }
541541
542542
543543
544544 @Callable(i)
545545 func startBreeding (refererAddress) = if (if ((size(i.payments) != 4))
546546 then (size(i.payments) != 3)
547547 else false)
548548 then throw("Wrong amount of payments!")
549549 else {
550550 let feeValidate = checkAdditionalPayment(i.payments[0])
551551 if ((feeValidate == feeValidate))
552552 then {
553553 let firstPayment = value(i.payments[1])
554554 let secondPayment = value(i.payments[2])
555555 let amountPaidByCoupons = asInt(invoke(getCouponsAddress(), "useCoupons", [getCanineIncubationFee()], nil))
556556 if ((amountPaidByCoupons == amountPaidByCoupons))
557557 then {
558558 let leftToPay = (getCanineIncubationFee() - amountPaidByCoupons)
559559 if (if ((leftToPay == 0))
560560 then (size(i.payments) == 4)
561561 else false)
562562 then throw("You need to attach 3 payments")
563563 else {
564564 let payment = if ((leftToPay != 0))
565565 then {
566566 let thirdPayment = value(i.payments[3])
567567 if ((thirdPayment.assetId != getEggAssetId()))
568568 then throw(("TB: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId())))
569569 else if ((thirdPayment.amount != leftToPay))
570570 then throw(((("TB: To breed a Feline you following amount of EGGlets: " + toString(leftToPay)) + " ") + toString(i.caller)))
571571 else {
572572 let refererRewardForbeach = fraction(leftToPay, 5, 100)
573573 let refCall = asBoolean(invoke(getRefContractAddress(), "refPayment", [refererAddress], [AttachedPayment(getEggAssetId(), refererRewardForbeach)]))
574574 if ((refCall == refCall))
575575 then {
576576 let toBurn = if (refCall)
577577 then (leftToPay - refererRewardForbeach)
578578 else leftToPay
579579 let burnCall = invoke(getBurnAddress(), "burnAttachedPayments", nil, [AttachedPayment(getEggAssetId(), toBurn)])
580580 if ((burnCall == burnCall))
581581 then leftToPay
582582 else throw("Strict value is not equal to itself.")
583583 }
584584 else throw("Strict value is not equal to itself.")
585585 }
586586 }
587587 else 0
588588 if ((payment == payment))
589589 then {
590590 let firstAssetId = toBase58String(value(firstPayment.assetId))
591591 let secondAssetId = toBase58String(value(secondPayment.assetId))
592592 if (if ((firstPayment.amount != 1))
593593 then true
594594 else (secondPayment.amount != 1))
595595 then throw("NFT is not attached")
596596 else if (!(if (checkAssetInIncubator(firstAssetId))
597597 then checkAssetInIncubator(secondAssetId)
598598 else false))
599599 then throw("You need to attach 2 valid NFT-felines.")
600600 else if (if ((tryGetInteger((("asset_" + firstAssetId) + "_children")) > 0))
601601 then true
602602 else (tryGetInteger((("asset_" + secondAssetId) + "_children")) > 0))
603603 then throw("One feline can be used for breeding only once in its lifetime.")
604604 else {
605605 let breededStatus = canBeBreeded(fromBase58String(firstAssetId), fromBase58String(secondAssetId))
606606 if ((breededStatus != "true"))
607607 then throw(("These felines cannot be breeded: " + breededStatus))
608608 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)
609609 }
610610 }
611611 else throw("Strict value is not equal to itself.")
612612 }
613613 }
614614 else throw("Strict value is not equal to itself.")
615615 }
616616 else throw("Strict value is not equal to itself.")
617617 }
618618
619619
620620
621621 @Callable(i)
622622 func fixedGene (txIdStr,parentFixedGene,positionFixedGene) = {
623623 let feeValidate = checkAdditionalPayment(i.payments[1])
624624 if ((feeValidate == feeValidate))
625625 then if (if ((parentFixedGene != 1))
626626 then (parentFixedGene != 2)
627627 else false)
628628 then throw("FG: Parent fixed gene can be only 1 or 2")
629629 else {
630630 let firstPayment = value(i.payments[0])
631631 if ((firstPayment.amount != 1))
632632 then throw("NFT is not attached")
633633 else {
634634 let artefact = asString(invoke(getItemsAddress(), "checkArtefactDetails", [toBase58String(value(firstPayment.assetId))], nil))
635635 if ((artefact == artefact))
636636 then if ((artefact != "ART-FIXGENE"))
637637 then throw("You need to attach a ART-FIXGENE artefact")
638638 else ((finishHatchingInternal(txIdStr, i, parentFixedGene, positionFixedGene, "", 0) ++ feeValidate) ++ [Burn(value(firstPayment.assetId), 1)])
639639 else throw("Strict value is not equal to itself.")
640640 }
641641 }
642642 else throw("Strict value is not equal to itself.")
643643 }
644644
645645
646646
647647 @Callable(i)
648648 func freeGene (txIdStr) = {
649649 let feeValidate = checkAdditionalPayment(i.payments[1])
650650 if ((feeValidate == feeValidate))
651651 then {
652652 let firstPayment = value(i.payments[0])
653653 if ((firstPayment.amount != 1))
654654 then throw("NFT is not attached")
655655 else {
656656 let artefact = asString(invoke(getItemsAddress(), "checkArtefactDetails", [toBase58String(value(firstPayment.assetId))], nil))
657657 if ((artefact == artefact))
658658 then if ((artefact != "ART-FREEGENE"))
659659 then throw("You need to attach a ART-FREEGENE artefact")
660660 else {
661661 let finishHeightKey = getProcessFinishHeightKey(toString(i.caller), fromBase58String(txIdStr))
662662 let processFinishHeight = getIntegerValue(this, finishHeightKey)
663663 let selectedGene = getRandomOldGenes(fromBase58String(txIdStr), processFinishHeight)
664664 let randomPosition = getRandomNumber(8, fromBase58String(txIdStr), processFinishHeight, 3)
665665 ((finishHatchingInternal(txIdStr, i, 0, 0, selectedGene, randomPosition) ++ feeValidate) ++ [Burn(value(firstPayment.assetId), 1)])
666666 }
667667 else throw("Strict value is not equal to itself.")
668668 }
669669 }
670670 else throw("Strict value is not equal to itself.")
671671 }
672672
673673
674674
675675 @Callable(i)
676676 func finishHatching (txIdStr) = if ((size(i.payments) != 1))
677677 then throw("Wrong amount of payments!")
678678 else {
679679 let feeValidate = checkAdditionalPayment(i.payments[0])
680680 if ((feeValidate == feeValidate))
681681 then (finishHatchingInternal(txIdStr, i, 0, 0, "", 0) ++ feeValidate)
682682 else throw("Strict value is not equal to itself.")
683683 }
684684
685685
686686
687687 @Callable(i)
688688 func configureOracle (oracle) = if ((i.caller != this))
689689 then throw("ICU: admin only")
690690 else [StringEntry("static_oracleAddress", oracle)]
691691
692692
693693
694694 @Callable(i)
695695 func reduceRarity (assetId,farmGen) = {
696696 let asset = fromBase58String(assetId)
697697 if (if ((i.caller != getFeliRebirthAddress()))
698698 then (i.caller != this)
699699 else false)
700700 then throw("admin, items or rebirth only")
701701 else {
702702 let duckGen = value(assetInfo(asset)).name
703703 [IntegerEntry(getStatsKey(duckGen), (tryGetInteger(getStatsKey(duckGen)) - 1)), IntegerEntry((("stats_" + farmGen) + "_quantity"), (tryGetInteger((("stats_" + farmGen) + "_quantity")) - 1))]
704704 }
705705 }
706706
707707
708708 @Verifier(tx)
709709 func verify () = if (isTestEnv())
710710 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
711711 else {
712712 let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
713713 let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
714714 let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
715715 let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
716716 then 1
717717 else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
718718 then 1
719719 else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
720720 then 1
721721 else 0
722722 let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
723723 then 1
724724 else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
725725 then 1
726726 else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
727727 then 1
728728 else 0
729729 let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
730730 then 1
731731 else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
732732 then 1
733733 else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
734734 then 1
735735 else 0
736736 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
737737 match tx {
738738 case _ =>
739739 (signaturesCount >= 2)
740740 }
741741 }
742742

github/deemru/w8io/026f985 
79.66 ms