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