tx · Cz9tiKyDZHkWtp8HFshbiiWMNGR6VJiucT6higpTaHiq
3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd: -0.01400000 Waves
2020.01.21 13:31 [863899] smart account 3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd > SELF 0.00000000 Waves
{
"type": 13,
"id": "Cz9tiKyDZHkWtp8HFshbiiWMNGR6VJiucT6higpTaHiq",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1579602719029,
"version": 1,
"sender": "3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd",
"senderPublicKey": "GcRKPY6xnzBDGrdWFahKAJw7NtrFqf65m3tV1vAnJMJL",
"proofs": [
"5oQKmCLU1Uqz5nuf7egSx5nYSVgoHHkicfBV2g1CmHdFeGNWReRtE8fzoyqsoTtVmkigtfn5Es44d1wqANKY1EWp"
],
"script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAIAAAAAA2hCQwkAAaQAAAABBQAAAAZoZWlnaHQBAAAAB3NldEtleTEAAAACAAAAB2FkcmVzc2UAAAANaWRUcmFuc2FjdGlvbgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAES2V5XwUAAAAHYWRyZXNzZQIAAAAJX19faWRUeDpfCQACWAAAAAEFAAAADWlkVHJhbnNhY3Rpb24AAAABAAAACmludm9jYXRpb24BAAAAEGxhaXNzZXJVbk1lc3NhZ2UAAAACAAAAB21lc3NhZ2UAAAAJY2F0ZWdvcmllBAAAAAdhZHJlc3NlCQACWAAAAAEICAUAAAAKaW52b2NhdGlvbgAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABGlkVHgIBQAAAAppbnZvY2F0aW9uAAAADXRyYW5zYWN0aW9uSWQEAAAABWNsZWYxCQEAAAAHc2V0S2V5MQAAAAIFAAAAB2FkcmVzc2UFAAAABGlkVHgEAAAABWNsZWYyAgAAAApDYXTDqWdvcmllCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAVjbGVmMQUAAAAHbWVzc2FnZQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAFY2xlZjIFAAAACWNhdGVnb3JpZQUAAAADbmlsAAAAAHcooiQ=",
"chainId": 84,
"height": 863899,
"spentComplexity": 0
}
View: original | compacted
Prev: 8c2JrtnruziPYDBq6frQnXuEnEyCeKJuy2d9znMd5HxT
Next: 7Tn5L8Wd5eXoXvxqvJwBpuBz1iHTyTLyDbH7yp2t8WVt
Diff:
Old | New | | Differences |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | 9 | | @Callable(invocation) |
---|
10 | | - | func laisserUnMessage (message) = { |
---|
| 10 | + | func laisserUnMessage (message,categorie) = { |
---|
11 | 11 | | let adresse = toBase58String(invocation.caller.bytes) |
---|
12 | 12 | | let idTx = invocation.transactionId |
---|
13 | 13 | | let clef1 = setKey1(adresse, idTx) |
---|
14 | | - | let clef2 = "fee" |
---|
15 | | - | let cout = invocation.fee |
---|
16 | | - | WriteSet([DataEntry(clef1, message), DataEntry(clef2, cout)]) |
---|
| 14 | + | let clef2 = "Catégorie" |
---|
| 15 | + | WriteSet([DataEntry(clef1, message), DataEntry(clef2, categorie)]) |
---|
17 | 16 | | } |
---|
18 | 17 | | |
---|
19 | 18 | | |
---|
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 | 9 | | @Callable(invocation) |
---|
10 | | - | func laisserUnMessage (message) = { |
---|
| 10 | + | func laisserUnMessage (message,categorie) = { |
---|
11 | 11 | | let adresse = toBase58String(invocation.caller.bytes) |
---|
12 | 12 | | let idTx = invocation.transactionId |
---|
13 | 13 | | let clef1 = setKey1(adresse, idTx) |
---|
14 | | - | let clef2 = "fee" |
---|
15 | | - | let cout = invocation.fee |
---|
16 | | - | WriteSet([DataEntry(clef1, message), DataEntry(clef2, cout)]) |
---|
| 14 | + | let clef2 = "Catégorie" |
---|
| 15 | + | WriteSet([DataEntry(clef1, message), DataEntry(clef2, categorie)]) |
---|
17 | 16 | | } |
---|
18 | 17 | | |
---|
19 | 18 | | |
---|