tx · 6oRDySUN4AFbUV4C6oaD5o3EVsbfFp8VvM2yBLnt1rjA
3MtSaQfey8N95ZhYr2DhbZbuGUoaGNgJCc5: -0.01400000 Waves
2019.12.17 19:58 [813171] smart account 3MtSaQfey8N95ZhYr2DhbZbuGUoaGNgJCc5 > SELF 0.00000000 Waves
{
"type": 13,
"id": "6oRDySUN4AFbUV4C6oaD5o3EVsbfFp8VvM2yBLnt1rjA",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1576601970383,
"version": 1,
"sender": "3MtSaQfey8N95ZhYr2DhbZbuGUoaGNgJCc5",
"senderPublicKey": "BFsCpW3xUoWAWwBNqD8Sws4ufe9kqK8fXa7F4aJNnh9w",
"proofs": [
"2RTGgTaPXDLmCMy5CvxNdjpBvhTr738wx5W9f6cAppDE8xcpUXzm5yBfCCb8SSRtp8VHEamEHAtkyxYNDvL7hM5E"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQEAAAANc2V0S2V5U3RvcmFnZQAAAAEAAAAHYWRkcmVzcwkAASwAAAACAgAAAARrZXlfBQAAAAdhZGRyZXNzAAAAAQAAAAZpbnZva2UBAAAADGxlYXZlTWVzc2FnZQAAAAEAAAAHbWVzc2FnZQQAAAAHYWRkcmVzcwkAAlgAAAABCAgFAAAABmludm9rZQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAA2tleQkBAAAADXNldEtleVN0b3JhZ2UAAAABBQAAAAdhZGRyZXNzCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAADa2V5BQAAAAdtZXNzYWdlBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAHEBleHRyVXNlcihhZGRyZXNzRnJvbVN0cmluZykAAAABBQAAAAdhZGRyZXNzAAAAAAAF9eEABQAAAAR1bml0BQAAAANuaWwAAAAAFolxjw==",
"chainId": 84,
"height": 813171,
"spentComplexity": 0
}
View: original | compacted
Prev: G4oWKCgjw6SaS5EZARsgL6mE2nwgHJZb4L3Y5CdBGG3Z
Next: none
Diff:
Old | New | | Differences |
---|
8 | 8 | | func leaveMessage (message) = { |
---|
9 | 9 | | let address = toBase58String(invoke.caller.bytes) |
---|
10 | 10 | | let key = setKeyStorage(address) |
---|
11 | | - | WriteSet([DataEntry(key, message)]) |
---|
| 11 | + | ScriptResult(WriteSet([DataEntry(key, message)]), TransferSet([ScriptTransfer(addressFromStringValue(address), 100000000, unit)])) |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func setKeyStorage (address) = ("key_" + address) |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Callable(invoke) |
---|
8 | 8 | | func leaveMessage (message) = { |
---|
9 | 9 | | let address = toBase58String(invoke.caller.bytes) |
---|
10 | 10 | | let key = setKeyStorage(address) |
---|
11 | | - | WriteSet([DataEntry(key, message)]) |
---|
| 11 | + | ScriptResult(WriteSet([DataEntry(key, message)]), TransferSet([ScriptTransfer(addressFromStringValue(address), 100000000, unit)])) |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|