tx · 8c2JrtnruziPYDBq6frQnXuEnEyCeKJuy2d9znMd5HxT
3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd: -0.01400000 Waves
2020.01.21 13:08 [863874] smart account 3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd > SELF 0.00000000 Waves
{
"type": 13,
"id": "8c2JrtnruziPYDBq6frQnXuEnEyCeKJuy2d9znMd5HxT",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1579601303177,
"version": 1,
"sender": "3NAUw9y1Z6vhU32UUtH5woa9VnJXgZhe6vd",
"senderPublicKey": "GcRKPY6xnzBDGrdWFahKAJw7NtrFqf65m3tV1vAnJMJL",
"proofs": [
"65QXwyjcwLWi6cEB5mms7u36EkRPTMAehVABmqkx4v14idhWuVDLtLwxPCgERzRm8618nMPSd8uVXmD6KfyrfC7c"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAgAAAAADaEJDCQABpAAAAAEFAAAABmhlaWdodAEAAAAHc2V0S2V5MQAAAAIAAAAHYWRyZXNzZQAAAA1pZFRyYW5zYWN0aW9uCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAARLZXlfBQAAAAdhZHJlc3NlAgAAAAlfX19pZFR4Ol8JAAJYAAAAAQUAAAANaWRUcmFuc2FjdGlvbgAAAAEAAAAKaW52b2NhdGlvbgEAAAAQbGFpc3NlclVuTWVzc2FnZQAAAAEAAAAHbWVzc2FnZQQAAAAHYWRyZXNzZQkAAlgAAAABCAgFAAAACmludm9jYXRpb24AAAAGY2FsbGVyAAAABWJ5dGVzBAAAAARpZFR4CAUAAAAKaW52b2NhdGlvbgAAAA10cmFuc2FjdGlvbklkBAAAAAVjbGVmMQkBAAAAB3NldEtleTEAAAACBQAAAAdhZHJlc3NlBQAAAARpZFR4BAAAAAVjbGVmMgIAAAADZmVlBAAAAARjb3V0CAUAAAAKaW52b2NhdGlvbgAAAANmZWUJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABWNsZWYxBQAAAAdtZXNzYWdlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAVjbGVmMgUAAAAEY291dAUAAAADbmlsAAAAAGsHL8s=",
"chainId": 84,
"height": 863874,
"spentComplexity": 0
}
View: original | compacted
Prev: TJSmkXh4reJvJxdfpiUyDhZr7LimXRnqi257GbLLHPY
Next: Cz9tiKyDZHkWtp8HFshbiiWMNGR6VJiucT6higpTaHiq
Diff:
Old | New | | Differences |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let hBC = toString(height) |
---|
5 | 5 | | |
---|
6 | | - | func setKey (adresse,idTransaction) = ((("Key_" + adresse) + "___idTx:_") + toBase58String(idTransaction)) |
---|
| 6 | + | func setKey1 (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 | 12 | | let idTx = invocation.transactionId |
---|
13 | | - | let clef = setKey(adresse, idTx) |
---|
14 | | - | WriteSet([DataEntry(clef, message)]) |
---|
| 13 | + | let clef1 = setKey1(adresse, idTx) |
---|
| 14 | + | let clef2 = "fee" |
---|
| 15 | + | let cout = invocation.fee |
---|
| 16 | + | WriteSet([DataEntry(clef1, message), DataEntry(clef2, cout)]) |
---|
15 | 17 | | } |
---|
16 | 18 | | |
---|
17 | 19 | | |
---|
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,idTransaction) = ((("Key_" + adresse) + "___idTx:_") + toBase58String(idTransaction)) |
---|
| 6 | + | func setKey1 (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 | 12 | | let idTx = invocation.transactionId |
---|
13 | | - | let clef = setKey(adresse, idTx) |
---|
14 | | - | WriteSet([DataEntry(clef, message)]) |
---|
| 13 | + | let clef1 = setKey1(adresse, idTx) |
---|
| 14 | + | let clef2 = "fee" |
---|
| 15 | + | let cout = invocation.fee |
---|
| 16 | + | WriteSet([DataEntry(clef1, message), DataEntry(clef2, cout)]) |
---|
15 | 17 | | } |
---|
16 | 18 | | |
---|
17 | 19 | | |
---|