tx · DoqjeHZsdoCzLWqV6tDN7gAeJb61RSbmdQ9cJmbagFpT 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw: -0.01000000 Waves 2023.02.09 14:53 [2442057] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves
{ "type": 13, "id": "DoqjeHZsdoCzLWqV6tDN7gAeJb61RSbmdQ9cJmbagFpT", "fee": 1000000, "feeAssetId": null, "timestamp": 1675943772992, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "5igtSwnEVhnF19GdBQkVuP6hv9u5DJAkscKQnuadesFgboZscAnKkpWKNstHhsNUZ4mKYhkamiepERHL1zgEqT55" ], "script": "base64:BgIICAISBAoCCAgAAQFpAQdtaW50TmZ0AghuZnRfbmFtZQ9uZnRfZGVzY3JpcHRpb24ECXJlY2lwaWVudAgFAWkGY2FsbGVyBAZhc3NldDEJAMIIBQUIbmZ0X25hbWUFD25mdF9kZXNjcmlwdGlvbgABAAAHBAhhc3NldElkMQkAuAgBBQZhc3NldDEEBmFzc2V0MgkAwggFBQhuZnRfbmFtZQUPbmZ0X2Rlc2NyaXB0aW9uAAEAAAcECGFzc2V0SWQyCQC4CAEFBmFzc2V0MgQGYXNzZXQzCQDCCAUFCG5mdF9uYW1lBQ9uZnRfZGVzY3JpcHRpb24AAQAABwQIYXNzZXRJZDMJALgIAQUGYXNzZXQzCQDMCAIFBmFzc2V0MQkAzAgCBQZhc3NldDIJAMwIAgUGYXNzZXQzCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMQIFX2lwZnMFCG5mdF9uYW1lCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMgIFX2lwZnMFCG5mdF9uYW1lCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMwIFX2lwZnMFCG5mdF9uYW1lCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudAABBQhhc3NldElkMQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQlyZWNpcGllbnQAAQUIYXNzZXRJZDIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50AAEFCGFzc2V0SWQzBQNuaWwA6N8O8A==", "height": 2442057, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3hWUzLVW3yS6dupmHUsQs5kieBMkJXBA7hVxfdnxRAoK Next: 5biaABLKK5DKkP9zkydA6unbmkLFFKHpv9gLtN1KYJ3z Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func mintNft (b) = { | |
8 | - | let | |
9 | - | let | |
10 | - | let | |
11 | - | let | |
12 | - | let | |
13 | - | let | |
14 | - | let | |
15 | - | [ | |
7 | + | func mintNft (b,c) = { | |
8 | + | let d = a.caller | |
9 | + | let e = Issue(b, c, 1, 0, false) | |
10 | + | let f = calculateAssetId(e) | |
11 | + | let g = Issue(b, c, 1, 0, false) | |
12 | + | let h = calculateAssetId(g) | |
13 | + | let i = Issue(b, c, 1, 0, false) | |
14 | + | let j = calculateAssetId(i) | |
15 | + | [e, g, i, StringEntry((toBase58String(f) + "_ipfs"), b), StringEntry((toBase58String(h) + "_ipfs"), b), StringEntry((toBase58String(j) + "_ipfs"), b), ScriptTransfer(d, 1, f), ScriptTransfer(d, 1, h), ScriptTransfer(d, 1, j)] | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 |
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 | - | func mintNft (b) = { | |
8 | - | let | |
9 | - | let | |
10 | - | let | |
11 | - | let | |
12 | - | let | |
13 | - | let | |
14 | - | let | |
15 | - | [ | |
7 | + | func mintNft (b,c) = { | |
8 | + | let d = a.caller | |
9 | + | let e = Issue(b, c, 1, 0, false) | |
10 | + | let f = calculateAssetId(e) | |
11 | + | let g = Issue(b, c, 1, 0, false) | |
12 | + | let h = calculateAssetId(g) | |
13 | + | let i = Issue(b, c, 1, 0, false) | |
14 | + | let j = calculateAssetId(i) | |
15 | + | [e, g, i, StringEntry((toBase58String(f) + "_ipfs"), b), StringEntry((toBase58String(h) + "_ipfs"), b), StringEntry((toBase58String(j) + "_ipfs"), b), ScriptTransfer(d, 1, f), ScriptTransfer(d, 1, h), ScriptTransfer(d, 1, j)] | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 |
github/deemru/w8io/026f985 22.14 ms ◑