tx · 9ejp62nhk1Wbutthx97JVXpheVmZ2auhQFzXAeiNZ7yW
3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves
2021.12.03 12:32 [1817927] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{
"type": 13,
"id": "9ejp62nhk1Wbutthx97JVXpheVmZ2auhQFzXAeiNZ7yW",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638524060951,
"version": 2,
"chainId": 84,
"sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN",
"senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK",
"proofs": [
"39mehe3nDLc1yAb1KVVA6hgXBtQXQ5Htt6TJZUehFXktUtAFDPJkZowH4hCY9TEXzKgGMzfGnQA7kd4i3oMPaLND"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAQAAAAAIaXNhdXRob3IGAAAAAQAAAAFpAQAAAAZjcmVhdGUAAAABAAAAAnh5BAAAAAN4eXMJAAGkAAAAAQUAAAACeHkDBQAAAAhpc2F1dGhvcgkABRQAAAACCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAA3h5cwIAAAAqd3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3BQAAAANuaWwFAAAABHVuaXQJAAACAAAAAQIAAAAg0JLRiyDQvdC1INC80L7QttC10YLQtSB0byBjcmVhdGUAAAAAdovLqA==",
"height": 1817927,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4d1VxKstX4zpKxiWyyeXvi8KANUbUERSZ29uM6rG1i8f
Next: 3SXTf7EifCNFyFXo8TMX1Y9aL8QuRjWqxPCzMKHSrWd4
Diff:
Old | New | | Differences |
---|
4 | 4 | | let a = true |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | | - | func create (c) = if (a) |
---|
8 | | - | then $Tuple2([StringEntry("aaaaaaaaaaaaa", "ww")], unit) |
---|
9 | | - | else throw("Вы не можете to create") |
---|
| 7 | + | func create (c) = { |
---|
| 8 | + | let d = toString(c) |
---|
| 9 | + | if (a) |
---|
| 10 | + | then $Tuple2([StringEntry(d, "wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww")], unit) |
---|
| 11 | + | else throw("Вы не можете to create") |
---|
| 12 | + | } |
---|
10 | 13 | | |
---|
11 | 14 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = true |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | | - | func create (c) = if (a) |
---|
8 | | - | then $Tuple2([StringEntry("aaaaaaaaaaaaa", "ww")], unit) |
---|
9 | | - | else throw("Вы не можете to create") |
---|
| 7 | + | func create (c) = { |
---|
| 8 | + | let d = toString(c) |
---|
| 9 | + | if (a) |
---|
| 10 | + | then $Tuple2([StringEntry(d, "wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww")], unit) |
---|
| 11 | + | else throw("Вы не можете to create") |
---|
| 12 | + | } |
---|
10 | 13 | | |
---|
11 | 14 | | |
---|