tx · CMz23RRk2JQB4CQuwpxDJtFWyzjYE7pfuZoX8qV7ry4y 3Mv4bRtjYqcHpvxuW6fxgGvGxPx51UrR3Bh: -0.00200000 Waves 2022.08.11 14:06 [2179738] smart account 3Mv4bRtjYqcHpvxuW6fxgGvGxPx51UrR3Bh > SELF 0.00000000 Waves
{ "type": 13, "id": "CMz23RRk2JQB4CQuwpxDJtFWyzjYE7pfuZoX8qV7ry4y", "fee": 200000, "feeAssetId": null, "timestamp": 1660216071752, "version": 2, "chainId": 84, "sender": "3Mv4bRtjYqcHpvxuW6fxgGvGxPx51UrR3Bh", "senderPublicKey": "DFQnYm5XgXfKsog3SdUNF2UXv1nZ7bm5MRxhnvPJJYaQ", "proofs": [ "53YPdFh78KjqPtkCNU9zPij1GG6wVqqthsRtob4e4ynTgUEuWtQdrcq81Bpew5HBXm6TxCgPQahrhBoAKb6qtmfZ" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAABQAAAAANUEFZTUVOVF9BU1NFVAEAAAAgLTcTgdMkN12f4W9209EPk+8sLPTdia1cSlbofMkBchsAAAAAC2FkbWluUHViS2V5AQAAACDYz6eBJvJ1RiSMeo4NPcTC0Yo6om4BKm0t2ElqTOI3bAAAAAAOUEFZTUVOVF9BTU9VTlQAAAAAADuaygAAAAAABmNvbG9ycwkABEwAAAACAgAAAAMwMDAJAARMAAAAAgIAAAADZmZmCQAETAAAAAICAAAABjAwMDAwMAkABEwAAAACAgAAAAZmZmZmZmYJAARMAAAAAgIAAAAGRkYwMjAwCQAETAAAAAICAAAABjgwMDA4MAkABEwAAAACAgAAAAZGRjAwRkYJAARMAAAAAgIAAAAGMDA4MDAxCQAETAAAAAICAAAABkZFRkYwMAkABEwAAAACAgAAAAYwMjAwODAJAARMAAAAAgIAAAAGMDgwMEZGCQAETAAAAAICAAAABjE4MzkzNwkABEwAAAACAgAAAAYwOUZFRkYJAARMAAAAAgIAAAAGNzA3NkU5CQAETAAAAAICAAAABkMwQzBDMAkABEwAA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eeded", "spentComplexity": 0 } View: original | compacted Prev: HPKoCMioH8sh5bpo2njMDC8TWFU2fy7oRBZkLJRJHCwT Next: B6ZVbKRX6KnfTkfV6q5zbKVC9VAwkRKWUhPXRjY3RJ2J Diff:
Old | New | Differences | |
---|---|---|---|
31 | 31 | @Callable(f) | |
32 | 32 | func mintPixelsNFT (k) = { | |
33 | 33 | let l = toBase58String(f.caller.bytes) | |
34 | - | let m = split(k, ",") | |
35 | - | let n = size(m) | |
36 | - | throw(toString(n)) | |
34 | + | [StringEntry("pixels_nft_1", k)] | |
37 | 35 | } | |
38 | 36 | ||
39 | 37 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'43W4FcqA1rEpSmUGHoGiXvpSLfhadws9LS5j3SJsKxxS' | |
5 | 5 | ||
6 | 6 | let b = base58'FbLiNMd4sSrhepz5fcTNF7nk4vpxStYMuoHb1HbYq88j' | |
7 | 7 | ||
8 | 8 | let c = 1000000000 | |
9 | 9 | ||
10 | 10 | let d = ["000", "fff", "000000", "ffffff", "FF0200", "800080", "FF00FF", "008001", "FEFF00", "020080", "0800FF", "183937", "09FEFF", "7076E9", "C0C0C0", "C3103B", "ff0200", "ff00ff", "feff00", "0800ff", "09feff", "7076e9", "c0c0c0", "c3103b", "876445", "FF87B2", "7DCE13", "ECCCB2"] | |
11 | 11 | ||
12 | 12 | func e (f) = { | |
13 | 13 | let g = a | |
14 | 14 | if ((size(f.payments) == 0)) | |
15 | 15 | then throw("Payment not attached") | |
16 | 16 | else { | |
17 | 17 | let h = f.payments[0] | |
18 | 18 | let i = h.assetId | |
19 | 19 | if ($isInstanceOf(i, "ByteVector")) | |
20 | 20 | then { | |
21 | 21 | let j = i | |
22 | 22 | if ((j == g)) | |
23 | 23 | then (h.amount == c) | |
24 | 24 | else false | |
25 | 25 | } | |
26 | 26 | else throw("Wrong payment asset") | |
27 | 27 | } | |
28 | 28 | } | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | @Callable(f) | |
32 | 32 | func mintPixelsNFT (k) = { | |
33 | 33 | let l = toBase58String(f.caller.bytes) | |
34 | - | let m = split(k, ",") | |
35 | - | let n = size(m) | |
36 | - | throw(toString(n)) | |
34 | + | [StringEntry("pixels_nft_1", k)] | |
37 | 35 | } | |
38 | 36 | ||
39 | 37 |
github/deemru/w8io/fabc49c 54.98 ms ◑