tx · 8ZMMnXANfUcpYfpudyLgVjnAn49RhVfQ5TDVoDGd3M9t

3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR:  -0.01000000 Waves

2022.11.03 09:37 [2300578] smart account 3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR > SELF 0.00000000 Waves

{ "type": 13, "id": "8ZMMnXANfUcpYfpudyLgVjnAn49RhVfQ5TDVoDGd3M9t", "fee": 1000000, "feeAssetId": null, "timestamp": 1667457258678, "version": 2, "chainId": 84, "sender": "3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR", "senderPublicKey": "GjnhUMpwQus4JiztKNVi1bLKtwBS2UT3YpxVyqsYB4KG", "proofs": [ "NtCErdiAVuwnHHXQqa1EGYprX8s2X1hsdvsiB6TeDV7RB9NBkWhCtvZwmmg8bgtjGh6F2RQwbLpXFBog6xWqCcZ" ], "script": "base64:AAIFAAAAAAAAAA8IAhILCgkICAgICAEICAgAAAAAAAAAAQAAAAFpAQAAAAdhZGRJdGVtAAAACQAAAAhuZnRfbmFtZQAAAAluZnRfb3duZXIAAAAPbmZ0X2RBcHBBZGRyZXNzAAAACG5mdF90eXBlAAAACG5mdF90YWdzAAAAEW5mdF9zZWxsaW5nX3ByaWNlAAAAD25mdF9kZXNjcmlwdGlvbgAAAApuZnRfb25TZWxsAAAACG5mdF9kYXRhBAAAAAVhc3NldAkABEMAAAAHBQAAAAhuZnRfbmFtZQUAAAAPbmZ0X2Rlc2NyaXB0aW9uAAAAAAAAAAABAAAAAAAAAAAABwUAAAAEdW5pdAAAAAAAAAAAAAQAAAAHYXNzZXRJZAkABDgAAAABBQAAAAVhc3NldAQAAAAMb3duZXJBZGRyZXNzCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAhuZnRfbmFtZQUAAAAIbmZ0X25hbWUJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAJbmZ0X293bmVyBQAAAAluZnRfb3duZXIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAPbmZ0X2RBcHBBZGRyZXNzBQAAAA9uZnRfZEFwcEFkZHJlc3MJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAIbmZ0X3R5cGUFAAAACG5mdF90eXBlCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACG5mdF90YWdzBQAAAAhuZnRfdGFncwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAARbmZ0X3NlbGxpbmdfcHJpY2UFAAAAEW5mdF9zZWxsaW5nX3ByaWNlCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAD25mdF9kZXNjcmlwdGlvbgUAAAAPbmZ0X2Rlc2NyaXB0aW9uCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACm5mdF9vblNlbGwFAAAACm5mdF9vblNlbGwJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAIbmZ0X2RhdGEFAAAACG5mdF9kYXRhCQAETAAAAAIFAAAABWFzc2V0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsAAAAADmeAQI=", "height": 2300578, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8ctCRaSHhqA2G176Gb5aCpKHWz8uTafQZA1ZjAGuAD4i Next: 8LvUcmjwtPzxisufx5B4beEy6GWsoTxR6thFxJmmf6Fo Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func myToken () = $Tuple2([Issue("Shub", "This is NFT", 1, 60, false)], unit)
7+func addItem (nft_name,nft_owner,nft_dAppAddress,nft_type,nft_tags,nft_selling_price,nft_description,nft_onSell,nft_data) = {
8+ let asset = Issue(nft_name, nft_description, 1, 0, false, unit, 0)
9+ let assetId = calculateAssetId(asset)
10+ let ownerAddress = toString(i.caller)
11+[StringEntry("nft_name", nft_name), StringEntry("nft_owner", nft_owner), StringEntry("nft_dAppAddress", nft_dAppAddress), StringEntry("nft_type", nft_type), StringEntry("nft_tags", nft_tags), IntegerEntry("nft_selling_price", nft_selling_price), StringEntry("nft_description", nft_description), StringEntry("nft_onSell", nft_onSell), StringEntry("nft_data", nft_data), asset, ScriptTransfer(i.caller, 1, assetId)]
12+ }
813
914
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func myToken () = $Tuple2([Issue("Shub", "This is NFT", 1, 60, false)], unit)
7+func addItem (nft_name,nft_owner,nft_dAppAddress,nft_type,nft_tags,nft_selling_price,nft_description,nft_onSell,nft_data) = {
8+ let asset = Issue(nft_name, nft_description, 1, 0, false, unit, 0)
9+ let assetId = calculateAssetId(asset)
10+ let ownerAddress = toString(i.caller)
11+[StringEntry("nft_name", nft_name), StringEntry("nft_owner", nft_owner), StringEntry("nft_dAppAddress", nft_dAppAddress), StringEntry("nft_type", nft_type), StringEntry("nft_tags", nft_tags), IntegerEntry("nft_selling_price", nft_selling_price), StringEntry("nft_description", nft_description), StringEntry("nft_onSell", nft_onSell), StringEntry("nft_data", nft_data), asset, ScriptTransfer(i.caller, 1, assetId)]
12+ }
813
914

github/deemru/w8io/169f3d6 
38.65 ms