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