tx · 3SXTf7EifCNFyFXo8TMX1Y9aL8QuRjWqxPCzMKHSrWd4
3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves
2021.12.03 12:37 [1817931] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{
"type": 13,
"id": "3SXTf7EifCNFyFXo8TMX1Y9aL8QuRjWqxPCzMKHSrWd4",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638524277798,
"version": 2,
"chainId": 84,
"sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN",
"senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK",
"proofs": [
"2puinA39UtV9yTuzgwtARUXvf44raEtqGx2V13ndqNZ1KZRerypMcquxGcjKFxsYcyFHPjWv7HAKCjx5AxYA733n"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAQAAAAAIaXNhdXRob3IGAAAAAQAAAAFpAQAAAAZjcmVhdGUAAAABAAAAAnh5BAAAAAN4eXMJAAGkAAAAAQUAAAACeHkDBQAAAAhpc2F1dGhvcgkABRQAAAACCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAA3h5cwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBQAAAANuaWwFAAAABHVuaXQJAAACAAAAAQIAAAAg0JLRiyDQvdC1INC80L7QttC10YLQtSB0byBjcmVhdGUAAAAAMAbGQA==",
"height": 1817931,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 9ejp62nhk1Wbutthx97JVXpheVmZ2auhQFzXAeiNZ7yW
Next: 4LWThuebW8dUKH36CSzdsJFoPfU9dihtcuxk7tJYANVf
Diff:
Old | New | | Differences |
---|
7 | 7 | | func create (xy) = { |
---|
8 | 8 | | let xys = toString(xy) |
---|
9 | 9 | | if (isauthor) |
---|
10 | | - | then $Tuple2([StringEntry(xys, "wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww")], unit) |
---|
| 10 | + | then $Tuple2([StringEntry(xys, toBase58String(i.caller.bytes))], unit) |
---|
11 | 11 | | else throw("Вы не можете to create") |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
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) = { |
---|
8 | 8 | | let xys = toString(xy) |
---|
9 | 9 | | if (isauthor) |
---|
10 | | - | then $Tuple2([StringEntry(xys, "wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww")], unit) |
---|
| 10 | + | then $Tuple2([StringEntry(xys, toBase58String(i.caller.bytes))], unit) |
---|
11 | 11 | | else throw("Вы не можете to create") |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|