tx · 4NPw7Hbf3WD57DoaXJkq5kMw3mhBMtMmUAyj75yQZokk
3MzXqo2rBxc3XEKPVcYHDrsgP7jmE6cGg6C: -0.01400000 Waves
2021.04.23 00:40 [1494204] smart account 3MzXqo2rBxc3XEKPVcYHDrsgP7jmE6cGg6C > SELF 0.00000000 Waves
{
"type": 13,
"id": "4NPw7Hbf3WD57DoaXJkq5kMw3mhBMtMmUAyj75yQZokk",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1619127605318,
"version": 2,
"chainId": 84,
"sender": "3MzXqo2rBxc3XEKPVcYHDrsgP7jmE6cGg6C",
"senderPublicKey": "DAXE7bVatBuMqt8Me8npUpPhn2XaV13QkCDZCQGV3yDf",
"proofs": [
"2Q83QNdQhoG6dvqW5q64ZqLVGjKdLxLsYETyjpM4TdVsmSKPskGJC5n3S9ZcdqHAt8E8anqnKckRQ83DBDLor69a"
],
"script": "base64:AAIEAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAAWkBAAAABm1pbnRtZQAAAAIAAAADdXJsAAAABnVybGtleQQAAAAHY291bnRlcgQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAAdjb3VudGVyAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAJAABkAAAAAgUAAAABYQAAAAAAAAAAAQAAAAAAAAAAAAQAAAACc3QJAAGkAAAAAQUAAAAHY291bnRlcgQAAAAEbmFtZQIAAAAKTUlESS1ORlQgIwQAAAAFZm5hbWUJAAEsAAAAAgUAAAAEbmFtZQUAAAACc3QEAAAABWlzc3VlCQAEQgAAAAUFAAAABWZuYW1lCQABLAAAAAIJAAEsAAAAAgIAAAAIeyB1cmwgOiAFAAAAA3VybAIAAAABfQAAAAAAAAAAAQAAAAAAAAAAAAcEAAAAAmlkCQAEOAAAAAEFAAAABWlzc3VlCQAETAAAAAIFAAAABWlzc3VlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcggFAAAABWlzc3VlAAAACHF1YW50aXR5BQAAAAJpZAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAHY291bnRlcgUAAAAHY291bnRlcgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlPHJQw",
"height": 1494204,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 9F81bbRQy74iwSGrvc74UgXbgAA8DzmcJRrLKkVerME2
Next: 85uTMkjEYaUxYCrcbwLenaWbwMdY96hmjm5TuGt6vmjE
Diff:
Old | New | | Differences |
---|
14 | 14 | | let st = toString(counter) |
---|
15 | 15 | | let name = "MIDI-NFT #" |
---|
16 | 16 | | let fname = (name + st) |
---|
17 | | - | let issue = Issue(fname, "{ url :}", 1, 0, false) |
---|
| 17 | + | let issue = Issue(fname, (("{ url : " + url) + "}"), 1, 0, false) |
---|
18 | 18 | | let id = calculateAssetId(issue) |
---|
19 | 19 | | [issue, ScriptTransfer(i.caller, issue.quantity, id), IntegerEntry("counter", counter)] |
---|
20 | 20 | | } |
---|
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 (url,urlkey) = { |
---|
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 = "MIDI-NFT #" |
---|
16 | 16 | | let fname = (name + st) |
---|
17 | | - | let issue = Issue(fname, "{ url :}", 1, 0, false) |
---|
| 17 | + | let issue = Issue(fname, (("{ url : " + url) + "}"), 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 | | @Verifier(tx) |
---|
24 | 24 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
25 | 25 | | |
---|