tx · 61YZBdhJUnjk47wbdMrfyck7QPoEFyC7JZnjhUB8qURA
3N8GiFAboHyNvn5EpTk9W8KKbotJSW96ev1: -0.01400000 Waves
2019.08.20 13:27 [639325] smart account 3N8GiFAboHyNvn5EpTk9W8KKbotJSW96ev1 > SELF 0.00000000 Waves
{
"type": 13,
"id": "61YZBdhJUnjk47wbdMrfyck7QPoEFyC7JZnjhUB8qURA",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1566296817886,
"version": 1,
"sender": "3N8GiFAboHyNvn5EpTk9W8KKbotJSW96ev1",
"senderPublicKey": "6aVEegkPqtGxXBdy5PY9yKZDLSNfBfr3k16Zc2CtwY7Y",
"proofs": [
"YNyj86B2QCtGknc7CeDjX4fgNraRfbat6ZassnHEp1AynKAGVHCMAGu3uoHEiDq1rweHdTHSHt9qAC37d5dTXj2"
],
"script": "base64:AAIDAAAAAAAAAAAAAAACAQAAAAljb250ZW50T2YAAAABAAAABGhhc2gJAAEsAAAAAgIAAAALY29udGVudF9vZl8FAAAABGhhc2gBAAAACW1lc3NhZ2VPZgAAAAEAAAAEaGFzaAkAASwAAAACAgAAAAttZXNzYWdlX29mXwUAAAAEaGFzaAAAAAEAAAABaQEAAAADYWRkAAAAAwAAAARoYXNoAAAAB2NvbnRlbnQAAAAHbWVzc2FnZQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkBAAAACWNvbnRlbnRPZgAAAAEFAAAABGhhc2gFAAAAB2NvbnRlbnQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAQAAAAltZXNzYWdlT2YAAAABBQAAAARoYXNoBQAAAAdtZXNzYWdlBQAAAANuaWwAAAAAtzc92w==",
"chainId": 84,
"height": 639325,
"spentComplexity": 0
}
View: original | compacted
Prev: F2fruVjpZyvgcthdi8AAwxB64P5EXN3QZTZtHRg2j3qL
Next: none
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func marshal (content,message) = (((("{\"message\":\"" + message) + "\",\"content\":\"") + content) + "\"}") |
---|
| 4 | + | func contentOf (hash) = ("content_of_" + hash) |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | func messageOf (hash) = ("message_of_" + hash) |
---|
5 | 8 | | |
---|
6 | 9 | | |
---|
7 | 10 | | @Callable(i) |
---|
8 | | - | func add (hash,content,message) = WriteSet([DataEntry(hash, marshal(content, message))]) |
---|
| 11 | + | func add (hash,content,message) = WriteSet([DataEntry(contentOf(hash), content), DataEntry(messageOf(hash), message)]) |
---|
9 | 12 | | |
---|
10 | 13 | | |
---|