tx · aEVosNB2ffYT7YuQkWwvmVMkRDURK88s8qUKX3ZJx35 3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW: -0.01400000 Waves 2021.12.05 14:34 [1820908] smart account 3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW > SELF 0.00000000 Waves
{ "type": 13, "id": "aEVosNB2ffYT7YuQkWwvmVMkRDURK88s8qUKX3ZJx35", "fee": 1400000, "feeAssetId": null, "timestamp": 1638704139529, "version": 2, "chainId": 84, "sender": "3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW", "senderPublicKey": "J7yipDGS56f1CWQUaHM6k8TXt1iWw3DrzeqjSEUqL4Uv", "proofs": [ "5Q1TEoTRGegHNX7n79ctypxQjZQZLF8hyTskRZ3neRbhkG6QrHpmxNXiYE6rDGWC735jZxT8u3nH1kh8CcNgkVj7" ], "script": "base64:AAIEAAAAAAAAABIIAhIDCgEIEgMKAQgSBAoCAQgAAAAAAAAAAwAAAAFpAQAAAAR0ZXN0AAAAAQAAAANpZHgEAAAAAWMCAAAALEVoaGVRYk1ncEM3cFc1WXVXNHV4Rkp5QjZQTWVzaVd1ZmJXa3FvVnRSMmZKBAAAAAFkCQABmwAAAAEFAAAAAWMEAAAAAWUJAAJYAAAAAQUAAAABZAQAAAADaWR5BQAAAAFlBAAAAAF4BAAAAAckbWF0Y2gwCQAD7AAAAAEFAAAAAWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABUFzc2V0BAAAAAVhc3NldAUAAAAHJG1hdGNoMAgFAAAABWFzc2V0AAAAC2Rlc2NyaXB0aW9uCQAAAgAAAAECAAAAEENhbid0IGZpbmQgYXNzZXQJAARMAAAAAgkAAAIAAAABCQABLAAAAAICAAAAB3RoZSB4IDoFAAAAAXgFAAAAA25pbAAAAAFpAQAAAAZtaW50bWUAAAABAAAABGluZm8EAAAAB2NvdW50ZXIEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwIAAAAHY291bnRlcg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AABwQAAAACaWQJAAQ4AAAAAQUAAAAFaXNzdWUJAARMAAAAAgkAAAIAAAABCQABLAAAAAICAAAAB3RoZSB4IDoFAAAAAXgFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5z5zd0g==", "height": 1820908, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AQ1SZsyKEYN28nuncMxgvviK3WHgZ59hDJ3EvkJyKbsV Next: Dmymupc9K1LXX17ggKmVbXvBepSqkXsH58N7e7UqUCri Diff:
Old | New | Differences | |
---|---|---|---|
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func test (idx) = { | |
8 | - | let fname = "test" | |
9 | - | let info = "sometext" | |
10 | - | let c = toBytes(idx) | |
11 | - | let e = toBase58String(c) | |
12 | - | let idy = base58'EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ' | |
13 | - | let x = match assetInfo(idy) { | |
8 | + | let c = "EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ" | |
9 | + | let d = toBytes(c) | |
10 | + | let e = toBase58String(d) | |
11 | + | let idy = e | |
12 | + | let x = match assetInfo(d) { | |
14 | 13 | case asset: Asset => | |
15 | 14 | asset.description | |
16 | 15 | case _ => |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func test (idx) = { | |
8 | - | let fname = "test" | |
9 | - | let info = "sometext" | |
10 | - | let c = toBytes(idx) | |
11 | - | let e = toBase58String(c) | |
12 | - | let idy = base58'EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ' | |
13 | - | let x = match assetInfo(idy) { | |
8 | + | let c = "EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ" | |
9 | + | let d = toBytes(c) | |
10 | + | let e = toBase58String(d) | |
11 | + | let idy = e | |
12 | + | let x = match assetInfo(d) { | |
14 | 13 | case asset: Asset => | |
15 | 14 | asset.description | |
16 | 15 | case _ => | |
17 | 16 | throw("Can't find asset") | |
18 | 17 | } | |
19 | 18 | [throw(("the x :" + x))] | |
20 | 19 | } | |
21 | 20 | ||
22 | 21 | ||
23 | 22 | ||
24 | 23 | @Callable(i) | |
25 | 24 | func mintme (info) = { | |
26 | 25 | let counter = match getInteger(this, "counter") { | |
27 | 26 | case a: Int => | |
28 | 27 | (a + 1) | |
29 | 28 | case _ => | |
30 | 29 | 0 | |
31 | 30 | } | |
32 | 31 | let st = toString(counter) | |
33 | 32 | let name = "MDST-NFT #" | |
34 | 33 | let fname = (name + st) | |
35 | 34 | let issue = Issue(fname, info, 1, 0, false) | |
36 | 35 | let id = calculateAssetId(issue) | |
37 | 36 | [issue, ScriptTransfer(i.caller, issue.quantity, id), IntegerEntry("counter", counter)] | |
38 | 37 | } | |
39 | 38 | ||
40 | 39 | ||
41 | 40 | ||
42 | 41 | @Callable(i) | |
43 | 42 | func buynft (cnt,idnftx) = { | |
44 | 43 | let fname = "MDST-NFT-COPY" | |
45 | 44 | let info = "kiki bikit" | |
46 | 45 | let c = toBytes(idnftx) | |
47 | 46 | let e = toBase58String(c) | |
48 | 47 | let idnft = fromBase58String(e) | |
49 | 48 | let idnft2 = base58'EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ' | |
50 | 49 | let x = match assetInfo(idnft) { | |
51 | 50 | case asset: Asset => | |
52 | 51 | asset.description | |
53 | 52 | case _ => | |
54 | 53 | throw("Can't find asset") | |
55 | 54 | } | |
56 | 55 | let issue = Issue(fname, info, 1, 0, false) | |
57 | 56 | let id = calculateAssetId(issue) | |
58 | 57 | [throw(("the x :" + x))] | |
59 | 58 | } | |
60 | 59 | ||
61 | 60 | ||
62 | 61 | @Verifier(tx) | |
63 | 62 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
64 | 63 |
github/deemru/w8io/026f985 22.44 ms ◑