tx · CCgS19BncMyg3z4D12fLnUpD59MDxyqpYXppA6947wYg

3MpLKSQezEyHJk8jn9ikzAaaGuRzy5STBLZ:  -0.01900000 Waves

2024.11.09 00:28 [3363023] smart account 3MpLKSQezEyHJk8jn9ikzAaaGuRzy5STBLZ > SELF 0.00000000 Waves

{ "type": 13, "id": "CCgS19BncMyg3z4D12fLnUpD59MDxyqpYXppA6947wYg", "fee": 1900000, "feeAssetId": null, "timestamp": 1731101335330, "version": 2, "chainId": 84, "sender": "3MpLKSQezEyHJk8jn9ikzAaaGuRzy5STBLZ", "senderPublicKey": "GhefFZdofgfUzRS6kfAZpyXdgER7eYvz5umnwJW1MWtc", "proofs": [ "Dwbou2usMVbEErK3L1QYx16UBYsKEPD1WuhTp7VxiQiLdS5ikukCnGqgjXPoSHKj1BjxRCgPwfhPtw6852fUusd" ], "script": "base64:BgIkCAISAwoBCBIAEgMKAQgSBQoDCAgBEgYKBAgIAQESAwoBCBIAPQEUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwCB2FkZHJlc3MDa2V5BAckbWF0Y2gwCQCdCAIFB2FkZHJlc3MFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAWEFByRtYXRjaDAFAWECAAEVdHJ5R2V0SW50ZWdlckV4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAmggCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABDXRyeUdldEJvb2xlYW4BA2tleQQHJG1hdGNoMAkAoAgBBQNrZXkDCQABAgUHJG1hdGNoMAIHQm9vbGVhbgQBYgUHJG1hdGNoMAUBYgcBDHRyeUdldFN0cmluZwEDa2V5CQEUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwCBQR0aGlzBQNrZXkBCWFzQm9vbGVhbgEFdmFsdWUEByRtYXRjaDAFBXZhbHVlAwkAAQIFByRtYXRjaDACB0Jvb2xlYW4EB2Jvb2xlYW4FByRtYXRja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ZpcnN0VXNlcgABAAAEEHNlY29uZFVzZXJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQpzZWNvbmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQpzZWNvbmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQpzZWNvbmRVc2VyAAEAAAQPdGhpcmRVc2VyU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUJdGhpcmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQl0aGlyZFVzZXIAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFCXRoaXJkVXNlcgABAAAED3NpZ25hdHVyZXNDb3VudAkAZAIJAGQCBQ9maXJzdFVzZXJTaWduZWQFEHNlY29uZFVzZXJTaWduZWQFD3RoaXJkVXNlclNpZ25lZAQHJG1hdGNoMAUCdHgJAGcCBQ9zaWduYXR1cmVzQ291bnQAAsGS5QQ=", "height": 3363023, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B9FtbuU6sdRypdPrkB8ajHpb6pqoCSitfemF4saShyWA Next: none Diff:
OldNewDifferences
466466 let address = toString(i.caller)
467467 let txId = toBase58String(i.transactionId)
468468 let lastIssuedDucklingTs = tryGetInteger(KGlobalIssuedTimestamp)
469- let fiveMinInMs = ((1 * 30) * 1000)
469+ let fiveMinInMs = if (isTestEnv())
470+ then 0
471+ else ((1 * 30) * 1000)
470472 let timeDiff = (lastBlock.timestamp - (lastIssuedDucklingTs + fiveMinInMs))
471473 if (if ((lastIssuedDucklingTs > 0))
472474 then (0 > timeDiff)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func tryGetStringExternal (address,key) = match getString(address, key) {
55 case a: String =>
66 a
77 case _ =>
88 ""
99 }
1010
1111
1212 func tryGetIntegerExternal (address,key) = match getInteger(address, key) {
1313 case b: Int =>
1414 b
1515 case _ =>
1616 0
1717 }
1818
1919
2020 func tryGetBoolean (key) = match getBoolean(key) {
2121 case b: Boolean =>
2222 b
2323 case _ =>
2424 false
2525 }
2626
2727
2828 func tryGetString (key) = tryGetStringExternal(this, key)
2929
3030
3131 func asBoolean (value) = match value {
3232 case boolean: Boolean =>
3333 boolean
3434 case _ =>
3535 throw("BDA: wrong type, expected: Boolean")
3636 }
3737
3838
3939 func staticKey_oracleAddress () = "static_oracleAddress"
4040
4141
4242 func staticKey_ducklingPrice () = "static_ducklingPrice"
4343
4444
4545 func staticKey_eggAssetId () = "static_eggAssetId"
4646
4747
4848 func staticKey_spiceAssetId () = "static_spiceAssetId"
4949
5050
5151 func staticKey_rebirthAddress () = "static_rebirthAddress"
5252
5353
5454 func staticKey_incubatorAddress () = "static_incubatorAddress"
5555
5656
5757 func staticKey_couponsAddress () = "static_couponsAddress"
5858
5959
6060 func staticKey_burnAddress () = "static_burnAddress"
6161
6262
6363 func staticKey_refContractAddress () = "static_refContractAddress"
6464
6565
6666 func staticKey_backendPubKey () = "static_backendPubKey"
6767
6868
6969 func staticKey_extraFee () = "static_extraFee"
7070
7171
7272 func staticKey_feeAggregator () = "static_feeAggregator"
7373
7474
7575 func staticKey_turtleStakingAddress () = "static_turtleStakingAddress"
7676
7777
7878 func staticKey_mutantFarmingAddress () = "static_mutantFarmingAddress"
7979
8080
8181 func staticKey_canineRebirthAddress () = "static_canineRebirthAddress"
8282
8383
8484 func staticKey_felineRebirthAddress () = "static_felineRebirthAddress"
8585
8686
8787 func getOracle () = Address(fromBase58String(tryGetString(staticKey_oracleAddress())))
8888
8989
9090 func getDucklingPrice () = tryGetIntegerExternal(getOracle(), staticKey_ducklingPrice())
9191
9292
9393 func getEggAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_eggAssetId()))
9494
9595
9696 func getSpiceAssetId () = fromBase58String(tryGetStringExternal(getOracle(), staticKey_spiceAssetId()))
9797
9898
9999 func getRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_rebirthAddress())))
100100
101101
102102 func getIncubatorAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_incubatorAddress())))
103103
104104
105105 func getCouponsAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_couponsAddress())))
106106
107107
108108 func getBurnAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_burnAddress())))
109109
110110
111111 func getRefContractAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_refContractAddress())))
112112
113113
114114 func getFeeAggregator () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_feeAggregator())))
115115
116116
117117 func getTurtleStakingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_turtleStakingAddress())))
118118
119119
120120 func getMutantFarmingAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_mutantFarmingAddress())))
121121
122122
123123 func getCanineRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_canineRebirthAddress())))
124124
125125
126126 func getFelineRebirthAddress () = Address(fromBase58String(tryGetStringExternal(getOracle(), staticKey_felineRebirthAddress())))
127127
128128
129129 let backendPubKey = fromBase58String(getStringValue(getOracle(), staticKey_backendPubKey()))
130130
131131 let DUCKLINGPRICE = 100000000
132132
133133 let percentGrowthPrecision = 10000000000000000
134134
135135 let oneSpicePrecsion = 100000000000000
136136
137137 let KGlobalIssuedTimestamp = "global_issued_timestamp"
138138
139139 let DUCKLINGPRICEOLD = 80000000
140140
141141 let percentGrowthPrecisionOld = 10000000000000000
142142
143143 func checkAdditionalPayment (payment) = if (isDefined(payment.assetId))
144144 then throw("BDCAP: Please attach waves")
145145 else {
146146 let feeAmount = getIntegerValue(getOracle(), staticKey_extraFee())
147147 if ((payment.amount != feeAmount))
148148 then throw((("BDCAP: Please attach exactly " + toString(feeAmount)) + " amount of wavelets"))
149149 else [ScriptTransfer(getFeeAggregator(), feeAmount, unit)]
150150 }
151151
152152
153153 func keyTotalFeedOld (ducklingId) = (("duckling_" + ducklingId) + "_feed")
154154
155155
156156 func keyTotalFeed (ducklingId) = (("duckling_" + ducklingId) + "_feed_spice")
157157
158158
159159 func keyTotalFeedUser (address) = (("user_" + address) + "_feed")
160160
161161
162162 func keyAddressNonce (address) = (("address_" + address) + "_nonce")
163163
164164
165165 func keyDucklingLevel (ducklingId) = (("duckling_" + ducklingId) + "_level")
166166
167167
168168 func keyDucklingGrown (ducklingId) = (("duckling_" + ducklingId) + "_grown")
169169
170170
171171 func keyStartPercentage (ducklingId) = (("duckling_" + ducklingId) + "_startPercentage")
172172
173173
174174 func keyOwner (ducklingId) = (("duckling_" + ducklingId) + "_owner")
175175
176176
177177 func keyBlacklisted (ducklingId) = (("duckling_" + ducklingId) + "_blacklisted")
178178
179179
180180 func keyAmountOfAdultDuckling () = "adult_ducklings"
181181
182182
183183 func tryGetInteger (key) = {
184184 let val = match getInteger(this, key) {
185185 case b: Int =>
186186 b
187187 case _ =>
188188 0
189189 }
190190 val
191191 }
192192
193193
194194 func getBool (key) = match getBoolean(this, key) {
195195 case b: Boolean =>
196196 b
197197 case _ =>
198198 false
199199 }
200200
201201
202202 func isTestEnv () = getBool("TESTENV")
203203
204204
205205 func getDucklingPercentage (ducklingId) = {
206206 let percentageDuckling = tryGetInteger(keyStartPercentage(ducklingId))
207207 let base = if ((percentageDuckling != 0))
208208 then percentageDuckling
209209 else 5
210210 toBigInt((base * oneSpicePrecsion))
211211 }
212212
213213
214214 func getCurrentLevelBigInt (ducklingId) = {
215215 let kDuckLevel = keyDucklingLevel(ducklingId)
216216 match getString(kDuckLevel) {
217217 case s: String =>
218218 parseBigIntValue(s)
219219 case _ =>
220220 match getBoolean((("duckling_" + ducklingId) + "_issuedByFeedCall")) {
221221 case b: Boolean =>
222222 if (if ((b == true))
223223 then (tryGetInteger(keyStartPercentage(ducklingId)) == 0)
224224 else false)
225225 then toBigInt(0)
226226 else getDucklingPercentage(ducklingId)
227227 case _ =>
228228 getDucklingPercentage(ducklingId)
229229 }
230230 }
231231 }
232232
233233
234234 func calculateNewDucklingLevel (ducklingId,paymentAmount) = {
235235 let currentTs = lastBlock.timestamp
236236 let growth = (fraction(toBigInt(paymentAmount), toBigInt(percentGrowthPrecision), toBigInt(DUCKLINGPRICE)) / toBigInt(100))
237237 let currentLevel = getCurrentLevelBigInt(ducklingId)
238238 let newLevel = (currentLevel + growth)
239239 let result = toString(newLevel)
240240 $Tuple2(result, [("currentLevel=" + toString(currentLevel)), ("newLevel=" + toString(newLevel)), ("growth=" + toString(growth))])
241241 }
242242
243243
244244 func getBackendProof (maxFeedAmount,userNonce,address) = makeString([toString(maxFeedAmount), toString(userNonce), address], ";")
245245
246246
247247 func asInt (value) = match value {
248248 case int: Int =>
249249 int
250250 case _ =>
251251 throw("BAI: wrong type, expected: Int")
252252 }
253253
254254
255255 @Callable(i)
256256 func configureOracle (oracle) = if ((i.caller != this))
257257 then throw("BCO: admin only")
258258 else [StringEntry(staticKey_oracleAddress(), oracle)]
259259
260260
261261
262262 @Callable(i)
263263 func calculateDucklingPriceTwoDecimals () = {
264264 let x = tryGetInteger(keyAmountOfAdultDuckling())
265265 let price = max([(1900 + pow(x, 0, 6, 1, 2, HALFUP)), 10000])
266266 $Tuple2([StringEntry("DEBUG_PRICE", toString(price))], price)
267267 }
268268
269269
270270
271271 @Callable(i)
272272 func buyDuckling (refererAddress) = {
273273 let feeValidate = checkAdditionalPayment(i.payments[0])
274274 if ((feeValidate == feeValidate))
275275 then {
276276 let exactPrice = getDucklingPrice()
277277 if ((50000000 > exactPrice))
278278 then throw("BBD: Invalid price from oracle!")
279279 else {
280280 let amountPaidByCoupons = asInt(invoke(getCouponsAddress(), "useCoupons", [exactPrice], nil))
281281 if ((amountPaidByCoupons == amountPaidByCoupons))
282282 then {
283283 let leftToPay = (exactPrice - amountPaidByCoupons)
284284 let payment = if ((leftToPay != 0))
285285 then {
286286 let firstPayment = value(i.payments[1])
287287 if ((firstPayment.assetId != getEggAssetId()))
288288 then throw(("BBD: You can attach only EGG tokens with the following asset id: " + toBase58String(getEggAssetId())))
289289 else if ((firstPayment.amount != leftToPay))
290290 then throw(("BBD: To buy a perch you currently need the following amount of EGGlets: " + toString(leftToPay)))
291291 else {
292292 let refererRewardForPerch = fraction(leftToPay, 5, 100)
293293 let refCall = asBoolean(invoke(getRefContractAddress(), "refPayment", [refererAddress], [AttachedPayment(getEggAssetId(), refererRewardForPerch)]))
294294 if ((refCall == refCall))
295295 then {
296296 let toBurn = if (refCall)
297297 then (leftToPay - refererRewardForPerch)
298298 else leftToPay
299299 let burnCall = invoke(getBurnAddress(), "burnAttachedPayments", nil, [AttachedPayment(getEggAssetId(), toBurn)])
300300 if ((burnCall == burnCall))
301301 then leftToPay
302302 else throw("Strict value is not equal to itself.")
303303 }
304304 else throw("Strict value is not equal to itself.")
305305 }
306306 }
307307 else 0
308308 if ((payment == payment))
309309 then {
310310 let ducklingAssetId = invoke(this, "issueFreeDuckling", [toString(i.originCaller), toBase58String(i.transactionId), 0], nil)
311311 if ((ducklingAssetId == ducklingAssetId))
312312 then feeValidate
313313 else throw("Strict value is not equal to itself.")
314314 }
315315 else throw("Strict value is not equal to itself.")
316316 }
317317 else throw("Strict value is not equal to itself.")
318318 }
319319 }
320320 else throw("Strict value is not equal to itself.")
321321 }
322322
323323
324324
325325 @Callable(i)
326326 func issueFreeDuckling (address,txIdStr,percentage) = if (if (if (if ((i.caller != this))
327327 then (i.caller != getRebirthAddress())
328328 else false)
329329 then (i.caller != getCanineRebirthAddress())
330330 else false)
331331 then (i.caller != getFelineRebirthAddress())
332332 else false)
333333 then throw("BIFD: You can't issue free duckling")
334334 else {
335335 let asset = Issue("BABY-11111111-GZ", "", 1, 0, false, unit, height)
336336 let assetId = calculateAssetId(asset)
337337 $Tuple2([StringEntry((((address + "_") + txIdStr) + "_di"), toBase58String(assetId)), IntegerEntry("stats_amount", (tryGetInteger("stats_amount") + 1)), IntegerEntry(keyStartPercentage(toBase58String(assetId)), percentage), StringEntry(keyOwner(toBase58String(assetId)), address), asset, ScriptTransfer(value(addressFromString(address)), 1, assetId)], toBase58String(assetId))
338338 }
339339
340340
341341
342342 @Callable(i)
343343 func feedDuckling (ducklingId,backendSignature,maxFeedAmount,userNonce) = {
344344 let feeValidate = checkAdditionalPayment(i.payments[1])
345345 if ((feeValidate == feeValidate))
346346 then {
347347 let addressString = toString(i.caller)
348348 let backendProof = getBackendProof(maxFeedAmount, userNonce, addressString)
349349 let kAddressNonce = keyAddressNonce(addressString)
350350 let currentNonce = tryGetInteger(kAddressNonce)
351351 let realDucklingId = if (!(sigVerify_8Kb(toBytes(backendProof), fromBase58String(backendSignature), backendPubKey)))
352352 then throw("BFD: Invalid proof from backend")
353353 else if (if ((size(i.payments) != 2))
354354 then true
355355 else (value(i.payments[0]).assetId != getSpiceAssetId()))
356356 then throw("BFD: Bad payment attached (asset[s] or amount)")
357357 else if (getBool(keyDucklingGrown(ducklingId)))
358358 then throw("BFD: Duckling is already grown")
359359 else if ((userNonce != (currentNonce + 1)))
360360 then throw(((("BFD: User Nonce should be " + toString(currentNonce)) + " + 1, while received ") + toString(userNonce)))
361361 else {
362362 let blackListed = tryGetBoolean(keyBlacklisted(ducklingId))
363363 if (blackListed)
364364 then throw("BFD: Can not feed blacklisted duckling!")
365365 else if ((ducklingId == ""))
366366 then throw("BFD: Please buy a duckling first!")
367367 else {
368368 let ducklingIdCheck = value(assetInfo(fromBase58String(ducklingId)))
369369 if ((assetBalance(i.caller, ducklingIdCheck.id) != 1))
370370 then throw("BFD: You're not the owner of the duckling")
371371 else if ((ducklingIdCheck.issuer != this))
372372 then throw("BFD: Cant find duckling with such id")
373373 else toBase58String(ducklingIdCheck.id)
374374 }
375375 }
376376 let currentPayment = value(i.payments[0]).amount
377377 let kNewLevel = keyDucklingLevel(realDucklingId)
378378 let kTotalFeed = keyTotalFeed(realDucklingId)
379379 let kTotalFeedUser = keyTotalFeedUser(addressString)
380380 let totalFeed = tryGetInteger(kTotalFeed)
381381 let totalFeedUser = tryGetInteger(kTotalFeedUser)
382382 let kFeedTxStats = ((("duckling_" + realDucklingId) + "_stat_") + toString(lastBlock.timestamp))
383383 if ((currentPayment > maxFeedAmount))
384384 then throw(("BFD: Cannot feed duckling for such amount, max feed amount is: " + toString(maxFeedAmount)))
385385 else {
386386 let calculateResults = calculateNewDucklingLevel(realDucklingId, currentPayment)
387387 let ducklingOwner = tryGetString(keyOwner(realDucklingId))
388388 let topup = invoke(getTurtleStakingAddress(), "topUpReward", nil, [AttachedPayment(getSpiceAssetId(), (currentPayment / 2))])
389389 if ((topup == topup))
390390 then {
391391 let topup2 = invoke(getMutantFarmingAddress(), "topUpReward", ["SPICE", 0], [AttachedPayment(getSpiceAssetId(), (currentPayment / 10))])
392392 if ((topup2 == topup2))
393393 then {
394394 let recordAction = if ((currentPayment >= 1000000000))
395395 then invoke(getCouponsAddress(), "recordAction", ["FEEDDUCKLING10"], nil)
396396 else nil
397397 if ((recordAction == recordAction))
398398 then if (if ((ducklingOwner != toString(i.caller)))
399399 then !(isTestEnv())
400400 else false)
401401 then ([BooleanEntry(keyBlacklisted(realDucklingId), true)] ++ feeValidate)
402402 else ([IntegerEntry(kAddressNonce, (currentNonce + 1)), IntegerEntry(kTotalFeed, (totalFeed + currentPayment)), IntegerEntry(kTotalFeedUser, (totalFeedUser + currentPayment)), IntegerEntry(kFeedTxStats, currentPayment), StringEntry(kNewLevel, calculateResults._1), StringEntry((kFeedTxStats + "_debug"), makeString(calculateResults._2, ";")), Burn(getSpiceAssetId(), ((currentPayment / 2) - (currentPayment / 10)))] ++ feeValidate)
403403 else throw("Strict value is not equal to itself.")
404404 }
405405 else throw("Strict value is not equal to itself.")
406406 }
407407 else throw("Strict value is not equal to itself.")
408408 }
409409 }
410410 else throw("Strict value is not equal to itself.")
411411 }
412412
413413
414414
415415 @Callable(i)
416416 func fixLevels (ducklingIds) = if (if ((i.callerPublicKey != base58'GDxBbsDRmeY39quNrDsTXKJzFWbQVtjxHseF4ikxZ7n9'))
417417 then (i.caller != this)
418418 else false)
419419 then throw("BFL: Not authorized")
420420 else {
421421 let ducklingIdsList = value(split(ducklingIds, ","))
422422 func handleId (acc,id) = {
423423 let kTotalFeed = keyTotalFeed(id)
424424 let totalFeed = tryGetInteger(kTotalFeed)
425425 let kTotalFeedOld = keyTotalFeedOld(id)
426426 let totalFeedOld = tryGetInteger(kTotalFeedOld)
427427 let kNewLevel = keyDucklingLevel(id)
428428 let startingLevel = match getBoolean((("duckling_" + id) + "_issuedByFeedCall")) {
429429 case b: Boolean =>
430430 if (if ((b == true))
431431 then (tryGetInteger(keyStartPercentage(id)) == 0)
432432 else false)
433433 then toBigInt(0)
434434 else getDucklingPercentage(id)
435435 case _ =>
436436 getDucklingPercentage(id)
437437 }
438438 let growth = fraction(toBigInt((totalFeed / 100)), toBigInt(percentGrowthPrecision), toBigInt(DUCKLINGPRICE))
439439 let growthOld = if ((totalFeedOld != 0))
440440 then fraction(toBigInt(totalFeedOld), toBigInt(percentGrowthPrecisionOld), toBigInt(DUCKLINGPRICEOLD))
441441 else toBigInt(0)
442442 (acc ++ [StringEntry(kNewLevel, toString(((startingLevel + growth) + growthOld))), StringEntry("DEBUG", ((((toString(startingLevel) + " ") + toString(growth)) + " ") + toString(growthOld)))])
443443 }
444444
445445 let $l = ducklingIdsList
446446 let $s = size($l)
447447 let $acc0 = nil
448448 func $f0_1 ($a,$i) = if (($i >= $s))
449449 then $a
450450 else handleId($a, $l[$i])
451451
452452 func $f0_2 ($a,$i) = if (($i >= $s))
453453 then $a
454454 else throw("List size exceeds 20")
455455
456456 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
457457 }
458458
459459
460460
461461 @Callable(i)
462462 func turnDucklingIntoDuck () = {
463463 let feeValidate = checkAdditionalPayment(i.payments[1])
464464 if ((feeValidate == feeValidate))
465465 then {
466466 let address = toString(i.caller)
467467 let txId = toBase58String(i.transactionId)
468468 let lastIssuedDucklingTs = tryGetInteger(KGlobalIssuedTimestamp)
469- let fiveMinInMs = ((1 * 30) * 1000)
469+ let fiveMinInMs = if (isTestEnv())
470+ then 0
471+ else ((1 * 30) * 1000)
470472 let timeDiff = (lastBlock.timestamp - (lastIssuedDucklingTs + fiveMinInMs))
471473 if (if ((lastIssuedDucklingTs > 0))
472474 then (0 > timeDiff)
473475 else false)
474476 then throw((("BTD: Can issue ducklings only once per 30s, please wait for " + toString(fraction(timeDiff, 1, 1000))) + " sec."))
475477 else if ((size(i.payments) != 2))
476478 then throw("BTD: Bad payment attached (asset[s] or amount)")
477479 else if ((i.payments[0].amount != 1))
478480 then throw("BTD: Please attach a nft!")
479481 else {
480482 let pmt = value(assetInfo(value(value(i.payments[0]).assetId)))
481483 let blackListed = tryGetBoolean(keyBlacklisted(toBase58String(pmt.id)))
482484 if (blackListed)
483485 then throw("BTD: Can not convert blacklisted duckling!")
484486 else {
485487 let adultPriceCall = asInt(invoke(this, "calculateDucklingPriceTwoDecimals", nil, nil))
486488 if ((adultPriceCall == adultPriceCall))
487489 then {
488490 let normalizedPrice = fraction(adultPriceCall, oneSpicePrecsion, 100)
489491 if ((toBigInt(normalizedPrice) > getCurrentLevelBigInt(toBase58String(pmt.id))))
490492 then throw("BTD: Duckling is not grown yet...")
491493 else if ((pmt.issuer != this))
492494 then throw("BTD: Can use only ducklings from this dApp")
493495 else {
494496 let call = invoke(getIncubatorAddress(), "startDuckHatching", [""], nil)
495497 if ((call == call))
496498 then {
497499 let kDucklingGrown = keyDucklingGrown(toBase58String(pmt.id))
498500 ([BooleanEntry(kDucklingGrown, true), IntegerEntry(KGlobalIssuedTimestamp, lastBlock.timestamp), IntegerEntry(keyAmountOfAdultDuckling(), (tryGetInteger(keyAmountOfAdultDuckling()) + 1))] ++ feeValidate)
499501 }
500502 else throw("Strict value is not equal to itself.")
501503 }
502504 }
503505 else throw("Strict value is not equal to itself.")
504506 }
505507 }
506508 }
507509 else throw("Strict value is not equal to itself.")
508510 }
509511
510512
511513 @Verifier(tx)
512514 func verify () = if (isTestEnv())
513515 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
514516 else {
515517 let firstUser = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
516518 let secondUser = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
517519 let thirdUser = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
518520 let firstUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
519521 then 1
520522 else if (sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
521523 then 1
522524 else if (sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
523525 then 1
524526 else 0
525527 let secondUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
526528 then 1
527529 else if (sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
528530 then 1
529531 else if (sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
530532 then 1
531533 else 0
532534 let thirdUserSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
533535 then 1
534536 else if (sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
535537 then 1
536538 else if (sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
537539 then 1
538540 else 0
539541 let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned)
540542 match tx {
541543 case _ =>
542544 (signaturesCount >= 2)
543545 }
544546 }
545547

github/deemru/w8io/026f985 
45.18 ms