tx · C1g4ABcSLY4uJ6gigq5dYVcDthGTsp2raThsuVBcjrVL
3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves
2021.12.03 12:27 [1817922] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{
"type": 13,
"id": "C1g4ABcSLY4uJ6gigq5dYVcDthGTsp2raThsuVBcjrVL",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638523678379,
"version": 2,
"chainId": 84,
"sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN",
"senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK",
"proofs": [
"3wssF2n6GxSiMkPbPjajvvyoCXyj9MtG772vpmpiZ12WftRudrv734gk9rY2EPKXZph2DWoGc7UpQnRnW8rmxbgw"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAQAAAAAIaXNhdXRob3IGAAAAAQAAAAFpAQAAAAZjcmVhdGUAAAABAAAAAnh5AwUAAAAIaXNhdXRob3IJAAUUAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkAAAAAAAAAACoFAAAAA25pbAUAAAAEdW5pdAkAAAIAAAABAgAAACDQktGLINC90LUg0LzQvtC20LXRgtC1IHRvIGNyZWF0ZQAAAACnRdnT",
"height": 1817922,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: HqMK573TRH92KTziHGz7n2pVder9Nh7p2kf6j5ojHkbM
Next: AsEKJmv9SGVCKYqjHT9Wd3yQ8vSRsTQS6BS6YvgSqrWv
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func create (xy) = if (isauthor) |
---|
8 | | - | then $Tuple2([IntegerEntry(xy, 42)], unit) |
---|
| 8 | + | then $Tuple2([IntegerEntry(toBase58String(i.callerPublicKey), 42)], 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([IntegerEntry(xy, 42)], unit) |
---|
| 8 | + | then $Tuple2([IntegerEntry(toBase58String(i.callerPublicKey), 42)], unit) |
---|
9 | 9 | | else throw("Вы не можете to create") |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|