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(a) | |
7 | 7 | func test (b) = { | |
8 | 8 | let c = "EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ" | |
9 | 9 | let d = toBytes(c) | |
10 | 10 | let e = toBase58String(d) | |
11 | 11 | let f = e | |
12 | 12 | let g = { | |
13 | 13 | let h = assetInfo(d) | |
14 | 14 | if ($isInstanceOf(h, "Asset")) | |
15 | 15 | then { | |
16 | 16 | let i = h | |
17 | 17 | i.description | |
18 | 18 | } | |
19 | 19 | else throw("Can't find asset") | |
20 | 20 | } | |
21 | 21 | [throw(("the x :" + g))] | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | ||
26 | 26 | @Callable(a) | |
27 | 27 | func mintme (j) = { | |
28 | 28 | let k = { | |
29 | 29 | let h = getInteger(this, "counter") | |
30 | 30 | if ($isInstanceOf(h, "Int")) | |
31 | 31 | then { | |
32 | 32 | let l = h | |
33 | 33 | (l + 1) | |
34 | 34 | } | |
35 | 35 | else 0 | |
36 | 36 | } | |
37 | 37 | let m = toString(k) | |
38 | 38 | let n = "MDST-NFT #" | |
39 | 39 | let o = (n + m) | |
40 | 40 | let p = Issue(o, j, 1, 0, false) | |
41 | 41 | let q = calculateAssetId(p) | |
42 | 42 | [p, ScriptTransfer(a.caller, p.quantity, q), IntegerEntry("counter", k)] | |
43 | 43 | } | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | ||
47 | 47 | @Callable(a) | |
48 | 48 | func buynft (r,s) = { | |
49 | 49 | let o = "MDST-NFT-COPY" | |
50 | 50 | let j = "kiki bikit" | |
51 | 51 | let c = toBytes(s) | |
52 | 52 | let e = toBase58String(c) | |
53 | 53 | let t = fromBase58String(e) | |
54 | 54 | let u = base58'EhheQbMgpC7pW5YuW4uxFJyB6PMesiWufbWkqoVtR2fJ' | |
55 | 55 | let g = { | |
56 | 56 | let h = assetInfo(t) | |
57 | 57 | if ($isInstanceOf(h, "Asset")) | |
58 | 58 | then { | |
59 | 59 | let i = h | |
60 | 60 | i.description | |
61 | 61 | } | |
62 | 62 | else throw("Can't find asset") | |
63 | 63 | } | |
64 | 64 | let p = Issue(o, j, 1, 0, false) | |
65 | 65 | let q = calculateAssetId(p) | |
66 | 66 | [throw(("the x :" + g))] | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | @Verifier(v) | |
71 | 71 | func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey) | |
72 | 72 |
github/deemru/w8io/026f985 23.66 ms ◑