tx · GawZ3g3uLJqCgFPbbjuaS6rfNwHPCk55myHb38Q1cbhb

3MwFCBSWkWf9JMqmRyN5WEdoF2MCEPUB1Jx:  -0.01600000 Waves

2024.12.09 20:53 [3407396] smart account 3MwFCBSWkWf9JMqmRyN5WEdoF2MCEPUB1Jx > SELF 0.00000000 Waves

{ "type": 13, "id": "GawZ3g3uLJqCgFPbbjuaS6rfNwHPCk55myHb38Q1cbhb", "fee": 1600000, "feeAssetId": null, "timestamp": 1733766817370, "version": 2, "chainId": 84, "sender": "3MwFCBSWkWf9JMqmRyN5WEdoF2MCEPUB1Jx", "senderPublicKey": "BVdzAdt4eF9ScXGp5dwKiwoMQXBwMDeVSxLhL4LT1ceu", "proofs": [ "3Cj2dYJD4PdgeE2UUvgveaSVp4vmCcAHu7ieEAn3zRwneu5mu9cNBUEnQshKu8SeS3j3YyGReJjTf9LiVV175JPp" ], "script": "base64:BgIyCAISAwoBCBIECgIIARIDCgEIEgQKAggBEgMKAQgSBAoCCAESAwoBARIDCgEIEgMKAQg6AQlpc1Rlc3RFbnYABAd0ZXN0ZW52BAckbWF0Y2gwCQCbCAIFBHRoaXMCB1RFU1RFTlYDCQABAgUHJG1hdGNoMAIHQm9vbGVhbgQBeAUHJG1hdGNoMAUBeAcFB3Rlc3RlbnYBFHRyeUdldFN0cmluZ0V4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAnQgCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAFhBQckbWF0Y2gwBQFhAgABDXRyeUdldEJvb2xlYW4BA2tleQQHJG1hdGNoMAkAoAgBBQNrZXkDCQABAgUHJG1hdGNoMAIHQm9vbGVhbgQBYgUHJG1hdGNoMAUBYgcBDHRyeUdldFN0cmluZwEDa2V5CQEUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwCBQR0aGlzBQNrZXkBDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDC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NRCbUzpShJa2amf Diff:
OldNewDifferences
369369 let br = invoke(P(), "topUpReward", [((bn / 100) * 25)], nil)
370370 if ((br == br))
371371 then {
372- let bs = (l(bp) + bn)
373- let bt = (l(bq) + bn)
374- $Tuple2([IntegerEntry(bp, bs), IntegerEntry(ao, bl), IntegerEntry(bk, bo), IntegerEntry(bq, bt)], bn)
372+ let bs = if ((bj == R()))
373+ then unit
374+ else invoke(R(), "topUpReward", ["VEGG", ((bn / 100) * 15)], nil)
375+ if ((bs == bs))
376+ then {
377+ let bt = (l(bp) + bn)
378+ let bu = (l(bq) + bn)
379+ $Tuple2([IntegerEntry(bp, bt), IntegerEntry(ao, bl), IntegerEntry(bk, bo), IntegerEntry(bq, bu)], bn)
380+ }
381+ else throw("Strict value is not equal to itself.")
375382 }
376383 else throw("Strict value is not equal to itself.")
377384 }
396403 }
397404
398405
399-@Verifier(bu)
400-func bv () = if (a())
401- then sigVerify(bu.bodyBytes, bu.proofs[0], bu.senderPublicKey)
406+@Verifier(bv)
407+func bw () = if (a())
408+ then sigVerify(bv.bodyBytes, bv.proofs[0], bv.senderPublicKey)
402409 else {
403- let bw = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
404- let bx = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
405- let by = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
406- let bz = if (sigVerify(bu.bodyBytes, bu.proofs[0], bw))
410+ let bx = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
411+ let by = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
412+ let bz = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
413+ let bA = if (sigVerify(bv.bodyBytes, bv.proofs[0], bx))
407414 then 1
408- else if (sigVerify(bu.bodyBytes, bu.proofs[1], bw))
415+ else if (sigVerify(bv.bodyBytes, bv.proofs[1], bx))
409416 then 1
410- else if (sigVerify(bu.bodyBytes, bu.proofs[2], bw))
417+ else if (sigVerify(bv.bodyBytes, bv.proofs[2], bx))
411418 then 1
412419 else 0
413- let bA = if (sigVerify(bu.bodyBytes, bu.proofs[0], bx))
420+ let bB = if (sigVerify(bv.bodyBytes, bv.proofs[0], by))
414421 then 1
415- else if (sigVerify(bu.bodyBytes, bu.proofs[1], bx))
422+ else if (sigVerify(bv.bodyBytes, bv.proofs[1], by))
416423 then 1
417- else if (sigVerify(bu.bodyBytes, bu.proofs[2], bx))
424+ else if (sigVerify(bv.bodyBytes, bv.proofs[2], by))
418425 then 1
419426 else 0
420- let bB = if (sigVerify(bu.bodyBytes, bu.proofs[0], by))
427+ let bC = if (sigVerify(bv.bodyBytes, bv.proofs[0], bz))
421428 then 1
422- else if (sigVerify(bu.bodyBytes, bu.proofs[1], by))
429+ else if (sigVerify(bv.bodyBytes, bv.proofs[1], bz))
423430 then 1
424- else if (sigVerify(bu.bodyBytes, bu.proofs[2], by))
431+ else if (sigVerify(bv.bodyBytes, bv.proofs[2], bz))
425432 then 1
426433 else 0
427- let bC = ((bz + bA) + bB)
428- let c = bu
429- (bC >= 2)
434+ let bD = ((bA + bB) + bC)
435+ let c = bv
436+ (bD >= 1)
430437 }
431438
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a () = {
55 let b = {
66 let c = getBoolean(this, "TESTENV")
77 if ($isInstanceOf(c, "Boolean"))
88 then {
99 let d = c
1010 d
1111 }
1212 else false
1313 }
1414 b
1515 }
1616
1717
1818 func e (f,g) = {
1919 let c = getString(f, g)
2020 if ($isInstanceOf(c, "String"))
2121 then {
2222 let h = c
2323 h
2424 }
2525 else ""
2626 }
2727
2828
2929 func i (g) = {
3030 let c = getBoolean(g)
3131 if ($isInstanceOf(c, "Boolean"))
3232 then {
3333 let j = c
3434 j
3535 }
3636 else false
3737 }
3838
3939
4040 func k (g) = e(this, g)
4141
4242
4343 func l (g) = {
4444 let c = getInteger(this, g)
4545 if ($isInstanceOf(c, "Int"))
4646 then {
4747 let j = c
4848 j
4949 }
5050 else 0
5151 }
5252
5353
5454 func m () = Address(fromBase58String(k("static_oracleAddress")))
5555
5656
5757 func n () = "static_turtleStakingAddress"
5858
5959
6060 func o () = "static_turtleRebirthAddress"
6161
6262
6363 func p () = "static_ropeAddress"
6464
6565
6666 func q () = "static_levelSystemAddress"
6767
6868
6969 func r () = "static_spiceAssetId"
7070
7171
7272 func s () = "static_marketplaceAddress"
7373
7474
7575 func t () = "static_capacityAddress"
7676
7777
7878 func u () = "static_veggFarmingAddress"
7979
8080
8181 func v () = "static_itemsAddress"
8282
8383
8484 func w () = "static_mutantFarmingAddress"
8585
8686
8787 func x () = "static_canineBreederAddress"
8888
8989
9090 func y () = "static_felineBreederAddress"
9191
9292
9393 func z () = "static_turtleBreederAddress"
9494
9595
9696 func A () = Address(fromBase58String(e(m(), "static_rebirthAddress")))
9797
9898
9999 func B () = Address(fromBase58String(e(m(), "static_incubatorAddress")))
100100
101101
102102 func C () = Address(fromBase58String(e(m(), "static_farmingAddressNew")))
103103
104104
105105 func D () = Address(fromBase58String(e(m(), "static_gameDappAddress")))
106106
107107
108108 func E () = Address(fromBase58String(e(m(), t())))
109109
110110
111111 func F () = Address(fromBase58String(e(m(), "static_burnAddress")))
112112
113113
114114 func G () = Address(fromBase58String(e(m(), "static_babyDuckAddress")))
115115
116116
117117 func H () = Address(fromBase58String(e(m(), "static_breederAddress")))
118118
119119
120120 func I () = Address(fromBase58String(e(m(), "static_cfMasterAddress")))
121121
122122
123123 func J () = Address(fromBase58String(e(m(), n())))
124124
125125
126126 func K () = Address(fromBase58String(e(m(), o())))
127127
128128
129129 func L () = Address(fromBase58String(e(m(), p())))
130130
131131
132132 func M () = fromBase58String(e(m(), r()))
133133
134134
135135 func N () = Address(fromBase58String(e(m(), q())))
136136
137137
138138 func O () = Address(fromBase58String(e(m(), s())))
139139
140140
141141 func P () = Address(fromBase58String(e(m(), u())))
142142
143143
144144 func Q () = Address(fromBase58String(e(m(), v())))
145145
146146
147147 func R () = Address(fromBase58String(e(m(), w())))
148148
149149
150150 func S () = Address(fromBase58String(e(m(), "static_canineStakingAddress")))
151151
152152
153153 func T () = Address(fromBase58String(e(m(), "static_felineStakingAddress")))
154154
155155
156156 func U () = Address(fromBase58String(e(m(), x())))
157157
158158
159159 func V () = Address(fromBase58String(e(m(), y())))
160160
161161
162162 func W () = Address(fromBase58String(e(m(), z())))
163163
164164
165165 let X = fromBase58String(valueOrErrorMessage(getString(m(), "static_warsPKey"), "static_warsPKey not defined"))
166166
167167 let Y = [A(), B(), C(), D(), G(), H(), J(), K(), L(), N(), O(), E(), R(), S(), T(), U(), V(), W(), this]
168168
169169 func Z (aa) = (aa + "_spend")
170170
171171
172172 func ab (aa) = (aa + "_active")
173173
174174
175175 func ac (aa) = (ab(aa) + "_old")
176176
177177
178178 func ad (ae) = (ae + "_spend_by_using")
179179
180180
181181 func af (aa,ag,ah,ai) = (((((((ah + "_") + ag) + "_") + aa) + "_") + ai) + "_actions")
182182
183183
184184 func aj (aa,ag) = (((ag + "_") + aa) + "_actions_check_day")
185185
186186
187187 func ak (aa,ag) = (((ag + "_") + aa) + "_actions_amount_in_row")
188188
189189
190190 func al (aa) = (aa + "_experience")
191191
192192
193193 func am (aa,an) = {
194194 let ao = ac(aa)
195195 let g = ab(aa)
196196 let ap = l(g)
197197 let aq = (ap + an)
198198 [IntegerEntry(ao, ap), IntegerEntry(g, aq)]
199199 }
200200
201201
202202 let ar = 1695427200000
203203
204204 func as () = {
205205 let at = (lastBlock.timestamp - ar)
206206 let au = (at / (86400 * 1000))
207207 au
208208 }
209209
210210
211211 func av (ai,f,aw,ax,ay) = {
212212 let az = al(f)
213213 let aA = l(az)
214214 let aB = aj(f, aw)
215215 let aC = ak(f, aw)
216216 let aD = l(aB)
217217 let aE = l(aC)
218218 let aF = if ((aD == (ai - 1)))
219219 then (aE + 1)
220220 else if (((ai - 1) > aD))
221221 then 1
222222 else 0
223223 let aG = ai
224224 let aH = if ((aF == 7))
225225 then [ScriptTransfer(addressFromStringValue(f), ay, M()), IntegerEntry(aC, 0)]
226226 else [IntegerEntry(aC, aF)]
227227 ([IntegerEntry(aB, aG), ScriptTransfer(addressFromStringValue(f), ax, M()), IntegerEntry(az, (aA + 1))] ++ aH)
228228 }
229229
230230
231231 func aI (aw,aJ,an,ai) = {
232232 let aK = if (i((("TASK_" + aw) + "_EVERY")))
233233 then aw
234234 else ((aw + "_") + toString(an))
235235 if (i(("TASK_" + aK)))
236236 then av(ai, toString(aJ), aK, l((("TASK_" + aK) + "_REWARD_DAILY")), l((("TASK_" + aK) + "_REWARD_WEEKLY")))
237237 else nil
238238 }
239239
240240
241241 func aL (aw,aM,f) = if (!(containsElement(Y, aM)))
242242 then throw("CRA: Only certain smart contracts can use this reward module!")
243243 else {
244244 let ai = as()
245245 let aN = af(toString(f), aw, toString(aM), toString(ai))
246246 let aO = (l(aN) + 1)
247247 ([IntegerEntry(aN, aO)] ++ aI(aw, f, aO, ai))
248248 }
249249
250250
251251 @Callable(aP)
252252 func configureOracle (aQ) = if ((aP.caller != this))
253253 then throw("CCO: admin only")
254254 else [StringEntry("static_oracleAddress", aQ)]
255255
256256
257257
258258 @Callable(aP)
259259 func addCoupons (aa,an) = if (if ((aP.caller != this))
260260 then (aP.callerPublicKey != X)
261261 else false)
262262 then throw("CAC: admin only")
263263 else if ((an >= 10000000))
264264 then (aL("VEGG10000000", this, addressFromStringValue(aa)) ++ am(aa, an))
265265 else if ((an >= 500000))
266266 then (aL("VEGG500000", this, addressFromStringValue(aa)) ++ am(aa, an))
267267 else am(aa, an)
268268
269269
270270
271271 @Callable(aP)
272272 func resetCheater (aa) = if (if ((aP.caller != this))
273273 then (aP.callerPublicKey != X)
274274 else false)
275275 then throw("CAC: admin only")
276276 else {
277277 let ao = ac(aa)
278278 let g = ab(aa)
279279 let ap = l(g)
280280 let aq = -100000000
281281 [IntegerEntry(ao, ap), IntegerEntry(g, aq)]
282282 }
283283
284284
285285
286286 @Callable(aP)
287287 func addCouponsFarming (aa,an) = if (if ((aP.caller != P()))
288288 then (aP.caller != R())
289289 else false)
290290 then throw("Method only for farming sc!")
291291 else am(aa, an)
292292
293293
294294
295295 @Callable(aP)
296296 func addCouponsBatch (aR) = if (if ((aP.caller != this))
297297 then (aP.callerPublicKey != X)
298298 else false)
299299 then throw("CAC: admin only")
300300 else {
301301 let aS = split(aR, ";")
302302 func aT (aU,aV) = {
303303 let aW = split(aV, ":")
304304 let aa = aW[0]
305305 let an = parseIntValue(aW[1])
306306 let aX = invoke(F(), "burnByInvoke", [an], nil)
307307 if ((aX == aX))
308308 then if ((an >= 10000000))
309309 then ((aU ++ aL("VEGG10000000", this, addressFromStringValue(aa))) ++ am(aa, an))
310310 else if ((an >= 500000))
311311 then ((aU ++ aL("VEGG500000", this, addressFromStringValue(aa))) ++ am(aa, an))
312312 else (aU ++ am(aa, an))
313313 else throw("Strict value is not equal to itself.")
314314 }
315315
316316 let aY = aS
317317 let aZ = size(aY)
318318 let ba = nil
319319 func bb (bc,bd) = if ((bd >= aZ))
320320 then bc
321321 else aT(bc, aY[bd])
322322
323323 func be (bc,bd) = if ((bd >= aZ))
324324 then bc
325325 else throw("List size exceeds 20")
326326
327327 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)
328328 }
329329
330330
331331
332332 @Callable(aP)
333333 func CFRefund (bf,an) = {
334334 let bg = getStringValue(aP.caller, "CF_ADDRESS")
335335 let g = (("f_" + bg) + "_stake_address")
336336 let bh = getStringValue(I(), g)
337337 if ((bh != toString(aP.caller)))
338338 then throw("CCR: This is something fishy going on!")
339339 else am(bf, an)
340340 }
341341
342342
343343
344344 @Callable(aP)
345345 func useCoupons (bi) = {
346346 let bj = aP.caller
347347 if ((0 > bi))
348348 then throw("CUC: Only positive amount of money can be paid!")
349349 else if (!(containsElement(Y, bj)))
350350 then throw("CUC: Only certain smart contracts can use this coupon module!")
351351 else {
352352 let aa = toString(aP.originCaller)
353353 let bk = ab(aa)
354354 let bl = l(bk)
355355 if ((0 > bl))
356356 then throw("CUC: Get rekt!")
357357 else {
358358 let bm = if ((bi > bl))
359359 then (bi - bl)
360360 else 0
361361 let bn = (bi - bm)
362362 let bo = (bl - bn)
363363 if ((0 > bo))
364364 then throw("CUC: You try to overspend!")
365365 else {
366366 let bp = Z(aa)
367367 let ao = ac(aa)
368368 let bq = ad(toString(aP.caller))
369369 let br = invoke(P(), "topUpReward", [((bn / 100) * 25)], nil)
370370 if ((br == br))
371371 then {
372- let bs = (l(bp) + bn)
373- let bt = (l(bq) + bn)
374- $Tuple2([IntegerEntry(bp, bs), IntegerEntry(ao, bl), IntegerEntry(bk, bo), IntegerEntry(bq, bt)], bn)
372+ let bs = if ((bj == R()))
373+ then unit
374+ else invoke(R(), "topUpReward", ["VEGG", ((bn / 100) * 15)], nil)
375+ if ((bs == bs))
376+ then {
377+ let bt = (l(bp) + bn)
378+ let bu = (l(bq) + bn)
379+ $Tuple2([IntegerEntry(bp, bt), IntegerEntry(ao, bl), IntegerEntry(bk, bo), IntegerEntry(bq, bu)], bn)
380+ }
381+ else throw("Strict value is not equal to itself.")
375382 }
376383 else throw("Strict value is not equal to itself.")
377384 }
378385 }
379386 }
380387 }
381388
382389
383390
384391 @Callable(aP)
385392 func recordAction (aw) = aL(aw, aP.caller, aP.originCaller)
386393
387394
388395
389396 @Callable(aP)
390397 func increaseExp (f) = if ((aP.caller != Q()))
391398 then nil
392399 else {
393400 let az = al(f)
394401 let aA = l(az)
395402 [IntegerEntry(az, (aA + 1))]
396403 }
397404
398405
399-@Verifier(bu)
400-func bv () = if (a())
401- then sigVerify(bu.bodyBytes, bu.proofs[0], bu.senderPublicKey)
406+@Verifier(bv)
407+func bw () = if (a())
408+ then sigVerify(bv.bodyBytes, bv.proofs[0], bv.senderPublicKey)
402409 else {
403- let bw = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
404- let bx = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
405- let by = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
406- let bz = if (sigVerify(bu.bodyBytes, bu.proofs[0], bw))
410+ let bx = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
411+ let by = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
412+ let bz = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
413+ let bA = if (sigVerify(bv.bodyBytes, bv.proofs[0], bx))
407414 then 1
408- else if (sigVerify(bu.bodyBytes, bu.proofs[1], bw))
415+ else if (sigVerify(bv.bodyBytes, bv.proofs[1], bx))
409416 then 1
410- else if (sigVerify(bu.bodyBytes, bu.proofs[2], bw))
417+ else if (sigVerify(bv.bodyBytes, bv.proofs[2], bx))
411418 then 1
412419 else 0
413- let bA = if (sigVerify(bu.bodyBytes, bu.proofs[0], bx))
420+ let bB = if (sigVerify(bv.bodyBytes, bv.proofs[0], by))
414421 then 1
415- else if (sigVerify(bu.bodyBytes, bu.proofs[1], bx))
422+ else if (sigVerify(bv.bodyBytes, bv.proofs[1], by))
416423 then 1
417- else if (sigVerify(bu.bodyBytes, bu.proofs[2], bx))
424+ else if (sigVerify(bv.bodyBytes, bv.proofs[2], by))
418425 then 1
419426 else 0
420- let bB = if (sigVerify(bu.bodyBytes, bu.proofs[0], by))
427+ let bC = if (sigVerify(bv.bodyBytes, bv.proofs[0], bz))
421428 then 1
422- else if (sigVerify(bu.bodyBytes, bu.proofs[1], by))
429+ else if (sigVerify(bv.bodyBytes, bv.proofs[1], bz))
423430 then 1
424- else if (sigVerify(bu.bodyBytes, bu.proofs[2], by))
431+ else if (sigVerify(bv.bodyBytes, bv.proofs[2], bz))
425432 then 1
426433 else 0
427- let bC = ((bz + bA) + bB)
428- let c = bu
429- (bC >= 2)
434+ let bD = ((bA + bB) + bC)
435+ let c = bv
436+ (bD >= 1)
430437 }
431438

github/deemru/w8io/026f985 
49.93 ms