tx · RG7MURXsNYqqchEnBCNVEQDCyib3hfTzeNf7mujMP2n

3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR:  -0.01000000 Waves

2022.10.28 07:38 [2291794] smart account 3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR > SELF 0.00000000 Waves

{ "type": 13, "id": "RG7MURXsNYqqchEnBCNVEQDCyib3hfTzeNf7mujMP2n", "fee": 1000000, "feeAssetId": null, "timestamp": 1666931728223, "version": 2, "chainId": 84, "sender": "3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR", "senderPublicKey": "GjnhUMpwQus4JiztKNVi1bLKtwBS2UT3YpxVyqsYB4KG", "proofs": [ "5xRwJ9aCJ76DRDW3kDHwF9UZVE6H9yeTdmUkSEz8c6BxCQiYkL4E7bkpxPFsjfFBLvPa4GbLFGBR92wHzvUDWdh1" ], "script": "base64:AAIFAAAAAAAAAA8IAhILCgkICAgICAEICAgAAAAAAAAAAQAAAAFpAQAAAAdhZGRJdGVtAAAACQAAAAhuZnRfbmFtZQAAAAluZnRfb3duZXIAAAAPbmZ0X2RBcHBBZGRyZXNzAAAACG5mdF90eXBlAAAACG5mdF90YWdzAAAAEW5mdF9zZWxsaW5nX3ByaWNlAAAAD25mdF9kZXNjcmlwdGlvbgAAAApuZnRfb25TZWxsAAAACG5mdF9kYXRhBAAAAAVhc3NldAkABEMAAAAHBQAAAAhuZnRfbmFtZQUAAAAPbmZ0X2Rlc2NyaXB0aW9uAAAAAAAAAAABAAAAAAAAAAAABwUAAAAEdW5pdAAAAAAAAAAAAAQAAAAHYXNzZXRJZAkABDgAAAABBQAAAAVhc3NldAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAhuZnRfbmFtZQUAAAAIbmZ0X25hbWUJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAJbmZ0X293bmVyBQAAAAluZnRfb3duZXIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAPbmZ0X2RBcHBBZGRyZXNzBQAAAA9uZnRfZEFwcEFkZHJlc3MJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAIbmZ0X3R5cGUFAAAACG5mdF90eXBlCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACG5mdF90YWdzBQAAAAhuZnRfdGFncwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAARbmZ0X3NlbGxpbmdfcHJpY2UFAAAAEW5mdF9zZWxsaW5nX3ByaWNlCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAD25mdF9kZXNjcmlwdGlvbgUAAAAPbmZ0X2Rlc2NyaXB0aW9uCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACm5mdF9vblNlbGwFAAAACm5mdF9vblNlbGwJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAIbmZ0X2RhdGEFAAAACG5mdF9kYXRhCQAETAAAAAIFAAAABWFzc2V0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXn1BUnU", "height": 2291794, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2tFKWdXSEWtXo8CZyRrsqKdF3MXBt4VPiZEmVzGUc9W1 Next: 3fTwkxHJgnSRvpMbDjqcjGMg46zbyFhTozryqV27UkC9 Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func myToken (name) = $Tuple2([Issue("Shub", "This is NFT", 1, 0, 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+[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)]
11+ }
812
13+
14+@Verifier(tx)
15+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
916
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func myToken (name) = $Tuple2([Issue("Shub", "This is NFT", 1, 0, 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+[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)]
11+ }
812
13+
14+@Verifier(tx)
15+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
916

github/deemru/w8io/026f985 
24.90 ms