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