tx · 6m7QUtH176BszN36QQksT8NfCVPfnPnBLuFLf1fvaVaB
3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw: -0.01000000 Waves
2023.02.03 14:41 [2433398] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves
{
"type": 13,
"id": "6m7QUtH176BszN36QQksT8NfCVPfnPnBLuFLf1fvaVaB",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1675424621476,
"version": 2,
"chainId": 84,
"sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw",
"senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN",
"proofs": [
"4mKgasEH1W3BFQjuX13UwQDtENcEjKUZM9kmHdqRk3GwtKytKnS1Lc9E9es1XBgcZtAv3MUm8rtgAMwvNproB3Xg"
],
"script": "base64:BgIHCAISAwoBCAABAWkBB21pbnROZnQBDWlwZnNJbWFnZUhhc2gECXJlY2lwaWVudAgFAWkGY2FsbGVyBAVhc3NldAkAwggFAgdkb25rZXktAglmaXJzdCBOZnQAAQAABwQHYXNzZXRJZAkA2AQBCQC4CAEFBWFzc2V0CQDMCAIFBWFzc2V0CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgUHYXNzZXRJZAIFX2lwZnMFDWlwZnNJbWFnZUhhc2gFA25pbABRj8TC",
"height": 2433398,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: WGEZtbLuvBvMYA1L5edoHQspPmwsWWfQ38vbSy3GgyE
Next: 38z9dN9UyKHvpcXvn9DBa4mZs2GCWPC8K9P8tCMBRGXB
Diff:
Old | New | | Differences |
---|
7 | 7 | | func mintNft (b) = { |
---|
8 | 8 | | let c = a.caller |
---|
9 | 9 | | let d = Issue("donkey-", "first Nft", 1, 0, false) |
---|
10 | | - | let e = calculateAssetId(d) |
---|
11 | | - | [d, StringEntry((toBase58String(e) + "_ipfs"), b), ScriptTransfer(c, 2, e)] |
---|
| 10 | + | let e = toBase58String(calculateAssetId(d)) |
---|
| 11 | + | [d, StringEntry((e + "_ipfs"), b)] |
---|
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(a) |
---|
7 | 7 | | func mintNft (b) = { |
---|
8 | 8 | | let c = a.caller |
---|
9 | 9 | | let d = Issue("donkey-", "first Nft", 1, 0, false) |
---|
10 | | - | let e = calculateAssetId(d) |
---|
11 | | - | [d, StringEntry((toBase58String(e) + "_ipfs"), b), ScriptTransfer(c, 2, e)] |
---|
| 10 | + | let e = toBase58String(calculateAssetId(d)) |
---|
| 11 | + | [d, StringEntry((e + "_ipfs"), b)] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|