tx · Gh72Ls16LUkUAtDWwLM5xieXgNRXEp5Ra5CH5bfsNvNa

3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz:  -0.01400000 Waves

2022.10.30 19:07 [2295364] smart account 3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz > SELF 0.00000000 Waves

{ "type": 13, "id": "Gh72Ls16LUkUAtDWwLM5xieXgNRXEp5Ra5CH5bfsNvNa", "fee": 1400000, "feeAssetId": null, "timestamp": 1667146032921, "version": 2, "chainId": 84, "sender": "3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz", "senderPublicKey": "AmNGcQhk77jcLZEVysQPbYbF3QCHAzQH9Zc9oRZB963h", "proofs": [ "4hkG4kUQ4i4DNdMsZmtyjo9k6hdoYguu4AaRhiM9GBZbJMc7UTw2KUyXULmwc4wY1MezThqAKzmK3s8DDmx3cPTF" ], "script": "base64:AAIFAAAAAAAAAAkIAhIFCgMICAgAAAAAAAAAAQAAAAFpAQAAAA5Jc3N1ZU5GVFNlcmllcwAAAAMAAAAOTkZURGVzY3JpcHRpb24AAAAISVBGU0hhc2gAAAAIQ2F0ZWdvcnkEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAANTkZUU2VyaWVzTmFtZQIAAAAGQTRBREFPBAAAAAtnZXRJUEZTSGFzaAkABB0AAAACBQAAAAR0aGlzBQAAAAhJUEZTSGFzaAQAAAAQZ2V0U2VyaWVzQ291bnRlcgQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAAdDb3VudGVyAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAAFEN1cnJlbnRTZXJpZXNDb3VudGVyCQAAZAAAAAIFAAAAEGdldFNlcmllc0NvdW50ZXIAAAAAAAAAAAEEAAAABWFzc2V0CQAEQwAAAAcJAAEsAAAAAgkAASw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AAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleVItdMw=", "height": 2295364, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EXkyNRLu4QFJGQGi6d4aoLoaBrrhThyRJiZz5aKH6e4W Next: 4HGZSQCyiGVyGvt67EKK9b17HKjvFiJ2X7cXCe4mMCYK Diff:
OldNewDifferences
77 func IssueNFTSeries (b,c,d) = {
88 let e = toBase58String(a.caller.bytes)
99 let f = "A4ADAO"
10- let g = {
11- let h = getInteger(this, "Counter")
12- if ($isInstanceOf(h, "Int"))
10+ let g = getString(this, c)
11+ let h = {
12+ let i = getInteger(this, "Counter")
13+ if ($isInstanceOf(i, "Int"))
1314 then {
14- let i = h
15- i
15+ let j = i
16+ j
1617 }
1718 else 0
1819 }
19- let j = (g + 1)
20- let k = Issue(((f + "-") + toString(j)), b, 1, 0, false, unit, 0)
21- let l = calculateAssetId(k)
22-[k, IntegerEntry("Counter", j), IntegerEntry(("Timestamp_" + c), lastBlock.timestamp), StringEntry(c, e), StringEntry(("Link_" + c), ("https://api.ipfsbrowser.com/ipfs/get.php?hash=" + c)), ScriptTransfer(a.caller, 1, l)]
20+ let k = (h + 1)
21+ let l = Issue(((f + "-") + toString(k)), b, 1, 0, false, unit, 0)
22+ let m = calculateAssetId(l)
23+ if ((g == c))
24+ then throw(((c + " Hash Already Registered by ") + value(g)))
25+ else [l, IntegerEntry("Counter", k), IntegerEntry(("Timestamp_" + c), lastBlock.timestamp), StringEntry(c, e), StringEntry(("Link_" + c), ("https://api.ipfsbrowser.com/ipfs/get.php?hash=" + c)), ScriptTransfer(a.caller, 1, m)]
2326 }
2427
2528
26-@Verifier(m)
27-func n () = sigVerify(m.bodyBytes, m.proofs[0], m.senderPublicKey)
29+@Verifier(n)
30+func o () = sigVerify(n.bodyBytes, n.proofs[0], n.senderPublicKey)
2831
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func IssueNFTSeries (b,c,d) = {
88 let e = toBase58String(a.caller.bytes)
99 let f = "A4ADAO"
10- let g = {
11- let h = getInteger(this, "Counter")
12- if ($isInstanceOf(h, "Int"))
10+ let g = getString(this, c)
11+ let h = {
12+ let i = getInteger(this, "Counter")
13+ if ($isInstanceOf(i, "Int"))
1314 then {
14- let i = h
15- i
15+ let j = i
16+ j
1617 }
1718 else 0
1819 }
19- let j = (g + 1)
20- let k = Issue(((f + "-") + toString(j)), b, 1, 0, false, unit, 0)
21- let l = calculateAssetId(k)
22-[k, IntegerEntry("Counter", j), IntegerEntry(("Timestamp_" + c), lastBlock.timestamp), StringEntry(c, e), StringEntry(("Link_" + c), ("https://api.ipfsbrowser.com/ipfs/get.php?hash=" + c)), ScriptTransfer(a.caller, 1, l)]
20+ let k = (h + 1)
21+ let l = Issue(((f + "-") + toString(k)), b, 1, 0, false, unit, 0)
22+ let m = calculateAssetId(l)
23+ if ((g == c))
24+ then throw(((c + " Hash Already Registered by ") + value(g)))
25+ else [l, IntegerEntry("Counter", k), IntegerEntry(("Timestamp_" + c), lastBlock.timestamp), StringEntry(c, e), StringEntry(("Link_" + c), ("https://api.ipfsbrowser.com/ipfs/get.php?hash=" + c)), ScriptTransfer(a.caller, 1, m)]
2326 }
2427
2528
26-@Verifier(m)
27-func n () = sigVerify(m.bodyBytes, m.proofs[0], m.senderPublicKey)
29+@Verifier(n)
30+func o () = sigVerify(n.bodyBytes, n.proofs[0], n.senderPublicKey)
2831

github/deemru/w8io/169f3d6 
26.20 ms