tx · AvCPjP5PF77AfYvbJE3cwkDor8ajS3WSvJpK3qwoP7zL
3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves
2021.12.03 12:50 [1817942] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{
"type": 13,
"id": "AvCPjP5PF77AfYvbJE3cwkDor8ajS3WSvJpK3qwoP7zL",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638525045314,
"version": 2,
"chainId": 84,
"sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN",
"senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK",
"proofs": [
"3R3KaQxLWq2okRfTocA5ukfbfmJSoLod87TwcoSqFkoWtTRR6NsQALwuypzzzUPkpftgtytbXRiTPKvVAAJnyP5V"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAAFY2FuZG8CAAAAIzNNdVc0dDFqQ1hIdDhXUnNIVkxVYXIzMkVudkp4WmFRV0F4AAAAAQAAAAFpAQAAAAZjcmVhdGUAAAABAAAAAnh5BAAAAAxjYWxsZXJBZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAADeHlzBQAAAAJ4eQMJAAAAAAAAAgUAAAAFY2FuZG8FAAAADGNhbGxlckFkcmVzcwkABRQAAAACCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAA3h5cwUAAAAMY2FsbGVyQWRyZXNzBQAAAANuaWwFAAAABHVuaXQJAAACAAAAAQIAAAAg0JLRiyDQvdC1INC80L7QttC10YLQtSB0byBjcmVhdGUAAAAAk0Wuuw==",
"height": 1817942,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: AVeRYEwrtqyC2pf5A1qTQ86DhHDFEUNd6e4teJargtTu
Next: DZBXW4AUowdnZKaAbE1merYLhh9YqyJNx6D4tFAGjmrP
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 | 9 | | let xys = xy |
---|
10 | 10 | | if ((cando == callerAdress)) |
---|
11 | 11 | | then $Tuple2([StringEntry(xys, callerAdress)], unit) |
---|
12 | 12 | | else throw("Вы не можете to create") |
---|
13 | 13 | | } |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|