tx · 2a7Z6zGP46i1dUemPij3M9sXGgRbVz8ZLmAR7wAsAVLR 3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq: -0.01000000 Waves 2022.11.01 13:35 [2297932] smart account 3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq > SELF 0.00000000 Waves
{ "type": 13, "id": "2a7Z6zGP46i1dUemPij3M9sXGgRbVz8ZLmAR7wAsAVLR", "fee": 1000000, "feeAssetId": null, "timestamp": 1667298948373, "version": 2, "chainId": 84, "sender": "3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq", "senderPublicKey": "H6UqxUDcJamDRg1uykVcWMn4zhAMTV7i1nfPq1moLWmJ", "proofs": [ "2qzt5vAJgsg41NE7seg5DnHayzGUNoA2UQ4Zhcw4QHhzoaJn8kzWtSmEAtvarma7VrL7iUMTLEJw9D7F7hdnSHvN" ], "script": "base64:AAIFAAAAAAAAABcIAhILCgkICAgICAEICAgSBgoECAgBCAAAAAEAAAAABXdhdmVzAQAAAAAAAAACAAAAAWkBAAAAB2FkZEl0ZW0AAAAJAAAACG5mdF9uYW1lAAAACW5mdF9vd25lcgAAAA9uZnRfZEFwcEFkZHJlc3MAAAAIbmZ0X3R5cGUAAAAIbmZ0X3RhZ3MAAAARbmZ0X3NlbGxpbmdfcHJpY2UAAAAPbmZ0X2Rlc2NyaXB0aW9uAAAACm5mdF9vblNlbGwAAAAIbmZ0X2RhdGEEAAAABWFzc2V0CQAEQwAAAAcFAAAACG5mdF9uYW1lBQAAAA9uZnRfZGVzY3JpcHRpb24AAAAAAAAAAAEAAAAAAAAAAAAHBQAAAAR1bml0AAAAAAAAAAAABAAAAAdhc3NldElkCQAEOAAAAAEFAAAABWFzc2V0CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACG5mdF9uYW1lBQAAAAhuZnRfbmFtZQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAluZnRfb3duZXIFAAAACW5mdF9vd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W50cnkAAAACAgAAAAZuZnRfaWQFAAAABm5mdF9pZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAABJhc3NldF9vd25lckFkZHJlc3MFAAAADG93bmVyQWRkcmVzcwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAOcGFpZF9mb3JfYXNzZXQFAAAACXBheUFtb3VudAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAABVyZWFsX2lzc3Vlcl9uZnRfdHhfaWQFAAAAEXJlYWxJc3N1ZXJORlRUeElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAAEHBheW1lbnRSZWNpcGllbnQFAAAACXBheUFtb3VudAUAAAAFd2F2ZXMJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAdhc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleSdjr0k=", "height": 2297932, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9strCJqV3q5UjqvpZ29P9gYyQSEhasvqm8VJPouks6J4 Next: HVMj533zZQPaktSAei6a5Xzfo8gZsLyeRm5UD8agq4X6 Diff:
Old | New | Differences | |
---|---|---|---|
15 | 15 | @Callable(b) | |
16 | 16 | func BuyItem (n,o,p,q) = { | |
17 | 17 | let r = b.payments | |
18 | - | let m = fromBase58String(" | |
18 | + | let m = fromBase58String("9dYGgVmTNnrmeUQdEngnxV8wMMeZwqCtce2ofAYaQyz1") | |
19 | 19 | let s = Address(fromBase58String(o)) | |
20 | 20 | [StringEntry("nft_id", n), StringEntry("asset_ownerAddress", o), IntegerEntry("paid_for_asset", p), StringEntry("real_issuer_nft_tx_id", q), ScriptTransfer(s, p, a), ScriptTransfer(b.caller, 1, m)] | |
21 | 21 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'' | |
5 | 5 | ||
6 | 6 | @Callable(b) | |
7 | 7 | func addItem (c,d,e,f,g,h,i,j,k) = { | |
8 | 8 | let l = Issue(c, i, 1, 0, false, unit, 0) | |
9 | 9 | let m = calculateAssetId(l) | |
10 | 10 | [StringEntry("nft_name", c), StringEntry("nft_owner", d), StringEntry("nft_dAppAddress", e), StringEntry("nft_type", f), StringEntry("nft_tags", g), IntegerEntry("nft_selling_price", h), StringEntry("nft_description", i), StringEntry("nft_onSell", j), StringEntry("nft_data", k), l, ScriptTransfer(b.caller, 1, m)] | |
11 | 11 | } | |
12 | 12 | ||
13 | 13 | ||
14 | 14 | ||
15 | 15 | @Callable(b) | |
16 | 16 | func BuyItem (n,o,p,q) = { | |
17 | 17 | let r = b.payments | |
18 | - | let m = fromBase58String(" | |
18 | + | let m = fromBase58String("9dYGgVmTNnrmeUQdEngnxV8wMMeZwqCtce2ofAYaQyz1") | |
19 | 19 | let s = Address(fromBase58String(o)) | |
20 | 20 | [StringEntry("nft_id", n), StringEntry("asset_ownerAddress", o), IntegerEntry("paid_for_asset", p), StringEntry("real_issuer_nft_tx_id", q), ScriptTransfer(s, p, a), ScriptTransfer(b.caller, 1, m)] | |
21 | 21 | } | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | @Verifier(t) | |
25 | 25 | func u () = sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey) | |
26 | 26 |
github/deemru/w8io/169f3d6 28.15 ms ◑