tx · EH6NLGngLA8Aptjb15t9xGf3V3mzZWPhcNZfGKvVa5Y4
3N992tjd7EWM6dSHrdVjjjuJrLD4koNztZ9: -0.01400000 Waves
2021.12.21 14:12 [1843945] smart account 3N992tjd7EWM6dSHrdVjjjuJrLD4koNztZ9 > SELF 0.00000000 Waves
{
"type": 13,
"id": "EH6NLGngLA8Aptjb15t9xGf3V3mzZWPhcNZfGKvVa5Y4",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1640085177173,
"version": 2,
"chainId": 84,
"sender": "3N992tjd7EWM6dSHrdVjjjuJrLD4koNztZ9",
"senderPublicKey": "uvA9vj4MSzAjnVrqWShC8bnbSu5CxvEbd1m68b21qEw",
"proofs": [
"2euJ7NY9KSJfDmcNQyDFwDRokq4EVQ4c1iXSw7rkQEUGTNX6pi5d9YTAA1Hi8ZyxT8VU5cUyG6gbxVNZMYPggpLG"
],
"script": "base64:AAIFAAAAAAAAAEEIAhIAEgMKAQIaBgoBYRIBaRoKCgFiEgVhc3NldBoMCgFjEgdhc3NldElkGgcKAWQSAnR4GgsKAWUSBnZlcmlmeQAAAAAAAAACAAAAAWEBAAAADmlzc3VlRnJlZVB1cHB5AAAAAAQAAAABYgkABEIAAAAFAgAAABFQVVBQWS0xMTExMTExMS1HWgIAAAAAAAAAAAAAAAABAAAAAAAAAAAABwQAAAABYwkABDgAAAABBQAAAAFiCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFhAAAABmNhbGxlcgAAAAAAAAAAAQUAAAABYwUAAAADbmlsAAAAAWEBAAAAC3RyYW5zZmVyTkZUAAAAAQAAAAFjCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFhAAAABmNhbGxlcgAAAAAAAAAAAQUAAAABYwUAAAADbmlsAAAAAQAAAAFkAQAAAAFlAAAAAAkAAfQAAAADCAUAAAABZAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAWQAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABZAAAAA9zZW5kZXJQdWJsaWNLZXlxJwdB",
"height": 1843945,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Uczu9NeLi66th3msbJ26ioEekmijg3PGBbJzZNjTEMp
Next: 7qnjbLLiGgSiPQWtNX1kLDz4XP8R58bdXm88ju3ckDYQ
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func call () = { |
---|
8 | | - | let asset = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
| 7 | + | func issueFreePuppy () = { |
---|
| 8 | + | let asset = Issue("PUPPY-11111111-GZ", "", 1, 0, false) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | | - | [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), asset, ScriptTransfer(i.caller, 1, assetId)] |
---|
| 10 | + | [ScriptTransfer(i.caller, 1, assetId)] |
---|
11 | 11 | | } |
---|
| 12 | + | |
---|
| 13 | + | |
---|
| 14 | + | |
---|
| 15 | + | @Callable(i) |
---|
| 16 | + | func transferNFT (assetId) = [ScriptTransfer(i.caller, 1, assetId)] |
---|
12 | 17 | | |
---|
13 | 18 | | |
---|
14 | 19 | | @Verifier(tx) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func call () = { |
---|
8 | | - | let asset = Issue("Asset", "", 1, 0, true, unit, 0) |
---|
| 7 | + | func issueFreePuppy () = { |
---|
| 8 | + | let asset = Issue("PUPPY-11111111-GZ", "", 1, 0, false) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | | - | [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), asset, ScriptTransfer(i.caller, 1, assetId)] |
---|
| 10 | + | [ScriptTransfer(i.caller, 1, assetId)] |
---|
11 | 11 | | } |
---|
| 12 | + | |
---|
| 13 | + | |
---|
| 14 | + | |
---|
| 15 | + | @Callable(i) |
---|
| 16 | + | func transferNFT (assetId) = [ScriptTransfer(i.caller, 1, assetId)] |
---|
12 | 17 | | |
---|
13 | 18 | | |
---|
14 | 19 | | @Verifier(tx) |
---|
15 | 20 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
16 | 21 | | |
---|