tx · CJ1f7DrFShqheKY5jMKwBDU5JDmv37tcQmjSyBzkdDxF

3N8mE3Vv1LpKFDxNRtdzBzmMKbwtycbB2KZ:  -0.01000000 Waves

2022.02.23 16:24 [1936370] smart account 3N8mE3Vv1LpKFDxNRtdzBzmMKbwtycbB2KZ > SELF 0.00000000 Waves

{ "type": 13, "id": "CJ1f7DrFShqheKY5jMKwBDU5JDmv37tcQmjSyBzkdDxF", "fee": 1000000, "feeAssetId": null, "timestamp": 1645622744476, "version": 2, "chainId": 84, "sender": "3N8mE3Vv1LpKFDxNRtdzBzmMKbwtycbB2KZ", "senderPublicKey": "9q7vTvr7sh15ChGajicBoCF1zuKAofLQPeBWFNdNsuA9", "proofs": [ "5nS1pp2SyWJaURLth2MDEuGzMXTELwDNodeJhomTBFW8rSuKYv1QetQ3zDXMJ8VRAPayHkwmfzAgx1BadxLkw5n1" ], "script": "base64:AAIFAAAAAAAAAA4IAhIFCgMICAgSAwoBCAAAAAEBAAAAEWlzVmFsaWRDb2xsZWN0aW9uAAAAAQAAAAxjb2xsZWN0aW9uSWQEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAAMY29sbGVjdGlvbklkAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWIFAAAAByRtYXRjaDAGBwAAAAIAAAABaQEAAAALaXNzdWVOZXdOZnQAAAADAAAABG5hbWUAAAAMY29sbGVjdGlvbklkAAAACG1ldGFkYXRhAwkAAAAAAAACCQEAAAARaXNWYWxpZENvbGxlY3Rpb24AAAABBQAAAAxjb2xsZWN0aW9uSWQHCQAAAgAAAAECAAAAIVRhcmdldCBjb2xsZWN0aW9uIGRvZXMgbm90IGV4aXN0IQQAAAANY2FsbGVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAVhc3NldAkABEIAAAAFBQAAAARuYW1lBQAAAAhtZXRhZGF0YQAAAAAAAAAAAQAAAAAAAAAAAAcEAAAAB2Fzc2V0SWQJAAQ4AAAAAQUAAAAFYXNzZXQEAAAACmFzc2V0SWRTdHIJAAJYAAAAAQUAAAAHYXNzZXRJZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAACmFzc2V0SWRTdHICAAAACF9hc3NldElkBQAAAAphc3NldElkU3RyCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAAKYXNzZXRJZFN0cgIAAAANX2NvbGxlY3Rpb25JZAUAAAAKYXNzZXRJZFN0cgkABEwAAAACBQAAAAVhc3NldAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAFdmFsdWUAAAABCQAEJgAAAAEFAAAADWNhbGxlckFkZHJlc3MAAAAAAAAAAAEFAAAAB2Fzc2V0SWQFAAAAA25pbAAAAAFpAQAAABBjcmVhdGVDb2xsZWN0aW9uAAAAAQAAAAhtZXRhZGF0YQQAAAAMY29sbGVjdGlvbklkCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACBQAAAAxjb2xsZWN0aW9uSWQCAAAAC19jb2xsZWN0aW9uBQAAAAhtZXRhZGF0YQUAAAADbmlsAAAAAKFB+wY=", "height": 1936370, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 24ZXGzyRpSjbxEaGAJawByLZqcATcbipoYVKPQ9VHCFd Next: EUuZBL1LH5GRT7p3kSADThZ9DFCTdva5FL66YUi5MGBE Diff:
OldNewDifferences
2020 let i = Issue(f, g, 1, 0, false)
2121 let j = calculateAssetId(i)
2222 let k = toBase58String(j)
23-[StringEntry((k + "_assetId"), k), StringEntry((k + "_collectionId"), b), i, ScriptTransfer(value(addressFromString(h)), 1, j)]
23+[StringEntry((k + "_assetId"), k), StringEntry((k + "_collectionId"), k), i, ScriptTransfer(value(addressFromString(h)), 1, j)]
2424 }
2525
2626
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = getString(this, b)
66 if ($isInstanceOf(c, "String"))
77 then {
88 let d = c
99 true
1010 }
1111 else false
1212 }
1313
1414
1515 @Callable(e)
1616 func issueNewNft (f,b,g) = if ((a(b) == false))
1717 then throw("Target collection does not exist!")
1818 else {
1919 let h = toBase58String(e.caller.bytes)
2020 let i = Issue(f, g, 1, 0, false)
2121 let j = calculateAssetId(i)
2222 let k = toBase58String(j)
23-[StringEntry((k + "_assetId"), k), StringEntry((k + "_collectionId"), b), i, ScriptTransfer(value(addressFromString(h)), 1, j)]
23+[StringEntry((k + "_assetId"), k), StringEntry((k + "_collectionId"), k), i, ScriptTransfer(value(addressFromString(h)), 1, j)]
2424 }
2525
2626
2727
2828 @Callable(e)
2929 func createCollection (g) = {
3030 let b = toBase58String(e.transactionId)
3131 [StringEntry((b + "_collection"), g)]
3232 }
3333
3434

github/deemru/w8io/169f3d6 
30.71 ms