tx · 7QPzp5HZ7imYkEDm4aP8sK154Xuja4r7B7DrQhi1KrGg

3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw:  -0.01000000 Waves

2023.02.03 15:41 [2433452] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves

{ "type": 13, "id": "7QPzp5HZ7imYkEDm4aP8sK154Xuja4r7B7DrQhi1KrGg", "fee": 1000000, "feeAssetId": null, "timestamp": 1675428297771, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "5xKhcXFskQRZxKz45pos4xF8MNwMxCagnGVMgsv6JU3izMV8yddj5M47frrdNHrrBdTEJKdWCYpNvaceEtiizVdH" ], "script": "base64:BgIHCAISAwoBCAABAWkBB21pbnROZnQBDWlwZnNJbWFnZUhhc2gECXJlY2lwaWVudAgFAWkGY2FsbGVyBAVhc3NldAkAwggFAgdkb25rZXktAglmaXJzdCBOZnQAAgAABwQHYXNzZXRJZAkAuAgBBQVhc3NldAkAzAgCBQVhc3NldAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUHYXNzZXRJZAIFX2lwZnMFDWlwZnNJbWFnZUhhc2gJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50AAIFB2Fzc2V0SWQFA25pbAD3KxLR", "height": 2433452, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4zpKwyrtz53zBnGZ6dhBEHq2RKv8rAeie6YoeEgD9Bba Next: 6rejNUYSnZJsP1H92t7qAQbHcGBBfrfTGhQzvco2CggU Diff:
OldNewDifferences
77 func mintNft (ipfsImageHash) = {
88 let recipient = i.caller
99 let asset = Issue("donkey-", "first Nft", 2, 0, false)
10- let assetId = toBase58String(calculateAssetId(asset))
11-[asset, StringEntry((assetId + "_ipfs"), ipfsImageHash)]
10+ let assetId = calculateAssetId(asset)
11+[asset, StringEntry((toBase58String(assetId) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 2, assetId)]
1212 }
1313
1414
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func mintNft (ipfsImageHash) = {
88 let recipient = i.caller
99 let asset = Issue("donkey-", "first Nft", 2, 0, false)
10- let assetId = toBase58String(calculateAssetId(asset))
11-[asset, StringEntry((assetId + "_ipfs"), ipfsImageHash)]
10+ let assetId = calculateAssetId(asset)
11+[asset, StringEntry((toBase58String(assetId) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 2, assetId)]
1212 }
1313
1414

github/deemru/w8io/026f985 
21.51 ms