tx · DiKQYkD7JRdZJz5WRYqR1bPJAWbocxUZkeUgmyLx7ZvE 3N1y6kVT6VXz9mGb7seF2wAQ2dMKG1ojx2H: -0.02800000 Waves 2024.10.07 20:25 [3316720] smart account 3N1y6kVT6VXz9mGb7seF2wAQ2dMKG1ojx2H > SELF 0.00000000 Waves
{ "type": 13, "id": "DiKQYkD7JRdZJz5WRYqR1bPJAWbocxUZkeUgmyLx7ZvE", "fee": 2800000, "feeAssetId": null, "timestamp": 1728321959855, "version": 2, "chainId": 84, "sender": "3N1y6kVT6VXz9mGb7seF2wAQ2dMKG1ojx2H", "senderPublicKey": "9FrLvB7eP1itpJSbUFE9wJLDmuZtznJN56dMTAfc29br", "proofs": [ "2TjDkQaQtSJqCiZ5uoASxWtkZy5xtceZA2ZtMid8L47YakxGgmKCoJgqYXSa8uyj5EGFwbRFoqNHzwDPo9hUCHT2" ], "script": "base64:AAIFAAAAAAAAACYIAhIDCgEIEgMKAQgSABIECgIICBIAEgQKAggBEgMKAQgSAwoBCAAAADYBAAAAD2dldFJldmVuZXVUeXBlcwAAAAAJAARMAAAAAgIAAAADRUdHCQAETAAAAAICAAAABVNQSUNFCQAETAAAAAICAAAABFZFR0cJAARMAAAAAgIAAAAERkVFRAUAAAADbmlsAAAAAAVTY2FsZQAAAAAABfXhAAEAAAAUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwAAAACAAAAB2FkZHJlc3MAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAABAAAAB2dldEJvb2wAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBsAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWIFAAAAByRtYXRjaDAFAAAAAWIHAQAAAAlpc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Status": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 2se8rJfxDBpHksQnvRotyJnyoFyky2mmYbiedm52QCEd Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | func getReveneuTypes () = ["EGG", "SPICE", "VEGG", "FEED"] | |
5 | + | ||
6 | + | ||
7 | + | let Scale = 100000000 | |
8 | + | ||
9 | + | func tryGetStringExternal (address,key) = match getString(address, key) { | |
10 | + | case a: String => | |
11 | + | a | |
12 | + | case _ => | |
13 | + | "" | |
14 | + | } | |
15 | + | ||
16 | + | ||
17 | + | func getBool (key) = match getBoolean(this, key) { | |
18 | + | case b: Boolean => | |
19 | + | b | |
20 | + | case _ => | |
21 | + | false | |
22 | + | } | |
23 | + | ||
24 | + | ||
25 | + | func isTestEnv () = getBool("TESTENV") | |
26 | + | ||
27 | + | ||
28 | + | func staticKey_mutantIncubatorAddress () = "static_mutantIncubatorAddress" | |
29 | + | ||
30 | + | ||
31 | + | func staticKey_oracleAddress () = "static_oracleAddress" | |
32 | + | ||
33 | + | ||
34 | + | func staticKey_feeAggregator () = "static_feeAggregator" | |
35 | + | ||
36 | + | ||
37 | + | func staticKey_accBoosterAddress () = "static_accBoosterAddress" | |
38 | + | ||
39 | + | ||
40 | + | func staticKey_mutariumFee () = "static_mutariumFee" | |
41 | + | ||
42 | + | ||
43 | + | func staticKey_babyDuckAddress () = "static_babyDuckAddress" | |
44 | + | ||
45 | + | ||
46 | + | func staticKey_couponsAddress () = "static_couponsAddress" | |
47 | + | ||
48 | + | ||
49 | + | func staticKey_spiceAssetId () = "static_spiceAssetId" | |
50 | + | ||
51 | + | ||
52 | + | func staticKey_eggAssetId () = "static_eggAssetId" | |
53 | + | ||
54 | + | ||
55 | + | func staticKey_refContractAddress () = "static_refContractAddress" | |
56 | + | ||
57 | + | ||
58 | + | func staticKey_burnAddress () = "static_burnAddress" | |
59 | + | ||
60 | + | ||
61 | + | func staticKey_itemsAddress () = "static_itemsAddress" | |
62 | + | ||
63 | + | ||
64 | + | func rewardClaimedKey (address,asset,reveneuType) = ((((address + "_asset_") + asset) + "_claimed_") + reveneuType) | |
65 | + | ||
66 | + | ||
67 | + | func totalStakedKey (reveneuType) = ("total_staked_" + reveneuType) | |
68 | + | ||
69 | + | ||
70 | + | func totalStakedUserKey (address,reveneuType) = ("total_staked_" + address) | |
71 | + | ||
72 | + | ||
73 | + | func keyGlobalLastInterest (reveneuType) = ("global_lastCheck_interest_" + reveneuType) | |
74 | + | ||
75 | + | ||
76 | + | func keyLastCheckInterest (address,asset,reveneuType) = ((((("address_" + address) + "_asset_") + asset) + "_lastCheckInterest_") + reveneuType) | |
77 | + | ||
78 | + | ||
79 | + | func keyGlobalEarned (reveneuType) = ("global_earnings_" + reveneuType) | |
80 | + | ||
81 | + | ||
82 | + | func staticKey_extraFee () = "static_extraFee" | |
83 | + | ||
84 | + | ||
85 | + | func assetFarmingPower (address,asset) = (((("address_" + address) + "_asset_") + asset) + "_farmingPower") | |
86 | + | ||
87 | + | ||
88 | + | func tryGetString (key) = tryGetStringExternal(this, key) | |
89 | + | ||
90 | + | ||
91 | + | func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress()))) | |
92 | + | ||
93 | + | ||
94 | + | func getMutantBreederAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_mutantIncubatorAddress()))) | |
95 | + | ||
96 | + | ||
97 | + | func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator()))) | |
98 | + | ||
99 | + | ||
100 | + | func getAccBoosterAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_accBoosterAddress()))) | |
101 | + | ||
102 | + | ||
103 | + | func getBabyduckAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_babyDuckAddress()))) | |
104 | + | ||
105 | + | ||
106 | + | func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress()))) | |
107 | + | ||
108 | + | ||
109 | + | func getSpiceAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_spiceAssetId())) | |
110 | + | ||
111 | + | ||
112 | + | func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId())) | |
113 | + | ||
114 | + | ||
115 | + | func getRefContractAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_refContractAddress()))) | |
116 | + | ||
117 | + | ||
118 | + | func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_burnAddress()))) | |
119 | + | ||
120 | + | ||
121 | + | func getItemsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_itemsAddress()))) | |
122 | + | ||
123 | + | ||
124 | + | func asIntTuple (value) = match value { | |
125 | + | case int: (Int, Int) => | |
126 | + | int | |
127 | + | case _ => | |
128 | + | throw("FAI: wrong type, expected: (Int,Int)") | |
129 | + | } | |
130 | + | ||
131 | + | ||
132 | + | func asBoolean (value) = match value { | |
133 | + | case boolean: Boolean => | |
134 | + | boolean | |
135 | + | case _ => | |
136 | + | throw("FAB: wrong type, expected: Boolean") | |
137 | + | } | |
138 | + | ||
139 | + | ||
140 | + | func asInt (value) = match value { | |
141 | + | case int: Int => | |
142 | + | int | |
143 | + | case _ => | |
144 | + | throw("FAI: wrong type, expected: Int") | |
145 | + | } | |
146 | + | ||
147 | + | ||
148 | + | func asRarity (value) = match value { | |
149 | + | case strIntTuple: (String, Int) => | |
150 | + | strIntTuple | |
151 | + | case _ => | |
152 | + | throw("BAI: wrong type, expected: strIntTuple") | |
153 | + | } | |
154 | + | ||
155 | + | ||
156 | + | func asString (value) = match value { | |
157 | + | case s: String => | |
158 | + | s | |
159 | + | case s: Int => | |
160 | + | throw("wrong type, expected: String, got: Int") | |
161 | + | case s: Unit => | |
162 | + | throw("wrong type, expected: String, got: Unit") | |
163 | + | case _ => | |
164 | + | throw("wrong type, expected: String") | |
165 | + | } | |
166 | + | ||
167 | + | ||
168 | + | func tryGetInteger (key) = match getInteger(this, key) { | |
169 | + | case b: Int => | |
170 | + | b | |
171 | + | case _ => | |
172 | + | 0 | |
173 | + | } | |
174 | + | ||
175 | + | ||
176 | + | func checkAdditionalPayment (payment) = if (isDefined(payment.assetId)) | |
177 | + | then throw("FCAP: Please attach waves") | |
178 | + | else { | |
179 | + | let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee()) | |
180 | + | if ((payment.amount != feeAmount)) | |
181 | + | then throw((("FCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets")) | |
182 | + | else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)] | |
183 | + | } | |
184 | + | ||
185 | + | ||
186 | + | func determineClasses (assetName) = { | |
187 | + | let genotype = split(dropRight(drop(assetName, 5), 3), "") | |
188 | + | let classes = [genotype[0], genotype[2], genotype[4], genotype[6], genotype[8], genotype[10], genotype[12], genotype[14]] | |
189 | + | $Tuple2(containsElement(classes, "T"), containsElement(classes, "D")) | |
190 | + | } | |
191 | + | ||
192 | + | ||
193 | + | func calculatePerchPrice (address) = { | |
194 | + | let hasArtefactStaked = tryGetStringExternal(getAccBoosterAddress(), (("ART-XMISTL_" + address) + "_owner")) | |
195 | + | let perchPrice = getIntegerValue(getOracle(), staticKey_mutariumFee()) | |
196 | + | if ((hasArtefactStaked == "")) | |
197 | + | then perchPrice | |
198 | + | else ((perchPrice / 10) * 9) | |
199 | + | } | |
200 | + | ||
201 | + | ||
202 | + | func updateFarmingPower (address,asset,reveneuType) = { | |
203 | + | let totalStaked = tryGetInteger(totalStakedKey(reveneuType)) | |
204 | + | let totalStakedUser = tryGetInteger(totalStakedUserKey(address, reveneuType)) | |
205 | + | let currentFP = tryGetInteger(assetFarmingPower(address, asset)) | |
206 | + | let newFP = asIntTuple(invoke(this, "calculateFarmPower", [asset], nil)) | |
207 | + | if ((currentFP != 0)) | |
208 | + | then [IntegerEntry(totalStakedKey(reveneuType), ((totalStaked - currentFP) + newFP._1)), IntegerEntry(totalStakedUserKey(address, reveneuType), ((totalStakedUser - currentFP) + newFP._1)), IntegerEntry(assetFarmingPower(address, asset), newFP._1)] | |
209 | + | else nil | |
210 | + | } | |
211 | + | ||
212 | + | ||
213 | + | func claimStakingResult (address,assetId,recalc,reveneuType) = { | |
214 | + | let currentInterest = tryGetInteger(keyGlobalLastInterest(reveneuType)) | |
215 | + | let lastCheckInterest = tryGetInteger(keyLastCheckInterest(address, assetId, reveneuType)) | |
216 | + | let stakedAmount = tryGetInteger(assetFarmingPower(address, assetId)) | |
217 | + | let fpUpdate = if (recalc) | |
218 | + | then updateFarmingPower(address, assetId, reveneuType) | |
219 | + | else nil | |
220 | + | if ((fpUpdate == fpUpdate)) | |
221 | + | then { | |
222 | + | let reward = if ((lastCheckInterest > 0)) | |
223 | + | then fraction((currentInterest - lastCheckInterest), stakedAmount, Scale) | |
224 | + | else 0 | |
225 | + | let specifiqueKeys = if ((reveneuType == "SPICE")) | |
226 | + | then [ScriptTransfer(addressFromStringValue(address), reward, getSpiceAssetId())] | |
227 | + | else if ((reveneuType == "EGG")) | |
228 | + | then [ScriptTransfer(addressFromStringValue(address), reward, getEggAssetId())] | |
229 | + | else if ((reveneuType == "FEED")) | |
230 | + | then { | |
231 | + | let invokeResult = if ((reward > 0)) | |
232 | + | then invoke(getAccBoosterAddress(), "addFeedLimit", [reward, address], nil) | |
233 | + | else unit | |
234 | + | if ((invokeResult == invokeResult)) | |
235 | + | then nil | |
236 | + | else throw("Strict value is not equal to itself.") | |
237 | + | } | |
238 | + | else if ((reveneuType == "VEGG")) | |
239 | + | then { | |
240 | + | let invokeResult = if ((reward > 0)) | |
241 | + | then invoke(getCouponsAddress(), "addCouponsFarming", [address, reward], nil) | |
242 | + | else unit | |
243 | + | if ((invokeResult == invokeResult)) | |
244 | + | then nil | |
245 | + | else throw("Strict value is not equal to itself.") | |
246 | + | } | |
247 | + | else throw("Unknown reveneuType") | |
248 | + | (([IntegerEntry(keyLastCheckInterest(address, assetId, reveneuType), currentInterest), IntegerEntry(rewardClaimedKey(address, assetId, reveneuType), (tryGetInteger(rewardClaimedKey(address, assetId, reveneuType)) + reward))] ++ fpUpdate) ++ specifiqueKeys) | |
249 | + | } | |
250 | + | else throw("Strict value is not equal to itself.") | |
251 | + | } | |
252 | + | ||
253 | + | ||
254 | + | func setKeysReveneuType (address,assetId,reveneuType,fp) = [IntegerEntry(totalStakedKey(reveneuType), (tryGetInteger(totalStakedKey(reveneuType)) + fp)), IntegerEntry(totalStakedUserKey(address, reveneuType), (tryGetInteger(totalStakedUserKey(address, reveneuType)) + fp))] | |
255 | + | ||
256 | + | ||
257 | + | func updateKeysReveneuType (address,assetId,reveneuType,fp) = [IntegerEntry(totalStakedKey(reveneuType), (tryGetInteger(totalStakedKey(reveneuType)) - fp)), IntegerEntry(totalStakedUserKey(address, reveneuType), (tryGetInteger(totalStakedUserKey(address, reveneuType)) - fp))] | |
258 | + | ||
259 | + | ||
260 | + | func deterMineClassAndClaimType (address,assetId,assetName,recalc) = { | |
261 | + | let $t084548498 = determineClasses(assetName) | |
262 | + | let isT = $t084548498._1 | |
263 | + | let isD = $t084548498._2 | |
264 | + | let tKeys = if (isT) | |
265 | + | then (claimStakingResult(address, assetId, recalc, "SPICE") ++ claimStakingResult(address, assetId, recalc, "FEED")) | |
266 | + | else nil | |
267 | + | let dKeys = if (isD) | |
268 | + | then (claimStakingResult(address, assetId, recalc, "EGG") ++ claimStakingResult(address, assetId, recalc, "VEGG")) | |
269 | + | else nil | |
270 | + | (tKeys ++ dKeys) | |
271 | + | } | |
272 | + | ||
273 | + | ||
274 | + | func deterMineClassAndSetType (address,assetId,fp,assetName) = { | |
275 | + | let $t089298973 = determineClasses(assetName) | |
276 | + | let isT = $t089298973._1 | |
277 | + | let isD = $t089298973._2 | |
278 | + | let tKeys = if (isT) | |
279 | + | then (setKeysReveneuType(address, assetId, "SPICE", fp) ++ setKeysReveneuType(address, assetId, "FEED", fp)) | |
280 | + | else nil | |
281 | + | let dKeys = if (isD) | |
282 | + | then (setKeysReveneuType(address, assetId, "EGG", fp) ++ setKeysReveneuType(address, assetId, "VEGG", fp)) | |
283 | + | else nil | |
284 | + | (tKeys ++ dKeys) | |
285 | + | } | |
286 | + | ||
287 | + | ||
288 | + | func deterMineClassAndUpdateType (address,assetId,fp,assetName) = { | |
289 | + | let $t093939437 = determineClasses(assetName) | |
290 | + | let isT = $t093939437._1 | |
291 | + | let isD = $t093939437._2 | |
292 | + | let tKeys = if (isT) | |
293 | + | then (updateKeysReveneuType(address, assetId, "SPICE", fp) ++ updateKeysReveneuType(address, assetId, "FEED", fp)) | |
294 | + | else nil | |
295 | + | let dKeys = if (isD) | |
296 | + | then (updateKeysReveneuType(address, assetId, "EGG", fp) ++ updateKeysReveneuType(address, assetId, "VEGG", fp)) | |
297 | + | else nil | |
298 | + | (tKeys ++ dKeys) | |
299 | + | } | |
300 | + | ||
301 | + | ||
302 | + | func handleStakingTopUp (amount,reveneuType) = { | |
303 | + | let currentInterest = tryGetInteger(keyGlobalLastInterest(reveneuType)) | |
304 | + | let totalStakedAmount = tryGetInteger(totalStakedKey(reveneuType)) | |
305 | + | let interestDelta = if ((totalStakedAmount > 0)) | |
306 | + | then fraction(amount, Scale, totalStakedAmount) | |
307 | + | else 0 | |
308 | + | [IntegerEntry(keyGlobalEarned(reveneuType), (tryGetInteger(keyGlobalEarned(reveneuType)) + amount)), IntegerEntry(keyGlobalLastInterest(reveneuType), (currentInterest + interestDelta))] | |
309 | + | } | |
310 | + | ||
311 | + | ||
312 | + | @Callable(i) | |
313 | + | func configureOracle (oracle) = if ((i.caller != this)) | |
314 | + | then throw("ACO: admin only") | |
315 | + | else [StringEntry("static_oracleAddress", oracle)] | |
316 | + | ||
317 | + | ||
318 | + | ||
319 | + | @Callable(i) | |
320 | + | func calculateFarmPower (assetId) = if (!((value(assetInfo(fromBase58String(assetId))).issuer == getMutantBreederAddress()))) | |
321 | + | then throw("This does not seem like a valid Mutant!") | |
322 | + | else { | |
323 | + | let assetName = value(assetInfo(fromBase58String(assetId))).description | |
324 | + | let asRarityResult = asRarity(invoke(getMutantBreederAddress(), "getRarity", [assetName], nil)) | |
325 | + | if ((asRarityResult == asRarityResult)) | |
326 | + | then { | |
327 | + | let totalGenes = (size(split(dropRight(asRarityResult._1, 2), "")) / 2) | |
328 | + | let power = pow(15, 1, totalGenes, 0, 2, DOWN) | |
329 | + | let multiplier = (((height - 3750000) * 100) / (((60 * 24) * 30) * 3)) | |
330 | + | let basePower = tryGetInteger((assetId + "_basePower")) | |
331 | + | let finalPower = if ((basePower > 0)) | |
332 | + | then basePower | |
333 | + | else ((power * multiplier) / 100) | |
334 | + | let finalPowerRarity = ((finalPower * asRarityResult._2) / 100) | |
335 | + | $Tuple2(nil, $Tuple2(finalPowerRarity, finalPower)) | |
336 | + | } | |
337 | + | else throw("Strict value is not equal to itself.") | |
338 | + | } | |
339 | + | ||
340 | + | ||
341 | + | ||
342 | + | @Callable(i) | |
343 | + | func redeemMutuarium () = { | |
344 | + | let validPayment = checkAdditionalPayment(i.payments[1]) | |
345 | + | if (!(if ((size(i.payments) == 2)) | |
346 | + | then (i.payments[0].amount == 1) | |
347 | + | else false)) | |
348 | + | then throw("Invalid payment") | |
349 | + | else { | |
350 | + | let assetId = value(i.payments[0].assetId) | |
351 | + | let artefactName = asString(invoke(getItemsAddress(), "checkArtefactDetails", [toBase58String(assetId)], nil)) | |
352 | + | if ((artefactName == artefactName)) | |
353 | + | then if (!(contains(artefactName, "ART-MUTARIUM-"))) | |
354 | + | then throw("You can't use this artafect to redeem mutarium!") | |
355 | + | else { | |
356 | + | let color = takeRight(artefactName, 1) | |
357 | + | let perchAmountKey = ((("address_" + toString(i.caller)) + "_mutariumAvailable_") + color) | |
358 | + | let perchAmount = tryGetInteger(perchAmountKey) | |
359 | + | ([IntegerEntry(perchAmountKey, (perchAmount + 1)), Burn(assetId, 1)] ++ validPayment) | |
360 | + | } | |
361 | + | else throw("Strict value is not equal to itself.") | |
362 | + | } | |
363 | + | } | |
364 | + | ||
365 | + | ||
366 | + | ||
367 | + | @Callable(i) | |
368 | + | func buyMutuarium (color,refererAddress) = { | |
369 | + | let validPayment = checkAdditionalPayment(i.payments[0]) | |
370 | + | if ((validPayment == validPayment)) | |
371 | + | then if ((indexOf(["D", "G"], color) != unit)) | |
372 | + | then throw("you can not buy this Mutarium") | |
373 | + | else if ((indexOf(["A", "B", "C"], color) == unit)) | |
374 | + | then throw("you need to set color properly") | |
375 | + | else { | |
376 | + | let exactPrice = calculatePerchPrice(toString(i.caller)) | |
377 | + | let leftToPay = if ((i.originCaller == i.caller)) | |
378 | + | then { | |
379 | + | let amountPaidByCoupons = asInt(invoke(getCouponsAddress(), "useCoupons", [exactPrice], nil)) | |
380 | + | if ((amountPaidByCoupons == amountPaidByCoupons)) | |
381 | + | then (exactPrice - amountPaidByCoupons) | |
382 | + | else throw("Strict value is not equal to itself.") | |
383 | + | } | |
384 | + | else exactPrice | |
385 | + | let payment = if ((leftToPay != 0)) | |
386 | + | then if ((size(i.payments) != 2)) | |
387 | + | then throw("You need to attach 2 payments") | |
388 | + | else { | |
389 | + | let firstPayment = value(i.payments[1]) | |
390 | + | if ((firstPayment.assetId != getEggAssetId())) | |
391 | + | then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId()))) | |
392 | + | else if ((firstPayment.amount != leftToPay)) | |
393 | + | then throw(((("FBP: To buy a perch you currently need the following amount of EGGlets: " + toString(leftToPay)) + " ") + toString(i.caller))) | |
394 | + | else { | |
395 | + | let refererRewardForPerch = fraction(leftToPay, 5, 100) | |
396 | + | let refCall = asBoolean(invoke(getRefContractAddress(), "refPayment", [refererAddress], [AttachedPayment(getEggAssetId(), refererRewardForPerch)])) | |
397 | + | if ((refCall == refCall)) | |
398 | + | then { | |
399 | + | let toBurn = if (refCall) | |
400 | + | then (leftToPay - refererRewardForPerch) | |
401 | + | else leftToPay | |
402 | + | let burnCall = invoke(getBurnAddress(), "burnAttachedPayments", nil, [AttachedPayment(getEggAssetId(), toBurn)]) | |
403 | + | if ((burnCall == burnCall)) | |
404 | + | then leftToPay | |
405 | + | else throw("Strict value is not equal to itself.") | |
406 | + | } | |
407 | + | else throw("Strict value is not equal to itself.") | |
408 | + | } | |
409 | + | } | |
410 | + | else 0 | |
411 | + | if ((payment == payment)) | |
412 | + | then { | |
413 | + | let perchAmountKey = ((("address_" + toString(i.caller)) + "_mutariumAvailable_") + color) | |
414 | + | let perchAmount = tryGetInteger(perchAmountKey) | |
415 | + | ([IntegerEntry(perchAmountKey, (perchAmount + 1))] ++ validPayment) | |
416 | + | } | |
417 | + | else throw("Strict value is not equal to itself.") | |
418 | + | } | |
419 | + | else throw("Strict value is not equal to itself.") | |
420 | + | } | |
421 | + | ||
422 | + | ||
423 | + | ||
424 | + | @Callable(i) | |
425 | + | func stakeNFT () = { | |
426 | + | let validPayment = checkAdditionalPayment(i.payments[0]) | |
427 | + | if ((validPayment == validPayment)) | |
428 | + | then { | |
429 | + | let pmt = value(i.payments[1]) | |
430 | + | let assetId = value(pmt.assetId) | |
431 | + | let assetName = value(value(assetInfo(assetId)).description) | |
432 | + | let address = toString(i.caller) | |
433 | + | let color = takeRight(assetName, 1) | |
434 | + | let availablePerches = tryGetInteger(((("address_" + address) + "_mutariumAvailable_") + color)) | |
435 | + | let perches = if ((0 >= availablePerches)) | |
436 | + | then throw(("no perches available for the color " + color)) | |
437 | + | else [IntegerEntry(((("address_" + address) + "_mutariumAvailable_") + color), (availablePerches - 1)), StringEntry((((("address_" + address) + "_asset_") + toBase58String(assetId)) + "_perchColor"), color)] | |
438 | + | if ((pmt.amount != 1)) | |
439 | + | then throw("NFT is not attached") | |
440 | + | else { | |
441 | + | let farmingPower = asIntTuple(invoke(this, "calculateFarmPower", [toBase58String(assetId)], nil)) | |
442 | + | if ((farmingPower == farmingPower)) | |
443 | + | then { | |
444 | + | let result = deterMineClassAndClaimType(address, toBase58String(assetId), assetName, false) | |
445 | + | if ((result == result)) | |
446 | + | then (((([StringEntry((toBase58String(assetId) + "_owner"), address), IntegerEntry((toBase58String(assetId) + "_basePower"), farmingPower._2), IntegerEntry(assetFarmingPower(address, toBase58String(assetId)), farmingPower._2)] ++ deterMineClassAndSetType(address, assetId, farmingPower._2, assetName)) ++ validPayment) ++ perches) ++ result) | |
447 | + | else throw("Strict value is not equal to itself.") | |
448 | + | } | |
449 | + | else throw("Strict value is not equal to itself.") | |
450 | + | } | |
451 | + | } | |
452 | + | else throw("Strict value is not equal to itself.") | |
453 | + | } | |
454 | + | ||
455 | + | ||
456 | + | ||
457 | + | @Callable(i) | |
458 | + | func topUpReward (reveneuType,amount) = if ((reveneuType == "SPICE")) | |
459 | + | then if ((i.payments[0].assetId != getSpiceAssetId())) | |
460 | + | then throw("Please attach spice!") | |
461 | + | else handleStakingTopUp(i.payments[0].amount, reveneuType) | |
462 | + | else if ((reveneuType == "EGG")) | |
463 | + | then { | |
464 | + | let firstPayment = value(i.payments[0]) | |
465 | + | if ((firstPayment.assetId != getEggAssetId())) | |
466 | + | then throw(("FBP: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId()))) | |
467 | + | else handleStakingTopUp(firstPayment.amount, reveneuType) | |
468 | + | } | |
469 | + | else if ((reveneuType == "FEED")) | |
470 | + | then if ((i.caller != getAccBoosterAddress())) | |
471 | + | then throw("VFTUP: Only accBoosterDapp can do topup!") | |
472 | + | else handleStakingTopUp(amount, reveneuType) | |
473 | + | else if ((reveneuType == "VEGG")) | |
474 | + | then if ((i.caller != getCouponsAddress())) | |
475 | + | then throw("VFTUP: Only couponsdapp can do topup!") | |
476 | + | else handleStakingTopUp(amount, reveneuType) | |
477 | + | else throw("Unknown reveneuType") | |
478 | + | ||
479 | + | ||
480 | + | ||
481 | + | @Callable(i) | |
482 | + | func unstakeNFT (assetId) = { | |
483 | + | let address = toString(i.caller) | |
484 | + | if ((tryGetString((assetId + "_owner")) != toString(i.caller))) | |
485 | + | then throw("You don't own this duck!!") | |
486 | + | else { | |
487 | + | let assetName = value(value(assetInfo(fromBase58String(assetId))).description) | |
488 | + | let result = deterMineClassAndClaimType(address, assetId, assetName, false) | |
489 | + | if ((result == result)) | |
490 | + | then { | |
491 | + | let validPayment = checkAdditionalPayment(i.payments[0]) | |
492 | + | if ((validPayment == validPayment)) | |
493 | + | then { | |
494 | + | let color = tryGetString((((("address_" + address) + "_asset_") + assetId) + "_perchColor")) | |
495 | + | let assetFP = tryGetInteger(assetFarmingPower(address, assetId)) | |
496 | + | if ((assetFP == assetFP)) | |
497 | + | then { | |
498 | + | let updateKeys = deterMineClassAndUpdateType(address, fromBase58String(assetId), assetFP, assetName) | |
499 | + | ((([IntegerEntry(((("address_" + address) + "_mutariumAvailable_") + color), (tryGetInteger(((("address_" + address) + "_mutariumAvailable_") + color)) + 1)), DeleteEntry((assetId + "_owner")), DeleteEntry(assetFarmingPower(address, assetId)), DeleteEntry((((("address_" + address) + "_asset_") + assetId) + "_perchColor")), ScriptTransfer(Address(fromBase58String(address)), 1, fromBase58String(assetId))] ++ updateKeys) ++ validPayment) ++ result) | |
500 | + | } | |
501 | + | else throw("Strict value is not equal to itself.") | |
502 | + | } | |
503 | + | else throw("Strict value is not equal to itself.") | |
504 | + | } | |
505 | + | else throw("Strict value is not equal to itself.") | |
506 | + | } | |
507 | + | } | |
508 | + | ||
509 | + | ||
510 | + | ||
511 | + | @Callable(i) | |
512 | + | func claimReward (assetId) = { | |
513 | + | let validPayment = checkAdditionalPayment(i.payments[0]) | |
514 | + | if ((validPayment == validPayment)) | |
515 | + | then { | |
516 | + | let assetName = value(value(assetInfo(fromBase58String(assetId))).description) | |
517 | + | if ((size(i.payments) > 1)) | |
518 | + | then throw("Please don't add extra payments") | |
519 | + | else (deterMineClassAndClaimType(toString(i.caller), assetId, assetName, true) ++ validPayment) | |
520 | + | } | |
521 | + | else throw("Strict value is not equal to itself.") | |
522 | + | } | |
523 | + | ||
524 | + | ||
525 | + | @Verifier(tx) | |
526 | + | func verify () = if (isTestEnv()) | |
527 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
528 | + | else { | |
529 | + | let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4' | |
530 | + | let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8' | |
531 | + | let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3' | |
532 | + | let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser)) | |
533 | + | then 1 | |
534 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser)) | |
535 | + | then 1 | |
536 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser)) | |
537 | + | then 1 | |
538 | + | else 0 | |
539 | + | let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser)) | |
540 | + | then 1 | |
541 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser)) | |
542 | + | then 1 | |
543 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser)) | |
544 | + | then 1 | |
545 | + | else 0 | |
546 | + | let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser)) | |
547 | + | then 1 | |
548 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser)) | |
549 | + | then 1 | |
550 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser)) | |
551 | + | then 1 | |
552 | + | else 0 | |
553 | + | let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned) | |
554 | + | match tx { | |
555 | + | case _ => | |
556 | + | (signaturesCount >= 2) | |
557 | + | } | |
558 | + | } | |
559 | + |
github/deemru/w8io/169f3d6 54.02 ms ◑