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 |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
24 | 24 | | @Callable(i) |
---|
25 | | - | func buynft (cnt,idnft,info) = { |
---|
| 25 | + | func buynft (cnt,idnft) = { |
---|
26 | 26 | | let fname = "MDST-NFT-COPY" |
---|
| 27 | + | let info = "kiki bikit" |
---|
27 | 28 | | let x = match assetInfo(idnft) { |
---|
28 | 29 | | case asset: Asset => |
---|
29 | 30 | | asset.description |
---|
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 mintme (info) = { |
---|
8 | 8 | | let counter = match getInteger(this, "counter") { |
---|
9 | 9 | | case a: Int => |
---|
10 | 10 | | (a + 1) |
---|
11 | 11 | | case _ => |
---|
12 | 12 | | 0 |
---|
13 | 13 | | } |
---|
14 | 14 | | let st = toString(counter) |
---|
15 | 15 | | let name = "MDST-NFT #" |
---|
16 | 16 | | let fname = (name + st) |
---|
17 | 17 | | let issue = Issue(fname, info, 1, 0, false) |
---|
18 | 18 | | let id = calculateAssetId(issue) |
---|
19 | 19 | | [issue, ScriptTransfer(i.caller, issue.quantity, id), IntegerEntry("counter", counter)] |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
24 | 24 | | @Callable(i) |
---|
25 | | - | func buynft (cnt,idnft,info) = { |
---|
| 25 | + | func buynft (cnt,idnft) = { |
---|
26 | 26 | | let fname = "MDST-NFT-COPY" |
---|
| 27 | + | let info = "kiki bikit" |
---|
27 | 28 | | let x = match assetInfo(idnft) { |
---|
28 | 29 | | case asset: Asset => |
---|
29 | 30 | | asset.description |
---|
30 | 31 | | case _ => |
---|
31 | 32 | | throw("Can't find asset") |
---|
32 | 33 | | } |
---|
33 | 34 | | let issue = Issue(fname, info, 1, 0, false) |
---|
34 | 35 | | let id = calculateAssetId(issue) |
---|
35 | 36 | | [throw(("the x :" + x))] |
---|
36 | 37 | | } |
---|
37 | 38 | | |
---|
38 | 39 | | |
---|
39 | 40 | | @Verifier(tx) |
---|
40 | 41 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
41 | 42 | | |
---|