tx · DhUKZ73uXDEQtWvPSqk89whxJ7t9GskdmJyRVenRRP49

3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq:  -0.01000000 Waves

2022.11.01 13:53 [2297956] smart account 3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq > SELF 0.00000000 Waves

{ "type": 13, "id": "DhUKZ73uXDEQtWvPSqk89whxJ7t9GskdmJyRVenRRP49", "fee": 1000000, "feeAssetId": null, "timestamp": 1667300039256, "version": 2, "chainId": 84, "sender": "3MvjAaDYHpS4A5K4CV3kZMMEH9m9JdBSvbq", "senderPublicKey": "H6UqxUDcJamDRg1uykVcWMn4zhAMTV7i1nfPq1moLWmJ", "proofs": [ "5GEAdZCSNsp3AF9uivQLv9uHjyfXtCUVwrKPGCC3h1cHdkNM1a8eHhWe8Pun13AoUY3h8b9Pn2L6Lu5cHJankyw6" ], "script": "base64:AAIFAAAAAAAAABcIAhILCgkICAgICAEICAgSBgoECAgBCAAAAAEAAAAABXdhdmVzAQAAAAAAAAACAAAAAWkBAAAAB2FkZEl0ZW0AAAAJAAAACG5mdF9uYW1lAAAACW5mdF9vd25lcgAAAA9uZnRfZEFwcEFkZHJlc3MAAAAIbmZ0X3R5cGUAAAAIbmZ0X3RhZ3MAAAARbmZ0X3NlbGxpbmdfcHJpY2UAAAAPbmZ0X2Rlc2NyaXB0aW9uAAAACm5mdF9vblNlbGwAAAAIbmZ0X2RhdGEEAAAABWFzc2V0CQAEQwAAAAcFAAAACG5mdF9uYW1lBQAAAA9uZnRfZGVzY3JpcHRpb24AAAAAAAAAAAEAAAAAAAAAAAAHBQAAAAR1bml0AAAAAAAAAAAABAAAAAdhc3NldElkCQAEOAAAAAEFAAAABWFzc2V0CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAACG5mdF9uYW1lBQAAAAhuZnRfbmFtZQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAluZnRfb3duZXIFAAAACW5mdF9vd25lcgk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AAAICAAAABm5mdF9pZAUAAAAGbmZ0X2lkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAEmFzc2V0X293bmVyQWRkcmVzcwUAAAAMb3duZXJBZGRyZXNzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAA5wYWlkX2Zvcl9hc3NldAUAAAAJcGF5QW1vdW50CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAFXJlYWxfaXNzdWVyX25mdF90eF9pZAUAAAARcmVhbElzc3Vlck5GVFR4SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAdhc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleXUowys=", "height": 2297956, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5jfU2fKtAYejQA5H8VEbjzv7GhHUttqjks3LoAtSQwU Next: ArJnxN7ttboxVyVm4epF1o5zHyHMdFohmUcJdzEMLmWv Diff:
OldNewDifferences
1515 @Callable(i)
1616 func BuyItem (nft_id,ownerAddress,payAmount,realIssuerNFTTxId) = {
1717 let paymentData = i.payments
18- let assetId = fromBase58String("9dYGgVmTNnrmeUQdEngnxV8wMMeZwqCtce2ofAYaQyz1")
18+ let assetId = fromBase58String("FdLRP6139D1bAZzJp5f9uGpYAxyF4XMmM1kw1FNS6Yg")
1919 let paymentRecipient = Address(fromBase58String(ownerAddress))
2020 [StringEntry("nft_id", nft_id), StringEntry("asset_ownerAddress", ownerAddress), IntegerEntry("paid_for_asset", payAmount), StringEntry("real_issuer_nft_tx_id", realIssuerNFTTxId), ScriptTransfer(i.caller, 1, assetId)]
2121 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let waves = base58''
55
66 @Callable(i)
77 func addItem (nft_name,nft_owner,nft_dAppAddress,nft_type,nft_tags,nft_selling_price,nft_description,nft_onSell,nft_data) = {
88 let asset = Issue(nft_name, nft_description, 1, 0, false, unit, 0)
99 let assetId = calculateAssetId(asset)
1010 [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)]
1111 }
1212
1313
1414
1515 @Callable(i)
1616 func BuyItem (nft_id,ownerAddress,payAmount,realIssuerNFTTxId) = {
1717 let paymentData = i.payments
18- let assetId = fromBase58String("9dYGgVmTNnrmeUQdEngnxV8wMMeZwqCtce2ofAYaQyz1")
18+ let assetId = fromBase58String("FdLRP6139D1bAZzJp5f9uGpYAxyF4XMmM1kw1FNS6Yg")
1919 let paymentRecipient = Address(fromBase58String(ownerAddress))
2020 [StringEntry("nft_id", nft_id), StringEntry("asset_ownerAddress", ownerAddress), IntegerEntry("paid_for_asset", payAmount), StringEntry("real_issuer_nft_tx_id", realIssuerNFTTxId), ScriptTransfer(i.caller, 1, assetId)]
2121 }
2222
2323
2424 @Verifier(tx)
2525 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2626

github/deemru/w8io/026f985 
23.74 ms