tx · FdywDxXeE9Pqgcnj9SKDcpjkjmE4HwwbJiionQwXu73k

3N1Yvim93pdUR3fP1znzTYEhKnsb8fpqU55:  -0.01000000 Waves

2022.06.05 21:40 [2083428] smart account 3N1Yvim93pdUR3fP1znzTYEhKnsb8fpqU55 > SELF 0.00000000 Waves

{ "type": 13, "id": "FdywDxXeE9Pqgcnj9SKDcpjkjmE4HwwbJiionQwXu73k", "fee": 1000000, "feeAssetId": null, "timestamp": 1654454425673, "version": 2, "chainId": 84, "sender": "3N1Yvim93pdUR3fP1znzTYEhKnsb8fpqU55", "senderPublicKey": "EK4tAXbeXpEJhAvZH4VHPBKw1A8dREMduJWrs1q6LgUs", "proofs": [ "2Go3UW5CWiydvznK1k1tuUvhzm9jNJBmXFMKvdzg2FumrQ4S5rZ27Hz7DNLQ5ThC34oPm27DDwuEwVr6qCfAVrdK" ], "script": "base64:AAIFAAAAAAAAAAkIAhIFCgMICAgAAAABAQAAAAthcmJvb3NDaGVjawAAAAEAAAAEaGFzaAQAAAAHJG1hdGNoMAkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwkAASwAAAACAgAAAAdieUhhc2gtBQAAAARoYXNoAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEHAAAAAQAAAAFpAQAAAA1hcmJvb3NDZXJ0aWZ5AAAAAwAAAAhmaWxlbmFtZQAAAAxmaWxlQXNTSEEyNTYAAAALY2VydGlmaWVkQnkJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAABFmaWxlbmFtZS1ieS1oYXNoLQUAAAAMZmlsZUFzU0hBMjU2BQAAAAhmaWxlbmFtZQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAAFGNlcnRpZmllZEJ5LWJ5LWhhc2gtBQAAAAxmaWxlQXNTSEEyNTYFAAAAC2NlcnRpZmllZEJ5BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleRY8Vbs=", "height": 2083428, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GrdAscrZ36UMaEs3yNQtTZ1bj2be1K4ruEb1k8gnM4jf Next: AT8dBmrZbie7P3SkaWu1KMbvbhZQ1iRiMbYcHKQbXa7u Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+func arboosCheck (hash) = match getStringValue(this, ("byHash-" + hash)) {
5+ case a: String =>
6+ a
7+ case _ =>
8+ false
9+}
410
511
612 @Callable(i)
7-func ArboosFileCertifier (filename,fileAsSHA256,certifiedBy) = [StringEntry("filename", filename), StringEntry("hash", fileAsSHA256), StringEntry("certifiedBy", certifiedBy)]
13+func arboosCertify (filename,fileAsSHA256,certifiedBy) = [StringEntry(("filename-by-hash-" + fileAsSHA256), filename), StringEntry(("certifiedBy-by-hash-" + fileAsSHA256), certifiedBy)]
814
915
1016 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+func arboosCheck (hash) = match getStringValue(this, ("byHash-" + hash)) {
5+ case a: String =>
6+ a
7+ case _ =>
8+ false
9+}
410
511
612 @Callable(i)
7-func ArboosFileCertifier (filename,fileAsSHA256,certifiedBy) = [StringEntry("filename", filename), StringEntry("hash", fileAsSHA256), StringEntry("certifiedBy", certifiedBy)]
13+func arboosCertify (filename,fileAsSHA256,certifiedBy) = [StringEntry(("filename-by-hash-" + fileAsSHA256), filename), StringEntry(("certifiedBy-by-hash-" + fileAsSHA256), certifiedBy)]
814
915
1016 @Verifier(tx)
1117 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1218

github/deemru/w8io/026f985 
21.29 ms