tx · 7VD8g2Ga1bqhk7xhyRHKSUR5rmXy5veDBLLADWTkSh9C 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves 2022.11.04 12:24 [2302177] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{ "type": 13, "id": "7VD8g2Ga1bqhk7xhyRHKSUR5rmXy5veDBLLADWTkSh9C", "fee": 1000000, "feeAssetId": null, "timestamp": 1667553596311, "version": 2, "chainId": 84, "sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo", "senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V", "proofs": [ "3TeACULB8eubnpnkieCuo5uiTbuAbg4WXzvKmKCyTvZvdT3DDD3NtFmsz3zzY8xE4qkM48STXU8mUHusCbijBnVA" ], "script": "base64:AAIFAAAAAAAAAAoIAhIGCgQIAQgBAAAAAAAAAAEAAAABaQEAAAAHYnV5SXRlbQAAAAQAAAAIbmZ0X25hbWUAAAAGYW1vdW50AAAAD25mdF9kZXNjcmlwdGlvbgAAAAluZnRfcHJpY2UEAAAADG93bmVyQWRkcmVzcwgFAAAAAWkAAAAGY2FsbGVyCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkABCUAAAABBQAAAAxvd25lckFkZHJlc3MCAAAACG5mdF9uYW1lBQAAAAhuZnRfbmFtZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQAEJQAAAAEFAAAADG93bmVyQWRkcmVzcwIAAAAGYW1vdW50BQAAAAZhbW91bnQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQAEJQAAAAEFAAAADG93bmVyQWRkcmVzcwIAAAAPbmZ0X2Rlc2NyaXB0aW9uBQAAAA9uZnRfZGVzY3JpcHRpb24JAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkABCUAAAABBQAAAAxvd25lckFkZHJlc3MCAAAACW5mdF9wcmljZQUAAAAJbmZ0X3ByaWNlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAADG93bmVyQWRkcmVzcwUAAAAJbmZ0X3ByaWNlBQAAAAR1bml0BQAAAANuaWwAAAAALrbNzA==", "height": 2302177, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ByeBFefV9reFeJdU5rEqEHrrNFqoC6YC8HLX7djaT25V Next: GjJ2S5f2HEmdTDWRFwmPyZ7GwZB3ohvaxsgz88DCx59D Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func buyItem (b,c,d,e | |
8 | - | let | |
9 | - | [StringEntry("nft_name", b), IntegerEntry("amount", c), StringEntry("nft_description", e), | |
7 | + | func buyItem (b,c,d,e) = { | |
8 | + | let f = a.caller | |
9 | + | [StringEntry((toString(f) + "nft_name"), b), IntegerEntry((toString(f) + "amount"), c), StringEntry((toString(f) + "nft_description"), d), IntegerEntry((toString(f) + "nft_price"), e), ScriptTransfer(f, e, unit)] | |
10 | 10 | } | |
11 | 11 | ||
12 | 12 |
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(a) | |
7 | - | func buyItem (b,c,d,e | |
8 | - | let | |
9 | - | [StringEntry("nft_name", b), IntegerEntry("amount", c), StringEntry("nft_description", e), | |
7 | + | func buyItem (b,c,d,e) = { | |
8 | + | let f = a.caller | |
9 | + | [StringEntry((toString(f) + "nft_name"), b), IntegerEntry((toString(f) + "amount"), c), StringEntry((toString(f) + "nft_description"), d), IntegerEntry((toString(f) + "nft_price"), e), ScriptTransfer(f, e, unit)] | |
10 | 10 | } | |
11 | 11 | ||
12 | 12 |
github/deemru/w8io/026f985 20.88 ms ◑