tx · 8VSTwYE3Xy1XNg8NxHxPVvzNTbvtBHZ1DchXu6ZXosSg

3Mse8far16V4JMncrLLzxkWpF7tjmaUw8MC:  -0.02700000 Waves

2024.10.03 14:08 [3310592] smart account 3Mse8far16V4JMncrLLzxkWpF7tjmaUw8MC > SELF 0.00000000 Waves

{ "type": 13, "id": "8VSTwYE3Xy1XNg8NxHxPVvzNTbvtBHZ1DchXu6ZXosSg", "fee": 2700000, "feeAssetId": null, "timestamp": 1727953688682, "version": 2, "chainId": 84, "sender": "3Mse8far16V4JMncrLLzxkWpF7tjmaUw8MC", "senderPublicKey": "5xdD1eVya8nCBSvkg6j2Fpz19zopbeD9y2DCh1AxoJS5", "proofs": [ "6dWQBnoEp9pyhWcU1jqK8NkR12WfKncPq4vEJqLTtTeEymYArsTSFfrNurfVsprMqQh79QeEHnXWS4rvNKWYZNX" ], "script": "base64:AAIFAAAAAAAAAC8IAhIECgIICBIDCgEIEgQKAggIEgUKAwgIARIDCgEIEgMKAQgSABIAEgASAwoBCAAAADcAAAAABVNjYWxlAAAAAAAF9eEAAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIAAAAHYWRkcmVzcwAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAMdHJ5R2V0U3RyaW5nAAAAAQAAAANrZXkJAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIFAAAABHRoaXMFAAAAA2tleQEAAAAcc3RhdGljS2V5X3JlZkNvbnRyYWN0QWRkcmVzcwAAAAACAAAAGXN0YXRpY19yZWZDb250cmFjdEFkZHJlc3MAAAAAFWtleUdsb2JhbExhc3RJbnRlcmVzdAIAAAAZZ2xvYmFsX2xhc3RDaGVja19pbnRlcmVzdAEAAAAXc3RhdGljS2V5X29yYWNsZUFk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spentComplexity": 0 } View: original | compacted Prev: 5aoGo4yKNo5yGGAKFxpJRPsTnjavLRqXMDkMjsgqZjbz 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 staticKey_refContractAddress () = "static_refContractAddress"
1818
1919
2020 let keyGlobalLastInterest = "global_lastCheck_interest"
2121
2222 func staticKey_oracleAddress () = "static_oracleAddress"
2323
2424
2525 func staticKey_eggAssetId () = "static_eggAssetId"
2626
2727
2828 func staticKey_felineIncubatorAddress () = "static_felineIncubatorAddress"
2929
3030
3131 func staticKey_felineBreederAddress () = "static_felineBreederAddress"
3232
3333
3434 func staticKey_accBoosterAddress () = "static_accBoosterAddress"
3535
3636
3737 func staticKey_couponsAddress () = "static_couponsAddress"
3838
3939
4040 func staticKey_burnAddress () = "static_burnAddress"
4141
4242
4343 func staticKey_extraFee () = "static_extraFee"
4444
4545
4646 func staticKey_feeAggregator () = "static_feeAggregator"
4747
4848
4949 let keyGlobalEarned = "global_earnings"
5050
5151 func staticKey_perchFee () = "static_felinePerchFee"
5252
5353
5454 func totalStakedKey () = "total_staked"
5555
5656
5757 func staticKey_peteAssetId () = "static_peteAssetId"
5858
5959
6060 func staticKey_peteDapp () = "static_peteDappAddress"
6161
6262
6363 func staticKey_felineRebirthAddress () = "static_felineRebirthAddress"
6464
6565
6666 func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress())))
6767
6868
6969 func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId()))
7070
7171
7272 func getIncubatorAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineIncubatorAddress())))
7373
7474
7575 func getBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineBreederAddress())))
7676
7777
7878 func getAccBoosterAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_accBoosterAddress())))
7979
8080
8181 func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress())))
8282
8383
8484 func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_burnAddress())))
8585
8686
8787 func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator())))
8888
8989
9090 func getRefContractAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_refContractAddress())))
9191
9292
9393 func getPeteAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_peteAssetId()))
9494
9595
9696 func getPeteDappAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_peteDapp())))
9797
9898
9999 func getFelineRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineRebirthAddress())))
100100
101101
102102 func keyLastCheckInterest (address,asset) = (((("address_" + address) + "_asset_") + asset) + "_lastCheckInterest")
103103
104104
105105 func assetFarmingPower (address,asset) = (((("address_" + address) + "_asset_") + asset) + "_farmingPower")
106106
107107
108108 func rewardClaimedKey (address,asset) = (((address + "_asset_") + asset) + "_claimed")
109109
110110
111111 func totalStakedUserKey (address) = ("total_staked_" + address)
112112
113113
114114 let stakeId = tryGetString("last_stake_id")
115115
116116 let RefererReward = 5
117117
118118 func checkAdditionalPayment (payment) = if (isDefined(payment.assetId))
119119 then throw("FCAP: Please attach waves")
120120 else {
121121 let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee())
122122 if ((payment.amount != feeAmount))
123123 then throw((("FCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets"))
124124 else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)]
125125 }
126126
127127
128128 func getBool (key) = match getBoolean(this, key) {
129129 case b: Boolean =>
130130 b
131131 case _ =>
132132 false
133133 }
134134
135135
136136 func isTestEnv () = getBool("TESTENV")
137137
138138
139139 func tryGetInteger (key) = match getInteger(this, key) {
140140 case b: Int =>
141141 b
142142 case _ =>
143143 0
144144 }
145145
146146
147147 func asInt (value) = match value {
148148 case int: Int =>
149149 int
150150 case _ =>
151151 throw("FAI: wrong type, expected: Int")
152152 }
153153
154154
155155 func asIntTuple (value) = match value {
156156 case int: (Int, Int) =>
157157 int
158158 case _ =>
159159 throw("FAI: wrong type, expected: (Int,Int)")
160160 }
161161
162162
163163 func handleStakingTopUp (totalAmount) = {
164164 let team = (totalAmount / 10)
165165 let compoundAmount = ((totalAmount - team) / 2)
166166 let payoutAmount = ((totalAmount - compoundAmount) - team)
167167 let currentInterest = tryGetInteger(keyGlobalLastInterest)
168168 let totalStakedAmount = tryGetInteger(totalStakedKey())
169169 let interestDelta = if ((totalStakedAmount > 0))
170170 then fraction(payoutAmount, Scale, totalStakedAmount)
171171 else 0
172172 let invokeRes = invoke(getPeteDappAddress(), "stake", nil, [AttachedPayment(getPeteAssetId(), compoundAmount)])
173173 if ((invokeRes == invokeRes))
174174 then [IntegerEntry(keyGlobalEarned, (tryGetInteger(keyGlobalEarned) + payoutAmount)), IntegerEntry(keyGlobalLastInterest, (currentInterest + interestDelta)), IntegerEntry("global_PETE_balance", (tryGetInteger("global_PETE_balance") + compoundAmount)), ScriptTransfer(getFeeAggregator(), team, getPeteAssetId())]
175175 else throw("Strict value is not equal to itself.")
176176 }
177177
178178
179179 func asString (value) = match value {
180180 case string: String =>
181181 string
182182 case _ =>
183183 throw("FAS: wrong type, expected: String")
184184 }
185185
186186
187187 func tryGetBoolean (key) = match getBoolean(this, key) {
188188 case b: Boolean =>
189189 b
190190 case _ =>
191191 false
192192 }
193193
194194
195195 func tryGetBooleanExternal (address,key) = match getBoolean(address, key) {
196196 case b: Boolean =>
197197 b
198198 case _ =>
199199 false
200200 }
201201
202202
203203 func getAssetOrigin (generation) = if ((generation == "G"))
204204 then getIncubatorAddress()
205205 else getBreederAddress()
206206
207207
208208 func getAssetRarity (genotype,generation) = {
209209 let quantity = valueOrErrorMessage(getInteger(getAssetOrigin(generation), (("stats_" + genotype) + "_quantity")), (("stats_" + genotype) + "_quantity not found"))
210210 let power = pow((10000 / quantity), 4, 5, 1, 2, FLOOR)
211211 if ((power > 0))
212212 then power
213213 else 2
214214 }
215215
216216
217217 func getAssetRarityComplete (isJackpot,assetName) = {
218218 let rarity = if (isJackpot)
219219 then 100
220220 else {
221221 let generation = take(takeRight(assetName, 2), 1)
222222 let farmGen = asString(invoke(getBreederAddress(), "getGenFromName", [assetName], nil))
223223 if ((farmGen == farmGen))
224224 then getAssetRarity(farmGen, generation)
225225 else throw("Strict value is not equal to itself.")
226226 }
227227 rarity
228228 }
229229
230230
231231 func updateFarmingPower (address,asset) = {
232232 let totalStaked = tryGetInteger(totalStakedKey())
233233 let totalStakedUser = tryGetInteger(totalStakedUserKey(address))
234234 let currentFP = tryGetInteger(assetFarmingPower(address, asset))
235235 let newFP = asIntTuple(invoke(this, "calculateFarmPower", [asset, address], nil))
236236 if ((currentFP != 0))
237237 then [IntegerEntry(totalStakedKey(), ((totalStaked - currentFP) + newFP._1)), IntegerEntry(totalStakedUserKey(address), ((totalStakedUser - currentFP) + newFP._1)), IntegerEntry(assetFarmingPower(address, asset), newFP._1)]
238238 else nil
239239 }
240240
241241
242242 func claimStakingResult (address,asset,recalc) = {
243243 let currentInterest = tryGetInteger(keyGlobalLastInterest)
244244 let lastCheckInterest = tryGetInteger(keyLastCheckInterest(address, asset))
245245 let stakedAmount = tryGetInteger(assetFarmingPower(address, asset))
246246 let fpUpdate = if (recalc)
247247 then updateFarmingPower(address, asset)
248248 else nil
249249 if ((fpUpdate == fpUpdate))
250250 then {
251251 let reward = if ((lastCheckInterest > 0))
252252 then fraction((currentInterest - lastCheckInterest), stakedAmount, Scale)
253253 else 0
254254 $Tuple2(([ScriptTransfer(addressFromStringValue(address), reward, getPeteAssetId()), IntegerEntry(keyLastCheckInterest(address, asset), currentInterest), IntegerEntry(rewardClaimedKey(address, asset), (tryGetInteger(rewardClaimedKey(address, asset)) + reward))] ++ fpUpdate), reward)
255255 }
256256 else throw("Strict value is not equal to itself.")
257257 }
258258
259259
260260 func asBoolean (value) = match value {
261261 case boolean: Boolean =>
262262 boolean
263263 case _ =>
264264 throw("FAB: wrong type, expected: Boolean")
265265 }
266266
267267
268268 func calculatePerchPrice (address) = {
269269 let hasArtefactStaked = tryGetStringExternal(getAccBoosterAddress(), (("ART-XMISTL_" + address) + "_owner"))
270270 let perchPrice = getIntegerValue(getOracle(), staticKey_perchFee())
271271 if ((hasArtefactStaked == ""))
272272 then perchPrice
273273 else ((perchPrice / 10) * 9)
274274 }
275275
276276
277277 @Callable(i)
278278 func calculateFarmPower (assetId,bonusAddress) = if (!(if ((value(assetInfo(fromBase58String(assetId))).issuer == getBreederAddress()))
279279 then true
280280 else (value(assetInfo(fromBase58String(assetId))).issuer == getIncubatorAddress())))
281281 then throw("This does not seem like a valid Duck!")
282282 else {
283283 let assetName = value(assetInfo(fromBase58String(assetId))).name
284284 let gen = takeRight(assetName, 1)
285285 let isJackpot = (takeRight(assetName, 1) == "U")
286286 let rarity = getAssetRarityComplete(isJackpot, assetName)
287287 let genotype = split(dropRight(drop(assetName, 5), 3), "")
288288 func uniqueArrayFilter (accum,nextGen) = if (!(containsElement(accum, nextGen)))
289289 then (accum :+ nextGen)
290290 else accum
291291
292292 let uniqueList = {
293293 let $l = genotype
294294 let $s = size($l)
295295 let $acc0 = nil
296296 func $f0_1 ($a,$i) = if (($i >= $s))
297297 then $a
298298 else uniqueArrayFilter($a, $l[$i])
299299
300300 func $f0_2 ($a,$i) = if (($i >= $s))
301301 then $a
302302 else throw("List size exceeds 8")
303303
304304 $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)
305305 }
306306 let totalGenes = if ((gen == "U"))
307307 then 8
308308 else size(uniqueList)
309309 let power = pow(15, 1, totalGenes, 0, 2, DOWN)
310310 let multiplier = (((height - 3750000) * 100) / (((60 * 24) * 30) * 3))
311311 let basePower = tryGetInteger((assetId + "_basePower"))
312312 let finalPower = if ((basePower > 0))
313313 then basePower
314314 else ((power * multiplier) / 100)
315315 let finalPowerRarity = ((finalPower * rarity) / 100)
316316 let farmBoost = 0
317317 if ((farmBoost == farmBoost))
318318 then {
319319 let finalPowerRarityBoost = (finalPowerRarity + ((finalPowerRarity * farmBoost) / 100))
320320 $Tuple2(nil, $Tuple2(finalPowerRarityBoost, finalPower))
321321 }
322322 else throw("Strict value is not equal to itself.")
323323 }
324324
325325
326326
327327 @Callable(i)
328328 func configureOracle (oracle) = if ((i.caller != this))
329329 then throw("FCO: admin only")
330330 else [StringEntry(staticKey_oracleAddress(), oracle)]
331331
332332
333333
334334 @Callable(i)
335335 func buyPerch (colorI,refererAddress) = {
336336 let validPayment = checkAdditionalPayment(i.payments[0])
337337 if ((validPayment == validPayment))
338338 then {
339339 let color = if ((colorI == "U"))
340340 then "B"
341341 else colorI
342342 if ((0 > value(indexOf(["A", "B", "C", "D"], color))))
343343 then throw("you need to set color properly")
344344 else {
345345 let exactPrice = calculatePerchPrice(toString(i.caller))
346346 let leftToPay = if ((i.originCaller == i.caller))
347347 then {
348348 let amountPaidByCoupons = asInt(invoke(getCouponsAddress(), "useCoupons", [exactPrice], nil))
349349 if ((amountPaidByCoupons == amountPaidByCoupons))
350350 then (exactPrice - amountPaidByCoupons)
351351 else throw("Strict value is not equal to itself.")
352352 }
353353 else exactPrice
354354 let payment = if ((leftToPay != 0))
355355 then {
356356 let firstPayment = if ((size(i.payments) == 2))
357357 then value(i.payments[1])
358358 else value(i.payments[0])
359359 if ((firstPayment.assetId != getEggAssetId()))
360360 then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId())))
361361 else if ((firstPayment.amount != leftToPay))
362362 then throw(((("FBP: To buy a perch you currently need the following amount of EGGlets: " + toString(leftToPay)) + " ") + toString(i.caller)))
363363 else {
364364 let refererRewardForPerch = fraction(leftToPay, 5, 100)
365365 let refCall = asBoolean(invoke(getRefContractAddress(), "refPayment", [refererAddress], [AttachedPayment(getEggAssetId(), refererRewardForPerch)]))
366366 if ((refCall == refCall))
367367 then {
368368 let toBurn = if (refCall)
369369 then (leftToPay - refererRewardForPerch)
370370 else leftToPay
371371 let burnCall = invoke(getBurnAddress(), "burnAttachedPayments", nil, [AttachedPayment(getEggAssetId(), toBurn)])
372372 if ((burnCall == burnCall))
373373 then leftToPay
374374 else throw("Strict value is not equal to itself.")
375375 }
376376 else throw("Strict value is not equal to itself.")
377377 }
378378 }
379379 else 0
380380 if ((payment == payment))
381381 then {
382382 let perchAmountKey = ((("address_" + toString(i.caller)) + "_perchesAvailable_") + color)
383383 let perchAmount = tryGetInteger(perchAmountKey)
384384 ([IntegerEntry(perchAmountKey, (perchAmount + 1))] ++ validPayment)
385385 }
386386 else throw("Strict value is not equal to itself.")
387387 }
388388 }
389389 else throw("Strict value is not equal to itself.")
390390 }
391391
392392
393393
394394 @Callable(i)
395395 func addFreePerch (address,color,amount) = if ((0 > value(indexOf(["A", "B", "C", "D"], color))))
396396 then throw("you need to set color properly")
397397 else if (if ((i.caller != this))
398398 then (i.caller != getFelineRebirthAddress())
399399 else false)
400400 then throw("rebirth and admin only")
401401 else {
402402 let perchAmountKey = ((("address_" + address) + "_perchesAvailable_") + color)
403403 let perchAmount = tryGetInteger(perchAmountKey)
404404 $Tuple2([IntegerEntry(perchAmountKey, (perchAmount + amount))], "")
405405 }
406406
407407
408408
409409 @Callable(i)
410410 func stakeNFT (jColor) = {
411411 let validPayment = checkAdditionalPayment(i.payments[0])
412412 if ((validPayment == validPayment))
413413 then {
414414 let pmt = value(i.payments[1])
415415 let assetId = value(pmt.assetId)
416416 let assetName = value(value(assetInfo(assetId)).name)
417417 let isJackpot = (takeRight(assetName, 1) == "U")
418418 let address = toString(i.caller)
419419 let perchAddress = address
420420 let color = if (isJackpot)
421421 then jColor
422422 else takeRight(assetName, 1)
423423 let perches = {
424424 let availablePerches = tryGetInteger(((("address_" + perchAddress) + "_perchesAvailable_") + color))
425425 if ((0 >= availablePerches))
426426 then throw(("no perches available for the color " + color))
427427 else [IntegerEntry(((("address_" + perchAddress) + "_perchesAvailable_") + color), (availablePerches - 1)), StringEntry((((("address_" + address) + "_asset_") + toBase58String(assetId)) + "_perchColor"), color)]
428428 }
429429 if ((perches == perches))
430430 then if ((pmt.amount != 1))
431431 then throw("NFT is not attached")
432432 else {
433433 let farmingPower = asIntTuple(invoke(this, "calculateFarmPower", [toBase58String(assetId), toString(i.originCaller)], nil))
434434 if ((farmingPower == farmingPower))
435435 then {
436436 let result = claimStakingResult(address, toBase58String(assetId), false)
437437 if ((result == result))
438438 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)
439439 else throw("Strict value is not equal to itself.")
440440 }
441441 else throw("Strict value is not equal to itself.")
442442 }
443443 else throw("Strict value is not equal to itself.")
444444 }
445445 else throw("Strict value is not equal to itself.")
446446 }
447447
448448
449449
450450 @Callable(i)
451451 func unstakeNFT (asset) = {
452452 let address = toString(i.caller)
453453 if ((tryGetString((asset + "_owner")) != toString(i.caller)))
454454 then throw("You don't own this duck!!")
455455 else {
456456 let result = claimStakingResult(address, asset, false)
457457 if ((result == result))
458458 then {
459459 let validPayment = checkAdditionalPayment(i.payments[0])
460460 if ((validPayment == validPayment))
461461 then {
462462 let color = tryGetString((((("address_" + address) + "_asset_") + asset) + "_perchColor"))
463463 let assetFP = tryGetInteger(assetFarmingPower(address, asset))
464464 if ((assetFP == assetFP))
465465 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)
466466 else throw("Strict value is not equal to itself.")
467467 }
468468 else throw("Strict value is not equal to itself.")
469469 }
470470 else throw("Strict value is not equal to itself.")
471471 }
472472 }
473473
474474
475475
476476 @Callable(i)
477477 func topUpReward () = {
478478 let firstPayment = value(i.payments[0])
479479 if ((firstPayment.assetId != getPeteAssetId()))
480480 then throw(("FBP: You can attach only" + toBase58String(getPeteAssetId())))
481481 else {
482482 let resHandleStaking = handleStakingTopUp(firstPayment.amount)
483483 $Tuple2(resHandleStaking, true)
484484 }
485485 }
486486
487487
488488
489489 @Callable(i)
490490 func claimRewardPete () = {
491491 let peteBalanceBefore = assetBalance(this, getPeteAssetId())
492492 if ((peteBalanceBefore == peteBalanceBefore))
493493 then {
494494 let invokeRes = invoke(getPeteDappAddress(), "claim", nil, nil)
495495 if ((invokeRes == invokeRes))
496496 then {
497497 let peteBalanceAfter = assetBalance(this, getPeteAssetId())
498498 if ((peteBalanceAfter == peteBalanceAfter))
499499 then {
500500 let resHandleStaking = (handleStakingTopUp(((peteBalanceAfter - peteBalanceBefore) - 10000000)) ++ [ScriptTransfer(i.caller, 10000000, getPeteAssetId())])
501501 $Tuple2(resHandleStaking, true)
502502 }
503503 else throw("Strict value is not equal to itself.")
504504 }
505505 else throw("Strict value is not equal to itself.")
506506 }
507507 else throw("Strict value is not equal to itself.")
508508 }
509509
510510
511511
512512 @Callable(i)
513513 func addPeteAndStakeMore () = {
514514 let firstPayment = value(i.payments[0])
515515 if ((firstPayment.assetId != getPeteAssetId()))
516516 then throw("FBP: You can attach only Waves")
517517 else {
518518 let invokeRes = invoke(getPeteDappAddress(), "stake", nil, [i.payments[0]])
519519 if ((invokeRes == invokeRes))
520520 then [IntegerEntry("global_PETE_balance", (tryGetInteger("global_PETE_balance") + firstPayment.amount))]
521521 else throw("Strict value is not equal to itself.")
522522 }
523523 }
524524
525525
526526
527527 @Callable(i)
528528 func claimReward (assetId) = {
529529 let validPayment = checkAdditionalPayment(i.payments[0])
530530 if ((validPayment == validPayment))
531531 then if ((tryGetString((assetId + "_owner")) != toString(i.caller)))
532532 then throw((("You don't own this duck (" + assetId) + ")!! "))
533533 else if ((size(i.payments) > 1))
534534 then throw("Please don't add extra payments")
535535 else {
536536 let owner = toString(i.caller)
537537 let result = claimStakingResult(owner, assetId, true)
538538 $Tuple2((validPayment ++ result._1), result._2)
539539 }
540540 else throw("Strict value is not equal to itself.")
541541 }
542542
543543
544544 @Verifier(tx)
545545 func verify () = if (isTestEnv())
546546 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
547547 else {
548548 let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
549549 let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
550550 let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
551551 let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
552552 then 1
553553 else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
554554 then 1
555555 else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
556556 then 1
557557 else 0
558558 let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
559559 then 1
560560 else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
561561 then 1
562562 else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
563563 then 1
564564 else 0
565565 let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
566566 then 1
567567 else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
568568 then 1
569569 else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
570570 then 1
571571 else 0
572572 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
573573 match tx {
574574 case _ =>
575575 (signaturesCount >= 2)
576576 }
577577 }
578578

github/deemru/w8io/026f985 
46.67 ms