tx · HJTv82ngsDQSNaJdGAGZKc1XuHg7Aip4LEU8UgXmY7A9

3N1ZfechNGoBTZyzvCAxGXPKchL4C6438dr:  -0.03300000 Waves

2024.10.09 03:05 [3318549] smart account 3N1ZfechNGoBTZyzvCAxGXPKchL4C6438dr > SELF 0.00000000 Waves

{ "type": 13, "id": "HJTv82ngsDQSNaJdGAGZKc1XuHg7Aip4LEU8UgXmY7A9", "fee": 3300000, "feeAssetId": null, "timestamp": 1728432342687, "version": 2, "chainId": 84, "sender": "3N1ZfechNGoBTZyzvCAxGXPKchL4C6438dr", "senderPublicKey": "9JhgPDL4uV7b9tRjpNxGkGVDsbQ2qkEWfjt64wysYmKQ", "proofs": [ "5hbxL1TALLq42dcZ6xxRXodxRpFBP2SYCeWmgu6EEJtUURk11P4sbN24vpEZ4J48a3Esg6GQWSBykFVqMXYBPAs3" ], "script": "base64:BgJbCAISABIDCgEIEgMKAQgSBAoCCAESAwoBCBIECgIBCBIECgIBCBIDCgEIEgMKAQgSBAoCCAgSABIAEgASABIECgIICBIFCgMICAESAwoBARIKCggBCAEECAEBAU4BF3N0YXRpY0tleV9vcmFjbGVBZGRyZXNzAAIUc3RhdGljX29yYWNsZUFkZHJlc3MBGHN0YXRpY0tleV9icmVlZGVyQWRkcmVzcwACFXN0YXRpY19icmVlZGVyQWRkcmVzcwEUc3RhdGljS2V5X2VnZ0Fzc2V0SWQAAhFzdGF0aWNfZWdnQXNzZXRJZAEac3RhdGljS2V5X3RydXN0ZWRDb250cmFjdHMAAhdzdGF0aWNfdHJ1c3RlZENvbnRyYWN0cwEYc3RhdGljS2V5X3JlYmlydGhBZGRyZXNzAAIVc3RhdGljX3JlYmlydGhBZGRyZXNzAR5zdGF0aWNLZXlfdHVydGxlUmViaXJ0aEFkZHJlc3MAAhtzdGF0aWNfdHVydGxlUmViaXJ0aEFkZHJlc3MBFnN0YXRpY0tleV9waXBlbGluZVVzZXIAAhNzdGF0aWNfcGlwZWxpbmVVc2VyARJzdGF0aWNLZ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0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQpzZWNvbmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQpzZWNvbmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQpzZWNvbmRVc2VyAAEAAAQPdGhpcmRVc2VyU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUJdGhpcmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQl0aGlyZFVzZXIAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFCXRoaXJkVXNlcgABAAAED3NpZ25hdHVyZXNDb3VudAkAZAIJAGQCBQ9maXJzdFVzZXJTaWduZWQFEHNlY29uZFVzZXJTaWduZWQFD3RoaXJkVXNlclNpZ25lZAQHJG1hdGNoMAUCdHgJAGcCBQ9zaWduYXR1cmVzQ291bnQAAvpy5Yo=", "height": 3318549, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 93g2co95sghb5iPLgjv12oq7AVWZFT56zPihGHJxmLpg Next: 95pq4qDFinSDvgFBGzaEJt339Dwy1rime5NQot8QKS2H 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"
1111
1212
1313 func staticKey_trustedContracts () = "static_trustedContracts"
1414
1515
1616 func staticKey_rebirthAddress () = "static_rebirthAddress"
1717
1818
1919 func staticKey_turtleRebirthAddress () = "static_turtleRebirthAddress"
2020
2121
2222 func staticKey_pipelineUser () = "static_pipelineUser"
2323
2424
2525 func staticKey_extraFee () = "static_extraFee"
2626
2727
2828 func staticKey_feeAggregator () = "static_feeAggregator"
2929
3030
3131 func staticKey_huntDistroAddress () = "static_huntDistroAddress"
3232
3333
3434 func staticKey_warsPKey () = "static_warsPKey"
3535
3636
3737 func staticKey_duplicatorFee () = "static_duplicatorFee"
3838
3939
4040 func staticKey_canineRebirthAddress () = "static_canineRebirthAddress"
4141
4242
4343 func staticKey_felineRebirthAddress () = "static_felineRebirthAddress"
4444
4545
4646 func staticKey_babyDuckAddress () = "static_babyDuckAddress"
4747
4848
4949 func staticKey_burnAddress () = "static_burnAddress"
5050
5151
5252 func key_artefactOwner (artefactName,owner) = (((artefactName + "_") + owner) + "_owner")
5353
5454
5555 func key_unstakeHeight (artefactName,artefactId) = (((artefactName + "_") + artefactId) + "_unstake_height")
5656
5757
5858 func key_externalBoostDuck (duckId) = (duckId + "_duck_external_boost")
5959
6060
6161 func key_externalBoostAddress (address) = (address + "_user_external_boost")
6262
6363
6464 func key_priceCosmetic (item) = ("direct_cosmetic_" + item)
6565
6666
6767 func key_maxSalesCosmetic (item) = (("direct_cosmetic_" + item) + "_max_sales")
6868
6969
7070 func key_saleCosmetic (item) = (("direct_cosmetic_" + item) + "_sale")
7171
7272
7373 func key_priceAssetCosmetic (item) = (("direct_cosmetic_" + item) + "_priceAsset")
7474
7575
7676 func key_growPercentageCosmetic (item) = (("direct_cosmetic_" + item) + "_growing_percentage")
7777
7878
7979 func key_soldCosmetic (item) = (("direct_cosmetic_" + item) + "_sold")
8080
8181
8282 func key_lastPriceCosmetic (item) = (("direct_cosmetic_" + item) + "_last_price")
8383
8484
8585 func key_startTsCosmetic (item) = (("direct_cosmetic_" + item) + "_startTs")
8686
8787
8888 func key_endTsCosmetic (item) = (("direct_cosmetic_" + item) + "_endTs")
8989
9090
9191 func key_processFinishHeight (address,txId) = (((address + "_") + toBase58String(txId)) + "_fh")
9292
9393
9494 func staticKey_couponsAddress () = "static_couponsAddress"
9595
9696
9797 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"]
9898
9999 let snow_boosters = ["ART-TINSEL", "ART-FEED10", "ART-GNGR_BREAD", "ART-SNOWBALL", "ART-GIFT_DOUBL"]
100100
101101 let hween_boosters = ["ART-HWRESCUE", "ART-HWERASE", "ART-FEED10", "ART-FEED15", "ART-FEED20", "ART-FEED25", "ART-GIFT_DOUBL"]
102102
103103 let shake_artefact = ["ART-SNW_GLBES", "ART-SKELETON"]
104104
105105 let Generations = ["G", "H", "I", "K", "L", "M", "N", "O"]
106106
107107 func tryGetBoolean (key) = match getBoolean(this, key) {
108108 case b: Boolean =>
109109 b
110110 case _ =>
111111 false
112112 }
113113
114114
115115 func tryGetString (key) = match getString(this, key) {
116116 case a: String =>
117117 a
118118 case _ =>
119119 ""
120120 }
121121
122122
123123 func tryGetInteger (key) = match getInteger(this, key) {
124124 case a: Int =>
125125 a
126126 case _ =>
127127 0
128128 }
129129
130130
131131 func tryGetIntegerExternal (address,key) = match getInteger(address, key) {
132132 case b: Int =>
133133 b
134134 case _ =>
135135 0
136136 }
137137
138138
139139 func getRandomNumber (variants,txId,finishHeight,offset) = {
140140 let randomSeedBlock = value(blockInfoByHeight((finishHeight - 1)))
141141 let randomHash = sha256(((base58'items' + txId) + value(randomSeedBlock.vrf)))
142142 (toInt(randomHash, offset) % variants)
143143 }
144144
145145
146146 func tryGetStringExternal (address,key) = match getString(address, key) {
147147 case a: String =>
148148 a
149149 case _ =>
150150 ""
151151 }
152152
153153
154154 func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress())))
155155
156156
157157 func getBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_breederAddress())))
158158
159159
160160 func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId()))
161161
162162
163163 func getTrustedContracts () = tryGetStringExternal(getOracle(), staticKey_trustedContracts())
164164
165165
166166 func getRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_rebirthAddress())))
167167
168168
169169 func getTurtleRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_turtleRebirthAddress())))
170170
171171
172172 func getCanineRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineRebirthAddress())))
173173
174174
175175 func getFelineeRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineRebirthAddress())))
176176
177177
178178 func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator())))
179179
180180
181181 func getHuntDistroAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_huntDistroAddress())))
182182
183183
184184 func getWarsPKey () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_warsPKey()))
185185
186186
187187 func getDuplicatorFee () = tryGetIntegerExternal(getOracle(), staticKey_duplicatorFee())
188188
189189
190190 func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress())))
191191
192192
193193 func getBabyduckAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_babyDuckAddress())))
194194
195195
196196 func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_burnAddress())))
197197
198198
199199 func tryGetCosmeticItemPrice (item) = {
200200 let key = key_priceCosmetic(item)
201201 match getInteger(this, key) {
202202 case a: Int =>
203203 a
204204 case _ =>
205205 throw((("ITGCIP: " + item) + " is not available in the store!"))
206206 }
207207 }
208208
209209
210210 func asString (value) = match value {
211211 case string: String =>
212212 string
213213 case _ =>
214214 throw("wrong type, expected: String")
215215 }
216216
217217
218218 func asInt (value) = match value {
219219 case int: Int =>
220220 int
221221 case _ =>
222222 throw("wrong type, expected: Int")
223223 }
224224
225225
226226 func manipulateName (assetName,position,char) = ((take(assetName, (position - 1)) + char) + takeRight(assetName, (16 - position)))
227227
228228
229229 func itemIsInCoolDown (artefactName,artefactId) = {
230230 let unstakeHeightLast = tryGetInteger(key_unstakeHeight(artefactName, artefactId))
231231 let cooldownPeriod = 240
232232 if ((height > (unstakeHeightLast + cooldownPeriod)))
233233 then false
234234 else true
235235 }
236236
237237
238238 func isTestEnv () = tryGetBoolean("TESTENV")
239239
240240
241241 func checkAdditionalPayment (payment) = if (isDefined(payment.assetId))
242242 then throw("WCAP: Please attach waves")
243243 else {
244244 let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee())
245245 if ((payment.amount != feeAmount))
246246 then throw((("WCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets"))
247247 else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)]
248248 }
249249
250250
251251 func issueItem (type,nonce,address) = {
252252 let artefact = Issue(type, "NFT artefact of Waves Ducks game.", 1, 0, false, unit, nonce)
253253 let artefactId = calculateAssetId(artefact)
254254 $Tuple2([artefact, StringEntry((("artefact_" + toBase58String(artefactId)) + "_type"), type), ScriptTransfer(address, 1, artefactId)], toBase58String(artefactId))
255255 }
256256
257257
258258 func itemMerger (baseItem,amountBaseItem,endItem,payments,feeAmount,feeAssetId,recipient,instantFinish,txId,secondaryItem,amountSecondaryItem,ducklingsPercent,genValue) = if ((size(payments) != (amountBaseItem + 1)))
259259 then throw((("IID: Please attach " + toString((amountBaseItem + 2))) + " payments!"))
260260 else {
261261 func isBaseItem (accumulated,pay) = if (if ((pay.assetId == unit))
262262 then true
263263 else (pay.assetId == getEggAssetId()))
264264 then $Tuple5(accumulated._1, accumulated._2, accumulated._3, accumulated._4, accumulated._5)
265265 else {
266266 let assetId = value(pay.assetId)
267267 if ((value(assetInfo(value(assetId))).issuer == getBreederAddress()))
268268 then {
269269 let splitted = split(value(assetInfo(value(assetId))).name, "")
270270 let gen = splitted[14]
271271 let genNr = value(indexOf(Generations, gen))
272272 $Tuple5(accumulated._1, accumulated._2, accumulated._3, accumulated._4, (accumulated._5 + genNr))
273273 }
274274 else if ((value(assetInfo(value(assetId))).issuer == getBabyduckAddress()))
275275 then {
276276 let startPercentage = tryGetIntegerExternal(getBabyduckAddress(), (("duckling_" + toBase58String(assetId)) + "_startPercentage"))
277277 let limit = if ((10 > startPercentage))
278278 then 10
279279 else startPercentage
280280 let burnCall = invoke(getBurnAddress(), "burnDuckling", [toString(recipient)], [AttachedPayment(assetId, 1)])
281281 if ((burnCall == burnCall))
282282 then $Tuple5(accumulated._1, accumulated._2, accumulated._3, (accumulated._4 + limit), accumulated._5)
283283 else throw("Strict value is not equal to itself.")
284284 }
285285 else {
286286 let artefact = asString(invoke(this, "checkArtefactDetails", [toBase58String(assetId)], nil))
287287 if ((artefact == artefact))
288288 then if ((artefact == baseItem))
289289 then $Tuple5((accumulated._1 ++ [Burn(assetId, 1)]), (accumulated._2 + 1), accumulated._3, accumulated._4, accumulated._5)
290290 else if ((artefact == secondaryItem))
291291 then $Tuple5((accumulated._1 ++ [Burn(assetId, 1)]), accumulated._2, (accumulated._3 + 1), accumulated._4, accumulated._5)
292292 else $Tuple5(accumulated._1, accumulated._2, accumulated._3, accumulated._4, accumulated._5)
293293 else throw("Strict value is not equal to itself.")
294294 }
295295 }
296296
297297 let totalBaseItem = {
298298 let $l = payments
299299 let $s = size($l)
300300 let $acc0 = $Tuple5(nil, 0, 0, 0, 0)
301301 func $f0_1 ($a,$i) = if (($i >= $s))
302302 then $a
303303 else isBaseItem($a, $l[$i])
304304
305305 func $f0_2 ($a,$i) = if (($i >= $s))
306306 then $a
307307 else throw("List size exceeds 10")
308308
309309 $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)
310310 }
311311 if ((totalBaseItem._2 != amountBaseItem))
312312 then throw(((("IID: Please attach " + toString(amountBaseItem)) + " artefacts of type ") + baseItem))
313313 else if (if ((secondaryItem != ""))
314314 then (totalBaseItem._3 != amountSecondaryItem)
315315 else false)
316316 then throw(((("IID: Please attach " + toString(amountSecondaryItem)) + " artefacts of type ") + secondaryItem))
317317 else if (if ((ducklingsPercent != 0))
318318 then (totalBaseItem._4 != ducklingsPercent)
319319 else false)
320320 then throw(((("IID: Please attach " + toString(ducklingsPercent)) + " growth, you added ") + toString(totalBaseItem._4)))
321321 else if (if ((genValue != 0))
322322 then (totalBaseItem._5 != genValue)
323323 else false)
324324 then throw(((("IID: Please attach " + toString(genValue)) + " gen value, you added ") + toString(totalBaseItem._5)))
325325 else {
326326 let validate = if ((feeAmount != 0))
327327 then {
328328 let feePayment = payments[amountBaseItem]
329329 if ((feePayment.assetId != feeAssetId))
330330 then throw("IID: You miss a payment with the fee!")
331331 else if ((feePayment.amount != feeAmount))
332332 then throw("IID: You did not attach the correct fee amount!")
333333 else [ScriptTransfer(getFeeAggregator(), feeAmount, feePayment.assetId)]
334334 }
335335 else nil
336336 if ((validate == validate))
337337 then {
338338 let artefact = Issue(endItem, ("NFT artefact of Waves Ducks game: " + endItem), 1, 0, false, unit, 0)
339339 let artefactId = calculateAssetId(artefact)
340340 let instant = if (instantFinish)
341341 then issueItem(endItem, 0, recipient)
342342 else $Tuple2(nil, "")
343343 $Tuple2(((([BooleanEntry((("merge_" + txId) + "_instant"), instantFinish), StringEntry((("merge_" + txId) + "_reward"), endItem), BooleanEntry((("merge_" + txId) + "_finished"), instantFinish)] ++ instant._1) ++ totalBaseItem._1) ++ validate), instant._2)
344344 }
345345 else throw("Strict value is not equal to itself.")
346346 }
347347 }
348348
349349
350350 func getBaseItem (baseItem) = getStringValue((("merge_" + baseItem) + "_baseItem"))
351351
352352
353353 func getAmountBaseItem (baseItem) = getIntegerValue((("merge_" + baseItem) + "_amount"))
354354
355355
356356 func getSecondaryItem (baseItem) = tryGetString((("merge_" + baseItem) + "_secondaryItem"))
357357
358358
359359 func getAmountSecondaryItem (baseItem) = tryGetInteger((("merge_" + baseItem) + "_amountSecondaryItem"))
360360
361361
362362 func getGenValue (baseItem) = tryGetInteger((("merge_" + baseItem) + "_genValue"))
363363
364364
365365 func getDucklingsPercent (baseItem) = tryGetInteger((("merge_" + baseItem) + "_ducklingsPercent"))
366366
367367
368368 func getEndItem (baseItem) = getStringValue((("merge_" + baseItem) + "_endItem"))
369369
370370
371371 func getPrice (baseItem) = getIntegerValue((("merge_" + baseItem) + "_price"))
372372
373373
374374 func getInstant (baseItem) = getBooleanValue((("merge_" + baseItem) + "_instant"))
375375
376376
377377 func getAsset (baseItem) = {
378378 let asset = getStringValue((("merge_" + baseItem) + "_asset"))
379379 if ((asset == "WAVES"))
380380 then unit
381381 else fromBase58String(asset)
382382 }
383383
384384
385385 func userExperience (user) = (user + "_experience")
386386
387387
388388 func finishShakeItBabyInternal (initTx,address,payment) = {
389389 let type = getStringValue((((("address_" + address) + "_initTx_") + initTx) + "_type"))
390390 let expStep = if ((type == "ART-SNW_GLBES"))
391391 then 100
392392 else if ((type == "ART-SKELETON"))
393393 then 200
394394 else throw("FSI: Invalid type")
395395 let steps = if ((type == "ART-SNW_GLBES"))
396396 then [1, 2, 3, 4, 5, 6]
397397 else if ((type == "ART-SKELETON"))
398398 then [1, 2, 3, 4, 5, 6, 7]
399399 else throw("FSI: Invalid type")
400400 let maxStep = size(steps)
401401 let rewards = if ((type == "ART-SNW_GLBES"))
402402 then snow_boosters
403403 else if ((type == "ART-SKELETON"))
404404 then hween_boosters
405405 else throw("FSI: Invalid type")
406406 let expUser = tryGetIntegerExternal(getCouponsAddress(), userExperience(address))
407407 let multiplier = min([((expUser / expStep) + 1), maxStep])
408408 let finish = getIntegerValue((((("address_" + address) + "_initTx_") + initTx) + "_finishBlock"))
409409 if ((finish > height))
410410 then throw("Please wait till the shaking is finished!")
411411 else if ((tryGetString((((("address_" + address) + "_initTx_") + initTx) + "_status")) != "open"))
412412 then throw("FSI: Only open status can be finished!")
413413 else {
414414 func handleMint (acc,index) = if ((multiplier >= index))
415415 then {
416416 let randomPosition = getRandomNumber(size(rewards), fromBase58String(initTx), finish, index)
417417 let win = rewards[randomPosition]
418418 ((acc ++ issueItem(win, (index - 1), addressFromStringValue(address))._1) ++ [StringEntry(((((("address_" + address) + "_initTx_") + initTx) + "_win") + toString((index - 1))), win)])
419419 }
420420 else acc
421421
422422 ({
423423 let $l = steps
424424 let $s = size($l)
425425 let $acc0 = nil
426426 func $f0_1 ($a,$i) = if (($i >= $s))
427427 then $a
428428 else handleMint($a, $l[$i])
429429
430430 func $f0_2 ($a,$i) = if (($i >= $s))
431431 then $a
432432 else throw("List size exceeds 7")
433433
434434 $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)
435435 } ++ [StringEntry((((("address_" + address) + "_initTx_") + initTx) + "_status"), "finish")])
436436 }
437437 }
438438
439439
440440 @Callable(i)
441441 func startShakeItBaby () = {
442442 let itemPayment = value(i.payments[0])
443443 let validPayment = checkAdditionalPayment(i.payments[1])
444444 let itemAssetId = toBase58String(value(itemPayment.assetId))
445445 if ((itemPayment.amount != 1))
446446 then throw("IID: Item NFT is not attached")
447447 else {
448448 let globeArtefact = asString(invoke(this, "checkArtefactDetails", [itemAssetId], nil))
449449 if ((globeArtefact == globeArtefact))
450450 then if ((indexOf(shake_artefact, globeArtefact) == unit))
451451 then throw("IID: You need to attach a valid artefact")
452452 else {
453453 let address = toString(i.caller)
454454 let initTx = toBase58String(i.transactionId)
455455 [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)]
456456 }
457457 else throw("Strict value is not equal to itself.")
458458 }
459459 }
460460
461461
462462
463463 @Callable(i)
464464 func finishShakeItBaby (initTx) = finishShakeItBabyInternal(initTx, toString(i.caller), i.payments[0])
465465
466466
467467
468468 @Callable(i)
469469 func instanMergeItem (receiptName) = if ((tryGetString((("merge_" + receiptName) + "_endItem")) == ""))
470470 then throw("IID: Only certain items can be merged!")
471471 else {
472472 let params = $Tuple10(getAmountBaseItem(receiptName), getEndItem(receiptName), getPrice(receiptName), getAsset(receiptName), getInstant(receiptName), getSecondaryItem(receiptName), getAmountSecondaryItem(receiptName), getDucklingsPercent(receiptName), getBaseItem(receiptName), getGenValue(receiptName))
473473 let grantExp = invoke(getCouponsAddress(), "increaseExp", [toString(i.caller)], nil)
474474 if ((grantExp == grantExp))
475475 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)
476476 else throw("Strict value is not equal to itself.")
477477 }
478478
479479
480480
481481 @Callable(i)
482482 func directBuyItemMultiple (itemName,itemAmount) = {
483483 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]
484484 let basePrice = tryGetCosmeticItemPrice(itemName)
485485 let grow = tryGetInteger(key_growPercentageCosmetic(itemName))
486486 let startTs = tryGetInteger(key_startTsCosmetic(itemName))
487487 let endTs = tryGetInteger(key_endTsCosmetic(itemName))
488488 if (if ((startTs != 0))
489489 then (startTs > lastBlock.timestamp)
490490 else false)
491491 then throw("IDBI: The sale did not start yet!")
492492 else if (if ((endTs != 0))
493493 then (lastBlock.timestamp > endTs)
494494 else false)
495495 then throw("IDBI: The sale has already finished!")
496496 else if (!(tryGetBoolean(key_saleCosmetic(itemName))))
497497 then throw(("IDBI: Item not for sale anymore" + key_saleCosmetic(itemName)))
498498 else {
499499 let maxSalesValue = tryGetInteger(key_maxSalesCosmetic(itemName))
500500 let soldValue = tryGetInteger(key_soldCosmetic(itemName))
501501 if ((itemAmount > size(array)))
502502 then throw(("IDBI: Max amount to issue is " + toString(size(array))))
503503 else {
504504 let price = if ((grow == 0))
505505 then (basePrice * itemAmount)
506506 else throw("IDBI: Items that grow in price can not be bought in batch!")
507507 if (if ((maxSalesValue != 0))
508508 then (soldValue >= maxSalesValue)
509509 else false)
510510 then throw("IDBI: Max editions sold!")
511511 else {
512512 let assetId = if ((tryGetString(key_priceAssetCosmetic(itemName)) == ""))
513513 then getEggAssetId()
514514 else if ((tryGetString(key_priceAssetCosmetic(itemName)) == "WAVES"))
515515 then unit
516516 else fromBase58String(tryGetString(key_priceAssetCosmetic(itemName)))
517517 let validPayment = checkAdditionalPayment(i.payments[0])
518518 let firstPayment = value(i.payments[1])
519519 let amount = firstPayment.amount
520520 if ((firstPayment.assetId != assetId))
521521 then throw("IDBI: You can attach only tokens with the correct payment ")
522522 else if ((amount != price))
523523 then throw(("IDBI: Please attach the exact asset amount" + toString(price)))
524524 else {
525525 let txIdStr = toBase58String(i.transactionId)
526526 let address = i.originCaller
527527 func handleMint (acc,index) = if ((itemAmount > index))
528528 then (acc ++ issueItem(itemName, index, address)._1)
529529 else acc
530530
531531 let issues = {
532532 let $l = array
533533 let $s = size($l)
534534 let $acc0 = nil
535535 func $f0_1 ($a,$i) = if (($i >= $s))
536536 then $a
537537 else handleMint($a, $l[$i])
538538
539539 func $f0_2 ($a,$i) = if (($i >= $s))
540540 then $a
541541 else throw("List size exceeds 30")
542542
543543 $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)
544544 }
545545 (([IntegerEntry(key_lastPriceCosmetic(itemName), basePrice), IntegerEntry(key_soldCosmetic(itemName), (soldValue + itemAmount)), ScriptTransfer(getFeeAggregator(), amount, assetId)] ++ validPayment) ++ issues)
546546 }
547547 }
548548 }
549549 }
550550 }
551551
552552
553553
554554 @Callable(i)
555555 func directBuyItem (itemName) = {
556556 let basePrice = tryGetCosmeticItemPrice(itemName)
557557 let grow = tryGetInteger(key_growPercentageCosmetic(itemName))
558558 let startTs = tryGetInteger(key_startTsCosmetic(itemName))
559559 let endTs = tryGetInteger(key_endTsCosmetic(itemName))
560560 if (if ((startTs != 0))
561561 then (startTs > lastBlock.timestamp)
562562 else false)
563563 then throw("IDBI: The sale did not start yet!")
564564 else if (if ((endTs != 0))
565565 then (lastBlock.timestamp > endTs)
566566 else false)
567567 then throw("IDBI: The sale has already finished!")
568568 else if (!(tryGetBoolean(key_saleCosmetic(itemName))))
569569 then throw(("IDBI: Item not for sale anymore" + key_saleCosmetic(itemName)))
570570 else {
571571 let maxSalesValue = tryGetInteger(key_maxSalesCosmetic(itemName))
572572 let soldValue = tryGetInteger(key_soldCosmetic(itemName))
573573 let price = if ((grow == 0))
574574 then basePrice
575575 else (basePrice + ((basePrice / 100) * (soldValue * grow)))
576576 if (if ((maxSalesValue != 0))
577577 then (soldValue >= maxSalesValue)
578578 else false)
579579 then throw("IDBI: Max editions sold!")
580580 else {
581581 let assetId = if ((tryGetString(key_priceAssetCosmetic(itemName)) == ""))
582582 then getEggAssetId()
583583 else if ((tryGetString(key_priceAssetCosmetic(itemName)) == "WAVES"))
584584 then unit
585585 else fromBase58String(tryGetString(key_priceAssetCosmetic(itemName)))
586586 let validPayment = checkAdditionalPayment(i.payments[0])
587587 let firstPayment = value(i.payments[1])
588588 let amount = firstPayment.amount
589589 if ((firstPayment.assetId != assetId))
590590 then throw("IDBI: You can attach only tokens with the correct payment ")
591591 else if ((amount != price))
592592 then throw(("IDBI: Please attach the exact asset amount" + toString(price)))
593593 else {
594594 let txIdStr = toBase58String(i.transactionId)
595595 let address = i.originCaller
596596 let artefact = Issue(itemName, ("NFT artefact of Waves Ducks game: " + itemName), 1, 0, false, unit, 0)
597597 let artefactId = calculateAssetId(artefact)
598598 $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))
599599 }
600600 }
601601 }
602602 }
603603
604604
605605
606606 @Callable(i)
607607 func manipulateBoost (boost,duckId) = {
608608 let allowedContracts = getTrustedContracts()
609609 let allowedContractsList = split(allowedContracts, ";")
610610 let dappToCall = toString(i.caller)
611611 if ((indexOf(allowedContractsList, dappToCall) == unit))
612612 then throw("IMB: This smart contract can't manipulate the boost!")
613613 else {
614614 let key = key_externalBoostDuck(duckId)
615615 let activeBoost = tryGetInteger(key)
616616 let newBoost = (activeBoost + boost)
617617 if ((0 > newBoost))
618618 then throw("IMB: Something went wrong with boost, please contact the admins!")
619619 else [IntegerEntry(key, newBoost)]
620620 }
621621 }
622622
623623
624624
625625 @Callable(i)
626626 func manipulateBoostAccount (boost,address) = {
627627 let allowedContracts = getTrustedContracts()
628628 let allowedContractsList = split(allowedContracts, ";")
629629 let dappToCall = toString(i.caller)
630630 if ((indexOf(allowedContractsList, dappToCall) == unit))
631631 then throw("IMBA: This smart contract can't manipulate the boost!")
632632 else {
633633 let key = key_externalBoostAddress(address)
634634 let activeBoost = tryGetInteger(key)
635635 let newBoost = (activeBoost + boost)
636636 if ((0 > newBoost))
637637 then throw("IMBA: Something went wrong with boost, please contact the admins!")
638638 else [IntegerEntry(key, newBoost)]
639639 }
640640 }
641641
642642
643643
644644 @Callable(i)
645645 func checkArtefactDetails (assetId) = {
646646 let asset = value(assetInfo(fromBase58String(assetId)))
647647 let assetName = value(asset.name)
648648 if (if (if (containsElement(allArtefact, assetName))
649649 then true
650650 else isDefined(tryGetCosmeticItemPrice(assetName)))
651651 then (asset.issuer == this)
652652 else false)
653653 then $Tuple2(nil, assetName)
654654 else throw("Invalid artefact")
655655 }
656656
657657
658658
659659 @Callable(i)
660660 func configureOracle (oracle) = if ((i.caller != this))
661661 then throw("IC: admin only")
662662 else [StringEntry(staticKey_oracleAddress(), oracle)]
663663
664664
665665
666666 @Callable(i)
667667 func calculateFarmingPowerBoost (duckId,address) = {
668668 let externalBoostDuck = tryGetInteger(key_externalBoostDuck(duckId))
669669 let externalBoostAddress = tryGetInteger(key_externalBoostAddress(address))
670670 let totalBoost = (externalBoostDuck + externalBoostAddress)
671671 $Tuple2([IntegerEntry((duckId + "_last_boost"), totalBoost)], totalBoost)
672672 }
673673
674674
675675
676676 @Callable(i)
677677 func itemDuplicator () = if ((size(i.payments) != 4))
678678 then throw("IID: Four payments are needed!")
679679 else {
680680 let duplicatorPayment = value(i.payments[0])
681681 let itemPayment = value(i.payments[1])
682682 let eggPayment = value(i.payments[2])
683683 let validPayment = checkAdditionalPayment(i.payments[3])
684684 let duplicatorAssetId = toBase58String(value(duplicatorPayment.assetId))
685685 if ((duplicatorPayment.amount != 1))
686686 then throw("IID: Duplicator NFT is not attached")
687687 else {
688688 let itemAssetId = toBase58String(value(itemPayment.assetId))
689689 if ((itemPayment.amount != 1))
690690 then throw("IID: Item NFT is not attached")
691691 else {
692692 let eggAssetId = value(eggPayment.assetId)
693693 if ((eggAssetId != getEggAssetId()))
694694 then throw("IID: Please attach eggs!")
695695 else if ((getDuplicatorFee() > eggPayment.amount))
696696 then throw(("IID: to duplicate an items you need the following amount of egglets: " + toString(getDuplicatorFee())))
697697 else {
698698 let duplicatorArtefact = asString(invoke(this, "checkArtefactDetails", [duplicatorAssetId], nil))
699699 if ((duplicatorArtefact == duplicatorArtefact))
700700 then if ((duplicatorArtefact != "ART-ITEM_DUPLI"))
701701 then throw("IID: You need to attach a ART-ITEM_DUPLI artefact")
702702 else {
703703 let artefactName = asString(invoke(this, "checkArtefactDetails", [itemAssetId], nil))
704704 if ((artefactName == artefactName))
705705 then {
706706 let artefact = Issue(artefactName, ("NFT artefact of Waves Ducks game: " + artefactName), 1, 0, false, unit, 0)
707707 let artefactId = calculateAssetId(artefact)
708708 $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))
709709 }
710710 else throw("Strict value is not equal to itself.")
711711 }
712712 else throw("Strict value is not equal to itself.")
713713 }
714714 }
715715 }
716716 }
717717
718718
719719
720720 @Callable(i)
721721 func copyDuck () = {
722722 let firstPayment = value(i.payments[0])
723723 let secondPayment = value(i.payments[1])
724724 let validPayment = checkAdditionalPayment(i.payments[2])
725725 let firstAssetId = toBase58String(value(firstPayment.assetId))
726726 let children = asInt(invoke(getBreederAddress(), "validateAndGetChildren", [firstAssetId], nil))
727727 if ((children == children))
728728 then if (if ((firstPayment.amount != 1))
729729 then true
730730 else (secondPayment.amount != 1))
731731 then throw("NFT is not attached")
732732 else {
733733 let artefact = asString(invoke(this, "checkArtefactDetails", [toBase58String(value(secondPayment.assetId))], nil))
734734 if ((artefact == artefact))
735735 then if ((artefact != "ART-MIRROR"))
736736 then throw("You need to attach a ART-MIRROR artefact")
737737 else {
738738 let nftInfo = value(assetInfo(value(firstPayment.assetId)))
739739 let asset1Gen = split(nftInfo.name, "")
740740 if (if ((asset1Gen[14] == "G"))
741741 then true
742742 else (asset1Gen[14] == "J"))
743743 then throw("You can't mirror this duck")
744744 else {
745745 let duckGen = nftInfo.name
746746 let call = invoke(getBreederAddress(), "createDuckSpecialGenes", [i.caller.bytes, duckGen, children], nil)
747747 if ((call == call))
748748 then ([ScriptTransfer(i.caller, 1, firstPayment.assetId), Burn(value(secondPayment.assetId), 1)] ++ validPayment)
749749 else throw("Strict value is not equal to itself.")
750750 }
751751 }
752752 else throw("Strict value is not equal to itself.")
753753 }
754754 else throw("Strict value is not equal to itself.")
755755 }
756756
757757
758758
759759 @Callable(i)
760760 func addArteFactToDuck () = {
761761 let firstPayment = value(i.payments[0])
762762 let secondPayment = value(i.payments[1])
763763 let validPayment = checkAdditionalPayment(i.payments[2])
764764 let firstAssetId = toBase58String(value(firstPayment.assetId))
765765 if (if ((firstPayment.amount != 1))
766766 then true
767767 else (secondPayment.amount != 1))
768768 then throw("NFT is not attached")
769769 else {
770770 let children = asInt(invoke(getBreederAddress(), "validateAndGetChildren", [firstAssetId], nil))
771771 if ((children == children))
772772 then if ((children == 0))
773773 then throw("You can only pick a sterile NFT-duck")
774774 else {
775775 let artefact = asString(invoke(this, "checkArtefactDetails", [toBase58String(value(secondPayment.assetId))], nil))
776776 if ((artefact == artefact))
777777 then if (if ((artefact != "ART-XHAT"))
778778 then (artefact != "ART-POMP")
779779 else false)
780780 then throw("You need to attach a ART-XHAT or ART-POMP artefact")
781781 else {
782782 let nftInfo = value(assetInfo(value(firstPayment.assetId)))
783783 let asset1Gen = split(nftInfo.name, "")
784784 if (if ((asset1Gen[14] == "G"))
785785 then true
786786 else (asset1Gen[14] == "J"))
787787 then throw("You can't mirror this duck")
788788 else if (if ((asset1Gen[5] == "S"))
789789 then true
790790 else (asset1Gen[5] == "T"))
791791 then throw("you already attached a artefact")
792792 else {
793793 let char = if ((artefact == "ART-XHAT"))
794794 then "T"
795795 else if ((artefact == "ART-POMP"))
796796 then "S"
797797 else throw("No char defined")
798798 let oldDuckGen = nftInfo.name
799799 let oldFarmGen = asString(invoke(getBreederAddress(), "getGenFromName", [oldDuckGen], nil))
800800 if ((oldFarmGen == oldFarmGen))
801801 then {
802802 let duckGen = manipulateName(oldDuckGen, 6, char)
803803 let call = invoke(getBreederAddress(), "createDuckSpecialGenes", [i.caller.bytes, duckGen, children], nil)
804804 if ((call == call))
805805 then {
806806 let callReduce = invoke(getBreederAddress(), "reduceRarity", [firstAssetId, oldFarmGen], nil)
807807 if ((callReduce == callReduce))
808808 then ([Burn(value(firstPayment.assetId), 1), Burn(value(secondPayment.assetId), 1)] ++ validPayment)
809809 else throw("Strict value is not equal to itself.")
810810 }
811811 else throw("Strict value is not equal to itself.")
812812 }
813813 else throw("Strict value is not equal to itself.")
814814 }
815815 }
816816 else throw("Strict value is not equal to itself.")
817817 }
818818 else throw("Strict value is not equal to itself.")
819819 }
820820 }
821821
822822
823823
824824 @Callable(i)
825825 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)]
826826
827827
828828
829829 @Callable(i)
830830 func issueArtefact (type,receiver) = if (if (if (if (if (if ((i.caller != this))
831831 then (i.caller != getRebirthAddress())
832832 else false)
833833 then (i.caller != getTurtleRebirthAddress())
834834 else false)
835835 then (i.caller != getCanineRebirthAddress())
836836 else false)
837837 then (i.caller != getHuntDistroAddress())
838838 else false)
839839 then (i.callerPublicKey != getWarsPKey())
840840 else false)
841841 then throw("IIA: admin only")
842842 else if (if (if (if ((i.caller == getHuntDistroAddress()))
843843 then true
844844 else (i.callerPublicKey == getWarsPKey()))
845845 then !(contains(type, "ART-FIRE_"))
846846 else false)
847847 then !(tryGetBoolean((type + "_issue")))
848848 else false)
849849 then throw("FIRE AND WHITELIST ITEM ONLY!")
850850 else {
851851 let address = Address(fromBase58String(receiver))
852852 issueItem(type, 0, address)
853853 }
854854
855855
856856
857857 @Callable(i)
858858 func issueArtefactIndex (type,receiver,nonce) = if (if (if (if (if (if (if ((i.caller != this))
859859 then (i.caller != getRebirthAddress())
860860 else false)
861861 then (i.caller != getTurtleRebirthAddress())
862862 else false)
863863 then (i.caller != getCanineRebirthAddress())
864864 else false)
865865 then (i.caller != getFelineeRebirthAddress())
866866 else false)
867867 then (i.caller != getHuntDistroAddress())
868868 else false)
869869 then (i.callerPublicKey != getWarsPKey())
870870 else false)
871871 then throw("IIAI: admin only")
872872 else if (if (if (if ((i.caller == getHuntDistroAddress()))
873873 then true
874874 else (i.callerPublicKey == getWarsPKey()))
875875 then !(contains(type, "ART-FIRE_"))
876876 else false)
877877 then !(tryGetBoolean((type + "_issue")))
878878 else false)
879879 then throw("FIRE AND WHITELIST ITEM ONLY!")
880880 else {
881881 let address = Address(fromBase58String(receiver))
882882 let issueResult = issueItem(type, nonce, address)
883883 issueResult
884884 }
885885
886886
887887
888888 @Callable(i)
889889 func setLock (n) = if ((i.caller == this))
890890 then [IntegerEntry("global_locked", n)]
891891 else throw("admin only")
892892
893893
894894
895895 @Callable(i)
896896 func addItemToStore (price,item,maxSales,sale,pricesset,growthPercentage,startTs,endTs) = if ((i.caller != addressFromStringValue(tryGetStringExternal(getOracle(), staticKey_pipelineUser()))))
897897 then throw("IAITS: Only for trusted users!")
898898 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)]
899899
900900
901901 @Verifier(tx)
902902 func verify () = if (isTestEnv())
903903 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
904904 else {
905905 let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
906906 let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
907907 let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
908908 let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
909909 then 1
910910 else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
911911 then 1
912912 else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
913913 then 1
914914 else 0
915915 let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
916916 then 1
917917 else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
918918 then 1
919919 else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
920920 then 1
921921 else 0
922922 let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
923923 then 1
924924 else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
925925 then 1
926926 else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
927927 then 1
928928 else 0
929929 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
930930 match tx {
931931 case _ =>
932932 (signaturesCount >= 2)
933933 }
934934 }
935935

github/deemru/w8io/026f985 
69.22 ms