tx · E2n6qHrmu3kzuQ7FatbZ2UAsLH1Mr5tQ3wohjSGByAQN

3MzYJ5tJs1rdz6Pzr7zvyfezTLPuVxFSRvT:  -0.01800000 Waves

2024.11.25 23:54 [3387450] smart account 3MzYJ5tJs1rdz6Pzr7zvyfezTLPuVxFSRvT > SELF 0.00000000 Waves

{ "type": 13, "id": "E2n6qHrmu3kzuQ7FatbZ2UAsLH1Mr5tQ3wohjSGByAQN", "fee": 1800000, "feeAssetId": null, "timestamp": 1732568100096, "version": 2, "chainId": 84, "sender": "3MzYJ5tJs1rdz6Pzr7zvyfezTLPuVxFSRvT", "senderPublicKey": "FvkktUPDqYCGhXKDauJAZkkkVp1b5yKhS6NUf7vhP3tR", "proofs": [ "3W6hEsCbKrscQdJRoN4mhxeGybSFJZFyqjRYZHV6wtRz8my3d2Ruz7VXnEg1gmUL8DYLFujBJK5KMCJDsFjeFuzL" ], "script": "base64:BgI8CAISAwoBCBIGCgQICAgIEgMKAQgSABIAEgMKAQgSABIDCgEIEgMKAQgSBAoCCAgSAwoBCBIGCgQIAQQIOQENdHJ5R2V0SW50ZWdlcgEDa2V5BAckbWF0Y2gwCQCaCAIFBHRoaXMFA2tleQMJAAECBQckbWF0Y2gwAgNJbnQEAWIFByRtYXRjaDAFAWIAAAEJaXNUZXN0RW52AAQHdGVzdGVudgQHJG1hdGNoMAkAmwgCBQR0aGlzAgdURVNURU5WAwkAAQIFByRtYXRjaDACB0Jvb2xlYW4EAXgFByRtYXRjaDAFAXgHBQd0ZXN0ZW52ARVrZXlEdWNrUGxheVVubG9ja1RpbWUBB2Fzc2V0SWQJAKwCAgkArAICAgVkdWNrXwkA2AQBBQdhc3NldElkAgtfdW5sb2NrVGltZQEXa2V5RHVja0ZpbmlzaFVubG9ja1RpbWUBB2Fzc2V0SWQJAKwCAgkArAICAgVkdWNrXwkA2AQBBQdhc3NldElkAhFmaW5pc2hfdW5sb2NrVGltZQEMa2V5RHVja093bmVyAQdhc3NldElkCQCsAgIJAKwCA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VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQpzZWNvbmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQpzZWNvbmRVc2VyAAEAAAQPdGhpcmRVc2VyU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUJdGhpcmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQl0aGlyZFVzZXIAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFCXRoaXJkVXNlcgABAAAED3NpZ25hdHVyZXNDb3VudAkAZAIJAGQCBQ9maXJzdFVzZXJTaWduZWQFEHNlY29uZFVzZXJTaWduZWQFD3RoaXJkVXNlclNpZ25lZAQHJG1hdGNoMAUCdHgJAGcCBQ9zaWduYXR1cmVzQ291bnQAAiS2xRI=", "height": 3387450, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8NJ8iKQHbbmDSqzgDbyDUgB7Bt8k5xz1SwVVbGEzdqi7 Next: E61npmFxMbufrx1Fuwn81t8SBVuoo2oMF28GNSFN5N11 Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = getInteger(this, b)
66 if ($isInstanceOf(c, "Int"))
77 then {
88 let d = c
99 d
1010 }
1111 else 0
1212 }
1313
1414
1515 func e () = {
1616 let f = {
1717 let c = getBoolean(this, "TESTENV")
1818 if ($isInstanceOf(c, "Boolean"))
1919 then {
2020 let g = c
2121 g
2222 }
2323 else false
2424 }
2525 f
2626 }
2727
2828
2929 func h (i) = (("duck_" + toBase58String(i)) + "_unlockTime")
3030
3131
3232 func j (i) = (("duck_" + toBase58String(i)) + "finish_unlockTime")
3333
3434
3535 func k (i) = (("duck_" + toBase58String(i)) + "_owner")
3636
3737
3838 func l (m) = (("address_" + m) + "_spotsBought")
3939
4040
4141 func n (m) = (("address_" + m) + "_spotsBusy")
4242
4343
4444 func o (m,p) = (((("address_" + m) + "_lockedDuck_") + p) + "_status")
4545
4646
4747 func q (m,p) = (((("address_" + m) + "_lockedDuck_") + p) + "_v2")
4848
4949
5050 func r (i) = {
5151 let s = value(value(assetInfo(i)).name)
5252 let t = split(s, "")
5353 let u = (t[(size(t) - 2)] == "J")
5454 let v = if (u)
5555 then "B"
5656 else t[(size(t) - 1)]
5757 $Tuple2(v, u)
5858 }
5959
6060
6161 func w (x,b) = {
6262 let c = getString(x, b)
6363 if ($isInstanceOf(c, "String"))
6464 then {
6565 let y = c
6666 y
6767 }
6868 else ""
6969 }
7070
7171
7272 func z (b) = {
7373 let c = getBoolean(b)
7474 if ($isInstanceOf(c, "Boolean"))
7575 then {
7676 let d = c
7777 d
7878 }
7979 else false
8080 }
8181
8282
8383 func A (b) = w(this, b)
8484
8585
8686 func B () = "static_oracleAddress"
8787
8888
8989 func C () = "static_eggAssetId"
9090
9191
9292 func D () = "static_incubatorAddress"
9393
9494
9595 func E () = "static_breederAddress"
9696
9797
9898 func F () = "static_farmingAddress"
9999
100100
101101 func G () = "static_rentingAddress"
102102
103103
104104 func H () = "static_shortGameName"
105105
106106
107107 func I () = "static_longGameName"
108108
109109
110110 func J () = "static_nftName"
111111
112112
113113 func K () = "static_backendPubKey"
114114
115115
116116 func L () = "static_accessItemAssetId"
117117
118118
119119 func M () = "static_accessItemPrice"
120120
121121
122122 func N () = "static_minLockDuration"
123123
124124
125125 func O () = "static_UnlockDuration"
126126
127127
128128 func P () = "static_boosterBuyAssetId"
129129
130130
131131 func Q () = "static_extraFee"
132132
133133
134134 func R () = "static_feeAggregator"
135135
136136
137137 func S (T) = ("static_boosterPriceLevel_" + T)
138138
139139
140140 func U (T) = ("static_boosterName_" + T)
141141
142142
143143 func V () = "static_burnAddress"
144144
145145
146146 func W () = Address(fromBase58String(A(B())))
147147
148148
149149 func X () = valueOrErrorMessage(getString(H()), "3GGN: There is no game name defined!")
150150
151151
152152 func Y () = valueOrErrorMessage(getString(I()), "3GLGN: There is no long game name defined!")
153153
154154
155155 func Z () = valueOrErrorMessage(getString(J()), "3GNN: There is no nft name defined!")
156156
157157
158158 func aa () = Address(fromBase58String(w(W(), D())))
159159
160160
161161 func ab () = Address(fromBase58String(w(W(), E())))
162162
163163
164164 func ac () = Address(fromBase58String(w(W(), G())))
165165
166166
167167 func ad () = Address(fromBase58String(w(W(), F())))
168168
169169
170170 func ae () = fromBase58String(w(W(), C()))
171171
172172
173173 func af () = fromBase58String(w(W(), K()))
174174
175175
176176 func ag () = Address(fromBase58String(w(W(), R())))
177177
178178
179179 func ah () = Address(fromBase58String(w(W(), V())))
180180
181181
182182 func ai () = fromBase58String(A(L()))
183183
184184
185185 func aj () = a(M())
186186
187187
188188 func ak () = a(N())
189189
190190
191191 func al () = a(O())
192192
193193
194194 func am () = fromBase58String(A(P()))
195195
196196
197197 func an (T) = valueOrErrorMessage(getInteger(S(toString(T))), "3GBPFL: There is no price value for this level of booster")
198198
199199
200200 func ao (T) = valueOrErrorMessage(getString(U(toString(T))), "3GBNFL: There is no such booster")
201201
202202
203203 func ap (aq) = if (isDefined(aq.assetId))
204204 then throw("RCAP: Please attach waves")
205205 else {
206206 let ar = getIntegerValue(W(), Q())
207207 if ((aq.amount != ar))
208208 then throw((("RCAP: Please attach exactly " + toString(ar)) + " amount of wavelets"))
209209 else [ScriptTransfer(ag(), ar, unit)]
210210 }
211211
212212
213213 func as (at) = {
214214 let c = at
215215 if ($isInstanceOf(c, "String"))
216216 then {
217217 let au = c
218218 au
219219 }
220220 else throw("3AS: wrong type, expected: String")
221221 }
222222
223223
224224 func av (m,aw,ax) = {
225225 let i = value(ax.assetId)
226226 let ay = value(assetInfo(i)).issuer
227227 let az = r(i)
228228 let v = az._1
229229 let u = az._2
230230 let aA = n(aw)
231231 let aB = a(aA)
232232 let aC = l(aw)
233233 let aD = (a(aC) - aB)
234234 if ((ax.amount != 1))
235235 then throw("NFT is not attached")
236236 else if (if ((ay != aa()))
237237 then (ay != ab())
238238 else false)
239239 then throw("ivalid NFT attached")
240240 else if ((0 >= aD))
241241 then throw(("No spots available in hunt for: " + aw))
242242 else {
243243 let aE = ((("address_" + toString(this)) + "_perchesAvailable_") + v)
244244 let aF = {
245245 let c = getInteger(ad(), aE)
246246 if ($isInstanceOf(c, "Int"))
247247 then {
248248 let d = c
249249 d
250250 }
251251 else 0
252252 }
253253 if ((aF == aF))
254254 then {
255255 let aG = ae()
256256 [IntegerEntry(aA, (aB + 1)), StringEntry(k(i), m), BooleanEntry(o(m, toBase58String(i)), true), IntegerEntry(h(i), (lastBlock.timestamp + ak())), BooleanEntry(q(m, toBase58String(i)), true)]
257257 }
258258 else throw("Strict value is not equal to itself.")
259259 }
260260 }
261261
262262
263263 func aH (p,m) = {
264264 let i = fromBase58String(p)
265265 let az = r(i)
266266 let v = az._1
267267 let u = az._2
268268 let aA = n(m)
269269 let aI = k(i)
270270 let aJ = (a(h(i)) - lastBlock.timestamp)
271271 if ((A(aI) != m))
272272 then throw("3IULD: The duck is not yours")
273273 else if ((aJ > 0))
274274 then throw((("3IUL: You need to wait to unlock " + toString((aJ / 1000))) + " seconds"))
275275 else [IntegerEntry(j(i), (lastBlock.timestamp + al()))]
276276 }
277277
278278
279279 func aK (p,m,aL) = {
280280 let i = fromBase58String(p)
281281 let az = r(i)
282282 let v = az._1
283283 let u = az._2
284284 let aA = n(aL)
285285 let aI = k(i)
286286 let aJ = (a(j(i)) - lastBlock.timestamp)
287287 if ((A(aI) != m))
288288 then throw("3UD: The duck is not yours")
289289 else if ((aJ > 0))
290290 then throw((("3UD: You need to wait to unlock " + toString((aJ / 1000))) + " seconds"))
291291 else [ScriptTransfer(Address(fromBase58String(m)), 1, i), DeleteEntry(o(m, p)), DeleteEntry(aI), IntegerEntry(aA, (a(aA) - 1))]
292292 }
293293
294294
295295 @Callable(aM)
296296 func buyAccessItemInternal (m) = if ((aM.caller != this))
297297 then throw("3BAII: internal use only")
298298 else {
299299 let aN = Issue(("ACCESS-" + X()), ((("[Access] " + Y()) + " access NFT for ") + Z()), 1, 0, false)
300300 let aO = toBase58String(calculateAssetId(aN))
301301 let aC = l(m)
302302 $Tuple2([aN, StringEntry((("accessItem_" + aO) + "_owner"), m), StringEntry((("address_" + m) + "_owning"), aO), IntegerEntry(aC, (a(aC) + 1))], aO)
303303 }
304304
305305
306306
307307 @Callable(aM)
308308 func configureOracle (aP,aQ,aR,aS) = if ((aM.caller != this))
309309 then throw("3CO: admin only")
310310 else [StringEntry("static_oracleAddress", aP), StringEntry("static_shortGameName", aQ), StringEntry("static_longGameName", aR), StringEntry("static_nftName", aS)]
311311
312312
313313
314314 @Callable(aM)
315315 func deleteSetting (b) = if ((aM.caller != this))
316316 then throw("3DS: Only administrator can call this method")
317317 else [DeleteEntry(b)]
318318
319319
320320
321321 @Callable(aM)
322322 func buyAccessItemAndLockDuck () = {
323323 let aT = value(aM.payments[0])
324324 let aU = value(aM.payments[1])
325325 let m = toString(aM.originCaller)
326326 if ((aT.assetId != ai()))
327327 then throw("3BAI: Wrong asset attached")
328328 else if ((aT.amount != aj()))
329329 then throw("3BAI: Wrong amount of assets attached")
330330 else {
331331 let aV = as(invoke(this, "buyAccessItemInternal", [m], nil))
332332 if ((aV == aV))
333333 then {
334334 let aW = invoke(ah(), "burnAttachedPayments", nil, [AttachedPayment(ae(), aT.amount)])
335335 if ((aW == aW))
336336 then {
337337 let aX = if ((aM.caller == ac()))
338338 then nil
339339 else ap(aM.payments[2])
340340 if ((aX == aX))
341341 then {
342342 let aY = (av(m, m, aU) ++ aX)
343343 $Tuple2(aY, aV)
344344 }
345345 else throw("Strict value is not equal to itself.")
346346 }
347347 else throw("Strict value is not equal to itself.")
348348 }
349349 else throw("Strict value is not equal to itself.")
350350 }
351351 }
352352
353353
354354
355355 @Callable(aM)
356356 func buyAccessItem () = {
357357 let m = toString(aM.originCaller)
358358 let aT = value(aM.payments[0])
359359 if ((aT.assetId != ai()))
360360 then throw(("3BAI: Wrong asset attached " + toBase58String(ai())))
361361 else if ((aT.amount != aj()))
362362 then throw("3BAI: Wrong amount of assets attached")
363363 else {
364364 let aV = as(invoke(this, "buyAccessItemInternal", [m], nil))
365365 if ((aV == aV))
366366 then {
367367 let aW = invoke(ah(), "burnAttachedPayments", nil, [AttachedPayment(ae(), aT.amount)])
368368 if ((aW == aW))
369369 then {
370370 let aX = if ((aM.caller == ac()))
371371 then nil
372372 else ap(aM.payments[1])
373373 if ((aX == aX))
374374 then $Tuple2(aX, aV)
375375 else throw("Strict value is not equal to itself.")
376376 }
377377 else throw("Strict value is not equal to itself.")
378378 }
379379 else throw("Strict value is not equal to itself.")
380380 }
381381 }
382382
383383
384384
385385 @Callable(aM)
386386 func buyAccessItemOther (aZ) = {
387387 let aT = value(aM.payments[0])
388388 if ((aT.assetId != ai()))
389389 then throw("3BAI: Wrong asset attached")
390390 else if ((aT.amount != aj()))
391391 then throw("3BAI: Wrong amount of assets attached")
392392 else {
393393 let aV = as(invoke(this, "buyAccessItemInternal", [aZ], nil))
394394 if ((aV == aV))
395395 then {
396396 let aW = invoke(ah(), "burnAttachedPayments", nil, [AttachedPayment(ae(), aT.amount)])
397397 if ((aW == aW))
398398 then $Tuple2(nil, aV)
399399 else throw("Strict value is not equal to itself.")
400400 }
401401 else throw("Strict value is not equal to itself.")
402402 }
403403 }
404404
405405
406406
407407 @Callable(aM)
408408 func lockDuck () = {
409409 let m = toString(aM.originCaller)
410410 let aU = value(aM.payments[0])
411411 let aX = ap(aM.payments[1])
412412 if ((aX == aX))
413413 then (av(m, m, aU) ++ aX)
414414 else throw("Strict value is not equal to itself.")
415415 }
416416
417417
418418
419419 @Callable(aM)
420420 func initUnlock (p) = {
421421 let m = toString(aM.caller)
422422 let aX = ap(aM.payments[0])
423423 if ((aX == aX))
424424 then (aH(p, m) ++ aX)
425425 else throw("Strict value is not equal to itself.")
426426 }
427427
428428
429429
430430 @Callable(aM)
431431 func lockDuckRenting (ba) = if ((aM.caller != ac()))
432432 then throw("3UDO: Renting only!")
433433 else {
434434 let m = toString(aM.caller)
435435 let aU = value(aM.payments[0])
436436 av(m, ba, aU)
437437 }
438438
439439
440440
441441 @Callable(aM)
442442 func unlockDuckRenting (p,aL) = if ((aM.caller != ac()))
443443 then throw("3UDO: Renting only!")
444444 else {
445445 let m = toString(aM.caller)
446446 aK(p, m, aL)
447447 }
448448
449449
450450
451451 @Callable(aM)
452452 func unlockDuckOther (p) = if ((aM.caller != this))
453453 then throw("3UDO: Admin only!")
454454 else {
455455 let bb = A(k(fromBase58String(p)))
456456 aK(p, bb, bb)
457457 }
458458
459459
460460
461461 @Callable(aM)
462462 func unlockDuck (p,bc,bd,be) = if ((bd != true))
463463 then throw("3UD: Not allowed to unlock the duck!")
464464 else {
465465 let bf = 3600000
466466 let bg = lastBlock.timestamp
467467 if ((bg > (bc + bf)))
468468 then throw("3UD: Outdated signature!")
469469 else {
470470 let m = toString(aM.caller)
471471 let bh = makeString([p, toString(bc), toString(bd)], ";")
472472 if (!(sigVerify_8Kb(toBytes(bh), fromBase58String(be), af())))
473473 then throw(((("3UD: Invalid proof from backend key" + toBase58String(af())) + " ") + bh))
474474 else {
475475 let aX = ap(aM.payments[0])
476476 if ((aX == aX))
477477 then (aK(p, m, m) ++ aX)
478478 else throw("Strict value is not equal to itself.")
479479 }
480480 }
481481 }
482482
483483
484484 @Verifier(bi)
485485 func bj () = if (e())
486486 then sigVerify(bi.bodyBytes, bi.proofs[0], bi.senderPublicKey)
487487 else {
488488 let bk = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
489489 let bl = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
490490 let bm = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
491491 let bn = if (sigVerify(bi.bodyBytes, bi.proofs[0], bk))
492492 then 1
493493 else if (sigVerify(bi.bodyBytes, bi.proofs[1], bk))
494494 then 1
495495 else if (sigVerify(bi.bodyBytes, bi.proofs[2], bk))
496496 then 1
497497 else 0
498498 let bo = if (sigVerify(bi.bodyBytes, bi.proofs[0], bl))
499499 then 1
500500 else if (sigVerify(bi.bodyBytes, bi.proofs[1], bl))
501501 then 1
502502 else if (sigVerify(bi.bodyBytes, bi.proofs[2], bl))
503503 then 1
504504 else 0
505505 let bp = if (sigVerify(bi.bodyBytes, bi.proofs[0], bm))
506506 then 1
507507 else if (sigVerify(bi.bodyBytes, bi.proofs[1], bm))
508508 then 1
509509 else if (sigVerify(bi.bodyBytes, bi.proofs[2], bm))
510510 then 1
511511 else 0
512512 let bq = ((bn + bo) + bp)
513513 let c = bi
514514 (bq >= 2)
515515 }
516516

github/deemru/w8io/026f985 
32.33 ms