tx · 5VxLR4mR78CDHHtKo2BKB6QAKBb4va6PAaVfaYjiWryz

3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN:  -0.01000000 Waves

2021.12.03 12:12 [1817907] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves

{ "type": 13, "id": "5VxLR4mR78CDHHtKo2BKB6QAKBb4va6PAaVfaYjiWryz", "fee": 1000000, "feeAssetId": null, "timestamp": 1638522762160, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "5uTKazKvyo8q8uCRgsxet4qWT97n7n25ozzJGg8qFBCDZNSSS8EUs9qQmfLq3zjLZmEtGs9feuD5hKHv6CU4j2gs" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAQAAAAAIaXNhdXRob3IGAAAAAQAAAAFpAQAAAAZjcmVhdGUAAAABAAAAAnh5AwUAAAAIaXNhdXRob3IJAAUUAAAAAgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQUAAAACeHkFAAAAA25pbAUAAAAEdW5pdAkAAAIAAAABAgAAACDQktGLINC90LUg0LzQvtC20LXRgtC1IHRvIGNyZWF0ZQAAAADvxOfT", "height": 1817907, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Gw6odM4FJqrTZT1Fmyhz2Aju3SdxN1GcDQAQwymSUgwH Next: 3BCezB9Gszrvi1mhEsaC7YajUfYcFVBfVBSTNtWpUsZM Diff:
OldNewDifferences
55
66 @Callable(i)
77 func create (xy) = if (isauthor)
8- then $Tuple2([StringEntry(xy, "dddddddddddddddddddddddddddddddddddddddddddd"), StringEntry(xy, "dddddddddddddddddddddddddddddddddddddddddddd")], unit)
8+ then $Tuple2([StringEntry(toBase58String(i.callerPublicKey), xy)], unit)
99 else throw("Вы не можете to create")
1010
1111
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let isauthor = true
55
66 @Callable(i)
77 func create (xy) = if (isauthor)
8- then $Tuple2([StringEntry(xy, "dddddddddddddddddddddddddddddddddddddddddddd"), StringEntry(xy, "dddddddddddddddddddddddddddddddddddddddddddd")], unit)
8+ then $Tuple2([StringEntry(toBase58String(i.callerPublicKey), xy)], unit)
99 else throw("Вы не можете to create")
1010
1111

github/deemru/w8io/026f985 
19.93 ms