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:AAIFAAAAAAAAAAkIAhIFCgMICAgAAAADAAAAAAZzdWZmaXgCAAAAAkNQAQAAAA9nZXRJbnRlZ2VyQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkAAAAAAAAAAAABAAAADGlkQ2FsbGVyRGF0ZQAAAAEAAAABaQkABRUAAAADCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAAAAABAAAAAWkBAAAABG1pbnQAAAADAAAABG5hbWUAAAAEZGVzYwAAAANjaWQEAAAACSR0MDM3NTQxNQkBAAAADGlkQ2FsbGVyRGF0ZQAAAAEFAAAAAWkEAAAAAmlkCAUAAAAJJHQwMzc1NDE1AAAAAl8xBAAAAAZjYWxsZXIIBQAAAAkkdDAzNzU0MTUAAAACXzIEAAAABGRhdGUIBQAAAAkkdDAzNzU0MTUAAAACXzMEAAAACHRvdGFsTkZUC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WJsaWNLZXnK8nQN", "height": 2936502, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let suffix = "CP"
5+
6+func getIntegerByKey (key) = valueOrElse(getInteger(this, key), 0)
7+
8+
9+func idCallerDate (i) = $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp)
10+
11+
12+@Callable(i)
13+func mint (name,desc,cid) = {
14+ let $t0375415 = idCallerDate(i)
15+ let id = $t0375415._1
16+ let caller = $t0375415._2
17+ let date = $t0375415._3
18+ let totalNFT = valueOrElse(getIntegerByKey("total_nft_issued"), 0)
19+ let issueMeta = "Random NFT test for SIGN ART external"
20+ let issueNFT = Issue(((suffix + "_") + toString((totalNFT + 1))), issueMeta, 1, 0, false)
21+ let idNFT = calculateAssetId(issueNFT)
22+[StringEntry(("name_" + toBase58String(idNFT)), name), StringEntry(("desc_" + toBase58String(idNFT)), desc), StringEntry(("displayCid_" + toBase58String(idNFT)), cid), IntegerEntry("total_nft_issued", (totalNFT + 1)), issueNFT, ScriptTransfer(i.caller, 1, idNFT)]
23+ }
24+
25+
26+@Verifier(tx)
27+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
28+

github/deemru/w8io/026f985 
15.59 ms