tx · FnCFbJ6FFfnTbacfUkxh5UWeVgLuGs1bgXSkTkwbuD5K
3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd: -0.01400000 Waves
2020.01.09 19:42 [846677] smart account 3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd > SELF 0.00000000 Waves
{
"type": 13,
"id": "FnCFbJ6FFfnTbacfUkxh5UWeVgLuGs1bgXSkTkwbuD5K",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1578588169151,
"version": 1,
"sender": "3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd",
"senderPublicKey": "GcRKPY6xnzBDGrdWFahKAJw7NtrFqf65m3tV1vAnJMJL",
"proofs": [
"2ncQG6Gqvkig4STQAZmeMMBvWdeUqAKCiNAhLPf6BUJaNr4CoSJTNsKGbJsEE4JCcEiW7cZLH8tDo5RZikBkBoFj"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAgAAAAADaEJDCQABpAAAAAEFAAAABmhlaWdodAEAAAAGc2V0S2V5AAAAAgAAAAdhZHJlc3NlAAAADWlkVHJhbnNhY3Rpb24JAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAABEtleV8FAAAAB2FkcmVzc2UCAAAABWlkVHg6CQACWAAAAAEFAAAADWlkVHJhbnNhY3Rpb24AAAABAAAACmludm9jYXRpb24BAAAAEGxhaXNzZXJVbk1lc3NhZ2UAAAABAAAAB21lc3NhZ2UEAAAAB2FkcmVzc2UJAAJYAAAAAQgIBQAAAAppbnZvY2F0aW9uAAAABmNhbGxlcgAAAAVieXRlcwQAAAAEaWRUeAgFAAAACmludm9jYXRpb24AAAANdHJhbnNhY3Rpb25JZAQAAAAEY2xlZgkBAAAABnNldEtleQAAAAIFAAAAB2FkcmVzc2UFAAAABGlkVHgJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABGNsZWYFAAAAB21lc3NhZ2UFAAAAA25pbAAAAADaisls",
"chainId": 84,
"height": 846677,
"spentComplexity": 0
}
View: original | compacted
Prev: 2dcBcTDZVsFyka6kPPuxy5tFp8o6x4FRVZnNZhSUkKj5
Next: TJSmkXh4reJvJxdfpiUyDhZr7LimXRnqi257GbLLHPY
Diff:
Old | New | | Differences |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let hBC = toString(height) |
---|
5 | 5 | | |
---|
6 | | - | func setKey (adresse) = (("Key_" + hBC) + adresse) |
---|
| 6 | + | func setKey (adresse,idTransaction) = ((("Key_" + adresse) + "idTx:") + toBase58String(idTransaction)) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | 9 | | @Callable(invocation) |
---|
10 | 10 | | func laisserUnMessage (message) = { |
---|
11 | 11 | | let adresse = toBase58String(invocation.caller.bytes) |
---|
12 | | - | let clef = setKey(adresse) |
---|
| 12 | + | let idTx = invocation.transactionId |
---|
| 13 | + | let clef = setKey(adresse, idTx) |
---|
13 | 14 | | WriteSet([DataEntry(clef, message)]) |
---|
14 | 15 | | } |
---|
15 | 16 | | |
---|
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 | | - | func setKey (adresse) = (("Key_" + hBC) + adresse) |
---|
| 6 | + | func setKey (adresse,idTransaction) = ((("Key_" + adresse) + "idTx:") + toBase58String(idTransaction)) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | 9 | | @Callable(invocation) |
---|
10 | 10 | | func laisserUnMessage (message) = { |
---|
11 | 11 | | let adresse = toBase58String(invocation.caller.bytes) |
---|
12 | | - | let clef = setKey(adresse) |
---|
| 12 | + | let idTx = invocation.transactionId |
---|
| 13 | + | let clef = setKey(adresse, idTx) |
---|
13 | 14 | | WriteSet([DataEntry(clef, message)]) |
---|
14 | 15 | | } |
---|
15 | 16 | | |
---|
16 | 17 | | |
---|