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
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | func a (b) = { |
---|
| 5 | + | let c = getStringValue(this, ("byHash-" + b)) |
---|
| 6 | + | if ($isInstanceOf(c, "String")) |
---|
| 7 | + | then { |
---|
| 8 | + | let d = c |
---|
| 9 | + | d |
---|
| 10 | + | } |
---|
| 11 | + | else false |
---|
| 12 | + | } |
---|
4 | 13 | | |
---|
5 | 14 | | |
---|
6 | | - | @Callable(a) |
---|
7 | | - | func ArboosFileCertifier (b,c,d) = [StringEntry("filename", b), StringEntry("hash", c), StringEntry("certifiedBy", d)] |
---|
| 15 | + | @Callable(e) |
---|
| 16 | + | func arboosCertify (f,g,h) = [StringEntry(("filename-by-hash-" + g), f), StringEntry(("certifiedBy-by-hash-" + g), h)] |
---|
8 | 17 | | |
---|
9 | 18 | | |
---|
10 | | - | @Verifier(e) |
---|
11 | | - | func f () = sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) |
---|
| 19 | + | @Verifier(i) |
---|
| 20 | + | func j () = sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey) |
---|
12 | 21 | | |
---|