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:
OldNewDifferences
44
55
66 @Callable(i)
7-func mintNft (ipfsImageHash) = {
7+func mintNft (nft_name,nft_description) = {
88 let recipient = i.caller
9- let asset1 = Issue("aaaaba", "swsdsds", 1, 0, false)
9+ let asset1 = Issue(nft_name, nft_description, 1, 0, false)
1010 let assetId1 = calculateAssetId(asset1)
11- let asset2 = Issue("bbbcbb", "sdfdsfdsfdsfd", 1, 0, false)
11+ let asset2 = Issue(nft_name, nft_description, 1, 0, false)
1212 let assetId2 = calculateAssetId(asset2)
13- let asset3 = Issue("dferef", "sdfdsfdsfddsffffvfd", 1, 0, false)
13+ let asset3 = Issue(nft_name, nft_description, 1, 0, false)
1414 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)]
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)]
1616 }
1717
1818
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func mintNft (ipfsImageHash) = {
7+func mintNft (nft_name,nft_description) = {
88 let recipient = i.caller
9- let asset1 = Issue("aaaaba", "swsdsds", 1, 0, false)
9+ let asset1 = Issue(nft_name, nft_description, 1, 0, false)
1010 let assetId1 = calculateAssetId(asset1)
11- let asset2 = Issue("bbbcbb", "sdfdsfdsfdsfd", 1, 0, false)
11+ let asset2 = Issue(nft_name, nft_description, 1, 0, false)
1212 let assetId2 = calculateAssetId(asset2)
13- let asset3 = Issue("dferef", "sdfdsfdsfddsffffvfd", 1, 0, false)
13+ let asset3 = Issue(nft_name, nft_description, 1, 0, false)
1414 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)]
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)]
1616 }
1717
1818

github/deemru/w8io/026f985 
24.69 ms