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:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let hBC = toString(height)
55
6-func setKey (adresse) = (("Key_" + hBC) + adresse)
6+func setKey (adresse,idTransaction) = ((("Key_" + adresse) + "idTx:") + toBase58String(idTransaction))
77
88
99 @Callable(invocation)
1010 func laisserUnMessage (message) = {
1111 let adresse = toBase58String(invocation.caller.bytes)
12- let clef = setKey(adresse)
12+ let idTx = invocation.transactionId
13+ let clef = setKey(adresse, idTx)
1314 WriteSet([DataEntry(clef, message)])
1415 }
1516
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let hBC = toString(height)
55
6-func setKey (adresse) = (("Key_" + hBC) + adresse)
6+func setKey (adresse,idTransaction) = ((("Key_" + adresse) + "idTx:") + toBase58String(idTransaction))
77
88
99 @Callable(invocation)
1010 func laisserUnMessage (message) = {
1111 let adresse = toBase58String(invocation.caller.bytes)
12- let clef = setKey(adresse)
12+ let idTx = invocation.transactionId
13+ let clef = setKey(adresse, idTx)
1314 WriteSet([DataEntry(clef, message)])
1415 }
1516
1617

github/deemru/w8io/169f3d6 
49.76 ms