tx · 2wbHMwUi4pR8CeknPkhk19cJB2ZHW6teLQG8KjfxnJPt

3Mqa6zGAReUUwsty7AzdVc62A8ZGtHMFeoi:  -0.02700000 Waves

2024.12.29 21:49 [3436186] smart account 3Mqa6zGAReUUwsty7AzdVc62A8ZGtHMFeoi > SELF 0.00000000 Waves

{ "type": 13, "id": "2wbHMwUi4pR8CeknPkhk19cJB2ZHW6teLQG8KjfxnJPt", "fee": 2700000, "feeAssetId": null, "timestamp": 1735498157926, "version": 2, "chainId": 84, "sender": "3Mqa6zGAReUUwsty7AzdVc62A8ZGtHMFeoi", "senderPublicKey": "9b2JEUjYeofMVhbJ76R6NmPWyLhEQBazsco3RnaecC2", "proofs": [ "2Kf9jERfNUuNzSZKT5KFzqyMoswghttU5JUEW5DUatJmhG5PbbLUvkyEPnLcHkvJhHALHCaVn2ZTEk5iU2VxEqh8" ], "script": "base64:AAIFAAAAAAAAAC8IAhIECgIICBIDCgEIEgQKAggIEgUKAwgIARIDCgEIEgMKAQgSABIAEgASAwoBCAAAADcAAAAABVNjYWxlAAAAAAAF9eEAAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIAAAAHYWRkcmVzcwAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMdHJ5R2V0U3RyaW5nAAAAAQAAAANrZXkJAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIFAAAABHRoaXMFAAAAA2tleQEAAAAcc3RhdGljS2V5X3JlZkNvbnRyYWN0QWRkcmVzcwAAAAACAAAAGXN0YXRpY19yZWZDb250cmFjdEFkZHJlc3MAAAAAFWtleUdsb2JhbExhc3RJbnRlcmVzdAIAAAAZZ2xvYmFsX2xhc3RDaGVja19pbnRlcmVzdAEAAAAXc3RhdGljS2V5X29yYWNs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 23ND76M1qNVYnpstnwbFCGxyWfgoTgtA297DowXo2EzE Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let Scale = 100000000
5+
6+func tryGetStringExternal (address,key) = match getString(address, key) {
7+ case a: String =>
8+ a
9+ case _ =>
10+ ""
11+}
12+
13+
14+func tryGetString (key) = tryGetStringExternal(this, key)
15+
16+
17+func staticKey_refContractAddress () = "static_refContractAddress"
18+
19+
20+let keyGlobalLastInterest = "global_lastCheck_interest"
21+
22+func staticKey_oracleAddress () = "static_oracleAddress"
23+
24+
25+func staticKey_eggAssetId () = "static_eggAssetId"
26+
27+
28+func staticKey_eaglIncubatorAddress () = "static_eaglIncubatorAddress"
29+
30+
31+func staticKey_eaglBreederAddress () = "static_eaglBreederAddress"
32+
33+
34+func staticKey_accBoosterAddress () = "static_accBoosterAddress"
35+
36+
37+func staticKey_couponsAddress () = "static_couponsAddress"
38+
39+
40+func staticKey_burnAddress () = "static_burnAddress"
41+
42+
43+func staticKey_extraFee () = "static_extraFee"
44+
45+
46+func staticKey_feeAggregator () = "static_feeAggregator"
47+
48+
49+let keyGlobalEarned = "global_earnings"
50+
51+func staticKey_perchFee () = "static_eaglPerchFee"
52+
53+
54+func totalStakedKey () = "total_staked"
55+
56+
57+func staticKey_pzlAssetId () = "static_puzzleAssetId"
58+
59+
60+func staticKey_pzlDapp () = "static_puzzleDappAddress"
61+
62+
63+func staticKey_eaglRebirthAddress () = "static_eaglRebirthAddress"
64+
65+
66+func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress())))
67+
68+
69+func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId()))
70+
71+
72+func getIncubatorAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_eaglIncubatorAddress())))
73+
74+
75+func getBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_eaglBreederAddress())))
76+
77+
78+func getAccBoosterAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_accBoosterAddress())))
79+
80+
81+func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress())))
82+
83+
84+func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_burnAddress())))
85+
86+
87+func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator())))
88+
89+
90+func getRefContractAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_refContractAddress())))
91+
92+
93+func getPzlAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_pzlAssetId()))
94+
95+
96+func getPzlDappAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_pzlDapp())))
97+
98+
99+func getEaglRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_eaglRebirthAddress())))
100+
101+
102+func keyLastCheckInterest (address,asset) = (((("address_" + address) + "_asset_") + asset) + "_lastCheckInterest")
103+
104+
105+func assetFarmingPower (address,asset) = (((("address_" + address) + "_asset_") + asset) + "_farmingPower")
106+
107+
108+func rewardClaimedKey (address,asset) = (((address + "_asset_") + asset) + "_claimed")
109+
110+
111+func totalStakedUserKey (address) = ("total_staked_" + address)
112+
113+
114+let stakeId = tryGetString("last_stake_id")
115+
116+let RefererReward = 5
117+
118+func checkAdditionalPayment (payment) = if (isDefined(payment.assetId))
119+ then throw("FCAP: Please attach waves")
120+ else {
121+ let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee())
122+ if ((payment.amount != feeAmount))
123+ then throw((("FCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets"))
124+ else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)]
125+ }
126+
127+
128+func getBool (key) = match getBoolean(this, key) {
129+ case b: Boolean =>
130+ b
131+ case _ =>
132+ false
133+}
134+
135+
136+func isTestEnv () = getBool("TESTENV")
137+
138+
139+func tryGetInteger (key) = match getInteger(this, key) {
140+ case b: Int =>
141+ b
142+ case _ =>
143+ 0
144+}
145+
146+
147+func asInt (value) = match value {
148+ case int: Int =>
149+ int
150+ case _ =>
151+ throw("FAI: wrong type, expected: Int")
152+}
153+
154+
155+func asIntTuple (value) = match value {
156+ case int: (Int, Int) =>
157+ int
158+ case _ =>
159+ throw("FAI: wrong type, expected: (Int,Int)")
160+}
161+
162+
163+func handleStakingTopUp (totalAmount) = {
164+ let team = (totalAmount / 10)
165+ let compoundAmount = ((totalAmount - team) / 2)
166+ let payoutAmount = ((totalAmount - compoundAmount) - team)
167+ let currentInterest = tryGetInteger(keyGlobalLastInterest)
168+ let totalStakedAmount = tryGetInteger(totalStakedKey())
169+ let interestDelta = if ((totalStakedAmount > 0))
170+ then fraction(payoutAmount, Scale, totalStakedAmount)
171+ else 0
172+ let invokeRes = if (isTestEnv())
173+ then nil
174+ else invoke(getPzlDappAddress(), "stake", nil, [AttachedPayment(getPzlAssetId(), compoundAmount)])
175+ if ((invokeRes == invokeRes))
176+ then [IntegerEntry(keyGlobalEarned, (tryGetInteger(keyGlobalEarned) + payoutAmount)), IntegerEntry(keyGlobalLastInterest, (currentInterest + interestDelta)), IntegerEntry("global_PZL_balance", (tryGetInteger("global_PZL_balance") + compoundAmount)), ScriptTransfer(getFeeAggregator(), team, getPzlAssetId())]
177+ else throw("Strict value is not equal to itself.")
178+ }
179+
180+
181+func asString (value) = match value {
182+ case string: String =>
183+ string
184+ case _ =>
185+ throw("FAS: wrong type, expected: String")
186+}
187+
188+
189+func tryGetBoolean (key) = match getBoolean(this, key) {
190+ case b: Boolean =>
191+ b
192+ case _ =>
193+ false
194+}
195+
196+
197+func tryGetBooleanExternal (address,key) = match getBoolean(address, key) {
198+ case b: Boolean =>
199+ b
200+ case _ =>
201+ false
202+}
203+
204+
205+func getAssetOrigin (generation) = if ((generation == "G"))
206+ then getIncubatorAddress()
207+ else getBreederAddress()
208+
209+
210+func getAssetRarity (genotype,generation) = {
211+ let quantity = valueOrErrorMessage(getInteger(getAssetOrigin(generation), (("stats_" + genotype) + "_quantity")), (("stats_" + genotype) + "_quantity not found"))
212+ let power = pow((10000 / quantity), 4, 5, 1, 2, FLOOR)
213+ if ((power > 0))
214+ then power
215+ else 2
216+ }
217+
218+
219+func getAssetRarityComplete (isJackpot,assetName) = {
220+ let rarity = if (isJackpot)
221+ then 100
222+ else {
223+ let generation = take(takeRight(assetName, 2), 1)
224+ let farmGen = asString(invoke(getBreederAddress(), "getGenFromName", [assetName], nil))
225+ if ((farmGen == farmGen))
226+ then getAssetRarity(farmGen, generation)
227+ else throw("Strict value is not equal to itself.")
228+ }
229+ rarity
230+ }
231+
232+
233+func updateFarmingPower (address,asset) = {
234+ let totalStaked = tryGetInteger(totalStakedKey())
235+ let totalStakedUser = tryGetInteger(totalStakedUserKey(address))
236+ let currentFP = tryGetInteger(assetFarmingPower(address, asset))
237+ let newFP = asIntTuple(invoke(this, "calculateFarmPower", [asset, address], nil))
238+ if ((currentFP != 0))
239+ then [IntegerEntry(totalStakedKey(), ((totalStaked - currentFP) + newFP._1)), IntegerEntry(totalStakedUserKey(address), ((totalStakedUser - currentFP) + newFP._1)), IntegerEntry(assetFarmingPower(address, asset), newFP._1)]
240+ else nil
241+ }
242+
243+
244+func claimStakingResult (address,asset,recalc) = {
245+ let currentInterest = tryGetInteger(keyGlobalLastInterest)
246+ let lastCheckInterest = tryGetInteger(keyLastCheckInterest(address, asset))
247+ let stakedAmount = tryGetInteger(assetFarmingPower(address, asset))
248+ let fpUpdate = if (recalc)
249+ then updateFarmingPower(address, asset)
250+ else nil
251+ if ((fpUpdate == fpUpdate))
252+ then {
253+ let reward = if ((lastCheckInterest > 0))
254+ then fraction((currentInterest - lastCheckInterest), stakedAmount, Scale)
255+ else 0
256+ $Tuple2(([ScriptTransfer(addressFromStringValue(address), reward, getPzlAssetId()), IntegerEntry(keyLastCheckInterest(address, asset), currentInterest), IntegerEntry(rewardClaimedKey(address, asset), (tryGetInteger(rewardClaimedKey(address, asset)) + reward))] ++ fpUpdate), reward)
257+ }
258+ else throw("Strict value is not equal to itself.")
259+ }
260+
261+
262+func asBoolean (value) = match value {
263+ case boolean: Boolean =>
264+ boolean
265+ case _ =>
266+ throw("FAB: wrong type, expected: Boolean")
267+}
268+
269+
270+func calculatePerchPrice (address) = {
271+ let hasArtefactStaked = tryGetStringExternal(getAccBoosterAddress(), (("ART-XMISTL_" + address) + "_owner"))
272+ let perchPrice = getIntegerValue(getOracle(), staticKey_perchFee())
273+ if ((hasArtefactStaked == ""))
274+ then perchPrice
275+ else ((perchPrice / 10) * 9)
276+ }
277+
278+
279+@Callable(i)
280+func calculateFarmPower (assetId,bonusAddress) = if (!(if ((value(assetInfo(fromBase58String(assetId))).issuer == getBreederAddress()))
281+ then true
282+ else (value(assetInfo(fromBase58String(assetId))).issuer == getIncubatorAddress())))
283+ then throw("This does not seem like a valid Duck!")
284+ else {
285+ let assetName = value(assetInfo(fromBase58String(assetId))).name
286+ let gen = takeRight(assetName, 1)
287+ let isJackpot = (takeRight(assetName, 1) == "U")
288+ let rarity = getAssetRarityComplete(isJackpot, assetName)
289+ let genotype = split(dropRight(drop(assetName, 5), 3), "")
290+ func uniqueArrayFilter (accum,nextGen) = if (!(containsElement(accum, nextGen)))
291+ then (accum :+ nextGen)
292+ else accum
293+
294+ let uniqueList = {
295+ let $l = genotype
296+ let $s = size($l)
297+ let $acc0 = nil
298+ func $f0_1 ($a,$i) = if (($i >= $s))
299+ then $a
300+ else uniqueArrayFilter($a, $l[$i])
301+
302+ func $f0_2 ($a,$i) = if (($i >= $s))
303+ then $a
304+ else throw("List size exceeds 8")
305+
306+ $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)
307+ }
308+ let totalGenes = if ((gen == "U"))
309+ then 8
310+ else size(uniqueList)
311+ let power = pow(15, 1, totalGenes, 0, 2, DOWN)
312+ let multiplier = (((height - 3750000) * 100) / (((60 * 24) * 30) * 3))
313+ let basePower = tryGetInteger((assetId + "_basePower"))
314+ let finalPower = if ((basePower > 0))
315+ then basePower
316+ else ((power * multiplier) / 100)
317+ let finalPowerRarity = ((finalPower * rarity) / 100)
318+ let farmBoost = 0
319+ if ((farmBoost == farmBoost))
320+ then {
321+ let finalPowerRarityBoost = (finalPowerRarity + ((finalPowerRarity * farmBoost) / 100))
322+ $Tuple2(nil, $Tuple2(finalPowerRarityBoost, finalPower))
323+ }
324+ else throw("Strict value is not equal to itself.")
325+ }
326+
327+
328+
329+@Callable(i)
330+func configureOracle (oracle) = if ((i.caller != this))
331+ then throw("FCO: admin only")
332+ else [StringEntry(staticKey_oracleAddress(), oracle)]
333+
334+
335+
336+@Callable(i)
337+func buyPerch (colorI,refererAddress) = {
338+ let validPayment = checkAdditionalPayment(i.payments[0])
339+ if ((validPayment == validPayment))
340+ then {
341+ let color = if ((colorI == "U"))
342+ then "B"
343+ else colorI
344+ if ((0 > value(indexOf(["A", "B", "C", "D"], color))))
345+ then throw("you need to set color properly")
346+ else {
347+ let exactPrice = calculatePerchPrice(toString(i.caller))
348+ let leftToPay = if ((i.originCaller == i.caller))
349+ then {
350+ let amountPaidByCoupons = asInt(invoke(getCouponsAddress(), "useCoupons", [exactPrice], nil))
351+ if ((amountPaidByCoupons == amountPaidByCoupons))
352+ then (exactPrice - amountPaidByCoupons)
353+ else throw("Strict value is not equal to itself.")
354+ }
355+ else exactPrice
356+ let payment = if ((leftToPay != 0))
357+ then {
358+ let firstPayment = if ((size(i.payments) == 2))
359+ then value(i.payments[1])
360+ else value(i.payments[0])
361+ if ((firstPayment.assetId != getEggAssetId()))
362+ then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId())))
363+ else if ((firstPayment.amount != leftToPay))
364+ then throw(((("FBP: To buy a perch you currently need the following amount of EGGlets: " + toString(leftToPay)) + " ") + toString(i.caller)))
365+ else {
366+ let refererRewardForPerch = fraction(leftToPay, 5, 100)
367+ let refCall = asBoolean(invoke(getRefContractAddress(), "refPayment", [refererAddress], [AttachedPayment(getEggAssetId(), refererRewardForPerch)]))
368+ if ((refCall == refCall))
369+ then {
370+ let toBurn = if (refCall)
371+ then (leftToPay - refererRewardForPerch)
372+ else leftToPay
373+ let burnCall = invoke(getBurnAddress(), "burnAttachedPayments", nil, [AttachedPayment(getEggAssetId(), toBurn)])
374+ if ((burnCall == burnCall))
375+ then leftToPay
376+ else throw("Strict value is not equal to itself.")
377+ }
378+ else throw("Strict value is not equal to itself.")
379+ }
380+ }
381+ else 0
382+ if ((payment == payment))
383+ then {
384+ let perchAmountKey = ((("address_" + toString(i.caller)) + "_perchesAvailable_") + color)
385+ let perchAmount = tryGetInteger(perchAmountKey)
386+ ([IntegerEntry(perchAmountKey, (perchAmount + 1))] ++ validPayment)
387+ }
388+ else throw("Strict value is not equal to itself.")
389+ }
390+ }
391+ else throw("Strict value is not equal to itself.")
392+ }
393+
394+
395+
396+@Callable(i)
397+func addFreePerch (address,color,amount) = if ((0 > value(indexOf(["A", "B", "C", "D"], color))))
398+ then throw("you need to set color properly")
399+ else if (if ((i.caller != this))
400+ then (i.caller != getEaglRebirthAddress())
401+ else false)
402+ then throw("rebirth and admin only")
403+ else {
404+ let perchAmountKey = ((("address_" + address) + "_perchesAvailable_") + color)
405+ let perchAmount = tryGetInteger(perchAmountKey)
406+ $Tuple2([IntegerEntry(perchAmountKey, (perchAmount + amount))], "")
407+ }
408+
409+
410+
411+@Callable(i)
412+func stakeNFT (jColor) = {
413+ let validPayment = checkAdditionalPayment(i.payments[0])
414+ if ((validPayment == validPayment))
415+ then {
416+ let pmt = value(i.payments[1])
417+ let assetId = value(pmt.assetId)
418+ let assetName = value(value(assetInfo(assetId)).name)
419+ let isJackpot = (takeRight(assetName, 1) == "U")
420+ let address = toString(i.caller)
421+ let perchAddress = address
422+ let color = if (isJackpot)
423+ then jColor
424+ else takeRight(assetName, 1)
425+ let perches = {
426+ let availablePerches = tryGetInteger(((("address_" + perchAddress) + "_perchesAvailable_") + color))
427+ if ((0 >= availablePerches))
428+ then throw(("no perches available for the color " + color))
429+ else [IntegerEntry(((("address_" + perchAddress) + "_perchesAvailable_") + color), (availablePerches - 1)), StringEntry((((("address_" + address) + "_asset_") + toBase58String(assetId)) + "_perchColor"), color)]
430+ }
431+ if ((perches == perches))
432+ then if ((pmt.amount != 1))
433+ then throw("NFT is not attached")
434+ else {
435+ let farmingPower = asIntTuple(invoke(this, "calculateFarmPower", [toBase58String(assetId), toString(i.originCaller)], nil))
436+ if ((farmingPower == farmingPower))
437+ then {
438+ let result = claimStakingResult(address, toBase58String(assetId), false)
439+ if ((result == result))
440+ then ((([IntegerEntry(totalStakedKey(), (tryGetInteger(totalStakedKey()) + farmingPower._1)), IntegerEntry(totalStakedUserKey(address), (tryGetInteger(totalStakedUserKey(address)) + farmingPower._1)), StringEntry((toBase58String(assetId) + "_owner"), address), StringEntry((toBase58String(assetId) + "_original_caller"), toString(i.originCaller)), IntegerEntry(assetFarmingPower(address, toBase58String(assetId)), farmingPower._1), IntegerEntry((toBase58String(assetId) + "_basePower"), farmingPower._2)] ++ validPayment) ++ perches) ++ result._1)
441+ else throw("Strict value is not equal to itself.")
442+ }
443+ else throw("Strict value is not equal to itself.")
444+ }
445+ else throw("Strict value is not equal to itself.")
446+ }
447+ else throw("Strict value is not equal to itself.")
448+ }
449+
450+
451+
452+@Callable(i)
453+func unstakeNFT (asset) = {
454+ let address = toString(i.caller)
455+ if ((tryGetString((asset + "_owner")) != toString(i.caller)))
456+ then throw("You don't own this duck!!")
457+ else {
458+ let result = claimStakingResult(address, asset, false)
459+ if ((result == result))
460+ then {
461+ let validPayment = checkAdditionalPayment(i.payments[0])
462+ if ((validPayment == validPayment))
463+ then {
464+ let color = tryGetString((((("address_" + address) + "_asset_") + asset) + "_perchColor"))
465+ let assetFP = tryGetInteger(assetFarmingPower(address, asset))
466+ if ((assetFP == assetFP))
467+ 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)), IntegerEntry(((("address_" + address) + "_perchesAvailable_") + color), (tryGetInteger(((("address_" + address) + "_perchesAvailable_") + color)) + 1))] ++ validPayment) ++ result._1), result._2)
468+ else throw("Strict value is not equal to itself.")
469+ }
470+ else throw("Strict value is not equal to itself.")
471+ }
472+ else throw("Strict value is not equal to itself.")
473+ }
474+ }
475+
476+
477+
478+@Callable(i)
479+func topUpReward () = {
480+ let firstPayment = value(i.payments[0])
481+ if ((firstPayment.assetId != getPzlAssetId()))
482+ then throw(("FBP: You can attach only" + toBase58String(getPzlAssetId())))
483+ else {
484+ let resHandleStaking = handleStakingTopUp(firstPayment.amount)
485+ $Tuple2(resHandleStaking, true)
486+ }
487+ }
488+
489+
490+
491+@Callable(i)
492+func claimRewardPete () = {
493+ let peteBalanceBefore = assetBalance(this, getPzlAssetId())
494+ if ((peteBalanceBefore == peteBalanceBefore))
495+ then {
496+ let invokeRes = if (isTestEnv())
497+ then nil
498+ else invoke(getPzlDappAddress(), "claim", nil, nil)
499+ if ((invokeRes == invokeRes))
500+ then {
501+ let peteBalanceAfter = assetBalance(this, getPzlAssetId())
502+ if ((peteBalanceAfter == peteBalanceAfter))
503+ then {
504+ let resHandleStaking = handleStakingTopUp(((peteBalanceAfter - peteBalanceBefore) - 10000000))
505+ $Tuple2(resHandleStaking, true)
506+ }
507+ else throw("Strict value is not equal to itself.")
508+ }
509+ else throw("Strict value is not equal to itself.")
510+ }
511+ else throw("Strict value is not equal to itself.")
512+ }
513+
514+
515+
516+@Callable(i)
517+func addPuzzleAndStakeMore () = {
518+ let firstPayment = value(i.payments[0])
519+ if ((firstPayment.assetId != getPzlAssetId()))
520+ then throw("FBP: You can attach only Waves")
521+ else {
522+ let invokeRes = if (isTestEnv())
523+ then nil
524+ else invoke(getPzlDappAddress(), "stake", nil, [i.payments[0]])
525+ if ((invokeRes == invokeRes))
526+ then [IntegerEntry("global_PZL_balance", (tryGetInteger("global_PZL_balance") + firstPayment.amount))]
527+ else throw("Strict value is not equal to itself.")
528+ }
529+ }
530+
531+
532+
533+@Callable(i)
534+func claimReward (assetId) = {
535+ let validPayment = checkAdditionalPayment(i.payments[0])
536+ if ((validPayment == validPayment))
537+ then if ((tryGetString((assetId + "_owner")) != toString(i.caller)))
538+ then throw((("You don't own this duck (" + assetId) + ")!! "))
539+ else if ((size(i.payments) > 1))
540+ then throw("Please don't add extra payments")
541+ else {
542+ let owner = toString(i.caller)
543+ let result = claimStakingResult(owner, assetId, true)
544+ $Tuple2((validPayment ++ result._1), result._2)
545+ }
546+ else throw("Strict value is not equal to itself.")
547+ }
548+
549+
550+@Verifier(tx)
551+func verify () = if (isTestEnv())
552+ then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
553+ else {
554+ let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
555+ let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
556+ let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
557+ let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
558+ then 1
559+ else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
560+ then 1
561+ else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
562+ then 1
563+ else 0
564+ let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
565+ then 1
566+ else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
567+ then 1
568+ else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
569+ then 1
570+ else 0
571+ let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
572+ then 1
573+ else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
574+ then 1
575+ else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
576+ then 1
577+ else 0
578+ let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
579+ match tx {
580+ case _ =>
581+ (signaturesCount >= 1)
582+ }
583+ }
584+

github/deemru/w8io/169f3d6 
33.69 ms