tx · 66Lk7EKi6rj2pQ5SLW77WvbCQHJF6sucavrxe6hMxMJY

3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR:  -0.01000000 Waves

2022.11.04 12:35 [2302189] smart account 3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR > SELF 0.00000000 Waves

{ "type": 13, "id": "66Lk7EKi6rj2pQ5SLW77WvbCQHJF6sucavrxe6hMxMJY", "fee": 1000000, "feeAssetId": null, "timestamp": 1667554323877, "version": 2, "chainId": 84, "sender": "3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR", "senderPublicKey": "GjnhUMpwQus4JiztKNVi1bLKtwBS2UT3YpxVyqsYB4KG", "proofs": [ "5JwDJf11TbSMUog9YsnrihNbBHxmbhfq8hpurq3kD5XUVVbre2mk7vHmCDpYHTZTwEbaczhZfyh6BiWt5CKkeuAo" ], "script": "base64:AAIFAAAAAAAAABcIAhILCgkICAgICAEICAgSBgoECAEIAQAAAAAAAAACAAAAAWkBAAAAB2FkZEl0ZW0AAAAJAAAACG5mdF9uYW1lAAAACW5mdF9vd25lcgAAAA9uZnRfZEFwcEFkZHJlc3MAAAAIbmZ0X3R5cGUAAAAIbmZ0X3RhZ3MAAAARbmZ0X3NlbGxpbmdfcHJpY2UAAAAPbmZ0X2Rlc2NyaXB0aW9uAAAACm5mdF9vblNlbGwAAAAIbmZ0X2RhdGEEAAAABWFzc2V0CQAEQwAAAAcFAAAACG5mdF9uYW1lBQAAAA9uZnRfZGVzY3JpcHRpb24AAAAAAAAAAAEAAAAAAAAAAAAHBQAAAAR1bml0AAAAAAAAAAAABAAAAAdhc3NldElkCQAEOAAAAAEFAAAABWFzc2V0BAAAAAxvd25lckFkZHJlc3MIBQAAAAFpAAAABmNhbGxlcgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAQlAAAAAQUAAAAMb3duZXJBZGRyZXNzAgAAAAhuZnRfbmFtZQUAAAAIbmZ0X25hbWUJAARMAAAAAg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QWRkcmVzcwAAAAAAAAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsAAAAAWkBAAAAB2J1eUl0ZW0AAAAEAAAACG5mdF9uYW1lAAAABmFtb3VudAAAAA9uZnRfZGVzY3JpcHRpb24AAAAJbmZ0X3ByaWNlBAAAAAxvd25lckFkZHJlc3MIBQAAAAFpAAAABmNhbGxlcgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAQlAAAAAQUAAAAMb3duZXJBZGRyZXNzAgAAAAhuZnRfbmFtZQUAAAAIbmZ0X25hbWUJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkABCUAAAABBQAAAAxvd25lckFkZHJlc3MCAAAABmFtb3VudAUAAAAGYW1vdW50CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkABCUAAAABBQAAAAxvd25lckFkZHJlc3MCAAAAD25mdF9kZXNjcmlwdGlvbgUAAAAPbmZ0X2Rlc2NyaXB0aW9uCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAQlAAAAAQUAAAAMb3duZXJBZGRyZXNzAgAAAAluZnRfcHJpY2UFAAAACW5mdF9wcmljZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAxvd25lckFkZHJlc3MFAAAACW5mdF9wcmljZQUAAAAEdW5pdAUAAAADbmlsAAAAACyhisk=", "height": 2302189, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E5m1BFr7cNoebVYRfmAzLpEQUz9FJPX1Rq2ooWT8MEqA Next: Cp56Ps76R3VhfJ27rNdRRLzNkrHrmod3cXLXm8me16Pz Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+
5+
6+@Callable(i)
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 = i.caller
11+[StringEntry((toString(ownerAddress) + "nft_name"), nft_name), StringEntry((toString(ownerAddress) + "nft_owner"), nft_owner), StringEntry((toString(ownerAddress) + "nft_dAppAddress"), nft_dAppAddress), StringEntry((toString(ownerAddress) + "nft_type"), nft_type), StringEntry((toString(ownerAddress) + "nft_tags"), nft_tags), IntegerEntry((toString(ownerAddress) + "nft_selling_price"), nft_selling_price), StringEntry((toString(ownerAddress) + "nft_description"), nft_description), StringEntry((toString(ownerAddress) + "nft_onSell"), nft_onSell), StringEntry((toString(ownerAddress) + "nft_data"), nft_data), asset, ScriptTransfer(ownerAddress, 1, assetId)]
12+ }
13+
414
515
616 @Callable(i)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+
5+
6+@Callable(i)
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 = i.caller
11+[StringEntry((toString(ownerAddress) + "nft_name"), nft_name), StringEntry((toString(ownerAddress) + "nft_owner"), nft_owner), StringEntry((toString(ownerAddress) + "nft_dAppAddress"), nft_dAppAddress), StringEntry((toString(ownerAddress) + "nft_type"), nft_type), StringEntry((toString(ownerAddress) + "nft_tags"), nft_tags), IntegerEntry((toString(ownerAddress) + "nft_selling_price"), nft_selling_price), StringEntry((toString(ownerAddress) + "nft_description"), nft_description), StringEntry((toString(ownerAddress) + "nft_onSell"), nft_onSell), StringEntry((toString(ownerAddress) + "nft_data"), nft_data), asset, ScriptTransfer(ownerAddress, 1, assetId)]
12+ }
13+
414
515
616 @Callable(i)
717 func buyItem (nft_name,amount,nft_description,nft_price) = {
818 let ownerAddress = i.caller
919 [StringEntry((toString(ownerAddress) + "nft_name"), nft_name), IntegerEntry((toString(ownerAddress) + "amount"), amount), StringEntry((toString(ownerAddress) + "nft_description"), nft_description), IntegerEntry((toString(ownerAddress) + "nft_price"), nft_price), ScriptTransfer(ownerAddress, nft_price, unit)]
1020 }
1121
1222

github/deemru/w8io/026f985 
30.97 ms