tx · 6icbE26qEKyLWgiT71GpYe7fDUcg7MMZpWTu615wa2W5 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw: -0.01000000 Waves 2023.02.03 16:13 [2433479] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves
{ "type": 13, "id": "6icbE26qEKyLWgiT71GpYe7fDUcg7MMZpWTu615wa2W5", "fee": 1000000, "feeAssetId": null, "timestamp": 1675430123868, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "phcYr9853232iPq1oQKiwKpw4nV62ZVXACCk1suQY3VjovSqfSmvzzhz2E6aYQ4utSEi8Urw4iCUSVnnxUbktQo" ], "script": "base64:BgIHCAISAwoBCAABAWkBB21pbnROZnQBDWlwZnNJbWFnZUhhc2gECXJlY2lwaWVudAgFAWkGY2FsbGVyBAZhc3NldDEJAMIIBQIFYWFhYWECB3N3c2RzZHMAAQAABwQIYXNzZXRJZDEJALgIAQUGYXNzZXQxBAZhc3NldDIJAMIIBQIFYmJiYmICDXNkZmRzZmRzZmRzZmQAAQAABwQIYXNzZXRJZDIJALgIAQUGYXNzZXQyCQDMCAIFBmFzc2V0MQkAzAgCBQZhc3NldDIJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQDYBAEFCGFzc2V0SWQxAgVfaXBmcwUNaXBmc0ltYWdlSGFzaAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUIYXNzZXRJZDICBV9pcGZzBQ1pcGZzSW1hZ2VIYXNoCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudAABBQhhc3NldElkMQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQlyZWNpcGllbnQAAQUIYXNzZXRJZDIFA25pbADL0bcM", "height": 2433479, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Fnzs9WCXL7dNjyL4jSMkinsjV8Hq3L7SncYdbwfG5sox Next: H1WDTBPQKWELXXXeeP5gcUNF2RfG2va7meXqvPboTuCd Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func mintNft (b,c,d,e) = { | |
8 | - | let f = a.caller | |
9 | - | let g = Issue(c, d, e, 0, false) | |
10 | - | let h = calculateAssetId(g) | |
11 | - | [g, ScriptTransfer(f, e, h), StringEntry((toBase58String(h) + "_ipfs"), b), StringEntry((toBase58String(h) + "_name"), c), StringEntry((toBase58String(h) + "_description"), d), IntegerEntry((toBase58String(h) + "quantity"), e)] | |
7 | + | func mintNft (b) = { | |
8 | + | let c = a.caller | |
9 | + | let d = Issue("aaaaa", "swsdsds", 1, 0, false) | |
10 | + | let e = calculateAssetId(d) | |
11 | + | let f = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false) | |
12 | + | let g = calculateAssetId(f) | |
13 | + | [d, f, StringEntry((toBase58String(e) + "_ipfs"), b), StringEntry((toBase58String(g) + "_ipfs"), b), ScriptTransfer(c, 1, e), ScriptTransfer(c, 1, g)] | |
12 | 14 | } | |
13 | 15 | ||
14 | 16 |
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,c,d,e) = { | |
8 | - | let f = a.caller | |
9 | - | let g = Issue(c, d, e, 0, false) | |
10 | - | let h = calculateAssetId(g) | |
11 | - | [g, ScriptTransfer(f, e, h), StringEntry((toBase58String(h) + "_ipfs"), b), StringEntry((toBase58String(h) + "_name"), c), StringEntry((toBase58String(h) + "_description"), d), IntegerEntry((toBase58String(h) + "quantity"), e)] | |
7 | + | func mintNft (b) = { | |
8 | + | let c = a.caller | |
9 | + | let d = Issue("aaaaa", "swsdsds", 1, 0, false) | |
10 | + | let e = calculateAssetId(d) | |
11 | + | let f = Issue("bbbbb", "sdfdsfdsfdsfd", 1, 0, false) | |
12 | + | let g = calculateAssetId(f) | |
13 | + | [d, f, StringEntry((toBase58String(e) + "_ipfs"), b), StringEntry((toBase58String(g) + "_ipfs"), b), ScriptTransfer(c, 1, e), ScriptTransfer(c, 1, g)] | |
12 | 14 | } | |
13 | 15 | ||
14 | 16 |
github/deemru/w8io/026f985 18.56 ms ◑