tx · GymeRQtwEjwQR7oRC7trmsfvZXxoXxeMupuTDKCFcbuW

3Mrj66WrZRC5TYVqoGS8WXGNN9ib23GMUEh:  -0.02100000 Waves

2024.10.03 14:06 [3310591] smart account 3Mrj66WrZRC5TYVqoGS8WXGNN9ib23GMUEh > SELF 0.00000000 Waves

{ "type": 13, "id": "GymeRQtwEjwQR7oRC7trmsfvZXxoXxeMupuTDKCFcbuW", "fee": 2100000, "feeAssetId": null, "timestamp": 1727953678855, "version": 2, "chainId": 84, "sender": "3Mrj66WrZRC5TYVqoGS8WXGNN9ib23GMUEh", "senderPublicKey": "HtAuuH8fNTR1JCCJQQz1CsvFkGChAXrRT48xCPAYBfRY", "proofs": [ "4E2GjRUV4ppnX8Uq8quGe6q2ayvNLToWk1apSDHSBnsap7V1wYTGTRHa8aimiUvPgVDsgPF5XPqpGeAWhAjxwXgK" ], "script": "base64:AAIFAAAAAAAAACEIAhIDCgEIEgMKAQgSBAoCCAgSAwoBCBIDCgEBEgMKAQgAAAAyAQAAAAdnZXRCb29sAAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQbAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAdCb29sZWFuBAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiBwEAAAAJaXNUZXN0RW52AAAAAAkBAAAAB2dldEJvb2wAAAABAgAAAAdURVNURU5WAAAAAAVTY2FsZQAAAAAABfXhAAEAAAAUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwAAAACAAAAB2FkZHJlc3MAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAABAAAADHRyeUdldFN0cmluZwAAAAEAAAADa2V5CQEAAAAUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwAAAACBQA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J0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACnNlY29uZFVzZXIAAAAAAAAAAAEDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAKc2Vjb25kVXNlcgAAAAAAAAAAAQMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAApzZWNvbmRVc2VyAAAAAAAAAAABAAAAAAAAAAAABAAAAA90aGlyZFVzZXJTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAJdGhpcmRVc2VyAAAAAAAAAAABAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACXRoaXJkVXNlcgAAAAAAAAAAAQMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAl0aGlyZFVzZXIAAAAAAAAAAAEAAAAAAAAAAAAEAAAAD3NpZ25hdHVyZXNDb3VudAkAAGQAAAACCQAAZAAAAAIFAAAAD2ZpcnN0VXNlclNpZ25lZAUAAAAQc2Vjb25kVXNlclNpZ25lZAUAAAAPdGhpcmRVc2VyU2lnbmVkBAAAAAckbWF0Y2gwBQAAAAJ0eAkAAGcAAAACBQAAAA9zaWduYXR1cmVzQ291bnQAAAAAAAAAAAJgf3xC", "height": 3310591, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DFf5UtP5FxE6BKATqTYMzcbRLRvv8HUmJppNQLZrecX8 Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getBool (key) = match getBoolean(this, key) {
55 case b: Boolean =>
66 b
77 case _ =>
88 false
99 }
1010
1111
1212 func isTestEnv () = getBool("TESTENV")
1313
1414
1515 let Scale = 100000000
1616
1717 func tryGetStringExternal (address,key) = match getString(address, key) {
1818 case a: String =>
1919 a
2020 case _ =>
2121 ""
2222 }
2323
2424
2525 func tryGetString (key) = tryGetStringExternal(this, key)
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_duckWrapper () = "static_duckWrapper"
4949
5050
5151 func staticKey_couponsAddress () = "static_couponsAddress"
5252
5353
5454 func staticKey_burnAddress () = "static_burnAddress"
5555
5656
5757 func staticKey_extraFee () = "static_extraFee"
5858
5959
6060 func staticKey_feeAggregator () = "static_feeAggregator"
6161
6262
6363 let keyGlobalEarned = "global_earnings"
6464
6565 func staticKey_veggPerchFee () = "static_veggPerchFee"
6666
6767
6868 func totalStakedKey () = "total_staked"
6969
7070
7171 func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress())))
7272
7373
7474 func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId()))
7575
7676
7777 func getIncubatorAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_incubatorAddress())))
7878
7979
8080 func getBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_breederAddress())))
8181
8282
8383 func getAccBoosterAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_accBoosterAddress())))
8484
8585
8686 func getDuckWrapperSc () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_duckWrapper())))
8787
8888
8989 func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress())))
9090
9191
9292 func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_burnAddress())))
9393
9494
9595 func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator())))
9696
9797
9898 func getRefContractAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_refContractAddress())))
9999
100100
101101 func keyLastCheckInterest (address,asset) = (((("address_" + address) + "_asset_") + asset) + "_lastCheckInterest")
102102
103103
104104 func assetFarmingPower (address,asset) = (((("address_" + address) + "_asset_") + asset) + "_farmingPower")
105105
106106
107107 func rewardClaimedKey (address,asset) = (((address + "_asset_") + asset) + "_claimed")
108108
109109
110110 func totalStakedUserKey (address) = ("total_staked_" + address)
111111
112112
113113 let RefererReward = 5
114114
115115 func checkAdditionalPayment (payment) = if (isDefined(payment.assetId))
116116 then throw("FCAP: Please attach waves")
117117 else {
118118 let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee())
119119 if ((payment.amount != feeAmount))
120120 then throw((("FCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets"))
121121 else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)]
122122 }
123123
124124
125125 func tryGetInteger (key) = match getInteger(this, key) {
126126 case b: Int =>
127127 b
128128 case _ =>
129129 0
130130 }
131131
132132
133133 func asInt (value) = match value {
134134 case int: Int =>
135135 int
136136 case _ =>
137137 throw("FAI: wrong type, expected: Int")
138138 }
139139
140140
141141 func asIntTuple (value) = match value {
142142 case int: (Int, Int) =>
143143 int
144144 case _ =>
145145 throw("FAI: wrong type, expected: (Int,Int)")
146146 }
147147
148148
149149 func handleStakingTopUp (amount) = {
150150 let currentInterest = tryGetInteger(keyGlobalLastInterest)
151151 let totalStakedAmount = tryGetInteger(totalStakedKey())
152152 let interestDelta = if ((totalStakedAmount > 0))
153153 then fraction(amount, Scale, totalStakedAmount)
154154 else 0
155155 [IntegerEntry(keyGlobalEarned, (tryGetInteger(keyGlobalEarned) + amount)), IntegerEntry(keyGlobalLastInterest, (currentInterest + interestDelta))]
156156 }
157157
158158
159159 func asString (value) = match value {
160160 case string: String =>
161161 string
162162 case _ =>
163163 throw("FAS: wrong type, expected: String")
164164 }
165165
166166
167167 func tryGetBoolean (key) = match getBoolean(this, key) {
168168 case b: Boolean =>
169169 b
170170 case _ =>
171171 false
172172 }
173173
174174
175175 func tryGetBooleanExternal (address,key) = match getBoolean(address, key) {
176176 case b: Boolean =>
177177 b
178178 case _ =>
179179 false
180180 }
181181
182182
183183 func getAssetOrigin (generation) = if ((generation == "G"))
184184 then getIncubatorAddress()
185185 else getBreederAddress()
186186
187187
188188 func getAssetRarity (genotype,generation) = {
189189 let quantity = valueOrErrorMessage(getInteger(getAssetOrigin(generation), (("stats_" + genotype) + "_quantity")), (("stats_" + genotype) + "_quantity not found"))
190190 let power = pow((10000 / quantity), 4, 5, 1, 2, FLOOR)
191191 if ((power > 0))
192192 then power
193193 else 2
194194 }
195195
196196
197197 func getAssetRarityComplete (isJackpot,assetName) = {
198198 let rarity = if (isJackpot)
199199 then 100
200200 else {
201201 let generation = take(takeRight(assetName, 2), 1)
202202 let farmGen = asString(invoke(getBreederAddress(), "getGenFromName", [assetName], nil))
203203 if ((farmGen == farmGen))
204204 then getAssetRarity(farmGen, generation)
205205 else throw("Strict value is not equal to itself.")
206206 }
207207 rarity
208208 }
209209
210210
211211 func updateFarmingPower (address,asset) = {
212212 let totalStaked = tryGetInteger(totalStakedKey())
213213 let totalStakedUser = tryGetInteger(totalStakedUserKey(address))
214214 let currentFP = tryGetInteger(assetFarmingPower(address, asset))
215215 let newFP = asIntTuple(invoke(this, "calculateFarmPower", [asset], nil))
216216 [IntegerEntry(totalStakedKey(), ((tryGetInteger(totalStakedKey()) - currentFP) + newFP._1)), IntegerEntry(totalStakedUserKey(address), ((tryGetInteger(totalStakedUserKey(address)) - currentFP) + newFP._1)), IntegerEntry(assetFarmingPower(address, asset), newFP._1), IntegerEntry("DEBUG_currentFP", currentFP), IntegerEntry("DEBUG_newFP", newFP._1)]
217217 }
218218
219219
220220 func claimStakingResult (address,asset) = {
221221 let currentInterest = tryGetInteger(keyGlobalLastInterest)
222222 let lastCheckInterest = tryGetInteger(keyLastCheckInterest(address, asset))
223223 let stakedAmount = tryGetInteger(assetFarmingPower(address, asset))
224224 let fpUpdate = updateFarmingPower(address, asset)
225225 let reward = if ((lastCheckInterest > 0))
226226 then fraction((currentInterest - lastCheckInterest), stakedAmount, Scale)
227227 else 0
228228 let invokeResult = if ((reward > 0))
229229 then invoke(getCouponsAddress(), "addCouponsFarming", [address, reward], nil)
230230 else unit
231231 if ((invokeResult == invokeResult))
232232 then ([IntegerEntry(keyLastCheckInterest(address, asset), currentInterest), IntegerEntry(rewardClaimedKey(address, asset), (tryGetInteger(rewardClaimedKey(address, asset)) + reward))] ++ fpUpdate)
233233 else throw("Strict value is not equal to itself.")
234234 }
235235
236236
237237 func asBoolean (value) = match value {
238238 case boolean: Boolean =>
239239 boolean
240240 case _ =>
241241 throw("FAB: wrong type, expected: Boolean")
242242 }
243243
244244
245245 func calculatePerchPrice (address) = {
246246 let hasArtefactStaked = tryGetStringExternal(getAccBoosterAddress(), (("ART-XMISTL_" + address) + "_owner"))
247247 let perchPrice = getIntegerValue(getOracle(), staticKey_veggPerchFee())
248248 if ((hasArtefactStaked == ""))
249249 then perchPrice
250250 else perchPrice
251251 }
252252
253253
254254 @Callable(i)
255255 func calculateFarmPower (assetId) = if (!(if ((value(assetInfo(fromBase58String(assetId))).issuer == getBreederAddress()))
256256 then true
257257 else (value(assetInfo(fromBase58String(assetId))).issuer == getIncubatorAddress())))
258258 then throw("This does not seem like a valid Duck!")
259259 else {
260260 let assetName = value(assetInfo(fromBase58String(assetId))).name
261261 let gen = takeRight(assetName, 1)
262262 let isJackpot = (takeRight(assetName, 1) == "U")
263263 let rarity = getAssetRarityComplete(isJackpot, assetName)
264264 let genotype = split(dropRight(drop(assetName, 5), 3), "")
265265 func uniqueArrayFilter (accum,nextGen) = if (!(containsElement(accum, nextGen)))
266266 then (accum :+ nextGen)
267267 else accum
268268
269269 let uniqueList = {
270270 let $l = genotype
271271 let $s = size($l)
272272 let $acc0 = nil
273273 func $f0_1 ($a,$i) = if (($i >= $s))
274274 then $a
275275 else uniqueArrayFilter($a, $l[$i])
276276
277277 func $f0_2 ($a,$i) = if (($i >= $s))
278278 then $a
279279 else throw("List size exceeds 8")
280280
281281 $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)
282282 }
283283 let totalGenes = if ((gen == "U"))
284284 then 8
285285 else size(uniqueList)
286286 let power = pow(15, 1, totalGenes, 0, 2, DOWN)
287287 let multiplier = (((height - 3750000) * 100) / (((60 * 24) * 30) * 3))
288288 let basePower = tryGetInteger((assetId + "_basePower"))
289289 let finalPower = if ((basePower > 0))
290290 then basePower
291291 else ((power * multiplier) / 100)
292292 let finalPowerRarity = ((finalPower * rarity) / 100)
293293 $Tuple2([IntegerEntry(("DEBUG_" + assetName), finalPower), IntegerEntry(("DEBUG_RARITY" + assetName), rarity), IntegerEntry(("DEBUG_FPRARITY_" + assetName), finalPowerRarity), IntegerEntry(("DEBUG_BASEPOWER_" + assetName), basePower), IntegerEntry(("DEBUG_COEFFICIENT_" + assetName), multiplier)], $Tuple2(finalPowerRarity, finalPower))
294294 }
295295
296296
297297
298298 @Callable(i)
299299 func configureOracle (oracle) = if ((i.caller != this))
300300 then throw("FCO: admin only")
301301 else [StringEntry(staticKey_oracleAddress(), oracle)]
302302
303303
304304
305305 @Callable(i)
306306 func buyPerch (colorI,refererAddress) = {
307307 let validPayment = checkAdditionalPayment(i.payments[0])
308308 if ((validPayment == validPayment))
309309 then {
310310 let color = if ((colorI == "U"))
311311 then "B"
312312 else colorI
313313 if ((0 > value(indexOf(["B", "R", "G", "Y"], color))))
314314 then throw("you need to set color properly")
315315 else {
316316 let exactPrice = calculatePerchPrice(toString(i.caller))
317317 let firstPayment = if ((size(i.payments) == 2))
318318 then value(i.payments[1])
319319 else value(i.payments[0])
320320 if ((firstPayment.assetId != getEggAssetId()))
321321 then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId())))
322322 else if ((firstPayment.amount != exactPrice))
323323 then throw(((("FBP: To buy a perch you currently need the following amount of EGGlets: " + toString(exactPrice)) + " ") + toString(i.caller)))
324324 else {
325325 let refererRewardForPerch = fraction(exactPrice, 5, 100)
326326 let refCall = asBoolean(invoke(getRefContractAddress(), "refPayment", [refererAddress], [AttachedPayment(getEggAssetId(), refererRewardForPerch)]))
327327 if ((refCall == refCall))
328328 then {
329329 let toBurn = if (refCall)
330330 then (exactPrice - refererRewardForPerch)
331331 else exactPrice
332332 let burnCall = invoke(getBurnAddress(), "burnAttachedPayments", nil, [AttachedPayment(getEggAssetId(), toBurn)])
333333 if ((burnCall == burnCall))
334334 then {
335335 let perchAmountKey = ((("address_" + toString(i.caller)) + "_perchesAvailable_") + color)
336336 let perchAmount = tryGetInteger(perchAmountKey)
337337 ([IntegerEntry(perchAmountKey, (perchAmount + 1))] ++ validPayment)
338338 }
339339 else throw("Strict value is not equal to itself.")
340340 }
341341 else throw("Strict value is not equal to itself.")
342342 }
343343 }
344344 }
345345 else throw("Strict value is not equal to itself.")
346346 }
347347
348348
349349
350350 @Callable(i)
351351 func stakeNFT (jColor) = {
352352 let validPayment = checkAdditionalPayment(i.payments[0])
353353 if ((validPayment == validPayment))
354354 then {
355355 let pmt = value(i.payments[1])
356356 let assetId = value(pmt.assetId)
357357 let assetName = value(value(assetInfo(assetId)).name)
358358 let isJackpot = (takeRight(assetName, 1) == "U")
359359 let address = toString(i.caller)
360360 let rarity = getAssetRarityComplete(isJackpot, assetName)
361361 if ((70 > rarity))
362362 then throw("Only ducks with a rarity above 70 can be locked!")
363363 else {
364364 let color = if (isJackpot)
365365 then jColor
366366 else takeRight(assetName, 1)
367367 let availablePerches = tryGetInteger(((("address_" + address) + "_perchesAvailable_") + color))
368368 if ((pmt.amount != 1))
369369 then throw("NFT is not attached")
370370 else if ((0 >= availablePerches))
371371 then throw(("no perches available for the color " + color))
372372 else {
373373 let farmingPower = asIntTuple(invoke(this, "calculateFarmPower", [toBase58String(assetId)], nil))
374374 if ((farmingPower == farmingPower))
375375 then (([IntegerEntry(totalStakedKey(), (tryGetInteger(totalStakedKey()) + farmingPower._1)), IntegerEntry(totalStakedUserKey(address), (tryGetInteger(totalStakedUserKey(address)) + farmingPower._1)), IntegerEntry(((("address_" + address) + "_perchesAvailable_") + color), (availablePerches - 1)), StringEntry((toBase58String(assetId) + "_owner"), address), IntegerEntry(assetFarmingPower(address, toBase58String(assetId)), farmingPower._1), IntegerEntry((toBase58String(assetId) + "_basePower"), farmingPower._2), StringEntry((((("address_" + address) + "_asset_") + toBase58String(assetId)) + "_perchColor"), color)] ++ claimStakingResult(address, toBase58String(assetId))) ++ validPayment)
376376 else throw("Strict value is not equal to itself.")
377377 }
378378 }
379379 }
380380 else throw("Strict value is not equal to itself.")
381381 }
382382
383383
384384
385385 @Callable(i)
386386 func topUpReward (amount) = if ((i.caller != getCouponsAddress()))
387387 then throw("VFTUP: Only couponsdapp can do topup!")
388388 else {
389389 let resHandleStaking = handleStakingTopUp(amount)
390390 $Tuple2(resHandleStaking, true)
391391 }
392392
393393
394394
395395 @Callable(i)
396396 func claimReward (assetId) = {
397397 let validPayment = checkAdditionalPayment(i.payments[0])
398398 if ((validPayment == validPayment))
399399 then if ((tryGetString((assetId + "_owner")) != toString(i.caller)))
400400 then throw("You don't own this duck!!")
401401 else if ((size(i.payments) > 1))
402402 then throw("Please don't add extra payments")
403403 else (claimStakingResult(toString(i.caller), assetId) ++ validPayment)
404404 else throw("Strict value is not equal to itself.")
405405 }
406406
407407
408408 @Verifier(tx)
409409 func verify () = if (isTestEnv())
410410 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
411411 else {
412412 let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
413413 let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
414414 let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
415415 let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
416416 then 1
417417 else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
418418 then 1
419419 else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
420420 then 1
421421 else 0
422422 let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
423423 then 1
424424 else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
425425 then 1
426426 else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
427427 then 1
428428 else 0
429429 let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
430430 then 1
431431 else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
432432 then 1
433433 else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
434434 then 1
435435 else 0
436436 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
437437 match tx {
438438 case _ =>
439439 (signaturesCount >= 2)
440440 }
441441 }
442442

github/deemru/w8io/026f985 
37.01 ms