tx · J52eVAGTYnLNDMKrG8HdE4YXxrX7sXgk4YGoNfHpmNW2
3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw: -0.01000000 Waves
2023.02.03 14:34 [2433390] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves
{
"type": 13,
"id": "J52eVAGTYnLNDMKrG8HdE4YXxrX7sXgk4YGoNfHpmNW2",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1675424174453,
"version": 2,
"chainId": 84,
"sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw",
"senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN",
"proofs": [
"4YNSL4Hc2LbdQ2Hr1kWwntkeTuoUThCY9HjibdHqbXEVXJdpAVmXgmSaEEezpyMSw9gjns7y41Nexy95dJrUhZdH"
],
"script": "base64:BgIHCAISAwoBCAABAWkBB21pbnROZnQBDWlwZnNJbWFnZUhhc2gECXJlY2lwaWVudAgFAWkGY2FsbGVyBAVhc3NldAkAwggFAgdkb25rZXktAglmaXJzdCBOZnQAAwAABwQHYXNzZXRJZAkAuAgBBQVhc3NldAkAzAgCBQVhc3NldAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUHYXNzZXRJZAIFX2lwZnMFDWlwZnNJbWFnZUhhc2gJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50AAIFB2Fzc2V0SWQFA25pbAAFPs6v",
"height": 2433390,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BQvKSsmoSFvwXUincr3AyMU4pbLJBcAK8x8GxkkC1LBv
Next: WGEZtbLuvBvMYA1L5edoHQspPmwsWWfQ38vbSy3GgyE
Diff:
Old | New | | Differences |
---|
8 | 8 | | let recipient = i.caller |
---|
9 | 9 | | let asset = Issue("donkey-", "first Nft", 3, 0, false) |
---|
10 | 10 | | let assetId = calculateAssetId(asset) |
---|
11 | | - | [asset, ScriptTransfer(recipient, 2, assetId), StringEntry((toBase58String(assetId) + "_ipfs"), ipfsImageHash)] |
---|
| 11 | + | [asset, StringEntry((toBase58String(assetId) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 2, assetId)] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 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 (ipfsImageHash) = { |
---|
8 | 8 | | let recipient = i.caller |
---|
9 | 9 | | let asset = Issue("donkey-", "first Nft", 3, 0, false) |
---|
10 | 10 | | let assetId = calculateAssetId(asset) |
---|
11 | | - | [asset, ScriptTransfer(recipient, 2, assetId), StringEntry((toBase58String(assetId) + "_ipfs"), ipfsImageHash)] |
---|
| 11 | + | [asset, StringEntry((toBase58String(assetId) + "_ipfs"), ipfsImageHash), ScriptTransfer(recipient, 2, assetId)] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|