tx · 4jc1RHkFmqwuHXujzNABj8vs2a35X9kMfs7eTbB1bJLC 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw: -0.01000000 Waves 2023.02.09 14:09 [2442016] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves
{ "type": 13, "id": "4jc1RHkFmqwuHXujzNABj8vs2a35X9kMfs7eTbB1bJLC", "fee": 1000000, "feeAssetId": null, "timestamp": 1675941127402, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "3p2BgGjSPG3nVPEzFeRTQrKJv4XaNPLt8H9xnpQdCZDd5EEKNM3tdZVxT28LW5VV3wwNa9k9VZgBg6qKQZBtdidA" ], "script": "base64:BgIHCAISAwoBCAABAWkBB21pbnROZnQBDWlwZnNJbWFnZUhhc2gECXJlY2lwaWVudAgFAWkGY2FsbGVyBAZhc3NldDEJAMIIBQIGYWFhYWJhAgdzd3Nkc2RzAAEAAAcECGFzc2V0SWQxCQC4CAEFBmFzc2V0MQQGYXNzZXQyCQDCCAUCBmJiYmNiYgINc2RmZHNmZHNmZHNmZAABAAAHBAhhc3NldElkMgkAuAgBBQZhc3NldDIEBmFzc2V0MwkAwggFAgZiYmJjYmICDXNkZmRzZmRzZmRzZmQAAQAABwQIYXNzZXRJZDMJALgIAQUGYXNzZXQzCQDMCAIFBmFzc2V0MQkAzAgCBQZhc3NldDIJAMwIAgUGYXNzZXQzCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMQIFX2lwZnMFDWlwZnNJbWFnZUhhc2gJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQDYBAEFCGFzc2V0SWQyAgVfaXBmcwUNaXBmc0ltYWdlSGFzaAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUIYXNzZXRJZDMCBV9pcGZzBQ1pcGZzSW1hZ2VIYXNoCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudAABBQhhc3NldElkMQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQlyZWNpcGllbnQAAQUIYXNzZXRJZDIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50AAEFCGFzc2V0SWQzBQNuaWwALY/tmg==", "height": 2442016, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3VJ8ArHoc7QGDyqZ3WCjKJFoCj6fF7qg6xvcVrT9SxYw Next: 3hWUzLVW3yS6dupmHUsQs5kieBMkJXBA7hVxfdnxRAoK Diff:
Old | New | Differences | |
---|---|---|---|
10 | 10 | let assetId1 = calculateAssetId(asset1) | |
11 | 11 | let asset2 = Issue("bbbcbb", "sdfdsfdsfdsfd", 1, 0, false) | |
12 | 12 | let assetId2 = calculateAssetId(asset2) | |
13 | - | [asset1, asset2, StringEntry((toBase58String(assetId1) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId2) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)] | |
13 | + | let asset3 = Issue("bbbcbb", "sdfdsfdsfdsfd", 1, 0, false) | |
14 | + | let assetId3 = calculateAssetId(asset3) | |
15 | + | [asset1, asset2, asset3, StringEntry((toBase58String(assetId1) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId2) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId3) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2), ScriptTransfer(recipient, 1, assetId3)] | |
14 | 16 | } | |
15 | 17 | ||
16 | 18 |
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("aaaaba", "swsdsds", 1, 0, false) | |
10 | 10 | let assetId1 = calculateAssetId(asset1) | |
11 | 11 | let asset2 = Issue("bbbcbb", "sdfdsfdsfdsfd", 1, 0, false) | |
12 | 12 | let assetId2 = calculateAssetId(asset2) | |
13 | - | [asset1, asset2, StringEntry((toBase58String(assetId1) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId2) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)] | |
13 | + | let asset3 = Issue("bbbcbb", "sdfdsfdsfdsfd", 1, 0, false) | |
14 | + | let assetId3 = calculateAssetId(asset3) | |
15 | + | [asset1, asset2, asset3, StringEntry((toBase58String(assetId1) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId2) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId3) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2), ScriptTransfer(recipient, 1, assetId3)] | |
14 | 16 | } | |
15 | 17 | ||
16 | 18 |
github/deemru/w8io/026f985 20.74 ms ◑