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