tx · 9XqUqw48XAqzDZaZr3RtvhKSJy8a9Kk5MfQKh1F1dfS8

3Mrj66WrZRC5TYVqoGS8WXGNN9ib23GMUEh:  -0.02000000 Waves

2024.10.03 12:38 [3310501] smart account 3Mrj66WrZRC5TYVqoGS8WXGNN9ib23GMUEh > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
37.99 ms