tx · FdR2JgbvsnXkJQvnKGbss8HdxsttUtgnqM6DqnEwvk5o
3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx: -0.01000000 Waves
2023.03.22 12:07 [2501028] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves
{
"type": 13,
"id": "FdR2JgbvsnXkJQvnKGbss8HdxsttUtgnqM6DqnEwvk5o",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1679476224848,
"version": 2,
"chainId": 84,
"sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx",
"senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx",
"proofs": [
"2qdbyzRqLvBZadLAL3WxqrXpV2Yzh2HBWXdfWJVrb5P234cLDSvhx26o6yhRmy4Bsk5YDEKVfos82Fc14bZWiFbX"
],
"script": "base64:BgIHCAISAwoBCAABAWkBB21pbnROZnQBDWlwZnNJbWFnZUhhc2gECXJlY2lwaWVudAgFAWkGY2FsbGVyBAZhc3NldDEJAMIIBQIHc2h1YmhhbQIMc2RzbmRzc25kc2RkAAEAAAcECGFzc2V0SWQxCQC4CAEFBmFzc2V0MQQGYXNzZXQyCQDCCAUCBnNodWJoaQIHZGV3ZGRqZAABAAAHBAhhc3NldElkMgkAuAgBBQZhc3NldDIJAMwIAgUGYXNzZXQxCQDMCAIFBmFzc2V0MgkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUIYXNzZXRJZDECBV9pcGZzBQ1pcGZzSW1hZ2VIYXNoCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMgIFX2lwZnMFDWlwZnNJbWFnZUhhc2gJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50AAEFCGFzc2V0SWQxCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudAABBQhhc3NldElkMgUDbmlsAFwJCx8=",
"height": 2501028,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 8a2vaBhjm7tX7HXcNpMSHSr96c24XGhG6nqDWdvPXkdr
Next: 6zpnghesTggdhhPDa3hnj5TEQsk5NfVd8Bo8apXBme3Z
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func mintNft (ipfs_id,nft_name,nft_description) = { |
---|
| 7 | + | func mintNft (ipfsImageHash) = { |
---|
8 | 8 | | let recipient = i.caller |
---|
9 | | - | let asset1 = Issue(nft_name, nft_description, 1, 0, false) |
---|
| 9 | + | let asset1 = Issue("shubham", "sdsndssndsdd", 1, 0, false) |
---|
10 | 10 | | let assetId1 = calculateAssetId(asset1) |
---|
11 | | - | let asset2 = Issue(nft_name, nft_description, 1, 0, false) |
---|
| 11 | + | let asset2 = Issue("shubhi", "dewddjd", 1, 0, false) |
---|
12 | 12 | | let assetId2 = calculateAssetId(asset2) |
---|
13 | | - | [asset1, asset2, ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)] |
---|
| 13 | + | [asset1, asset2, StringEntry((toBase58String(assetId1) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId2) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)] |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
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 | | - | func mintNft (ipfs_id,nft_name,nft_description) = { |
---|
| 7 | + | func mintNft (ipfsImageHash) = { |
---|
8 | 8 | | let recipient = i.caller |
---|
9 | | - | let asset1 = Issue(nft_name, nft_description, 1, 0, false) |
---|
| 9 | + | let asset1 = Issue("shubham", "sdsndssndsdd", 1, 0, false) |
---|
10 | 10 | | let assetId1 = calculateAssetId(asset1) |
---|
11 | | - | let asset2 = Issue(nft_name, nft_description, 1, 0, false) |
---|
| 11 | + | let asset2 = Issue("shubhi", "dewddjd", 1, 0, false) |
---|
12 | 12 | | let assetId2 = calculateAssetId(asset2) |
---|
13 | | - | [asset1, asset2, ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)] |
---|
| 13 | + | [asset1, asset2, StringEntry((toBase58String(assetId1) + "_ipfs"), ipfsImageHash), StringEntry((toBase58String(assetId2) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 1, assetId1), ScriptTransfer(recipient, 1, assetId2)] |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|