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:
OldNewDifferences
44
55
66 @Callable(i)
7-func mintNft (nft_name,nft_description) = {
7+func mintNft (ipfsImageHash) = {
88 let recipient = i.caller
9- let asset1 = Issue("vcvggr", "rffe", 1, 0, false)
9+ let asset1 = Issue("aaaaa", "swsdsds", 1, 0, false)
1010 let assetId1 = calculateAssetId(asset1)
11- let asset2 = Issue("erff", "rffrefr", 1, 0, false)
11+ let asset2 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false)
1212 let assetId2 = calculateAssetId(asset2)
13- let asset3 = Issue("rfrt", "bgbg", 1, 0, false)
13+ let asset3 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false)
1414 let assetId3 = calculateAssetId(asset3)
15- let asset4 = Issue("grtg", "hn", 1, 0, false)
15+ let asset4 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false)
1616 let assetId4 = calculateAssetId(asset4)
17-[asset1, asset2, asset3, asset4, StringEntry((toBase58String(assetId1) + "nft_name"), nft_name), StringEntry((toBase58String(assetId2) + "nft_name"), nft_name), StringEntry((toBase58String(assetId3) + "nft_name"), nft_name), StringEntry((toBase58String(assetId4) + "nft_name"), nft_name), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2), ScriptTransfer(recipient, 1, assetId3), ScriptTransfer(recipient, 1, assetId4)]
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)]
1818 }
1919
2020
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func mintNft (nft_name,nft_description) = {
7+func mintNft (ipfsImageHash) = {
88 let recipient = i.caller
9- let asset1 = Issue("vcvggr", "rffe", 1, 0, false)
9+ let asset1 = Issue("aaaaa", "swsdsds", 1, 0, false)
1010 let assetId1 = calculateAssetId(asset1)
11- let asset2 = Issue("erff", "rffrefr", 1, 0, false)
11+ let asset2 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false)
1212 let assetId2 = calculateAssetId(asset2)
13- let asset3 = Issue("rfrt", "bgbg", 1, 0, false)
13+ let asset3 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false)
1414 let assetId3 = calculateAssetId(asset3)
15- let asset4 = Issue("grtg", "hn", 1, 0, false)
15+ let asset4 = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false)
1616 let assetId4 = calculateAssetId(asset4)
17-[asset1, asset2, asset3, asset4, StringEntry((toBase58String(assetId1) + "nft_name"), nft_name), StringEntry((toBase58String(assetId2) + "nft_name"), nft_name), StringEntry((toBase58String(assetId3) + "nft_name"), nft_name), StringEntry((toBase58String(assetId4) + "nft_name"), nft_name), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2), ScriptTransfer(recipient, 1, assetId3), ScriptTransfer(recipient, 1, assetId4)]
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)]
1818 }
1919
2020

github/deemru/w8io/026f985 
38.41 ms