tx · F1bJ8MhPYmEH9Rq4Cr6d1fEqSv741yubHcf983CPKWWZ
3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW: -0.01400000 Waves
2021.12.04 17:00 [1819626] smart account 3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW > SELF 0.00000000 Waves
{
"type": 13,
"id": "F1bJ8MhPYmEH9Rq4Cr6d1fEqSv741yubHcf983CPKWWZ",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1638626443714,
"version": 2,
"chainId": 84,
"sender": "3Mpv2qZ8P3tXj3uKwmw8ULr9yxANxbadQEW",
"senderPublicKey": "J7yipDGS56f1CWQUaHM6k8TXt1iWw3DrzeqjSEUqL4Uv",
"proofs": [
"4uh52QGcoyEvJZwSvCRW9QJtguVejXiKVQAGoCim6XeBR9shxuoR4o59G7Xpqp9vPB6vGFco2Z1aad7XAyXKbK4f"
],
"script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAAGbWludG1lAAAAAQAAAARpbmZvBAAAAAdjb3VudGVyBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMCAAAAB2NvdW50ZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAkAAGQAAAACBQAAAAFhAAAAAAAAAAABAAAAAAAAAAAABAAAAAJzdAkAAaQAAAABBQAAAAdjb3VudGVyBAAAAARuYW1lAgAAAApNRFNULU5GVCAjBAAAAAVmbmFtZQkAASwAAAACBQAAAARuYW1lBQAAAAJzdAQAAAAFaXNzdWUJAARCAAAABQUAAAAFZm5hbWUJAAEsAAAAAgkAASwAAAACAgAAAAF7BQAAAARpbmZvAgAAAAF9AAAAAAAAAAABAAAAAAAAAAAABwQAAAACaWQJAAQ4AAAAAQUAAAAFaXNzdWUJAARMAAAAAgUAAAAFaXNzdWUJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCAUAAAAFaXNzdWUAAAAIcXVhbnRpdHkFAAAAAmlkCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAdjb3VudGVyBQAAAAdjb3VudGVyBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleSFqVxM=",
"height": 1819626,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: HA4hnKE8vCMM7GHSuCZRpKuAH4wRcr184tC7heeeCEqi
Next: C7ycA9cnPCjjo7siCxrsgus5DGVjvyPcjiLRNQTKPXog
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | | - | func mintme (b,c) = { |
---|
8 | | - | let d = { |
---|
9 | | - | let e = getInteger(this, "counter") |
---|
10 | | - | if ($isInstanceOf(e, "Int")) |
---|
| 7 | + | func mintme (b) = { |
---|
| 8 | + | let c = { |
---|
| 9 | + | let d = getInteger(this, "counter") |
---|
| 10 | + | if ($isInstanceOf(d, "Int")) |
---|
11 | 11 | | then { |
---|
12 | | - | let f = e |
---|
13 | | - | (f + 1) |
---|
| 12 | + | let e = d |
---|
| 13 | + | (e + 1) |
---|
14 | 14 | | } |
---|
15 | 15 | | else 0 |
---|
16 | 16 | | } |
---|
17 | | - | let g = toString(d) |
---|
18 | | - | let h = "MIDI-NFT #" |
---|
19 | | - | let i = (h + g) |
---|
20 | | - | let j = Issue(i, (((("{ url : " + b) + " , issuer : ") + c) + "}"), 1, 0, false) |
---|
21 | | - | let k = calculateAssetId(j) |
---|
22 | | - | [j, ScriptTransfer(a.caller, j.quantity, k), IntegerEntry("counter", d)] |
---|
| 17 | + | let f = toString(c) |
---|
| 18 | + | let g = "MDST-NFT #" |
---|
| 19 | + | let h = (g + f) |
---|
| 20 | + | let i = Issue(h, (("{" + b) + "}"), 1, 0, false) |
---|
| 21 | + | let j = calculateAssetId(i) |
---|
| 22 | + | [i, ScriptTransfer(a.caller, i.quantity, j), IntegerEntry("counter", c)] |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
26 | | - | @Verifier(l) |
---|
27 | | - | func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey) |
---|
| 26 | + | @Verifier(k) |
---|
| 27 | + | func l () = sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey) |
---|
28 | 28 | | |
---|
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 | | - | func mintme (b,c) = { |
---|
8 | | - | let d = { |
---|
9 | | - | let e = getInteger(this, "counter") |
---|
10 | | - | if ($isInstanceOf(e, "Int")) |
---|
| 7 | + | func mintme (b) = { |
---|
| 8 | + | let c = { |
---|
| 9 | + | let d = getInteger(this, "counter") |
---|
| 10 | + | if ($isInstanceOf(d, "Int")) |
---|
11 | 11 | | then { |
---|
12 | | - | let f = e |
---|
13 | | - | (f + 1) |
---|
| 12 | + | let e = d |
---|
| 13 | + | (e + 1) |
---|
14 | 14 | | } |
---|
15 | 15 | | else 0 |
---|
16 | 16 | | } |
---|
17 | | - | let g = toString(d) |
---|
18 | | - | let h = "MIDI-NFT #" |
---|
19 | | - | let i = (h + g) |
---|
20 | | - | let j = Issue(i, (((("{ url : " + b) + " , issuer : ") + c) + "}"), 1, 0, false) |
---|
21 | | - | let k = calculateAssetId(j) |
---|
22 | | - | [j, ScriptTransfer(a.caller, j.quantity, k), IntegerEntry("counter", d)] |
---|
| 17 | + | let f = toString(c) |
---|
| 18 | + | let g = "MDST-NFT #" |
---|
| 19 | + | let h = (g + f) |
---|
| 20 | + | let i = Issue(h, (("{" + b) + "}"), 1, 0, false) |
---|
| 21 | + | let j = calculateAssetId(i) |
---|
| 22 | + | [i, ScriptTransfer(a.caller, i.quantity, j), IntegerEntry("counter", c)] |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
26 | | - | @Verifier(l) |
---|
27 | | - | func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey) |
---|
| 26 | + | @Verifier(k) |
---|
| 27 | + | func l () = sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey) |
---|
28 | 28 | | |
---|