tx · 4q9ztFLMyBg218cA6nrwBTtXMnQ7TKwCxZJmU1CY2A8k
3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW: -0.01400000 Waves
2021.12.05 12:50 [1820808] smart account 3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW > SELF 0.00000000 Waves
{
"type": 13,
"id": "4q9ztFLMyBg218cA6nrwBTtXMnQ7TKwCxZJmU1CY2A8k",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1638697826218,
"version": 2,
"chainId": 84,
"sender": "3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW",
"senderPublicKey": "J7yipDGS56f1CWQUaHM6k8TXt1iWw3DrzeqjSEUqL4Uv",
"proofs": [
"23R5vZ8LvLjabk9qNSsQFi1bRVNVgcnVyNyH49xZmCKXex9ju31bAZpCy31UQq1Ni1RKQS2nambcFfJXXtTKU1tf"
],
"script": "base64:AAIEAAAAAAAAAA0IAhIDCgEIEgQKAgECAAAAAAAAAAIAAAABaQEAAAAGbWludG1lAAAAAQAAAARpbmZvBAAAAAdjb3VudGVyBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMCAAAAB2NvdW50ZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAkAAGQAAAACBQAAAAFhAAAAAAAAAAABAAAAAAAAAAAABAAAAAJzdAkAAaQAAAABBQAAAAdjb3VudGVyBAAAAARuYW1lAgAAAApNRFNULU5GVCAjBAAAAAVmbmFtZQkAASwAAAACBQAAAARuYW1lBQAAAAJzdAQAAAAFaXNzdWUJAARCAAAABQUAAAAFZm5hbWUFAAAABGluZm8AAAAAAAAAAAEAAAAAAAAAAAAHBAAAAAJpZAkABDgAAAABBQAAAAVpc3N1ZQkABEwAAAACBQAAAAVpc3N1ZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIIBQAAAAVpc3N1ZQAAAAhxdWFudGl0eQUAAAACaWQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAB2NvdW50ZXIFAAAAB2NvdW50ZXIFAAAAA25pbAAAAAFpAQAAAAZidXluZnQAAAACAAAAA2NudAAAAAVpZG5mdAQAAAAFZm5hbWUCAAAADU1EU1QtTkZULUNPUFkEAAAABGluZm8CAAAACmtpa2kgYmlraXQEAAAAAXgEAAAAByRtYXRjaDAJAAPsAAAAAQUAAAAFaWRuZnQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABUFzc2V0BAAAAAVhc3NldAUAAAAHJG1hdGNoMAgFAAAABWFzc2V0AAAAC2Rlc2NyaXB0aW9uCQAAAgAAAAECAAAAEENhbid0IGZpbmQgYXNzZXQEAAAABWlzc3VlCQAEQgAAAAUFAAAABWZuYW1lBQAAAARpbmZvAAAAAAAAAAABAAAAAAAAAAAABwQAAAACaWQJAAQ4AAAAAQUAAAAFaXNzdWUJAARMAAAAAgkAAAIAAAABCQABLAAAAAICAAAAB3RoZSB4IDoFAAAAAXgFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5EHbRIA==",
"height": 1820808,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6birTWDgZmQjC2GUdwdVaMHSA8hEZv68txYdwfFqpQgK
Next: 89oZ7NQg4SH2KVEH3mxSN9av9But1PQXEpEbUkLxyDHY
Diff:
Old | New | | Differences |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | @Callable(a) |
---|
28 | | - | func buynft (k,l,b) = { |
---|
| 28 | + | func buynft (k,l) = { |
---|
29 | 29 | | let h = "MDST-NFT-COPY" |
---|
| 30 | + | let b = "kiki bikit" |
---|
30 | 31 | | let m = { |
---|
31 | 32 | | let d = assetInfo(l) |
---|
32 | 33 | | if ($isInstanceOf(d, "Asset")) |
---|
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 mintme (b) = { |
---|
8 | 8 | | let c = { |
---|
9 | 9 | | let d = getInteger(this, "counter") |
---|
10 | 10 | | if ($isInstanceOf(d, "Int")) |
---|
11 | 11 | | then { |
---|
12 | 12 | | let e = d |
---|
13 | 13 | | (e + 1) |
---|
14 | 14 | | } |
---|
15 | 15 | | else 0 |
---|
16 | 16 | | } |
---|
17 | 17 | | let f = toString(c) |
---|
18 | 18 | | let g = "MDST-NFT #" |
---|
19 | 19 | | let h = (g + f) |
---|
20 | 20 | | let i = Issue(h, b, 1, 0, false) |
---|
21 | 21 | | let j = calculateAssetId(i) |
---|
22 | 22 | | [i, ScriptTransfer(a.caller, i.quantity, j), IntegerEntry("counter", c)] |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | @Callable(a) |
---|
28 | | - | func buynft (k,l,b) = { |
---|
| 28 | + | func buynft (k,l) = { |
---|
29 | 29 | | let h = "MDST-NFT-COPY" |
---|
| 30 | + | let b = "kiki bikit" |
---|
30 | 31 | | let m = { |
---|
31 | 32 | | let d = assetInfo(l) |
---|
32 | 33 | | if ($isInstanceOf(d, "Asset")) |
---|
33 | 34 | | then { |
---|
34 | 35 | | let n = d |
---|
35 | 36 | | n.description |
---|
36 | 37 | | } |
---|
37 | 38 | | else throw("Can't find asset") |
---|
38 | 39 | | } |
---|
39 | 40 | | let i = Issue(h, b, 1, 0, false) |
---|
40 | 41 | | let j = calculateAssetId(i) |
---|
41 | 42 | | [throw(("the x :" + m))] |
---|
42 | 43 | | } |
---|
43 | 44 | | |
---|
44 | 45 | | |
---|
45 | 46 | | @Verifier(o) |
---|
46 | 47 | | func p () = sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey) |
---|
47 | 48 | | |
---|