tx · 5VxLR4mR78CDHHtKo2BKB6QAKBb4va6PAaVfaYjiWryz
3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves
2021.12.03 12:12 [1817907] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{
"type": 13,
"id": "5VxLR4mR78CDHHtKo2BKB6QAKBb4va6PAaVfaYjiWryz",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638522762160,
"version": 2,
"chainId": 84,
"sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN",
"senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK",
"proofs": [
"5uTKazKvyo8q8uCRgsxet4qWT97n7n25ozzJGg8qFBCDZNSSS8EUs9qQmfLq3zjLZmEtGs9feuD5hKHv6CU4j2gs"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAAIaXNhdXRob3IGAAAAAQAAAAFpAQAAAAZjcmVhdGUAAAABAAAAAnh5AwUAAAAIaXNhdXRob3IJAAUUAAAAAgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQUAAAACeHkFAAAAA25pbAUAAAAEdW5pdAkAAAIAAAABAgAAACDQktGLINC90LUg0LzQvtC20LXRgtC1IHRvIGNyZWF0ZQAAAADvxOfT",
"height": 1817907,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Gw6odM4FJqrTZT1Fmyhz2Aju3SdxN1GcDQAQwymSUgwH
Next: 3BCezB9Gszrvi1mhEsaC7YajUfYcFVBfVBSTNtWpUsZM
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func create (xy) = if (isauthor) |
---|
8 | | - | then $Tuple2([StringEntry(xy, "dddddddddddddddddddddddddddddddddddddddddddd"), StringEntry(xy, "dddddddddddddddddddddddddddddddddddddddddddd")], unit) |
---|
| 8 | + | then $Tuple2([StringEntry(toBase58String(i.callerPublicKey), xy)], unit) |
---|
9 | 9 | | else throw("Вы не можете to create") |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let isauthor = true |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func create (xy) = if (isauthor) |
---|
8 | | - | then $Tuple2([StringEntry(xy, "dddddddddddddddddddddddddddddddddddddddddddd"), StringEntry(xy, "dddddddddddddddddddddddddddddddddddddddddddd")], unit) |
---|
| 8 | + | then $Tuple2([StringEntry(toBase58String(i.callerPublicKey), xy)], unit) |
---|
9 | 9 | | else throw("Вы не можете to create") |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|