tx · 2dcBcTDZVsFyka6kPPuxy5tFp8o6x4FRVZnNZhSUkKj5
3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd: -0.01400000 Waves
2020.01.09 19:07 [846633] smart account 3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd > SELF 0.00000000 Waves
{
"type": 13,
"id": "2dcBcTDZVsFyka6kPPuxy5tFp8o6x4FRVZnNZhSUkKj5",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1578586116036,
"version": 1,
"sender": "3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd",
"senderPublicKey": "GcRKPY6xnzBDGrdWFahKAJw7NtrFqf65m3tV1vAnJMJL",
"proofs": [
"c8xV6Fd2CiGfbQmy8VgMwLevQWgLsmg3Fx4TwxVaoNZiQdv2WZyimjWJoPSZZJYpH3J93ZBLfWP4eYrBoPgpWwx"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAgAAAAADaEJDCQABpAAAAAEFAAAABmhlaWdodAEAAAAGc2V0S2V5AAAAAQAAAAdhZHJlc3NlCQABLAAAAAIJAAEsAAAAAgIAAAAES2V5XwUAAAADaEJDBQAAAAdhZHJlc3NlAAAAAQAAAAppbnZvY2F0aW9uAQAAABBsYWlzc2VyVW5NZXNzYWdlAAAAAQAAAAdtZXNzYWdlBAAAAAdhZHJlc3NlCQACWAAAAAEICAUAAAAKaW52b2NhdGlvbgAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABGNsZWYJAQAAAAZzZXRLZXkAAAABBQAAAAdhZHJlc3NlCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAARjbGVmBQAAAAdtZXNzYWdlBQAAAANuaWwAAAAAI72/NQ==",
"chainId": 84,
"height": 846633,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: FnCFbJ6FFfnTbacfUkxh5UWeVgLuGs1bgXSkTkwbuD5K
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let hBC = toString(height) |
---|
| 5 | + | |
---|
| 6 | + | func setKey (adresse) = (("Key_" + hBC) + adresse) |
---|
| 7 | + | |
---|
| 8 | + | |
---|
| 9 | + | @Callable(invocation) |
---|
| 10 | + | func laisserUnMessage (message) = { |
---|
| 11 | + | let adresse = toBase58String(invocation.caller.bytes) |
---|
| 12 | + | let clef = setKey(adresse) |
---|
| 13 | + | WriteSet([DataEntry(clef, message)]) |
---|
| 14 | + | } |
---|
| 15 | + | |
---|
| 16 | + | |
---|