tx · 7h8roejW9Y13bA4AGckeX5T6Hvvmcg9CibBPxF32CNmB 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw: -0.01000000 Waves 2023.02.06 12:46 [2437592] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves
{ "type": 13, "id": "7h8roejW9Y13bA4AGckeX5T6Hvvmcg9CibBPxF32CNmB", "fee": 1000000, "feeAssetId": null, "timestamp": 1675676843601, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "2rMArUQjHSGsUk8jLrx8UddmRxRFTcmkUhPS4YxQkKhnBWrmPRMJ2sH9D27wu4y7NEGbWwqge1jYXRhPWVzCK2yS" ], "script": "base64:BgIHCAISAwoBCAABAWkBB21pbnROZnQBDWlwZnNJbWFnZUhhc2gECXJlY2lwaWVudAgFAWkGY2FsbGVyBAZhc3NldDEJAMIIBQIFYWFhYWECB3N3c2RzZHMAAQAABwQIYXNzZXRJZDEJALgIAQUGYXNzZXQxBAZhc3NldDIJAMIIBQIFYmJiYmICDXNkZmRzZmRzZmRzZmQAAQAABwQIYXNzZXRJZDIJALgIAQUGYXNzZXQyCQDMCAIFBmFzc2V0MQkAzAgCBQZhc3NldDIJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQDYBAEFCGFzc2V0SWQxAgVfaXBmcwUNaXBmc0ltYWdlSGFzaAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUIYXNzZXRJZDICBV9pcGZzBQ1pcGZzSW1hZ2VIYXNoCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudAABBQhhc3NldElkMQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQlyZWNpcGllbnQAAQUIYXNzZXRJZDIFA25pbADL0bcM", "height": 2437592, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DmwHy32G8wnpLKjzpt9AvHyL5E6LVgPPPGKpH4ZEwQup Next: ne76Q2ub7mqDpCsRtGSt5s5xfxhkc4bghXmdyN7Jtar Diff:
Old | New | Differences | |
---|---|---|---|
10 | 10 | let assetId1 = calculateAssetId(asset1) | |
11 | 11 | let asset2 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false) | |
12 | 12 | let assetId2 = calculateAssetId(asset2) | |
13 | - | let asset3 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false) | |
14 | - | let assetId3 = calculateAssetId(asset3) | |
15 | - | let asset4 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false) | |
16 | - | let assetId4 = calculateAssetId(asset4) | |
17 | - | [asset1, asset2, asset3, asset4, StringEntry((toBase58String(assetId1) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId2) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId3) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId4) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2), ScriptTransfer(recipient, 1, assetId3), ScriptTransfer(recipient, 1, assetId4)] | |
13 | + | [asset1, asset2, StringEntry((toBase58String(assetId1) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId2) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)] | |
18 | 14 | } | |
19 | 15 | ||
20 | 16 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func mintNft (ipfsImageHash) = { | |
8 | 8 | let recipient = i.caller | |
9 | 9 | let asset1 = Issue("aaaaa", "swsdsds", 1, 0, false) | |
10 | 10 | let assetId1 = calculateAssetId(asset1) | |
11 | 11 | let asset2 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false) | |
12 | 12 | let assetId2 = calculateAssetId(asset2) | |
13 | - | let asset3 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false) | |
14 | - | let assetId3 = calculateAssetId(asset3) | |
15 | - | let asset4 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false) | |
16 | - | let assetId4 = calculateAssetId(asset4) | |
17 | - | [asset1, asset2, asset3, asset4, StringEntry((toBase58String(assetId1) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId2) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId3) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId4) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2), ScriptTransfer(recipient, 1, assetId3), ScriptTransfer(recipient, 1, assetId4)] | |
13 | + | [asset1, asset2, StringEntry((toBase58String(assetId1) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId2) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)] | |
18 | 14 | } | |
19 | 15 | ||
20 | 16 |
github/deemru/w8io/026f985 34.59 ms ◑