tx · CMqHwALSK6BUfdwibKtTHbvajXYkFxedAdEVzaAiPdDT 3N8kBjCKR9cVQoEFhv8Su7BQzhiCekk39z5: -0.01000000 Waves 2024.01.18 07:22 [2936502] smart account 3N8kBjCKR9cVQoEFhv8Su7BQzhiCekk39z5 > SELF 0.00000000 Waves
{ "type": 13, "id": "CMqHwALSK6BUfdwibKtTHbvajXYkFxedAdEVzaAiPdDT", "fee": 1000000, "feeAssetId": null, "timestamp": 1705551786156, "version": 2, "chainId": 84, "sender": "3N8kBjCKR9cVQoEFhv8Su7BQzhiCekk39z5", "senderPublicKey": "5LztNQzAn5k9UjY3wuAQoFAyPsFGX3ZubJPaVwyERrFa", "proofs": [ "4X5vv7sBwegCxaifSRgfJEbisGxzpngZWx5btjgcCz8DFgUuoxdRcpTcFKoicmJLvCtCSnV9hBdqjZwxVqzCPPvj" ], "script": "base64:AAIFAAAAAAAAAAkIAhIFCgMICAgAAAADAAAAAAZzdWZmaXgCAAAAAkNQAQAAAA9nZXRJbnRlZ2VyQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkAAAAAAAAAAAABAAAADGlkQ2FsbGVyRGF0ZQAAAAEAAAABaQkABRUAAAADCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAAAAABAAAAAWkBAAAABG1pbnQAAAADAAAABG5hbWUAAAAEZGVzYwAAAANjaWQEAAAACSR0MDM3NTQxNQkBAAAADGlkQ2FsbGVyRGF0ZQAAAAEFAAAAAWkEAAAAAmlkCAUAAAAJJHQwMzc1NDE1AAAAAl8xBAAAAAZjYWxsZXIIBQAAAAkkdDAzNzU0MTUAAAACXzIEAAAABGRhdGUIBQAAAAkkdDAzNzU0MTUAAAACXzMEAAAACHRvdGFsTkZUCQ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JsaWNLZXnK8nQN", "height": 2936502, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "CP" | |
5 | + | ||
6 | + | func b (c) = valueOrElse(getInteger(this, c), 0) | |
7 | + | ||
8 | + | ||
9 | + | func d (e) = $Tuple3(toBase58String(e.transactionId), toBase58String(e.caller.bytes), lastBlock.timestamp) | |
10 | + | ||
11 | + | ||
12 | + | @Callable(e) | |
13 | + | func mint (f,g,h) = { | |
14 | + | let i = d(e) | |
15 | + | let j = i._1 | |
16 | + | let k = i._2 | |
17 | + | let l = i._3 | |
18 | + | let m = valueOrElse(b("total_nft_issued"), 0) | |
19 | + | let n = "Random NFT test for SIGN ART external" | |
20 | + | let o = Issue(((a + "_") + toString((m + 1))), n, 1, 0, false) | |
21 | + | let p = calculateAssetId(o) | |
22 | + | [StringEntry(("name_" + toBase58String(p)), f), StringEntry(("desc_" + toBase58String(p)), g), StringEntry(("displayCid_" + toBase58String(p)), h), IntegerEntry("total_nft_issued", (m + 1)), o, ScriptTransfer(e.caller, 1, p)] | |
23 | + | } | |
24 | + | ||
25 | + | ||
26 | + | @Verifier(q) | |
27 | + | func r () = sigVerify(q.bodyBytes, q.proofs[0], q.senderPublicKey) | |
28 | + |
github/deemru/w8io/169f3d6 13.92 ms ◑