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