tx · 8qMYNR5cLVb33C42kCgFczQxFajoaYQB2DwVHtWTkGKk
3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves
2021.12.03 13:02 [1817954] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{
"type": 13,
"id": "8qMYNR5cLVb33C42kCgFczQxFajoaYQB2DwVHtWTkGKk",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638525762940,
"version": 2,
"chainId": 84,
"sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN",
"senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK",
"proofs": [
"5JvpCrmfcbJAeaYZMGfooqQYv72QHu85EKuhkVMbEmw9hqc76D2KgMWfSweRm9M2JLdLjxadgZUheWu7Z5sd6GtH"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAAFY2FuZG8CAAAAIzNNdVc0dDFqQ1hIdDhXUnNIVkxVYXIzMkVudkp4WmFRV0F4AAAAAQAAAAFpAQAAAAZjcmVhdGUAAAABAAAAAnh5BAAAAAxjYWxsZXJBZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAADeHlzCQABLAAAAAICAAAAAAUAAAACeHkDCQAAAAAAAAIFAAAABWNhbmRvBQAAAAxjYWxsZXJBZHJlc3MJAAUUAAAAAgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAN4eXMFAAAADGNhbGxlckFkcmVzcwUAAAADbmlsBQAAAAR1bml0CQAAAgAAAAECAAAAINCS0Ysg0L3QtSDQvNC+0LbQtdGC0LUgdG8gY3JlYXRlAAAAANBQiWg=",
"height": 1817954,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DZBXW4AUowdnZKaAbE1merYLhh9YqyJNx6D4tFAGjmrP
Next: X28RmJTrg35A52fftyfTkipmQ4QRUr1ESBbRjPG7wa1
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func create (xy) = { |
---|
8 | 8 | | let callerAdress = toBase58String(i.caller.bytes) |
---|
9 | | - | let xys = "aaaaaaaaaaaaaaaa" |
---|
| 9 | + | let xys = ("" + xy) |
---|
10 | 10 | | if ((cando == callerAdress)) |
---|
11 | | - | then $Tuple2([StringEntry(xys, xy)], unit) |
---|
| 11 | + | then $Tuple2([StringEntry(xys, callerAdress)], unit) |
---|
12 | 12 | | else throw("Вы не можете to create") |
---|
13 | 13 | | } |
---|
14 | 14 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let cando = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx" |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func create (xy) = { |
---|
8 | 8 | | let callerAdress = toBase58String(i.caller.bytes) |
---|
9 | | - | let xys = "aaaaaaaaaaaaaaaa" |
---|
| 9 | + | let xys = ("" + xy) |
---|
10 | 10 | | if ((cando == callerAdress)) |
---|
11 | | - | then $Tuple2([StringEntry(xys, xy)], unit) |
---|
| 11 | + | then $Tuple2([StringEntry(xys, callerAdress)], unit) |
---|
12 | 12 | | else throw("Вы не можете to create") |
---|
13 | 13 | | } |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|