tx · 6BpNP9T3XG3ab4H7ass4wNCrjUqoRhiWC5om1i7TXAoh
3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw: -0.01000000 Waves
2023.02.09 15:17 [2442076] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves
{
"type": 13,
"id": "6BpNP9T3XG3ab4H7ass4wNCrjUqoRhiWC5om1i7TXAoh",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1675945170306,
"version": 2,
"chainId": 84,
"sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw",
"senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN",
"proofs": [
"297TZCXGEYr3Ahn7fc9jnARVA8aPEDKi9Rvapj2NLFWti5Tpqw8c2ByW2E3KR6JzauwZsL1eEBAxrsu5cz7DUCaB"
],
"script": "base64:BgIJCAISBQoDCAgIAAEBaQEHbWludE5mdAMHaXBmc19pZAhuZnRfbmFtZQ9uZnRfZGVzY3JpcHRpb24ECXJlY2lwaWVudAgFAWkGY2FsbGVyBAZhc3NldDEJAMIIBQUIbmZ0X25hbWUFD25mdF9kZXNjcmlwdGlvbgABAAAHBAhhc3NldElkMQkAuAgBBQZhc3NldDEJAMwIAgUGYXNzZXQxCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMQIFX2lwZnMJAKwCAgkArAICBQdpcGZzX2lkBQ9uZnRfZGVzY3JpcHRpb24FCG5mdF9uYW1lCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudAABBQhhc3NldElkMQUDbmlsAOb0Q0Y=",
"height": 2442076,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4pr4F5kspWKnATFFHDjLYrn8GWPu3ks2Mwxpy8kTAtWL
Next: 9XmyoZX9kKrufdPmLa62mMkjLb7EHfeTWxP5pdFtAoor
Diff:
Old | New | | Differences |
---|
8 | 8 | | let recipient = i.caller |
---|
9 | 9 | | let asset1 = Issue(nft_name, nft_description, 1, 0, false) |
---|
10 | 10 | | let assetId1 = calculateAssetId(asset1) |
---|
11 | | - | let asset2 = Issue(nft_name, nft_description, 1, 0, false) |
---|
12 | | - | let assetId2 = calculateAssetId(asset2) |
---|
13 | | - | [asset1, asset2, StringEntry((toBase58String(assetId1) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), StringEntry((toBase58String(assetId2) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)] |
---|
| 11 | + | [asset1, StringEntry((toBase58String(assetId1) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), ScriptTransfer(recipient, 1, assetId1)] |
---|
14 | 12 | | } |
---|
15 | 13 | | |
---|
16 | 14 | | |
---|
Full:
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 (ipfs_id,nft_name,nft_description) = { |
---|
8 | 8 | | let recipient = i.caller |
---|
9 | 9 | | let asset1 = Issue(nft_name, nft_description, 1, 0, false) |
---|
10 | 10 | | let assetId1 = calculateAssetId(asset1) |
---|
11 | | - | let asset2 = Issue(nft_name, nft_description, 1, 0, false) |
---|
12 | | - | let assetId2 = calculateAssetId(asset2) |
---|
13 | | - | [asset1, asset2, StringEntry((toBase58String(assetId1) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), StringEntry((toBase58String(assetId2) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)] |
---|
| 11 | + | [asset1, StringEntry((toBase58String(assetId1) + "_ipfs"), ((ipfs_id + nft_description) + nft_name)), ScriptTransfer(recipient, 1, assetId1)] |
---|
14 | 12 | | } |
---|
15 | 13 | | |
---|
16 | 14 | | |
---|