tx · 6BpNP9T3XG3ab4H7ass4wNCrjUqoRhiWC5om1i7TXAoh

3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw:  -0.01000000 Waves

2023.02.09 15:17 [2442076] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves

{ "type": 13, "id": "6BpNP9T3XG3ab4H7ass4wNCrjUqoRhiWC5om1i7TXAoh", "fee": 1000000, "feeAssetId": null, "timestamp": 1675945170306, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "297TZCXGEYr3Ahn7fc9jnARVA8aPEDKi9Rvapj2NLFWti5Tpqw8c2ByW2E3KR6JzauwZsL1eEBAxrsu5cz7DUCaB" ], "script": "base64:BgIJCAISBQoDCAgIAAEBaQEHbWludE5mdAMHaXBmc19pZAhuZnRfbmFtZQ9uZnRfZGVzY3JpcHRpb24ECXJlY2lwaWVudAgFAWkGY2FsbGVyBAZhc3NldDEJAMIIBQUIbmZ0X25hbWUFD25mdF9kZXNjcmlwdGlvbgABAAAHBAhhc3NldElkMQkAuAgBBQZhc3NldDEJAMwIAgUGYXNzZXQxCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMQIFX2lwZnMJAKwCAgkArAICBQdpcGZzX2lkBQ9uZnRfZGVzY3JpcHRpb24FCG5mdF9uYW1lCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudAABBQhhc3NldElkMQUDbmlsAOb0Q0Y=", "height": 2442076, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4pr4F5kspWKnATFFHDjLYrn8GWPu3ks2Mwxpy8kTAtWL Next: 9XmyoZX9kKrufdPmLa62mMkjLb7EHfeTWxP5pdFtAoor Diff:
OldNewDifferences
88 let recipient = i.caller
99 let asset1 = Issue(nft_name, nft_description, 1, 0, false)
1010 let assetId1 = calculateAssetId(asset1)
11- let asset2 = Issue(nft_name, nft_description, 1, 0, false)
12- let assetId2 = calculateAssetId(asset2)
13-[asset1, asset2, StringEntry((toBase58String(assetId1) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), StringEntry((toBase58String(assetId2) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)]
11+[asset1, StringEntry((toBase58String(assetId1) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), ScriptTransfer(recipient, 1, assetId1)]
1412 }
1513
1614
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func mintNft (ipfs_id,nft_name,nft_description) = {
88 let recipient = i.caller
99 let asset1 = Issue(nft_name, nft_description, 1, 0, false)
1010 let assetId1 = calculateAssetId(asset1)
11- let asset2 = Issue(nft_name, nft_description, 1, 0, false)
12- let assetId2 = calculateAssetId(asset2)
13-[asset1, asset2, StringEntry((toBase58String(assetId1) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), StringEntry((toBase58String(assetId2) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)]
11+[asset1, StringEntry((toBase58String(assetId1) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), ScriptTransfer(recipient, 1, assetId1)]
1412 }
1513
1614

github/deemru/w8io/026f985 
18.69 ms