tx · 8PsbrCs5YnSCHPVEwFZPJeCzHHWrPf8JekWvFkRbw953

3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M:  -0.01000000 Waves

2023.03.23 15:52 [2502672] smart account 3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M > SELF 0.00000000 Waves

{ "type": 13, "id": "8PsbrCs5YnSCHPVEwFZPJeCzHHWrPf8JekWvFkRbw953", "fee": 1000000, "feeAssetId": null, "timestamp": 1679576014345, "version": 2, "chainId": 84, "sender": "3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M", "senderPublicKey": "CPR2z4Q8kdV2M4JHaFVVTRzdEWPUA1Whqtw6SWE8kyU9", "proofs": [ "3cYh1qYC7dHtXyP9eLUioxHqPkWVz1KH5gtvpW5kWrPg4gA2S91pWaZ4mVpM2n2K5CPN13rsZMmLWHBrjLwxCBRB" ], "script": "base64:BgIRCAISBAoCAQESABIFCgMBAREAAwFpAQx0ZXN0SW50ZXJuYWwCDW1heEl0ZXJhdGlvbnMQY3VycmVudEl0ZXJhdGlvbgoBBXRlc3QzAQV2YWx1ZQADCgEDc3VtAgVhY2N1bQRuZXh0CQBkAgUFYWNjdW0FBG5leHQEA2FycgkAzAgCAAEJAMwIAgACCQDMCAIAAwUDbmlsBAdyZXN1bHQxCgACJGwFA2FycgoAAiRzCQCQAwEFAiRsCgAFJGFjYzAAAAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQEDc3VtAgUCJGEJAJEDAgUCJGwFAiRpCgEFJGYwXzICAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAAIBAhNMaXN0IHNpemUgZXhjZWVkcyA1CQEFJGYwXzICCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECBQUkYWNjMAAAAAEAAgADAAQABQkAzAgCCQEMSW50ZWdlckVudHJ5AgIISW50ZXJnYWwFB3Jlc3VsdDEFA25pbAFpAQtleGFtcGxlQ2FsbAAE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nR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5mlgMWg==", "height": 2502672, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Fpnmd341NSqrvJvEACDXgmHRxPnyYbGKF1gwX8kUSU8W Next: GvrtjXhiQYAFFMt6yFBYRYfg3GnkJSqSUME8xTdR52nB Diff:
OldNewDifferences
2020
2121 func q (o,p) = if ((p >= l))
2222 then o
23- else throw("List size exceeds 3")
23+ else throw("List size exceeds 5")
2424
25- q(n(n(n(m, 0), 1), 2), 3)
25+ q(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5)
2626 }
2727 [IntegerEntry("Intergal", j)]
2828 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func testInternal (b,c) = {
88 func d (e) = 3
99
1010 func f (g,h) = (g + h)
1111
1212 let i = [1, 2, 3]
1313 let j = {
1414 let k = i
1515 let l = size(k)
1616 let m = 0
1717 func n (o,p) = if ((p >= l))
1818 then o
1919 else f(o, k[p])
2020
2121 func q (o,p) = if ((p >= l))
2222 then o
23- else throw("List size exceeds 3")
23+ else throw("List size exceeds 5")
2424
25- q(n(n(n(m, 0), 1), 2), 3)
25+ q(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5)
2626 }
2727 [IntegerEntry("Intergal", j)]
2828 }
2929
3030
3131
3232 @Callable(a)
3333 func exampleCall () = {
3434 let r = invoke(this, "internalRecursion", [101, 0, nil], nil)
3535 if ((r == r))
3636 then {
3737 let s = r
3838 if ($isInstanceOf(s, "Int"))
3939 then {
4040 let t = s
4141 [IntegerEntry(("EXECUTED__" + toString(t)), t)]
4242 }
4343 else throw("Wrong internal function result")
4444 }
4545 else throw("Strict value is not equal to itself.")
4646 }
4747
4848
4949
5050 @Callable(a)
5151 func internalRecursion (b,c,u) = if ((a.caller != this))
5252 then throw("Only can be called by this contract")
5353 else if ((b > c))
5454 then {
5555 let r = invoke(this, "internalRecursion", [b, (c + 1), (u :+ c)], nil)
5656 if ((r == r))
5757 then $Tuple2([IntegerEntry(("current_iteration__" + toString(c)), c)], c)
5858 else throw("Strict value is not equal to itself.")
5959 }
6060 else $Tuple2(nil, 40)
6161
6262
6363 @Verifier(v)
6464 func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
6565

github/deemru/w8io/169f3d6 
26.10 ms