tx · AXxMyR4NqVJVnvqhXNB7e5THV7ECZjs8nsfiHVS5VxWo

3MvAe17zXL5nWX1u9z8daaeVkKdQWNLU9nk:  -0.03200000 Waves

2024.10.03 20:12 [3310948] smart account 3MvAe17zXL5nWX1u9z8daaeVkKdQWNLU9nk > SELF 0.00000000 Waves

{ "type": 13, "id": "AXxMyR4NqVJVnvqhXNB7e5THV7ECZjs8nsfiHVS5VxWo", "fee": 3200000, "feeAssetId": null, "timestamp": 1727975620588, "version": 2, "chainId": 84, "sender": "3MvAe17zXL5nWX1u9z8daaeVkKdQWNLU9nk", "senderPublicKey": "8ZT9d4NVh65ENFBmbTnLmp8e4aeLmTS59CwgfsYq1GJx", "proofs": [ "2pMHUXTsVwy9B9xZB6ELreYW7TMVrdUvoFdWy11kpJ125UTEMd3GUgBoU1CZ5U3NkFtJcpaAkggQw1kgHrM9UESH" ], "script": "base64:AAIFAAAAAAAAADgIAhIECgIICBIDCgEIEgQKAggIEgUKAwgIARIDCgEIEgUKAwgEBBIDCgEIEgASAwoBCBIECgIICAAAAD8AAAAABVNjYWxlAAAAAAAF9eEAAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIAAAAHYWRkcmVzcwAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMdHJ5R2V0U3RyaW5nAAAAAQAAAANrZXkJAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIFAAAABHRoaXMFAAAAA2tleQEAAAAHZ2V0Qm9vbAAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgcBAAAACWlzVGVzdE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AAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAACXRoaXJkVXNlcgAAAAAAAAAAAQAAAAAAAAAAAAQAAAAPc2lnbmF0dXJlc0NvdW50CQAAZAAAAAIJAABkAAAAAgUAAAAPZmlyc3RVc2VyU2lnbmVkBQAAABBzZWNvbmRVc2VyU2lnbmVkBQAAAA90aGlyZFVzZXJTaWduZWQEAAAAByRtYXRjaDAFAAAAAnR4CQAAZwAAAAIFAAAAD3NpZ25hdHVyZXNDb3VudAAAAAAAAAAAArYAk40=", "height": 3310948, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BWzyCYvB5YiLg2eMYbDasJNMEyP6PYYThqDmNciEP25e Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let Scale = 100000000
55
66 func tryGetStringExternal (address,key) = match getString(address, key) {
77 case a: String =>
88 a
99 case _ =>
1010 ""
1111 }
1212
1313
1414 func tryGetString (key) = tryGetStringExternal(this, key)
1515
1616
1717 func getBool (key) = match getBoolean(this, key) {
1818 case b: Boolean =>
1919 b
2020 case _ =>
2121 false
2222 }
2323
2424
2525 func isTestEnv () = getBool("TESTENV")
2626
2727
2828 func staticKey_refContractAddress () = "static_refContractAddress"
2929
3030
3131 let keyGlobalLastInterest = "global_lastCheck_interest"
3232
3333 func staticKey_oracleAddress () = "static_oracleAddress"
3434
3535
3636 func staticKey_eggAssetId () = "static_eggAssetId"
3737
3838
3939 func staticKey_incubatorAddress () = "static_incubatorAddress"
4040
4141
4242 func staticKey_breederAddress () = "static_breederAddress"
4343
4444
4545 func staticKey_accBoosterAddress () = "static_accBoosterAddress"
4646
4747
4848 func staticKey_couponsAddress () = "static_couponsAddress"
4949
5050
5151 func staticKey_burnAddress () = "static_burnAddress"
5252
5353
5454 func staticKey_extraFee () = "static_extraFee"
5555
5656
5757 func staticKey_feeAggregator () = "static_feeAggregator"
5858
5959
6060 let keyGlobalEarned = "global_earnings"
6161
6262 func staticKey_perchFee () = "static_perchFee"
6363
6464
6565 func staticKey_rebirthAddress () = "static_rebirthAddress"
6666
6767
6868 func staticKey_turtleRebirthAddress () = "static_turtleRebirthAddress"
6969
7070
7171 func staticKey_itemsAddress () = "static_itemsAddress"
7272
7373
7474 func totalStakedKey () = "total_staked"
7575
7676
7777 func staticKey_proxyStakingContracts () = "static_proxyStakingContracts"
7878
7979
8080 func staticKey_cfMasterAddress () = "static_cfMasterAddress"
8181
8282
8383 func staticKey_potionFee () = "static_potionFee"
8484
8585
8686 func staticKey_canineStakingAddress () = "static_canineStakingAddress"
8787
8888
8989 func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress())))
9090
9191
9292 func getRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_rebirthAddress())))
9393
9494
9595 func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId()))
9696
9797
9898 func getIncubatorAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_incubatorAddress())))
9999
100100
101101 func getBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_breederAddress())))
102102
103103
104104 func getAccBoosterAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_accBoosterAddress())))
105105
106106
107107 func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress())))
108108
109109
110110 func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_burnAddress())))
111111
112112
113113 func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator())))
114114
115115
116116 func getRefContractAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_refContractAddress())))
117117
118118
119119 func getTurtleRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_turtleRebirthAddress())))
120120
121121
122122 func getItemsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_itemsAddress())))
123123
124124
125125 func getProxyStaking () = tryGetStringExternal(getOracle(), staticKey_proxyStakingContracts())
126126
127127
128128 func getCfMasterAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_cfMasterAddress())))
129129
130130
131131 func getPotionFee () = getIntegerValue(getOracle(), staticKey_potionFee())
132132
133133
134134 func getCanineStakingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineStakingAddress())))
135135
136136
137137 func keyLastCheckInterest (address,asset) = (((("address_" + address) + "_asset_") + asset) + "_lastCheckInterest")
138138
139139
140140 func assetFarmingPower (address,asset) = (((("address_" + address) + "_asset_") + asset) + "_farmingPower")
141141
142142
143143 func rewardClaimedKey (address,asset) = (((address + "_asset_") + asset) + "_claimed")
144144
145145
146146 func totalStakedUserKey (address) = ("total_staked_" + address)
147147
148148
149149 let RefererReward = 5
150150
151151 func checkAdditionalPayment (payment) = if (isDefined(payment.assetId))
152152 then throw("FCAP: Please attach waves")
153153 else {
154154 let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee())
155155 if ((payment.amount != feeAmount))
156156 then throw((("FCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets"))
157157 else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)]
158158 }
159159
160160
161161 func tryGetInteger (key) = match getInteger(this, key) {
162162 case b: Int =>
163163 b
164164 case _ =>
165165 0
166166 }
167167
168168
169169 func asInt (value) = match value {
170170 case int: Int =>
171171 int
172172 case _ =>
173173 throw("FAI: wrong type, expected: Int")
174174 }
175175
176176
177177 func asIntTuple (value) = match value {
178178 case int: (Int, Int) =>
179179 int
180180 case _ =>
181181 throw("FAI: wrong type, expected: (Int,Int)")
182182 }
183183
184184
185185 func handleStakingTopUp (amount) = {
186186 let currentInterest = tryGetInteger(keyGlobalLastInterest)
187187 let totalStakedAmount = tryGetInteger(totalStakedKey())
188188 let interestDelta = if ((totalStakedAmount > 0))
189189 then fraction(amount, Scale, totalStakedAmount)
190190 else 0
191191 [IntegerEntry(keyGlobalEarned, (tryGetInteger(keyGlobalEarned) + amount)), IntegerEntry(keyGlobalLastInterest, (currentInterest + interestDelta))]
192192 }
193193
194194
195195 func asString (value) = match value {
196196 case string: String =>
197197 string
198198 case _ =>
199199 throw("FAS: wrong type, expected: String")
200200 }
201201
202202
203203 func tryGetBoolean (key) = match getBoolean(this, key) {
204204 case b: Boolean =>
205205 b
206206 case _ =>
207207 false
208208 }
209209
210210
211211 func tryGetBooleanExternal (address,key) = match getBoolean(address, key) {
212212 case b: Boolean =>
213213 b
214214 case _ =>
215215 false
216216 }
217217
218218
219219 func getAssetOrigin (generation) = if ((generation == "G"))
220220 then getIncubatorAddress()
221221 else getBreederAddress()
222222
223223
224224 func getAssetRarity (genotype,generation) = {
225225 let quantity = valueOrErrorMessage(getInteger(getAssetOrigin(generation), (("stats_" + genotype) + "_quantity")), (("stats_" + genotype) + "_quantity not found"))
226226 let power = pow((10000 / quantity), 4, 5, 1, 2, FLOOR)
227227 if ((power > 0))
228228 then power
229229 else 2
230230 }
231231
232232
233233 func getAssetRarityComplete (isJackpot,assetName) = {
234234 let rarity = if (isJackpot)
235235 then 100
236236 else {
237237 let generation = take(takeRight(assetName, 2), 1)
238238 let farmGen = asString(invoke(getBreederAddress(), "getGenFromName", [assetName], nil))
239239 if ((farmGen == farmGen))
240240 then getAssetRarity(farmGen, generation)
241241 else throw("Strict value is not equal to itself.")
242242 }
243243 rarity
244244 }
245245
246246
247247 func updateFarmingPower (address,asset,originCaller) = {
248248 let totalStaked = tryGetInteger(totalStakedKey())
249249 let totalStakedUser = tryGetInteger(totalStakedUserKey(address))
250250 let currentFP = tryGetInteger(assetFarmingPower(address, asset))
251251 let newFP = asIntTuple(invoke(this, "calculateFarmPower", [asset, originCaller], nil))
252252 if ((currentFP != 0))
253253 then [IntegerEntry(totalStakedKey(), ((totalStaked - currentFP) + newFP._1)), IntegerEntry(totalStakedUserKey(address), ((totalStakedUser - currentFP) + newFP._1)), IntegerEntry(assetFarmingPower(address, asset), newFP._1)]
254254 else nil
255255 }
256256
257257
258258 func claimStakingResult (address,asset,recalc,walletToReceive,bonusCaller) = {
259259 let currentInterest = tryGetInteger(keyGlobalLastInterest)
260260 let lastCheckInterest = tryGetInteger(keyLastCheckInterest(address, asset))
261261 let stakedAmount = tryGetInteger(assetFarmingPower(address, asset))
262262 let fpUpdate = if (recalc)
263263 then updateFarmingPower(address, asset, bonusCaller)
264264 else nil
265265 if ((fpUpdate == fpUpdate))
266266 then {
267267 let reward = if ((lastCheckInterest > 0))
268268 then fraction((currentInterest - lastCheckInterest), stakedAmount, Scale)
269269 else 0
270270 $Tuple2(([ScriptTransfer(addressFromStringValue(walletToReceive), reward, getEggAssetId()), IntegerEntry(keyLastCheckInterest(address, asset), currentInterest), IntegerEntry(rewardClaimedKey(walletToReceive, asset), (tryGetInteger(rewardClaimedKey(walletToReceive, asset)) + reward))] ++ fpUpdate), reward)
271271 }
272272 else throw("Strict value is not equal to itself.")
273273 }
274274
275275
276276 func asBoolean (value) = match value {
277277 case boolean: Boolean =>
278278 boolean
279279 case _ =>
280280 throw("FAB: wrong type, expected: Boolean")
281281 }
282282
283283
284284 func calculatePerchPrice (address) = {
285285 let hasArtefactStaked = tryGetStringExternal(getAccBoosterAddress(), (("ART-XMISTL_" + address) + "_owner"))
286286 let perchPrice = getIntegerValue(getOracle(), staticKey_perchFee())
287287 if ((hasArtefactStaked == ""))
288288 then perchPrice
289289 else ((perchPrice / 10) * 9)
290290 }
291291
292292
293293 func isProxyStakingSc (address) = {
294294 let allowedContracts = getProxyStaking()
295295 let allowedContractsList = split(allowedContracts, ";")
296296 (indexOf(allowedContractsList, address) != unit)
297297 }
298298
299299
300300 @Callable(i)
301301 func calculateFarmPower (assetId,bonusAddress) = if (!(if ((value(assetInfo(fromBase58String(assetId))).issuer == getBreederAddress()))
302302 then true
303303 else (value(assetInfo(fromBase58String(assetId))).issuer == getIncubatorAddress())))
304304 then throw("This does not seem like a valid Duck!")
305305 else {
306306 let assetName = value(assetInfo(fromBase58String(assetId))).name
307307 let gen = takeRight(assetName, 1)
308308 let isJackpot = (takeRight(assetName, 1) == "U")
309309 let rarity = getAssetRarityComplete(isJackpot, assetName)
310310 let genotype = split(dropRight(drop(assetName, 5), 3), "")
311311 func uniqueArrayFilter (accum,nextGen) = if (!(containsElement(accum, nextGen)))
312312 then (accum :+ nextGen)
313313 else accum
314314
315315 let uniqueList = {
316316 let $l = genotype
317317 let $s = size($l)
318318 let $acc0 = nil
319319 func $f0_1 ($a,$i) = if (($i >= $s))
320320 then $a
321321 else uniqueArrayFilter($a, $l[$i])
322322
323323 func $f0_2 ($a,$i) = if (($i >= $s))
324324 then $a
325325 else throw("List size exceeds 8")
326326
327327 $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)
328328 }
329329 let totalGenes = if ((gen == "U"))
330330 then 8
331331 else size(uniqueList)
332332 let power = pow(15, 1, totalGenes, 0, 2, DOWN)
333333 let multiplier = (((height - 3750000) * 100) / (((60 * 24) * 30) * 3))
334334 let basePower = tryGetInteger((assetId + "_basePower"))
335335 let finalPower = if ((basePower > 0))
336336 then basePower
337337 else ((power * multiplier) / 100)
338338 let finalPowerRarity = ((finalPower * rarity) / 100)
339339 let farmBoost = asInt(invoke(getItemsAddress(), "calculateFarmingPowerBoost", [assetId, bonusAddress], nil))
340340 if ((farmBoost == farmBoost))
341341 then {
342342 let finalPowerRarityBoost = (finalPowerRarity + ((finalPowerRarity * farmBoost) / 100))
343343 $Tuple2(nil, $Tuple2(finalPowerRarityBoost, finalPower))
344344 }
345345 else throw("Strict value is not equal to itself.")
346346 }
347347
348348
349349
350350 @Callable(i)
351351 func configureOracle (oracle) = if ((i.caller != this))
352352 then throw("FCO: admin only")
353353 else [StringEntry(staticKey_oracleAddress(), oracle)]
354354
355355
356356
357357 @Callable(i)
358358 func buyPerch (colorI,refererAddress) = {
359359 let validPayment = checkAdditionalPayment(i.payments[0])
360360 if ((validPayment == validPayment))
361361 then {
362362 let color = if ((colorI == "U"))
363363 then "B"
364364 else colorI
365365 if ((0 > value(indexOf(["B", "R", "G", "Y"], color))))
366366 then throw("you need to set color properly")
367367 else {
368368 let exactPrice = calculatePerchPrice(toString(i.caller))
369369 let leftToPay = if ((i.originCaller == i.caller))
370370 then {
371371 let amountPaidByCoupons = asInt(invoke(getCouponsAddress(), "useCoupons", [exactPrice], nil))
372372 if ((amountPaidByCoupons == amountPaidByCoupons))
373373 then (exactPrice - amountPaidByCoupons)
374374 else throw("Strict value is not equal to itself.")
375375 }
376376 else exactPrice
377377 let payment = if ((leftToPay != 0))
378378 then {
379379 let firstPayment = if ((size(i.payments) == 2))
380380 then value(i.payments[1])
381381 else value(i.payments[0])
382382 if ((firstPayment.assetId != getEggAssetId()))
383383 then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId())))
384384 else if ((firstPayment.amount != leftToPay))
385385 then throw(((("FBP: To buy a perch you currently need the following amount of EGGlets: " + toString(leftToPay)) + " ") + toString(i.caller)))
386386 else {
387387 let refererRewardForPerch = fraction(leftToPay, 5, 100)
388388 let refCall = asBoolean(invoke(getRefContractAddress(), "refPayment", [refererAddress], [AttachedPayment(getEggAssetId(), refererRewardForPerch)]))
389389 if ((refCall == refCall))
390390 then {
391391 let toBurn = if (refCall)
392392 then (leftToPay - refererRewardForPerch)
393393 else leftToPay
394394 let burnCall = invoke(getBurnAddress(), "burnAttachedPayments", nil, [AttachedPayment(getEggAssetId(), toBurn)])
395395 if ((burnCall == burnCall))
396396 then leftToPay
397397 else throw("Strict value is not equal to itself.")
398398 }
399399 else throw("Strict value is not equal to itself.")
400400 }
401401 }
402402 else 0
403403 if ((payment == payment))
404404 then {
405405 let perchAmountKey = ((("address_" + toString(i.caller)) + "_perchesAvailable_") + color)
406406 let perchAmount = tryGetInteger(perchAmountKey)
407407 ([IntegerEntry(perchAmountKey, (perchAmount + 1))] ++ validPayment)
408408 }
409409 else throw("Strict value is not equal to itself.")
410410 }
411411 }
412412 else throw("Strict value is not equal to itself.")
413413 }
414414
415415
416416
417417 @Callable(i)
418418 func addFreePerch (address,color,amount) = if ((0 > value(indexOf(["B", "R", "G", "Y"], color))))
419419 then throw("you need to set color properly")
420420 else if (if (if ((i.caller != getRebirthAddress()))
421421 then (i.caller != getTurtleRebirthAddress())
422422 else false)
423423 then (i.caller != this)
424424 else false)
425425 then throw("rebirth and admin only")
426426 else {
427427 let perchAmountKey = ((("address_" + address) + "_perchesAvailable_") + color)
428428 let perchAmount = tryGetInteger(perchAmountKey)
429429 $Tuple2([IntegerEntry(perchAmountKey, (perchAmount + amount))], "")
430430 }
431431
432432
433433
434434 @Callable(i)
435435 func migratePerches (address) = {
436436 let oldFarming = addressFromStringValue(tryGetStringExternal(getOracle(), "static_farmingAddress"))
437437 func tryGetIntegerOldFarming (key) = match getInteger(oldFarming, key) {
438438 case b: Int =>
439439 b
440440 case _ =>
441441 0
442442 }
443443
444444 let perchAmountB = tryGetIntegerOldFarming((("address_" + address) + "_perchesAvailable_B"))
445445 if ((perchAmountB == perchAmountB))
446446 then {
447447 let perchAmountR = tryGetIntegerOldFarming((("address_" + address) + "_perchesAvailable_R"))
448448 if ((perchAmountR == perchAmountR))
449449 then {
450450 let perchAmountG = tryGetIntegerOldFarming((("address_" + address) + "_perchesAvailable_G"))
451451 if ((perchAmountG == perchAmountG))
452452 then {
453453 let perchAmountY = tryGetIntegerOldFarming((("address_" + address) + "_perchesAvailable_Y"))
454454 if ((perchAmountY == perchAmountY))
455455 then {
456456 let perchAmountBInvoke = invoke(this, "addFreePerch", [address, "B", perchAmountB], nil)
457457 if ((perchAmountBInvoke == perchAmountBInvoke))
458458 then {
459459 let perchAmountRInvoke = invoke(this, "addFreePerch", [address, "R", perchAmountR], nil)
460460 if ((perchAmountRInvoke == perchAmountRInvoke))
461461 then {
462462 let perchAmountGInvoke = invoke(this, "addFreePerch", [address, "G", perchAmountG], nil)
463463 if ((perchAmountGInvoke == perchAmountGInvoke))
464464 then {
465465 let perchAmountYInvoke = invoke(this, "addFreePerch", [address, "Y", perchAmountY], nil)
466466 if ((perchAmountYInvoke == perchAmountYInvoke))
467467 then if (if (if (if ((perchAmountB == 0))
468468 then (perchAmountR == 0)
469469 else false)
470470 then (perchAmountG == 0)
471471 else false)
472472 then (perchAmountY == 0)
473473 else false)
474474 then throw("Nothing to migrate")
475475 else {
476476 let invokePerchesDelete = invoke(oldFarming, "removePerches", [address], nil)
477477 if ((invokePerchesDelete == invokePerchesDelete))
478478 then nil
479479 else throw("Strict value is not equal to itself.")
480480 }
481481 else throw("Strict value is not equal to itself.")
482482 }
483483 else throw("Strict value is not equal to itself.")
484484 }
485485 else throw("Strict value is not equal to itself.")
486486 }
487487 else throw("Strict value is not equal to itself.")
488488 }
489489 else throw("Strict value is not equal to itself.")
490490 }
491491 else throw("Strict value is not equal to itself.")
492492 }
493493 else throw("Strict value is not equal to itself.")
494494 }
495495 else throw("Strict value is not equal to itself.")
496496 }
497497
498498
499499
500500 @Callable(i)
501501 func stakeNFT (jColor,usePerchOrigin,stakeWithoutPerch) = if (if (stakeWithoutPerch)
502502 then !(isProxyStakingSc(toString(i.caller)))
503503 else false)
504504 then throw("You can't stake without a perch")
505505 else {
506506 let validPayment = checkAdditionalPayment(i.payments[0])
507507 if ((validPayment == validPayment))
508508 then {
509509 let pmt = value(i.payments[1])
510510 let assetId = value(pmt.assetId)
511511 let assetName = value(value(assetInfo(assetId)).name)
512512 let isJackpot = (takeRight(assetName, 1) == "U")
513513 let address = toString(i.caller)
514514 let perchAddress = if (usePerchOrigin)
515515 then toString(i.originCaller)
516516 else address
517517 let perches = if (stakeWithoutPerch)
518518 then nil
519519 else {
520520 let color = if (isJackpot)
521521 then jColor
522522 else takeRight(assetName, 1)
523523 let availablePerches = tryGetInteger(((("address_" + perchAddress) + "_perchesAvailable_") + color))
524524 if ((0 >= availablePerches))
525525 then throw(("no perches available for the color " + color))
526526 else [IntegerEntry(((("address_" + perchAddress) + "_perchesAvailable_") + color), (availablePerches - 1)), StringEntry((((("address_" + address) + "_asset_") + toBase58String(assetId)) + "_perchColor"), color)]
527527 }
528528 if ((perches == perches))
529529 then if ((pmt.amount != 1))
530530 then throw("NFT is not attached")
531531 else {
532532 let farmingPower = asIntTuple(invoke(this, "calculateFarmPower", [toBase58String(assetId), toString(i.originCaller)], nil))
533533 if ((farmingPower == farmingPower))
534534 then {
535535 let result = claimStakingResult(address, toBase58String(assetId), false, address, toString(i.originCaller))
536536 if ((result == result))
537537 then ((([IntegerEntry(totalStakedKey(), (tryGetInteger(totalStakedKey()) + farmingPower._1)), IntegerEntry(totalStakedUserKey(address), (tryGetInteger(totalStakedUserKey(address)) + farmingPower._1)), StringEntry((toBase58String(assetId) + "_owner"), address), BooleanEntry((toBase58String(assetId) + "_use_origin"), usePerchOrigin), StringEntry((toBase58String(assetId) + "_original_caller"), toString(i.originCaller)), IntegerEntry(assetFarmingPower(address, toBase58String(assetId)), farmingPower._1), IntegerEntry((toBase58String(assetId) + "_basePower"), farmingPower._2), BooleanEntry((toBase58String(assetId) + "_without_perch"), stakeWithoutPerch)] ++ validPayment) ++ perches) ++ result._1)
538538 else throw("Strict value is not equal to itself.")
539539 }
540540 else throw("Strict value is not equal to itself.")
541541 }
542542 else throw("Strict value is not equal to itself.")
543543 }
544544 else throw("Strict value is not equal to itself.")
545545 }
546546
547547
548548
549549 @Callable(i)
550550 func unstakeNFT (asset) = {
551551 let address = toString(i.caller)
552552 if ((tryGetString((asset + "_owner")) != toString(i.caller)))
553553 then throw("You don't own this duck!!")
554554 else {
555555 let result = claimStakingResult(address, asset, false, address, toString(i.originCaller))
556556 if ((result == result))
557557 then {
558558 let validPayment = checkAdditionalPayment(i.payments[0])
559559 if ((validPayment == validPayment))
560560 then {
561561 let color = tryGetString((((("address_" + address) + "_asset_") + asset) + "_perchColor"))
562562 let withoutPerch = tryGetBoolean((asset + "_without_perch"))
563563 let perches = if (withoutPerch)
564564 then nil
565565 else {
566566 let usePerchOrigin = tryGetBoolean((asset + "_use_origin"))
567567 let perchOwner = if (usePerchOrigin)
568568 then toString(i.originCaller)
569569 else address
570570 [IntegerEntry(((("address_" + perchOwner) + "_perchesAvailable_") + color), (tryGetInteger(((("address_" + perchOwner) + "_perchesAvailable_") + color)) + 1))]
571571 }
572572 if ((perches == perches))
573573 then {
574574 let assetFP = tryGetInteger(assetFarmingPower(address, asset))
575575 if ((assetFP == assetFP))
576576 then $Tuple2(((([IntegerEntry(totalStakedKey(), (tryGetInteger(totalStakedKey()) - assetFP)), IntegerEntry(totalStakedUserKey(address), (tryGetInteger(totalStakedUserKey(address)) - assetFP)), DeleteEntry((asset + "_owner")), DeleteEntry(assetFarmingPower(address, asset)), DeleteEntry((((("address_" + address) + "_asset_") + asset) + "_perchColor")), DeleteEntry((asset + "_original_caller")), DeleteEntry((asset + "_use_origin")), DeleteEntry((asset + "_without_perch")), ScriptTransfer(Address(fromBase58String(address)), 1, fromBase58String(asset))] ++ validPayment) ++ perches) ++ result._1), result._2)
577577 else throw("Strict value is not equal to itself.")
578578 }
579579 else throw("Strict value is not equal to itself.")
580580 }
581581 else throw("Strict value is not equal to itself.")
582582 }
583583 else throw("Strict value is not equal to itself.")
584584 }
585585 }
586586
587587
588588
589589 @Callable(i)
590590 func topUpReward () = {
591591 let firstPayment = value(i.payments[0])
592592 if ((firstPayment.assetId != getEggAssetId()))
593593 then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId())))
594594 else {
595595 let resHandleStaking = handleStakingTopUp(firstPayment.amount)
596596 $Tuple2(resHandleStaking, true)
597597 }
598598 }
599599
600600
601601
602602 @Callable(i)
603603 func claimReward (assetId) = {
604604 let validPayment = if ((i.originCaller == getCfMasterAddress()))
605605 then nil
606606 else checkAdditionalPayment(i.payments[0])
607607 if ((validPayment == validPayment))
608608 then if (if ((tryGetString((assetId + "_owner")) != toString(i.caller)))
609609 then (tryGetString((assetId + "_original_caller")) != toString(i.caller))
610610 else false)
611611 then throw((("You don't own this duck (" + assetId) + ")!! "))
612612 else if ((size(i.payments) > 1))
613613 then throw("Please don't add extra payments")
614614 else {
615615 let toReceive = if ((i.originCaller != getCfMasterAddress()))
616616 then toString(i.caller)
617617 else tryGetString((assetId + "_original_caller"))
618618 let owner = if ((i.originCaller != getCfMasterAddress()))
619619 then toString(i.caller)
620620 else tryGetString((assetId + "_owner"))
621621 let origin = if ((i.originCaller != getCfMasterAddress()))
622622 then toString(i.originCaller)
623623 else tryGetString((assetId + "_original_caller"))
624624 let result = claimStakingResult(owner, assetId, true, toReceive, origin)
625625 $Tuple2((validPayment ++ result._1), result._2)
626626 }
627627 else throw("Strict value is not equal to itself.")
628628 }
629629
630630
631631
632632 @Callable(i)
633633 func redeemItem (type,nftAssetId) = {
634634 let wavesPayment = i.payments[0]
635635 if ((wavesPayment == wavesPayment))
636636 then {
637637 let potionPayment = value(i.payments[1])
638638 if ((potionPayment == potionPayment))
639639 then if ((potionPayment.amount != 1))
640640 then throw("You need to attach exactly 1 potion")
641641 else {
642642 let artefact = asString(invoke(getItemsAddress(), "checkArtefactDetails", [toBase58String(value(value(potionPayment).assetId))], nil))
643643 if ((artefact == artefact))
644644 then if ((artefact != "ART-POTION"))
645645 then throw("You need to attach a ART-POTION artefact")
646646 else if ((wavesPayment.assetId != unit))
647647 then throw("You need to attach waves")
648648 else if ((wavesPayment.amount != getPotionFee()))
649649 then throw((("You need to attach exactly " + toString(getPotionFee())) + " waves"))
650650 else {
651651 let sendToAggreGator = (wavesPayment.amount / 2)
652652 let topup = (wavesPayment.amount - sendToAggreGator)
653653 let basePower = tryGetInteger((nftAssetId + "_basePower"))
654654 if ((basePower == 0))
655655 then throw("This is not a valid duck or the duck waves never staked!")
656656 else if ((tryGetString((nftAssetId + "_owner")) != ""))
657657 then throw("Please usntake your duck first!!")
658658 else {
659659 let addMore = invoke(getCanineStakingAddress(), "addWavesAndStakeMore", nil, [AttachedPayment(unit, topup)])
660660 if ((addMore == addMore))
661661 then [ScriptTransfer(getFeeAggregator(), sendToAggreGator, unit), DeleteEntry((nftAssetId + "_basePower"))]
662662 else throw("Strict value is not equal to itself.")
663663 }
664664 }
665665 else throw("Strict value is not equal to itself.")
666666 }
667667 else throw("Strict value is not equal to itself.")
668668 }
669669 else throw("Strict value is not equal to itself.")
670670 }
671671
672672
673673 @Verifier(tx)
674674 func verify () = if (isTestEnv())
675675 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
676676 else {
677677 let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
678678 let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
679679 let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
680680 let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
681681 then 1
682682 else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
683683 then 1
684684 else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
685685 then 1
686686 else 0
687687 let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
688688 then 1
689689 else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
690690 then 1
691691 else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
692692 then 1
693693 else 0
694694 let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
695695 then 1
696696 else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
697697 then 1
698698 else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
699699 then 1
700700 else 0
701701 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
702702 match tx {
703703 case _ =>
704704 (signaturesCount >= 2)
705705 }
706706 }
707707

github/deemru/w8io/026f985 
92.92 ms