tx · rkk3TLTXN29dPq5PUhJN4RndwuwXTQ29GowtNHb3EgT

3MrxmAKscY6yupdg46vG22SfEpiWCRKCXoF:  -0.01400000 Waves

2019.06.24 16:09 [556208] smart account 3MrxmAKscY6yupdg46vG22SfEpiWCRKCXoF > SELF 0.00000000 Waves

{ "type": 13, "id": "rkk3TLTXN29dPq5PUhJN4RndwuwXTQ29GowtNHb3EgT", "fee": 1400000, "feeAssetId": null, "timestamp": 1561381837310, "version": 1, "sender": "3MrxmAKscY6yupdg46vG22SfEpiWCRKCXoF", "senderPublicKey": "A9JHYn2D2rRc3KEJg6RgULMjiwL55FjmYkWM1Uhg3Sze", "proofs": [ "4PtZe2Kxe7Yx3JozyjWb7JJeawJ9nc6RAuTe5EFx1drxqcYixzWxoTYKtBqFwPCFdGGcZzbUi17qFHwaDHncwHVi" ], "script": "base64:AAIDAAAAAAAAAAAAAAABAQAAAA1nZXRUZXN0U2hhMjU2AAAAAAQAAAAHJG1hdGNoMAkABBwAAAACBQAAAAR0aGlzAgAAAAp0ZXN0c2hhMjU2AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAQAAAAMBuXsAAAABAAAAA2N0eAEAAAAKdGVzdFNoYTI1NgAAAAAEAAAAAWIJAQAAAA1nZXRUZXN0U2hhMjU2AAAAAAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAKdGVzdHNoYTI1NgkAAfcAAAABCQABmwAAAAECAAAADmNvcnJlY3QgYW5zd2VyCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAA10ZXN0U2hhMjU2T3V0CQEAAAANZ2V0VGVzdFNoYTI1NgAAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAADHRlc3RTaGEyNTZFcQkAAAAAAAACCQAB9wAAAAEJAAGbAAAAAQIAAAAOY29ycmVjdCBhbnN3ZXIJAQAAAA1nZXRUZXN0U2hhMjU2AAAAAAUAAAADbmlsAAAAAI4NLGI=", "chainId": 84, "height": 556208, "spentComplexity": 0 } View: original | compacted Prev: 59xLjXPfqrxxEZu9MJqXV92mkdJVxEScWWMJ6Ms9LdsT Next: none Diff:
OldNewDifferences
1313
1414
1515 @Callable(d)
16-func testSha256 () = WriteSet([DataEntry("testsha256", sha256(toBytes("correct answer"))), DataEntry("testSha256Out", a())])
16+func testSha256 () = {
17+ let c = a()
18+ WriteSet([DataEntry("testsha256", sha256(toBytes("correct answer"))), DataEntry("testSha256Out", a()), DataEntry("testSha256Eq", (sha256(toBytes("correct answer")) == a()))])
19+ }
1720
1821
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a () = {
55 let b = getBinary(this, "testsha256")
66 if ($isInstanceOf(b, "ByteVector"))
77 then {
88 let c = b
99 c
1010 }
1111 else base58'abc'
1212 }
1313
1414
1515 @Callable(d)
16-func testSha256 () = WriteSet([DataEntry("testsha256", sha256(toBytes("correct answer"))), DataEntry("testSha256Out", a())])
16+func testSha256 () = {
17+ let c = a()
18+ WriteSet([DataEntry("testsha256", sha256(toBytes("correct answer"))), DataEntry("testSha256Out", a()), DataEntry("testSha256Eq", (sha256(toBytes("correct answer")) == a()))])
19+ }
1720
1821

github/deemru/w8io/169f3d6 
36.90 ms