tx · J3p3EwZq5ZQxMb6g819YiivWn1eJjhWcZLXrNVBdkf1q 3N9HbMm462ufStnEM6Vzeoibp2GPam9dTCw: -0.01400000 Waves 2021.02.17 19:44 [1402419] smart account 3N9HbMm462ufStnEM6Vzeoibp2GPam9dTCw > SELF 0.00000000 Waves
{ "type": 13, "id": "J3p3EwZq5ZQxMb6g819YiivWn1eJjhWcZLXrNVBdkf1q", "fee": 1400000, "feeAssetId": null, "timestamp": 1613580352549, "version": 1, "sender": "3N9HbMm462ufStnEM6Vzeoibp2GPam9dTCw", "senderPublicKey": "EHCwuvZnJkK33jFT5H1UsASiguDsSokhNCKcmn9y5y9W", "proofs": [ "4PYyrRCa8Xrj39e2FBfDiWAkhvu6NZbfqDoyfkpDKFCYRJeKkMbPhkZudQLKCGxRABBP1Q8P1Vw8VwURAn5eJZNH" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAAKY29tcGxleDQyNQAAAAEAAAABcAQAAAACcDEJAABsAAAABgAAAAAAAAAAAgAAAAAAAAAAAAUAAAABcAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAGSEFMRlVQBAAAAAJwMgkAAG0AAAAGBQAAAAJwMQAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAUAAAAGSEFMRlVQBAAAAAJwMwkAAGwAAAAGAAAAAAAAAAACAAAAAAAAAAAABQAAAAJwMgAAAAAAAAAAAAAAAAAAAAAAAAUAAAAGSEFMRlVQCQAAbQAAAAYFAAAAAnAzAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAABQAAAAZIQUxGVVAAAAABAAAAAWkBAAAACmJ1Z3NIdW50ZXIAAAAABAAAAAFwAAAAAAAAAAAQBAAAAAJwMQkBAAAACmNvbXBsZXg0MjUAAAABBQAAAAFwBAAAAAJwMgkBAAAACmNvbXBsZXg0MjUAAAABBQAAAAJwMQQAAAACcDMJAQAAAApjb21wbGV4NDI1AAAAAQUAAAACcDIEAAAAAnA0CQEAAAAKY29tcGxleDQyNQAAAAEFAAAAAnAzBAAAAAJwNQkBAAAACmNvbXBsZXg0MjUAAAABBQAAAAJwNAQAAAACcDYJAQAAAApjb21wbGV4NDI1AAAAAQUAAAACcDUDCQAAAAAAAAIFAAAAAXAFAAAAAnAxCQAAAgAAAAECAAAAC21hdGggZmFpbGVkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAJYAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAIAAAAHc3VjY2VzcwUAAAADbmlsAAAAAAdBEmI=", "chainId": 84, "height": 1402419, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: De7g6WeUJdhXk2uxXUvS5bTpEnPFLR1tb4dDKqoo4dWD Next: 9iqv2eLdLz3Lwt39djKH4RunS5HpqUhEVZioNXkBpjH2 Diff:
Old | New | Differences | |
---|---|---|---|
18 | 18 | let p4 = complex425(p3) | |
19 | 19 | let p5 = complex425(p4) | |
20 | 20 | let p6 = complex425(p5) | |
21 | - | if ((p == | |
21 | + | if ((p == p1)) | |
22 | 22 | then throw("math failed") | |
23 | 23 | else [StringEntry(toBase58String(i.transactionId), "success")] | |
24 | 24 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func complex425 (p) = { | |
5 | 5 | let p1 = pow(2, 0, p, 0, 0, HALFUP) | |
6 | 6 | let p2 = log(p1, 0, 2, 0, 0, HALFUP) | |
7 | 7 | let p3 = pow(2, 0, p2, 0, 0, HALFUP) | |
8 | 8 | log(p3, 0, 2, 0, 0, HALFUP) | |
9 | 9 | } | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | @Callable(i) | |
13 | 13 | func bugsHunter () = { | |
14 | 14 | let p = 16 | |
15 | 15 | let p1 = complex425(p) | |
16 | 16 | let p2 = complex425(p1) | |
17 | 17 | let p3 = complex425(p2) | |
18 | 18 | let p4 = complex425(p3) | |
19 | 19 | let p5 = complex425(p4) | |
20 | 20 | let p6 = complex425(p5) | |
21 | - | if ((p == | |
21 | + | if ((p == p1)) | |
22 | 22 | then throw("math failed") | |
23 | 23 | else [StringEntry(toBase58String(i.transactionId), "success")] | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 |
github/deemru/w8io/169f3d6 26.68 ms ◑