tx · 8FSoyBhfeBgJqdJtWvCvytk9MSkftsoCzxfjB3uAAEe7

3Moxfr1c53DJoiy5eHzocn6PRWkSng4QGt5:  -0.01700000 Waves

2024.10.18 21:00 [3332570] smart account 3Moxfr1c53DJoiy5eHzocn6PRWkSng4QGt5 > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
66.94 ms