tx · 7Tn5L8Wd5eXoXvxqvJwBpuBz1iHTyTLyDbH7yp2t8WVt
3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd: -0.01400000 Waves
2020.01.21 13:58 [863924] smart account 3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd > SELF 0.00000000 Waves
{
"type": 13,
"id": "7Tn5L8Wd5eXoXvxqvJwBpuBz1iHTyTLyDbH7yp2t8WVt",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1579604301711,
"version": 1,
"sender": "3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd",
"senderPublicKey": "GcRKPY6xnzBDGrdWFahKAJw7NtrFqf65m3tV1vAnJMJL",
"proofs": [
"5E9Y483iXc9iqRU9wYpFypTm7j7WgKp63mYv1ZW3BahqeLyWJHGzcZH2ya45iWE9NdzpvJPQaYjX2KffGi7iLces"
],
"script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAMAAAAAA2hCQwkAAaQAAAABBQAAAAZoZWlnaHQBAAAAB3NldEtleTEAAAACAAAAB2FkcmVzc2UAAAANaWRUcmFuc2FjdGlvbgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAES2V5XwUAAAAHYWRyZXNzZQIAAAAJX19faWRUeDpfCQACWAAAAAEFAAAADWlkVHJhbnNhY3Rpb24BAAAAB3NldEtleTIAAAABAAAADWlkVHJhbnNhY3Rpb24JAAEsAAAAAgkAASwAAAACAgAAAApDYXTDqWdvcmllAgAAAAlfX19pZFR4Ol8JAAJYAAAAAQUAAAANaWRUcmFuc2FjdGlvbgAAAAEAAAAKaW52b2NhdGlvbgEAAAAQbGFpc3NlclVuTWVzc2FnZQAAAAIAAAAHbWVzc2FnZQAAAAljYXRlZ29yaWUEAAAAB2FkcmVzc2UJAAJYAAAAAQgIBQAAAAppbnZvY2F0aW9uAAAABmNhbGxlcgAAAAVieXRlcwQAAAAEaWRUeAgFAAAACmludm9jYXRpb24AAAANdHJhbnNhY3Rpb25JZAQAAAAFY2xlZjEJAQAAAAdzZXRLZXkxAAAAAgUAAAAHYWRyZXNzZQUAAAAEaWRUeAQAAAAFY2xlZjIJAQAAAAdzZXRLZXkyAAAAAQUAAAAEaWRUeAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAFY2xlZjEFAAAAB21lc3NhZ2UJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABWNsZWYyBQAAAAljYXRlZ29yaWUFAAAAA25pbAAAAABk95mw",
"chainId": 84,
"height": 863924,
"spentComplexity": 0
}
View: original | compacted
Prev: Cz9tiKyDZHkWtp8HFshbiiWMNGR6VJiucT6higpTaHiq
Next: 82CecoM5AoJo86xyyuFWkKZUxFuYYamGV4pcM2AMgUdz
Diff:
Old | New | | Differences |
---|
6 | 6 | | func setKey1 (adresse,idTransaction) = ((("Key_" + adresse) + "___idTx:_") + toBase58String(idTransaction)) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
| 9 | + | func setKey2 (idTransaction) = (("Catégorie" + "___idTx:_") + toBase58String(idTransaction)) |
---|
| 10 | + | |
---|
| 11 | + | |
---|
9 | 12 | | @Callable(invocation) |
---|
10 | 13 | | func laisserUnMessage (message,categorie) = { |
---|
11 | 14 | | let adresse = toBase58String(invocation.caller.bytes) |
---|
12 | 15 | | let idTx = invocation.transactionId |
---|
13 | 16 | | let clef1 = setKey1(adresse, idTx) |
---|
14 | | - | let clef2 = "Catégorie" |
---|
| 17 | + | let clef2 = setKey2(idTx) |
---|
15 | 18 | | WriteSet([DataEntry(clef1, message), DataEntry(clef2, categorie)]) |
---|
16 | 19 | | } |
---|
17 | 20 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let hBC = toString(height) |
---|
5 | 5 | | |
---|
6 | 6 | | func setKey1 (adresse,idTransaction) = ((("Key_" + adresse) + "___idTx:_") + toBase58String(idTransaction)) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
| 9 | + | func setKey2 (idTransaction) = (("Catégorie" + "___idTx:_") + toBase58String(idTransaction)) |
---|
| 10 | + | |
---|
| 11 | + | |
---|
9 | 12 | | @Callable(invocation) |
---|
10 | 13 | | func laisserUnMessage (message,categorie) = { |
---|
11 | 14 | | let adresse = toBase58String(invocation.caller.bytes) |
---|
12 | 15 | | let idTx = invocation.transactionId |
---|
13 | 16 | | let clef1 = setKey1(adresse, idTx) |
---|
14 | | - | let clef2 = "Catégorie" |
---|
| 17 | + | let clef2 = setKey2(idTx) |
---|
15 | 18 | | WriteSet([DataEntry(clef1, message), DataEntry(clef2, categorie)]) |
---|
16 | 19 | | } |
---|
17 | 20 | | |
---|
18 | 21 | | |
---|