tx · Hu1kHDzMkgYXcnDiNF9zMhAxkMRCANAVZzC3kbNbqMHT

3N1ZfechNGoBTZyzvCAxGXPKchL4C6438dr:  -0.03300000 Waves

2024.12.02 17:46 [3397172] smart account 3N1ZfechNGoBTZyzvCAxGXPKchL4C6438dr > SELF 0.00000000 Waves

{ "type": 13, "id": "Hu1kHDzMkgYXcnDiNF9zMhAxkMRCANAVZzC3kbNbqMHT", "fee": 3300000, "feeAssetId": null, "timestamp": 1733150809591, "version": 2, "chainId": 84, "sender": "3N1ZfechNGoBTZyzvCAxGXPKchL4C6438dr", "senderPublicKey": "9JhgPDL4uV7b9tRjpNxGkGVDsbQ2qkEWfjt64wysYmKQ", "proofs": [ "4kdBMeHmNKYThabcZCkExDk6ZGaoCG9UariykxpZbVkHYbMWUbu5JLYMCwJK8Z6SGKvdYR1pSf7noBgszjtbh5bB" ], "script": "base64:BgJbCAISABIDCgEIEgMKAQgSBAoCCAESAwoBCBIECgIBCBIECgIBCBIDCgEIEgMKAQgSBAoCCAgSABIAEgASABIECgIICBIFCgMICAESAwoBARIKCggBCAEECAEBAVABF3N0YXRpY0tleV9vcmFjbGVBZGRyZXNzAAIUc3RhdGljX29yYWNsZUFkZHJlc3MBGHN0YXRpY0tleV9icmVlZGVyQWRkcmVzcwACFXN0YXRpY19icmVlZGVyQWRkcmVzcwEUc3RhdGljS2V5X2VnZ0Fzc2V0SWQAAhFzdGF0aWNfZWdnQXNzZXRJZAEVc3RhdGljS2V5X3BldGVBc3NldElkAAISc3RhdGljX3BldGVBc3NldElkARpzdGF0aWNLZXlfdHJ1c3RlZENvbnRyYWN0cwACF3N0YXRpY190cnVzdGVkQ29udHJhY3RzARhzdGF0aWNLZXlfcmViaXJ0aEFkZHJlc3MAAhVzdGF0aWNfcmViaXJ0aEFkZHJlc3MBHnN0YXRpY0tleV90dXJ0bGVSZWJpcnRoQWRkcmVzcwACG3N0YXRpY190dXJ0bGVSZWJpcnRoQWRkcmVzcwEWc3RhdGljS2V5X3Bpc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DuRPmCtNNByWrsDB5tVFMNX8e8jNzpFZmThe9x8rQE Next: none Diff:
OldNewDifferences
88
99
1010 func staticKey_eggAssetId () = "static_eggAssetId"
11+
12+
13+func staticKey_peteAssetId () = "static_peteAssetId"
1114
1215
1316 func staticKey_trustedContracts () = "static_trustedContracts"
9699
97100 let allArtefact = ["ART-LAKE", "ART-HOUSE", "ART-BIGHOUSE", "ART-FIXGENE", "ART-FREEGENE", "ART-MIRROR", "ART-POMP", "ART-CAPE", "ART-HAT", "ART-CUSTOMDUCK", "ART-XMISTL", "ART-XHAT", "ART-XSCARF", "ART-XSWEATER", "ART-XSOCK", "ART-XTREE"]
98101
99-let snow_boosters = ["ART-TINSEL", "ART-FEED10", "ART-GNGR_BREAD", "ART-SNOWBALL", "ART-GIFT_DOUBL"]
102+let snow_boosters = ["ART-TINSEL", "ART-FEED5", "ART-FEED10", "ART-FEED15", "ART-GNGR_BREAD", "ART-SNOWBALL", "ART-GIFT_DOUBL", "ART-FELCPN", "ART-CANCPN", "ART-GFTR", "ART-GFTW"]
100103
101104 let hween_boosters = ["ART-HWRESCUE", "ART-HWERASE", "ART-FEED10", "ART-FEED15", "ART-FEED20", "ART-FEED25", "ART-GIFT_DOUBL"]
102105
158161
159162
160163 func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId()))
164+
165+
166+func getPeteAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_peteAssetId()))
161167
162168
163169 func getTrustedContracts () = tryGetStringExternal(getOracle(), staticKey_trustedContracts())
258264 func itemMerger (baseItem,amountBaseItem,endItem,payments,feeAmount,feeAssetId,recipient,instantFinish,txId,secondaryItem,amountSecondaryItem,ducklingsPercent,genValue) = if (((amountBaseItem + amountSecondaryItem) > size(payments)))
259265 then throw("IID: Please attach more payments!")
260266 else {
261- func isBaseItem (accumulated,pay) = if (if ((pay.assetId == unit))
267+ func isBaseItem (accumulated,pay) = if (if (if ((pay.assetId == unit))
262268 then true
263269 else (pay.assetId == getEggAssetId()))
270+ then true
271+ else (pay.assetId == getPeteAssetId()))
264272 then $Tuple5(accumulated._1, accumulated._2, accumulated._3, accumulated._4, accumulated._5)
265273 else {
266274 let assetId = value(pay.assetId)
325333 else {
326334 let validate = if ((feeAmount != 0))
327335 then {
328- let feePayment = payments[amountBaseItem]
336+ let feePayment = payments[(amountBaseItem + amountSecondaryItem)]
329337 if ((feePayment.assetId != feeAssetId))
330338 then throw("IID: You miss a payment with the fee!")
331339 else if ((feePayment.amount != feeAmount))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func staticKey_oracleAddress () = "static_oracleAddress"
55
66
77 func staticKey_breederAddress () = "static_breederAddress"
88
99
1010 func staticKey_eggAssetId () = "static_eggAssetId"
11+
12+
13+func staticKey_peteAssetId () = "static_peteAssetId"
1114
1215
1316 func staticKey_trustedContracts () = "static_trustedContracts"
1417
1518
1619 func staticKey_rebirthAddress () = "static_rebirthAddress"
1720
1821
1922 func staticKey_turtleRebirthAddress () = "static_turtleRebirthAddress"
2023
2124
2225 func staticKey_pipelineUser () = "static_pipelineUser"
2326
2427
2528 func staticKey_extraFee () = "static_extraFee"
2629
2730
2831 func staticKey_feeAggregator () = "static_feeAggregator"
2932
3033
3134 func staticKey_huntDistroAddress () = "static_huntDistroAddress"
3235
3336
3437 func staticKey_warsPKey () = "static_warsPKey"
3538
3639
3740 func staticKey_duplicatorFee () = "static_duplicatorFee"
3841
3942
4043 func staticKey_canineRebirthAddress () = "static_canineRebirthAddress"
4144
4245
4346 func staticKey_felineRebirthAddress () = "static_felineRebirthAddress"
4447
4548
4649 func staticKey_babyDuckAddress () = "static_babyDuckAddress"
4750
4851
4952 func staticKey_burnAddress () = "static_burnAddress"
5053
5154
5255 func key_artefactOwner (artefactName,owner) = (((artefactName + "_") + owner) + "_owner")
5356
5457
5558 func key_unstakeHeight (artefactName,artefactId) = (((artefactName + "_") + artefactId) + "_unstake_height")
5659
5760
5861 func key_externalBoostDuck (duckId) = (duckId + "_duck_external_boost")
5962
6063
6164 func key_externalBoostAddress (address) = (address + "_user_external_boost")
6265
6366
6467 func key_priceCosmetic (item) = ("direct_cosmetic_" + item)
6568
6669
6770 func key_maxSalesCosmetic (item) = (("direct_cosmetic_" + item) + "_max_sales")
6871
6972
7073 func key_saleCosmetic (item) = (("direct_cosmetic_" + item) + "_sale")
7174
7275
7376 func key_priceAssetCosmetic (item) = (("direct_cosmetic_" + item) + "_priceAsset")
7477
7578
7679 func key_growPercentageCosmetic (item) = (("direct_cosmetic_" + item) + "_growing_percentage")
7780
7881
7982 func key_soldCosmetic (item) = (("direct_cosmetic_" + item) + "_sold")
8083
8184
8285 func key_lastPriceCosmetic (item) = (("direct_cosmetic_" + item) + "_last_price")
8386
8487
8588 func key_startTsCosmetic (item) = (("direct_cosmetic_" + item) + "_startTs")
8689
8790
8891 func key_endTsCosmetic (item) = (("direct_cosmetic_" + item) + "_endTs")
8992
9093
9194 func key_processFinishHeight (address,txId) = (((address + "_") + toBase58String(txId)) + "_fh")
9295
9396
9497 func staticKey_couponsAddress () = "static_couponsAddress"
9598
9699
97100 let allArtefact = ["ART-LAKE", "ART-HOUSE", "ART-BIGHOUSE", "ART-FIXGENE", "ART-FREEGENE", "ART-MIRROR", "ART-POMP", "ART-CAPE", "ART-HAT", "ART-CUSTOMDUCK", "ART-XMISTL", "ART-XHAT", "ART-XSCARF", "ART-XSWEATER", "ART-XSOCK", "ART-XTREE"]
98101
99-let snow_boosters = ["ART-TINSEL", "ART-FEED10", "ART-GNGR_BREAD", "ART-SNOWBALL", "ART-GIFT_DOUBL"]
102+let snow_boosters = ["ART-TINSEL", "ART-FEED5", "ART-FEED10", "ART-FEED15", "ART-GNGR_BREAD", "ART-SNOWBALL", "ART-GIFT_DOUBL", "ART-FELCPN", "ART-CANCPN", "ART-GFTR", "ART-GFTW"]
100103
101104 let hween_boosters = ["ART-HWRESCUE", "ART-HWERASE", "ART-FEED10", "ART-FEED15", "ART-FEED20", "ART-FEED25", "ART-GIFT_DOUBL"]
102105
103106 let shake_artefact = ["ART-SNW_GLBES", "ART-SKELETON"]
104107
105108 let Generations = ["G", "H", "I", "K", "L", "M", "N", "O"]
106109
107110 func tryGetBoolean (key) = match getBoolean(this, key) {
108111 case b: Boolean =>
109112 b
110113 case _ =>
111114 false
112115 }
113116
114117
115118 func tryGetString (key) = match getString(this, key) {
116119 case a: String =>
117120 a
118121 case _ =>
119122 ""
120123 }
121124
122125
123126 func tryGetInteger (key) = match getInteger(this, key) {
124127 case a: Int =>
125128 a
126129 case _ =>
127130 0
128131 }
129132
130133
131134 func tryGetIntegerExternal (address,key) = match getInteger(address, key) {
132135 case b: Int =>
133136 b
134137 case _ =>
135138 0
136139 }
137140
138141
139142 func getRandomNumber (variants,txId,finishHeight,offset) = {
140143 let randomSeedBlock = value(blockInfoByHeight((finishHeight - 1)))
141144 let randomHash = sha256(((base58'items' + txId) + value(randomSeedBlock.vrf)))
142145 (toInt(randomHash, offset) % variants)
143146 }
144147
145148
146149 func tryGetStringExternal (address,key) = match getString(address, key) {
147150 case a: String =>
148151 a
149152 case _ =>
150153 ""
151154 }
152155
153156
154157 func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress())))
155158
156159
157160 func getBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_breederAddress())))
158161
159162
160163 func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId()))
164+
165+
166+func getPeteAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_peteAssetId()))
161167
162168
163169 func getTrustedContracts () = tryGetStringExternal(getOracle(), staticKey_trustedContracts())
164170
165171
166172 func getRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_rebirthAddress())))
167173
168174
169175 func getTurtleRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_turtleRebirthAddress())))
170176
171177
172178 func getCanineRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineRebirthAddress())))
173179
174180
175181 func getFelineeRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineRebirthAddress())))
176182
177183
178184 func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator())))
179185
180186
181187 func getHuntDistroAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_huntDistroAddress())))
182188
183189
184190 func getWarsPKey () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_warsPKey()))
185191
186192
187193 func getDuplicatorFee () = tryGetIntegerExternal(getOracle(), staticKey_duplicatorFee())
188194
189195
190196 func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress())))
191197
192198
193199 func getBabyduckAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_babyDuckAddress())))
194200
195201
196202 func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_burnAddress())))
197203
198204
199205 func tryGetCosmeticItemPrice (item) = {
200206 let key = key_priceCosmetic(item)
201207 match getInteger(this, key) {
202208 case a: Int =>
203209 a
204210 case _ =>
205211 throw((("ITGCIP: " + item) + " is not available in the store!"))
206212 }
207213 }
208214
209215
210216 func asString (value) = match value {
211217 case string: String =>
212218 string
213219 case _ =>
214220 throw("wrong type, expected: String")
215221 }
216222
217223
218224 func asInt (value) = match value {
219225 case int: Int =>
220226 int
221227 case _ =>
222228 throw("wrong type, expected: Int")
223229 }
224230
225231
226232 func manipulateName (assetName,position,char) = ((take(assetName, (position - 1)) + char) + takeRight(assetName, (16 - position)))
227233
228234
229235 func itemIsInCoolDown (artefactName,artefactId) = {
230236 let unstakeHeightLast = tryGetInteger(key_unstakeHeight(artefactName, artefactId))
231237 let cooldownPeriod = 240
232238 if ((height > (unstakeHeightLast + cooldownPeriod)))
233239 then false
234240 else true
235241 }
236242
237243
238244 func isTestEnv () = tryGetBoolean("TESTENV")
239245
240246
241247 func checkAdditionalPayment (payment) = if (isDefined(payment.assetId))
242248 then throw("WCAP: Please attach waves")
243249 else {
244250 let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee())
245251 if ((payment.amount != feeAmount))
246252 then throw((("WCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets"))
247253 else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)]
248254 }
249255
250256
251257 func issueItem (type,nonce,address) = {
252258 let artefact = Issue(type, "NFT artefact of Waves Ducks game.", 1, 0, false, unit, nonce)
253259 let artefactId = calculateAssetId(artefact)
254260 $Tuple2([artefact, StringEntry((("artefact_" + toBase58String(artefactId)) + "_type"), type), ScriptTransfer(address, 1, artefactId)], toBase58String(artefactId))
255261 }
256262
257263
258264 func itemMerger (baseItem,amountBaseItem,endItem,payments,feeAmount,feeAssetId,recipient,instantFinish,txId,secondaryItem,amountSecondaryItem,ducklingsPercent,genValue) = if (((amountBaseItem + amountSecondaryItem) > size(payments)))
259265 then throw("IID: Please attach more payments!")
260266 else {
261- func isBaseItem (accumulated,pay) = if (if ((pay.assetId == unit))
267+ func isBaseItem (accumulated,pay) = if (if (if ((pay.assetId == unit))
262268 then true
263269 else (pay.assetId == getEggAssetId()))
270+ then true
271+ else (pay.assetId == getPeteAssetId()))
264272 then $Tuple5(accumulated._1, accumulated._2, accumulated._3, accumulated._4, accumulated._5)
265273 else {
266274 let assetId = value(pay.assetId)
267275 if ((value(assetInfo(value(assetId))).issuer == getBreederAddress()))
268276 then {
269277 let splitted = split(value(assetInfo(value(assetId))).name, "")
270278 let gen = splitted[14]
271279 let genNr = value(indexOf(Generations, gen))
272280 $Tuple5(accumulated._1, accumulated._2, accumulated._3, accumulated._4, (accumulated._5 + genNr))
273281 }
274282 else if ((value(assetInfo(value(assetId))).issuer == getBabyduckAddress()))
275283 then {
276284 let startPercentage = tryGetIntegerExternal(getBabyduckAddress(), (("duckling_" + toBase58String(assetId)) + "_startPercentage"))
277285 let limit = if ((10 > startPercentage))
278286 then 10
279287 else startPercentage
280288 let burnCall = invoke(getBurnAddress(), "burnDuckling", [toString(recipient)], [AttachedPayment(assetId, 1)])
281289 if ((burnCall == burnCall))
282290 then $Tuple5(accumulated._1, accumulated._2, accumulated._3, (accumulated._4 + limit), accumulated._5)
283291 else throw("Strict value is not equal to itself.")
284292 }
285293 else {
286294 let artefact = asString(invoke(this, "checkArtefactDetails", [toBase58String(assetId)], nil))
287295 if ((artefact == artefact))
288296 then if ((artefact == baseItem))
289297 then $Tuple5((accumulated._1 ++ [Burn(assetId, 1)]), (accumulated._2 + 1), accumulated._3, accumulated._4, accumulated._5)
290298 else if ((artefact == secondaryItem))
291299 then $Tuple5((accumulated._1 ++ [Burn(assetId, 1)]), accumulated._2, (accumulated._3 + 1), accumulated._4, accumulated._5)
292300 else $Tuple5(accumulated._1, accumulated._2, accumulated._3, accumulated._4, accumulated._5)
293301 else throw("Strict value is not equal to itself.")
294302 }
295303 }
296304
297305 let totalBaseItem = {
298306 let $l = payments
299307 let $s = size($l)
300308 let $acc0 = $Tuple5(nil, 0, 0, 0, 0)
301309 func $f0_1 ($a,$i) = if (($i >= $s))
302310 then $a
303311 else isBaseItem($a, $l[$i])
304312
305313 func $f0_2 ($a,$i) = if (($i >= $s))
306314 then $a
307315 else throw("List size exceeds 10")
308316
309317 $f0_2($f0_1($f0_1($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), 9), 10)
310318 }
311319 if ((totalBaseItem._2 != amountBaseItem))
312320 then throw(((("IID: Please attach " + toString(amountBaseItem)) + " artefacts of primary type ") + baseItem))
313321 else if (if ((secondaryItem != ""))
314322 then (totalBaseItem._3 != amountSecondaryItem)
315323 else false)
316324 then throw(((("IID: Please attach " + toString(amountSecondaryItem)) + " artefacts of secondary type ") + secondaryItem))
317325 else if (if ((ducklingsPercent != 0))
318326 then (totalBaseItem._4 != ducklingsPercent)
319327 else false)
320328 then throw(((("IID: Please attach " + toString(ducklingsPercent)) + " growth, you added ") + toString(totalBaseItem._4)))
321329 else if (if ((genValue != 0))
322330 then (totalBaseItem._5 != genValue)
323331 else false)
324332 then throw(((("IID: Please attach " + toString(genValue)) + " gen value, you added ") + toString(totalBaseItem._5)))
325333 else {
326334 let validate = if ((feeAmount != 0))
327335 then {
328- let feePayment = payments[amountBaseItem]
336+ let feePayment = payments[(amountBaseItem + amountSecondaryItem)]
329337 if ((feePayment.assetId != feeAssetId))
330338 then throw("IID: You miss a payment with the fee!")
331339 else if ((feePayment.amount != feeAmount))
332340 then throw("IID: You did not attach the correct fee amount!")
333341 else [ScriptTransfer(getFeeAggregator(), feeAmount, feePayment.assetId)]
334342 }
335343 else nil
336344 if ((validate == validate))
337345 then {
338346 let artefact = Issue(endItem, ("NFT artefact of Waves Ducks game: " + endItem), 1, 0, false, unit, 0)
339347 let artefactId = calculateAssetId(artefact)
340348 let instant = if (instantFinish)
341349 then issueItem(endItem, 0, recipient)
342350 else $Tuple2(nil, "")
343351 $Tuple2(((([BooleanEntry((("merge_" + txId) + "_instant"), instantFinish), StringEntry((("merge_" + txId) + "_reward"), endItem), BooleanEntry((("merge_" + txId) + "_finished"), instantFinish)] ++ instant._1) ++ totalBaseItem._1) ++ validate), instant._2)
344352 }
345353 else throw("Strict value is not equal to itself.")
346354 }
347355 }
348356
349357
350358 func getBaseItem (baseItem) = getStringValue((("merge_" + baseItem) + "_baseItem"))
351359
352360
353361 func getAmountBaseItem (baseItem) = getIntegerValue((("merge_" + baseItem) + "_amount"))
354362
355363
356364 func getSecondaryItem (baseItem) = tryGetString((("merge_" + baseItem) + "_secondaryItem"))
357365
358366
359367 func getAmountSecondaryItem (baseItem) = tryGetInteger((("merge_" + baseItem) + "_secondaryItemAmount"))
360368
361369
362370 func getGenValue (baseItem) = tryGetInteger((("merge_" + baseItem) + "_genValue"))
363371
364372
365373 func getDucklingsPercent (baseItem) = tryGetInteger((("merge_" + baseItem) + "_ducklingsPercent"))
366374
367375
368376 func getEndItem (baseItem) = getStringValue((("merge_" + baseItem) + "_endItem"))
369377
370378
371379 func getPrice (baseItem) = getIntegerValue((("merge_" + baseItem) + "_price"))
372380
373381
374382 func getInstant (baseItem) = getBooleanValue((("merge_" + baseItem) + "_instant"))
375383
376384
377385 func getAsset (baseItem) = {
378386 let asset = getStringValue((("merge_" + baseItem) + "_asset"))
379387 if ((asset == "WAVES"))
380388 then unit
381389 else fromBase58String(asset)
382390 }
383391
384392
385393 func userExperience (user) = (user + "_experience")
386394
387395
388396 func finishShakeItBabyInternal (initTx,address,payment) = {
389397 let type = getStringValue((((("address_" + address) + "_initTx_") + initTx) + "_type"))
390398 let expStep = if ((type == "ART-SNW_GLBES"))
391399 then 100
392400 else if ((type == "ART-SKELETON"))
393401 then 200
394402 else throw("FSI: Invalid type")
395403 let steps = if ((type == "ART-SNW_GLBES"))
396404 then [1, 2, 3, 4, 5, 6]
397405 else if ((type == "ART-SKELETON"))
398406 then [1, 2, 3, 4, 5, 6, 7]
399407 else throw("FSI: Invalid type")
400408 let maxStep = size(steps)
401409 let rewards = if ((type == "ART-SNW_GLBES"))
402410 then snow_boosters
403411 else if ((type == "ART-SKELETON"))
404412 then hween_boosters
405413 else throw("FSI: Invalid type")
406414 let expUser = tryGetIntegerExternal(getCouponsAddress(), userExperience(address))
407415 let multiplier = min([((expUser / expStep) + 1), maxStep])
408416 let finish = getIntegerValue((((("address_" + address) + "_initTx_") + initTx) + "_finishBlock"))
409417 if ((finish > height))
410418 then throw("Please wait till the shaking is finished!")
411419 else if ((tryGetString((((("address_" + address) + "_initTx_") + initTx) + "_status")) != "open"))
412420 then throw("FSI: Only open status can be finished!")
413421 else {
414422 func handleMint (acc,index) = if ((multiplier >= index))
415423 then {
416424 let randomPosition = getRandomNumber(size(rewards), fromBase58String(initTx), finish, index)
417425 let win = rewards[randomPosition]
418426 ((acc ++ issueItem(win, (index - 1), addressFromStringValue(address))._1) ++ [StringEntry(((((("address_" + address) + "_initTx_") + initTx) + "_win") + toString((index - 1))), win)])
419427 }
420428 else acc
421429
422430 ({
423431 let $l = steps
424432 let $s = size($l)
425433 let $acc0 = nil
426434 func $f0_1 ($a,$i) = if (($i >= $s))
427435 then $a
428436 else handleMint($a, $l[$i])
429437
430438 func $f0_2 ($a,$i) = if (($i >= $s))
431439 then $a
432440 else throw("List size exceeds 7")
433441
434442 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7)
435443 } ++ [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_status"), "finish")])
436444 }
437445 }
438446
439447
440448 @Callable(i)
441449 func startShakeItBaby () = {
442450 let itemPayment = value(i.payments[0])
443451 let validPayment = checkAdditionalPayment(i.payments[1])
444452 let itemAssetId = toBase58String(value(itemPayment.assetId))
445453 if ((itemPayment.amount != 1))
446454 then throw("IID: Item NFT is not attached")
447455 else {
448456 let globeArtefact = asString(invoke(this, "checkArtefactDetails", [itemAssetId], nil))
449457 if ((globeArtefact == globeArtefact))
450458 then if ((indexOf(shake_artefact, globeArtefact) == unit))
451459 then throw("IID: You need to attach a valid artefact")
452460 else {
453461 let address = toString(i.caller)
454462 let initTx = toBase58String(i.transactionId)
455463 [Burn(value(itemPayment.assetId), 1), IntegerEntry((((("address_" + address) + "_initTx_") + initTx) + "_finishBlock"), (height + 2)), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_status"), "open"), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_assetId"), itemAssetId), StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_type"), globeArtefact)]
456464 }
457465 else throw("Strict value is not equal to itself.")
458466 }
459467 }
460468
461469
462470
463471 @Callable(i)
464472 func finishShakeItBaby (initTx) = finishShakeItBabyInternal(initTx, toString(i.caller), i.payments[0])
465473
466474
467475
468476 @Callable(i)
469477 func instanMergeItem (receiptName) = if ((tryGetString((("merge_" + receiptName) + "_endItem")) == ""))
470478 then throw("IID: Only certain items can be merged!")
471479 else {
472480 let params = $Tuple10(getAmountBaseItem(receiptName), getEndItem(receiptName), getPrice(receiptName), getAsset(receiptName), getInstant(receiptName), getSecondaryItem(receiptName), getAmountSecondaryItem(receiptName), getDucklingsPercent(receiptName), getBaseItem(receiptName), getGenValue(receiptName))
473481 let grantExp = invoke(getCouponsAddress(), "increaseExp", [toString(i.caller)], nil)
474482 if ((grantExp == grantExp))
475483 then itemMerger(params._9, params._1, params._2, i.payments, params._3, params._4, i.caller, params._5, toBase58String(i.transactionId), params._6, params._7, params._8, params._10)
476484 else throw("Strict value is not equal to itself.")
477485 }
478486
479487
480488
481489 @Callable(i)
482490 func directBuyItemMultiple (itemName,itemAmount) = {
483491 let array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
484492 let basePrice = tryGetCosmeticItemPrice(itemName)
485493 let grow = tryGetInteger(key_growPercentageCosmetic(itemName))
486494 let startTs = tryGetInteger(key_startTsCosmetic(itemName))
487495 let endTs = tryGetInteger(key_endTsCosmetic(itemName))
488496 if (if ((startTs != 0))
489497 then (startTs > lastBlock.timestamp)
490498 else false)
491499 then throw("IDBI: The sale did not start yet!")
492500 else if (if ((endTs != 0))
493501 then (lastBlock.timestamp > endTs)
494502 else false)
495503 then throw("IDBI: The sale has already finished!")
496504 else if (!(tryGetBoolean(key_saleCosmetic(itemName))))
497505 then throw(("IDBI: Item not for sale anymore" + key_saleCosmetic(itemName)))
498506 else {
499507 let maxSalesValue = tryGetInteger(key_maxSalesCosmetic(itemName))
500508 let soldValue = tryGetInteger(key_soldCosmetic(itemName))
501509 if ((itemAmount > size(array)))
502510 then throw(("IDBI: Max amount to issue is " + toString(size(array))))
503511 else {
504512 let price = if ((grow == 0))
505513 then (basePrice * itemAmount)
506514 else throw("IDBI: Items that grow in price can not be bought in batch!")
507515 if (if ((maxSalesValue != 0))
508516 then (soldValue >= maxSalesValue)
509517 else false)
510518 then throw("IDBI: Max editions sold!")
511519 else {
512520 let assetId = if ((tryGetString(key_priceAssetCosmetic(itemName)) == ""))
513521 then getEggAssetId()
514522 else if ((tryGetString(key_priceAssetCosmetic(itemName)) == "WAVES"))
515523 then unit
516524 else fromBase58String(tryGetString(key_priceAssetCosmetic(itemName)))
517525 let validPayment = checkAdditionalPayment(i.payments[0])
518526 let firstPayment = value(i.payments[1])
519527 let amount = firstPayment.amount
520528 if ((firstPayment.assetId != assetId))
521529 then throw("IDBI: You can attach only tokens with the correct payment ")
522530 else if ((amount != price))
523531 then throw(("IDBI: Please attach the exact asset amount" + toString(price)))
524532 else {
525533 let txIdStr = toBase58String(i.transactionId)
526534 let address = i.originCaller
527535 func handleMint (acc,index) = if ((itemAmount > index))
528536 then (acc ++ issueItem(itemName, index, address)._1)
529537 else acc
530538
531539 let issues = {
532540 let $l = array
533541 let $s = size($l)
534542 let $acc0 = nil
535543 func $f0_1 ($a,$i) = if (($i >= $s))
536544 then $a
537545 else handleMint($a, $l[$i])
538546
539547 func $f0_2 ($a,$i) = if (($i >= $s))
540548 then $a
541549 else throw("List size exceeds 30")
542550
543551 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
544552 }
545553 (([IntegerEntry(key_lastPriceCosmetic(itemName), basePrice), IntegerEntry(key_soldCosmetic(itemName), (soldValue + itemAmount)), ScriptTransfer(getFeeAggregator(), amount, assetId)] ++ validPayment) ++ issues)
546554 }
547555 }
548556 }
549557 }
550558 }
551559
552560
553561
554562 @Callable(i)
555563 func directBuyItem (itemName) = {
556564 let basePrice = tryGetCosmeticItemPrice(itemName)
557565 let grow = tryGetInteger(key_growPercentageCosmetic(itemName))
558566 let startTs = tryGetInteger(key_startTsCosmetic(itemName))
559567 let endTs = tryGetInteger(key_endTsCosmetic(itemName))
560568 if (if ((startTs != 0))
561569 then (startTs > lastBlock.timestamp)
562570 else false)
563571 then throw("IDBI: The sale did not start yet!")
564572 else if (if ((endTs != 0))
565573 then (lastBlock.timestamp > endTs)
566574 else false)
567575 then throw("IDBI: The sale has already finished!")
568576 else if (!(tryGetBoolean(key_saleCosmetic(itemName))))
569577 then throw(("IDBI: Item not for sale anymore" + key_saleCosmetic(itemName)))
570578 else {
571579 let maxSalesValue = tryGetInteger(key_maxSalesCosmetic(itemName))
572580 let soldValue = tryGetInteger(key_soldCosmetic(itemName))
573581 let price = if ((grow == 0))
574582 then basePrice
575583 else (basePrice + ((basePrice / 100) * (soldValue * grow)))
576584 if (if ((maxSalesValue != 0))
577585 then (soldValue >= maxSalesValue)
578586 else false)
579587 then throw("IDBI: Max editions sold!")
580588 else {
581589 let assetId = if ((tryGetString(key_priceAssetCosmetic(itemName)) == ""))
582590 then getEggAssetId()
583591 else if ((tryGetString(key_priceAssetCosmetic(itemName)) == "WAVES"))
584592 then unit
585593 else fromBase58String(tryGetString(key_priceAssetCosmetic(itemName)))
586594 let validPayment = checkAdditionalPayment(i.payments[0])
587595 let firstPayment = value(i.payments[1])
588596 let amount = firstPayment.amount
589597 if ((firstPayment.assetId != assetId))
590598 then throw("IDBI: You can attach only tokens with the correct payment ")
591599 else if ((amount != price))
592600 then throw(("IDBI: Please attach the exact asset amount" + toString(price)))
593601 else {
594602 let txIdStr = toBase58String(i.transactionId)
595603 let address = i.originCaller
596604 let artefact = Issue(itemName, ("NFT artefact of Waves Ducks game: " + itemName), 1, 0, false, unit, 0)
597605 let artefactId = calculateAssetId(artefact)
598606 $Tuple2(([artefact, StringEntry((("artefact_" + toBase58String(artefactId)) + "_type"), itemName), IntegerEntry(key_lastPriceCosmetic(itemName), price), IntegerEntry(key_soldCosmetic(itemName), (soldValue + 1)), ScriptTransfer(address, 1, artefactId), ScriptTransfer(getFeeAggregator(), amount, assetId)] ++ validPayment), toBase58String(artefactId))
599607 }
600608 }
601609 }
602610 }
603611
604612
605613
606614 @Callable(i)
607615 func manipulateBoost (boost,duckId) = {
608616 let allowedContracts = getTrustedContracts()
609617 let allowedContractsList = split(allowedContracts, ";")
610618 let dappToCall = toString(i.caller)
611619 if ((indexOf(allowedContractsList, dappToCall) == unit))
612620 then throw("IMB: This smart contract can't manipulate the boost!")
613621 else {
614622 let key = key_externalBoostDuck(duckId)
615623 let activeBoost = tryGetInteger(key)
616624 let newBoost = (activeBoost + boost)
617625 if ((0 > newBoost))
618626 then throw("IMB: Something went wrong with boost, please contact the admins!")
619627 else [IntegerEntry(key, newBoost)]
620628 }
621629 }
622630
623631
624632
625633 @Callable(i)
626634 func manipulateBoostAccount (boost,address) = {
627635 let allowedContracts = getTrustedContracts()
628636 let allowedContractsList = split(allowedContracts, ";")
629637 let dappToCall = toString(i.caller)
630638 if ((indexOf(allowedContractsList, dappToCall) == unit))
631639 then throw("IMBA: This smart contract can't manipulate the boost!")
632640 else {
633641 let key = key_externalBoostAddress(address)
634642 let activeBoost = tryGetInteger(key)
635643 let newBoost = (activeBoost + boost)
636644 if ((0 > newBoost))
637645 then throw("IMBA: Something went wrong with boost, please contact the admins!")
638646 else [IntegerEntry(key, newBoost)]
639647 }
640648 }
641649
642650
643651
644652 @Callable(i)
645653 func checkArtefactDetails (assetId) = {
646654 let asset = value(assetInfo(fromBase58String(assetId)))
647655 let assetName = value(asset.name)
648656 if (if (if (containsElement(allArtefact, assetName))
649657 then true
650658 else isDefined(tryGetCosmeticItemPrice(assetName)))
651659 then (asset.issuer == this)
652660 else false)
653661 then $Tuple2(nil, assetName)
654662 else throw("Invalid artefact")
655663 }
656664
657665
658666
659667 @Callable(i)
660668 func configureOracle (oracle) = if ((i.caller != this))
661669 then throw("IC: admin only")
662670 else [StringEntry(staticKey_oracleAddress(), oracle)]
663671
664672
665673
666674 @Callable(i)
667675 func calculateFarmingPowerBoost (duckId,address) = {
668676 let externalBoostDuck = tryGetInteger(key_externalBoostDuck(duckId))
669677 let externalBoostAddress = tryGetInteger(key_externalBoostAddress(address))
670678 let totalBoost = (externalBoostDuck + externalBoostAddress)
671679 $Tuple2([IntegerEntry((duckId + "_last_boost"), totalBoost)], totalBoost)
672680 }
673681
674682
675683
676684 @Callable(i)
677685 func itemDuplicator () = if ((size(i.payments) != 4))
678686 then throw("IID: Four payments are needed!")
679687 else {
680688 let duplicatorPayment = value(i.payments[0])
681689 let itemPayment = value(i.payments[1])
682690 let eggPayment = value(i.payments[2])
683691 let validPayment = checkAdditionalPayment(i.payments[3])
684692 let duplicatorAssetId = toBase58String(value(duplicatorPayment.assetId))
685693 if ((duplicatorPayment.amount != 1))
686694 then throw("IID: Duplicator NFT is not attached")
687695 else {
688696 let itemAssetId = toBase58String(value(itemPayment.assetId))
689697 if ((itemPayment.amount != 1))
690698 then throw("IID: Item NFT is not attached")
691699 else {
692700 let eggAssetId = value(eggPayment.assetId)
693701 if ((eggAssetId != getEggAssetId()))
694702 then throw("IID: Please attach eggs!")
695703 else if ((getDuplicatorFee() > eggPayment.amount))
696704 then throw(("IID: to duplicate an items you need the following amount of egglets: " + toString(getDuplicatorFee())))
697705 else {
698706 let duplicatorArtefact = asString(invoke(this, "checkArtefactDetails", [duplicatorAssetId], nil))
699707 if ((duplicatorArtefact == duplicatorArtefact))
700708 then if ((duplicatorArtefact != "ART-ITEM_DUPLI"))
701709 then throw("IID: You need to attach a ART-ITEM_DUPLI artefact")
702710 else {
703711 let artefactName = asString(invoke(this, "checkArtefactDetails", [itemAssetId], nil))
704712 if ((artefactName == artefactName))
705713 then {
706714 let artefact = Issue(artefactName, ("NFT artefact of Waves Ducks game: " + artefactName), 1, 0, false, unit, 0)
707715 let artefactId = calculateAssetId(artefact)
708716 $Tuple2(([artefact, StringEntry((("artefact_" + toBase58String(artefactId)) + "_type"), artefactName), Burn(value(duplicatorPayment.assetId), 1), ScriptTransfer(i.originCaller, 1, itemPayment.assetId), ScriptTransfer(i.originCaller, 1, artefactId), ScriptTransfer(getFeeAggregator(), eggPayment.amount, eggPayment.assetId)] ++ validPayment), toBase58String(artefactId))
709717 }
710718 else throw("Strict value is not equal to itself.")
711719 }
712720 else throw("Strict value is not equal to itself.")
713721 }
714722 }
715723 }
716724 }
717725
718726
719727
720728 @Callable(i)
721729 func copyDuck () = {
722730 let firstPayment = value(i.payments[0])
723731 let secondPayment = value(i.payments[1])
724732 let validPayment = checkAdditionalPayment(i.payments[2])
725733 let firstAssetId = toBase58String(value(firstPayment.assetId))
726734 let children = asInt(invoke(getBreederAddress(), "validateAndGetChildren", [firstAssetId], nil))
727735 if ((children == children))
728736 then if (if ((firstPayment.amount != 1))
729737 then true
730738 else (secondPayment.amount != 1))
731739 then throw("NFT is not attached")
732740 else {
733741 let artefact = asString(invoke(this, "checkArtefactDetails", [toBase58String(value(secondPayment.assetId))], nil))
734742 if ((artefact == artefact))
735743 then if ((artefact != "ART-MIRROR"))
736744 then throw("You need to attach a ART-MIRROR artefact")
737745 else {
738746 let nftInfo = value(assetInfo(value(firstPayment.assetId)))
739747 let asset1Gen = split(nftInfo.name, "")
740748 if (if ((asset1Gen[14] == "G"))
741749 then true
742750 else (asset1Gen[14] == "J"))
743751 then throw("You can't mirror this duck")
744752 else {
745753 let duckGen = nftInfo.name
746754 let call = invoke(getBreederAddress(), "createDuckSpecialGenes", [i.caller.bytes, duckGen, children], nil)
747755 if ((call == call))
748756 then ([ScriptTransfer(i.caller, 1, firstPayment.assetId), Burn(value(secondPayment.assetId), 1)] ++ validPayment)
749757 else throw("Strict value is not equal to itself.")
750758 }
751759 }
752760 else throw("Strict value is not equal to itself.")
753761 }
754762 else throw("Strict value is not equal to itself.")
755763 }
756764
757765
758766
759767 @Callable(i)
760768 func addArteFactToDuck () = {
761769 let firstPayment = value(i.payments[0])
762770 let secondPayment = value(i.payments[1])
763771 let validPayment = checkAdditionalPayment(i.payments[2])
764772 let firstAssetId = toBase58String(value(firstPayment.assetId))
765773 if (if ((firstPayment.amount != 1))
766774 then true
767775 else (secondPayment.amount != 1))
768776 then throw("NFT is not attached")
769777 else {
770778 let children = asInt(invoke(getBreederAddress(), "validateAndGetChildren", [firstAssetId], nil))
771779 if ((children == children))
772780 then if ((children == 0))
773781 then throw("You can only pick a sterile NFT-duck")
774782 else {
775783 let artefact = asString(invoke(this, "checkArtefactDetails", [toBase58String(value(secondPayment.assetId))], nil))
776784 if ((artefact == artefact))
777785 then if (if ((artefact != "ART-XHAT"))
778786 then (artefact != "ART-POMP")
779787 else false)
780788 then throw("You need to attach a ART-XHAT or ART-POMP artefact")
781789 else {
782790 let nftInfo = value(assetInfo(value(firstPayment.assetId)))
783791 let asset1Gen = split(nftInfo.name, "")
784792 if (if ((asset1Gen[14] == "G"))
785793 then true
786794 else (asset1Gen[14] == "J"))
787795 then throw("You can't mirror this duck")
788796 else if (if ((asset1Gen[5] == "S"))
789797 then true
790798 else (asset1Gen[5] == "T"))
791799 then throw("you already attached a artefact")
792800 else {
793801 let char = if ((artefact == "ART-XHAT"))
794802 then "T"
795803 else if ((artefact == "ART-POMP"))
796804 then "S"
797805 else throw("No char defined")
798806 let oldDuckGen = nftInfo.name
799807 let oldFarmGen = asString(invoke(getBreederAddress(), "getGenFromName", [oldDuckGen], nil))
800808 if ((oldFarmGen == oldFarmGen))
801809 then {
802810 let duckGen = manipulateName(oldDuckGen, 6, char)
803811 let call = invoke(getBreederAddress(), "createDuckSpecialGenes", [i.caller.bytes, duckGen, children], nil)
804812 if ((call == call))
805813 then {
806814 let callReduce = invoke(getBreederAddress(), "reduceRarity", [firstAssetId, oldFarmGen], nil)
807815 if ((callReduce == callReduce))
808816 then ([Burn(value(firstPayment.assetId), 1), Burn(value(secondPayment.assetId), 1)] ++ validPayment)
809817 else throw("Strict value is not equal to itself.")
810818 }
811819 else throw("Strict value is not equal to itself.")
812820 }
813821 else throw("Strict value is not equal to itself.")
814822 }
815823 }
816824 else throw("Strict value is not equal to itself.")
817825 }
818826 else throw("Strict value is not equal to itself.")
819827 }
820828 }
821829
822830
823831
824832 @Callable(i)
825833 func preInit () = [IntegerEntry("static_ART-LAKE_farmingSlots", 200), IntegerEntry("static_ART-LAKE_farmingBoost", 2), IntegerEntry("static_ART-HOUSE_farmingSlots", 4), IntegerEntry("static_ART-HOUSE_farmingBoost", 30), IntegerEntry("static_ART-BIGHOUSE_farmingSlots", 10), IntegerEntry("static_ART-BIGHOUSE_farmingBoost", 15)]
826834
827835
828836
829837 @Callable(i)
830838 func issueArtefact (type,receiver) = if (if (if (if (if (if (if ((i.caller != this))
831839 then (i.caller != getRebirthAddress())
832840 else false)
833841 then (i.caller != getTurtleRebirthAddress())
834842 else false)
835843 then (i.caller != getCanineRebirthAddress())
836844 else false)
837845 then (i.caller != getHuntDistroAddress())
838846 else false)
839847 then (i.callerPublicKey != getWarsPKey())
840848 else false)
841849 then !(isTestEnv())
842850 else false)
843851 then throw("IIA: admin only")
844852 else if (if (if ((i.caller == getHuntDistroAddress()))
845853 then !(contains(type, "ART-FIRE_"))
846854 else false)
847855 then !(tryGetBoolean((type + "_issue")))
848856 else false)
849857 then throw("FIRE AND WHITELIST ITEM ONLY!")
850858 else {
851859 let address = Address(fromBase58String(receiver))
852860 issueItem(type, 0, address)
853861 }
854862
855863
856864
857865 @Callable(i)
858866 func issueArtefactIndex (type,receiver,nonce) = if (if (if (if (if (if (if ((i.caller != this))
859867 then (i.caller != getRebirthAddress())
860868 else false)
861869 then (i.caller != getTurtleRebirthAddress())
862870 else false)
863871 then (i.caller != getCanineRebirthAddress())
864872 else false)
865873 then (i.caller != getFelineeRebirthAddress())
866874 else false)
867875 then (i.caller != getHuntDistroAddress())
868876 else false)
869877 then (i.callerPublicKey != getWarsPKey())
870878 else false)
871879 then throw("IIAI: admin only")
872880 else if (if (if (if ((i.caller == getHuntDistroAddress()))
873881 then true
874882 else (i.callerPublicKey == getWarsPKey()))
875883 then !(contains(type, "ART-FIRE_"))
876884 else false)
877885 then !(tryGetBoolean((type + "_issue")))
878886 else false)
879887 then throw("FIRE AND WHITELIST ITEM ONLY!")
880888 else {
881889 let address = Address(fromBase58String(receiver))
882890 let issueResult = issueItem(type, nonce, address)
883891 issueResult
884892 }
885893
886894
887895
888896 @Callable(i)
889897 func setLock (n) = if ((i.caller == this))
890898 then [IntegerEntry("global_locked", n)]
891899 else throw("admin only")
892900
893901
894902
895903 @Callable(i)
896904 func addItemToStore (price,item,maxSales,sale,pricesset,growthPercentage,startTs,endTs) = if ((i.caller != addressFromStringValue(tryGetStringExternal(getOracle(), staticKey_pipelineUser()))))
897905 then throw("IAITS: Only for trusted users!")
898906 else [IntegerEntry(key_priceCosmetic(item), price), IntegerEntry(key_maxSalesCosmetic(item), maxSales), BooleanEntry(key_saleCosmetic(item), sale), StringEntry(key_priceAssetCosmetic(item), pricesset), IntegerEntry(key_growPercentageCosmetic(item), growthPercentage), IntegerEntry(key_startTsCosmetic(item), startTs), IntegerEntry(key_endTsCosmetic(item), endTs)]
899907
900908
901909 @Verifier(tx)
902910 func verify () = if (isTestEnv())
903911 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
904912 else {
905913 let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
906914 let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
907915 let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
908916 let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
909917 then 1
910918 else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
911919 then 1
912920 else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
913921 then 1
914922 else 0
915923 let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
916924 then 1
917925 else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
918926 then 1
919927 else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
920928 then 1
921929 else 0
922930 let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
923931 then 1
924932 else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
925933 then 1
926934 else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
927935 then 1
928936 else 0
929937 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
930938 match tx {
931939 case _ =>
932940 (signaturesCount >= 2)
933941 }
934942 }
935943

github/deemru/w8io/026f985 
139.35 ms