tx · BaCskAKPnWKsFDxN3SfUfKvL6vMZjK3qBZBGLi96nwg

3MuGYQ4baZoEixQ5hqxULFMtwK1BScTyYf1:  -0.01000000 Waves

2024.01.18 09:02 [2936607] smart account 3MuGYQ4baZoEixQ5hqxULFMtwK1BScTyYf1 > SELF 0.00000000 Waves

{ "type": 13, "id": "BaCskAKPnWKsFDxN3SfUfKvL6vMZjK3qBZBGLi96nwg", "fee": 1000000, "feeAssetId": null, "timestamp": 1705557834701, "version": 2, "chainId": 84, "sender": "3MuGYQ4baZoEixQ5hqxULFMtwK1BScTyYf1", "senderPublicKey": "E4aCqNpB73gR4uKdVf4CwjxvWUn6S57VVK2nHqNokTkb", "proofs": [ "44SJtSJHg2EJTpgEcKYY2ba5mvfSe3Bj9FACekwVbuVmrPruK69Whej2v4KwKLnaWhz3sKDoNzTp1F5JLSBWmvgB" ], "script": "base64:AAIFAAAAAAAAAAkIAhIFCgMICAgAAAADAAAAAAZzdWZmaXgCAAAAAldTAQAAAA9nZXRJbnRlZ2VyQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkAAAAAAAAAAAABAAAADGlkQ2FsbGVyRGF0ZQAAAAEAAAABaQkABRUAAAADCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAAAAABAAAAAWkBAAAABG1pbnQAAAADAAAABG5hbWUAAAAEZGVzYwAAAANjaWQEAAAACSR0MDM3NTQxNQkBAAAADGlkQ2FsbGVyRGF0ZQAAAAEFAAAAAWkEAAAAAmlkCAUAAAAJJHQwMzc1NDE1AAAAAl8xBAAAAAZjYWxsZXIIBQAAAAkkdDAzNzU0MTUAAAACXzIEAAAABGRhdGUIBQAAAAkkdDAzNzU0MTUAAAACXzMEAAAACHRvdGFsTkZU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dWJsaWNLZXlPWZew", "height": 2936607, "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 = "WS"
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 
13.83 ms