tx · 5biaABLKK5DKkP9zkydA6unbmkLFFKHpv9gLtN1KYJ3z

3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw:  -0.01000000 Waves

2023.02.09 14:58 [2442061] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves

{ "type": 13, "id": "5biaABLKK5DKkP9zkydA6unbmkLFFKHpv9gLtN1KYJ3z", "fee": 1000000, "feeAssetId": null, "timestamp": 1675944032944, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "M4GbA1YcLNF2C7QgcqvUUjJQ9D1PhAB9tWDsHQGatHU3aioPDSufz3m5RgTTBNH8BSBfjwwh6LQTiLiWpyhUiHj" ], "script": "base64:BgIICAISBAoCCAgAAQFpAQdtaW50TmZ0AghuZnRfbmFtZQ9uZnRfZGVzY3JpcHRpb24ECXJlY2lwaWVudAgFAWkGY2FsbGVyBAZhc3NldDEJAMIIBQUIbmZ0X25hbWUFD25mdF9kZXNjcmlwdGlvbgABAAAHBAhhc3NldElkMQkAuAgBBQZhc3NldDEJAMwIAgUGYXNzZXQxCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMQIFX2lwZnMFCG5mdF9uYW1lCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudAABBQhhc3NldElkMQUDbmlsAMGa11g=", "height": 2442061, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DoqjeHZsdoCzLWqV6tDN7gAeJb61RSbmdQ9cJmbagFpT Next: DPjCavJwjUZEqRPYx5EiUGRGdPioZkPgTiBFCwMXVTj9 Diff:
OldNewDifferences
88 let recipient = i.caller
99 let asset1 = Issue(nft_name, nft_description, 1, 0, false)
1010 let assetId1 = calculateAssetId(asset1)
11- let asset2 = Issue(nft_name, nft_description, 1, 0, false)
12- let assetId2 = calculateAssetId(asset2)
13- let asset3 = Issue(nft_name, nft_description, 1, 0, false)
14- let assetId3 = calculateAssetId(asset3)
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)]
11+[asset1, StringEntry((toBase58String(assetId1) + "_ipfs"), nft_name), ScriptTransfer(recipient, 1, assetId1)]
1612 }
1713
1814
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func mintNft (nft_name,nft_description) = {
88 let recipient = i.caller
99 let asset1 = Issue(nft_name, nft_description, 1, 0, false)
1010 let assetId1 = calculateAssetId(asset1)
11- let asset2 = Issue(nft_name, nft_description, 1, 0, false)
12- let assetId2 = calculateAssetId(asset2)
13- let asset3 = Issue(nft_name, nft_description, 1, 0, false)
14- let assetId3 = calculateAssetId(asset3)
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)]
11+[asset1, StringEntry((toBase58String(assetId1) + "_ipfs"), nft_name), ScriptTransfer(recipient, 1, assetId1)]
1612 }
1713
1814

github/deemru/w8io/026f985 
64.09 ms