tx · 2TSPXaAHWVq8Qor35WL4FtbCcsrQXAJWYjfQLuagGBSn

3MwFCBSWkWf9JMqmRyN5WEdoF2MCEPUB1Jx:  -0.01600000 Waves

2024.10.07 20:23 [3316718] smart account 3MwFCBSWkWf9JMqmRyN5WEdoF2MCEPUB1Jx > SELF 0.00000000 Waves

{ "type": 13, "id": "2TSPXaAHWVq8Qor35WL4FtbCcsrQXAJWYjfQLuagGBSn", "fee": 1600000, "feeAssetId": null, "timestamp": 1728321847464, "version": 2, "chainId": 84, "sender": "3MwFCBSWkWf9JMqmRyN5WEdoF2MCEPUB1Jx", "senderPublicKey": "BVdzAdt4eF9ScXGp5dwKiwoMQXBwMDeVSxLhL4LT1ceu", "proofs": [ "QtyCQxbJDi9NbLTdFZhJohSWeH4RNGeScyHZUhTkjud86hAdhAATmUTEoH2g6i1eqKrvhajPmSFHnhqEb79ikX5" ], "script": "base64:BgIyCAISAwoBCBIECgIIARIDCgEIEgQKAggBEgMKAQgSBAoCCAESAwoBARIDCgEIEgMKAQg6AQlpc1Rlc3RFbnYABAd0ZXN0ZW52BAckbWF0Y2gwCQCbCAIFBHRoaXMCB1RFU1RFTlYDCQABAgUHJG1hdGNoMAIHQm9vbGVhbgQBeAUHJG1hdGNoMAUBeAcFB3Rlc3RlbnYBFHRyeUdldFN0cmluZ0V4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAnQgCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAFhBQckbWF0Y2gwBQFhAgABDXRyeUdldEJvb2xlYW4BA2tleQQHJG1hdGNoMAkAoAgBBQNrZXkDCQABAgUHJG1hdGNoMAIHQm9vbGVhbgQBYgUHJG1hdGNoMAUBYgcBDHRyeUdldFN0cmluZwEDa2V5CQEUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwCBQR0aGlzBQNrZXkBDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQAB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AwIIBQJ0eAZwcm9vZnMAAAUKc2Vjb25kVXNlcgABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUKc2Vjb25kVXNlcgABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgUKc2Vjb25kVXNlcgABAAAED3RoaXJkVXNlclNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFCXRoaXJkVXNlcgABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUJdGhpcmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQl0aGlyZFVzZXIAAQAABA9zaWduYXR1cmVzQ291bnQJAGQCCQBkAgUPZmlyc3RVc2VyU2lnbmVkBRBzZWNvbmRVc2VyU2lnbmVkBQ90aGlyZFVzZXJTaWduZWQEByRtYXRjaDAFAnR4CQBnAgUPc2lnbmF0dXJlc0NvdW50AAJjwDzR", "height": 3316718, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: HPAhB4UqYkF3VhEhQECaCuhmiEjN8k8LhJAfg4RhvPtA Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func a () = {
5+ let b = {
6+ let c = getBoolean(this, "TESTENV")
7+ if ($isInstanceOf(c, "Boolean"))
8+ then {
9+ let d = c
10+ d
11+ }
12+ else false
13+ }
14+ b
15+ }
16+
17+
18+func e (f,g) = {
19+ let c = getString(f, g)
20+ if ($isInstanceOf(c, "String"))
21+ then {
22+ let h = c
23+ h
24+ }
25+ else ""
26+ }
27+
28+
29+func i (g) = {
30+ let c = getBoolean(g)
31+ if ($isInstanceOf(c, "Boolean"))
32+ then {
33+ let j = c
34+ j
35+ }
36+ else false
37+ }
38+
39+
40+func k (g) = e(this, g)
41+
42+
43+func l (g) = {
44+ let c = getInteger(this, g)
45+ if ($isInstanceOf(c, "Int"))
46+ then {
47+ let j = c
48+ j
49+ }
50+ else 0
51+ }
52+
53+
54+func m () = Address(fromBase58String(k("static_oracleAddress")))
55+
56+
57+func n () = "static_turtleStakingAddress"
58+
59+
60+func o () = "static_turtleRebirthAddress"
61+
62+
63+func p () = "static_ropeAddress"
64+
65+
66+func q () = "static_levelSystemAddress"
67+
68+
69+func r () = "static_spiceAssetId"
70+
71+
72+func s () = "static_marketplaceAddress"
73+
74+
75+func t () = "static_capacityAddress"
76+
77+
78+func u () = "static_veggFarmingAddress"
79+
80+
81+func v () = "static_itemsAddress"
82+
83+
84+func w () = "static_mutantFarmingAddress"
85+
86+
87+func x () = "static_canineBreederAddress"
88+
89+
90+func y () = "static_felineBreederAddress"
91+
92+
93+func z () = "static_turtleBreederAddress"
94+
95+
96+func A () = Address(fromBase58String(e(m(), "static_rebirthAddress")))
97+
98+
99+func B () = Address(fromBase58String(e(m(), "static_incubatorAddress")))
100+
101+
102+func C () = Address(fromBase58String(e(m(), "static_farmingAddressNew")))
103+
104+
105+func D () = Address(fromBase58String(e(m(), "static_gameDappAddress")))
106+
107+
108+func E () = Address(fromBase58String(e(m(), t())))
109+
110+
111+func F () = Address(fromBase58String(e(m(), "static_burnAddress")))
112+
113+
114+func G () = Address(fromBase58String(e(m(), "static_babyDuckAddress")))
115+
116+
117+func H () = Address(fromBase58String(e(m(), "static_breederAddress")))
118+
119+
120+func I () = Address(fromBase58String(e(m(), "static_cfMasterAddress")))
121+
122+
123+func J () = Address(fromBase58String(e(m(), n())))
124+
125+
126+func K () = Address(fromBase58String(e(m(), o())))
127+
128+
129+func L () = Address(fromBase58String(e(m(), p())))
130+
131+
132+func M () = fromBase58String(e(m(), r()))
133+
134+
135+func N () = Address(fromBase58String(e(m(), q())))
136+
137+
138+func O () = Address(fromBase58String(e(m(), s())))
139+
140+
141+func P () = Address(fromBase58String(e(m(), u())))
142+
143+
144+func Q () = Address(fromBase58String(e(m(), v())))
145+
146+
147+func R () = Address(fromBase58String(e(m(), w())))
148+
149+
150+func S () = Address(fromBase58String(e(m(), "static_canineStakingAddress")))
151+
152+
153+func T () = Address(fromBase58String(e(m(), "static_felineStakingAddress")))
154+
155+
156+func U () = Address(fromBase58String(e(m(), x())))
157+
158+
159+func V () = Address(fromBase58String(e(m(), y())))
160+
161+
162+func W () = Address(fromBase58String(e(m(), z())))
163+
164+
165+let X = fromBase58String(valueOrErrorMessage(getString(m(), "static_warsPKey"), "static_warsPKey not defined"))
166+
167+let Y = [A(), B(), C(), D(), G(), H(), J(), K(), L(), N(), O(), E(), R(), S(), T(), U(), V(), W(), this]
168+
169+func Z (aa) = (aa + "_spend")
170+
171+
172+func ab (aa) = (aa + "_active")
173+
174+
175+func ac (aa) = (ab(aa) + "_old")
176+
177+
178+func ad (ae) = (ae + "_spend_by_using")
179+
180+
181+func af (aa,ag,ah,ai) = (((((((ah + "_") + ag) + "_") + aa) + "_") + ai) + "_actions")
182+
183+
184+func aj (aa,ag) = (((ag + "_") + aa) + "_actions_check_day")
185+
186+
187+func ak (aa,ag) = (((ag + "_") + aa) + "_actions_amount_in_row")
188+
189+
190+func al (aa) = (aa + "_experience")
191+
192+
193+func am (aa,an) = {
194+ let ao = ac(aa)
195+ let g = ab(aa)
196+ let ap = l(g)
197+ let aq = (ap + an)
198+[IntegerEntry(ao, ap), IntegerEntry(g, aq)]
199+ }
200+
201+
202+let ar = 1695427200000
203+
204+func as () = {
205+ let at = (lastBlock.timestamp - ar)
206+ let au = (at / (86400 * 1000))
207+ au
208+ }
209+
210+
211+func av (ai,f,aw,ax,ay) = {
212+ let az = al(f)
213+ let aA = l(az)
214+ let aB = aj(f, aw)
215+ let aC = ak(f, aw)
216+ let aD = l(aB)
217+ let aE = l(aC)
218+ let aF = if ((aD == (ai - 1)))
219+ then (aE + 1)
220+ else if (((ai - 1) > aD))
221+ then 1
222+ else 0
223+ let aG = ai
224+ let aH = if ((aF == 7))
225+ then [ScriptTransfer(addressFromStringValue(f), ay, M()), IntegerEntry(aC, 0)]
226+ else [IntegerEntry(aC, aF)]
227+ ([IntegerEntry(aB, aG), ScriptTransfer(addressFromStringValue(f), ax, M()), IntegerEntry(az, (aA + 1))] ++ aH)
228+ }
229+
230+
231+func aI (aw,aJ,an,ai) = {
232+ let aK = if (i((("TASK_" + aw) + "_EVERY")))
233+ then aw
234+ else ((aw + "_") + toString(an))
235+ if (i(("TASK_" + aK)))
236+ then av(ai, toString(aJ), aK, l((("TASK_" + aK) + "_REWARD_DAILY")), l((("TASK_" + aK) + "_REWARD_WEEKLY")))
237+ else nil
238+ }
239+
240+
241+func aL (aw,aM,f) = if (!(containsElement(Y, aM)))
242+ then throw("CRA: Only certain smart contracts can use this reward module!")
243+ else {
244+ let ai = as()
245+ let aN = af(toString(f), aw, toString(aM), toString(ai))
246+ let aO = (l(aN) + 1)
247+ ([IntegerEntry(aN, aO)] ++ aI(aw, f, aO, ai))
248+ }
249+
250+
251+@Callable(aP)
252+func configureOracle (aQ) = if ((aP.caller != this))
253+ then throw("CCO: admin only")
254+ else [StringEntry("static_oracleAddress", aQ)]
255+
256+
257+
258+@Callable(aP)
259+func addCoupons (aa,an) = if (if ((aP.caller != this))
260+ then (aP.callerPublicKey != X)
261+ else false)
262+ then throw("CAC: admin only")
263+ else if ((an >= 10000000))
264+ then (aL("VEGG10000000", this, addressFromStringValue(aa)) ++ am(aa, an))
265+ else if ((an >= 500000))
266+ then (aL("VEGG500000", this, addressFromStringValue(aa)) ++ am(aa, an))
267+ else am(aa, an)
268+
269+
270+
271+@Callable(aP)
272+func resetCheater (aa) = if (if ((aP.caller != this))
273+ then (aP.callerPublicKey != X)
274+ else false)
275+ then throw("CAC: admin only")
276+ else {
277+ let ao = ac(aa)
278+ let g = ab(aa)
279+ let ap = l(g)
280+ let aq = -100000000
281+[IntegerEntry(ao, ap), IntegerEntry(g, aq)]
282+ }
283+
284+
285+
286+@Callable(aP)
287+func addCouponsFarming (aa,an) = if ((aP.caller != P()))
288+ then throw("Method only for farming sc!")
289+ else am(aa, an)
290+
291+
292+
293+@Callable(aP)
294+func addCouponsBatch (aR) = if (if ((aP.caller != this))
295+ then (aP.callerPublicKey != X)
296+ else false)
297+ then throw("CAC: admin only")
298+ else {
299+ let aS = split(aR, ";")
300+ func aT (aU,aV) = {
301+ let aW = split(aV, ":")
302+ let aa = aW[0]
303+ let an = parseIntValue(aW[1])
304+ let aX = invoke(F(), "burnByInvoke", [an], nil)
305+ if ((aX == aX))
306+ then if ((an >= 10000000))
307+ then ((aU ++ aL("VEGG10000000", this, addressFromStringValue(aa))) ++ am(aa, an))
308+ else if ((an >= 500000))
309+ then ((aU ++ aL("VEGG500000", this, addressFromStringValue(aa))) ++ am(aa, an))
310+ else (aU ++ am(aa, an))
311+ else throw("Strict value is not equal to itself.")
312+ }
313+
314+ let aY = aS
315+ let aZ = size(aY)
316+ let ba = nil
317+ func bb (bc,bd) = if ((bd >= aZ))
318+ then bc
319+ else aT(bc, aY[bd])
320+
321+ func be (bc,bd) = if ((bd >= aZ))
322+ then bc
323+ else throw("List size exceeds 20")
324+
325+ be(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(bb(ba, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
326+ }
327+
328+
329+
330+@Callable(aP)
331+func CFRefund (bf,an) = {
332+ let bg = getStringValue(aP.caller, "CF_ADDRESS")
333+ let g = (("f_" + bg) + "_stake_address")
334+ let bh = getStringValue(I(), g)
335+ if ((bh != toString(aP.caller)))
336+ then throw("CCR: This is something fishy going on!")
337+ else am(bf, an)
338+ }
339+
340+
341+
342+@Callable(aP)
343+func useCoupons (bi) = {
344+ let bj = aP.caller
345+ if ((0 > bi))
346+ then throw("CUC: Only positive amount of money can be paid!")
347+ else if (!(containsElement(Y, bj)))
348+ then throw("CUC: Only certain smart contracts can use this coupon module!")
349+ else {
350+ let aa = toString(aP.originCaller)
351+ let bk = ab(aa)
352+ let bl = l(bk)
353+ if ((0 > bl))
354+ then throw("CUC: Get rekt!")
355+ else {
356+ let bm = if ((bi > bl))
357+ then (bi - bl)
358+ else 0
359+ let bn = (bi - bm)
360+ let bo = (bl - bn)
361+ if ((0 > bo))
362+ then throw("CUC: You try to overspend!")
363+ else {
364+ let bp = Z(aa)
365+ let ao = ac(aa)
366+ let bq = ad(toString(aP.caller))
367+ let br = invoke(P(), "topUpReward", [((bn / 100) * 25)], nil)
368+ if ((br == br))
369+ then {
370+ let bs = (l(bp) + bn)
371+ let bt = (l(bq) + bn)
372+ $Tuple2([IntegerEntry(bp, bs), IntegerEntry(ao, bl), IntegerEntry(bk, bo), IntegerEntry(bq, bt)], bn)
373+ }
374+ else throw("Strict value is not equal to itself.")
375+ }
376+ }
377+ }
378+ }
379+
380+
381+
382+@Callable(aP)
383+func recordAction (aw) = aL(aw, aP.caller, aP.originCaller)
384+
385+
386+
387+@Callable(aP)
388+func increaseExp (f) = if ((aP.caller != Q()))
389+ then nil
390+ else {
391+ let az = al(f)
392+ let aA = l(az)
393+[IntegerEntry(az, (aA + 1))]
394+ }
395+
396+
397+@Verifier(bu)
398+func bv () = if (a())
399+ then sigVerify(bu.bodyBytes, bu.proofs[0], bu.senderPublicKey)
400+ else {
401+ let bw = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
402+ let bx = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
403+ let by = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
404+ let bz = if (sigVerify(bu.bodyBytes, bu.proofs[0], bw))
405+ then 1
406+ else if (sigVerify(bu.bodyBytes, bu.proofs[1], bw))
407+ then 1
408+ else if (sigVerify(bu.bodyBytes, bu.proofs[2], bw))
409+ then 1
410+ else 0
411+ let bA = if (sigVerify(bu.bodyBytes, bu.proofs[0], bx))
412+ then 1
413+ else if (sigVerify(bu.bodyBytes, bu.proofs[1], bx))
414+ then 1
415+ else if (sigVerify(bu.bodyBytes, bu.proofs[2], bx))
416+ then 1
417+ else 0
418+ let bB = if (sigVerify(bu.bodyBytes, bu.proofs[0], by))
419+ then 1
420+ else if (sigVerify(bu.bodyBytes, bu.proofs[1], by))
421+ then 1
422+ else if (sigVerify(bu.bodyBytes, bu.proofs[2], by))
423+ then 1
424+ else 0
425+ let bC = ((bz + bA) + bB)
426+ let c = bu
427+ (bC >= 2)
428+ }
429+

github/deemru/w8io/169f3d6 
28.87 ms