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