tx · DoqjeHZsdoCzLWqV6tDN7gAeJb61RSbmdQ9cJmbagFpT 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw: -0.01000000 Waves 2023.02.09 14:53 [2442057] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves
{ "type": 13, "id": "DoqjeHZsdoCzLWqV6tDN7gAeJb61RSbmdQ9cJmbagFpT", "fee": 1000000, "feeAssetId": null, "timestamp": 1675943772992, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "5igtSwnEVhnF19GdBQkVuP6hv9u5DJAkscKQnuadesFgboZscAnKkpWKNstHhsNUZ4mKYhkamiepERHL1zgEqT55" ], "script": "base64:BgIICAISBAoCCAgAAQFpAQdtaW50TmZ0AghuZnRfbmFtZQ9uZnRfZGVzY3JpcHRpb24ECXJlY2lwaWVudAgFAWkGY2FsbGVyBAZhc3NldDEJAMIIBQUIbmZ0X25hbWUFD25mdF9kZXNjcmlwdGlvbgABAAAHBAhhc3NldElkMQkAuAgBBQZhc3NldDEEBmFzc2V0MgkAwggFBQhuZnRfbmFtZQUPbmZ0X2Rlc2NyaXB0aW9uAAEAAAcECGFzc2V0SWQyCQC4CAEFBmFzc2V0MgQGYXNzZXQzCQDCCAUFCG5mdF9uYW1lBQ9uZnRfZGVzY3JpcHRpb24AAQAABwQIYXNzZXRJZDMJALgIAQUGYXNzZXQzCQDMCAIFBmFzc2V0MQkAzAgCBQZhc3NldDIJAMwIAgUGYXNzZXQzCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMQIFX2lwZnMFCG5mdF9uYW1lCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMgIFX2lwZnMFCG5mdF9uYW1lCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMwIFX2lwZnMFCG5mdF9uYW1lCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudAABBQhhc3NldElkMQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQlyZWNpcGllbnQAAQUIYXNzZXRJZDIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50AAEFCGFzc2V0SWQzBQNuaWwA6N8O8A==", "height": 2442057, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3hWUzLVW3yS6dupmHUsQs5kieBMkJXBA7hVxfdnxRAoK Next: 5biaABLKK5DKkP9zkydA6unbmkLFFKHpv9gLtN1KYJ3z Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func mintNft ( | |
7 | + | func mintNft (nft_name,nft_description) = { | |
8 | 8 | let recipient = i.caller | |
9 | - | let asset1 = Issue( | |
9 | + | let asset1 = Issue(nft_name, nft_description, 1, 0, false) | |
10 | 10 | let assetId1 = calculateAssetId(asset1) | |
11 | - | let asset2 = Issue( | |
11 | + | let asset2 = Issue(nft_name, nft_description, 1, 0, false) | |
12 | 12 | let assetId2 = calculateAssetId(asset2) | |
13 | - | let asset3 = Issue( | |
13 | + | let asset3 = Issue(nft_name, nft_description, 1, 0, false) | |
14 | 14 | let assetId3 = calculateAssetId(asset3) | |
15 | - | [asset1, asset2, asset3, StringEntry((toBase58String(assetId1) + "_ipfs"), | |
15 | + | [asset1, asset2, asset3, StringEntry((toBase58String(assetId1) + "_ipfs"), nft_name), StringEntry((toBase58String(assetId2) + "_ipfs"), nft_name), StringEntry((toBase58String(assetId3) + "_ipfs"), nft_name), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2), ScriptTransfer(recipient, 1, assetId3)] | |
16 | 16 | } | |
17 | 17 | ||
18 | 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 | - | func mintNft ( | |
7 | + | func mintNft (nft_name,nft_description) = { | |
8 | 8 | let recipient = i.caller | |
9 | - | let asset1 = Issue( | |
9 | + | let asset1 = Issue(nft_name, nft_description, 1, 0, false) | |
10 | 10 | let assetId1 = calculateAssetId(asset1) | |
11 | - | let asset2 = Issue( | |
11 | + | let asset2 = Issue(nft_name, nft_description, 1, 0, false) | |
12 | 12 | let assetId2 = calculateAssetId(asset2) | |
13 | - | let asset3 = Issue( | |
13 | + | let asset3 = Issue(nft_name, nft_description, 1, 0, false) | |
14 | 14 | let assetId3 = calculateAssetId(asset3) | |
15 | - | [asset1, asset2, asset3, StringEntry((toBase58String(assetId1) + "_ipfs"), | |
15 | + | [asset1, asset2, asset3, StringEntry((toBase58String(assetId1) + "_ipfs"), nft_name), StringEntry((toBase58String(assetId2) + "_ipfs"), nft_name), StringEntry((toBase58String(assetId3) + "_ipfs"), nft_name), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2), ScriptTransfer(recipient, 1, assetId3)] | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 |
github/deemru/w8io/026f985 24.69 ms ◑