tx · 94Hy79VBGH2cYzbhYCYgNjmMfTVNLoWY4QkCmmrvqkHm 3MvrUGdg84ZD7nGir5NHkg4W3ymgCMpxa1L: -0.05000000 Waves 2020.01.16 16:26 [856760] smart account 3MvrUGdg84ZD7nGir5NHkg4W3ymgCMpxa1L > SELF 0.00000000 Waves
{ "type": 13, "id": "94Hy79VBGH2cYzbhYCYgNjmMfTVNLoWY4QkCmmrvqkHm", "fee": 5000000, "feeAssetId": null, "timestamp": 1579181005556, "version": 1, "sender": "3MvrUGdg84ZD7nGir5NHkg4W3ymgCMpxa1L", "senderPublicKey": "4mnLA5p1griyt3SHkpzvEpWuJe6ptMZzLyosgHcLVuyY", "proofs": [ "4frJEnzwA1fnXr1pHTJTGaonFysA39qLBj1zhFxoDJ8uSdZ8YvdaxBg8e1Rj1tWPx4u14VgiNxFGAr6Ph1gDFPqz" ], "script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAADZm9vAAAAAAkBAAAACFdyaXRlU2V0AAAAAQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAQc3RhbmRhcmRWZXJpZmllcgAAAAAGFp/crQ==", "chainId": 84, "height": 856760, "spentComplexity": 0 } View: original | compacted Prev: GWZRBSgdeg2zfhdazhvwTrpdfknMpzQpqTsicJZ2nenY Next: none Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | - | @Callable(inv) | |
7 | - | func f () = { | |
8 | - | let rand = ((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)) | |
9 | - | let x1 = sha256(rand) | |
10 | - | let x2 = sha256(toBytes(1)) | |
11 | - | let x3 = sha256(((toBytes(1) + x2) + x1)) | |
12 | - | let x4 = sha256((toBytes(1) + x3)) | |
13 | - | let x5 = sha256(((((toBytes(1) + x4) + x3) + x2) + x1)) | |
14 | - | let x6 = sha256((((((toBytes(1) + x5) + x4) + x3) + x2) + x1)) | |
15 | - | let x7 = sha256(((((((toBytes(1) + x6) + x5) + x4) + x3) + x2) + x1)) | |
16 | - | let x8 = sha256(((((((((toBytes(1) + x7) + x6) + x5) + x4) + x3) + x2) + x1) + toBytes(wavesBalance(this)))) | |
17 | - | let x9 = sha256(((((((((toBytes(1) + x8) + x6) + x5) + x4) + x3) + x2) + x1) + toBytes(wavesBalance(this)))) | |
18 | - | let x10 = sha256(((toBytes(1) + x9) + toBytes(wavesBalance(this)))) | |
19 | - | let x11 = sha256(((toBytes(1) + x10) + toBytes(wavesBalance(this)))) | |
20 | - | let x12 = sha256(((toBytes(1) + x11) + toBytes(wavesBalance(this)))) | |
21 | - | let x13 = sha256(((toBytes(1) + x12) + toBytes(wavesBalance(this)))) | |
22 | - | let x14 = sha256(((toBytes(1) + x13) + toBytes(wavesBalance(this)))) | |
23 | - | let x15 = sha256(((toBytes(1) + x14) + toBytes(wavesBalance(this)))) | |
24 | - | let x16 = sha256(((toBytes(1) + x15) + toBytes(wavesBalance(this)))) | |
25 | - | let x17 = sha256(((toBytes(1) + x16) + toBytes(wavesBalance(this)))) | |
26 | - | let x18 = sha256(((toBytes(1) + x17) + toBytes(wavesBalance(this)))) | |
27 | - | let x19 = sha256(((toBytes(1) + x18) + toBytes(wavesBalance(this)))) | |
28 | - | let x20 = sha256(((toBytes(1) + x19) + toBytes(wavesBalance(this)))) | |
29 | - | let x21 = sha256(((toBytes(1) + x20) + toBytes(wavesBalance(this)))) | |
30 | - | let x22 = sha256(((toBytes(1) + x21) + toBytes(wavesBalance(this)))) | |
31 | - | let x23 = sha256(((toBytes(1) + x22) + toBytes(wavesBalance(this)))) | |
32 | - | let x24 = sha256(((toBytes(1) + x23) + toBytes(wavesBalance(this)))) | |
33 | - | let x25 = sha256(((toBytes(1) + x24) + toBytes(wavesBalance(this)))) | |
34 | - | let x26 = sha256(((toBytes(1) + x25) + toBytes(wavesBalance(this)))) | |
35 | - | let x27 = sha256(((toBytes(1) + x26) + toBytes(wavesBalance(this)))) | |
36 | - | let x28 = sha256(((toBytes(1) + x27) + toBytes(wavesBalance(this)))) | |
37 | - | let x29 = sha256(((toBytes(1) + x28) + toBytes(wavesBalance(this)))) | |
38 | - | let x30 = sha256((toBytes(1) + x29)) | |
39 | - | ScriptResult(WriteSet([DataEntry("x", x30)]), TransferSet(nil)) | |
40 | - | } | |
6 | + | @Callable(i) | |
7 | + | func foo () = WriteSet(nil) | |
41 | 8 | ||
9 | + | ||
10 | + | @Verifier(tx) | |
11 | + | func standardVerifier () = true | |
42 | 12 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | - | @Callable(inv) | |
7 | - | func f () = { | |
8 | - | let rand = ((((inv.transactionId + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)) | |
9 | - | let x1 = sha256(rand) | |
10 | - | let x2 = sha256(toBytes(1)) | |
11 | - | let x3 = sha256(((toBytes(1) + x2) + x1)) | |
12 | - | let x4 = sha256((toBytes(1) + x3)) | |
13 | - | let x5 = sha256(((((toBytes(1) + x4) + x3) + x2) + x1)) | |
14 | - | let x6 = sha256((((((toBytes(1) + x5) + x4) + x3) + x2) + x1)) | |
15 | - | let x7 = sha256(((((((toBytes(1) + x6) + x5) + x4) + x3) + x2) + x1)) | |
16 | - | let x8 = sha256(((((((((toBytes(1) + x7) + x6) + x5) + x4) + x3) + x2) + x1) + toBytes(wavesBalance(this)))) | |
17 | - | let x9 = sha256(((((((((toBytes(1) + x8) + x6) + x5) + x4) + x3) + x2) + x1) + toBytes(wavesBalance(this)))) | |
18 | - | let x10 = sha256(((toBytes(1) + x9) + toBytes(wavesBalance(this)))) | |
19 | - | let x11 = sha256(((toBytes(1) + x10) + toBytes(wavesBalance(this)))) | |
20 | - | let x12 = sha256(((toBytes(1) + x11) + toBytes(wavesBalance(this)))) | |
21 | - | let x13 = sha256(((toBytes(1) + x12) + toBytes(wavesBalance(this)))) | |
22 | - | let x14 = sha256(((toBytes(1) + x13) + toBytes(wavesBalance(this)))) | |
23 | - | let x15 = sha256(((toBytes(1) + x14) + toBytes(wavesBalance(this)))) | |
24 | - | let x16 = sha256(((toBytes(1) + x15) + toBytes(wavesBalance(this)))) | |
25 | - | let x17 = sha256(((toBytes(1) + x16) + toBytes(wavesBalance(this)))) | |
26 | - | let x18 = sha256(((toBytes(1) + x17) + toBytes(wavesBalance(this)))) | |
27 | - | let x19 = sha256(((toBytes(1) + x18) + toBytes(wavesBalance(this)))) | |
28 | - | let x20 = sha256(((toBytes(1) + x19) + toBytes(wavesBalance(this)))) | |
29 | - | let x21 = sha256(((toBytes(1) + x20) + toBytes(wavesBalance(this)))) | |
30 | - | let x22 = sha256(((toBytes(1) + x21) + toBytes(wavesBalance(this)))) | |
31 | - | let x23 = sha256(((toBytes(1) + x22) + toBytes(wavesBalance(this)))) | |
32 | - | let x24 = sha256(((toBytes(1) + x23) + toBytes(wavesBalance(this)))) | |
33 | - | let x25 = sha256(((toBytes(1) + x24) + toBytes(wavesBalance(this)))) | |
34 | - | let x26 = sha256(((toBytes(1) + x25) + toBytes(wavesBalance(this)))) | |
35 | - | let x27 = sha256(((toBytes(1) + x26) + toBytes(wavesBalance(this)))) | |
36 | - | let x28 = sha256(((toBytes(1) + x27) + toBytes(wavesBalance(this)))) | |
37 | - | let x29 = sha256(((toBytes(1) + x28) + toBytes(wavesBalance(this)))) | |
38 | - | let x30 = sha256((toBytes(1) + x29)) | |
39 | - | ScriptResult(WriteSet([DataEntry("x", x30)]), TransferSet(nil)) | |
40 | - | } | |
6 | + | @Callable(i) | |
7 | + | func foo () = WriteSet(nil) | |
41 | 8 | ||
9 | + | ||
10 | + | @Verifier(tx) | |
11 | + | func standardVerifier () = true | |
42 | 12 |
github/deemru/w8io/873ac7e 23.77 ms ◑![]()